From 0a14767c229b5432c9af6d8137d6024301756f41 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 7 Oct 2026 03:12:39 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...pAssetLibraries.JsonSerializerContext.g.cs | 416 + ...esClient.AppAssetLibrariesGetInstance.g.cs | 621 + ...pAssetLibrariesImagesGetToManyRelated.g.cs | 721 + ...tLibrariesImagesGetToManyRelationship.g.cs | 660 + ...pAssetLibrariesVideosGetToManyRelated.g.cs | 721 + ...tLibrariesVideosGetToManyRelationship.g.cs | 660 + ...LibrariesClient.Authorizations.Bearer.g.cs | 35 + ...etLibrariesClient.Constructors.Bearer.g.cs | 31 + ...pStoreConnect.AppAssetLibrariesClient.g.cs | 143 + ...etLibraryImages.JsonSerializerContext.g.cs | 490 + ...t.AppAssetLibraryImagesCreateInstance.g.cs | 679 + ...t.AppAssetLibraryImagesDeleteInstance.g.cs | 586 + ...ient.AppAssetLibraryImagesGetInstance.g.cs | 651 + ...braryImagesPlacementsGetToManyRelated.g.cs | 801 + ...ImagesPlacementsGetToManyRelationship.g.cs | 660 + ...t.AppAssetLibraryImagesUpdateInstance.g.cs | 728 + ...aryImagesClient.Authorizations.Bearer.g.cs | 35 + ...braryImagesClient.Constructors.Bearer.g.cs | 31 + ...reConnect.AppAssetLibraryImagesClient.g.cs | 143 + ...rderingRequests.JsonSerializerContext.g.cs | 234 + ...acementOrderingRequestsCreateInstance.g.cs | 733 + ...gRequestsClient.Authorizations.Bearer.g.cs | 35 + ...ingRequestsClient.Constructors.Bearer.g.cs | 31 + ...ibraryPlacementOrderingRequestsClient.g.cs | 143 + ...braryPlacements.JsonSerializerContext.g.cs | 303 + ...pAssetLibraryPlacementsCreateInstance.g.cs | 679 + ...pAssetLibraryPlacementsDeleteInstance.g.cs | 586 + ....AppAssetLibraryPlacementsGetInstance.g.cs | 691 + ...lacementsClient.Authorizations.Bearer.g.cs | 35 + ...yPlacementsClient.Constructors.Bearer.g.cs | 31 + ...nnect.AppAssetLibraryPlacementsClient.g.cs | 143 + ...tLibraryRefData.JsonSerializerContext.g.cs | 279 + ...t.AppAssetLibraryRefDataGetCollection.g.cs | 664 + ...ent.AppAssetLibraryRefDataGetInstance.g.cs | 621 + ...ryRefDataClient.Authorizations.Bearer.g.cs | 35 + ...raryRefDataClient.Constructors.Bearer.g.cs | 31 + ...eConnect.AppAssetLibraryRefDataClient.g.cs | 143 + ...etLibraryVideos.JsonSerializerContext.g.cs | 490 + ...t.AppAssetLibraryVideosCreateInstance.g.cs | 679 + ...t.AppAssetLibraryVideosDeleteInstance.g.cs | 586 + ...ient.AppAssetLibraryVideosGetInstance.g.cs | 651 + ...braryVideosPlacementsGetToManyRelated.g.cs | 801 + ...VideosPlacementsGetToManyRelationship.g.cs | 660 + ...t.AppAssetLibraryVideosUpdateInstance.g.cs | 728 + ...aryVideosClient.Authorizations.Bearer.g.cs | 35 + ...braryVideosClient.Constructors.Bearer.g.cs | 31 + ...reConnect.AppAssetLibraryVideosClient.g.cs | 143 + ...geLocalizations.JsonSerializerContext.g.cs | 258 +- ...omProductPageLocalizationsGetInstance.g.cs | 20 + ...calizationsPlacementsGetToManyRelated.g.cs | 801 + ...ationsPlacementsGetToManyRelationship.g.cs | 660 + ...uctPageVersions.JsonSerializerContext.g.cs | 18 + ...ductPageLocalizationsGetToManyRelated.g.cs | 20 + ...tomProductPages.JsonSerializerContext.g.cs | 20 + ...ntLocalizations.JsonSerializerContext.g.cs | 258 +- ...ient.AppEventLocalizationsGetInstance.g.cs | 20 + ...calizationsPlacementsGetToManyRelated.g.cs | 801 + ...ationsPlacementsGetToManyRelationship.g.cs | 660 + ...nnect.AppEvents.JsonSerializerContext.g.cs | 18 + ...ppEventsLocalizationsGetToManyRelated.g.cs | 20 + ...AppStoreConnect.AppStoreConnectClient.g.cs | 54 + ...ntLocalizations.JsonSerializerContext.g.cs | 378 +- ...mentTreatmentLocalizationsGetInstance.g.cs | 20 + ...calizationsPlacementsGetToManyRelated.g.cs | 801 + ...ationsPlacementsGetToManyRelationship.g.cs | 660 + ...imentTreatments.JsonSerializerContext.g.cs | 26 + ...reatmentLocalizationsGetToManyRelated.g.cs | 20 + ...onLocalizations.JsonSerializerContext.g.cs | 258 +- ...pStoreVersionLocalizationsGetInstance.g.cs | 20 + ...calizationsPlacementsGetToManyRelated.g.cs | 801 + ...ationsPlacementsGetToManyRelationship.g.cs | 660 + ...ppStoreVersions.JsonSerializerContext.g.cs | 18 + ...eVersionLocalizationsGetToManyRelated.g.cs | 20 + ...oreConnect.Apps.JsonSerializerContext.g.cs | 56 +- ...lient.AppsAssetLibraryGetToOneRelated.g.cs | 621 + ....AppsAssetLibraryGetToOneRelationship.g.cs | 609 + ...ingRuleSetTests.JsonSerializerContext.g.cs | 10 +- ...esClient.AppAssetLibrariesGetInstance.g.cs | 34 + ...pAssetLibrariesImagesGetToManyRelated.g.cs | 74 + ...tLibrariesImagesGetToManyRelationship.g.cs | 47 + ...pAssetLibrariesVideosGetToManyRelated.g.cs | 74 + ...tLibrariesVideosGetToManyRelationship.g.cs | 47 + ...LibrariesClient.Authorizations.Bearer.g.cs | 16 + ...StoreConnect.IAppAssetLibrariesClient.g.cs | 48 + ...t.AppAssetLibraryImagesCreateInstance.g.cs | 43 + ...t.AppAssetLibraryImagesDeleteInstance.g.cs | 30 + ...ient.AppAssetLibraryImagesGetInstance.g.cs | 46 + ...braryImagesPlacementsGetToManyRelated.g.cs | 106 + ...ImagesPlacementsGetToManyRelationship.g.cs | 47 + ...t.AppAssetLibraryImagesUpdateInstance.g.cs | 49 + ...aryImagesClient.Authorizations.Bearer.g.cs | 16 + ...eConnect.IAppAssetLibraryImagesClient.g.cs | 48 + ...acementOrderingRequestsCreateInstance.g.cs | 67 + ...gRequestsClient.Authorizations.Bearer.g.cs | 16 + ...ibraryPlacementOrderingRequestsClient.g.cs | 48 + ...pAssetLibraryPlacementsCreateInstance.g.cs | 43 + ...pAssetLibraryPlacementsDeleteInstance.g.cs | 30 + ....AppAssetLibraryPlacementsGetInstance.g.cs | 62 + ...lacementsClient.Authorizations.Bearer.g.cs | 16 + ...nect.IAppAssetLibraryPlacementsClient.g.cs | 48 + ...t.AppAssetLibraryRefDataGetCollection.g.cs | 66 + ...ent.AppAssetLibraryRefDataGetInstance.g.cs | 34 + ...ryRefDataClient.Authorizations.Bearer.g.cs | 16 + ...Connect.IAppAssetLibraryRefDataClient.g.cs | 48 + ...t.AppAssetLibraryVideosCreateInstance.g.cs | 43 + ...t.AppAssetLibraryVideosDeleteInstance.g.cs | 30 + ...ient.AppAssetLibraryVideosGetInstance.g.cs | 46 + ...braryVideosPlacementsGetToManyRelated.g.cs | 106 + ...VideosPlacementsGetToManyRelationship.g.cs | 47 + ...t.AppAssetLibraryVideosUpdateInstance.g.cs | 49 + ...aryVideosClient.Authorizations.Bearer.g.cs | 16 + ...eConnect.IAppAssetLibraryVideosClient.g.cs | 48 + ...omProductPageLocalizationsGetInstance.g.cs | 8 + ...calizationsPlacementsGetToManyRelated.g.cs | 106 + ...ationsPlacementsGetToManyRelationship.g.cs | 47 + ...ductPageLocalizationsGetToManyRelated.g.cs | 8 + ...ient.AppEventLocalizationsGetInstance.g.cs | 8 + ...calizationsPlacementsGetToManyRelated.g.cs | 106 + ...ationsPlacementsGetToManyRelationship.g.cs | 47 + ...ppEventsLocalizationsGetToManyRelated.g.cs | 8 + ...ppStoreConnect.IAppStoreConnectClient.g.cs | 30 + ...mentTreatmentLocalizationsGetInstance.g.cs | 8 + ...calizationsPlacementsGetToManyRelated.g.cs | 106 + ...ationsPlacementsGetToManyRelationship.g.cs | 47 + ...reatmentLocalizationsGetToManyRelated.g.cs | 8 + ...pStoreVersionLocalizationsGetInstance.g.cs | 8 + ...calizationsPlacementsGetToManyRelated.g.cs | 106 + ...ationsPlacementsGetToManyRelationship.g.cs | 47 + ...eVersionLocalizationsGetToManyRelated.g.cs | 8 + ...lient.AppsAssetLibraryGetToOneRelated.g.cs | 34 + ....AppsAssetLibraryGetToOneRelationship.g.cs | 30 + ...eviewSubmissionsItemsGetToManyRelated.g.cs | 8 + ...riesGetInstanceFieldsAppAssetLibrarie.g.cs | 53 + ...nstanceFieldsAppAssetLibrarieNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 53 + ...tedFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...gesGetToManyRelatedFilterCategoryItem.g.cs | 53 + ...ManyRelatedFilterCategoryItemNullable.g.cs | 60 + ...ImagesGetToManyRelatedFilterStateItem.g.cs | 53 + ...tToManyRelatedFilterStateItemNullable.g.cs | 60 + ...riesImagesGetToManyRelatedIncludeItem.g.cs | 53 + ...esGetToManyRelatedIncludeItemNullable.g.cs | 60 + ...brariesImagesGetToManyRelatedSortItem.g.cs | 53 + ...magesGetToManyRelatedSortItemNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 53 + ...tedFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...eosGetToManyRelatedFilterCategoryItem.g.cs | 53 + ...ManyRelatedFilterCategoryItemNullable.g.cs | 60 + ...VideosGetToManyRelatedFilterStateItem.g.cs | 53 + ...tToManyRelatedFilterStateItemNullable.g.cs | 60 + ...riesVideosGetToManyRelatedIncludeItem.g.cs | 53 + ...osGetToManyRelatedIncludeItemNullable.g.cs | 60 + ...brariesVideosGetToManyRelatedSortItem.g.cs | 53 + ...ideosGetToManyRelatedSortItemNullable.g.cs | 60 + ...nverters.AppAssetLibraryAssetCategory.g.cs | 53 + ....AppAssetLibraryAssetCategoryNullable.g.cs | 60 + ...nConverters.AppAssetLibraryAssetState.g.cs | 53 + ...ers.AppAssetLibraryAssetStateNullable.g.cs | 60 + ...onverters.AppAssetLibraryDisplayClass.g.cs | 53 + ...s.AppAssetLibraryDisplayClassNullable.g.cs | 60 + ...JsonConverters.AppAssetLibraryFeature.g.cs | 53 + ...erters.AppAssetLibraryFeatureNullable.g.cs | 60 + ...ppAssetLibraryImageAcceptedAttributes.g.cs | 108 + ...ppAssetLibraryImageApprovedAttributes.g.cs | 108 + ...ppAssetLibraryImageArchivedAttributes.g.cs | 108 + ...raryImageAttributesDiscriminatorState.g.cs | 53 + ...eAttributesDiscriminatorStateNullable.g.cs | 60 + ...tLibraryImageAwaitingUploadAttributes.g.cs | 108 + ...DataRelationshipsAssetLibraryDataType.g.cs | 53 + ...tionshipsAssetLibraryDataTypeNullable.g.cs | 60 + ...taRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...ssetLibraryImageCreateRequestDataType.g.cs | 53 + ...aryImageCreateRequestDataTypeNullable.g.cs | 60 + ....AppAssetLibraryImageFailedAttributes.g.cs | 108 + ...ppAssetLibraryImageInReviewAttributes.g.cs | 108 + ...lacementsLinkagesResponseDataItemType.g.cs | 53 + ...sLinkagesResponseDataItemTypeNullable.g.cs | 60 + ...tLibraryImageReadyForReviewAttributes.g.cs | 108 + ...ppAssetLibraryImageRejectedAttributes.g.cs | 108 + ...geRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...onConverters.AppAssetLibraryImageType.g.cs | 53 + ...ters.AppAssetLibraryImageTypeNullable.g.cs | 60 + ...ssetLibraryImageUpdateRequestDataType.g.cs | 53 + ...aryImageUpdateRequestDataTypeNullable.g.cs | 60 + ...tLibraryImageUploadCompleteAttributes.g.cs | 108 + ...ibraryImageWaitingForReviewAttributes.g.cs | 108 + ...GetInstanceFieldsAppAssetLibraryImage.g.cs | 53 + ...nceFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...etLibraryImagesGetInstanceIncludeItem.g.cs | 53 + ...yImagesGetInstanceIncludeItemNullable.g.cs | 60 + ...aryImagesLinkagesResponseDataItemType.g.cs | 53 + ...sLinkagesResponseDataItemTypeNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 53 + ...tedFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 53 + ...tedFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...ieldsAppCustomProductPageLocalization.g.cs | 53 + ...CustomProductPageLocalizationNullable.g.cs | 60 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 53 + ...tedFieldsAppEventLocalizationNullable.g.cs | 60 + ...ersionExperimentTreatmentLocalization.g.cs | 53 + ...perimentTreatmentLocalizationNullable.g.cs | 60 + ...atedFieldsAppStoreVersionLocalization.g.cs | 53 + ...dsAppStoreVersionLocalizationNullable.g.cs | 60 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 53 + ...elatedFilterPlacementTypeItemNullable.g.cs | 60 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 53 + ...tToManyRelatedFilterStateItemNullable.g.cs | 60 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 53 + ...tsGetToManyRelatedIncludeItemNullable.g.cs | 60 + ...gesPlacementsGetToManyRelatedSortItem.g.cs | 53 + ...mentsGetToManyRelatedSortItemNullable.g.cs | 60 + ...ppAssetLibraryLinkageResponseDataType.g.cs | 53 + ...ibraryLinkageResponseDataTypeNullable.g.cs | 60 + ...onConverters.AppAssetLibraryMediaType.g.cs | 53 + ...ters.AppAssetLibraryMediaTypeNullable.g.cs | 60 + ...CustomProductPageLocalizationDataType.g.cs | 53 + ...oductPageLocalizationDataTypeNullable.g.cs | 60 + ...tionshipsAppEventLocalizationDataType.g.cs | 53 + ...sAppEventLocalizationDataTypeNullable.g.cs | 60 + ...perimentTreatmentLocalizationDataType.g.cs | 53 + ...TreatmentLocalizationDataTypeNullable.g.cs | 60 + ...psAppStoreVersionLocalizationDataType.g.cs | 53 + ...reVersionLocalizationDataTypeNullable.g.cs | 60 + ...CustomProductPageLocalizationDataType.g.cs | 53 + ...oductPageLocalizationDataTypeNullable.g.cs | 60 + ...tionshipsAppEventLocalizationDataType.g.cs | 53 + ...sAppEventLocalizationDataTypeNullable.g.cs | 60 + ...perimentTreatmentLocalizationDataType.g.cs | 53 + ...TreatmentLocalizationDataTypeNullable.g.cs | 60 + ...psAppStoreVersionLocalizationDataType.g.cs | 53 + ...reVersionLocalizationDataTypeNullable.g.cs | 60 + ...RequestDataRelationshipsImageDataType.g.cs | 53 + ...ataRelationshipsImageDataTypeNullable.g.cs | 60 + ...RequestDataRelationshipsVideoDataType.g.cs | 53 + ...ataRelationshipsVideoDataTypeNullable.g.cs | 60 + ...LibraryPlacementCreateRequestDataType.g.cs | 53 + ...lacementCreateRequestDataTypeNullable.g.cs | 60 + ...setLibraryPlacementImageRelationships.g.cs | 108 + ...ageRelationshipsVariant2ImageDataType.g.cs | 53 + ...ionshipsVariant2ImageDataTypeNullable.g.cs | 60 + ...CustomProductPageLocalizationDataType.g.cs | 53 + ...oductPageLocalizationDataTypeNullable.g.cs | 60 + ...perimentTreatmentLocalizationDataType.g.cs | 53 + ...TreatmentLocalizationDataTypeNullable.g.cs | 60 + ...psAppStoreVersionLocalizationDataType.g.cs | 53 + ...reVersionLocalizationDataTypeNullable.g.cs | 60 + ...ionshipsOrderedPlacementsDataItemType.g.cs | 53 + ...OrderedPlacementsDataItemTypeNullable.g.cs | 60 + ...tOrderingRequestCreateRequestDataType.g.cs | 53 + ...gRequestCreateRequestDataTypeNullable.g.cs | 60 + ...ionshipsOrderedPlacementsDataItemType.g.cs | 53 + ...OrderedPlacementsDataItemTypeNullable.g.cs | 60 + ...etLibraryPlacementOrderingRequestType.g.cs | 53 + ...yPlacementOrderingRequestTypeNullable.g.cs | 60 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...pAssetLibraryPlacementOrderingRequest.g.cs | 53 + ...braryPlacementOrderingRequestNullable.g.cs | 60 + ...ringRequestsCreateInstanceIncludeItem.g.cs | 53 + ...estsCreateInstanceIncludeItemNullable.g.cs | 60 + ...ters.AppAssetLibraryPlacementPlatform.g.cs | 53 + ...AssetLibraryPlacementPlatformNullable.g.cs | 60 + ...ntRelationshipsDiscriminatorMediaType.g.cs | 53 + ...onshipsDiscriminatorMediaTypeNullable.g.cs | 60 + ...ResponseIncludedItemDiscriminatorType.g.cs | 53 + ...IncludedItemDiscriminatorTypeNullable.g.cs | 60 + ...verters.AppAssetLibraryPlacementState.g.cs | 53 + ...AppAssetLibraryPlacementStateNullable.g.cs | 60 + ...nverters.AppAssetLibraryPlacementType.g.cs | 53 + ...verters.AppAssetLibraryPlacementType2.g.cs | 53 + ...AppAssetLibraryPlacementType2Nullable.g.cs | 60 + ....AppAssetLibraryPlacementTypeNullable.g.cs | 60 + ...pAssetLibraryPlacementVideoAttributes.g.cs | 108 + ...setLibraryPlacementVideoRelationships.g.cs | 108 + ...deoRelationshipsVariant2VideoDataType.g.cs | 53 + ...ionshipsVariant2VideoDataTypeNullable.g.cs | 60 + ...GetInstanceFieldsAppAssetLibraryImage.g.cs | 53 + ...nceFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...GetInstanceFieldsAppAssetLibraryVideo.g.cs | 53 + ...nceFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...ieldsAppCustomProductPageLocalization.g.cs | 53 + ...CustomProductPageLocalizationNullable.g.cs | 60 + ...GetInstanceFieldsAppEventLocalization.g.cs | 53 + ...nceFieldsAppEventLocalizationNullable.g.cs | 60 + ...ersionExperimentTreatmentLocalization.g.cs | 53 + ...perimentTreatmentLocalizationNullable.g.cs | 60 + ...anceFieldsAppStoreVersionLocalization.g.cs | 53 + ...dsAppStoreVersionLocalizationNullable.g.cs | 60 + ...braryPlacementsGetInstanceIncludeItem.g.cs | 53 + ...cementsGetInstanceIncludeItemNullable.g.cs | 60 + ...ResponseIncludedItemDiscriminatorType.g.cs | 53 + ...IncludedItemDiscriminatorTypeNullable.g.cs | 60 + ...ctionFieldsAppAssetLibraryRefDataItem.g.cs | 53 + ...ldsAppAssetLibraryRefDataItemNullable.g.cs | 60 + ...tanceFieldsAppAssetLibraryRefDataItem.g.cs | 53 + ...ldsAppAssetLibraryRefDataItemNullable.g.cs | 60 + ...onverters.AppAssetLibraryRefDatumType.g.cs | 53 + ...s.AppAssetLibraryRefDatumTypeNullable.g.cs | 60 + ...ct.JsonConverters.AppAssetLibraryType.g.cs | 53 + ...onverters.AppAssetLibraryTypeNullable.g.cs | 60 + ...ppAssetLibraryVideoAcceptedAttributes.g.cs | 108 + ...ppAssetLibraryVideoApprovedAttributes.g.cs | 108 + ...ppAssetLibraryVideoArchivedAttributes.g.cs | 108 + ...raryVideoAttributesDiscriminatorState.g.cs | 53 + ...oAttributesDiscriminatorStateNullable.g.cs | 60 + ...tLibraryVideoAwaitingUploadAttributes.g.cs | 108 + ...DataRelationshipsAssetLibraryDataType.g.cs | 53 + ...tionshipsAssetLibraryDataTypeNullable.g.cs | 60 + ...taRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...ssetLibraryVideoCreateRequestDataType.g.cs | 53 + ...aryVideoCreateRequestDataTypeNullable.g.cs | 60 + ....AppAssetLibraryVideoFailedAttributes.g.cs | 108 + ...ppAssetLibraryVideoInReviewAttributes.g.cs | 108 + ...lacementsLinkagesResponseDataItemType.g.cs | 53 + ...sLinkagesResponseDataItemTypeNullable.g.cs | 60 + ...tLibraryVideoReadyForReviewAttributes.g.cs | 108 + ...ppAssetLibraryVideoRejectedAttributes.g.cs | 108 + ...eoRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...onConverters.AppAssetLibraryVideoType.g.cs | 53 + ...ters.AppAssetLibraryVideoTypeNullable.g.cs | 60 + ...ssetLibraryVideoUpdateRequestDataType.g.cs | 53 + ...aryVideoUpdateRequestDataTypeNullable.g.cs | 60 + ...tLibraryVideoUploadCompleteAttributes.g.cs | 108 + ...ibraryVideoWaitingForReviewAttributes.g.cs | 108 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...GetInstanceFieldsAppAssetLibraryVideo.g.cs | 53 + ...nceFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...etLibraryVideosGetInstanceIncludeItem.g.cs | 53 + ...yVideosGetInstanceIncludeItemNullable.g.cs | 60 + ...aryVideosLinkagesResponseDataItemType.g.cs | 53 + ...sLinkagesResponseDataItemTypeNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 53 + ...tedFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 53 + ...tedFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...ieldsAppCustomProductPageLocalization.g.cs | 53 + ...CustomProductPageLocalizationNullable.g.cs | 60 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 53 + ...tedFieldsAppEventLocalizationNullable.g.cs | 60 + ...ersionExperimentTreatmentLocalization.g.cs | 53 + ...perimentTreatmentLocalizationNullable.g.cs | 60 + ...atedFieldsAppStoreVersionLocalization.g.cs | 53 + ...dsAppStoreVersionLocalizationNullable.g.cs | 60 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 53 + ...elatedFilterPlacementTypeItemNullable.g.cs | 60 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 53 + ...tToManyRelatedFilterStateItemNullable.g.cs | 60 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 53 + ...tsGetToManyRelatedIncludeItemNullable.g.cs | 60 + ...eosPlacementsGetToManyRelatedSortItem.g.cs | 53 + ...mentsGetToManyRelatedSortItemNullable.g.cs | 60 + ...taRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...teRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...lacementsLinkagesResponseDataItemType.g.cs | 53 + ...sLinkagesResponseDataItemTypeNullable.g.cs | 60 + ...onRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 53 + ...tedFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 53 + ...tedFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...ieldsAppCustomProductPageLocalization.g.cs | 53 + ...CustomProductPageLocalizationNullable.g.cs | 60 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 53 + ...tedFieldsAppEventLocalizationNullable.g.cs | 60 + ...ersionExperimentTreatmentLocalization.g.cs | 53 + ...perimentTreatmentLocalizationNullable.g.cs | 60 + ...atedFieldsAppStoreVersionLocalization.g.cs | 53 + ...dsAppStoreVersionLocalizationNullable.g.cs | 60 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 53 + ...elatedFilterPlacementTypeItemNullable.g.cs | 60 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 53 + ...tToManyRelatedFilterStateItemNullable.g.cs | 60 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 53 + ...tsGetToManyRelatedIncludeItemNullable.g.cs | 60 + ...onsPlacementsGetToManyRelatedSortItem.g.cs | 53 + ...mentsGetToManyRelatedSortItemNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...taRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...lacementsLinkagesResponseDataItemType.g.cs | 53 + ...sLinkagesResponseDataItemTypeNullable.g.cs | 60 + ...onRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 53 + ...tedFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 53 + ...tedFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...ieldsAppCustomProductPageLocalization.g.cs | 53 + ...CustomProductPageLocalizationNullable.g.cs | 60 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 53 + ...tedFieldsAppEventLocalizationNullable.g.cs | 60 + ...ersionExperimentTreatmentLocalization.g.cs | 53 + ...perimentTreatmentLocalizationNullable.g.cs | 60 + ...atedFieldsAppStoreVersionLocalization.g.cs | 53 + ...dsAppStoreVersionLocalizationNullable.g.cs | 60 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 53 + ...elatedFilterPlacementTypeItemNullable.g.cs | 60 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 53 + ...tToManyRelatedFilterStateItemNullable.g.cs | 60 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 53 + ...tsGetToManyRelatedIncludeItemNullable.g.cs | 60 + ...onsPlacementsGetToManyRelatedSortItem.g.cs | 53 + ...mentsGetToManyRelatedSortItemNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...taRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...lacementsLinkagesResponseDataItemType.g.cs | 53 + ...sLinkagesResponseDataItemTypeNullable.g.cs | 60 + ...onRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 53 + ...tedFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 53 + ...tedFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...ieldsAppCustomProductPageLocalization.g.cs | 53 + ...CustomProductPageLocalizationNullable.g.cs | 60 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 53 + ...tedFieldsAppEventLocalizationNullable.g.cs | 60 + ...ersionExperimentTreatmentLocalization.g.cs | 53 + ...perimentTreatmentLocalizationNullable.g.cs | 60 + ...atedFieldsAppStoreVersionLocalization.g.cs | 53 + ...dsAppStoreVersionLocalizationNullable.g.cs | 60 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 53 + ...elatedFilterPlacementTypeItemNullable.g.cs | 60 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 53 + ...tToManyRelatedFilterStateItemNullable.g.cs | 60 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 53 + ...tsGetToManyRelatedIncludeItemNullable.g.cs | 60 + ...onsPlacementsGetToManyRelatedSortItem.g.cs | 53 + ...mentsGetToManyRelatedSortItemNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...taRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...lacementsLinkagesResponseDataItemType.g.cs | 53 + ...sLinkagesResponseDataItemTypeNullable.g.cs | 60 + ...onRelationshipsPlacementsDataItemType.g.cs | 53 + ...onshipsPlacementsDataItemTypeNullable.g.cs | 60 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 53 + ...tedFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 53 + ...tedFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...ieldsAppCustomProductPageLocalization.g.cs | 53 + ...CustomProductPageLocalizationNullable.g.cs | 60 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 53 + ...tedFieldsAppEventLocalizationNullable.g.cs | 60 + ...ersionExperimentTreatmentLocalization.g.cs | 53 + ...perimentTreatmentLocalizationNullable.g.cs | 60 + ...atedFieldsAppStoreVersionLocalization.g.cs | 53 + ...dsAppStoreVersionLocalizationNullable.g.cs | 60 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 53 + ...elatedFilterPlacementTypeItemNullable.g.cs | 60 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 53 + ...tToManyRelatedFilterStateItemNullable.g.cs | 60 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 53 + ...tsGetToManyRelatedIncludeItemNullable.g.cs | 60 + ...onsPlacementsGetToManyRelatedSortItem.g.cs | 53 + ...mentsGetToManyRelatedSortItemNullable.g.cs | 60 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 53 + ...ieldsAppAssetLibraryPlacementNullable.g.cs | 60 + ...GetToOneRelatedFieldsAppAssetLibrarie.g.cs | 53 + ...RelatedFieldsAppAssetLibrarieNullable.g.cs | 60 + ...toreConnect.JsonConverters.Attributes.g.cs | 222 + ...oreConnect.JsonConverters.Attributes2.g.cs | 222 + ...Connect.JsonConverters.IncludedItem10.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem100.g.cs | 84 +- ...onnect.JsonConverters.IncludedItem101.g.cs | 208 +- ...onnect.JsonConverters.IncludedItem102.g.cs | 208 +- ...onnect.JsonConverters.IncludedItem103.g.cs | 216 +- ...onnect.JsonConverters.IncludedItem104.g.cs | 194 +- ...onnect.JsonConverters.IncludedItem105.g.cs | 104 +- ...onnect.JsonConverters.IncludedItem106.g.cs | 96 +- ...onnect.JsonConverters.IncludedItem107.g.cs | 96 +- ...onnect.JsonConverters.IncludedItem108.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem109.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem11.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem110.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem111.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem112.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem113.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem114.g.cs | 36 +- ...onnect.JsonConverters.IncludedItem115.g.cs | 36 +- ...onnect.JsonConverters.IncludedItem116.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem117.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem118.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem119.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem12.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem120.g.cs | 36 +- ...onnect.JsonConverters.IncludedItem121.g.cs | 36 +- ...onnect.JsonConverters.IncludedItem122.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem123.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem124.g.cs | 78 +- ...onnect.JsonConverters.IncludedItem125.g.cs | 78 +- ...onnect.JsonConverters.IncludedItem126.g.cs | 104 +- ...onnect.JsonConverters.IncludedItem127.g.cs | 104 +- ...onnect.JsonConverters.IncludedItem128.g.cs | 128 +- ...onnect.JsonConverters.IncludedItem129.g.cs | 128 +- ...Connect.JsonConverters.IncludedItem13.g.cs | 89 +- ...onnect.JsonConverters.IncludedItem130.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem131.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem132.g.cs | 104 +- ...onnect.JsonConverters.IncludedItem133.g.cs | 132 + ...onnect.JsonConverters.IncludedItem134.g.cs | 59 +- ...onnect.JsonConverters.IncludedItem135.g.cs | 87 - ...onnect.JsonConverters.IncludedItem136.g.cs | 64 +- ...onnect.JsonConverters.IncludedItem137.g.cs | 64 +- ...onnect.JsonConverters.IncludedItem138.g.cs | 59 +- ...onnect.JsonConverters.IncludedItem139.g.cs | 59 +- ...Connect.JsonConverters.IncludedItem14.g.cs | 89 +- ...onnect.JsonConverters.IncludedItem140.g.cs | 72 + ...onnect.JsonConverters.IncludedItem141.g.cs | 26 +- ...onnect.JsonConverters.IncludedItem142.g.cs | 87 - ...onnect.JsonConverters.IncludedItem143.g.cs | 59 +- ...onnect.JsonConverters.IncludedItem144.g.cs | 155 +- ...onnect.JsonConverters.IncludedItem145.g.cs | 155 +- ...onnect.JsonConverters.IncludedItem146.g.cs | 174 +- ...onnect.JsonConverters.IncludedItem147.g.cs | 174 +- ...onnect.JsonConverters.IncludedItem148.g.cs | 66 +- ...onnect.JsonConverters.IncludedItem149.g.cs | 66 +- ...Connect.JsonConverters.IncludedItem15.g.cs | 33 +- ...onnect.JsonConverters.IncludedItem150.g.cs | 59 +- ...onnect.JsonConverters.IncludedItem151.g.cs | 59 +- ...onnect.JsonConverters.IncludedItem152.g.cs | 59 +- ...onnect.JsonConverters.IncludedItem153.g.cs | 59 +- ...onnect.JsonConverters.IncludedItem154.g.cs | 209 +- ...onnect.JsonConverters.IncludedItem155.g.cs | 209 +- ...onnect.JsonConverters.IncludedItem156.g.cs | 241 +- ...onnect.JsonConverters.IncludedItem157.g.cs | 241 +- ...onnect.JsonConverters.IncludedItem158.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem159.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem16.g.cs | 33 +- ...onnect.JsonConverters.IncludedItem160.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem161.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem162.g.cs | 51 +- ...onnect.JsonConverters.IncludedItem163.g.cs | 51 +- ...onnect.JsonConverters.IncludedItem164.g.cs | 56 +- ...onnect.JsonConverters.IncludedItem165.g.cs | 56 +- ...onnect.JsonConverters.IncludedItem166.g.cs | 23 +- ...onnect.JsonConverters.IncludedItem167.g.cs | 79 +- ...onnect.JsonConverters.IncludedItem168.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem169.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem17.g.cs} | 72 +- ...onnect.JsonConverters.IncludedItem170.g.cs | 74 +- ...onnect.JsonConverters.IncludedItem171.g.cs | 8 +- ...onnect.JsonConverters.IncludedItem172.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem173.g.cs | 44 +- ...onnect.JsonConverters.IncludedItem174.g.cs | 41 +- ...onnect.JsonConverters.IncludedItem175.g.cs | 41 +- ...onnect.JsonConverters.IncludedItem176.g.cs | 200 +- ...onnect.JsonConverters.IncludedItem177.g.cs | 200 +- ...onnect.JsonConverters.IncludedItem178.g.cs | 237 + ...onnect.JsonConverters.IncludedItem179.g.cs | 209 +- ...Connect.JsonConverters.IncludedItem18.g.cs | 64 +- ...onnect.JsonConverters.IncludedItem181.g.cs | 72 + ...Connect.JsonConverters.IncludedItem20.g.cs | 64 +- ...Connect.JsonConverters.IncludedItem21.g.cs | 64 +- ...Connect.JsonConverters.IncludedItem22.g.cs | 84 +- ...Connect.JsonConverters.IncludedItem23.g.cs | 84 +- ...Connect.JsonConverters.IncludedItem24.g.cs | 84 +- ...Connect.JsonConverters.IncludedItem25.g.cs | 84 +- ...Connect.JsonConverters.IncludedItem26.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem27.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem28.g.cs | 33 +- ...Connect.JsonConverters.IncludedItem29.g.cs | 72 + ...eConnect.JsonConverters.IncludedItem3.g.cs | 109 +- ...Connect.JsonConverters.IncludedItem30.g.cs | 41 +- ...Connect.JsonConverters.IncludedItem31.g.cs | 102 - ...Connect.JsonConverters.IncludedItem32.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem33.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem34.g.cs | 79 +- ...Connect.JsonConverters.IncludedItem35.g.cs | 59 +- ...Connect.JsonConverters.IncludedItem36.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem37.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem38.g.cs | 59 +- ...Connect.JsonConverters.IncludedItem39.g.cs | 59 +- ...eConnect.JsonConverters.IncludedItem4.g.cs | 109 +- ...Connect.JsonConverters.IncludedItem40.g.cs | 25 +- ...Connect.JsonConverters.IncludedItem41.g.cs | 25 +- ...Connect.JsonConverters.IncludedItem42.g.cs | 66 +- ...Connect.JsonConverters.IncludedItem43.g.cs | 66 +- ...Connect.JsonConverters.IncludedItem44.g.cs | 194 +- ...Connect.JsonConverters.IncludedItem45.g.cs | 194 +- ...Connect.JsonConverters.IncludedItem46.g.cs | 411 +- ...Connect.JsonConverters.IncludedItem47.g.cs | 411 +- ...Connect.JsonConverters.IncludedItem48.g.cs | 389 +- ...Connect.JsonConverters.IncludedItem49.g.cs | 389 +- ...eConnect.JsonConverters.IncludedItem5.g.cs | 59 +- ...Connect.JsonConverters.IncludedItem50.g.cs | 89 +- ...Connect.JsonConverters.IncludedItem51.g.cs | 89 +- ...Connect.JsonConverters.IncludedItem52.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem53.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem54.g.cs | 8 +- ...Connect.JsonConverters.IncludedItem55.g.cs | 8 +- ...Connect.JsonConverters.IncludedItem56.g.cs | 40 +- ...Connect.JsonConverters.IncludedItem57.g.cs | 40 +- ...Connect.JsonConverters.IncludedItem58.g.cs | 43 +- ...Connect.JsonConverters.IncludedItem59.g.cs | 43 +- ...eConnect.JsonConverters.IncludedItem6.g.cs | 59 +- ...Connect.JsonConverters.IncludedItem60.g.cs | 51 +- ...Connect.JsonConverters.IncludedItem61.g.cs | 51 +- ...Connect.JsonConverters.IncludedItem62.g.cs | 194 +- ...Connect.JsonConverters.IncludedItem63.g.cs | 194 +- ...Connect.JsonConverters.IncludedItem64.g.cs | 191 +- ...Connect.JsonConverters.IncludedItem65.g.cs | 191 +- ...Connect.JsonConverters.IncludedItem66.g.cs | 94 +- ...Connect.JsonConverters.IncludedItem67.g.cs | 94 +- ...Connect.JsonConverters.IncludedItem68.g.cs | 94 +- ...Connect.JsonConverters.IncludedItem69.g.cs | 94 +- ...eConnect.JsonConverters.IncludedItem7.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem70.g.cs | 61 +- ...Connect.JsonConverters.IncludedItem71.g.cs | 61 +- ...Connect.JsonConverters.IncludedItem72.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem73.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem74.g.cs | 26 +- ...Connect.JsonConverters.IncludedItem75.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem76.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem77.g.cs | 36 +- ...Connect.JsonConverters.IncludedItem78.g.cs | 36 +- ...Connect.JsonConverters.IncludedItem79.g.cs | 38 +- ...eConnect.JsonConverters.IncludedItem8.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem80.g.cs | 38 +- ...Connect.JsonConverters.IncludedItem81.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem82.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem83.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem84.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem85.g.cs | 60 +- ...Connect.JsonConverters.IncludedItem86.g.cs | 60 +- ...Connect.JsonConverters.IncludedItem87.g.cs | 87 +- ...Connect.JsonConverters.IncludedItem88.g.cs | 87 +- ...Connect.JsonConverters.IncludedItem89.g.cs | 73 +- ...eConnect.JsonConverters.IncludedItem9.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem90.g.cs | 73 +- ...Connect.JsonConverters.IncludedItem91.g.cs | 66 +- ...Connect.JsonConverters.IncludedItem92.g.cs | 66 +- ...Connect.JsonConverters.IncludedItem93.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem94.g.cs | 74 +- ...Connect.JsonConverters.IncludedItem95.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem96.g.cs | 44 +- ...Connect.JsonConverters.IncludedItem97.g.cs | 56 +- ...Connect.JsonConverters.IncludedItem98.g.cs | 56 +- ...Connect.JsonConverters.IncludedItem99.g.cs | 84 +- ...eConnect.JsonConverters.Relationships.g.cs | 72 + ...tionshipsAppAssetLibraryImageDataType.g.cs | 53 + ...sAppAssetLibraryImageDataTypeNullable.g.cs | 60 + ...tionshipsAppAssetLibraryVideoDataType.g.cs | 53 + ...sAppAssetLibraryVideoDataTypeNullable.g.cs | 60 + ...tionshipsAppAssetLibraryImageDataType.g.cs | 53 + ...sAppAssetLibraryImageDataTypeNullable.g.cs | 60 + ...tionshipsAppAssetLibraryVideoDataType.g.cs | 53 + ...sAppAssetLibraryVideoDataTypeNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 53 + ...tedFieldsAppAssetLibraryImageNullable.g.cs | 60 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 53 + ...tedFieldsAppAssetLibraryVideoNullable.g.cs | 60 + ...AppStoreConnect.JsonSerializerContext.g.cs | 2920 +- ...oreConnect.JsonSerializerContextTypes.g.cs | 32034 ++-- ...riesGetInstanceFieldsAppAssetLibrarie.g.cs | 51 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 111 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...gesGetToManyRelatedFilterCategoryItem.g.cs | 51 + ...ImagesGetToManyRelatedFilterStateItem.g.cs | 111 + ...riesImagesGetToManyRelatedIncludeItem.g.cs | 45 + ...brariesImagesGetToManyRelatedSortItem.g.cs | 75 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 123 + ...eosGetToManyRelatedFilterCategoryItem.g.cs | 51 + ...VideosGetToManyRelatedFilterStateItem.g.cs | 111 + ...riesVideosGetToManyRelatedIncludeItem.g.cs | 45 + ...brariesVideosGetToManyRelatedSortItem.g.cs | 75 + ...eConnect.Models.AppAssetLibrary.Json.g.cs} | 26 +- ...ppStoreConnect.Models.AppAssetLibrary.g.cs | 73 + ...t.Models.AppAssetLibraryAssetCategory.g.cs | 51 + ...nect.Models.AppAssetLibraryAssetState.g.cs | 111 + ...ct.Models.AppAssetLibraryDisplayClass.g.cs | 159 + ...Connect.Models.AppAssetLibraryFeature.g.cs | 99 + ...nect.Models.AppAssetLibraryImage.Json.g.cs | 141 + ...reConnect.Models.AppAssetLibraryImage.g.cs | 83 + ...etLibraryImageAcceptedAttributes.Json.g.cs | 141 + ...ppAssetLibraryImageAcceptedAttributes.g.cs | 272 + ...yImageAcceptedAttributesVariant2.Json.g.cs | 141 + ...ibraryImageAcceptedAttributesVariant2.g.cs | 19 + ...etLibraryImageApprovedAttributes.Json.g.cs | 141 + ...ppAssetLibraryImageApprovedAttributes.g.cs | 272 + ...yImageApprovedAttributesVariant2.Json.g.cs | 141 + ...ibraryImageApprovedAttributesVariant2.g.cs | 19 + ...etLibraryImageArchivedAttributes.Json.g.cs | 141 + ...ppAssetLibraryImageArchivedAttributes.g.cs | 272 + ...yImageArchivedAttributesVariant2.Json.g.cs | 141 + ...ibraryImageArchivedAttributesVariant2.g.cs | 19 + ...raryImageAttributesDiscriminator.Json.g.cs | 141 + ...etLibraryImageAttributesDiscriminator.g.cs | 45 + ...raryImageAttributesDiscriminatorState.g.cs | 111 + ...aryImageAwaitingUploadAttributes.Json.g.cs | 141 + ...tLibraryImageAwaitingUploadAttributes.g.cs | 295 + ...AwaitingUploadAttributesVariant2.Json.g.cs | 141 + ...ImageAwaitingUploadAttributesVariant2.g.cs | 44 + ...ssetLibraryImageCommonAttributes.Json.g.cs | 141 + ....AppAssetLibraryImageCommonAttributes.g.cs | 128 + ...ppAssetLibraryImageCreateRequest.Json.g.cs | 141 + ...els.AppAssetLibraryImageCreateRequest.g.cs | 45 + ...setLibraryImageCreateRequestData.Json.g.cs | 141 + ...AppAssetLibraryImageCreateRequestData.g.cs | 65 + ...ImageCreateRequestDataAttributes.Json.g.cs | 141 + ...braryImageCreateRequestDataAttributes.g.cs | 75 + ...geCreateRequestDataRelationships.Json.g.cs | 141 + ...ryImageCreateRequestDataRelationships.g.cs | 54 + ...estDataRelationshipsAssetLibrary.Json.g.cs | 141 + ...eRequestDataRelationshipsAssetLibrary.g.cs | 45 + ...ataRelationshipsAssetLibraryData.Json.g.cs | 141 + ...uestDataRelationshipsAssetLibraryData.g.cs | 55 + ...DataRelationshipsAssetLibraryDataType.g.cs | 45 + ...questDataRelationshipsPlacements.Json.g.cs | 141 + ...ateRequestDataRelationshipsPlacements.g.cs | 44 + ...aRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...stDataRelationshipsPlacementsDataItem.g.cs | 55 + ...taRelationshipsPlacementsDataItemType.g.cs | 45 + ...ssetLibraryImageCreateRequestDataType.g.cs | 45 + ...ssetLibraryImageFailedAttributes.Json.g.cs | 141 + ....AppAssetLibraryImageFailedAttributes.g.cs | 295 + ...aryImageFailedAttributesVariant2.Json.g.cs | 141 + ...tLibraryImageFailedAttributesVariant2.g.cs | 44 + ...etLibraryImageInReviewAttributes.Json.g.cs | 141 + ...ppAssetLibraryImageInReviewAttributes.g.cs | 272 + ...yImageInReviewAttributesVariant2.Json.g.cs | 141 + ...ibraryImageInReviewAttributesVariant2.g.cs | 19 + ...yImagePlacementsLinkagesResponse.Json.g.cs | 141 + ...ibraryImagePlacementsLinkagesResponse.g.cs | 64 + ...acementsLinkagesResponseDataItem.Json.g.cs | 141 + ...agePlacementsLinkagesResponseDataItem.g.cs | 55 + ...lacementsLinkagesResponseDataItemType.g.cs | 45 + ...aryImageReadyForReviewAttributes.Json.g.cs | 141 + ...tLibraryImageReadyForReviewAttributes.g.cs | 272 + ...ReadyForReviewAttributesVariant2.Json.g.cs | 141 + ...ImageReadyForReviewAttributesVariant2.g.cs | 19 + ...etLibraryImageRejectedAttributes.Json.g.cs | 141 + ...ppAssetLibraryImageRejectedAttributes.g.cs | 272 + ...yImageRejectedAttributesVariant2.Json.g.cs | 141 + ...ibraryImageRejectedAttributesVariant2.g.cs | 19 + ...ppAssetLibraryImageRelationships.Json.g.cs | 141 + ...els.AppAssetLibraryImageRelationships.g.cs | 44 + ...raryImageRelationshipsPlacements.Json.g.cs | 141 + ...etLibraryImageRelationshipsPlacements.g.cs | 62 + ...eRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...yImageRelationshipsPlacementsDataItem.g.cs | 55 + ...geRelationshipsPlacementsDataItemType.g.cs | 45 + ...els.AppAssetLibraryImageResponse.Json.g.cs | 141 + ...t.Models.AppAssetLibraryImageResponse.g.cs | 64 + ...nnect.Models.AppAssetLibraryImageType.g.cs | 45 + ...ppAssetLibraryImageUpdateRequest.Json.g.cs | 141 + ...els.AppAssetLibraryImageUpdateRequest.g.cs | 45 + ...setLibraryImageUpdateRequestData.Json.g.cs | 141 + ...AppAssetLibraryImageUpdateRequestData.g.cs | 64 + ...ImageUpdateRequestDataAttributes.Json.g.cs | 141 + ...braryImageUpdateRequestDataAttributes.g.cs | 62 + ...ssetLibraryImageUpdateRequestDataType.g.cs | 45 + ...aryImageUploadCompleteAttributes.Json.g.cs | 141 + ...tLibraryImageUploadCompleteAttributes.g.cs | 295 + ...UploadCompleteAttributesVariant2.Json.g.cs | 141 + ...ImageUploadCompleteAttributesVariant2.g.cs | 44 + ...yImageWaitingForReviewAttributes.Json.g.cs | 141 + ...ibraryImageWaitingForReviewAttributes.g.cs | 272 + ...itingForReviewAttributesVariant2.Json.g.cs | 141 + ...ageWaitingForReviewAttributesVariant2.g.cs | 19 + ...GetInstanceFieldsAppAssetLibraryImage.g.cs | 111 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 117 + ...etLibraryImagesGetInstanceIncludeItem.g.cs | 45 + ...setLibraryImagesLinkagesResponse.Json.g.cs | 141 + ...AppAssetLibraryImagesLinkagesResponse.g.cs | 64 + ...ryImagesLinkagesResponseDataItem.Json.g.cs | 141 + ...LibraryImagesLinkagesResponseDataItem.g.cs | 55 + ...aryImagesLinkagesResponseDataItemType.g.cs | 45 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 111 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 123 + ...ieldsAppCustomProductPageLocalization.g.cs | 81 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 87 + ...ersionExperimentTreatmentLocalization.g.cs | 69 + ...atedFieldsAppStoreVersionLocalization.g.cs | 111 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 99 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 81 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 75 + ...gesPlacementsGetToManyRelatedSortItem.g.cs | 75 + ...ls.AppAssetLibraryImagesResponse.Json.g.cs | 141 + ....Models.AppAssetLibraryImagesResponse.g.cs | 73 + ...s.AppAssetLibraryLinkageResponse.Json.g.cs | 141 + ...Models.AppAssetLibraryLinkageResponse.g.cs | 55 + ...pAssetLibraryLinkageResponseData.Json.g.cs | 141 + ...ls.AppAssetLibraryLinkageResponseData.g.cs | 55 + ...ppAssetLibraryLinkageResponseDataType.g.cs | 45 + ...nnect.Models.AppAssetLibraryMediaType.g.cs | 51 + ....Models.AppAssetLibraryPlacement.Json.g.cs | 141 + ...nnect.Models.AppAssetLibraryPlacement.g.cs | 83 + ...pAssetLibraryPlacementAttributes.Json.g.cs | 141 + ...ls.AppAssetLibraryPlacementAttributes.g.cs | 101 + ...LibraryPlacementCommonAttributes.Json.g.cs | 141 + ...AssetLibraryPlacementCommonAttributes.g.cs | 101 + ...raryPlacementCommonRelationships.Json.g.cs | 141 + ...etLibraryPlacementCommonRelationships.g.cs | 71 + ...AppCustomProductPageLocalization.Json.g.cs | 141 + ...shipsAppCustomProductPageLocalization.g.cs | 44 + ...ustomProductPageLocalizationData.Json.g.cs | 141 + ...sAppCustomProductPageLocalizationData.g.cs | 55 + ...CustomProductPageLocalizationDataType.g.cs | 45 + ...elationshipsAppEventLocalization.Json.g.cs | 141 + ...mmonRelationshipsAppEventLocalization.g.cs | 44 + ...ionshipsAppEventLocalizationData.Json.g.cs | 141 + ...RelationshipsAppEventLocalizationData.g.cs | 55 + ...tionshipsAppEventLocalizationDataType.g.cs | 45 + ...nExperimentTreatmentLocalization.Json.g.cs | 141 + ...ersionExperimentTreatmentLocalization.g.cs | 44 + ...erimentTreatmentLocalizationData.Json.g.cs | 141 + ...onExperimentTreatmentLocalizationData.g.cs | 55 + ...perimentTreatmentLocalizationDataType.g.cs | 45 + ...shipsAppStoreVersionLocalization.Json.g.cs | 141 + ...ationshipsAppStoreVersionLocalization.g.cs | 44 + ...sAppStoreVersionLocalizationData.Json.g.cs | 141 + ...nshipsAppStoreVersionLocalizationData.g.cs | 55 + ...psAppStoreVersionLocalizationDataType.g.cs | 45 + ...setLibraryPlacementCreateRequest.Json.g.cs | 141 + ...AppAssetLibraryPlacementCreateRequest.g.cs | 45 + ...ibraryPlacementCreateRequestData.Json.g.cs | 141 + ...ssetLibraryPlacementCreateRequestData.g.cs | 63 + ...ementCreateRequestDataAttributes.Json.g.cs | 141 + ...yPlacementCreateRequestDataAttributes.g.cs | 54 + ...ryPlacementCreateRequestDataEnum.Json.g.cs | 141 + ...LibraryPlacementCreateRequestDataEnum.g.cs | 55 + ...yPlacementCreateRequestDataEnum2.Json.g.cs | 141 + ...ibraryPlacementCreateRequestDataEnum2.g.cs | 55 + ...yPlacementCreateRequestDataEnum3.Json.g.cs | 141 + ...ibraryPlacementCreateRequestDataEnum3.g.cs | 55 + ...yPlacementCreateRequestDataEnum4.Json.g.cs | 141 + ...ibraryPlacementCreateRequestDataEnum4.g.cs | 55 + ...yPlacementCreateRequestDataEnum5.Json.g.cs | 141 + ...ibraryPlacementCreateRequestDataEnum5.g.cs | 55 + ...yPlacementCreateRequestDataEnum6.Json.g.cs | 141 + ...ibraryPlacementCreateRequestDataEnum6.g.cs | 55 + ...yPlacementCreateRequestDataEnum7.Json.g.cs | 141 + ...ibraryPlacementCreateRequestDataEnum7.g.cs | 55 + ...yPlacementCreateRequestDataEnum8.Json.g.cs | 141 + ...ibraryPlacementCreateRequestDataEnum8.g.cs | 55 + ...tCreateRequestDataEnumAttributes.Json.g.cs | 141 + ...cementCreateRequestDataEnumAttributes.g.cs | 19 + ...CreateRequestDataEnumAttributes2.Json.g.cs | 141 + ...ementCreateRequestDataEnumAttributes2.g.cs | 19 + ...CreateRequestDataEnumAttributes3.Json.g.cs | 141 + ...ementCreateRequestDataEnumAttributes3.g.cs | 19 + ...CreateRequestDataEnumAttributes4.Json.g.cs | 141 + ...ementCreateRequestDataEnumAttributes4.g.cs | 19 + ...CreateRequestDataEnumAttributes5.Json.g.cs | 141 + ...ementCreateRequestDataEnumAttributes5.g.cs | 19 + ...CreateRequestDataEnumAttributes6.Json.g.cs | 141 + ...ementCreateRequestDataEnumAttributes6.g.cs | 19 + ...CreateRequestDataEnumAttributes7.Json.g.cs | 141 + ...ementCreateRequestDataEnumAttributes7.g.cs | 19 + ...CreateRequestDataEnumAttributes8.Json.g.cs | 141 + ...ementCreateRequestDataEnumAttributes8.g.cs | 19 + ...eateRequestDataEnumRelationships.Json.g.cs | 141 + ...entCreateRequestDataEnumRelationships.g.cs | 19 + ...ateRequestDataEnumRelationships2.Json.g.cs | 141 + ...ntCreateRequestDataEnumRelationships2.g.cs | 19 + ...ateRequestDataEnumRelationships3.Json.g.cs | 141 + ...ntCreateRequestDataEnumRelationships3.g.cs | 19 + ...ateRequestDataEnumRelationships4.Json.g.cs | 141 + ...ntCreateRequestDataEnumRelationships4.g.cs | 19 + ...ateRequestDataEnumRelationships5.Json.g.cs | 141 + ...ntCreateRequestDataEnumRelationships5.g.cs | 19 + ...ateRequestDataEnumRelationships6.Json.g.cs | 141 + ...ntCreateRequestDataEnumRelationships6.g.cs | 19 + ...ateRequestDataEnumRelationships7.Json.g.cs | 141 + ...ntCreateRequestDataEnumRelationships7.g.cs | 19 + ...ateRequestDataEnumRelationships8.Json.g.cs | 141 + ...ntCreateRequestDataEnumRelationships8.g.cs | 19 + ...ntCreateRequestDataRelationships.Json.g.cs | 141 + ...acementCreateRequestDataRelationships.g.cs | 89 + ...AppCustomProductPageLocalization.Json.g.cs | 141 + ...shipsAppCustomProductPageLocalization.g.cs | 44 + ...ustomProductPageLocalizationData.Json.g.cs | 141 + ...sAppCustomProductPageLocalizationData.g.cs | 55 + ...CustomProductPageLocalizationDataType.g.cs | 45 + ...elationshipsAppEventLocalization.Json.g.cs | 141 + ...DataRelationshipsAppEventLocalization.g.cs | 44 + ...ionshipsAppEventLocalizationData.Json.g.cs | 141 + ...RelationshipsAppEventLocalizationData.g.cs | 55 + ...tionshipsAppEventLocalizationDataType.g.cs | 45 + ...nExperimentTreatmentLocalization.Json.g.cs | 141 + ...ersionExperimentTreatmentLocalization.g.cs | 44 + ...erimentTreatmentLocalizationData.Json.g.cs | 141 + ...onExperimentTreatmentLocalizationData.g.cs | 55 + ...perimentTreatmentLocalizationDataType.g.cs | 45 + ...shipsAppStoreVersionLocalization.Json.g.cs | 141 + ...ationshipsAppStoreVersionLocalization.g.cs | 44 + ...sAppStoreVersionLocalizationData.Json.g.cs | 141 + ...nshipsAppStoreVersionLocalizationData.g.cs | 55 + ...psAppStoreVersionLocalizationDataType.g.cs | 45 + ...ateRequestDataRelationshipsImage.Json.g.cs | 141 + ...ntCreateRequestDataRelationshipsImage.g.cs | 44 + ...equestDataRelationshipsImageData.Json.g.cs | 141 + ...eateRequestDataRelationshipsImageData.g.cs | 55 + ...RequestDataRelationshipsImageDataType.g.cs | 45 + ...ateRequestDataRelationshipsVideo.Json.g.cs | 141 + ...ntCreateRequestDataRelationshipsVideo.g.cs | 44 + ...equestDataRelationshipsVideoData.Json.g.cs | 141 + ...eateRequestDataRelationshipsVideoData.g.cs | 55 + ...RequestDataRelationshipsVideoDataType.g.cs | 45 + ...LibraryPlacementCreateRequestDataType.g.cs | 45 + ...braryPlacementImageRelationships.Json.g.cs | 141 + ...setLibraryPlacementImageRelationships.g.cs | 295 + ...cementImageRelationshipsVariant2.Json.g.cs | 141 + ...ryPlacementImageRelationshipsVariant2.g.cs | 44 + ...tImageRelationshipsVariant2Image.Json.g.cs | 141 + ...cementImageRelationshipsVariant2Image.g.cs | 44 + ...geRelationshipsVariant2ImageData.Json.g.cs | 141 + ...ntImageRelationshipsVariant2ImageData.g.cs | 55 + ...ageRelationshipsVariant2ImageDataType.g.cs | 45 + ...tLibraryPlacementOrderingRequest.Json.g.cs | 141 + ...pAssetLibraryPlacementOrderingRequest.g.cs | 73 + ...mentOrderingRequestCreateRequest.Json.g.cs | 141 + ...PlacementOrderingRequestCreateRequest.g.cs | 45 + ...OrderingRequestCreateRequestData.Json.g.cs | 141 + ...ementOrderingRequestCreateRequestData.g.cs | 63 + ...questCreateRequestDataAttributes.Json.g.cs | 141 + ...ingRequestCreateRequestDataAttributes.g.cs | 44 + ...ringRequestCreateRequestDataEnum.Json.g.cs | 141 + ...tOrderingRequestCreateRequestDataEnum.g.cs | 55 + ...ingRequestCreateRequestDataEnum2.Json.g.cs | 141 + ...OrderingRequestCreateRequestDataEnum2.g.cs | 55 + ...ingRequestCreateRequestDataEnum3.Json.g.cs | 141 + ...OrderingRequestCreateRequestDataEnum3.g.cs | 55 + ...tCreateRequestDataEnumAttributes.Json.g.cs | 141 + ...equestCreateRequestDataEnumAttributes.g.cs | 19 + ...CreateRequestDataEnumAttributes2.Json.g.cs | 141 + ...questCreateRequestDataEnumAttributes2.g.cs | 19 + ...CreateRequestDataEnumAttributes3.Json.g.cs | 141 + ...questCreateRequestDataEnumAttributes3.g.cs | 19 + ...eateRequestDataEnumRelationships.Json.g.cs | 141 + ...estCreateRequestDataEnumRelationships.g.cs | 19 + ...ateRequestDataEnumRelationships2.Json.g.cs | 141 + ...stCreateRequestDataEnumRelationships2.g.cs | 19 + ...ateRequestDataEnumRelationships3.Json.g.cs | 141 + ...stCreateRequestDataEnumRelationships3.g.cs | 19 + ...stCreateRequestDataRelationships.Json.g.cs | 141 + ...RequestCreateRequestDataRelationships.g.cs | 71 + ...AppCustomProductPageLocalization.Json.g.cs | 141 + ...shipsAppCustomProductPageLocalization.g.cs | 44 + ...ustomProductPageLocalizationData.Json.g.cs | 141 + ...sAppCustomProductPageLocalizationData.g.cs | 55 + ...CustomProductPageLocalizationDataType.g.cs | 45 + ...nExperimentTreatmentLocalization.Json.g.cs | 141 + ...ersionExperimentTreatmentLocalization.g.cs | 44 + ...erimentTreatmentLocalizationData.Json.g.cs | 141 + ...onExperimentTreatmentLocalizationData.g.cs | 55 + ...perimentTreatmentLocalizationDataType.g.cs | 45 + ...shipsAppStoreVersionLocalization.Json.g.cs | 141 + ...ationshipsAppStoreVersionLocalization.g.cs | 44 + ...sAppStoreVersionLocalizationData.Json.g.cs | 141 + ...nshipsAppStoreVersionLocalizationData.g.cs | 55 + ...psAppStoreVersionLocalizationDataType.g.cs | 45 + ...taRelationshipsOrderedPlacements.Json.g.cs | 141 + ...estDataRelationshipsOrderedPlacements.g.cs | 44 + ...onshipsOrderedPlacementsDataItem.Json.g.cs | 141 + ...elationshipsOrderedPlacementsDataItem.g.cs | 55 + ...ionshipsOrderedPlacementsDataItemType.g.cs | 45 + ...tOrderingRequestCreateRequestDataType.g.cs | 45 + ...mentOrderingRequestRelationships.Json.g.cs | 141 + ...PlacementOrderingRequestRelationships.g.cs | 44 + ...stRelationshipsOrderedPlacements.Json.g.cs | 141 + ...RequestRelationshipsOrderedPlacements.g.cs | 53 + ...onshipsOrderedPlacementsDataItem.Json.g.cs | 141 + ...elationshipsOrderedPlacementsDataItem.g.cs | 55 + ...ionshipsOrderedPlacementsDataItemType.g.cs | 45 + ...PlacementOrderingRequestResponse.Json.g.cs | 141 + ...braryPlacementOrderingRequestResponse.g.cs | 64 + ...etLibraryPlacementOrderingRequestType.g.cs | 45 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 117 + ...pAssetLibraryPlacementOrderingRequest.g.cs | 45 + ...ringRequestsCreateInstanceIncludeItem.g.cs | 45 + ...dels.AppAssetLibraryPlacementPlatform.g.cs | 87 + ...cementRelationshipsDiscriminator.Json.g.cs | 141 + ...ryPlacementRelationshipsDiscriminator.g.cs | 45 + ...ntRelationshipsDiscriminatorMediaType.g.cs | 51 + ...AppAssetLibraryPlacementResponse.Json.g.cs | 141 + ...dels.AppAssetLibraryPlacementResponse.g.cs | 64 + ...esponseIncludedItemDiscriminator.Json.g.cs | 141 + ...mentResponseIncludedItemDiscriminator.g.cs | 45 + ...ResponseIncludedItemDiscriminatorType.g.cs | 75 + ....Models.AppAssetLibraryPlacementState.g.cs | 81 + ...t.Models.AppAssetLibraryPlacementType.g.cs | 45 + ....Models.AppAssetLibraryPlacementType2.g.cs | 99 + ...tLibraryPlacementVideoAttributes.Json.g.cs | 141 + ...pAssetLibraryPlacementVideoAttributes.g.cs | 272 + ...PlacementVideoAttributesVariant2.Json.g.cs | 141 + ...braryPlacementVideoAttributesVariant2.g.cs | 19 + ...braryPlacementVideoRelationships.Json.g.cs | 141 + ...setLibraryPlacementVideoRelationships.g.cs | 295 + ...cementVideoRelationshipsVariant2.Json.g.cs | 141 + ...ryPlacementVideoRelationshipsVariant2.g.cs | 44 + ...tVideoRelationshipsVariant2Video.Json.g.cs | 141 + ...cementVideoRelationshipsVariant2Video.g.cs | 44 + ...eoRelationshipsVariant2VideoData.Json.g.cs | 141 + ...ntVideoRelationshipsVariant2VideoData.g.cs | 55 + ...deoRelationshipsVariant2VideoDataType.g.cs | 45 + ...GetInstanceFieldsAppAssetLibraryImage.g.cs | 111 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 117 + ...GetInstanceFieldsAppAssetLibraryVideo.g.cs | 123 + ...ieldsAppCustomProductPageLocalization.g.cs | 81 + ...GetInstanceFieldsAppEventLocalization.g.cs | 87 + ...ersionExperimentTreatmentLocalization.g.cs | 69 + ...anceFieldsAppStoreVersionLocalization.g.cs | 111 + ...braryPlacementsGetInstanceIncludeItem.g.cs | 75 + ...ppAssetLibraryPlacementsResponse.Json.g.cs | 141 + ...els.AppAssetLibraryPlacementsResponse.g.cs | 73 + ...esponseIncludedItemDiscriminator.Json.g.cs | 141 + ...entsResponseIncludedItemDiscriminator.g.cs | 45 + ...ResponseIncludedItemDiscriminatorType.g.cs | 75 + ...ctionFieldsAppAssetLibraryRefDataItem.g.cs | 75 + ...tanceFieldsAppAssetLibraryRefDataItem.g.cs | 75 + ...s.AppAssetLibraryRefDataResponse.Json.g.cs | 141 + ...Models.AppAssetLibraryRefDataResponse.g.cs | 64 + ...t.Models.AppAssetLibraryRefDatum.Json.g.cs | 141 + ...onnect.Models.AppAssetLibraryRefDatum.g.cs | 73 + ...ppAssetLibraryRefDatumAttributes.Json.g.cs | 141 + ...els.AppAssetLibraryRefDatumAttributes.g.cs | 89 + ...yRefDatumAttributesDisplayClasse.Json.g.cs | 141 + ...ibraryRefDatumAttributesDisplayClasse.g.cs | 64 + ...LibraryRefDatumAttributesFeature.Json.g.cs | 141 + ...AssetLibraryRefDatumAttributesFeature.g.cs | 54 + ...ttributesFeaturePlacementPolicie.Json.g.cs | 141 + ...atumAttributesFeaturePlacementPolicie.g.cs | 54 + ...eaturePlacementPolicieGroupLimit.Json.g.cs | 141 + ...utesFeaturePlacementPolicieGroupLimit.g.cs | 53 + ...braryRefDatumAttributesImageSpec.Json.g.cs | 141 + ...setLibraryRefDatumAttributesImageSpec.g.cs | 125 + ...tumAttributesImageSpecDimensions.Json.g.cs | 141 + ...RefDatumAttributesImageSpecDimensions.g.cs | 71 + ...mAttributesPlacementProfileGroup.Json.g.cs | 141 + ...fDatumAttributesPlacementProfileGroup.g.cs | 64 + ...yRefDatumAttributesPlacementType.Json.g.cs | 141 + ...ibraryRefDatumAttributesPlacementType.g.cs | 63 + ...tributesPlacementTypeSpecMapping.Json.g.cs | 141 + ...tumAttributesPlacementTypeSpecMapping.g.cs | 53 + ...braryRefDatumAttributesVideoSpec.Json.g.cs | 141 + ...setLibraryRefDatumAttributesVideoSpec.g.cs | 143 + ...tumAttributesVideoSpecDimensions.Json.g.cs | 141 + ...RefDatumAttributesVideoSpecDimensions.g.cs | 71 + ...DatumAttributesVideoSpecDuration.Json.g.cs | 141 + ...ryRefDatumAttributesVideoSpecDuration.g.cs | 53 + ...atumAttributesVideoSpecFrameRate.Json.g.cs | 141 + ...yRefDatumAttributesVideoSpecFrameRate.g.cs | 53 + ....AppAssetLibraryRefDatumResponse.Json.g.cs | 141 + ...odels.AppAssetLibraryRefDatumResponse.g.cs | 55 + ...ct.Models.AppAssetLibraryRefDatumType.g.cs | 45 + ...els.AppAssetLibraryRelationships.Json.g.cs | 141 + ...t.Models.AppAssetLibraryRelationships.g.cs | 53 + ...pAssetLibraryRelationshipsImages.Json.g.cs | 141 + ...ls.AppAssetLibraryRelationshipsImages.g.cs | 44 + ...pAssetLibraryRelationshipsVideos.Json.g.cs | 141 + ...ls.AppAssetLibraryRelationshipsVideos.g.cs | 44 + ...t.Models.AppAssetLibraryResponse.Json.g.cs | 141 + ...onnect.Models.AppAssetLibraryResponse.g.cs | 55 + ...oreConnect.Models.AppAssetLibraryType.g.cs | 45 + ...nect.Models.AppAssetLibraryVideo.Json.g.cs | 141 + ...reConnect.Models.AppAssetLibraryVideo.g.cs | 83 + ...etLibraryVideoAcceptedAttributes.Json.g.cs | 141 + ...ppAssetLibraryVideoAcceptedAttributes.g.cs | 272 + ...yVideoAcceptedAttributesVariant2.Json.g.cs | 141 + ...ibraryVideoAcceptedAttributesVariant2.g.cs | 19 + ...etLibraryVideoApprovedAttributes.Json.g.cs | 141 + ...ppAssetLibraryVideoApprovedAttributes.g.cs | 272 + ...yVideoApprovedAttributesVariant2.Json.g.cs | 141 + ...ibraryVideoApprovedAttributesVariant2.g.cs | 19 + ...etLibraryVideoArchivedAttributes.Json.g.cs | 141 + ...ppAssetLibraryVideoArchivedAttributes.g.cs | 272 + ...yVideoArchivedAttributesVariant2.Json.g.cs | 141 + ...ibraryVideoArchivedAttributesVariant2.g.cs | 19 + ...raryVideoAttributesDiscriminator.Json.g.cs | 141 + ...etLibraryVideoAttributesDiscriminator.g.cs | 45 + ...raryVideoAttributesDiscriminatorState.g.cs | 111 + ...aryVideoAwaitingUploadAttributes.Json.g.cs | 141 + ...tLibraryVideoAwaitingUploadAttributes.g.cs | 295 + ...AwaitingUploadAttributesVariant2.Json.g.cs | 141 + ...VideoAwaitingUploadAttributesVariant2.g.cs | 44 + ...ssetLibraryVideoCommonAttributes.Json.g.cs | 141 + ....AppAssetLibraryVideoCommonAttributes.g.cs | 146 + ...ppAssetLibraryVideoCreateRequest.Json.g.cs | 141 + ...els.AppAssetLibraryVideoCreateRequest.g.cs | 45 + ...setLibraryVideoCreateRequestData.Json.g.cs | 141 + ...AppAssetLibraryVideoCreateRequestData.g.cs | 65 + ...VideoCreateRequestDataAttributes.Json.g.cs | 141 + ...braryVideoCreateRequestDataAttributes.g.cs | 84 + ...eoCreateRequestDataRelationships.Json.g.cs | 141 + ...ryVideoCreateRequestDataRelationships.g.cs | 54 + ...estDataRelationshipsAssetLibrary.Json.g.cs | 141 + ...eRequestDataRelationshipsAssetLibrary.g.cs | 45 + ...ataRelationshipsAssetLibraryData.Json.g.cs | 141 + ...uestDataRelationshipsAssetLibraryData.g.cs | 55 + ...DataRelationshipsAssetLibraryDataType.g.cs | 45 + ...questDataRelationshipsPlacements.Json.g.cs | 141 + ...ateRequestDataRelationshipsPlacements.g.cs | 44 + ...aRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...stDataRelationshipsPlacementsDataItem.g.cs | 55 + ...taRelationshipsPlacementsDataItemType.g.cs | 45 + ...ssetLibraryVideoCreateRequestDataType.g.cs | 45 + ...ssetLibraryVideoFailedAttributes.Json.g.cs | 141 + ....AppAssetLibraryVideoFailedAttributes.g.cs | 295 + ...aryVideoFailedAttributesVariant2.Json.g.cs | 141 + ...tLibraryVideoFailedAttributesVariant2.g.cs | 44 + ...etLibraryVideoInReviewAttributes.Json.g.cs | 141 + ...ppAssetLibraryVideoInReviewAttributes.g.cs | 272 + ...yVideoInReviewAttributesVariant2.Json.g.cs | 141 + ...ibraryVideoInReviewAttributesVariant2.g.cs | 19 + ...yVideoPlacementsLinkagesResponse.Json.g.cs | 141 + ...ibraryVideoPlacementsLinkagesResponse.g.cs | 64 + ...acementsLinkagesResponseDataItem.Json.g.cs | 141 + ...deoPlacementsLinkagesResponseDataItem.g.cs | 55 + ...lacementsLinkagesResponseDataItemType.g.cs | 45 + ...aryVideoReadyForReviewAttributes.Json.g.cs | 141 + ...tLibraryVideoReadyForReviewAttributes.g.cs | 272 + ...ReadyForReviewAttributesVariant2.Json.g.cs | 141 + ...VideoReadyForReviewAttributesVariant2.g.cs | 19 + ...etLibraryVideoRejectedAttributes.Json.g.cs | 141 + ...ppAssetLibraryVideoRejectedAttributes.g.cs | 272 + ...yVideoRejectedAttributesVariant2.Json.g.cs | 141 + ...ibraryVideoRejectedAttributesVariant2.g.cs | 19 + ...ppAssetLibraryVideoRelationships.Json.g.cs | 141 + ...els.AppAssetLibraryVideoRelationships.g.cs | 44 + ...raryVideoRelationshipsPlacements.Json.g.cs | 141 + ...etLibraryVideoRelationshipsPlacements.g.cs | 62 + ...oRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...yVideoRelationshipsPlacementsDataItem.g.cs | 55 + ...eoRelationshipsPlacementsDataItemType.g.cs | 45 + ...els.AppAssetLibraryVideoResponse.Json.g.cs | 141 + ...t.Models.AppAssetLibraryVideoResponse.g.cs | 64 + ...nnect.Models.AppAssetLibraryVideoType.g.cs | 45 + ...ppAssetLibraryVideoUpdateRequest.Json.g.cs | 141 + ...els.AppAssetLibraryVideoUpdateRequest.g.cs | 45 + ...setLibraryVideoUpdateRequestData.Json.g.cs | 141 + ...AppAssetLibraryVideoUpdateRequestData.g.cs | 64 + ...VideoUpdateRequestDataAttributes.Json.g.cs | 141 + ...braryVideoUpdateRequestDataAttributes.g.cs | 71 + ...ssetLibraryVideoUpdateRequestDataType.g.cs | 45 + ...aryVideoUploadCompleteAttributes.Json.g.cs | 141 + ...tLibraryVideoUploadCompleteAttributes.g.cs | 295 + ...UploadCompleteAttributesVariant2.Json.g.cs | 141 + ...VideoUploadCompleteAttributesVariant2.g.cs | 44 + ...yVideoWaitingForReviewAttributes.Json.g.cs | 141 + ...ibraryVideoWaitingForReviewAttributes.g.cs | 272 + ...itingForReviewAttributesVariant2.Json.g.cs | 141 + ...deoWaitingForReviewAttributesVariant2.g.cs | 19 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 117 + ...GetInstanceFieldsAppAssetLibraryVideo.g.cs | 123 + ...etLibraryVideosGetInstanceIncludeItem.g.cs | 45 + ...setLibraryVideosLinkagesResponse.Json.g.cs | 141 + ...AppAssetLibraryVideosLinkagesResponse.g.cs | 64 + ...ryVideosLinkagesResponseDataItem.Json.g.cs | 141 + ...LibraryVideosLinkagesResponseDataItem.g.cs | 55 + ...aryVideosLinkagesResponseDataItemType.g.cs | 45 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 111 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 123 + ...ieldsAppCustomProductPageLocalization.g.cs | 81 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 87 + ...ersionExperimentTreatmentLocalization.g.cs | 69 + ...atedFieldsAppStoreVersionLocalization.g.cs | 111 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 99 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 81 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 75 + ...eosPlacementsGetToManyRelatedSortItem.g.cs | 75 + ...ls.AppAssetLibraryVideosResponse.Json.g.cs | 141 + ....Models.AppAssetLibraryVideosResponse.g.cs | 73 + ...els.AppClipAdvancedExperienceResponse.g.cs | 4 +- ...ls.AppClipAdvancedExperiencesResponse.g.cs | 4 +- ...DefaultExperienceLocalizationResponse.g.cs | 4 +- ...efaultExperienceLocalizationsResponse.g.cs | 4 +- ...dels.AppClipDefaultExperienceResponse.g.cs | 4 +- ...pStoreVersionGetToOneRelatedFieldsApp.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...els.AppClipDefaultExperiencesResponse.g.cs | 4 +- ...ppStoreConnect.Models.AppClipResponse.g.cs | 4 +- ...t.Models.AppClipsGetInstanceFieldsApp.g.cs | 6 + ...pStoreConnect.Models.AppClipsResponse.g.cs | 4 +- ...izationCreateRequestDataRelationships.g.cs | 11 +- ...questDataRelationshipsPlacements.Json.g.cs | 141 + ...ateRequestDataRelationshipsPlacements.g.cs | 44 + ...aRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...stDataRelationshipsPlacementsDataItem.g.cs | 55 + ...taRelationshipsPlacementsDataItemType.g.cs | 45 + ...LocalizationInlineCreateRelationships.g.cs | 11 +- ...ineCreateRelationshipsPlacements.Json.g.cs | 141 + ...onInlineCreateRelationshipsPlacements.g.cs | 44 + ...eRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...CreateRelationshipsPlacementsDataItem.g.cs | 55 + ...teRelationshipsPlacementsDataItemType.g.cs | 45 + ...zationPlacementsLinkagesResponse.Json.g.cs | 141 + ...ocalizationPlacementsLinkagesResponse.g.cs | 64 + ...acementsLinkagesResponseDataItem.Json.g.cs | 141 + ...ionPlacementsLinkagesResponseDataItem.g.cs | 55 + ...lacementsLinkagesResponseDataItemType.g.cs | 45 + ...mProductPageLocalizationRelationships.g.cs | 11 +- ...alizationRelationshipsPlacements.Json.g.cs | 141 + ...geLocalizationRelationshipsPlacements.g.cs | 62 + ...nRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...zationRelationshipsPlacementsDataItem.g.cs | 55 + ...onRelationshipsPlacementsDataItemType.g.cs | 45 + ...CustomProductPageLocalizationResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 6 + ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...geLocalizationsGetInstanceIncludeItem.g.cs | 6 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 111 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 123 + ...ieldsAppCustomProductPageLocalization.g.cs | 81 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 87 + ...ersionExperimentTreatmentLocalization.g.cs | 69 + ...atedFieldsAppStoreVersionLocalization.g.cs | 111 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 99 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 81 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 75 + ...onsPlacementsGetToManyRelatedSortItem.g.cs | 75 + ...ustomProductPageLocalizationsResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 6 + ...t.Models.AppCustomProductPageResponse.g.cs | 4 +- ...s.AppCustomProductPageVersionResponse.g.cs | 4 +- ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...alizationsGetToManyRelatedIncludeItem.g.cs | 6 + ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ....AppCustomProductPageVersionsResponse.g.cs | 4 +- ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...ustomProductPagesGetInstanceFieldsApp.g.cs | 6 + ....Models.AppCustomProductPagesResponse.g.cs | 4 +- ...dels.AppEncryptionDeclarationResponse.g.cs | 4 +- ...clarationsAppGetToOneRelatedFieldsApp.g.cs | 6 + ...ionDeclarationsGetCollectionFieldsApp.g.cs | 6 + ...ptionDeclarationsGetInstanceFieldsApp.g.cs | 6 + ...els.AppEncryptionDeclarationsResponse.g.cs | 4 +- ...izationCreateRequestDataRelationships.g.cs | 11 +- ...questDataRelationshipsPlacements.Json.g.cs | 141 + ...ateRequestDataRelationshipsPlacements.g.cs | 44 + ...aRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...stDataRelationshipsPlacementsDataItem.g.cs | 55 + ...taRelationshipsPlacementsDataItemType.g.cs | 45 + ...zationPlacementsLinkagesResponse.Json.g.cs | 141 + ...ocalizationPlacementsLinkagesResponse.g.cs | 64 + ...acementsLinkagesResponseDataItem.Json.g.cs | 141 + ...ionPlacementsLinkagesResponseDataItem.g.cs | 55 + ...lacementsLinkagesResponseDataItemType.g.cs | 45 + ...els.AppEventLocalizationRelationships.g.cs | 11 +- ...alizationRelationshipsPlacements.Json.g.cs | 141 + ...ntLocalizationRelationshipsPlacements.g.cs | 62 + ...nRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...zationRelationshipsPlacementsDataItem.g.cs | 55 + ...onRelationshipsPlacementsDataItemType.g.cs | 45 + ...t.Models.AppEventLocalizationResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 6 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 6 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 6 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 117 + ...GetInstanceFieldsAppEventLocalization.g.cs | 6 + ...ntLocalizationsGetInstanceIncludeItem.g.cs | 6 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 111 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 123 + ...ieldsAppCustomProductPageLocalization.g.cs | 81 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 87 + ...ersionExperimentTreatmentLocalization.g.cs | 69 + ...atedFieldsAppStoreVersionLocalization.g.cs | 111 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 99 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 81 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 75 + ...onsPlacementsGetToManyRelatedSortItem.g.cs | 75 + ....Models.AppEventLocalizationsResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 6 + ...GetInstanceFieldsAppEventLocalization.g.cs | 6 + ...GetInstanceFieldsAppEventLocalization.g.cs | 6 + ...GetInstanceFieldsAppEventLocalization.g.cs | 6 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 6 + ...alizationsGetToManyRelatedIncludeItem.g.cs | 6 + ...ppStoreConnect.Models.AppInfoResponse.g.cs | 4 +- ...t.Models.AppInfosGetInstanceFieldsApp.g.cs | 6 + ...pStoreConnect.Models.AppInfosResponse.g.cs | 4 +- ...eConnect.Models.AppPreviewSetResponse.g.cs | 4 +- ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...anceFieldsAppStoreVersionLocalization.g.cs | 6 + ...Connect.Models.AppPreviewSetsResponse.g.cs | 4 +- ...onnect.Models.AppPricePointV3Response.g.cs | 4 +- ...qualizationsGetToManyRelatedFieldsApp.g.cs | 6 + ....AppPricePointsV3GetInstanceFieldsApp.g.cs | 6 + ...nnect.Models.AppPricePointsV3Response.g.cs | 4 +- ...nnect.Models.AppPriceScheduleResponse.g.cs | 4 +- ...AppPriceSchedulesGetInstanceFieldsApp.g.cs | 6 + ...oreConnect.Models.AppPricesV2Response.g.cs | 4 +- ...pStoreConnect.Models.AppRelationships.g.cs | 9 + ...els.AppRelationshipsAssetLibrary.Json.g.cs | 141 + ...t.Models.AppRelationshipsAssetLibrary.g.cs | 44 + .../AppStoreConnect.Models.AppResponse.g.cs | 4 +- ...nnect.Models.AppScreenshotSetResponse.g.cs | 4 +- ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...anceFieldsAppStoreVersionLocalization.g.cs | 6 + ...nect.Models.AppScreenshotSetsResponse.g.cs | 4 +- ...t.Models.AppStoreReviewDetailResponse.g.cs | 4 +- ...els.AppStoreVersionExperimentResponse.g.cs | 4 +- ...izationCreateRequestDataRelationships.g.cs | 11 +- ...questDataRelationshipsPlacements.Json.g.cs | 141 + ...ateRequestDataRelationshipsPlacements.g.cs | 44 + ...aRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...stDataRelationshipsPlacementsDataItem.g.cs | 55 + ...taRelationshipsPlacementsDataItemType.g.cs | 45 + ...zationPlacementsLinkagesResponse.Json.g.cs | 141 + ...ocalizationPlacementsLinkagesResponse.g.cs | 64 + ...acementsLinkagesResponseDataItem.Json.g.cs | 141 + ...ionPlacementsLinkagesResponseDataItem.g.cs | 55 + ...lacementsLinkagesResponseDataItemType.g.cs | 45 + ...entTreatmentLocalizationRelationships.g.cs | 11 +- ...alizationRelationshipsPlacements.Json.g.cs | 141 + ...ntLocalizationRelationshipsPlacements.g.cs | 62 + ...nRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...zationRelationshipsPlacementsDataItem.g.cs | 55 + ...onRelationshipsPlacementsDataItemType.g.cs | 45 + ...perimentTreatmentLocalizationResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 6 + ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...ntLocalizationsGetInstanceIncludeItem.g.cs | 6 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 111 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 123 + ...ieldsAppCustomProductPageLocalization.g.cs | 81 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 87 + ...ersionExperimentTreatmentLocalization.g.cs | 69 + ...atedFieldsAppStoreVersionLocalization.g.cs | 111 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 99 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 81 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 75 + ...onsPlacementsGetToManyRelatedSortItem.g.cs | 75 + ...erimentTreatmentLocalizationsResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 6 + ...oreVersionExperimentTreatmentResponse.g.cs | 4 +- ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...alizationsGetToManyRelatedIncludeItem.g.cs | 6 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...reVersionExperimentTreatmentsResponse.g.cs | 4 +- ...s.AppStoreVersionExperimentV2Response.g.cs | 4 +- ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...ls.AppStoreVersionExperimentsResponse.g.cs | 4 +- ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...sionExperimentsV2GetInstanceFieldsApp.g.cs | 6 + ....AppStoreVersionExperimentsV2Response.g.cs | 4 +- ...izationCreateRequestDataRelationships.g.cs | 11 +- ...questDataRelationshipsPlacements.Json.g.cs | 141 + ...ateRequestDataRelationshipsPlacements.g.cs | 44 + ...aRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...stDataRelationshipsPlacementsDataItem.g.cs | 55 + ...taRelationshipsPlacementsDataItemType.g.cs | 45 + ...zationPlacementsLinkagesResponse.Json.g.cs | 141 + ...ocalizationPlacementsLinkagesResponse.g.cs | 64 + ...acementsLinkagesResponseDataItem.Json.g.cs | 141 + ...ionPlacementsLinkagesResponseDataItem.g.cs | 55 + ...lacementsLinkagesResponseDataItemType.g.cs | 45 + ...StoreVersionLocalizationRelationships.g.cs | 11 +- ...alizationRelationshipsPlacements.Json.g.cs | 141 + ...onLocalizationRelationshipsPlacements.g.cs | 62 + ...nRelationshipsPlacementsDataItem.Json.g.cs | 141 + ...zationRelationshipsPlacementsDataItem.g.cs | 55 + ...onRelationshipsPlacementsDataItemType.g.cs | 45 + ...s.AppStoreVersionLocalizationResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 6 + ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...ieldsAppCustomProductPageLocalization.g.cs | 6 + ...ersionExperimentTreatmentLocalization.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...nstanceFieldsAppAssetLibraryPlacement.g.cs | 117 + ...anceFieldsAppStoreVersionLocalization.g.cs | 6 + ...onLocalizationsGetInstanceIncludeItem.g.cs | 6 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 111 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 123 + ...ieldsAppCustomProductPageLocalization.g.cs | 81 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 87 + ...ersionExperimentTreatmentLocalization.g.cs | 69 + ...atedFieldsAppStoreVersionLocalization.g.cs | 111 + ...tToManyRelatedFilterPlacementTypeItem.g.cs | 99 + ...ementsGetToManyRelatedFilterStateItem.g.cs | 81 + ...PlacementsGetToManyRelatedIncludeItem.g.cs | 75 + ...onsPlacementsGetToManyRelatedSortItem.g.cs | 75 + ....AppStoreVersionLocalizationsResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 6 + ...onnect.Models.AppStoreVersionResponse.g.cs | 4 +- ...xperimentsV2GetToManyRelatedFieldsApp.g.cs | 6 + ...RelatedFieldsAppAssetLibraryPlacement.g.cs | 117 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...alizationsGetToManyRelatedIncludeItem.g.cs | 6 + ....AppStoreVersionsGetInstanceFieldsApp.g.cs | 6 + ...anceFieldsAppStoreVersionLocalization.g.cs | 6 + ...nnect.Models.AppStoreVersionsResponse.g.cs | 4 +- ...AppsAppClipsGetToManyRelatedFieldsApp.g.cs | 6 + ...ProductPagesGetToManyRelatedFieldsApp.g.cs | 6 + ...DeclarationsGetToManyRelatedFieldsApp.g.cs | 6 + ...ManyRelatedFieldsAppEventLocalization.g.cs | 6 + ...AppsAppInfosGetToManyRelatedFieldsApp.g.cs | 6 + ...pPricePointsGetToManyRelatedFieldsApp.g.cs | 6 + ...PriceScheduleGetToOneRelatedFieldsApp.g.cs | 6 + ...xperimentsV2GetToManyRelatedFieldsApp.g.cs | 6 + ...toreVersionsGetToManyRelatedFieldsApp.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...GetToOneRelatedFieldsAppAssetLibrarie.g.cs | 51 + ...groundAssetsGetToManyRelatedFieldsApp.g.cs | 6 + ...AppsCiProductGetToOneRelatedFieldsApp.g.cs | 6 + ...eCenterDetailGetToOneRelatedFieldsApp.g.cs | 6 + ...bledVersionsGetToManyRelatedFieldsApp.g.cs | 6 + ...ect.Models.AppsGetCollectionFieldsApp.g.cs | 6 + ...nnect.Models.AppsGetInstanceFieldsApp.g.cs | 6 + ...AppPurchasesGetToManyRelatedFieldsApp.g.cs | 6 + .../AppStoreConnect.Models.AppsResponse.g.cs | 4 +- ...wSubmissionsGetToManyRelatedFieldsApp.g.cs | 6 + ...ManyRelatedFieldsReviewSubmissionItem.g.cs | 12 + ...AppsWebhooksGetToManyRelatedFieldsApp.g.cs | 6 + ...ppStoreConnect.Models.Attributes.Json.g.cs | 141 + .../AppStoreConnect.Models.Attributes.g.cs | 1110 + ...pStoreConnect.Models.Attributes2.Json.g.cs | 141 + .../AppStoreConnect.Models.Attributes2.g.cs | 1110 + ...onnect.Models.BackgroundAssetResponse.g.cs | 4 +- ...Models.BackgroundAssetVersionResponse.g.cs | 4 +- ...odels.BackgroundAssetVersionsResponse.g.cs | 4 +- ....BackgroundAssetsGetInstanceFieldsApp.g.cs | 6 + ...nnect.Models.BackgroundAssetsResponse.g.cs | 4 +- ...alizationsAppGetToOneRelatedFieldsApp.g.cs | 6 + ...ppLocalizationsGetCollectionFieldsApp.g.cs | 6 + ...aAppLocalizationsGetInstanceFieldsApp.g.cs | 6 + ...iewDetailsAppGetToOneRelatedFieldsApp.g.cs | 6 + ...ppReviewDetailsGetCollectionFieldsApp.g.cs | 6 + ...aAppReviewDetailsGetInstanceFieldsApp.g.cs | 6 + ...s.BetaFeedbackCrashSubmissionResponse.g.cs | 4 +- ....BetaFeedbackCrashSubmissionsResponse.g.cs | 4 +- ...aFeedbackScreenshotSubmissionResponse.g.cs | 4 +- ...FeedbackScreenshotSubmissionsResponse.g.cs | 4 +- ...StoreConnect.Models.BetaGroupResponse.g.cs | 4 +- ...BetaGroupsAppGetToOneRelatedFieldsApp.g.cs | 6 + ...dels.BetaGroupsGetCollectionFieldsApp.g.cs | 6 + ...Models.BetaGroupsGetInstanceFieldsApp.g.cs | 6 + ...toreConnect.Models.BetaGroupsResponse.g.cs | 4 +- ...AgreementsAppGetToOneRelatedFieldsApp.g.cs | 6 + ...censeAgreementsGetCollectionFieldsApp.g.cs | 6 + ...LicenseAgreementsGetInstanceFieldsApp.g.cs | 6 + ...toreConnect.Models.BetaTesterResponse.g.cs | 4 +- ...aTestersAppsGetToManyRelatedFieldsApp.g.cs | 6 + ...els.BetaTestersGetCollectionFieldsApp.g.cs | 6 + ...odels.BetaTestersGetInstanceFieldsApp.g.cs | 6 + ...oreConnect.Models.BetaTestersResponse.g.cs | 4 +- ...aDetailsBuildGetToOneRelatedFieldsApp.g.cs | 6 + .../AppStoreConnect.Models.BuildResponse.g.cs | 4 +- ...oreConnect.Models.BuildUploadResponse.g.cs | 4 +- ...reConnect.Models.BuildUploadsResponse.g.cs | 4 +- ...els.BuildsAppGetToOneRelatedFieldsApp.g.cs | 6 + ...pStoreVersionGetToOneRelatedFieldsApp.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ...t.Models.BuildsGetCollectionFieldsApp.g.cs | 6 + ...ect.Models.BuildsGetInstanceFieldsApp.g.cs | 6 + ...AppStoreConnect.Models.BuildsResponse.g.cs | 4 +- ...pStoreConnect.Models.BundleIdResponse.g.cs | 4 +- ....BundleIdsAppGetToOneRelatedFieldsApp.g.cs | 6 + ...odels.BundleIdsGetCollectionFieldsApp.g.cs | 6 + ....Models.BundleIdsGetInstanceFieldsApp.g.cs | 6 + ...StoreConnect.Models.BundleIdsResponse.g.cs | 4 +- ...toreConnect.Models.CiBuildRunResponse.g.cs | 4 +- ...ldRunsBuildsGetToManyRelatedFieldsApp.g.cs | 6 + ...oreConnect.Models.CiBuildRunsResponse.g.cs | 4 +- ...StoreConnect.Models.CiProductResponse.g.cs | 4 +- ...CiProductsAppGetToOneRelatedFieldsApp.g.cs | 6 + ...dels.CiProductsGetCollectionFieldsApp.g.cs | 6 + ...Models.CiProductsGetInstanceFieldsApp.g.cs | 6 + ...toreConnect.Models.CiProductsResponse.g.cs | 4 +- ...toreConnect.Models.CiWorkflowResponse.g.cs | 4 +- ...oreConnect.Models.CiWorkflowsResponse.g.cs | 4 +- ...Connect.Models.CustomerReviewResponse.g.cs | 4 +- ...onnect.Models.CustomerReviewsResponse.g.cs | 4 +- ...odels.EndUserLicenseAgreementResponse.g.cs | 4 +- ...LicenseAgreementsGetInstanceFieldsApp.g.cs | 6 + ...CenterAchievementLocalizationResponse.g.cs | 4 +- ...nterAchievementLocalizationV2Response.g.cs | 4 +- ...enterAchievementLocalizationsResponse.g.cs | 4 +- ...terAchievementLocalizationsV2Response.g.cs | 4 +- ....GameCenterAchievementReleaseResponse.g.cs | 4 +- ...GameCenterAchievementReleasesResponse.g.cs | 4 +- ....Models.GameCenterAchievementResponse.g.cs | 4 +- ...odels.GameCenterAchievementV2Response.g.cs | 4 +- ...ameCenterAchievementVersionV2Response.g.cs | 4 +- ...meCenterAchievementVersionsV2Response.g.cs | 4 +- ...Models.GameCenterAchievementsResponse.g.cs | 4 +- ...dels.GameCenterAchievementsV2Response.g.cs | 4 +- ...t.Models.GameCenterActivitiesResponse.g.cs | 4 +- ...ameCenterActivityLocalizationResponse.g.cs | 4 +- ...meCenterActivityLocalizationsResponse.g.cs | 4 +- ...ect.Models.GameCenterActivityResponse.g.cs | 4 +- ...els.GameCenterActivityVersionResponse.g.cs | 4 +- ...ls.GameCenterActivityVersionsResponse.g.cs | 4 +- ...t.Models.GameCenterAppVersionResponse.g.cs | 4 +- ...pStoreVersionGetToOneRelatedFieldsApp.g.cs | 6 + ...atedFieldsAppStoreVersionLocalization.g.cs | 6 + ....Models.GameCenterAppVersionsResponse.g.cs | 4 +- ...meCenterChallengeLocalizationResponse.g.cs | 4 +- ...eCenterChallengeLocalizationsResponse.g.cs | 4 +- ...ct.Models.GameCenterChallengeResponse.g.cs | 4 +- ...ls.GameCenterChallengeVersionResponse.g.cs | 4 +- ...s.GameCenterChallengeVersionsResponse.g.cs | 4 +- ...t.Models.GameCenterChallengesResponse.g.cs | 4 +- ...nnect.Models.GameCenterDetailResponse.g.cs | 4 +- ...GameCenterDetailsGetInstanceFieldsApp.g.cs | 6 + ...nect.Models.GameCenterDetailsResponse.g.cs | 4 +- ...ibleVersionsGetToManyRelatedFieldsApp.g.cs | 6 + ...els.GameCenterEnabledVersionsResponse.g.cs | 4 +- ...onnect.Models.GameCenterGroupResponse.g.cs | 4 +- ...enterDetailsGetToManyRelatedFieldsApp.g.cs | 6 + ...nnect.Models.GameCenterGroupsResponse.g.cs | 4 +- ...CenterLeaderboardLocalizationResponse.g.cs | 4 +- ...nterLeaderboardLocalizationV2Response.g.cs | 4 +- ...enterLeaderboardLocalizationsResponse.g.cs | 4 +- ...terLeaderboardLocalizationsV2Response.g.cs | 4 +- ....GameCenterLeaderboardReleaseResponse.g.cs | 4 +- ...GameCenterLeaderboardReleasesResponse.g.cs | 4 +- ....Models.GameCenterLeaderboardResponse.g.cs | 4 +- ...terLeaderboardSetLocalizationResponse.g.cs | 4 +- ...rLeaderboardSetLocalizationV2Response.g.cs | 4 +- ...erLeaderboardSetLocalizationsResponse.g.cs | 4 +- ...LeaderboardSetLocalizationsV2Response.g.cs | 4 +- ...derboardSetMemberLocalizationResponse.g.cs | 4 +- ...erboardSetMemberLocalizationsResponse.g.cs | 4 +- ...meCenterLeaderboardSetReleaseResponse.g.cs | 4 +- ...eCenterLeaderboardSetReleasesResponse.g.cs | 4 +- ...dels.GameCenterLeaderboardSetResponse.g.cs | 4 +- ...ls.GameCenterLeaderboardSetV2Response.g.cs | 4 +- ...CenterLeaderboardSetVersionV2Response.g.cs | 4 +- ...enterLeaderboardSetVersionsV2Response.g.cs | 4 +- ...els.GameCenterLeaderboardSetsResponse.g.cs | 4 +- ...s.GameCenterLeaderboardSetsV2Response.g.cs | 4 +- ...odels.GameCenterLeaderboardV2Response.g.cs | 4 +- ...ameCenterLeaderboardVersionV2Response.g.cs | 4 +- ...meCenterLeaderboardVersionsV2Response.g.cs | 4 +- ...Models.GameCenterLeaderboardsResponse.g.cs | 4 +- ...dels.GameCenterLeaderboardsV2Response.g.cs | 4 +- ....GameCenterMatchmakingRuleSetResponse.g.cs | 4 +- ...eCenterMatchmakingRuleSetTestResponse.g.cs | 4 +- ...GameCenterMatchmakingRuleSetsResponse.g.cs | 4 +- ...Models.InAppPurchaseOfferCodeResponse.g.cs | 4 +- ...odels.InAppPurchaseOfferCodesResponse.g.cs | 4 +- ...dels.InAppPurchaseOfferPricesResponse.g.cs | 4 +- ...ls.InAppPurchasePriceScheduleResponse.g.cs | 4 +- ...ct.Models.InAppPurchasePricesResponse.g.cs | 4 +- ...onnect.Models.InAppPurchaseV2Response.g.cs | 4 +- ...t.Models.InAppPurchaseVersionResponse.g.cs | 4 +- ....Models.InAppPurchaseVersionsResponse.g.cs | 4 +- ...ls.InAppPurchasesGetInstanceFieldsApp.g.cs | 6 + ...nnect.Models.InAppPurchasesV2Response.g.cs | 4 +- ...AppStoreConnect.Models.IncludedItem10.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem100.g.cs | 254 +- ...ppStoreConnect.Models.IncludedItem101.g.cs | 1038 +- ...ppStoreConnect.Models.IncludedItem102.g.cs | 1038 +- ...ppStoreConnect.Models.IncludedItem103.g.cs | 1142 +- ...ppStoreConnect.Models.IncludedItem104.g.cs | 960 +- ...ppStoreConnect.Models.IncludedItem105.g.cs | 462 +- ...ppStoreConnect.Models.IncludedItem106.g.cs | 454 +- ...ppStoreConnect.Models.IncludedItem107.g.cs | 454 +- ...ppStoreConnect.Models.IncludedItem108.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem109.g.cs | 130 +- ...AppStoreConnect.Models.IncludedItem11.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem110.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem111.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem112.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem113.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem114.g.cs | 96 +- ...ppStoreConnect.Models.IncludedItem115.g.cs | 96 +- ...ppStoreConnect.Models.IncludedItem116.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem117.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem118.g.cs | 128 +- ...ppStoreConnect.Models.IncludedItem119.g.cs | 128 +- ...AppStoreConnect.Models.IncludedItem12.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem120.g.cs | 96 +- ...ppStoreConnect.Models.IncludedItem121.g.cs | 96 +- ...ppStoreConnect.Models.IncludedItem122.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem123.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem124.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem125.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem126.g.cs | 462 +- ...ppStoreConnect.Models.IncludedItem127.g.cs | 462 +- ...ppStoreConnect.Models.IncludedItem128.g.cs | 608 +- ...ppStoreConnect.Models.IncludedItem129.g.cs | 608 +- ...AppStoreConnect.Models.IncludedItem13.g.cs | 379 +- ...ppStoreConnect.Models.IncludedItem130.g.cs | 274 +- ...ppStoreConnect.Models.IncludedItem131.g.cs | 274 +- ...ppStoreConnect.Models.IncludedItem132.g.cs | 462 +- ...eConnect.Models.IncludedItem133.Json.g.cs} | 26 +- ...ppStoreConnect.Models.IncludedItem133.g.cs | 635 + ...ppStoreConnect.Models.IncludedItem134.g.cs | 213 +- ...ppStoreConnect.Models.IncludedItem135.g.cs | 386 - ...ppStoreConnect.Models.IncludedItem136.g.cs | 192 +- ...ppStoreConnect.Models.IncludedItem137.g.cs | 192 +- ...ppStoreConnect.Models.IncludedItem138.g.cs | 213 +- ...ppStoreConnect.Models.IncludedItem139.g.cs | 213 +- ...AppStoreConnect.Models.IncludedItem14.g.cs | 379 +- ...reConnect.Models.IncludedItem140.Json.g.cs | 141 + ...ppStoreConnect.Models.IncludedItem140.g.cs | 303 + ...ppStoreConnect.Models.IncludedItem141.g.cs | 68 +- ...ppStoreConnect.Models.IncludedItem142.g.cs | 386 - ...ppStoreConnect.Models.IncludedItem143.g.cs | 213 +- ...ppStoreConnect.Models.IncludedItem144.g.cs | 731 +- ...ppStoreConnect.Models.IncludedItem145.g.cs | 731 +- ...ppStoreConnect.Models.IncludedItem146.g.cs | 752 +- ...ppStoreConnect.Models.IncludedItem147.g.cs | 752 +- ...ppStoreConnect.Models.IncludedItem148.g.cs | 288 +- ...ppStoreConnect.Models.IncludedItem149.g.cs | 288 +- ...AppStoreConnect.Models.IncludedItem15.g.cs | 129 +- ...ppStoreConnect.Models.IncludedItem150.g.cs | 213 +- ...ppStoreConnect.Models.IncludedItem151.g.cs | 213 +- ...ppStoreConnect.Models.IncludedItem152.g.cs | 213 +- ...ppStoreConnect.Models.IncludedItem153.g.cs | 213 +- ...ppStoreConnect.Models.IncludedItem154.g.cs | 1043 +- ...ppStoreConnect.Models.IncludedItem155.g.cs | 1043 +- ...ppStoreConnect.Models.IncludedItem156.g.cs | 1197 +- ...ppStoreConnect.Models.IncludedItem157.g.cs | 1197 +- ...ppStoreConnect.Models.IncludedItem158.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem159.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem16.g.cs | 129 +- ...ppStoreConnect.Models.IncludedItem160.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem161.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem162.g.cs | 179 +- ...ppStoreConnect.Models.IncludedItem163.g.cs | 179 +- ...ppStoreConnect.Models.IncludedItem164.g.cs | 180 +- ...ppStoreConnect.Models.IncludedItem165.g.cs | 180 +- ...ppStoreConnect.Models.IncludedItem166.g.cs | 101 +- ...ppStoreConnect.Models.IncludedItem167.g.cs | 273 +- ...ppStoreConnect.Models.IncludedItem168.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem169.g.cs | 296 +- ...reConnect.Models.IncludedItem17.Json.g.cs} | 26 +- ...AppStoreConnect.Models.IncludedItem17.g.cs | 386 + ...ppStoreConnect.Models.IncludedItem170.g.cs | 296 +- ...ppStoreConnect.Models.IncludedItem171.g.cs | 4 +- ...ppStoreConnect.Models.IncludedItem172.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem173.g.cs | 130 +- ...ppStoreConnect.Models.IncludedItem174.g.cs | 163 +- ...ppStoreConnect.Models.IncludedItem175.g.cs | 163 +- ...ppStoreConnect.Models.IncludedItem176.g.cs | 1022 +- ...ppStoreConnect.Models.IncludedItem177.g.cs | 1022 +- ...reConnect.Models.IncludedItem178.Json.g.cs | 141 + ...ppStoreConnect.Models.IncludedItem178.g.cs | 1216 + ...ppStoreConnect.Models.IncludedItem179.g.cs | 1043 +- ...AppStoreConnect.Models.IncludedItem18.g.cs | 190 +- ...reConnect.Models.IncludedItem181.Json.g.cs | 141 + ...ppStoreConnect.Models.IncludedItem181.g.cs | 303 + ...AppStoreConnect.Models.IncludedItem19.g.cs | 386 - ...AppStoreConnect.Models.IncludedItem20.g.cs | 192 +- ...AppStoreConnect.Models.IncludedItem21.g.cs | 192 +- ...AppStoreConnect.Models.IncludedItem22.g.cs | 254 +- ...AppStoreConnect.Models.IncludedItem23.g.cs | 254 +- ...AppStoreConnect.Models.IncludedItem24.g.cs | 254 +- ...AppStoreConnect.Models.IncludedItem25.g.cs | 254 +- ...AppStoreConnect.Models.IncludedItem26.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem27.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem28.g.cs | 155 +- ...reConnect.Models.IncludedItem29.Json.g.cs} | 26 +- ...AppStoreConnect.Models.IncludedItem29.g.cs | 303 + .../AppStoreConnect.Models.IncludedItem3.g.cs | 441 +- ...AppStoreConnect.Models.IncludedItem30.g.cs | 163 +- ...AppStoreConnect.Models.IncludedItem31.g.cs | 469 - ...AppStoreConnect.Models.IncludedItem32.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem33.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem34.g.cs | 275 +- ...AppStoreConnect.Models.IncludedItem35.g.cs | 213 +- ...AppStoreConnect.Models.IncludedItem36.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem37.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem38.g.cs | 213 +- ...AppStoreConnect.Models.IncludedItem39.g.cs | 213 +- .../AppStoreConnect.Models.IncludedItem4.g.cs | 441 +- ...AppStoreConnect.Models.IncludedItem40.g.cs | 95 +- ...AppStoreConnect.Models.IncludedItem41.g.cs | 95 +- ...AppStoreConnect.Models.IncludedItem42.g.cs | 288 +- ...AppStoreConnect.Models.IncludedItem43.g.cs | 288 +- ...AppStoreConnect.Models.IncludedItem44.g.cs | 814 +- ...AppStoreConnect.Models.IncludedItem45.g.cs | 814 +- ...AppStoreConnect.Models.IncludedItem46.g.cs | 1799 +- ...AppStoreConnect.Models.IncludedItem47.g.cs | 1799 +- ...AppStoreConnect.Models.IncludedItem48.g.cs | 1893 +- ...AppStoreConnect.Models.IncludedItem49.g.cs | 1893 +- .../AppStoreConnect.Models.IncludedItem5.g.cs | 213 +- ...AppStoreConnect.Models.IncludedItem50.g.cs | 379 +- ...AppStoreConnect.Models.IncludedItem51.g.cs | 379 +- ...AppStoreConnect.Models.IncludedItem52.g.cs | 130 +- ...AppStoreConnect.Models.IncludedItem53.g.cs | 130 +- ...AppStoreConnect.Models.IncludedItem54.g.cs | 4 +- ...AppStoreConnect.Models.IncludedItem55.g.cs | 4 +- ...AppStoreConnect.Models.IncludedItem56.g.cs | 198 +- ...AppStoreConnect.Models.IncludedItem57.g.cs | 198 +- ...AppStoreConnect.Models.IncludedItem58.g.cs | 163 +- ...AppStoreConnect.Models.IncludedItem59.g.cs | 163 +- .../AppStoreConnect.Models.IncludedItem6.g.cs | 213 +- ...AppStoreConnect.Models.IncludedItem60.g.cs | 205 +- ...AppStoreConnect.Models.IncludedItem61.g.cs | 205 +- ...AppStoreConnect.Models.IncludedItem62.g.cs | 960 +- ...AppStoreConnect.Models.IncludedItem63.g.cs | 960 +- ...AppStoreConnect.Models.IncludedItem64.g.cs | 931 +- ...AppStoreConnect.Models.IncludedItem65.g.cs | 931 +- ...AppStoreConnect.Models.IncludedItem66.g.cs | 358 +- ...AppStoreConnect.Models.IncludedItem67.g.cs | 358 +- ...AppStoreConnect.Models.IncludedItem68.g.cs | 358 +- ...AppStoreConnect.Models.IncludedItem69.g.cs | 358 +- .../AppStoreConnect.Models.IncludedItem7.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem70.g.cs | 225 +- ...AppStoreConnect.Models.IncludedItem71.g.cs | 225 +- ...AppStoreConnect.Models.IncludedItem72.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem73.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem74.g.cs | 68 +- ...AppStoreConnect.Models.IncludedItem75.g.cs | 130 +- ...AppStoreConnect.Models.IncludedItem76.g.cs | 130 +- ...AppStoreConnect.Models.IncludedItem77.g.cs | 96 +- ...AppStoreConnect.Models.IncludedItem78.g.cs | 96 +- ...AppStoreConnect.Models.IncludedItem79.g.cs | 120 +- .../AppStoreConnect.Models.IncludedItem8.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem80.g.cs | 120 +- ...AppStoreConnect.Models.IncludedItem81.g.cs | 126 +- ...AppStoreConnect.Models.IncludedItem82.g.cs | 126 +- ...AppStoreConnect.Models.IncludedItem83.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem84.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem85.g.cs | 270 +- ...AppStoreConnect.Models.IncludedItem86.g.cs | 270 +- ...AppStoreConnect.Models.IncludedItem87.g.cs | 343 +- ...AppStoreConnect.Models.IncludedItem88.g.cs | 343 +- ...AppStoreConnect.Models.IncludedItem89.g.cs | 323 +- .../AppStoreConnect.Models.IncludedItem9.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem90.g.cs | 323 +- ...AppStoreConnect.Models.IncludedItem91.g.cs | 288 +- ...AppStoreConnect.Models.IncludedItem92.g.cs | 288 +- ...AppStoreConnect.Models.IncludedItem93.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem94.g.cs | 296 +- ...AppStoreConnect.Models.IncludedItem95.g.cs | 130 +- ...AppStoreConnect.Models.IncludedItem96.g.cs | 130 +- ...AppStoreConnect.Models.IncludedItem97.g.cs | 234 +- ...AppStoreConnect.Models.IncludedItem98.g.cs | 234 +- ...AppStoreConnect.Models.IncludedItem99.g.cs | 254 +- ...toreConnect.Models.NominationResponse.g.cs | 4 +- ...els.NominationsGetCollectionFieldsApp.g.cs | 6 + ...odels.NominationsGetInstanceFieldsApp.g.cs | 6 + ...oreConnect.Models.NominationsResponse.g.cs | 4 +- ...seVersionsAppGetToOneRelatedFieldsApp.g.cs | 6 + ...ReleaseVersionsGetCollectionFieldsApp.g.cs | 6 + ...reReleaseVersionsGetInstanceFieldsApp.g.cs | 6 + ...ect.Models.PreReleaseVersionsResponse.g.cs | 4 +- ...nect.Models.PrereleaseVersionResponse.g.cs | 4 +- ...ppStoreConnect.Models.ProfileResponse.g.cs | 4 +- ...pStoreConnect.Models.ProfilesResponse.g.cs | 4 +- ...nnect.Models.PromotedPurchaseResponse.g.cs | 4 +- ...nect.Models.PromotedPurchasesResponse.g.cs | 4 +- ...toreConnect.Models.Relationships.Json.g.cs | 141 + .../AppStoreConnect.Models.Relationships.g.cs | 303 + ...ionItemCreateRequestDataRelationships.g.cs | 18 + ...elationshipsAppAssetLibraryImage.Json.g.cs | 141 + ...DataRelationshipsAppAssetLibraryImage.g.cs | 44 + ...ionshipsAppAssetLibraryImageData.Json.g.cs | 141 + ...RelationshipsAppAssetLibraryImageData.g.cs | 55 + ...tionshipsAppAssetLibraryImageDataType.g.cs | 45 + ...elationshipsAppAssetLibraryVideo.Json.g.cs | 141 + ...DataRelationshipsAppAssetLibraryVideo.g.cs | 44 + ...ionshipsAppAssetLibraryVideoData.Json.g.cs | 141 + ...RelationshipsAppAssetLibraryVideoData.g.cs | 55 + ...tionshipsAppAssetLibraryVideoDataType.g.cs | 45 + ...els.ReviewSubmissionItemRelationships.g.cs | 18 + ...elationshipsAppAssetLibraryImage.Json.g.cs | 141 + ...ItemRelationshipsAppAssetLibraryImage.g.cs | 44 + ...ionshipsAppAssetLibraryImageData.Json.g.cs | 141 + ...RelationshipsAppAssetLibraryImageData.g.cs | 55 + ...tionshipsAppAssetLibraryImageDataType.g.cs | 45 + ...elationshipsAppAssetLibraryVideo.Json.g.cs | 141 + ...ItemRelationshipsAppAssetLibraryVideo.g.cs | 44 + ...ionshipsAppAssetLibraryVideoData.Json.g.cs | 141 + ...RelationshipsAppAssetLibraryVideoData.g.cs | 55 + ...tionshipsAppAssetLibraryVideoDataType.g.cs | 45 + ...t.Models.ReviewSubmissionItemResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 12 + ....Models.ReviewSubmissionItemsResponse.g.cs | 4 +- ...ResponseIncludedItemDiscriminatorType.g.cs | 12 + ...nnect.Models.ReviewSubmissionResponse.g.cs | 4 +- ...viewSubmissionsGetCollectionFieldsApp.g.cs | 6 + ...tCollectionFieldsReviewSubmissionItem.g.cs | 12 + ...ReviewSubmissionsGetInstanceFieldsApp.g.cs | 6 + ...GetInstanceFieldsReviewSubmissionItem.g.cs | 12 + ...ManyRelatedFieldsAppAssetLibraryImage.g.cs | 111 + ...ManyRelatedFieldsAppAssetLibraryVideo.g.cs | 123 + ...ManyRelatedFieldsReviewSubmissionItem.g.cs | 12 + ...sionsItemsGetToManyRelatedIncludeItem.g.cs | 12 + ...nect.Models.ReviewSubmissionsResponse.g.cs | 4 +- ...onnect.Models.ScmRepositoriesResponse.g.cs | 4 +- ...eConnect.Models.ScmRepositoryResponse.g.cs | 4 +- ...nect.Models.SubscriptionGroupResponse.g.cs | 4 +- ...dels.SubscriptionGroupVersionResponse.g.cs | 4 +- ...els.SubscriptionGroupVersionsResponse.g.cs | 4 +- ...ect.Models.SubscriptionGroupsResponse.g.cs | 4 +- ...SubscriptionIntroductoryOfferResponse.g.cs | 4 +- ...ubscriptionIntroductoryOffersResponse.g.cs | 4 +- ...s.SubscriptionOfferCodePricesResponse.g.cs | 4 +- ....Models.SubscriptionOfferCodeResponse.g.cs | 4 +- ...Models.SubscriptionOfferCodesResponse.g.cs | 4 +- ...nect.Models.SubscriptionPriceResponse.g.cs | 4 +- ...ect.Models.SubscriptionPricesResponse.g.cs | 4 +- ...riptionPromotionalOfferPricesResponse.g.cs | 4 +- ....SubscriptionPromotionalOfferResponse.g.cs | 4 +- ...SubscriptionPromotionalOffersResponse.g.cs | 4 +- ...reConnect.Models.SubscriptionResponse.g.cs | 4 +- ...ct.Models.SubscriptionVersionResponse.g.cs | 4 +- ...t.Models.SubscriptionVersionsResponse.g.cs | 4 +- ...eConnect.Models.SubscriptionsResponse.g.cs | 4 +- ...UserInvitationsGetCollectionFieldsApp.g.cs | 6 + ...s.UserInvitationsGetInstanceFieldsApp.g.cs | 6 + ...sVisibleAppsGetToManyRelatedFieldsApp.g.cs | 6 + ...ct.Models.UsersGetCollectionFieldsApp.g.cs | 6 + ...nect.Models.UsersGetInstanceFieldsApp.g.cs | 6 + ...sVisibleAppsGetToManyRelatedFieldsApp.g.cs | 6 + ...t.Models.WebhooksGetInstanceFieldsApp.g.cs | 6 + ...ect.Models.WinBackOfferPricesResponse.g.cs | 4 +- ...t.PartitionCore.JsonSerializerContext.g.cs | 2436 +- ...SubmissionItems.JsonSerializerContext.g.cs | 36 + ...viewSubmissions.JsonSerializerContext.g.cs | 36 + ...eviewSubmissionsItemsGetToManyRelated.g.cs | 20 + src/libs/AppStoreConnect/openapi.json | 125635 ++++++++------- 1878 files changed, 254330 insertions(+), 113335 deletions(-) create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraries.JsonSerializerContext.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.Constructors.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImages.JsonSerializerContext.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesCreateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesDeleteInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesUpdateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.Constructors.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequests.JsonSerializerContext.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.AppAssetLibraryPlacementOrderingRequestsCreateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.Constructors.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacements.JsonSerializerContext.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsCreateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsDeleteInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.Constructors.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefData.JsonSerializerContext.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetCollection.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.Constructors.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideos.JsonSerializerContext.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosCreateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosDeleteInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosUpdateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.Constructors.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppsClient.AppsAssetLibraryGetToOneRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.AppsClient.AppsAssetLibraryGetToOneRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesCreateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesDeleteInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesUpdateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.AppAssetLibraryPlacementOrderingRequestsCreateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsCreateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsDeleteInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetCollection.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosCreateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosDeleteInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosGetInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosUpdateInstance.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.Authorizations.Bearer.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppsClient.AppsAssetLibraryGetToOneRelated.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppsClient.AppsAssetLibraryGetToOneRelationship.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategory.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetState.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClass.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryFeature.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryFeatureNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAcceptedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageApprovedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageArchivedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorState.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorStateNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAwaitingUploadAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageFailedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageInReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageReadyForReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRejectedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUploadCompleteAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageWaitingForReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryMediaType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatform.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatformNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementState.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2Nullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAcceptedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoApprovedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoArchivedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorState.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorStateNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAwaitingUploadAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoFailedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoInReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoReadyForReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRejectedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUploadCompleteAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoWaitingForReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Attributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Attributes2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem133.g.cs delete mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem135.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem140.g.cs delete mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem142.g.cs rename src/libs/AppStoreConnect/Generated/{AppStoreConnect.JsonConverters.IncludedItem19.g.cs => AppStoreConnect.JsonConverters.IncludedItem17.g.cs} (59%) create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem178.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem181.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem29.g.cs delete mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem31.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Relationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedSortItem.g.cs rename src/libs/AppStoreConnect/Generated/{AppStoreConnect.Models.IncludedItem142.Json.g.cs => AppStoreConnect.Models.AppAssetLibrary.Json.g.cs} (89%) create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrary.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryAssetCategory.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryAssetState.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryDisplayClass.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryFeature.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImage.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminator.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminator.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminatorState.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCommonAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCommonAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequest.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequest.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequest.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequest.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryMediaType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacement.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequest.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequest.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum3.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum3.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum4.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum4.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum5.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum5.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum6.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum6.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum7.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum7.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum8.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum8.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2Image.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2Image.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequest.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequest.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequest.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequest.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementPlatform.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminator.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminator.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminator.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminator.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementState.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementType2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2Video.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2Video.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatum.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatum.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesDisplayClasse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesDisplayClasse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeature.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeature.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpec.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpec.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpecDimensions.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpecDimensions.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementProfileGroup.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementProfileGroup.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementType.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpec.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpec.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDimensions.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDimensions.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDuration.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDuration.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsImages.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsImages.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsVideos.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsVideos.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideo.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminator.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminator.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminatorState.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCommonAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCommonAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequest.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequest.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequest.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequest.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributesVariant2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributesVariant2.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationshipsAssetLibrary.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationshipsAssetLibrary.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponse.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponse.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacements.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacements.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItem.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes2.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes2.g.cs rename src/libs/AppStoreConnect/Generated/{AppStoreConnect.Models.IncludedItem135.Json.g.cs => AppStoreConnect.Models.IncludedItem133.Json.g.cs} (89%) create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem133.g.cs delete mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem135.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem140.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem140.g.cs delete mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem142.g.cs rename src/libs/AppStoreConnect/Generated/{AppStoreConnect.Models.IncludedItem19.Json.g.cs => AppStoreConnect.Models.IncludedItem17.Json.g.cs} (89%) create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem17.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem178.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem178.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem181.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem181.g.cs delete mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem19.g.cs rename src/libs/AppStoreConnect/Generated/{AppStoreConnect.Models.IncludedItem31.Json.g.cs => AppStoreConnect.Models.IncludedItem29.Json.g.cs} (89%) create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem29.g.cs delete mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem31.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Relationships.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Relationships.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImage.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData.Json.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs create mode 100644 src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraries.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraries.JsonSerializerContext.g.cs new file mode 100644 index 000000000..69fbd8479 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraries.JsonSerializerContext.g.cs @@ -0,0 +1,416 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType), TypeInfoPropertyName = "AppAssetLibraryImagesLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType), TypeInfoPropertyName = "AppAssetLibraryVideosLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie), TypeInfoPropertyName = "AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem), TypeInfoPropertyName = "AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem), TypeInfoPropertyName = "AppAssetLibrariesImagesGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem), TypeInfoPropertyName = "AppAssetLibrariesImagesGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage), TypeInfoPropertyName = "AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppAssetLibrariesImagesGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem), TypeInfoPropertyName = "AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem), TypeInfoPropertyName = "AppAssetLibrariesVideosGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem), TypeInfoPropertyName = "AppAssetLibrariesVideosGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppAssetLibrariesVideosGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie?), TypeInfoPropertyName = "NullableAppAssetLibrariesGetInstanceFieldsAppAssetLibrarie2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem?), TypeInfoPropertyName = "NullableAppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem?), TypeInfoPropertyName = "NullableAppAssetLibrariesImagesGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem?), TypeInfoPropertyName = "NullableAppAssetLibrariesImagesGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableAppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppAssetLibrariesImagesGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem?), TypeInfoPropertyName = "NullableAppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem?), TypeInfoPropertyName = "NullableAppAssetLibrariesVideosGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem?), TypeInfoPropertyName = "NullableAppAssetLibrariesVideosGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableAppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppAssetLibrariesVideosGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + internal sealed partial class AppAssetLibrariesSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + /// + /// + /// + public sealed partial class AppAssetLibrariesSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); + + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + internal static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver => Resolver; + + + private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); + + /// + /// + /// + public static AppAssetLibrariesSourceGenerationContext Default { get; } = new(DefaultOptions); + + private AppAssetLibrariesSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + : base(options) + { + } + + /// + protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; + + /// + public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) + { + return Resolver.GetTypeInfo(type, Options); + } + + /// + /// Adds this package's converters to . + /// + /// + /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, + /// and a context resolves types from every package below it. Each package contributes only + /// what it owns and calls down the chain for the rest, so the family's converter table is + /// written once rather than copied into all of them. + /// + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) + { + global::AppStoreConnect.PartitionCoreSourceGenerationContext.AddConverters(options); + options.Converters.Add(new LazyEnumJsonConverterFactory()); + } + + private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() + { + var options = new global::System.Text.Json.JsonSerializerOptions + { + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + TypeInfoResolver = Resolver, + }; + AddConverters(options); + + return options; + } + + + private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Serialization.JsonConverterFactory + { + public override bool CanConvert(global::System.Type typeToConvert) + { + return + typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem?); + } + + public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItemNullableJsonConverter(); + } + throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); + } + } + + private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver + { + private readonly object _gate = new(); + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[2]; + + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( + global::System.Type type, + global::System.Text.Json.JsonSerializerOptions options) + { + for (var index = 0; index < _resolvers.Length; index++) + { + var typeInfo = GetResolver(index).GetTypeInfo(type, options); + if (typeInfo is not null) + { + return typeInfo; + } + } + + return null; + } + + private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) + { + var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); + if (resolver is not null) + { + return resolver; + } + + lock (_gate) + { + return _resolvers[index] ??= CreateResolver(index); + } + } + + private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) + { + return index switch + { + 0 => new AppAssetLibrariesSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), + + 1 => global::AppStoreConnect.PartitionCoreSourceGenerationContext.TypeInfoResolver, + _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), + }; + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesGetInstance.g.cs new file mode 100644 index 000000000..14c305fb1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesGetInstance.g.cs @@ -0,0 +1,621 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibrariesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibrariesGetInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibrariesGetInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibrariesGetInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibrariesGetInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries, + ref string id); + partial void PrepareAppAssetLibrariesGetInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries, + string id); + partial void ProcessAppAssetLibrariesGetInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibrariesGetInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibrariesGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibrariesGetInstanceAsResponseAsync( + id: id, + fieldsAppAssetLibraries: fieldsAppAssetLibraries, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibrariesGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibrariesGetInstanceArguments( + httpClient: HttpClient, + fieldsAppAssetLibraries: fieldsAppAssetLibraries, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibrariesGetInstanceSecurityRequirements, + operationName: "AppAssetLibrariesGetInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraries/{id}", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("fields[appAssetLibraries]", fieldsAppAssetLibraries, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibrariesGetInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + fieldsAppAssetLibraries: fieldsAppAssetLibraries, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesGetInstance", + methodName: "AppAssetLibrariesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesGetInstance", + methodName: "AppAssetLibrariesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesGetInstance", + methodName: "AppAssetLibrariesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibrariesGetInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesGetInstance", + methodName: "AppAssetLibrariesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesGetInstance", + methodName: "AppAssetLibrariesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibrariesGetInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelated.g.cs new file mode 100644 index 000000000..9bad89f0f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelated.g.cs @@ -0,0 +1,721 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibrariesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibrariesImagesGetToManyRelatedSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibrariesImagesGetToManyRelatedSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibrariesImagesGetToManyRelatedSecurityRequirement0, + }; + partial void PrepareAppAssetLibrariesImagesGetToManyRelatedArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? filterCategory, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterReferenceName, + global::System.Collections.Generic.IList? filterSpecId, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + ref int? limit, + global::System.Collections.Generic.IList? include, + ref int? limitPlacements, + ref string id); + partial void PrepareAppAssetLibrariesImagesGetToManyRelatedRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? filterCategory, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterReferenceName, + global::System.Collections.Generic.IList? filterSpecId, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + int? limit, + global::System.Collections.Generic.IList? include, + int? limitPlacements, + string id); + partial void ProcessAppAssetLibrariesImagesGetToManyRelatedResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibrariesImagesGetToManyRelatedResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibrariesImagesGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterCategory = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterReferenceName = default, + global::System.Collections.Generic.IList? filterSpecId = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibrariesImagesGetToManyRelatedAsResponseAsync( + id: id, + filterCategory: filterCategory, + filterState: filterState, + filterReferenceName: filterReferenceName, + filterSpecId: filterSpecId, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + limit: limit, + include: include, + limitPlacements: limitPlacements, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibrariesImagesGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterCategory = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterReferenceName = default, + global::System.Collections.Generic.IList? filterSpecId = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibrariesImagesGetToManyRelatedArguments( + httpClient: HttpClient, + filterCategory: filterCategory, + filterState: filterState, + filterReferenceName: filterReferenceName, + filterSpecId: filterSpecId, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + limit: ref limit, + include: include, + limitPlacements: ref limitPlacements, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibrariesImagesGetToManyRelatedSecurityRequirements, + operationName: "AppAssetLibrariesImagesGetToManyRelatedAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraries/{id}/images", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("filter[category]", filterCategory, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[state]", filterState, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[referenceName]", filterReferenceName, delimiter: ",", explode: false) + .AddOptionalParameter("filter[specId]", filterSpecId, delimiter: ",", explode: false) + .AddOptionalParameter("filter[id]", filterId, delimiter: ",", explode: false) + .AddOptionalParameter("sort", sort, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibrariesImagesGetToManyRelatedRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + filterCategory: filterCategory, + filterState: filterState, + filterReferenceName: filterReferenceName, + filterSpecId: filterSpecId, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + limit: limit, + include: include, + limitPlacements: limitPlacements, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelated", + methodName: "AppAssetLibrariesImagesGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelated", + methodName: "AppAssetLibrariesImagesGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelated", + methodName: "AppAssetLibrariesImagesGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibrariesImagesGetToManyRelatedResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelated", + methodName: "AppAssetLibrariesImagesGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelated", + methodName: "AppAssetLibrariesImagesGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibrariesImagesGetToManyRelatedResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryImagesResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryImagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelationship.g.cs new file mode 100644 index 000000000..1e7b6fee4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelationship.g.cs @@ -0,0 +1,660 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibrariesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibrariesImagesGetToManyRelationshipSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibrariesImagesGetToManyRelationshipSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibrariesImagesGetToManyRelationshipSecurityRequirement0, + }; + partial void PrepareAppAssetLibrariesImagesGetToManyRelationshipArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? limit, + ref string id); + partial void PrepareAppAssetLibrariesImagesGetToManyRelationshipRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? limit, + string id); + partial void ProcessAppAssetLibrariesImagesGetToManyRelationshipResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibrariesImagesGetToManyRelationshipResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibrariesImagesGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibrariesImagesGetToManyRelationshipAsResponseAsync( + id: id, + limit: limit, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibrariesImagesGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibrariesImagesGetToManyRelationshipArguments( + httpClient: HttpClient, + limit: ref limit, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibrariesImagesGetToManyRelationshipSecurityRequirements, + operationName: "AppAssetLibrariesImagesGetToManyRelationshipAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraries/{id}/relationships/images", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + ; + var __path = __pathBuilder.ToString(); + + var __pageUrl = global::AppStoreConnect.AutoSDKPager.ResolvePageUrl( + __path, + requestOptions, + global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/")); + if (__pageUrl is not null) + { + __path = __pageUrl; + } + else + { + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + } + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibrariesImagesGetToManyRelationshipRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelationship", + methodName: "AppAssetLibrariesImagesGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelationship", + methodName: "AppAssetLibrariesImagesGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelationship", + methodName: "AppAssetLibrariesImagesGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibrariesImagesGetToManyRelationshipResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelationship", + methodName: "AppAssetLibrariesImagesGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesImagesGetToManyRelationship", + methodName: "AppAssetLibrariesImagesGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/images\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibrariesImagesGetToManyRelationshipResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps AppAssetLibrariesImagesGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + public global::System.Collections.Generic.IAsyncEnumerable AppAssetLibrariesImagesGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::AppStoreConnect.AutoSDKPager.NextUrlAsync( + fetchPage: (__nextUrl, __ct) => AppAssetLibrariesImagesGetToManyRelationshipAsync( + limit: limit, + id: id, + requestOptions: global::AppStoreConnect.AutoSDKPager.CreatePageRequestOptions(requestOptions, __nextUrl), + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextUrl: static __response => __response is null ? null : __response.Links?.Next, + baseAddress: global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/"), + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelated.g.cs new file mode 100644 index 000000000..962af92da --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelated.g.cs @@ -0,0 +1,721 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibrariesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibrariesVideosGetToManyRelatedSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibrariesVideosGetToManyRelatedSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibrariesVideosGetToManyRelatedSecurityRequirement0, + }; + partial void PrepareAppAssetLibrariesVideosGetToManyRelatedArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? filterCategory, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterReferenceName, + global::System.Collections.Generic.IList? filterSpecId, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + ref int? limit, + global::System.Collections.Generic.IList? include, + ref int? limitPlacements, + ref string id); + partial void PrepareAppAssetLibrariesVideosGetToManyRelatedRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? filterCategory, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterReferenceName, + global::System.Collections.Generic.IList? filterSpecId, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + int? limit, + global::System.Collections.Generic.IList? include, + int? limitPlacements, + string id); + partial void ProcessAppAssetLibrariesVideosGetToManyRelatedResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibrariesVideosGetToManyRelatedResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibrariesVideosGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterCategory = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterReferenceName = default, + global::System.Collections.Generic.IList? filterSpecId = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibrariesVideosGetToManyRelatedAsResponseAsync( + id: id, + filterCategory: filterCategory, + filterState: filterState, + filterReferenceName: filterReferenceName, + filterSpecId: filterSpecId, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + limit: limit, + include: include, + limitPlacements: limitPlacements, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibrariesVideosGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterCategory = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterReferenceName = default, + global::System.Collections.Generic.IList? filterSpecId = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibrariesVideosGetToManyRelatedArguments( + httpClient: HttpClient, + filterCategory: filterCategory, + filterState: filterState, + filterReferenceName: filterReferenceName, + filterSpecId: filterSpecId, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + limit: ref limit, + include: include, + limitPlacements: ref limitPlacements, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibrariesVideosGetToManyRelatedSecurityRequirements, + operationName: "AppAssetLibrariesVideosGetToManyRelatedAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraries/{id}/videos", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("filter[category]", filterCategory, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[state]", filterState, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[referenceName]", filterReferenceName, delimiter: ",", explode: false) + .AddOptionalParameter("filter[specId]", filterSpecId, delimiter: ",", explode: false) + .AddOptionalParameter("filter[id]", filterId, delimiter: ",", explode: false) + .AddOptionalParameter("sort", sort, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibrariesVideosGetToManyRelatedRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + filterCategory: filterCategory, + filterState: filterState, + filterReferenceName: filterReferenceName, + filterSpecId: filterSpecId, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + limit: limit, + include: include, + limitPlacements: limitPlacements, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelated", + methodName: "AppAssetLibrariesVideosGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelated", + methodName: "AppAssetLibrariesVideosGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelated", + methodName: "AppAssetLibrariesVideosGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibrariesVideosGetToManyRelatedResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelated", + methodName: "AppAssetLibrariesVideosGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelated", + methodName: "AppAssetLibrariesVideosGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibrariesVideosGetToManyRelatedResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryVideosResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryVideosResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelationship.g.cs new file mode 100644 index 000000000..d4c489a31 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelationship.g.cs @@ -0,0 +1,660 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibrariesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibrariesVideosGetToManyRelationshipSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibrariesVideosGetToManyRelationshipSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibrariesVideosGetToManyRelationshipSecurityRequirement0, + }; + partial void PrepareAppAssetLibrariesVideosGetToManyRelationshipArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? limit, + ref string id); + partial void PrepareAppAssetLibrariesVideosGetToManyRelationshipRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? limit, + string id); + partial void ProcessAppAssetLibrariesVideosGetToManyRelationshipResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibrariesVideosGetToManyRelationshipResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibrariesVideosGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibrariesVideosGetToManyRelationshipAsResponseAsync( + id: id, + limit: limit, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibrariesVideosGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibrariesVideosGetToManyRelationshipArguments( + httpClient: HttpClient, + limit: ref limit, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibrariesVideosGetToManyRelationshipSecurityRequirements, + operationName: "AppAssetLibrariesVideosGetToManyRelationshipAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraries/{id}/relationships/videos", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + ; + var __path = __pathBuilder.ToString(); + + var __pageUrl = global::AppStoreConnect.AutoSDKPager.ResolvePageUrl( + __path, + requestOptions, + global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/")); + if (__pageUrl is not null) + { + __path = __pageUrl; + } + else + { + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + } + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibrariesVideosGetToManyRelationshipRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelationship", + methodName: "AppAssetLibrariesVideosGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelationship", + methodName: "AppAssetLibrariesVideosGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelationship", + methodName: "AppAssetLibrariesVideosGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibrariesVideosGetToManyRelationshipResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelationship", + methodName: "AppAssetLibrariesVideosGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibrariesVideosGetToManyRelationship", + methodName: "AppAssetLibrariesVideosGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraries/{id}/relationships/videos\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibrariesVideosGetToManyRelationshipResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps AppAssetLibrariesVideosGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + public global::System.Collections.Generic.IAsyncEnumerable AppAssetLibrariesVideosGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::AppStoreConnect.AutoSDKPager.NextUrlAsync( + fetchPage: (__nextUrl, __ct) => AppAssetLibrariesVideosGetToManyRelationshipAsync( + limit: limit, + id: id, + requestOptions: global::AppStoreConnect.AutoSDKPager.CreatePageRequestOptions(requestOptions, __nextUrl), + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextUrl: static __response => __response is null ? null : __response.Links?.Next, + baseAddress: global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/"), + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..d1b2b3bd9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.Authorizations.Bearer.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibrariesClient + { + + /// + public void AuthorizeUsingBearer( + string apiKey) + { + apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); + + for (var i = Authorizations.Count - 1; i >= 0; i--) + { + var __authorization = Authorizations[i]; + if (__authorization.Type == "Http" && + __authorization.Name == "Bearer") + { + Authorizations.RemoveAt(i); + } + } + + Authorizations.Add(new global::AppStoreConnect.EndPointAuthorization + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + Value = apiKey, + }); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.Constructors.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.Constructors.Bearer.g.cs new file mode 100644 index 000000000..b9b5b95d7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.Constructors.Bearer.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibrariesClient + { + /// + + public AppAssetLibrariesClient( + string apiKey, + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) + { + Authorizing(HttpClient, ref apiKey); + + AuthorizeUsingBearer(apiKey); + + Authorized(HttpClient); + } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.g.cs new file mode 100644 index 000000000..4cb3a54be --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibrariesClient.g.cs @@ -0,0 +1,143 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class AppAssetLibrariesClient : global::AppStoreConnect.IAppAssetLibrariesClient, global::System.IDisposable + { + /// + /// + /// + public const string DefaultBaseUrl = "https://api.appstoreconnect.apple.com/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::AppStoreConnect.AppAssetLibrariesSourceGenerationContext.Default); + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } + + + /// + /// Creates a new instance of the AppAssetLibrariesClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibrariesClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibrariesClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibrariesClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibrariesClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibrariesClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::AppStoreConnect.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImages.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImages.JsonSerializerContext.g.cs new file mode 100644 index 000000000..2518dd7df --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImages.JsonSerializerContext.g.cs @@ -0,0 +1,490 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType), TypeInfoPropertyName = "AppAssetLibraryImageCreateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType), TypeInfoPropertyName = "AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType), TypeInfoPropertyName = "AppAssetLibraryImageUpdateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppAssetLibraryImagePlacementsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage), TypeInfoPropertyName = "AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem), TypeInfoPropertyName = "AppAssetLibraryImagesGetInstanceIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryImageCreateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryImageUpdateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryImagePlacementsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesGetInstanceIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + internal sealed partial class AppAssetLibraryImagesSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + /// + /// + /// + public sealed partial class AppAssetLibraryImagesSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); + + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + internal static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver => Resolver; + + + private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); + + /// + /// + /// + public static AppAssetLibraryImagesSourceGenerationContext Default { get; } = new(DefaultOptions); + + private AppAssetLibraryImagesSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + : base(options) + { + } + + /// + protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; + + /// + public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) + { + return Resolver.GetTypeInfo(type, Options); + } + + /// + /// Adds this package's converters to . + /// + /// + /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, + /// and a context resolves types from every package below it. Each package contributes only + /// what it owns and calls down the chain for the rest, so the family's converter table is + /// written once rather than copied into all of them. + /// + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) + { + global::AppStoreConnect.PartitionCoreSourceGenerationContext.AddConverters(options); + options.Converters.Add(new LazyEnumJsonConverterFactory()); + } + + private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() + { + var options = new global::System.Text.Json.JsonSerializerOptions + { + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + TypeInfoResolver = Resolver, + }; + AddConverters(options); + + return options; + } + + + private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Serialization.JsonConverterFactory + { + public override bool CanConvert(global::System.Type typeToConvert) + { + return + typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem?); + } + + public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } + throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); + } + } + + private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver + { + private readonly object _gate = new(); + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[2]; + + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( + global::System.Type type, + global::System.Text.Json.JsonSerializerOptions options) + { + for (var index = 0; index < _resolvers.Length; index++) + { + var typeInfo = GetResolver(index).GetTypeInfo(type, options); + if (typeInfo is not null) + { + return typeInfo; + } + } + + return null; + } + + private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) + { + var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); + if (resolver is not null) + { + return resolver; + } + + lock (_gate) + { + return _resolvers[index] ??= CreateResolver(index); + } + } + + private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) + { + return index switch + { + 0 => new AppAssetLibraryImagesSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), + + 1 => global::AppStoreConnect.PartitionCoreSourceGenerationContext.TypeInfoResolver, + _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), + }; + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesCreateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesCreateInstance.g.cs new file mode 100644 index 000000000..a2e5b29f4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesCreateInstance.g.cs @@ -0,0 +1,679 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryImagesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryImagesCreateInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryImagesCreateInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryImagesCreateInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryImagesCreateInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + global::AppStoreConnect.AppAssetLibraryImageCreateRequest request); + partial void PrepareAppAssetLibraryImagesCreateInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::AppStoreConnect.AppAssetLibraryImageCreateRequest request); + partial void ProcessAppAssetLibraryImagesCreateInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryImagesCreateInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryImagesCreateInstanceAsync( + + global::AppStoreConnect.AppAssetLibraryImageCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryImagesCreateInstanceAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryImagesCreateInstanceAsResponseAsync( + + global::AppStoreConnect.AppAssetLibraryImageCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryImagesCreateInstanceArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryImagesCreateInstanceSecurityRequirements, + operationName: "AppAssetLibraryImagesCreateInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: "/v1/appAssetLibraryImages", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryImagesCreateInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesCreateInstance", + methodName: "AppAssetLibraryImagesCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryImages\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesCreateInstance", + methodName: "AppAssetLibraryImagesCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryImages\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesCreateInstance", + methodName: "AppAssetLibraryImagesCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryImages\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryImagesCreateInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesCreateInstance", + methodName: "AppAssetLibraryImagesCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryImages\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesCreateInstance", + methodName: "AppAssetLibraryImagesCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryImages\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unprocessable request entity error(s) + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AppStoreConnect.ErrorResponse? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Request entity error(s) + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::AppStoreConnect.ErrorResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryImagesCreateInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryImageResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryImageResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryImagesCreateInstanceAsync( + global::AppStoreConnect.AppAssetLibraryImageCreateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AppStoreConnect.AppAssetLibraryImageCreateRequest + { + Data = data, + }; + + return await AppAssetLibraryImagesCreateInstanceAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesDeleteInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesDeleteInstance.g.cs new file mode 100644 index 000000000..92c9ffcb5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesDeleteInstance.g.cs @@ -0,0 +1,586 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryImagesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryImagesDeleteInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryImagesDeleteInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryImagesDeleteInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryImagesDeleteInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + ref string id); + partial void PrepareAppAssetLibraryImagesDeleteInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string id); + partial void ProcessAppAssetLibraryImagesDeleteInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryImagesDeleteInstanceAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + await AppAssetLibraryImagesDeleteInstanceAsResponseAsync( + id: id, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryImagesDeleteInstanceAsResponseAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryImagesDeleteInstanceArguments( + httpClient: HttpClient, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryImagesDeleteInstanceSecurityRequirements, + operationName: "AppAssetLibraryImagesDeleteInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryImages/{id}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryImagesDeleteInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesDeleteInstance", + methodName: "AppAssetLibraryImagesDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesDeleteInstance", + methodName: "AppAssetLibraryImagesDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesDeleteInstance", + methodName: "AppAssetLibraryImagesDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryImagesDeleteInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesDeleteInstance", + methodName: "AppAssetLibraryImagesDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesDeleteInstance", + methodName: "AppAssetLibraryImagesDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesGetInstance.g.cs new file mode 100644 index 000000000..d534961a4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesGetInstance.g.cs @@ -0,0 +1,651 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryImagesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryImagesGetInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryImagesGetInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryImagesGetInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryImagesGetInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? include, + ref int? limitPlacements, + ref string id); + partial void PrepareAppAssetLibraryImagesGetInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? include, + int? limitPlacements, + string id); + partial void ProcessAppAssetLibraryImagesGetInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryImagesGetInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryImagesGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryImagesGetInstanceAsResponseAsync( + id: id, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitPlacements: limitPlacements, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryImagesGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryImagesGetInstanceArguments( + httpClient: HttpClient, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitPlacements: ref limitPlacements, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryImagesGetInstanceSecurityRequirements, + operationName: "AppAssetLibraryImagesGetInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryImages/{id}", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryImagesGetInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitPlacements: limitPlacements, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesGetInstance", + methodName: "AppAssetLibraryImagesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesGetInstance", + methodName: "AppAssetLibraryImagesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesGetInstance", + methodName: "AppAssetLibraryImagesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryImagesGetInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesGetInstance", + methodName: "AppAssetLibraryImagesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesGetInstance", + methodName: "AppAssetLibraryImagesGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryImagesGetInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryImageResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryImageResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..e27bee681 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelated.g.cs @@ -0,0 +1,801 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryImagesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryImagesPlacementsGetToManyRelatedSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryImagesPlacementsGetToManyRelatedSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryImagesPlacementsGetToManyRelatedSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryImagesPlacementsGetToManyRelatedArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + ref int? limit, + global::System.Collections.Generic.IList? include, + ref string id); + partial void PrepareAppAssetLibraryImagesPlacementsGetToManyRelatedRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + int? limit, + global::System.Collections.Generic.IList? include, + string id); + partial void ProcessAppAssetLibraryImagesPlacementsGetToManyRelatedResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryImagesPlacementsGetToManyRelatedResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryImagesPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryImagesPlacementsGetToManyRelatedAsResponseAsync( + id: id, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryImagesPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryImagesPlacementsGetToManyRelatedArguments( + httpClient: HttpClient, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: ref limit, + include: include, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryImagesPlacementsGetToManyRelatedSecurityRequirements, + operationName: "AppAssetLibraryImagesPlacementsGetToManyRelatedAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryImages/{id}/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("filter[placementType]", filterPlacementType, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[placementGroup]", filterPlacementGroup, delimiter: ",", explode: false) + .AddOptionalParameter("filter[state]", filterState, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[video]", filterVideo, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appEventLocalization]", filterAppEventLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionLocalization]", filterAppStoreVersionLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appCustomProductPageLocalization]", filterAppCustomProductPageLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionExperimentTreatmentLocalization]", filterAppStoreVersionExperimentTreatmentLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[id]", filterId, delimiter: ",", explode: false) + .AddOptionalParameter("sort", sort, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appEventLocalizations]", fieldsAppEventLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionLocalizations]", fieldsAppStoreVersionLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appCustomProductPageLocalizations]", fieldsAppCustomProductPageLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionExperimentTreatmentLocalizations]", fieldsAppStoreVersionExperimentTreatmentLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryImagesPlacementsGetToManyRelatedRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelated", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelated", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelated", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryImagesPlacementsGetToManyRelatedResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelated", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelated", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryImagesPlacementsGetToManyRelatedResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..ce1eaa8cd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,660 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryImagesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryImagesPlacementsGetToManyRelationshipSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryImagesPlacementsGetToManyRelationshipSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryImagesPlacementsGetToManyRelationshipSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryImagesPlacementsGetToManyRelationshipArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? limit, + ref string id); + partial void PrepareAppAssetLibraryImagesPlacementsGetToManyRelationshipRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? limit, + string id); + partial void ProcessAppAssetLibraryImagesPlacementsGetToManyRelationshipResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryImagesPlacementsGetToManyRelationshipResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryImagesPlacementsGetToManyRelationshipAsResponseAsync( + id: id, + limit: limit, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryImagesPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryImagesPlacementsGetToManyRelationshipArguments( + httpClient: HttpClient, + limit: ref limit, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryImagesPlacementsGetToManyRelationshipSecurityRequirements, + operationName: "AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryImages/{id}/relationships/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + ; + var __path = __pathBuilder.ToString(); + + var __pageUrl = global::AppStoreConnect.AutoSDKPager.ResolvePageUrl( + __path, + requestOptions, + global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/")); + if (__pageUrl is not null) + { + __path = __pageUrl; + } + else + { + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + } + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryImagesPlacementsGetToManyRelationshipRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryImagesPlacementsGetToManyRelationshipResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryImagesPlacementsGetToManyRelationshipResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + public global::System.Collections.Generic.IAsyncEnumerable AppAssetLibraryImagesPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::AppStoreConnect.AutoSDKPager.NextUrlAsync( + fetchPage: (__nextUrl, __ct) => AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync( + limit: limit, + id: id, + requestOptions: global::AppStoreConnect.AutoSDKPager.CreatePageRequestOptions(requestOptions, __nextUrl), + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextUrl: static __response => __response is null ? null : __response.Links?.Next, + baseAddress: global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/"), + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesUpdateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesUpdateInstance.g.cs new file mode 100644 index 000000000..6698d8b53 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.AppAssetLibraryImagesUpdateInstance.g.cs @@ -0,0 +1,728 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryImagesClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryImagesUpdateInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryImagesUpdateInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryImagesUpdateInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryImagesUpdateInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + ref string id, + global::AppStoreConnect.AppAssetLibraryImageUpdateRequest request); + partial void PrepareAppAssetLibraryImagesUpdateInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string id, + global::AppStoreConnect.AppAssetLibraryImageUpdateRequest request); + partial void ProcessAppAssetLibraryImagesUpdateInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryImagesUpdateInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryImagesUpdateInstanceAsync( + string id, + + global::AppStoreConnect.AppAssetLibraryImageUpdateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryImagesUpdateInstanceAsResponseAsync( + id: id, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryImagesUpdateInstanceAsResponseAsync( + string id, + + global::AppStoreConnect.AppAssetLibraryImageUpdateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryImagesUpdateInstanceArguments( + httpClient: HttpClient, + id: ref id, + request: request); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryImagesUpdateInstanceSecurityRequirements, + operationName: "AppAssetLibraryImagesUpdateInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryImages/{id}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryImagesUpdateInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + id: id, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesUpdateInstance", + methodName: "AppAssetLibraryImagesUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesUpdateInstance", + methodName: "AppAssetLibraryImagesUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesUpdateInstance", + methodName: "AppAssetLibraryImagesUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryImagesUpdateInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesUpdateInstance", + methodName: "AppAssetLibraryImagesUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryImagesUpdateInstance", + methodName: "AppAssetLibraryImagesUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryImages/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unprocessable request entity error(s) + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AppStoreConnect.ErrorResponse? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Request entity error(s) + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::AppStoreConnect.ErrorResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryImagesUpdateInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryImageResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryImageResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryImagesUpdateInstanceAsync( + string id, + global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AppStoreConnect.AppAssetLibraryImageUpdateRequest + { + Data = data, + }; + + return await AppAssetLibraryImagesUpdateInstanceAsync( + id: id, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..5dc9a5322 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.Authorizations.Bearer.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImagesClient + { + + /// + public void AuthorizeUsingBearer( + string apiKey) + { + apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); + + for (var i = Authorizations.Count - 1; i >= 0; i--) + { + var __authorization = Authorizations[i]; + if (__authorization.Type == "Http" && + __authorization.Name == "Bearer") + { + Authorizations.RemoveAt(i); + } + } + + Authorizations.Add(new global::AppStoreConnect.EndPointAuthorization + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + Value = apiKey, + }); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.Constructors.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.Constructors.Bearer.g.cs new file mode 100644 index 000000000..cb76c538e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.Constructors.Bearer.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImagesClient + { + /// + + public AppAssetLibraryImagesClient( + string apiKey, + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) + { + Authorizing(HttpClient, ref apiKey); + + AuthorizeUsingBearer(apiKey); + + Authorized(HttpClient); + } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.g.cs new file mode 100644 index 000000000..3194fc963 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryImagesClient.g.cs @@ -0,0 +1,143 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class AppAssetLibraryImagesClient : global::AppStoreConnect.IAppAssetLibraryImagesClient, global::System.IDisposable + { + /// + /// + /// + public const string DefaultBaseUrl = "https://api.appstoreconnect.apple.com/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::AppStoreConnect.AppAssetLibraryImagesSourceGenerationContext.Default); + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } + + + /// + /// Creates a new instance of the AppAssetLibraryImagesClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryImagesClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryImagesClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryImagesClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryImagesClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryImagesClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::AppStoreConnect.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequests.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequests.JsonSerializerContext.g.cs new file mode 100644 index 000000000..c23c8c29d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequests.JsonSerializerContext.g.cs @@ -0,0 +1,234 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementOrderingRequestType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + internal sealed partial class AppAssetLibraryPlacementOrderingRequestsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestsSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); + + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + internal static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver => Resolver; + + + private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); + + /// + /// + /// + public static AppAssetLibraryPlacementOrderingRequestsSourceGenerationContext Default { get; } = new(DefaultOptions); + + private AppAssetLibraryPlacementOrderingRequestsSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + : base(options) + { + } + + /// + protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; + + /// + public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) + { + return Resolver.GetTypeInfo(type, Options); + } + + /// + /// Adds this package's converters to . + /// + /// + /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, + /// and a context resolves types from every package below it. Each package contributes only + /// what it owns and calls down the chain for the rest, so the family's converter table is + /// written once rather than copied into all of them. + /// + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) + { + global::AppStoreConnect.PartitionCoreSourceGenerationContext.AddConverters(options); + options.Converters.Add(new LazyEnumJsonConverterFactory()); + } + + private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() + { + var options = new global::System.Text.Json.JsonSerializerOptions + { + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + TypeInfoResolver = Resolver, + }; + AddConverters(options); + + return options; + } + + + private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Serialization.JsonConverterFactory + { + public override bool CanConvert(global::System.Type typeToConvert) + { + return + typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest?); + } + + public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestNullableJsonConverter(); + } + throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); + } + } + + private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver + { + private readonly object _gate = new(); + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[2]; + + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( + global::System.Type type, + global::System.Text.Json.JsonSerializerOptions options) + { + for (var index = 0; index < _resolvers.Length; index++) + { + var typeInfo = GetResolver(index).GetTypeInfo(type, options); + if (typeInfo is not null) + { + return typeInfo; + } + } + + return null; + } + + private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) + { + var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); + if (resolver is not null) + { + return resolver; + } + + lock (_gate) + { + return _resolvers[index] ??= CreateResolver(index); + } + } + + private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) + { + return index switch + { + 0 => new AppAssetLibraryPlacementOrderingRequestsSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), + + 1 => global::AppStoreConnect.PartitionCoreSourceGenerationContext.TypeInfoResolver, + _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), + }; + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.AppAssetLibraryPlacementOrderingRequestsCreateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.AppAssetLibraryPlacementOrderingRequestsCreateInstance.g.cs new file mode 100644 index 000000000..1a6dee882 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.AppAssetLibraryPlacementOrderingRequestsCreateInstance.g.cs @@ -0,0 +1,733 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryPlacementOrderingRequestsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryPlacementOrderingRequestsCreateInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryPlacementOrderingRequestsCreateInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryPlacementOrderingRequestsCreateInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryPlacementOrderingRequestsCreateInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? include, + ref int? limitOrderedPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacementOrderingRequests, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest request); + partial void PrepareAppAssetLibraryPlacementOrderingRequestsCreateInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? include, + int? limitOrderedPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacementOrderingRequests, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest request); + partial void ProcessAppAssetLibraryPlacementOrderingRequestsCreateInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryPlacementOrderingRequestsCreateInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync( + + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest request, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitOrderedPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacementOrderingRequests = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsResponseAsync( + + request: request, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitOrderedPlacements: limitOrderedPlacements, + fieldsAppAssetLibraryPlacementOrderingRequests: fieldsAppAssetLibraryPlacementOrderingRequests, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsResponseAsync( + + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest request, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitOrderedPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacementOrderingRequests = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryPlacementOrderingRequestsCreateInstanceArguments( + httpClient: HttpClient, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitOrderedPlacements: ref limitOrderedPlacements, + fieldsAppAssetLibraryPlacementOrderingRequests: fieldsAppAssetLibraryPlacementOrderingRequests, + request: request); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryPlacementOrderingRequestsCreateInstanceSecurityRequirements, + operationName: "AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: "/v1/appAssetLibraryPlacementOrderingRequests", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit[orderedPlacements]", limitOrderedPlacements?.ToString()) + .AddOptionalParameter("fields[appAssetLibraryPlacementOrderingRequests]", fieldsAppAssetLibraryPlacementOrderingRequests, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryPlacementOrderingRequestsCreateInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitOrderedPlacements: limitOrderedPlacements, + fieldsAppAssetLibraryPlacementOrderingRequests: fieldsAppAssetLibraryPlacementOrderingRequests, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementOrderingRequestsCreateInstance", + methodName: "AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacementOrderingRequests\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementOrderingRequestsCreateInstance", + methodName: "AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacementOrderingRequests\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementOrderingRequestsCreateInstance", + methodName: "AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacementOrderingRequests\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryPlacementOrderingRequestsCreateInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementOrderingRequestsCreateInstance", + methodName: "AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacementOrderingRequests\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementOrderingRequestsCreateInstance", + methodName: "AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacementOrderingRequests\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unprocessable request entity error(s) + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AppStoreConnect.ErrorResponse? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Request entity error(s) + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::AppStoreConnect.ErrorResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryPlacementOrderingRequestsCreateInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData data, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitOrderedPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacementOrderingRequests = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest + { + Data = data, + }; + + return await AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync( + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitOrderedPlacements: limitOrderedPlacements, + fieldsAppAssetLibraryPlacementOrderingRequests: fieldsAppAssetLibraryPlacementOrderingRequests, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..0b76459b7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.Authorizations.Bearer.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestsClient + { + + /// + public void AuthorizeUsingBearer( + string apiKey) + { + apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); + + for (var i = Authorizations.Count - 1; i >= 0; i--) + { + var __authorization = Authorizations[i]; + if (__authorization.Type == "Http" && + __authorization.Name == "Bearer") + { + Authorizations.RemoveAt(i); + } + } + + Authorizations.Add(new global::AppStoreConnect.EndPointAuthorization + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + Value = apiKey, + }); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.Constructors.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.Constructors.Bearer.g.cs new file mode 100644 index 000000000..83a3e9fc6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.Constructors.Bearer.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestsClient + { + /// + + public AppAssetLibraryPlacementOrderingRequestsClient( + string apiKey, + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) + { + Authorizing(HttpClient, ref apiKey); + + AuthorizeUsingBearer(apiKey); + + Authorized(HttpClient); + } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.g.cs new file mode 100644 index 000000000..bc329bf8a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsClient.g.cs @@ -0,0 +1,143 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class AppAssetLibraryPlacementOrderingRequestsClient : global::AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient, global::System.IDisposable + { + /// + /// + /// + public const string DefaultBaseUrl = "https://api.appstoreconnect.apple.com/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsSourceGenerationContext.Default); + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } + + + /// + /// Creates a new instance of the AppAssetLibraryPlacementOrderingRequestsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryPlacementOrderingRequestsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryPlacementOrderingRequestsClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryPlacementOrderingRequestsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryPlacementOrderingRequestsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryPlacementOrderingRequestsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::AppStoreConnect.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacements.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacements.JsonSerializerContext.g.cs new file mode 100644 index 000000000..ab91b2efc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacements.JsonSerializerContext.g.cs @@ -0,0 +1,303 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage), TypeInfoPropertyName = "AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization), TypeInfoPropertyName = "AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization), TypeInfoPropertyName = "AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization), TypeInfoPropertyName = "AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization), TypeInfoPropertyName = "AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem), TypeInfoPropertyName = "AppAssetLibraryPlacementsGetInstanceIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementResponseIncludedItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementsGetInstanceIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + internal sealed partial class AppAssetLibraryPlacementsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementsSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); + + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + internal static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver => Resolver; + + + private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); + + /// + /// + /// + public static AppAssetLibraryPlacementsSourceGenerationContext Default { get; } = new(DefaultOptions); + + private AppAssetLibraryPlacementsSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + : base(options) + { + } + + /// + protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; + + /// + public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) + { + return Resolver.GetTypeInfo(type, Options); + } + + /// + /// Adds this package's converters to . + /// + /// + /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, + /// and a context resolves types from every package below it. Each package contributes only + /// what it owns and calls down the chain for the rest, so the family's converter table is + /// written once rather than copied into all of them. + /// + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) + { + global::AppStoreConnect.PartitionCoreSourceGenerationContext.AddConverters(options); + options.Converters.Add(new LazyEnumJsonConverterFactory()); + } + + private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() + { + var options = new global::System.Text.Json.JsonSerializerOptions + { + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + TypeInfoResolver = Resolver, + }; + AddConverters(options); + + return options; + } + + + private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Serialization.JsonConverterFactory + { + public override bool CanConvert(global::System.Type typeToConvert) + { + return + typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem?); + } + + public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItemNullableJsonConverter(); + } + throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); + } + } + + private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver + { + private readonly object _gate = new(); + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[2]; + + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( + global::System.Type type, + global::System.Text.Json.JsonSerializerOptions options) + { + for (var index = 0; index < _resolvers.Length; index++) + { + var typeInfo = GetResolver(index).GetTypeInfo(type, options); + if (typeInfo is not null) + { + return typeInfo; + } + } + + return null; + } + + private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) + { + var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); + if (resolver is not null) + { + return resolver; + } + + lock (_gate) + { + return _resolvers[index] ??= CreateResolver(index); + } + } + + private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) + { + return index switch + { + 0 => new AppAssetLibraryPlacementsSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), + + 1 => global::AppStoreConnect.PartitionCoreSourceGenerationContext.TypeInfoResolver, + _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), + }; + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsCreateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsCreateInstance.g.cs new file mode 100644 index 000000000..dea25ef3a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsCreateInstance.g.cs @@ -0,0 +1,679 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryPlacementsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryPlacementsCreateInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryPlacementsCreateInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryPlacementsCreateInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryPlacementsCreateInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest request); + partial void PrepareAppAssetLibraryPlacementsCreateInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest request); + partial void ProcessAppAssetLibraryPlacementsCreateInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryPlacementsCreateInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryPlacementsCreateInstanceAsync( + + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryPlacementsCreateInstanceAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryPlacementsCreateInstanceAsResponseAsync( + + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryPlacementsCreateInstanceArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryPlacementsCreateInstanceSecurityRequirements, + operationName: "AppAssetLibraryPlacementsCreateInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: "/v1/appAssetLibraryPlacements", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryPlacementsCreateInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsCreateInstance", + methodName: "AppAssetLibraryPlacementsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacements\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsCreateInstance", + methodName: "AppAssetLibraryPlacementsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacements\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsCreateInstance", + methodName: "AppAssetLibraryPlacementsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacements\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryPlacementsCreateInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsCreateInstance", + methodName: "AppAssetLibraryPlacementsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacements\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsCreateInstance", + methodName: "AppAssetLibraryPlacementsCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryPlacements\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unprocessable request entity error(s) + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AppStoreConnect.ErrorResponse? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Request entity error(s) + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::AppStoreConnect.ErrorResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryPlacementsCreateInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryPlacementResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryPlacementResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryPlacementsCreateInstanceAsync( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest + { + Data = data, + }; + + return await AppAssetLibraryPlacementsCreateInstanceAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsDeleteInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsDeleteInstance.g.cs new file mode 100644 index 000000000..7ed49f480 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsDeleteInstance.g.cs @@ -0,0 +1,586 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryPlacementsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryPlacementsDeleteInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryPlacementsDeleteInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryPlacementsDeleteInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryPlacementsDeleteInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + ref string id); + partial void PrepareAppAssetLibraryPlacementsDeleteInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string id); + partial void ProcessAppAssetLibraryPlacementsDeleteInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryPlacementsDeleteInstanceAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + await AppAssetLibraryPlacementsDeleteInstanceAsResponseAsync( + id: id, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryPlacementsDeleteInstanceAsResponseAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryPlacementsDeleteInstanceArguments( + httpClient: HttpClient, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryPlacementsDeleteInstanceSecurityRequirements, + operationName: "AppAssetLibraryPlacementsDeleteInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryPlacements/{id}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryPlacementsDeleteInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsDeleteInstance", + methodName: "AppAssetLibraryPlacementsDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsDeleteInstance", + methodName: "AppAssetLibraryPlacementsDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsDeleteInstance", + methodName: "AppAssetLibraryPlacementsDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryPlacementsDeleteInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsDeleteInstance", + methodName: "AppAssetLibraryPlacementsDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsDeleteInstance", + methodName: "AppAssetLibraryPlacementsDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsGetInstance.g.cs new file mode 100644 index 000000000..c23c88f6e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsGetInstance.g.cs @@ -0,0 +1,691 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryPlacementsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryPlacementsGetInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryPlacementsGetInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryPlacementsGetInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryPlacementsGetInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + global::System.Collections.Generic.IList? include, + ref string id); + partial void PrepareAppAssetLibraryPlacementsGetInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + global::System.Collections.Generic.IList? include, + string id); + partial void ProcessAppAssetLibraryPlacementsGetInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryPlacementsGetInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryPlacementsGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryPlacementsGetInstanceAsResponseAsync( + id: id, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + include: include, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryPlacementsGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryPlacementsGetInstanceArguments( + httpClient: HttpClient, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + include: include, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryPlacementsGetInstanceSecurityRequirements, + operationName: "AppAssetLibraryPlacementsGetInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryPlacements/{id}", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appEventLocalizations]", fieldsAppEventLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionLocalizations]", fieldsAppStoreVersionLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appCustomProductPageLocalizations]", fieldsAppCustomProductPageLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionExperimentTreatmentLocalizations]", fieldsAppStoreVersionExperimentTreatmentLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryPlacementsGetInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + include: include, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsGetInstance", + methodName: "AppAssetLibraryPlacementsGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsGetInstance", + methodName: "AppAssetLibraryPlacementsGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsGetInstance", + methodName: "AppAssetLibraryPlacementsGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryPlacementsGetInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsGetInstance", + methodName: "AppAssetLibraryPlacementsGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryPlacementsGetInstance", + methodName: "AppAssetLibraryPlacementsGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryPlacements/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryPlacementsGetInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryPlacementResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryPlacementResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..7b559ba28 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.Authorizations.Bearer.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementsClient + { + + /// + public void AuthorizeUsingBearer( + string apiKey) + { + apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); + + for (var i = Authorizations.Count - 1; i >= 0; i--) + { + var __authorization = Authorizations[i]; + if (__authorization.Type == "Http" && + __authorization.Name == "Bearer") + { + Authorizations.RemoveAt(i); + } + } + + Authorizations.Add(new global::AppStoreConnect.EndPointAuthorization + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + Value = apiKey, + }); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.Constructors.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.Constructors.Bearer.g.cs new file mode 100644 index 000000000..1edb5c468 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.Constructors.Bearer.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementsClient + { + /// + + public AppAssetLibraryPlacementsClient( + string apiKey, + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) + { + Authorizing(HttpClient, ref apiKey); + + AuthorizeUsingBearer(apiKey); + + Authorized(HttpClient); + } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.g.cs new file mode 100644 index 000000000..a792092b0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryPlacementsClient.g.cs @@ -0,0 +1,143 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class AppAssetLibraryPlacementsClient : global::AppStoreConnect.IAppAssetLibraryPlacementsClient, global::System.IDisposable + { + /// + /// + /// + public const string DefaultBaseUrl = "https://api.appstoreconnect.apple.com/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::AppStoreConnect.AppAssetLibraryPlacementsSourceGenerationContext.Default); + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } + + + /// + /// Creates a new instance of the AppAssetLibraryPlacementsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryPlacementsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryPlacementsClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryPlacementsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryPlacementsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryPlacementsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::AppStoreConnect.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefData.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefData.JsonSerializerContext.g.cs new file mode 100644 index 000000000..a4fefd60f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefData.JsonSerializerContext.g.cs @@ -0,0 +1,279 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatum))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType), TypeInfoPropertyName = "AppAssetLibraryRefDatumType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeature))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryFeature), TypeInfoPropertyName = "AppAssetLibraryFeature2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementProfileGroup))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform), TypeInfoPropertyName = "AppAssetLibraryPlacementPlatform2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass), TypeInfoPropertyName = "AppAssetLibraryDisplayClass2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpec))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpec))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesDisplayClasse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDataResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem), TypeInfoPropertyName = "AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem), TypeInfoPropertyName = "AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType?), TypeInfoPropertyName = "NullableAppAssetLibraryRefDatumType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryFeature?), TypeInfoPropertyName = "NullableAppAssetLibraryFeature2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementPlatform2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass?), TypeInfoPropertyName = "NullableAppAssetLibraryDisplayClass2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem?), TypeInfoPropertyName = "NullableAppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem?), TypeInfoPropertyName = "NullableAppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + internal sealed partial class AppAssetLibraryRefDataSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + /// + /// + /// + public sealed partial class AppAssetLibraryRefDataSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); + + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + internal static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver => Resolver; + + + private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); + + /// + /// + /// + public static AppAssetLibraryRefDataSourceGenerationContext Default { get; } = new(DefaultOptions); + + private AppAssetLibraryRefDataSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + : base(options) + { + } + + /// + protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; + + /// + public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) + { + return Resolver.GetTypeInfo(type, Options); + } + + /// + /// Adds this package's converters to . + /// + /// + /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, + /// and a context resolves types from every package below it. Each package contributes only + /// what it owns and calls down the chain for the rest, so the family's converter table is + /// written once rather than copied into all of them. + /// + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) + { + global::AppStoreConnect.PartitionCoreSourceGenerationContext.AddConverters(options); + options.Converters.Add(new LazyEnumJsonConverterFactory()); + } + + private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() + { + var options = new global::System.Text.Json.JsonSerializerOptions + { + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + TypeInfoResolver = Resolver, + }; + AddConverters(options); + + return options; + } + + + private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Serialization.JsonConverterFactory + { + public override bool CanConvert(global::System.Type typeToConvert) + { + return + typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryFeature) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryFeature?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem?); + } + + public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryFeature)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryFeatureJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryFeature?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryFeatureNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatformJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatformNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemNullableJsonConverter(); + } + throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); + } + } + + private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver + { + private readonly object _gate = new(); + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[2]; + + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( + global::System.Type type, + global::System.Text.Json.JsonSerializerOptions options) + { + for (var index = 0; index < _resolvers.Length; index++) + { + var typeInfo = GetResolver(index).GetTypeInfo(type, options); + if (typeInfo is not null) + { + return typeInfo; + } + } + + return null; + } + + private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) + { + var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); + if (resolver is not null) + { + return resolver; + } + + lock (_gate) + { + return _resolvers[index] ??= CreateResolver(index); + } + } + + private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) + { + return index switch + { + 0 => new AppAssetLibraryRefDataSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), + + 1 => global::AppStoreConnect.PartitionCoreSourceGenerationContext.TypeInfoResolver, + _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), + }; + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetCollection.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetCollection.g.cs new file mode 100644 index 000000000..37add7020 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetCollection.g.cs @@ -0,0 +1,664 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryRefDataClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryRefDataGetCollectionSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryRefDataGetCollectionSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryRefDataGetCollectionSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryRefDataGetCollectionArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? filterPlacementTypes, + global::System.Collections.Generic.IList? filterPlacementProfileGroups, + global::System.Collections.Generic.IList? filterFeatures, + global::System.Collections.Generic.IList? filterSpecs, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData); + partial void PrepareAppAssetLibraryRefDataGetCollectionRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? filterPlacementTypes, + global::System.Collections.Generic.IList? filterPlacementProfileGroups, + global::System.Collections.Generic.IList? filterFeatures, + global::System.Collections.Generic.IList? filterSpecs, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData); + partial void ProcessAppAssetLibraryRefDataGetCollectionResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryRefDataGetCollectionResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryRefDataGetCollectionAsync( + global::System.Collections.Generic.IList? filterPlacementTypes = default, + global::System.Collections.Generic.IList? filterPlacementProfileGroups = default, + global::System.Collections.Generic.IList? filterFeatures = default, + global::System.Collections.Generic.IList? filterSpecs = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryRefDataGetCollectionAsResponseAsync( + filterPlacementTypes: filterPlacementTypes, + filterPlacementProfileGroups: filterPlacementProfileGroups, + filterFeatures: filterFeatures, + filterSpecs: filterSpecs, + fieldsAppAssetLibraryRefData: fieldsAppAssetLibraryRefData, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryRefDataGetCollectionAsResponseAsync( + global::System.Collections.Generic.IList? filterPlacementTypes = default, + global::System.Collections.Generic.IList? filterPlacementProfileGroups = default, + global::System.Collections.Generic.IList? filterFeatures = default, + global::System.Collections.Generic.IList? filterSpecs = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryRefDataGetCollectionArguments( + httpClient: HttpClient, + filterPlacementTypes: filterPlacementTypes, + filterPlacementProfileGroups: filterPlacementProfileGroups, + filterFeatures: filterFeatures, + filterSpecs: filterSpecs, + fieldsAppAssetLibraryRefData: fieldsAppAssetLibraryRefData); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryRefDataGetCollectionSecurityRequirements, + operationName: "AppAssetLibraryRefDataGetCollectionAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: "/v1/appAssetLibraryRefData", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("filter[placementTypes]", filterPlacementTypes, delimiter: ",", explode: false) + .AddOptionalParameter("filter[placementProfileGroups]", filterPlacementProfileGroups, delimiter: ",", explode: false) + .AddOptionalParameter("filter[features]", filterFeatures, delimiter: ",", explode: false) + .AddOptionalParameter("filter[specs]", filterSpecs, delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryRefData]", fieldsAppAssetLibraryRefData, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + + var __pageUrl = global::AppStoreConnect.AutoSDKPager.ResolvePageUrl( + __path, + requestOptions, + global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/")); + if (__pageUrl is not null) + { + __path = __pageUrl; + } + else + { + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + } + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryRefDataGetCollectionRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + filterPlacementTypes: filterPlacementTypes, + filterPlacementProfileGroups: filterPlacementProfileGroups, + filterFeatures: filterFeatures, + filterSpecs: filterSpecs, + fieldsAppAssetLibraryRefData: fieldsAppAssetLibraryRefData); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetCollection", + methodName: "AppAssetLibraryRefDataGetCollectionAsync", + pathTemplate: "\"/v1/appAssetLibraryRefData\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetCollection", + methodName: "AppAssetLibraryRefDataGetCollectionAsync", + pathTemplate: "\"/v1/appAssetLibraryRefData\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetCollection", + methodName: "AppAssetLibraryRefDataGetCollectionAsync", + pathTemplate: "\"/v1/appAssetLibraryRefData\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryRefDataGetCollectionResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetCollection", + methodName: "AppAssetLibraryRefDataGetCollectionAsync", + pathTemplate: "\"/v1/appAssetLibraryRefData\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetCollection", + methodName: "AppAssetLibraryRefDataGetCollectionAsync", + pathTemplate: "\"/v1/appAssetLibraryRefData\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryRefDataGetCollectionResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryRefDataResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryRefDataResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps AppAssetLibraryRefDataGetCollectionAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryRefDatum> that follows the response's next-page URL. + /// + /// + /// + /// + /// + /// + /// Options forwarded to every page request. + /// + public global::System.Collections.Generic.IAsyncEnumerable AppAssetLibraryRefDataGetCollectionAutoPagingAsync( + global::System.Collections.Generic.IList? filterPlacementTypes = default, + global::System.Collections.Generic.IList? filterPlacementProfileGroups = default, + global::System.Collections.Generic.IList? filterFeatures = default, + global::System.Collections.Generic.IList? filterSpecs = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::AppStoreConnect.AutoSDKPager.NextUrlAsync( + fetchPage: (__nextUrl, __ct) => AppAssetLibraryRefDataGetCollectionAsync( + filterPlacementTypes: filterPlacementTypes, + filterPlacementProfileGroups: filterPlacementProfileGroups, + filterFeatures: filterFeatures, + filterSpecs: filterSpecs, + fieldsAppAssetLibraryRefData: fieldsAppAssetLibraryRefData, + requestOptions: global::AppStoreConnect.AutoSDKPager.CreatePageRequestOptions(requestOptions, __nextUrl), + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextUrl: static __response => __response is null ? null : __response.Links?.Next, + baseAddress: global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/"), + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetInstance.g.cs new file mode 100644 index 000000000..71d34d773 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetInstance.g.cs @@ -0,0 +1,621 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryRefDataClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryRefDataGetInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryRefDataGetInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryRefDataGetInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryRefDataGetInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData, + ref string id); + partial void PrepareAppAssetLibraryRefDataGetInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData, + string id); + partial void ProcessAppAssetLibraryRefDataGetInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryRefDataGetInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryRefDataGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryRefDataGetInstanceAsResponseAsync( + id: id, + fieldsAppAssetLibraryRefData: fieldsAppAssetLibraryRefData, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryRefDataGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryRefDataGetInstanceArguments( + httpClient: HttpClient, + fieldsAppAssetLibraryRefData: fieldsAppAssetLibraryRefData, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryRefDataGetInstanceSecurityRequirements, + operationName: "AppAssetLibraryRefDataGetInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryRefData/{id}", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("fields[appAssetLibraryRefData]", fieldsAppAssetLibraryRefData, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryRefDataGetInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + fieldsAppAssetLibraryRefData: fieldsAppAssetLibraryRefData, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetInstance", + methodName: "AppAssetLibraryRefDataGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryRefData/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetInstance", + methodName: "AppAssetLibraryRefDataGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryRefData/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetInstance", + methodName: "AppAssetLibraryRefDataGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryRefData/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryRefDataGetInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetInstance", + methodName: "AppAssetLibraryRefDataGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryRefData/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryRefDataGetInstance", + methodName: "AppAssetLibraryRefDataGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryRefData/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryRefDataGetInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryRefDatumResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryRefDatumResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..a49f82051 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.Authorizations.Bearer.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDataClient + { + + /// + public void AuthorizeUsingBearer( + string apiKey) + { + apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); + + for (var i = Authorizations.Count - 1; i >= 0; i--) + { + var __authorization = Authorizations[i]; + if (__authorization.Type == "Http" && + __authorization.Name == "Bearer") + { + Authorizations.RemoveAt(i); + } + } + + Authorizations.Add(new global::AppStoreConnect.EndPointAuthorization + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + Value = apiKey, + }); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.Constructors.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.Constructors.Bearer.g.cs new file mode 100644 index 000000000..476df3041 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.Constructors.Bearer.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDataClient + { + /// + + public AppAssetLibraryRefDataClient( + string apiKey, + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) + { + Authorizing(HttpClient, ref apiKey); + + AuthorizeUsingBearer(apiKey); + + Authorized(HttpClient); + } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.g.cs new file mode 100644 index 000000000..93605e43a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryRefDataClient.g.cs @@ -0,0 +1,143 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class AppAssetLibraryRefDataClient : global::AppStoreConnect.IAppAssetLibraryRefDataClient, global::System.IDisposable + { + /// + /// + /// + public const string DefaultBaseUrl = "https://api.appstoreconnect.apple.com/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::AppStoreConnect.AppAssetLibraryRefDataSourceGenerationContext.Default); + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } + + + /// + /// Creates a new instance of the AppAssetLibraryRefDataClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryRefDataClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryRefDataClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryRefDataClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryRefDataClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryRefDataClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::AppStoreConnect.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideos.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideos.JsonSerializerContext.g.cs new file mode 100644 index 000000000..3c7ca6ae8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideos.JsonSerializerContext.g.cs @@ -0,0 +1,490 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType), TypeInfoPropertyName = "AppAssetLibraryVideoCreateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType), TypeInfoPropertyName = "AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType), TypeInfoPropertyName = "AppAssetLibraryVideoUpdateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem), TypeInfoPropertyName = "AppAssetLibraryVideosGetInstanceIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoCreateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoUpdateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoPlacementsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosGetInstanceIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + internal sealed partial class AppAssetLibraryVideosSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + /// + /// + /// + public sealed partial class AppAssetLibraryVideosSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); + + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + internal static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver => Resolver; + + + private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); + + /// + /// + /// + public static AppAssetLibraryVideosSourceGenerationContext Default { get; } = new(DefaultOptions); + + private AppAssetLibraryVideosSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + : base(options) + { + } + + /// + protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; + + /// + public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) + { + return Resolver.GetTypeInfo(type, Options); + } + + /// + /// Adds this package's converters to . + /// + /// + /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, + /// and a context resolves types from every package below it. Each package contributes only + /// what it owns and calls down the chain for the rest, so the family's converter table is + /// written once rather than copied into all of them. + /// + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) + { + global::AppStoreConnect.PartitionCoreSourceGenerationContext.AddConverters(options); + options.Converters.Add(new LazyEnumJsonConverterFactory()); + } + + private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() + { + var options = new global::System.Text.Json.JsonSerializerOptions + { + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + TypeInfoResolver = Resolver, + }; + AddConverters(options); + + return options; + } + + + private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Serialization.JsonConverterFactory + { + public override bool CanConvert(global::System.Type typeToConvert) + { + return + typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem?); + } + + public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } + throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); + } + } + + private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver + { + private readonly object _gate = new(); + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[2]; + + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( + global::System.Type type, + global::System.Text.Json.JsonSerializerOptions options) + { + for (var index = 0; index < _resolvers.Length; index++) + { + var typeInfo = GetResolver(index).GetTypeInfo(type, options); + if (typeInfo is not null) + { + return typeInfo; + } + } + + return null; + } + + private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) + { + var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); + if (resolver is not null) + { + return resolver; + } + + lock (_gate) + { + return _resolvers[index] ??= CreateResolver(index); + } + } + + private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) + { + return index switch + { + 0 => new AppAssetLibraryVideosSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), + + 1 => global::AppStoreConnect.PartitionCoreSourceGenerationContext.TypeInfoResolver, + _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), + }; + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosCreateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosCreateInstance.g.cs new file mode 100644 index 000000000..0fc14ef9b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosCreateInstance.g.cs @@ -0,0 +1,679 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryVideosClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryVideosCreateInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryVideosCreateInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryVideosCreateInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryVideosCreateInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequest request); + partial void PrepareAppAssetLibraryVideosCreateInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequest request); + partial void ProcessAppAssetLibraryVideosCreateInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryVideosCreateInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryVideosCreateInstanceAsync( + + global::AppStoreConnect.AppAssetLibraryVideoCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryVideosCreateInstanceAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryVideosCreateInstanceAsResponseAsync( + + global::AppStoreConnect.AppAssetLibraryVideoCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryVideosCreateInstanceArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryVideosCreateInstanceSecurityRequirements, + operationName: "AppAssetLibraryVideosCreateInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: "/v1/appAssetLibraryVideos", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryVideosCreateInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosCreateInstance", + methodName: "AppAssetLibraryVideosCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryVideos\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosCreateInstance", + methodName: "AppAssetLibraryVideosCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryVideos\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosCreateInstance", + methodName: "AppAssetLibraryVideosCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryVideos\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryVideosCreateInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosCreateInstance", + methodName: "AppAssetLibraryVideosCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryVideos\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosCreateInstance", + methodName: "AppAssetLibraryVideosCreateInstanceAsync", + pathTemplate: "\"/v1/appAssetLibraryVideos\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unprocessable request entity error(s) + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AppStoreConnect.ErrorResponse? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Request entity error(s) + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::AppStoreConnect.ErrorResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryVideosCreateInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryVideoResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryVideoResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryVideosCreateInstanceAsync( + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AppStoreConnect.AppAssetLibraryVideoCreateRequest + { + Data = data, + }; + + return await AppAssetLibraryVideosCreateInstanceAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosDeleteInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosDeleteInstance.g.cs new file mode 100644 index 000000000..1f9bee7e5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosDeleteInstance.g.cs @@ -0,0 +1,586 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryVideosClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryVideosDeleteInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryVideosDeleteInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryVideosDeleteInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryVideosDeleteInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + ref string id); + partial void PrepareAppAssetLibraryVideosDeleteInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string id); + partial void ProcessAppAssetLibraryVideosDeleteInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryVideosDeleteInstanceAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + await AppAssetLibraryVideosDeleteInstanceAsResponseAsync( + id: id, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryVideosDeleteInstanceAsResponseAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryVideosDeleteInstanceArguments( + httpClient: HttpClient, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryVideosDeleteInstanceSecurityRequirements, + operationName: "AppAssetLibraryVideosDeleteInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryVideos/{id}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryVideosDeleteInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosDeleteInstance", + methodName: "AppAssetLibraryVideosDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosDeleteInstance", + methodName: "AppAssetLibraryVideosDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosDeleteInstance", + methodName: "AppAssetLibraryVideosDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryVideosDeleteInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosDeleteInstance", + methodName: "AppAssetLibraryVideosDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosDeleteInstance", + methodName: "AppAssetLibraryVideosDeleteInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosGetInstance.g.cs new file mode 100644 index 000000000..3069e19c9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosGetInstance.g.cs @@ -0,0 +1,651 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryVideosClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryVideosGetInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryVideosGetInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryVideosGetInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryVideosGetInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? include, + ref int? limitPlacements, + ref string id); + partial void PrepareAppAssetLibraryVideosGetInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? include, + int? limitPlacements, + string id); + partial void ProcessAppAssetLibraryVideosGetInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryVideosGetInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryVideosGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryVideosGetInstanceAsResponseAsync( + id: id, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitPlacements: limitPlacements, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryVideosGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryVideosGetInstanceArguments( + httpClient: HttpClient, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitPlacements: ref limitPlacements, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryVideosGetInstanceSecurityRequirements, + operationName: "AppAssetLibraryVideosGetInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryVideos/{id}", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryVideosGetInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + include: include, + limitPlacements: limitPlacements, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosGetInstance", + methodName: "AppAssetLibraryVideosGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosGetInstance", + methodName: "AppAssetLibraryVideosGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosGetInstance", + methodName: "AppAssetLibraryVideosGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryVideosGetInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosGetInstance", + methodName: "AppAssetLibraryVideosGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosGetInstance", + methodName: "AppAssetLibraryVideosGetInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryVideosGetInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryVideoResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryVideoResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..64ee15444 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelated.g.cs @@ -0,0 +1,801 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryVideosClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryVideosPlacementsGetToManyRelatedSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryVideosPlacementsGetToManyRelatedSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryVideosPlacementsGetToManyRelatedSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryVideosPlacementsGetToManyRelatedArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + ref int? limit, + global::System.Collections.Generic.IList? include, + ref string id); + partial void PrepareAppAssetLibraryVideosPlacementsGetToManyRelatedRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + int? limit, + global::System.Collections.Generic.IList? include, + string id); + partial void ProcessAppAssetLibraryVideosPlacementsGetToManyRelatedResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryVideosPlacementsGetToManyRelatedResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryVideosPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryVideosPlacementsGetToManyRelatedAsResponseAsync( + id: id, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryVideosPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryVideosPlacementsGetToManyRelatedArguments( + httpClient: HttpClient, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: ref limit, + include: include, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryVideosPlacementsGetToManyRelatedSecurityRequirements, + operationName: "AppAssetLibraryVideosPlacementsGetToManyRelatedAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryVideos/{id}/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("filter[placementType]", filterPlacementType, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[placementGroup]", filterPlacementGroup, delimiter: ",", explode: false) + .AddOptionalParameter("filter[state]", filterState, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[image]", filterImage, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appEventLocalization]", filterAppEventLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionLocalization]", filterAppStoreVersionLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appCustomProductPageLocalization]", filterAppCustomProductPageLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionExperimentTreatmentLocalization]", filterAppStoreVersionExperimentTreatmentLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[id]", filterId, delimiter: ",", explode: false) + .AddOptionalParameter("sort", sort, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appEventLocalizations]", fieldsAppEventLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionLocalizations]", fieldsAppStoreVersionLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appCustomProductPageLocalizations]", fieldsAppCustomProductPageLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionExperimentTreatmentLocalizations]", fieldsAppStoreVersionExperimentTreatmentLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryVideosPlacementsGetToManyRelatedRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelated", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelated", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelated", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryVideosPlacementsGetToManyRelatedResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelated", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelated", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryVideosPlacementsGetToManyRelatedResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..f5e8c0f19 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,660 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryVideosClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryVideosPlacementsGetToManyRelationshipSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryVideosPlacementsGetToManyRelationshipSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryVideosPlacementsGetToManyRelationshipSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryVideosPlacementsGetToManyRelationshipArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? limit, + ref string id); + partial void PrepareAppAssetLibraryVideosPlacementsGetToManyRelationshipRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? limit, + string id); + partial void ProcessAppAssetLibraryVideosPlacementsGetToManyRelationshipResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryVideosPlacementsGetToManyRelationshipResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryVideosPlacementsGetToManyRelationshipAsResponseAsync( + id: id, + limit: limit, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryVideosPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryVideosPlacementsGetToManyRelationshipArguments( + httpClient: HttpClient, + limit: ref limit, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryVideosPlacementsGetToManyRelationshipSecurityRequirements, + operationName: "AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryVideos/{id}/relationships/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + ; + var __path = __pathBuilder.ToString(); + + var __pageUrl = global::AppStoreConnect.AutoSDKPager.ResolvePageUrl( + __path, + requestOptions, + global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/")); + if (__pageUrl is not null) + { + __path = __pageUrl; + } + else + { + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + } + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryVideosPlacementsGetToManyRelationshipRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryVideosPlacementsGetToManyRelationshipResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosPlacementsGetToManyRelationship", + methodName: "AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryVideosPlacementsGetToManyRelationshipResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + public global::System.Collections.Generic.IAsyncEnumerable AppAssetLibraryVideosPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::AppStoreConnect.AutoSDKPager.NextUrlAsync( + fetchPage: (__nextUrl, __ct) => AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync( + limit: limit, + id: id, + requestOptions: global::AppStoreConnect.AutoSDKPager.CreatePageRequestOptions(requestOptions, __nextUrl), + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextUrl: static __response => __response is null ? null : __response.Links?.Next, + baseAddress: global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/"), + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosUpdateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosUpdateInstance.g.cs new file mode 100644 index 000000000..3fe7e5347 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.AppAssetLibraryVideosUpdateInstance.g.cs @@ -0,0 +1,728 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppAssetLibraryVideosClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppAssetLibraryVideosUpdateInstanceSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppAssetLibraryVideosUpdateInstanceSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppAssetLibraryVideosUpdateInstanceSecurityRequirement0, + }; + partial void PrepareAppAssetLibraryVideosUpdateInstanceArguments( + global::System.Net.Http.HttpClient httpClient, + ref string id, + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest request); + partial void PrepareAppAssetLibraryVideosUpdateInstanceRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string id, + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest request); + partial void ProcessAppAssetLibraryVideosUpdateInstanceResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppAssetLibraryVideosUpdateInstanceResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryVideosUpdateInstanceAsync( + string id, + + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppAssetLibraryVideosUpdateInstanceAsResponseAsync( + id: id, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppAssetLibraryVideosUpdateInstanceAsResponseAsync( + string id, + + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareAppAssetLibraryVideosUpdateInstanceArguments( + httpClient: HttpClient, + id: ref id, + request: request); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppAssetLibraryVideosUpdateInstanceSecurityRequirements, + operationName: "AppAssetLibraryVideosUpdateInstanceAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appAssetLibraryVideos/{id}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppAssetLibraryVideosUpdateInstanceRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + id: id, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosUpdateInstance", + methodName: "AppAssetLibraryVideosUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosUpdateInstance", + methodName: "AppAssetLibraryVideosUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosUpdateInstance", + methodName: "AppAssetLibraryVideosUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppAssetLibraryVideosUpdateInstanceResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosUpdateInstance", + methodName: "AppAssetLibraryVideosUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppAssetLibraryVideosUpdateInstance", + methodName: "AppAssetLibraryVideosUpdateInstanceAsync", + pathTemplate: "$\"/v1/appAssetLibraryVideos/{id}\"", + httpMethod: "PATCH", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unprocessable request entity error(s) + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AppStoreConnect.ErrorResponse? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AppStoreConnect.ErrorResponse.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Request entity error(s) + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::AppStoreConnect.ErrorResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::AppStoreConnect.ErrorResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppAssetLibraryVideosUpdateInstanceResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryVideoResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryVideoResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppAssetLibraryVideosUpdateInstanceAsync( + string id, + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest + { + Data = data, + }; + + return await AppAssetLibraryVideosUpdateInstanceAsync( + id: id, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..6db8e13e4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.Authorizations.Bearer.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideosClient + { + + /// + public void AuthorizeUsingBearer( + string apiKey) + { + apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); + + for (var i = Authorizations.Count - 1; i >= 0; i--) + { + var __authorization = Authorizations[i]; + if (__authorization.Type == "Http" && + __authorization.Name == "Bearer") + { + Authorizations.RemoveAt(i); + } + } + + Authorizations.Add(new global::AppStoreConnect.EndPointAuthorization + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + Value = apiKey, + }); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.Constructors.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.Constructors.Bearer.g.cs new file mode 100644 index 000000000..5e09ceb1e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.Constructors.Bearer.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideosClient + { + /// + + public AppAssetLibraryVideosClient( + string apiKey, + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) + { + Authorizing(HttpClient, ref apiKey); + + AuthorizeUsingBearer(apiKey); + + Authorized(HttpClient); + } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.g.cs new file mode 100644 index 000000000..d95428875 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppAssetLibraryVideosClient.g.cs @@ -0,0 +1,143 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class AppAssetLibraryVideosClient : global::AppStoreConnect.IAppAssetLibraryVideosClient, global::System.IDisposable + { + /// + /// + /// + public const string DefaultBaseUrl = "https://api.appstoreconnect.apple.com/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::AppStoreConnect.AppAssetLibraryVideosSourceGenerationContext.Default); + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } + + + /// + /// Creates a new instance of the AppAssetLibraryVideosClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryVideosClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryVideosClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryVideosClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the AppAssetLibraryVideosClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public AppAssetLibraryVideosClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::AppStoreConnect.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::AppStoreConnect.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizations.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizations.JsonSerializerContext.g.cs index d9d440f33..167547729 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizations.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizations.JsonSerializerContext.g.cs @@ -28,6 +28,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataType), TypeInfoPropertyName = "AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType), TypeInfoPropertyName = "AppCustomProductPageLocalizationUpdateRequestDataType2")] @@ -40,6 +44,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItem))] @@ -56,6 +64,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppScreenshotSet), TypeInfoPropertyName = "AppCustomProductPageLocalizationsGetInstanceFieldsAppScreenshotSet2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSet), TypeInfoPropertyName = "AppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSet2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem), TypeInfoPropertyName = "AppCustomProductPageLocalizationsGetInstanceIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -85,18 +95,43 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot), TypeInfoPropertyName = "AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationCreateRequestDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationUpdateRequestDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationAppPreviewSetsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationAppPreviewSetsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesRequestDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationSearchKeywordsLinkagesRequestDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageVersion?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageVersion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppScreenshotSet?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsGetInstanceFieldsAppScreenshotSet2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSet?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSet2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsGetInstanceIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet2")] @@ -110,14 +145,28 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -132,6 +181,17 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class AppCustomProductPageLocalizationsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -213,6 +273,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType?) @@ -225,6 +289,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType?) @@ -249,6 +317,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem?) @@ -307,7 +379,51 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem) - || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?); + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem?); } public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( @@ -344,6 +460,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationUpdateRequestDataTypeJsonConverter(); @@ -374,6 +500,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemTypeJsonConverter(); @@ -434,6 +570,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceIncludeItemJsonConverter(); @@ -583,6 +729,116 @@ public override bool CanConvert(global::System.Type typeToConvert) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItemNullableJsonConverter(); } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsGetInstance.g.cs index 37c414e6e..4eb480afb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsGetInstance.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsGetInstance.g.cs @@ -31,9 +31,11 @@ partial void PrepareAppCustomProductPageLocalizationsGetInstanceArguments( global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions, global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, global::System.Collections.Generic.IList? include, ref int? limitAppPreviewSets, ref int? limitAppScreenshotSets, + ref int? limitPlacements, ref int? limitSearchKeywords, ref string id); partial void PrepareAppCustomProductPageLocalizationsGetInstanceRequest( @@ -43,9 +45,11 @@ partial void PrepareAppCustomProductPageLocalizationsGetInstanceRequest( global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions, global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, global::System.Collections.Generic.IList? include, int? limitAppPreviewSets, int? limitAppScreenshotSets, + int? limitPlacements, int? limitSearchKeywords, string id); partial void ProcessAppCustomProductPageLocalizationsGetInstanceResponse( @@ -64,9 +68,11 @@ partial void ProcessAppCustomProductPageLocalizationsGetInstanceResponseContent( /// /// /// + /// /// /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -78,9 +84,11 @@ partial void ProcessAppCustomProductPageLocalizationsGetInstanceResponseContent( global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, int? limitSearchKeywords = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -91,9 +99,11 @@ partial void ProcessAppCustomProductPageLocalizationsGetInstanceResponseContent( fieldsAppCustomProductPageVersions: fieldsAppCustomProductPageVersions, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppPreviewSets: limitAppPreviewSets, limitAppScreenshotSets: limitAppScreenshotSets, + limitPlacements: limitPlacements, limitSearchKeywords: limitSearchKeywords, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -108,9 +118,11 @@ partial void ProcessAppCustomProductPageLocalizationsGetInstanceResponseContent( /// /// /// + /// /// /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -122,9 +134,11 @@ partial void ProcessAppCustomProductPageLocalizationsGetInstanceResponseContent( global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, int? limitSearchKeywords = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -137,9 +151,11 @@ partial void ProcessAppCustomProductPageLocalizationsGetInstanceResponseContent( fieldsAppCustomProductPageVersions: fieldsAppCustomProductPageVersions, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppPreviewSets: ref limitAppPreviewSets, limitAppScreenshotSets: ref limitAppScreenshotSets, + limitPlacements: ref limitPlacements, limitSearchKeywords: ref limitSearchKeywords, id: ref id); @@ -174,9 +190,11 @@ partial void ProcessAppCustomProductPageLocalizationsGetInstanceResponseContent( .AddOptionalParameter("fields[appCustomProductPageVersions]", fieldsAppCustomProductPageVersions, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appScreenshotSets]", fieldsAppScreenshotSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appPreviewSets]", fieldsAppPreviewSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit[appPreviewSets]", limitAppPreviewSets?.ToString()) .AddOptionalParameter("limit[appScreenshotSets]", limitAppScreenshotSets?.ToString()) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) .AddOptionalParameter("limit[searchKeywords]", limitSearchKeywords?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -223,9 +241,11 @@ partial void ProcessAppCustomProductPageLocalizationsGetInstanceResponseContent( fieldsAppCustomProductPageVersions: fieldsAppCustomProductPageVersions, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppPreviewSets: limitAppPreviewSets, limitAppScreenshotSets: limitAppScreenshotSets, + limitPlacements: limitPlacements, limitSearchKeywords: limitSearchKeywords, id: id); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..71a88f751 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelated.g.cs @@ -0,0 +1,801 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppCustomProductPageLocalizationsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSecurityRequirement0, + }; + partial void PrepareAppCustomProductPageLocalizationsPlacementsGetToManyRelatedArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + ref int? limit, + global::System.Collections.Generic.IList? include, + ref string id); + partial void PrepareAppCustomProductPageLocalizationsPlacementsGetToManyRelatedRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + int? limit, + global::System.Collections.Generic.IList? include, + string id); + partial void ProcessAppCustomProductPageLocalizationsPlacementsGetToManyRelatedResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppCustomProductPageLocalizationsPlacementsGetToManyRelatedResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + id: id, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppCustomProductPageLocalizationsPlacementsGetToManyRelatedArguments( + httpClient: HttpClient, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: ref limit, + include: include, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSecurityRequirements, + operationName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appCustomProductPageLocalizations/{id}/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("filter[placementType]", filterPlacementType, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[placementGroup]", filterPlacementGroup, delimiter: ",", explode: false) + .AddOptionalParameter("filter[state]", filterState, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[image]", filterImage, delimiter: ",", explode: false) + .AddOptionalParameter("filter[video]", filterVideo, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appEventLocalization]", filterAppEventLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionLocalization]", filterAppStoreVersionLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionExperimentTreatmentLocalization]", filterAppStoreVersionExperimentTreatmentLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[id]", filterId, delimiter: ",", explode: false) + .AddOptionalParameter("sort", sort, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appEventLocalizations]", fieldsAppEventLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionLocalizations]", fieldsAppStoreVersionLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appCustomProductPageLocalizations]", fieldsAppCustomProductPageLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionExperimentTreatmentLocalizations]", fieldsAppStoreVersionExperimentTreatmentLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppCustomProductPageLocalizationsPlacementsGetToManyRelatedRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelated", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelated", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelated", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppCustomProductPageLocalizationsPlacementsGetToManyRelatedResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelated", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelated", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppCustomProductPageLocalizationsPlacementsGetToManyRelatedResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..f371c2485 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,660 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppCustomProductPageLocalizationsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipSecurityRequirement0, + }; + partial void PrepareAppCustomProductPageLocalizationsPlacementsGetToManyRelationshipArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? limit, + ref string id); + partial void PrepareAppCustomProductPageLocalizationsPlacementsGetToManyRelationshipRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? limit, + string id); + partial void ProcessAppCustomProductPageLocalizationsPlacementsGetToManyRelationshipResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppCustomProductPageLocalizationsPlacementsGetToManyRelationshipResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + id: id, + limit: limit, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppCustomProductPageLocalizationsPlacementsGetToManyRelationshipArguments( + httpClient: HttpClient, + limit: ref limit, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipSecurityRequirements, + operationName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appCustomProductPageLocalizations/{id}/relationships/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + ; + var __path = __pathBuilder.ToString(); + + var __pageUrl = global::AppStoreConnect.AutoSDKPager.ResolvePageUrl( + __path, + requestOptions, + global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/")); + if (__pageUrl is not null) + { + __path = __pageUrl; + } + else + { + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + } + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppCustomProductPageLocalizationsPlacementsGetToManyRelationshipRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationship", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationship", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationship", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppCustomProductPageLocalizationsPlacementsGetToManyRelationshipResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationship", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationship", + methodName: "AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appCustomProductPageLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppCustomProductPageLocalizationsPlacementsGetToManyRelationshipResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + public global::System.Collections.Generic.IAsyncEnumerable AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::AppStoreConnect.AutoSDKPager.NextUrlAsync( + fetchPage: (__nextUrl, __ct) => AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync( + limit: limit, + id: id, + requestOptions: global::AppStoreConnect.AutoSDKPager.CreatePageRequestOptions(requestOptions, __nextUrl), + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextUrl: static __response => __response is null ? null : __response.Links?.Next, + baseAddress: global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/"), + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageVersions.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageVersions.JsonSerializerContext.g.cs index 3af8b522f..3d4528316 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageVersions.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageVersions.JsonSerializerContext.g.cs @@ -56,6 +56,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppScreenshotSet), TypeInfoPropertyName = "AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppScreenshotSet2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSet), TypeInfoPropertyName = "AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSet2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType2")] @@ -72,6 +74,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageVersion?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageVersion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppScreenshotSet?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppScreenshotSet2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSet?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSet2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -83,6 +86,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class AppCustomProductPageVersionsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { @@ -213,6 +217,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem?); @@ -372,6 +380,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItemJsonConverter(); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageVersionsClient.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageVersionsClient.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelated.g.cs index 9c0fe1850..10c902938 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageVersionsClient.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPageVersionsClient.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelated.g.cs @@ -33,11 +33,13 @@ partial void PrepareAppCustomProductPageVersionsAppCustomProductPageLocalization global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, global::System.Collections.Generic.IList? fieldsAppKeywords, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, ref int? limit, global::System.Collections.Generic.IList? include, ref int? limitAppScreenshotSets, ref int? limitAppPreviewSets, ref int? limitSearchKeywords, + ref int? limitPlacements, ref string id); partial void PrepareAppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedRequest( global::System.Net.Http.HttpClient httpClient, @@ -48,11 +50,13 @@ partial void PrepareAppCustomProductPageVersionsAppCustomProductPageLocalization global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, global::System.Collections.Generic.IList? fieldsAppKeywords, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, int? limit, global::System.Collections.Generic.IList? include, int? limitAppScreenshotSets, int? limitAppPreviewSets, int? limitSearchKeywords, + int? limitPlacements, string id); partial void ProcessAppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedResponse( global::System.Net.Http.HttpClient httpClient, @@ -72,11 +76,13 @@ partial void ProcessAppCustomProductPageVersionsAppCustomProductPageLocalization /// /// /// + /// /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -89,11 +95,13 @@ partial void ProcessAppCustomProductPageVersionsAppCustomProductPageLocalization global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, global::System.Collections.Generic.IList? fieldsAppKeywords = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, int? limitSearchKeywords = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -105,11 +113,13 @@ partial void ProcessAppCustomProductPageVersionsAppCustomProductPageLocalization fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, fieldsAppKeywords: fieldsAppKeywords, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: limit, include: include, limitAppScreenshotSets: limitAppScreenshotSets, limitAppPreviewSets: limitAppPreviewSets, limitSearchKeywords: limitSearchKeywords, + limitPlacements: limitPlacements, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -125,11 +135,13 @@ partial void ProcessAppCustomProductPageVersionsAppCustomProductPageLocalization /// /// /// + /// /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -142,11 +154,13 @@ partial void ProcessAppCustomProductPageVersionsAppCustomProductPageLocalization global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, global::System.Collections.Generic.IList? fieldsAppKeywords = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, int? limitSearchKeywords = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -160,11 +174,13 @@ partial void ProcessAppCustomProductPageVersionsAppCustomProductPageLocalization fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, fieldsAppKeywords: fieldsAppKeywords, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: ref limit, include: include, limitAppScreenshotSets: ref limitAppScreenshotSets, limitAppPreviewSets: ref limitAppPreviewSets, limitSearchKeywords: ref limitSearchKeywords, + limitPlacements: ref limitPlacements, id: ref id); @@ -200,11 +216,13 @@ partial void ProcessAppCustomProductPageVersionsAppCustomProductPageLocalization .AddOptionalParameter("fields[appScreenshotSets]", fieldsAppScreenshotSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appPreviewSets]", fieldsAppPreviewSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appKeywords]", fieldsAppKeywords, delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit[appScreenshotSets]", limitAppScreenshotSets?.ToString()) .AddOptionalParameter("limit[appPreviewSets]", limitAppPreviewSets?.ToString()) .AddOptionalParameter("limit[searchKeywords]", limitSearchKeywords?.ToString()) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -252,11 +270,13 @@ partial void ProcessAppCustomProductPageVersionsAppCustomProductPageLocalization fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, fieldsAppKeywords: fieldsAppKeywords, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: limit, include: include, limitAppScreenshotSets: limitAppScreenshotSets, limitAppPreviewSets: limitAppPreviewSets, limitSearchKeywords: limitSearchKeywords, + limitPlacements: limitPlacements, id: id); return __httpRequest; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPages.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPages.JsonSerializerContext.g.cs index a94173c1a..d6c482bb2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPages.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppCustomProductPages.JsonSerializerContext.g.cs @@ -20,6 +20,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataType), TypeInfoPropertyName = "AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionInlineCreate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionInlineCreateType), TypeInfoPropertyName = "AppCustomProductPageVersionInlineCreateType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionInlineCreateAttributes))] @@ -85,6 +89,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationInlineCreateType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionInlineCreateType?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionInlineCreateType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageDataType?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageLocalizationsDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageLocalizationsDataItemType2")] @@ -107,6 +112,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPage?), TypeInfoPropertyName = "NullableAppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] @@ -198,6 +204,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionInlineCreateType) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionInlineCreateType?) @@ -307,6 +317,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionInlineCreateType)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionInlineCreateTypeJsonConverter(); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizations.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizations.JsonSerializerContext.g.cs index 6d8ea9fb1..1008e95b1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizations.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizations.JsonSerializerContext.g.cs @@ -24,6 +24,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEventData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEventDataType), TypeInfoPropertyName = "AppEventLocalizationCreateRequestDataRelationshipsAppEventDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequestData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType), TypeInfoPropertyName = "AppEventLocalizationUpdateRequestDataType2")] @@ -38,6 +42,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppEventLocalizationPlacementsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventLocalization), TypeInfoPropertyName = "AppEventLocalizationsGetInstanceFieldsAppEventLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -46,6 +54,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventScreenshot), TypeInfoPropertyName = "AppEventLocalizationsGetInstanceFieldsAppEventScreenshot2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventVideoClip), TypeInfoPropertyName = "AppEventLocalizationsGetInstanceFieldsAppEventVideoClip2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem), TypeInfoPropertyName = "AppEventLocalizationsGetInstanceIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -60,16 +70,41 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization), TypeInfoPropertyName = "AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppEventLocalizationResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataType?), TypeInfoPropertyName = "NullableAppEventLocalizationCreateRequestDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEventDataType?), TypeInfoPropertyName = "NullableAppEventLocalizationCreateRequestDataRelationshipsAppEventDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType?), TypeInfoPropertyName = "NullableAppEventLocalizationUpdateRequestDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationAppEventScreenshotsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppEventLocalizationAppEventScreenshotsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppEventLocalizationPlacementsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppEventLocalizationsGetInstanceFieldsAppEventLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEvent?), TypeInfoPropertyName = "NullableAppEventLocalizationsGetInstanceFieldsAppEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventScreenshot?), TypeInfoPropertyName = "NullableAppEventLocalizationsGetInstanceFieldsAppEventScreenshot2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventVideoClip?), TypeInfoPropertyName = "NullableAppEventLocalizationsGetInstanceFieldsAppEventVideoClip2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem?), TypeInfoPropertyName = "NullableAppEventLocalizationsGetInstanceIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventScreenshot?), TypeInfoPropertyName = "NullableAppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventScreenshot2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization2")] @@ -77,12 +112,26 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventVideoClip?), TypeInfoPropertyName = "NullableAppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventVideoClip2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppEventLocalizationsPlacementsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -90,6 +139,17 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class AppEventLocalizationsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -171,6 +231,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEventDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType?) @@ -183,6 +247,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventLocalization) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventLocalization?) @@ -199,6 +267,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventVideoClip?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem?) @@ -225,7 +297,51 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem) - || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem?); + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem?); } public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( @@ -262,6 +378,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsAppEventDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType)) { return new global::AppStoreConnect.JsonConverters.AppEventLocalizationUpdateRequestDataTypeJsonConverter(); @@ -292,6 +418,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventLocalization)) { return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppEventLocalizationJsonConverter(); @@ -332,6 +468,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppEventVideoClipNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceIncludeItemJsonConverter(); @@ -401,6 +547,116 @@ public override bool CanConvert(global::System.Type typeToConvert) { return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItemNullableJsonConverter(); } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsGetInstance.g.cs index 61f9b1d73..23af8d561 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsGetInstance.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsGetInstance.g.cs @@ -31,9 +31,11 @@ partial void PrepareAppEventLocalizationsGetInstanceArguments( global::System.Collections.Generic.IList? fieldsAppEvents, global::System.Collections.Generic.IList? fieldsAppEventScreenshots, global::System.Collections.Generic.IList? fieldsAppEventVideoClips, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, global::System.Collections.Generic.IList? include, ref int? limitAppEventScreenshots, ref int? limitAppEventVideoClips, + ref int? limitPlacements, ref string id); partial void PrepareAppEventLocalizationsGetInstanceRequest( global::System.Net.Http.HttpClient httpClient, @@ -42,9 +44,11 @@ partial void PrepareAppEventLocalizationsGetInstanceRequest( global::System.Collections.Generic.IList? fieldsAppEvents, global::System.Collections.Generic.IList? fieldsAppEventScreenshots, global::System.Collections.Generic.IList? fieldsAppEventVideoClips, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, global::System.Collections.Generic.IList? include, int? limitAppEventScreenshots, int? limitAppEventVideoClips, + int? limitPlacements, string id); partial void ProcessAppEventLocalizationsGetInstanceResponse( global::System.Net.Http.HttpClient httpClient, @@ -62,9 +66,11 @@ partial void ProcessAppEventLocalizationsGetInstanceResponseContent( /// /// /// + /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -75,9 +81,11 @@ partial void ProcessAppEventLocalizationsGetInstanceResponseContent( global::System.Collections.Generic.IList? fieldsAppEvents = default, global::System.Collections.Generic.IList? fieldsAppEventScreenshots = default, global::System.Collections.Generic.IList? fieldsAppEventVideoClips = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppEventScreenshots = default, int? limitAppEventVideoClips = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -87,9 +95,11 @@ partial void ProcessAppEventLocalizationsGetInstanceResponseContent( fieldsAppEvents: fieldsAppEvents, fieldsAppEventScreenshots: fieldsAppEventScreenshots, fieldsAppEventVideoClips: fieldsAppEventVideoClips, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppEventScreenshots: limitAppEventScreenshots, limitAppEventVideoClips: limitAppEventVideoClips, + limitPlacements: limitPlacements, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -103,9 +113,11 @@ partial void ProcessAppEventLocalizationsGetInstanceResponseContent( /// /// /// + /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -116,9 +128,11 @@ partial void ProcessAppEventLocalizationsGetInstanceResponseContent( global::System.Collections.Generic.IList? fieldsAppEvents = default, global::System.Collections.Generic.IList? fieldsAppEventScreenshots = default, global::System.Collections.Generic.IList? fieldsAppEventVideoClips = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppEventScreenshots = default, int? limitAppEventVideoClips = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -130,9 +144,11 @@ partial void ProcessAppEventLocalizationsGetInstanceResponseContent( fieldsAppEvents: fieldsAppEvents, fieldsAppEventScreenshots: fieldsAppEventScreenshots, fieldsAppEventVideoClips: fieldsAppEventVideoClips, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppEventScreenshots: ref limitAppEventScreenshots, limitAppEventVideoClips: ref limitAppEventVideoClips, + limitPlacements: ref limitPlacements, id: ref id); @@ -166,9 +182,11 @@ partial void ProcessAppEventLocalizationsGetInstanceResponseContent( .AddOptionalParameter("fields[appEvents]", fieldsAppEvents, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appEventScreenshots]", fieldsAppEventScreenshots, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appEventVideoClips]", fieldsAppEventVideoClips, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit[appEventScreenshots]", limitAppEventScreenshots?.ToString()) .AddOptionalParameter("limit[appEventVideoClips]", limitAppEventVideoClips?.ToString()) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -214,9 +232,11 @@ partial void ProcessAppEventLocalizationsGetInstanceResponseContent( fieldsAppEvents: fieldsAppEvents, fieldsAppEventScreenshots: fieldsAppEventScreenshots, fieldsAppEventVideoClips: fieldsAppEventVideoClips, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppEventScreenshots: limitAppEventScreenshots, limitAppEventVideoClips: limitAppEventVideoClips, + limitPlacements: limitPlacements, id: id); return __httpRequest; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..c5a2967a9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelated.g.cs @@ -0,0 +1,801 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppEventLocalizationsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppEventLocalizationsPlacementsGetToManyRelatedSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppEventLocalizationsPlacementsGetToManyRelatedSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppEventLocalizationsPlacementsGetToManyRelatedSecurityRequirement0, + }; + partial void PrepareAppEventLocalizationsPlacementsGetToManyRelatedArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + ref int? limit, + global::System.Collections.Generic.IList? include, + ref string id); + partial void PrepareAppEventLocalizationsPlacementsGetToManyRelatedRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + int? limit, + global::System.Collections.Generic.IList? include, + string id); + partial void ProcessAppEventLocalizationsPlacementsGetToManyRelatedResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppEventLocalizationsPlacementsGetToManyRelatedResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppEventLocalizationsPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppEventLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + id: id, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppEventLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppEventLocalizationsPlacementsGetToManyRelatedArguments( + httpClient: HttpClient, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: ref limit, + include: include, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppEventLocalizationsPlacementsGetToManyRelatedSecurityRequirements, + operationName: "AppEventLocalizationsPlacementsGetToManyRelatedAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appEventLocalizations/{id}/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("filter[placementType]", filterPlacementType, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[placementGroup]", filterPlacementGroup, delimiter: ",", explode: false) + .AddOptionalParameter("filter[state]", filterState, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[image]", filterImage, delimiter: ",", explode: false) + .AddOptionalParameter("filter[video]", filterVideo, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionLocalization]", filterAppStoreVersionLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appCustomProductPageLocalization]", filterAppCustomProductPageLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionExperimentTreatmentLocalization]", filterAppStoreVersionExperimentTreatmentLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[id]", filterId, delimiter: ",", explode: false) + .AddOptionalParameter("sort", sort, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appEventLocalizations]", fieldsAppEventLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionLocalizations]", fieldsAppStoreVersionLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appCustomProductPageLocalizations]", fieldsAppCustomProductPageLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionExperimentTreatmentLocalizations]", fieldsAppStoreVersionExperimentTreatmentLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppEventLocalizationsPlacementsGetToManyRelatedRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelated", + methodName: "AppEventLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelated", + methodName: "AppEventLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelated", + methodName: "AppEventLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppEventLocalizationsPlacementsGetToManyRelatedResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelated", + methodName: "AppEventLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelated", + methodName: "AppEventLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppEventLocalizationsPlacementsGetToManyRelatedResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..04b43745a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,660 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppEventLocalizationsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppEventLocalizationsPlacementsGetToManyRelationshipSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppEventLocalizationsPlacementsGetToManyRelationshipSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppEventLocalizationsPlacementsGetToManyRelationshipSecurityRequirement0, + }; + partial void PrepareAppEventLocalizationsPlacementsGetToManyRelationshipArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? limit, + ref string id); + partial void PrepareAppEventLocalizationsPlacementsGetToManyRelationshipRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? limit, + string id); + partial void ProcessAppEventLocalizationsPlacementsGetToManyRelationshipResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppEventLocalizationsPlacementsGetToManyRelationshipResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppEventLocalizationsPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppEventLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + id: id, + limit: limit, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppEventLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppEventLocalizationsPlacementsGetToManyRelationshipArguments( + httpClient: HttpClient, + limit: ref limit, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppEventLocalizationsPlacementsGetToManyRelationshipSecurityRequirements, + operationName: "AppEventLocalizationsPlacementsGetToManyRelationshipAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appEventLocalizations/{id}/relationships/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + ; + var __path = __pathBuilder.ToString(); + + var __pageUrl = global::AppStoreConnect.AutoSDKPager.ResolvePageUrl( + __path, + requestOptions, + global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/")); + if (__pageUrl is not null) + { + __path = __pageUrl; + } + else + { + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + } + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppEventLocalizationsPlacementsGetToManyRelationshipRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelationship", + methodName: "AppEventLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelationship", + methodName: "AppEventLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelationship", + methodName: "AppEventLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppEventLocalizationsPlacementsGetToManyRelationshipResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelationship", + methodName: "AppEventLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppEventLocalizationsPlacementsGetToManyRelationship", + methodName: "AppEventLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appEventLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppEventLocalizationsPlacementsGetToManyRelationshipResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps AppEventLocalizationsPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + public global::System.Collections.Generic.IAsyncEnumerable AppEventLocalizationsPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::AppStoreConnect.AutoSDKPager.NextUrlAsync( + fetchPage: (__nextUrl, __ct) => AppEventLocalizationsPlacementsGetToManyRelationshipAsync( + limit: limit, + id: id, + requestOptions: global::AppStoreConnect.AutoSDKPager.CreatePageRequestOptions(requestOptions, __nextUrl), + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextUrl: static __response => __response is null ? null : __response.Links?.Next, + baseAddress: global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/"), + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEvents.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEvents.JsonSerializerContext.g.cs index 81c25abc9..105bc0fd2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEvents.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEvents.JsonSerializerContext.g.cs @@ -57,6 +57,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventScreenshot), TypeInfoPropertyName = "AppEventsLocalizationsGetToManyRelatedFieldsAppEventScreenshot2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClip), TypeInfoPropertyName = "AppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClip2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppEventsLocalizationsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppEventLocalizationsResponseIncludedItemDiscriminatorType2")] @@ -77,6 +79,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEvent?), TypeInfoPropertyName = "NullableAppEventsLocalizationsGetToManyRelatedFieldsAppEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventScreenshot?), TypeInfoPropertyName = "NullableAppEventsLocalizationsGetToManyRelatedFieldsAppEventScreenshot2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClip?), TypeInfoPropertyName = "NullableAppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClip2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppEventsLocalizationsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -88,6 +91,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class AppEventsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { @@ -230,6 +234,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClip?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem?); @@ -419,6 +427,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClipNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedIncludeItemJsonConverter(); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventsClient.AppEventsLocalizationsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventsClient.AppEventsLocalizationsGetToManyRelated.g.cs index a272e4f0f..016b3340b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventsClient.AppEventsLocalizationsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppEventsClient.AppEventsLocalizationsGetToManyRelated.g.cs @@ -31,10 +31,12 @@ partial void PrepareAppEventsLocalizationsGetToManyRelatedArguments( global::System.Collections.Generic.IList? fieldsAppEvents, global::System.Collections.Generic.IList? fieldsAppEventScreenshots, global::System.Collections.Generic.IList? fieldsAppEventVideoClips, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, ref int? limit, global::System.Collections.Generic.IList? include, ref int? limitAppEventScreenshots, ref int? limitAppEventVideoClips, + ref int? limitPlacements, ref string id); partial void PrepareAppEventsLocalizationsGetToManyRelatedRequest( global::System.Net.Http.HttpClient httpClient, @@ -43,10 +45,12 @@ partial void PrepareAppEventsLocalizationsGetToManyRelatedRequest( global::System.Collections.Generic.IList? fieldsAppEvents, global::System.Collections.Generic.IList? fieldsAppEventScreenshots, global::System.Collections.Generic.IList? fieldsAppEventVideoClips, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, int? limit, global::System.Collections.Generic.IList? include, int? limitAppEventScreenshots, int? limitAppEventVideoClips, + int? limitPlacements, string id); partial void ProcessAppEventsLocalizationsGetToManyRelatedResponse( global::System.Net.Http.HttpClient httpClient, @@ -64,10 +68,12 @@ partial void ProcessAppEventsLocalizationsGetToManyRelatedResponseContent( /// /// /// + /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -78,10 +84,12 @@ partial void ProcessAppEventsLocalizationsGetToManyRelatedResponseContent( global::System.Collections.Generic.IList? fieldsAppEvents = default, global::System.Collections.Generic.IList? fieldsAppEventScreenshots = default, global::System.Collections.Generic.IList? fieldsAppEventVideoClips = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppEventScreenshots = default, int? limitAppEventVideoClips = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -91,10 +99,12 @@ partial void ProcessAppEventsLocalizationsGetToManyRelatedResponseContent( fieldsAppEvents: fieldsAppEvents, fieldsAppEventScreenshots: fieldsAppEventScreenshots, fieldsAppEventVideoClips: fieldsAppEventVideoClips, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: limit, include: include, limitAppEventScreenshots: limitAppEventScreenshots, limitAppEventVideoClips: limitAppEventVideoClips, + limitPlacements: limitPlacements, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -108,10 +118,12 @@ partial void ProcessAppEventsLocalizationsGetToManyRelatedResponseContent( /// /// /// + /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -122,10 +134,12 @@ partial void ProcessAppEventsLocalizationsGetToManyRelatedResponseContent( global::System.Collections.Generic.IList? fieldsAppEvents = default, global::System.Collections.Generic.IList? fieldsAppEventScreenshots = default, global::System.Collections.Generic.IList? fieldsAppEventVideoClips = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppEventScreenshots = default, int? limitAppEventVideoClips = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -137,10 +151,12 @@ partial void ProcessAppEventsLocalizationsGetToManyRelatedResponseContent( fieldsAppEvents: fieldsAppEvents, fieldsAppEventScreenshots: fieldsAppEventScreenshots, fieldsAppEventVideoClips: fieldsAppEventVideoClips, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: ref limit, include: include, limitAppEventScreenshots: ref limitAppEventScreenshots, limitAppEventVideoClips: ref limitAppEventVideoClips, + limitPlacements: ref limitPlacements, id: ref id); @@ -174,10 +190,12 @@ partial void ProcessAppEventsLocalizationsGetToManyRelatedResponseContent( .AddOptionalParameter("fields[appEvents]", fieldsAppEvents, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appEventScreenshots]", fieldsAppEventScreenshots, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appEventVideoClips]", fieldsAppEventVideoClips, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit[appEventScreenshots]", limitAppEventScreenshots?.ToString()) .AddOptionalParameter("limit[appEventVideoClips]", limitAppEventVideoClips?.ToString()) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -223,10 +241,12 @@ partial void ProcessAppEventsLocalizationsGetToManyRelatedResponseContent( fieldsAppEvents: fieldsAppEvents, fieldsAppEventScreenshots: fieldsAppEventScreenshots, fieldsAppEventVideoClips: fieldsAppEventVideoClips, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: limit, include: include, limitAppEventScreenshots: limitAppEventScreenshots, limitAppEventVideoClips: limitAppEventVideoClips, + limitPlacements: limitPlacements, id: id); return __httpRequest; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreConnectClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreConnectClient.g.cs index 6e0cbd50a..cd9ccf419 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreConnectClient.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreConnectClient.g.cs @@ -172,6 +172,60 @@ public sealed partial class AppStoreConnectClient : global::AppStoreConnect.IApp JsonSerializerContextProvider = JsonSerializerContextProvider, }; + /// + /// + /// + public AppAssetLibrariesClient AppAssetLibraries => new AppAssetLibrariesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContextProvider = JsonSerializerContextProvider, + }; + + /// + /// + /// + public AppAssetLibraryImagesClient AppAssetLibraryImages => new AppAssetLibraryImagesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContextProvider = JsonSerializerContextProvider, + }; + + /// + /// + /// + public AppAssetLibraryPlacementOrderingRequestsClient AppAssetLibraryPlacementOrderingRequests => new AppAssetLibraryPlacementOrderingRequestsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContextProvider = JsonSerializerContextProvider, + }; + + /// + /// + /// + public AppAssetLibraryPlacementsClient AppAssetLibraryPlacements => new AppAssetLibraryPlacementsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContextProvider = JsonSerializerContextProvider, + }; + + /// + /// + /// + public AppAssetLibraryRefDataClient AppAssetLibraryRefData => new AppAssetLibraryRefDataClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContextProvider = JsonSerializerContextProvider, + }; + + /// + /// + /// + public AppAssetLibraryVideosClient AppAssetLibraryVideos => new AppAssetLibraryVideosClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContextProvider = JsonSerializerContextProvider, + }; + /// /// /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizations.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizations.JsonSerializerContext.g.cs index 9e6d41962..ee95b078f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizations.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizations.JsonSerializerContext.g.cs @@ -25,6 +25,12 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionEx_8adc65ada4084838")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimen_a975794664fec5db")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimen_4658ba6705bcf504")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentDataType?), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTr_43c2796e08bf184e")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -43,6 +49,9 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionEx_a65d611de6496175")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimen_e324ed053025f2c0")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExper_33f5e75071f21833")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -51,6 +60,9 @@ namespace AppStoreConnect #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionEx_691486c9f965f620")] #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimen_f69f3afe5b565074")] + #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] @@ -89,6 +101,18 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentDataType), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentDataType2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponse))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -113,6 +137,18 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemType2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -137,6 +173,12 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSet), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSet2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -212,18 +254,84 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationCreateRequestDataType2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItemType2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemType2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -236,6 +344,9 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSet?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSet2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -266,12 +377,48 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -284,6 +431,9 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -319,6 +469,36 @@ namespace AppStoreConnect #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 internal sealed partial class AppStoreVersionExperimentTreatmentLocalizationsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -400,6 +580,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItemType?) @@ -408,6 +592,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization?) @@ -424,6 +612,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem?) @@ -482,7 +674,51 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem) - || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?); + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem?); } public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( @@ -519,6 +755,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItemTypeJsonConverter(); @@ -539,6 +785,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); @@ -579,6 +835,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItemJsonConverter(); @@ -728,6 +994,116 @@ public override bool CanConvert(global::System.Type typeToConvert) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItemNullableJsonConverter(); } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsGetInstance.g.cs index b099a2901..b05ae3d54 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsGetInstance.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsGetInstance.g.cs @@ -31,9 +31,11 @@ partial void PrepareAppStoreVersionExperimentTreatmentLocalizationsGetInstanceAr global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments, global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, global::System.Collections.Generic.IList? include, ref int? limitAppPreviewSets, ref int? limitAppScreenshotSets, + ref int? limitPlacements, ref string id); partial void PrepareAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRequest( global::System.Net.Http.HttpClient httpClient, @@ -42,9 +44,11 @@ partial void PrepareAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRe global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments, global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, global::System.Collections.Generic.IList? include, int? limitAppPreviewSets, int? limitAppScreenshotSets, + int? limitPlacements, string id); partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsGetInstanceResponse( global::System.Net.Http.HttpClient httpClient, @@ -62,9 +66,11 @@ partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRe /// /// /// + /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -75,9 +81,11 @@ partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRe global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -87,9 +95,11 @@ partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRe fieldsAppStoreVersionExperimentTreatments: fieldsAppStoreVersionExperimentTreatments, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppPreviewSets: limitAppPreviewSets, limitAppScreenshotSets: limitAppScreenshotSets, + limitPlacements: limitPlacements, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -103,9 +113,11 @@ partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRe /// /// /// + /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -116,9 +128,11 @@ partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRe global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -130,9 +144,11 @@ partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRe fieldsAppStoreVersionExperimentTreatments: fieldsAppStoreVersionExperimentTreatments, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppPreviewSets: ref limitAppPreviewSets, limitAppScreenshotSets: ref limitAppScreenshotSets, + limitPlacements: ref limitPlacements, id: ref id); @@ -166,9 +182,11 @@ partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRe .AddOptionalParameter("fields[appStoreVersionExperimentTreatments]", fieldsAppStoreVersionExperimentTreatments, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appScreenshotSets]", fieldsAppScreenshotSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appPreviewSets]", fieldsAppPreviewSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit[appPreviewSets]", limitAppPreviewSets?.ToString()) .AddOptionalParameter("limit[appScreenshotSets]", limitAppScreenshotSets?.ToString()) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -214,9 +232,11 @@ partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsGetInstanceRe fieldsAppStoreVersionExperimentTreatments: fieldsAppStoreVersionExperimentTreatments, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppPreviewSets: limitAppPreviewSets, limitAppScreenshotSets: limitAppScreenshotSets, + limitPlacements: limitPlacements, id: id); return __httpRequest; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..b6d71a9ed --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated.g.cs @@ -0,0 +1,801 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppStoreVersionExperimentTreatmentLocalizationsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSecurityRequirement0, + }; + partial void PrepareAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + ref int? limit, + global::System.Collections.Generic.IList? include, + ref string id); + partial void PrepareAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + int? limit, + global::System.Collections.Generic.IList? include, + string id); + partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + id: id, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedArguments( + httpClient: HttpClient, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: ref limit, + include: include, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSecurityRequirements, + operationName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("filter[placementType]", filterPlacementType, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[placementGroup]", filterPlacementGroup, delimiter: ",", explode: false) + .AddOptionalParameter("filter[state]", filterState, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[image]", filterImage, delimiter: ",", explode: false) + .AddOptionalParameter("filter[video]", filterVideo, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appEventLocalization]", filterAppEventLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionLocalization]", filterAppStoreVersionLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appCustomProductPageLocalization]", filterAppCustomProductPageLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[id]", filterId, delimiter: ",", explode: false) + .AddOptionalParameter("sort", sort, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appEventLocalizations]", fieldsAppEventLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionLocalizations]", fieldsAppStoreVersionLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appCustomProductPageLocalizations]", fieldsAppCustomProductPageLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionExperimentTreatmentLocalizations]", fieldsAppStoreVersionExperimentTreatmentLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppStoreVersionLocalization: filterAppStoreVersionLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..61492ebd3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,660 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppStoreVersionExperimentTreatmentLocalizationsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipSecurityRequirement0, + }; + partial void PrepareAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? limit, + ref string id); + partial void PrepareAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? limit, + string id); + partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + id: id, + limit: limit, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipArguments( + httpClient: HttpClient, + limit: ref limit, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipSecurityRequirements, + operationName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + ; + var __path = __pathBuilder.ToString(); + + var __pageUrl = global::AppStoreConnect.AutoSDKPager.ResolvePageUrl( + __path, + requestOptions, + global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/")); + if (__pageUrl is not null) + { + __path = __pageUrl; + } + else + { + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + } + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + public global::System.Collections.Generic.IAsyncEnumerable AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::AppStoreConnect.AutoSDKPager.NextUrlAsync( + fetchPage: (__nextUrl, __ct) => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync( + limit: limit, + id: id, + requestOptions: global::AppStoreConnect.AutoSDKPager.CreatePageRequestOptions(requestOptions, __nextUrl), + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextUrl: static __response => __response is null ? null : __response.Links?.Next, + baseAddress: global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/"), + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatments.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatments.JsonSerializerContext.g.cs index 5cb815aa6..371fa4f23 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatments.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatments.JsonSerializerContext.g.cs @@ -28,6 +28,12 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedField_aaf09bf343131407")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedField_4a31bd6ceb6271ab")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedField_d9eabcce6b048b95")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedField_9b56843cbb119421")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -40,6 +46,9 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppPreviewSet?), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedField_e51e31bac926e5ef")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedField_4d0a3add0d093200")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedField_c6a4ef67d8d381d9")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -51,6 +60,9 @@ namespace AppStoreConnect #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedField_11b407031b4045cf")] #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedField_4a2e1176f86d38a5")] + #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] @@ -349,6 +361,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem?); @@ -508,6 +524,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItemJsonConverter(); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentsClient.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentsClient.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelated.g.cs index d9844f5e3..b872730ce 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentsClient.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionExperimentTreatmentsClient.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelated.g.cs @@ -32,10 +32,12 @@ partial void PrepareAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments, global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, ref int? limit, global::System.Collections.Generic.IList? include, ref int? limitAppScreenshotSets, ref int? limitAppPreviewSets, + ref int? limitPlacements, ref string id); partial void PrepareAppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedRequest( global::System.Net.Http.HttpClient httpClient, @@ -45,10 +47,12 @@ partial void PrepareAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments, global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, int? limit, global::System.Collections.Generic.IList? include, int? limitAppScreenshotSets, int? limitAppPreviewSets, + int? limitPlacements, string id); partial void ProcessAppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedResponse( global::System.Net.Http.HttpClient httpClient, @@ -67,10 +71,12 @@ partial void ProcessAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment /// /// /// + /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -82,10 +88,12 @@ partial void ProcessAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -96,10 +104,12 @@ partial void ProcessAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment fieldsAppStoreVersionExperimentTreatments: fieldsAppStoreVersionExperimentTreatments, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: limit, include: include, limitAppScreenshotSets: limitAppScreenshotSets, limitAppPreviewSets: limitAppPreviewSets, + limitPlacements: limitPlacements, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -114,10 +124,12 @@ partial void ProcessAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment /// /// /// + /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -129,10 +141,12 @@ partial void ProcessAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -145,10 +159,12 @@ partial void ProcessAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment fieldsAppStoreVersionExperimentTreatments: fieldsAppStoreVersionExperimentTreatments, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: ref limit, include: include, limitAppScreenshotSets: ref limitAppScreenshotSets, limitAppPreviewSets: ref limitAppPreviewSets, + limitPlacements: ref limitPlacements, id: ref id); @@ -183,10 +199,12 @@ partial void ProcessAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment .AddOptionalParameter("fields[appStoreVersionExperimentTreatments]", fieldsAppStoreVersionExperimentTreatments, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appScreenshotSets]", fieldsAppScreenshotSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appPreviewSets]", fieldsAppPreviewSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit[appScreenshotSets]", limitAppScreenshotSets?.ToString()) .AddOptionalParameter("limit[appPreviewSets]", limitAppPreviewSets?.ToString()) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -233,10 +251,12 @@ partial void ProcessAppStoreVersionExperimentTreatmentsAppStoreVersionExperiment fieldsAppStoreVersionExperimentTreatments: fieldsAppStoreVersionExperimentTreatments, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: limit, include: include, limitAppScreenshotSets: limitAppScreenshotSets, limitAppPreviewSets: limitAppPreviewSets, + limitPlacements: limitPlacements, id: id); return __httpRequest; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizations.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizations.JsonSerializerContext.g.cs index 56bdd8759..c4175af56 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizations.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizations.JsonSerializerContext.g.cs @@ -25,6 +25,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataType), TypeInfoPropertyName = "AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType), TypeInfoPropertyName = "AppStoreVersionLocalizationUpdateRequestDataType2")] @@ -37,6 +41,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItem))] @@ -53,6 +61,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppScreenshotSet), TypeInfoPropertyName = "AppStoreVersionLocalizationsGetInstanceFieldsAppScreenshotSet2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSet), TypeInfoPropertyName = "AppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSet2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem), TypeInfoPropertyName = "AppStoreVersionLocalizationsGetInstanceIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -83,18 +93,43 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot), TypeInfoPropertyName = "AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationCreateRequestDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationUpdateRequestDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationAppPreviewSetsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationAppPreviewSetsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesRequestDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationSearchKeywordsLinkagesRequestDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersion?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppScreenshotSet?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsGetInstanceFieldsAppScreenshotSet2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSet?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSet2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsGetInstanceIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet2")] @@ -109,14 +144,28 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -132,6 +181,17 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class AppStoreVersionLocalizationsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -213,6 +273,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType?) @@ -225,6 +289,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType?) @@ -249,6 +317,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem?) @@ -307,7 +379,51 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem) - || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?); + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem?); } public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( @@ -344,6 +460,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationUpdateRequestDataTypeJsonConverter(); @@ -374,6 +500,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemTypeJsonConverter(); @@ -434,6 +570,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceIncludeItemJsonConverter(); @@ -583,6 +729,116 @@ public override bool CanConvert(global::System.Type typeToConvert) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItemNullableJsonConverter(); } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsGetInstance.g.cs index 95ae45f8a..cb1794dcf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsGetInstance.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsGetInstance.g.cs @@ -31,9 +31,11 @@ partial void PrepareAppStoreVersionLocalizationsGetInstanceArguments( global::System.Collections.Generic.IList? fieldsAppStoreVersions, global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, global::System.Collections.Generic.IList? include, ref int? limitAppPreviewSets, ref int? limitAppScreenshotSets, + ref int? limitPlacements, ref int? limitSearchKeywords, ref string id); partial void PrepareAppStoreVersionLocalizationsGetInstanceRequest( @@ -43,9 +45,11 @@ partial void PrepareAppStoreVersionLocalizationsGetInstanceRequest( global::System.Collections.Generic.IList? fieldsAppStoreVersions, global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, global::System.Collections.Generic.IList? include, int? limitAppPreviewSets, int? limitAppScreenshotSets, + int? limitPlacements, int? limitSearchKeywords, string id); partial void ProcessAppStoreVersionLocalizationsGetInstanceResponse( @@ -64,9 +68,11 @@ partial void ProcessAppStoreVersionLocalizationsGetInstanceResponseContent( /// /// /// + /// /// /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -78,9 +84,11 @@ partial void ProcessAppStoreVersionLocalizationsGetInstanceResponseContent( global::System.Collections.Generic.IList? fieldsAppStoreVersions = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, int? limitSearchKeywords = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -91,9 +99,11 @@ partial void ProcessAppStoreVersionLocalizationsGetInstanceResponseContent( fieldsAppStoreVersions: fieldsAppStoreVersions, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppPreviewSets: limitAppPreviewSets, limitAppScreenshotSets: limitAppScreenshotSets, + limitPlacements: limitPlacements, limitSearchKeywords: limitSearchKeywords, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -108,9 +118,11 @@ partial void ProcessAppStoreVersionLocalizationsGetInstanceResponseContent( /// /// /// + /// /// /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -122,9 +134,11 @@ partial void ProcessAppStoreVersionLocalizationsGetInstanceResponseContent( global::System.Collections.Generic.IList? fieldsAppStoreVersions = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, int? limitSearchKeywords = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -137,9 +151,11 @@ partial void ProcessAppStoreVersionLocalizationsGetInstanceResponseContent( fieldsAppStoreVersions: fieldsAppStoreVersions, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppPreviewSets: ref limitAppPreviewSets, limitAppScreenshotSets: ref limitAppScreenshotSets, + limitPlacements: ref limitPlacements, limitSearchKeywords: ref limitSearchKeywords, id: ref id); @@ -174,9 +190,11 @@ partial void ProcessAppStoreVersionLocalizationsGetInstanceResponseContent( .AddOptionalParameter("fields[appStoreVersions]", fieldsAppStoreVersions, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appScreenshotSets]", fieldsAppScreenshotSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appPreviewSets]", fieldsAppPreviewSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit[appPreviewSets]", limitAppPreviewSets?.ToString()) .AddOptionalParameter("limit[appScreenshotSets]", limitAppScreenshotSets?.ToString()) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) .AddOptionalParameter("limit[searchKeywords]", limitSearchKeywords?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -223,9 +241,11 @@ partial void ProcessAppStoreVersionLocalizationsGetInstanceResponseContent( fieldsAppStoreVersions: fieldsAppStoreVersions, fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, include: include, limitAppPreviewSets: limitAppPreviewSets, limitAppScreenshotSets: limitAppScreenshotSets, + limitPlacements: limitPlacements, limitSearchKeywords: limitSearchKeywords, id: id); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..37d89d444 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelated.g.cs @@ -0,0 +1,801 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppStoreVersionLocalizationsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppStoreVersionLocalizationsPlacementsGetToManyRelatedSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppStoreVersionLocalizationsPlacementsGetToManyRelatedSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppStoreVersionLocalizationsPlacementsGetToManyRelatedSecurityRequirement0, + }; + partial void PrepareAppStoreVersionLocalizationsPlacementsGetToManyRelatedArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + ref int? limit, + global::System.Collections.Generic.IList? include, + ref string id); + partial void PrepareAppStoreVersionLocalizationsPlacementsGetToManyRelatedRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? filterPlacementType, + global::System.Collections.Generic.IList? filterPlacementGroup, + global::System.Collections.Generic.IList? filterState, + global::System.Collections.Generic.IList? filterImage, + global::System.Collections.Generic.IList? filterVideo, + global::System.Collections.Generic.IList? filterAppEventLocalization, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization, + global::System.Collections.Generic.IList? filterId, + global::System.Collections.Generic.IList? sort, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations, + int? limit, + global::System.Collections.Generic.IList? include, + string id); + partial void ProcessAppStoreVersionLocalizationsPlacementsGetToManyRelatedResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppStoreVersionLocalizationsPlacementsGetToManyRelatedResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + id: id, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppStoreVersionLocalizationsPlacementsGetToManyRelatedArguments( + httpClient: HttpClient, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: ref limit, + include: include, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppStoreVersionLocalizationsPlacementsGetToManyRelatedSecurityRequirements, + operationName: "AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appStoreVersionLocalizations/{id}/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("filter[placementType]", filterPlacementType, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[placementGroup]", filterPlacementGroup, delimiter: ",", explode: false) + .AddOptionalParameter("filter[state]", filterState, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("filter[image]", filterImage, delimiter: ",", explode: false) + .AddOptionalParameter("filter[video]", filterVideo, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appEventLocalization]", filterAppEventLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appCustomProductPageLocalization]", filterAppCustomProductPageLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[appStoreVersionExperimentTreatmentLocalization]", filterAppStoreVersionExperimentTreatmentLocalization, delimiter: ",", explode: false) + .AddOptionalParameter("filter[id]", filterId, delimiter: ",", explode: false) + .AddOptionalParameter("sort", sort, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appEventLocalizations]", fieldsAppEventLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionLocalizations]", fieldsAppStoreVersionLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appCustomProductPageLocalizations]", fieldsAppCustomProductPageLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appStoreVersionExperimentTreatmentLocalizations]", fieldsAppStoreVersionExperimentTreatmentLocalizations, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppStoreVersionLocalizationsPlacementsGetToManyRelatedRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + filterPlacementType: filterPlacementType, + filterPlacementGroup: filterPlacementGroup, + filterState: filterState, + filterImage: filterImage, + filterVideo: filterVideo, + filterAppEventLocalization: filterAppEventLocalization, + filterAppCustomProductPageLocalization: filterAppCustomProductPageLocalization, + filterAppStoreVersionExperimentTreatmentLocalization: filterAppStoreVersionExperimentTreatmentLocalization, + filterId: filterId, + sort: sort, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, + fieldsAppEventLocalizations: fieldsAppEventLocalizations, + fieldsAppStoreVersionLocalizations: fieldsAppStoreVersionLocalizations, + fieldsAppCustomProductPageLocalizations: fieldsAppCustomProductPageLocalizations, + fieldsAppStoreVersionExperimentTreatmentLocalizations: fieldsAppStoreVersionExperimentTreatmentLocalizations, + limit: limit, + include: include, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppStoreVersionLocalizationsPlacementsGetToManyRelatedResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelated", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppStoreVersionLocalizationsPlacementsGetToManyRelatedResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryPlacementsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..e9166f10c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,660 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppStoreVersionLocalizationsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppStoreVersionLocalizationsPlacementsGetToManyRelationshipSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppStoreVersionLocalizationsPlacementsGetToManyRelationshipSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppStoreVersionLocalizationsPlacementsGetToManyRelationshipSecurityRequirement0, + }; + partial void PrepareAppStoreVersionLocalizationsPlacementsGetToManyRelationshipArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? limit, + ref string id); + partial void PrepareAppStoreVersionLocalizationsPlacementsGetToManyRelationshipRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? limit, + string id); + partial void ProcessAppStoreVersionLocalizationsPlacementsGetToManyRelationshipResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppStoreVersionLocalizationsPlacementsGetToManyRelationshipResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + id: id, + limit: limit, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppStoreVersionLocalizationsPlacementsGetToManyRelationshipArguments( + httpClient: HttpClient, + limit: ref limit, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppStoreVersionLocalizationsPlacementsGetToManyRelationshipSecurityRequirements, + operationName: "AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/appStoreVersionLocalizations/{id}/relationships/placements", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + ; + var __path = __pathBuilder.ToString(); + + var __pageUrl = global::AppStoreConnect.AutoSDKPager.ResolvePageUrl( + __path, + requestOptions, + global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/")); + if (__pageUrl is not null) + { + __path = __pageUrl; + } + else + { + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + } + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppStoreVersionLocalizationsPlacementsGetToManyRelationshipRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppStoreVersionLocalizationsPlacementsGetToManyRelationshipResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppStoreVersionLocalizationsPlacementsGetToManyRelationship", + methodName: "AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync", + pathTemplate: "$\"/v1/appStoreVersionLocalizations/{id}/relationships/placements\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppStoreVersionLocalizationsPlacementsGetToManyRelationshipResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + + /// + /// Wraps AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + public global::System.Collections.Generic.IAsyncEnumerable AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default) + { + return global::AppStoreConnect.AutoSDKPager.NextUrlAsync( + fetchPage: (__nextUrl, __ct) => AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync( + limit: limit, + id: id, + requestOptions: global::AppStoreConnect.AutoSDKPager.CreatePageRequestOptions(requestOptions, __nextUrl), + cancellationToken: __ct), + extractItems: static __response => __response is null + ? null + : (global::System.Collections.Generic.IEnumerable?)__response.Data, + extractNextUrl: static __response => __response is null ? null : __response.Links?.Next, + baseAddress: global::AppStoreConnect.AutoSDKPager.GetPaginationBaseAddress(HttpClient.BaseAddress, "https://api.appstoreconnect.apple.com/"), + cancellationToken: cancellationToken); + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersions.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersions.JsonSerializerContext.g.cs index fec7de995..01a5727ee 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersions.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersions.JsonSerializerContext.g.cs @@ -201,6 +201,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppScreenshotSet), TypeInfoPropertyName = "AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppScreenshotSet2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSet), TypeInfoPropertyName = "AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSet2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement), TypeInfoPropertyName = "AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -311,6 +313,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersion?), TypeInfoPropertyName = "NullableAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppScreenshotSet?), TypeInfoPropertyName = "NullableAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppScreenshotSet2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSet?), TypeInfoPropertyName = "NullableAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSet2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?), TypeInfoPropertyName = "NullableAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionPhasedReleaseGetToOneRelatedFieldsAppStoreVersionPhasedRelease?), TypeInfoPropertyName = "NullableAppStoreVersionsAppStoreVersionPhasedReleaseGetToOneRelatedFieldsAppStoreVersionPhasedRelease2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionSubmissionGetToOneRelatedFieldsAppStoreVersionSubmission?), TypeInfoPropertyName = "NullableAppStoreVersionsAppStoreVersionSubmissionGetToOneRelatedFieldsAppStoreVersionSubmission2")] @@ -377,6 +380,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -736,6 +740,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem?) @@ -1493,6 +1501,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItemJsonConverter(); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionsClient.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionsClient.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated.g.cs index 42c89da32..c4ba9d3ac 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionsClient.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppStoreVersionsClient.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated.g.cs @@ -33,11 +33,13 @@ partial void PrepareAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, global::System.Collections.Generic.IList? fieldsAppKeywords, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, ref int? limit, global::System.Collections.Generic.IList? include, ref int? limitAppScreenshotSets, ref int? limitAppPreviewSets, ref int? limitSearchKeywords, + ref int? limitPlacements, ref string id); partial void PrepareAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedRequest( global::System.Net.Http.HttpClient httpClient, @@ -48,11 +50,13 @@ partial void PrepareAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated global::System.Collections.Generic.IList? fieldsAppScreenshotSets, global::System.Collections.Generic.IList? fieldsAppPreviewSets, global::System.Collections.Generic.IList? fieldsAppKeywords, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements, int? limit, global::System.Collections.Generic.IList? include, int? limitAppScreenshotSets, int? limitAppPreviewSets, int? limitSearchKeywords, + int? limitPlacements, string id); partial void ProcessAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedResponse( global::System.Net.Http.HttpClient httpClient, @@ -72,11 +76,13 @@ partial void ProcessAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated /// /// /// + /// /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -89,11 +95,13 @@ partial void ProcessAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, global::System.Collections.Generic.IList? fieldsAppKeywords = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, int? limitSearchKeywords = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -105,11 +113,13 @@ partial void ProcessAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, fieldsAppKeywords: fieldsAppKeywords, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: limit, include: include, limitAppScreenshotSets: limitAppScreenshotSets, limitAppPreviewSets: limitAppPreviewSets, limitSearchKeywords: limitSearchKeywords, + limitPlacements: limitPlacements, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -125,11 +135,13 @@ partial void ProcessAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated /// /// /// + /// /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -142,11 +154,13 @@ partial void ProcessAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, global::System.Collections.Generic.IList? fieldsAppKeywords = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, int? limitSearchKeywords = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -160,11 +174,13 @@ partial void ProcessAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, fieldsAppKeywords: fieldsAppKeywords, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: ref limit, include: include, limitAppScreenshotSets: ref limitAppScreenshotSets, limitAppPreviewSets: ref limitAppPreviewSets, limitSearchKeywords: ref limitSearchKeywords, + limitPlacements: ref limitPlacements, id: ref id); @@ -200,11 +216,13 @@ partial void ProcessAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated .AddOptionalParameter("fields[appScreenshotSets]", fieldsAppScreenshotSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appPreviewSets]", fieldsAppPreviewSets, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appKeywords]", fieldsAppKeywords, delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryPlacements]", fieldsAppAssetLibraryPlacements, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("limit[appScreenshotSets]", limitAppScreenshotSets?.ToString()) .AddOptionalParameter("limit[appPreviewSets]", limitAppPreviewSets?.ToString()) .AddOptionalParameter("limit[searchKeywords]", limitSearchKeywords?.ToString()) + .AddOptionalParameter("limit[placements]", limitPlacements?.ToString()) ; var __path = __pathBuilder.ToString(); __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -252,11 +270,13 @@ partial void ProcessAppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated fieldsAppScreenshotSets: fieldsAppScreenshotSets, fieldsAppPreviewSets: fieldsAppPreviewSets, fieldsAppKeywords: fieldsAppKeywords, + fieldsAppAssetLibraryPlacements: fieldsAppAssetLibraryPlacements, limit: limit, include: include, limitAppScreenshotSets: limitAppScreenshotSets, limitAppPreviewSets: limitAppPreviewSets, limitSearchKeywords: limitSearchKeywords, + limitPlacements: limitPlacements, id: id); return __httpRequest; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Apps.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Apps.JsonSerializerContext.g.cs index 55e718827..9a1759053 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Apps.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Apps.JsonSerializerContext.g.cs @@ -135,6 +135,9 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAppTagsLinkagesResponseDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAppTagsLinkagesResponseDataItemType), TypeInfoPropertyName = "AppAppTagsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType), TypeInfoPropertyName = "AppAssetLibraryLinkageResponseDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppBackgroundAssetsLinkagesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItem))] @@ -530,9 +533,6 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsAppTagsGetToManyRelatedFieldsAppTag), TypeInfoPropertyName = "AppsAppTagsGetToManyRelatedFieldsAppTag2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsAppTagsGetToManyRelatedFieldsTerritorie), TypeInfoPropertyName = "AppsAppTagsGetToManyRelatedFieldsTerritorie2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsAppTagsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppsAppTagsGetToManyRelatedIncludeItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class AppsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -543,6 +543,11 @@ internal sealed partial class AppsSourceGenerationContextChunk0 : global::System [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsAppTagsGetToManyRelatedIncludeItem), TypeInfoPropertyName = "AppsAppTagsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie), TypeInfoPropertyName = "AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform), TypeInfoPropertyName = "AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedSortItem), TypeInfoPropertyName = "AppsBackgroundAssetsGetToManyRelatedSortItem2")] @@ -803,6 +808,7 @@ internal sealed partial class AppsSourceGenerationContextChunk0 : global::System [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAppStoreVersionExperimentsV2LinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppAppStoreVersionExperimentsV2LinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAppStoreVersionsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppAppStoreVersionsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAppTagsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppAppTagsLinkagesResponseDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryLinkageResponseDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppBackgroundAssetsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppBetaAppLocalizationsLinkagesResponseDataItemType?), TypeInfoPropertyName = "NullableAppBetaAppLocalizationsLinkagesResponseDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppBetaAppReviewDetailLinkageResponseDataType?), TypeInfoPropertyName = "NullableAppBetaAppReviewDetailLinkageResponseDataType2")] @@ -962,6 +968,7 @@ internal sealed partial class AppsSourceGenerationContextChunk0 : global::System [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsAppTagsGetToManyRelatedFieldsAppTag?), TypeInfoPropertyName = "NullableAppsAppTagsGetToManyRelatedFieldsAppTag2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsAppTagsGetToManyRelatedFieldsTerritorie?), TypeInfoPropertyName = "NullableAppsAppTagsGetToManyRelatedFieldsTerritorie2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsAppTagsGetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppsAppTagsGetToManyRelatedIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie?), TypeInfoPropertyName = "NullableAppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform?), TypeInfoPropertyName = "NullableAppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedSortItem?), TypeInfoPropertyName = "NullableAppsBackgroundAssetsGetToManyRelatedSortItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFieldsBackgroundAsset?), TypeInfoPropertyName = "NullableAppsBackgroundAssetsGetToManyRelatedFieldsBackgroundAsset2")] @@ -1042,13 +1049,6 @@ internal sealed partial class AppsSourceGenerationContextChunk0 : global::System [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseLocalization?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseLocalization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseContent?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseContent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAppStoreReviewScreenshot?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAppStoreReviewScreenshot2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsPromotedPurchase?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsPromotedPurchase2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchasePriceSchedule?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchasePriceSchedule2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAvailabilitie?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAvailabilitie2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseImage?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseImage2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseOfferCode?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseOfferCode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseVersion?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedIncludeItem2")] internal sealed partial class AppsSourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1059,6 +1059,13 @@ internal sealed partial class AppsSourceGenerationContextChunk1 : global::System [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsPromotedPurchase?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsPromotedPurchase2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchasePriceSchedule?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchasePriceSchedule2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAvailabilitie?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAvailabilitie2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseImage?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseOfferCode?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseOfferCode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseVersion?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseVersion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedIncludeItem?), TypeInfoPropertyName = "NullableAppsInAppPurchasesV2GetToManyRelatedIncludeItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsMarketplaceSearchDetailGetToOneRelatedFieldsMarketplaceSearchDetail?), TypeInfoPropertyName = "NullableAppsMarketplaceSearchDetailGetToOneRelatedFieldsMarketplaceSearchDetail2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsPerfPowerMetricsGetToManyRelatedFilterPlatformItem?), TypeInfoPropertyName = "NullableAppsPerfPowerMetricsGetToManyRelatedFilterPlatformItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppsPerfPowerMetricsGetToManyRelatedFilterMetricTypeItem?), TypeInfoPropertyName = "NullableAppsPerfPowerMetricsGetToManyRelatedFilterMetricTypeItem2")] @@ -1257,6 +1264,7 @@ internal sealed partial class AppsSourceGenerationContextChunk1 : global::System [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -1564,6 +1572,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppAppTagsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItemType?) @@ -2184,6 +2196,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppsAppTagsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie) + + || typeToConvert == typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie?) + || typeToConvert == typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform) || typeToConvert == typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform?) @@ -2955,6 +2971,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppAppTagsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppBackgroundAssetsLinkagesResponseDataItemTypeJsonConverter(); @@ -4505,6 +4531,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppsAppTagsGetToManyRelatedIncludeItemNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie)) + { + return new global::AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie?)) + { + return new global::AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform)) { return new global::AppStoreConnect.JsonConverters.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatformJsonConverter(); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppsClient.AppsAssetLibraryGetToOneRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppsClient.AppsAssetLibraryGetToOneRelated.g.cs new file mode 100644 index 000000000..1d6bf4bd9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppsClient.AppsAssetLibraryGetToOneRelated.g.cs @@ -0,0 +1,621 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppsAssetLibraryGetToOneRelatedSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppsAssetLibraryGetToOneRelatedSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppsAssetLibraryGetToOneRelatedSecurityRequirement0, + }; + partial void PrepareAppsAssetLibraryGetToOneRelatedArguments( + global::System.Net.Http.HttpClient httpClient, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries, + ref string id); + partial void PrepareAppsAssetLibraryGetToOneRelatedRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries, + string id); + partial void ProcessAppsAssetLibraryGetToOneRelatedResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppsAssetLibraryGetToOneRelatedResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppsAssetLibraryGetToOneRelatedAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppsAssetLibraryGetToOneRelatedAsResponseAsync( + id: id, + fieldsAppAssetLibraries: fieldsAppAssetLibraries, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppsAssetLibraryGetToOneRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppsAssetLibraryGetToOneRelatedArguments( + httpClient: HttpClient, + fieldsAppAssetLibraries: fieldsAppAssetLibraries, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppsAssetLibraryGetToOneRelatedSecurityRequirements, + operationName: "AppsAssetLibraryGetToOneRelatedAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/apps/{id}/assetLibrary", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("fields[appAssetLibraries]", fieldsAppAssetLibraries, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + ; + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppsAssetLibraryGetToOneRelatedRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + fieldsAppAssetLibraries: fieldsAppAssetLibraries, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelated", + methodName: "AppsAssetLibraryGetToOneRelatedAsync", + pathTemplate: "$\"/v1/apps/{id}/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelated", + methodName: "AppsAssetLibraryGetToOneRelatedAsync", + pathTemplate: "$\"/v1/apps/{id}/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelated", + methodName: "AppsAssetLibraryGetToOneRelatedAsync", + pathTemplate: "$\"/v1/apps/{id}/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppsAssetLibraryGetToOneRelatedResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelated", + methodName: "AppsAssetLibraryGetToOneRelatedAsync", + pathTemplate: "$\"/v1/apps/{id}/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelated", + methodName: "AppsAssetLibraryGetToOneRelatedAsync", + pathTemplate: "$\"/v1/apps/{id}/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppsAssetLibraryGetToOneRelatedResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppsClient.AppsAssetLibraryGetToOneRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppsClient.AppsAssetLibraryGetToOneRelationship.g.cs new file mode 100644 index 000000000..6678bf371 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.AppsClient.AppsAssetLibraryGetToOneRelationship.g.cs @@ -0,0 +1,609 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial class AppsClient + { + + + private static readonly global::AppStoreConnect.EndPointSecurityRequirement s_AppsAssetLibraryGetToOneRelationshipSecurityRequirement0 = + new global::AppStoreConnect.EndPointSecurityRequirement + { + Authorizations = new global::AppStoreConnect.EndPointAuthorizationRequirement[] + { new global::AppStoreConnect.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AppStoreConnect.EndPointSecurityRequirement[] s_AppsAssetLibraryGetToOneRelationshipSecurityRequirements = + new global::AppStoreConnect.EndPointSecurityRequirement[] + { s_AppsAssetLibraryGetToOneRelationshipSecurityRequirement0, + }; + partial void PrepareAppsAssetLibraryGetToOneRelationshipArguments( + global::System.Net.Http.HttpClient httpClient, + ref string id); + partial void PrepareAppsAssetLibraryGetToOneRelationshipRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string id); + partial void ProcessAppsAssetLibraryGetToOneRelationshipResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAppsAssetLibraryGetToOneRelationshipResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AppsAssetLibraryGetToOneRelationshipAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AppsAssetLibraryGetToOneRelationshipAsResponseAsync( + id: id, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AppsAssetLibraryGetToOneRelationshipAsResponseAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareAppsAssetLibraryGetToOneRelationshipArguments( + httpClient: HttpClient, + id: ref id); + + + var __authorizations = global::AppStoreConnect.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AppsAssetLibraryGetToOneRelationshipSecurityRequirements, + operationName: "AppsAssetLibraryGetToOneRelationshipAsync"); + + using var __timeoutCancellationTokenSource = global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AppStoreConnect.PathBuilder( + path: $"/v1/apps/{id}/relationships/assetLibrary", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AppStoreConnect.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAppsAssetLibraryGetToOneRelationshipRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + id: id); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelationship", + methodName: "AppsAssetLibraryGetToOneRelationshipAsync", + pathTemplate: "$\"/v1/apps/{id}/relationships/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelationship", + methodName: "AppsAssetLibraryGetToOneRelationshipAsync", + pathTemplate: "$\"/v1/apps/{id}/relationships/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AppStoreConnect.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AppStoreConnect.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelationship", + methodName: "AppsAssetLibraryGetToOneRelationshipAsync", + pathTemplate: "$\"/v1/apps/{id}/relationships/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAppsAssetLibraryGetToOneRelationshipResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelationship", + methodName: "AppsAssetLibraryGetToOneRelationshipAsync", + pathTemplate: "$\"/v1/apps/{id}/relationships/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AppStoreConnect.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AppStoreConnect.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AppsAssetLibraryGetToOneRelationship", + methodName: "AppsAssetLibraryGetToOneRelationshipAsync", + pathTemplate: "$\"/v1/apps/{id}/relationships/assetLibrary\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Parameter error(s) + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::AppStoreConnect.ErrorResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::AppStoreConnect.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized error(s) + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::AppStoreConnect.ErrorResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::AppStoreConnect.ErrorResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden error + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::AppStoreConnect.ErrorResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::AppStoreConnect.ErrorResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not found error + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::AppStoreConnect.ErrorResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::AppStoreConnect.ErrorResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Rate limit exceeded error + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::AppStoreConnect.ErrorResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::AppStoreConnect.ErrorResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAppsAssetLibraryGetToOneRelationshipResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AppStoreConnect.AppAssetLibraryLinkageResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AppStoreConnect.AppAssetLibraryLinkageResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AppStoreConnect.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AppStoreConnect.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AppStoreConnect.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.GameCenterMatchmakingRuleSetTests.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.GameCenterMatchmakingRuleSetTests.JsonSerializerContext.g.cs index 8319fd550..2b2e6c526 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.GameCenterMatchmakingRuleSetTests.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.GameCenterMatchmakingRuleSetTests.JsonSerializerContext.g.cs @@ -22,8 +22,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingTeamAssignment))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem132), TypeInfoPropertyName = "IncludedItem1322")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem134), TypeInfoPropertyName = "IncludedItem1342")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminator))] @@ -59,7 +59,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationshipsMatchmakingPlayerPropertiesDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationshipsMatchmakingPlayerPropertiesDataItemType), TypeInfoPropertyName = "GameCenterMatchmakingTestRequestInlineCreateRelationshipsMatchmakingPlayerPropertiesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingRuleSetTestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem132?), TypeInfoPropertyName = "NullableIncludedItem1322")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem134?), TypeInfoPropertyName = "NullableIncludedItem1342")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingRuleSetTestCreateRequestDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRuleSetDataType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRuleSetDataType2")] @@ -74,7 +74,7 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -127,7 +127,7 @@ private GameCenterMatchmakingRuleSetTestsSourceGenerationContext(global::System. public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { global::AppStoreConnect.PartitionCoreSourceGenerationContext.AddConverters(options); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem132JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem134JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new LazyEnumJsonConverterFactory()); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesGetInstance.g.cs new file mode 100644 index 000000000..588cc9477 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesGetInstance.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibrariesClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibrariesGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibrariesGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelated.g.cs new file mode 100644 index 000000000..f10d9a91c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelated.g.cs @@ -0,0 +1,74 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibrariesClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibrariesImagesGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterCategory = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterReferenceName = default, + global::System.Collections.Generic.IList? filterSpecId = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibrariesImagesGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterCategory = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterReferenceName = default, + global::System.Collections.Generic.IList? filterSpecId = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelationship.g.cs new file mode 100644 index 000000000..cd98fe29a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesImagesGetToManyRelationship.g.cs @@ -0,0 +1,47 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibrariesClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibrariesImagesGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibrariesImagesGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps AppAssetLibrariesImagesGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + global::System.Collections.Generic.IAsyncEnumerable AppAssetLibrariesImagesGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelated.g.cs new file mode 100644 index 000000000..92245bc33 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelated.g.cs @@ -0,0 +1,74 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibrariesClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibrariesVideosGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterCategory = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterReferenceName = default, + global::System.Collections.Generic.IList? filterSpecId = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibrariesVideosGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterCategory = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterReferenceName = default, + global::System.Collections.Generic.IList? filterSpecId = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelationship.g.cs new file mode 100644 index 000000000..3b96fbada --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.AppAssetLibrariesVideosGetToManyRelationship.g.cs @@ -0,0 +1,47 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibrariesClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibrariesVideosGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibrariesVideosGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps AppAssetLibrariesVideosGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + global::System.Collections.Generic.IAsyncEnumerable AppAssetLibrariesVideosGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..987c32bfd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.Authorizations.Bearer.g.cs @@ -0,0 +1,16 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibrariesClient + { + /// + /// Authorize using bearer authentication. + /// + /// + + public void AuthorizeUsingBearer( + string apiKey); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.g.cs new file mode 100644 index 000000000..967318aa1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibrariesClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAppAssetLibrariesClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesCreateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesCreateInstance.g.cs new file mode 100644 index 000000000..6406805ac --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesCreateInstance.g.cs @@ -0,0 +1,43 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryImagesClient + { + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryImagesCreateInstanceAsync( + + global::AppStoreConnect.AppAssetLibraryImageCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryImagesCreateInstanceAsResponseAsync( + + global::AppStoreConnect.AppAssetLibraryImageCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryImagesCreateInstanceAsync( + global::AppStoreConnect.AppAssetLibraryImageCreateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesDeleteInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesDeleteInstance.g.cs new file mode 100644 index 000000000..cbbd41785 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesDeleteInstance.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryImagesClient + { + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryImagesDeleteInstanceAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryImagesDeleteInstanceAsResponseAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesGetInstance.g.cs new file mode 100644 index 000000000..66c60296c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesGetInstance.g.cs @@ -0,0 +1,46 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryImagesClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryImagesGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryImagesGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..3629c2a3d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelated.g.cs @@ -0,0 +1,106 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryImagesClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryImagesPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryImagesPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..1475b2f05 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,47 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryImagesClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryImagesPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps AppAssetLibraryImagesPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + global::System.Collections.Generic.IAsyncEnumerable AppAssetLibraryImagesPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesUpdateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesUpdateInstance.g.cs new file mode 100644 index 000000000..36a46d910 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.AppAssetLibraryImagesUpdateInstance.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryImagesClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryImagesUpdateInstanceAsync( + string id, + + global::AppStoreConnect.AppAssetLibraryImageUpdateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryImagesUpdateInstanceAsResponseAsync( + string id, + + global::AppStoreConnect.AppAssetLibraryImageUpdateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryImagesUpdateInstanceAsync( + string id, + global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..a12d9dcc2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.Authorizations.Bearer.g.cs @@ -0,0 +1,16 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryImagesClient + { + /// + /// Authorize using bearer authentication. + /// + /// + + public void AuthorizeUsingBearer( + string apiKey); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.g.cs new file mode 100644 index 000000000..b2b41c489 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryImagesClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAppAssetLibraryImagesClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.AppAssetLibraryPlacementOrderingRequestsCreateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.AppAssetLibraryPlacementOrderingRequestsCreateInstance.g.cs new file mode 100644 index 000000000..a790c787a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.AppAssetLibraryPlacementOrderingRequestsCreateInstance.g.cs @@ -0,0 +1,67 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryPlacementOrderingRequestsClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync( + + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest request, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitOrderedPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacementOrderingRequests = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsResponseAsync( + + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest request, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitOrderedPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacementOrderingRequests = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryPlacementOrderingRequestsCreateInstanceAsync( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData data, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitOrderedPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacementOrderingRequests = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..65a693765 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.Authorizations.Bearer.g.cs @@ -0,0 +1,16 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryPlacementOrderingRequestsClient + { + /// + /// Authorize using bearer authentication. + /// + /// + + public void AuthorizeUsingBearer( + string apiKey); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.g.cs new file mode 100644 index 000000000..156833b57 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementOrderingRequestsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAppAssetLibraryPlacementOrderingRequestsClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsCreateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsCreateInstance.g.cs new file mode 100644 index 000000000..f1351dd28 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsCreateInstance.g.cs @@ -0,0 +1,43 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryPlacementsClient + { + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryPlacementsCreateInstanceAsync( + + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryPlacementsCreateInstanceAsResponseAsync( + + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryPlacementsCreateInstanceAsync( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsDeleteInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsDeleteInstance.g.cs new file mode 100644 index 000000000..970b3bdbb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsDeleteInstance.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryPlacementsClient + { + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryPlacementsDeleteInstanceAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryPlacementsDeleteInstanceAsResponseAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsGetInstance.g.cs new file mode 100644 index 000000000..eab605b20 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.AppAssetLibraryPlacementsGetInstance.g.cs @@ -0,0 +1,62 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryPlacementsClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryPlacementsGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryPlacementsGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..b9c0becec --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.Authorizations.Bearer.g.cs @@ -0,0 +1,16 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryPlacementsClient + { + /// + /// Authorize using bearer authentication. + /// + /// + + public void AuthorizeUsingBearer( + string apiKey); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.g.cs new file mode 100644 index 000000000..fffc230f6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryPlacementsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAppAssetLibraryPlacementsClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetCollection.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetCollection.g.cs new file mode 100644 index 000000000..edb4a8400 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetCollection.g.cs @@ -0,0 +1,66 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryRefDataClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryRefDataGetCollectionAsync( + global::System.Collections.Generic.IList? filterPlacementTypes = default, + global::System.Collections.Generic.IList? filterPlacementProfileGroups = default, + global::System.Collections.Generic.IList? filterFeatures = default, + global::System.Collections.Generic.IList? filterSpecs = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryRefDataGetCollectionAsResponseAsync( + global::System.Collections.Generic.IList? filterPlacementTypes = default, + global::System.Collections.Generic.IList? filterPlacementProfileGroups = default, + global::System.Collections.Generic.IList? filterFeatures = default, + global::System.Collections.Generic.IList? filterSpecs = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps AppAssetLibraryRefDataGetCollectionAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryRefDatum> that follows the response's next-page URL. + /// + /// + /// + /// + /// + /// + /// Options forwarded to every page request. + /// + global::System.Collections.Generic.IAsyncEnumerable AppAssetLibraryRefDataGetCollectionAutoPagingAsync( + global::System.Collections.Generic.IList? filterPlacementTypes = default, + global::System.Collections.Generic.IList? filterPlacementProfileGroups = default, + global::System.Collections.Generic.IList? filterFeatures = default, + global::System.Collections.Generic.IList? filterSpecs = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetInstance.g.cs new file mode 100644 index 000000000..8eeebc170 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.AppAssetLibraryRefDataGetInstance.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryRefDataClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryRefDataGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryRefDataGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryRefData = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..257875800 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.Authorizations.Bearer.g.cs @@ -0,0 +1,16 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryRefDataClient + { + /// + /// Authorize using bearer authentication. + /// + /// + + public void AuthorizeUsingBearer( + string apiKey); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.g.cs new file mode 100644 index 000000000..1b62382be --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryRefDataClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAppAssetLibraryRefDataClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosCreateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosCreateInstance.g.cs new file mode 100644 index 000000000..63d3e6546 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosCreateInstance.g.cs @@ -0,0 +1,43 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryVideosClient + { + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryVideosCreateInstanceAsync( + + global::AppStoreConnect.AppAssetLibraryVideoCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryVideosCreateInstanceAsResponseAsync( + + global::AppStoreConnect.AppAssetLibraryVideoCreateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryVideosCreateInstanceAsync( + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosDeleteInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosDeleteInstance.g.cs new file mode 100644 index 000000000..89b8a6826 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosDeleteInstance.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryVideosClient + { + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryVideosDeleteInstanceAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryVideosDeleteInstanceAsResponseAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosGetInstance.g.cs new file mode 100644 index 000000000..031f1adfd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosGetInstance.g.cs @@ -0,0 +1,46 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryVideosClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryVideosGetInstanceAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryVideosGetInstanceAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? include = default, + int? limitPlacements = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..828b9c136 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelated.g.cs @@ -0,0 +1,106 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryVideosClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryVideosPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryVideosPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..578ac1073 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,47 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryVideosClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryVideosPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps AppAssetLibraryVideosPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + global::System.Collections.Generic.IAsyncEnumerable AppAssetLibraryVideosPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosUpdateInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosUpdateInstance.g.cs new file mode 100644 index 000000000..824e460a4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.AppAssetLibraryVideosUpdateInstance.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryVideosClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryVideosUpdateInstanceAsync( + string id, + + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppAssetLibraryVideosUpdateInstanceAsResponseAsync( + string id, + + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest request, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppAssetLibraryVideosUpdateInstanceAsync( + string id, + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData data, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.Authorizations.Bearer.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.Authorizations.Bearer.g.cs new file mode 100644 index 000000000..ee44f6b68 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.Authorizations.Bearer.g.cs @@ -0,0 +1,16 @@ + +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppAssetLibraryVideosClient + { + /// + /// Authorize using bearer authentication. + /// + /// + + public void AuthorizeUsingBearer( + string apiKey); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.g.cs new file mode 100644 index 000000000..b9891e8e9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppAssetLibraryVideosClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAppAssetLibraryVideosClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::AppStoreConnect.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsGetInstance.g.cs index cee95b007..2a55c228a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsGetInstance.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsGetInstance.g.cs @@ -11,9 +11,11 @@ public partial interface IAppCustomProductPageLocalizationsClient /// /// /// + /// /// /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -25,9 +27,11 @@ public partial interface IAppCustomProductPageLocalizationsClient global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, int? limitSearchKeywords = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -38,9 +42,11 @@ public partial interface IAppCustomProductPageLocalizationsClient /// /// /// + /// /// /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -52,9 +58,11 @@ public partial interface IAppCustomProductPageLocalizationsClient global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, int? limitSearchKeywords = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..dd87557f0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelated.g.cs @@ -0,0 +1,106 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppCustomProductPageLocalizationsClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppCustomProductPageLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..ad3bc5cda --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageLocalizationsClient.AppCustomProductPageLocalizationsPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,47 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppCustomProductPageLocalizationsClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + global::System.Collections.Generic.IAsyncEnumerable AppCustomProductPageLocalizationsPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageVersionsClient.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageVersionsClient.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelated.g.cs index 8aa62c349..ac5e724a7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageVersionsClient.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppCustomProductPageVersionsClient.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelated.g.cs @@ -13,11 +13,13 @@ public partial interface IAppCustomProductPageVersionsClient /// /// /// + /// /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -30,11 +32,13 @@ public partial interface IAppCustomProductPageVersionsClient global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, global::System.Collections.Generic.IList? fieldsAppKeywords = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, int? limitSearchKeywords = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -46,11 +50,13 @@ public partial interface IAppCustomProductPageVersionsClient /// /// /// + /// /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -63,11 +69,13 @@ public partial interface IAppCustomProductPageVersionsClient global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, global::System.Collections.Generic.IList? fieldsAppKeywords = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, int? limitSearchKeywords = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsGetInstance.g.cs index 5cdaf1ce4..ee459223a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsGetInstance.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsGetInstance.g.cs @@ -11,9 +11,11 @@ public partial interface IAppEventLocalizationsClient /// /// /// + /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -24,9 +26,11 @@ public partial interface IAppEventLocalizationsClient global::System.Collections.Generic.IList? fieldsAppEvents = default, global::System.Collections.Generic.IList? fieldsAppEventScreenshots = default, global::System.Collections.Generic.IList? fieldsAppEventVideoClips = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppEventScreenshots = default, int? limitAppEventVideoClips = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -36,9 +40,11 @@ public partial interface IAppEventLocalizationsClient /// /// /// + /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -49,9 +55,11 @@ public partial interface IAppEventLocalizationsClient global::System.Collections.Generic.IList? fieldsAppEvents = default, global::System.Collections.Generic.IList? fieldsAppEventScreenshots = default, global::System.Collections.Generic.IList? fieldsAppEventVideoClips = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppEventScreenshots = default, int? limitAppEventVideoClips = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..ed2869422 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelated.g.cs @@ -0,0 +1,106 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppEventLocalizationsClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppEventLocalizationsPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppEventLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..3aeb74a7d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventLocalizationsClient.AppEventLocalizationsPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,47 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppEventLocalizationsClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppEventLocalizationsPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppEventLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps AppEventLocalizationsPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + global::System.Collections.Generic.IAsyncEnumerable AppEventLocalizationsPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventsClient.AppEventsLocalizationsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventsClient.AppEventsLocalizationsGetToManyRelated.g.cs index 8dcd639eb..9f9b0ae93 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventsClient.AppEventsLocalizationsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppEventsClient.AppEventsLocalizationsGetToManyRelated.g.cs @@ -11,10 +11,12 @@ public partial interface IAppEventsClient /// /// /// + /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -25,10 +27,12 @@ public partial interface IAppEventsClient global::System.Collections.Generic.IList? fieldsAppEvents = default, global::System.Collections.Generic.IList? fieldsAppEventScreenshots = default, global::System.Collections.Generic.IList? fieldsAppEventVideoClips = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppEventScreenshots = default, int? limitAppEventVideoClips = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -38,10 +42,12 @@ public partial interface IAppEventsClient /// /// /// + /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -52,10 +58,12 @@ public partial interface IAppEventsClient global::System.Collections.Generic.IList? fieldsAppEvents = default, global::System.Collections.Generic.IList? fieldsAppEventScreenshots = default, global::System.Collections.Generic.IList? fieldsAppEventVideoClips = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppEventScreenshots = default, int? limitAppEventVideoClips = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreConnectClient.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreConnectClient.g.cs index cb2f02906..e812b4bd6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreConnectClient.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreConnectClient.g.cs @@ -114,6 +114,36 @@ public partial interface IAppStoreConnectClient : global::System.IDisposable /// public AndroidToIosAppMappingDetailsClient AndroidToIosAppMappingDetails { get; } + /// + /// + /// + public AppAssetLibrariesClient AppAssetLibraries { get; } + + /// + /// + /// + public AppAssetLibraryImagesClient AppAssetLibraryImages { get; } + + /// + /// + /// + public AppAssetLibraryPlacementOrderingRequestsClient AppAssetLibraryPlacementOrderingRequests { get; } + + /// + /// + /// + public AppAssetLibraryPlacementsClient AppAssetLibraryPlacements { get; } + + /// + /// + /// + public AppAssetLibraryRefDataClient AppAssetLibraryRefData { get; } + + /// + /// + /// + public AppAssetLibraryVideosClient AppAssetLibraryVideos { get; } + /// /// /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsGetInstance.g.cs index 7a9cf4d10..60c5f001b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsGetInstance.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsGetInstance.g.cs @@ -11,9 +11,11 @@ public partial interface IAppStoreVersionExperimentTreatmentLocalizationsClient /// /// /// + /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -24,9 +26,11 @@ public partial interface IAppStoreVersionExperimentTreatmentLocalizationsClient global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -36,9 +40,11 @@ public partial interface IAppStoreVersionExperimentTreatmentLocalizationsClient /// /// /// + /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -49,9 +55,11 @@ public partial interface IAppStoreVersionExperimentTreatmentLocalizationsClient global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..2979cfd7c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelated.g.cs @@ -0,0 +1,106 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppStoreVersionExperimentTreatmentLocalizationsClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..bc28836e7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentLocalizationsClient.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,47 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppStoreVersionExperimentTreatmentLocalizationsClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + global::System.Collections.Generic.IAsyncEnumerable AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentsClient.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentsClient.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelated.g.cs index 3094163e7..289fd7c56 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentsClient.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionExperimentTreatmentsClient.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelated.g.cs @@ -12,10 +12,12 @@ public partial interface IAppStoreVersionExperimentTreatmentsClient /// /// /// + /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -27,10 +29,12 @@ public partial interface IAppStoreVersionExperimentTreatmentsClient global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -41,10 +45,12 @@ public partial interface IAppStoreVersionExperimentTreatmentsClient /// /// /// + /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -56,10 +62,12 @@ public partial interface IAppStoreVersionExperimentTreatmentsClient global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatments = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsGetInstance.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsGetInstance.g.cs index 422890d61..94700ce6b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsGetInstance.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsGetInstance.g.cs @@ -11,9 +11,11 @@ public partial interface IAppStoreVersionLocalizationsClient /// /// /// + /// /// /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -25,9 +27,11 @@ public partial interface IAppStoreVersionLocalizationsClient global::System.Collections.Generic.IList? fieldsAppStoreVersions = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, int? limitSearchKeywords = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -38,9 +42,11 @@ public partial interface IAppStoreVersionLocalizationsClient /// /// /// + /// /// /// /// + /// /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. @@ -52,9 +58,11 @@ public partial interface IAppStoreVersionLocalizationsClient global::System.Collections.Generic.IList? fieldsAppStoreVersions = default, global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, global::System.Collections.Generic.IList? include = default, int? limitAppPreviewSets = default, int? limitAppScreenshotSets = default, + int? limitPlacements = default, int? limitSearchKeywords = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelated.g.cs new file mode 100644 index 000000000..bad30f93c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelated.g.cs @@ -0,0 +1,106 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppStoreVersionLocalizationsClient + { + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppStoreVersionLocalizationsPlacementsGetToManyRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? filterPlacementType = default, + global::System.Collections.Generic.IList? filterPlacementGroup = default, + global::System.Collections.Generic.IList? filterState = default, + global::System.Collections.Generic.IList? filterImage = default, + global::System.Collections.Generic.IList? filterVideo = default, + global::System.Collections.Generic.IList? filterAppEventLocalization = default, + global::System.Collections.Generic.IList? filterAppCustomProductPageLocalization = default, + global::System.Collections.Generic.IList? filterAppStoreVersionExperimentTreatmentLocalization = default, + global::System.Collections.Generic.IList? filterId = default, + global::System.Collections.Generic.IList? sort = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, + global::System.Collections.Generic.IList? fieldsAppEventLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppCustomProductPageLocalizations = default, + global::System.Collections.Generic.IList? fieldsAppStoreVersionExperimentTreatmentLocalizations = default, + int? limit = default, + global::System.Collections.Generic.IList? include = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelationship.g.cs new file mode 100644 index 000000000..2c65fef6e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionLocalizationsClient.AppStoreVersionLocalizationsPlacementsGetToManyRelationship.g.cs @@ -0,0 +1,47 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppStoreVersionLocalizationsClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsResponseAsync( + string id, + int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Wraps AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAsync as an IAsyncEnumerable<global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem> that follows the response's next-page URL. + /// + /// + /// + /// Options forwarded to every page request. + /// + global::System.Collections.Generic.IAsyncEnumerable AppStoreVersionLocalizationsPlacementsGetToManyRelationshipAutoPagingAsync( + string id, int? limit = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = null, + global::System.Threading.CancellationToken cancellationToken = default); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionsClient.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionsClient.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated.g.cs index c03571de2..b3d671f0c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionsClient.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppStoreVersionsClient.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelated.g.cs @@ -13,11 +13,13 @@ public partial interface IAppStoreVersionsClient /// /// /// + /// /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -30,11 +32,13 @@ public partial interface IAppStoreVersionsClient global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, global::System.Collections.Generic.IList? fieldsAppKeywords = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, int? limitSearchKeywords = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -46,11 +50,13 @@ public partial interface IAppStoreVersionsClient /// /// /// + /// /// /// /// /// /// + /// /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -63,11 +69,13 @@ public partial interface IAppStoreVersionsClient global::System.Collections.Generic.IList? fieldsAppScreenshotSets = default, global::System.Collections.Generic.IList? fieldsAppPreviewSets = default, global::System.Collections.Generic.IList? fieldsAppKeywords = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryPlacements = default, int? limit = default, global::System.Collections.Generic.IList? include = default, int? limitAppScreenshotSets = default, int? limitAppPreviewSets = default, int? limitSearchKeywords = default, + int? limitPlacements = default, global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppsClient.AppsAssetLibraryGetToOneRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppsClient.AppsAssetLibraryGetToOneRelated.g.cs new file mode 100644 index 000000000..b5094baa5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppsClient.AppsAssetLibraryGetToOneRelated.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppsClient + { + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsAssetLibraryGetToOneRelatedAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsAssetLibraryGetToOneRelatedAsResponseAsync( + string id, + global::System.Collections.Generic.IList? fieldsAppAssetLibraries = default, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppsClient.AppsAssetLibraryGetToOneRelationship.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppsClient.AppsAssetLibraryGetToOneRelationship.g.cs new file mode 100644 index 000000000..917df270c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IAppsClient.AppsAssetLibraryGetToOneRelationship.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace AppStoreConnect +{ + public partial interface IAppsClient + { + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsAssetLibraryGetToOneRelationshipAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsAssetLibraryGetToOneRelationshipAsResponseAsync( + string id, + global::AppStoreConnect.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IReviewSubmissionsClient.ReviewSubmissionsItemsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IReviewSubmissionsClient.ReviewSubmissionsItemsGetToManyRelated.g.cs index dd00a1f2a..8b6480066 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.IReviewSubmissionsClient.ReviewSubmissionsItemsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.IReviewSubmissionsClient.ReviewSubmissionsItemsGetToManyRelated.g.cs @@ -12,6 +12,8 @@ public partial interface IReviewSubmissionsClient /// /// /// + /// + /// /// /// /// @@ -34,6 +36,8 @@ public partial interface IReviewSubmissionsClient global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions = default, global::System.Collections.Generic.IList? fieldsAppStoreVersionExperiments = default, global::System.Collections.Generic.IList? fieldsAppEvents = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, global::System.Collections.Generic.IList? fieldsBackgroundAssetVersions = default, global::System.Collections.Generic.IList? fieldsGameCenterAchievementVersions = default, global::System.Collections.Generic.IList? fieldsGameCenterActivityVersions = default, @@ -55,6 +59,8 @@ public partial interface IReviewSubmissionsClient /// /// /// + /// + /// /// /// /// @@ -77,6 +83,8 @@ public partial interface IReviewSubmissionsClient global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions = default, global::System.Collections.Generic.IList? fieldsAppStoreVersionExperiments = default, global::System.Collections.Generic.IList? fieldsAppEvents = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, global::System.Collections.Generic.IList? fieldsBackgroundAssetVersions = default, global::System.Collections.Generic.IList? fieldsGameCenterAchievementVersions = default, global::System.Collections.Generic.IList? fieldsGameCenterActivityVersions = default, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.g.cs new file mode 100644 index 000000000..c25aa18cb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieNullable.g.cs new file mode 100644 index 000000000..1527f1c1c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..b175a1f19 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..0756a36af --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..060966425 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..7d97bcae8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.g.cs new file mode 100644 index 000000000..736042993 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemNullable.g.cs new file mode 100644 index 000000000..a4fbd593e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..8574e8935 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedFilterStateItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemNullable.g.cs new file mode 100644 index 000000000..9154357e7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedFilterStateItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..4cb5b7438 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItemNullable.g.cs new file mode 100644 index 000000000..9030a7088 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..d4628ec22 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedSortItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItemNullable.g.cs new file mode 100644 index 000000000..60b4e288e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesImagesGetToManyRelatedSortItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..53fc500ac --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..951d9ab37 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..7544c3cdf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..8adfd703b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.g.cs new file mode 100644 index 000000000..de3a132b6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemNullable.g.cs new file mode 100644 index 000000000..b17ab015b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..9da05b36a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedFilterStateItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemNullable.g.cs new file mode 100644 index 000000000..263ef3f10 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedFilterStateItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..ff94038e5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItemNullable.g.cs new file mode 100644 index 000000000..69790b1af --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..70902962e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedSortItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItemNullable.g.cs new file mode 100644 index 000000000..bf5045a28 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibrariesVideosGetToManyRelatedSortItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategory.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategory.g.cs new file mode 100644 index 000000000..e35105a91 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategory.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryAssetCategoryJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryAssetCategory Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryAssetCategoryExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryAssetCategory)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryAssetCategory); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryAssetCategory value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryAssetCategoryExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryNullable.g.cs new file mode 100644 index 000000000..c6214890c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryAssetCategoryNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryAssetCategory? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryAssetCategoryExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryAssetCategory)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryAssetCategory?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryAssetCategory? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryAssetCategoryExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetState.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetState.g.cs new file mode 100644 index 000000000..c670559e4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetState.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryAssetStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryAssetState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryAssetStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryAssetState)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryAssetState); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryAssetState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryAssetStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateNullable.g.cs new file mode 100644 index 000000000..947151cad --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryAssetStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryAssetState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryAssetStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryAssetState)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryAssetState?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryAssetState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryAssetStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClass.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClass.g.cs new file mode 100644 index 000000000..e8e8bff4f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClass.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryDisplayClassJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryDisplayClass Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryDisplayClassExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryDisplayClass)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryDisplayClass); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryDisplayClass value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryDisplayClassExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassNullable.g.cs new file mode 100644 index 000000000..206a10901 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryDisplayClassNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryDisplayClass? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryDisplayClassExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryDisplayClass)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryDisplayClass?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryDisplayClass? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryDisplayClassExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryFeature.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryFeature.g.cs new file mode 100644 index 000000000..9654256c6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryFeature.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryFeatureJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryFeature Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryFeatureExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryFeature)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryFeature); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryFeature value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryFeatureExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryFeatureNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryFeatureNullable.g.cs new file mode 100644 index 000000000..df9a7a70c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryFeatureNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryFeatureNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryFeature? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryFeatureExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryFeature)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryFeature?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryFeature? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryFeatureExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAcceptedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAcceptedAttributes.g.cs new file mode 100644 index 000000000..d9d3c87a6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAcceptedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageAcceptedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryImageAcceptedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryImageAcceptedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageAcceptedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageAcceptedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageAcceptedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageApprovedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageApprovedAttributes.g.cs new file mode 100644 index 000000000..f040a10c9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageApprovedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageApprovedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryImageApprovedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryImageApprovedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageApprovedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageApprovedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageApprovedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageArchivedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageArchivedAttributes.g.cs new file mode 100644 index 000000000..af0681ada --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageArchivedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageArchivedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryImageArchivedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryImageArchivedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageArchivedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageArchivedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageArchivedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorState.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorState.g.cs new file mode 100644 index 000000000..20e610037 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorState.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageAttributesDiscriminatorStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorStateNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorStateNullable.g.cs new file mode 100644 index 000000000..fe7f336af --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorStateNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageAttributesDiscriminatorStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAwaitingUploadAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAwaitingUploadAttributes.g.cs new file mode 100644 index 000000000..ba1e89c6f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageAwaitingUploadAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageAwaitingUploadAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? appAssetLibraryImageAwaitingUploadAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2).Name}"); + appAssetLibraryImageAwaitingUploadAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageAwaitingUploadAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageAwaitingUploadAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageAwaitingUploadAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.g.cs new file mode 100644 index 000000000..648b59ea5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeNullable.g.cs new file mode 100644 index 000000000..305149307 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..f33d986f1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..3b4ce1623 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataType.g.cs new file mode 100644 index 000000000..f8ea93b13 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageCreateRequestDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataTypeNullable.g.cs new file mode 100644 index 000000000..01ba1e1f9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageCreateRequestDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageFailedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageFailedAttributes.g.cs new file mode 100644 index 000000000..f29429672 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageFailedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageFailedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageFailedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? appAssetLibraryImageFailedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2).Name}"); + appAssetLibraryImageFailedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageFailedAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageFailedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageFailedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageFailedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageFailedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageInReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageInReviewAttributes.g.cs new file mode 100644 index 000000000..db9ecdcc2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageInReviewAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageInReviewAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryImageInReviewAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryImageInReviewAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageInReviewAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageInReviewAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageInReviewAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..b919bb898 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeNullable.g.cs new file mode 100644 index 000000000..e16b7c601 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageReadyForReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageReadyForReviewAttributes.g.cs new file mode 100644 index 000000000..34c93dc1b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageReadyForReviewAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageReadyForReviewAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryImageReadyForReviewAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryImageReadyForReviewAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageReadyForReviewAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageReadyForReviewAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageReadyForReviewAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRejectedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRejectedAttributes.g.cs new file mode 100644 index 000000000..ac653c626 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRejectedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageRejectedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryImageRejectedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryImageRejectedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageRejectedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageRejectedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageRejectedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..08dcc68c4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..c02693354 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageType.g.cs new file mode 100644 index 000000000..2be0edc4e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageTypeNullable.g.cs new file mode 100644 index 000000000..b0ec79543 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataType.g.cs new file mode 100644 index 000000000..c41ef9d0a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageUpdateRequestDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataTypeNullable.g.cs new file mode 100644 index 000000000..c2bcd9803 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImageUpdateRequestDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUploadCompleteAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUploadCompleteAttributes.g.cs new file mode 100644 index 000000000..8469b7601 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageUploadCompleteAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageUploadCompleteAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? appAssetLibraryImageUploadCompleteAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2).Name}"); + appAssetLibraryImageUploadCompleteAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageUploadCompleteAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageUploadCompleteAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageUploadCompleteAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageWaitingForReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageWaitingForReviewAttributes.g.cs new file mode 100644 index 000000000..24a4275d7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImageWaitingForReviewAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryImageWaitingForReviewAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + appAssetLibraryImageCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryImageWaitingForReviewAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryImageWaitingForReviewAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes( + appAssetLibraryImageCommonAttributes, + + appAssetLibraryImageWaitingForReviewAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryImageCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryImageWaitingForReviewAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryImageWaitingForReviewAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..9a58b6503 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..8add68090 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..80a20a4a1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..7a577b97e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItem.g.cs new file mode 100644 index 000000000..c8f0fa601 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesGetInstanceIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItemNullable.g.cs new file mode 100644 index 000000000..766d9e9aa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesGetInstanceIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..64c9b5863 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesLinkagesResponseDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemTypeNullable.g.cs new file mode 100644 index 000000000..3da951182 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesLinkagesResponseDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..16fea0545 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..a9c526550 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..d3bd51c73 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..1c1ef3805 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..24ca895d7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..f1b3a85fd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..c9fbb21aa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs new file mode 100644 index 000000000..b68453467 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..38de1f266 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs new file mode 100644 index 000000000..e9d6748e7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..64d53505c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs new file mode 100644 index 000000000..854fda9b9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..de67a33be --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs new file mode 100644 index 000000000..b78bb3d1e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..cc78b8194 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs new file mode 100644 index 000000000..85c73d211 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..5da280c26 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemNullable.g.cs new file mode 100644 index 000000000..65b020a02 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..3ce4c3002 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemNullable.g.cs new file mode 100644 index 000000000..21dd5cf03 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..bc714c36b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemNullable.g.cs new file mode 100644 index 000000000..b55e240f9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataType.g.cs new file mode 100644 index 000000000..8c2205a18 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryLinkageResponseDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryLinkageResponseDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataTypeNullable.g.cs new file mode 100644 index 000000000..b15362e67 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryLinkageResponseDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryLinkageResponseDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryMediaType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryMediaType.g.cs new file mode 100644 index 000000000..1cc8d7ad1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryMediaType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryMediaTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryMediaType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryMediaTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryMediaType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryMediaType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryMediaType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryMediaTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeNullable.g.cs new file mode 100644 index 000000000..899b7e6c4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryMediaTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryMediaType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryMediaTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryMediaType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryMediaType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryMediaType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryMediaTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.g.cs new file mode 100644 index 000000000..77722c39c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..fe23df377 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.g.cs new file mode 100644 index 000000000..e1e7b2251 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..a68d00f0c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs new file mode 100644 index 000000000..bf60d83a8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..05b362c51 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.g.cs new file mode 100644 index 000000000..cc527ff77 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..96aaa0b5b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs new file mode 100644 index 000000000..4e42facf2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..b10f0ed55 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.g.cs new file mode 100644 index 000000000..3898c3d60 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..6be568a46 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs new file mode 100644 index 000000000..2f362b247 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..b43fcc0d1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs new file mode 100644 index 000000000..7a914025a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..7950d6a2a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.g.cs new file mode 100644 index 000000000..d2ca3bb9a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeNullable.g.cs new file mode 100644 index 000000000..8f2f31bd3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.g.cs new file mode 100644 index 000000000..97d805984 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeNullable.g.cs new file mode 100644 index 000000000..79c6bdbac --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataType.g.cs new file mode 100644 index 000000000..4c4e6efd9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataTypeNullable.g.cs new file mode 100644 index 000000000..a272726d3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementCreateRequestDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationships.g.cs new file mode 100644 index 000000000..02eadbe11 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationships.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryPlacementImageRelationshipsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? appAssetLibraryPlacementCommonRelationships = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships).Name}"); + appAssetLibraryPlacementCommonRelationships = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? appAssetLibraryPlacementImageRelationshipsVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2).Name}"); + appAssetLibraryPlacementImageRelationshipsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships( + appAssetLibraryPlacementCommonRelationships, + + appAssetLibraryPlacementImageRelationshipsVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryPlacementCommonRelationships) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryPlacementCommonRelationships(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryPlacementImageRelationshipsVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryPlacementImageRelationshipsVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.g.cs new file mode 100644 index 000000000..c1d954227 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeNullable.g.cs new file mode 100644 index 000000000..0d1c1070c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs new file mode 100644 index 000000000..e7d963c0b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..a1a3db24d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs new file mode 100644 index 000000000..a96247e37 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..d59458d18 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs new file mode 100644 index 000000000..68cc3fdc3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs new file mode 100644 index 000000000..c0954f08a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.g.cs new file mode 100644 index 000000000..619f91cd0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..8080d6f90 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.g.cs new file mode 100644 index 000000000..3276e4db3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeNullable.g.cs new file mode 100644 index 000000000..8662d6d42 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.g.cs new file mode 100644 index 000000000..0205f41c1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..54e4b5a2b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestType.g.cs new file mode 100644 index 000000000..c012c355b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestTypeNullable.g.cs new file mode 100644 index 000000000..016183fd5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..bfcae6b31 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..ed897ef21 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.g.cs new file mode 100644 index 000000000..72c5f4721 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestNullable.g.cs new file mode 100644 index 000000000..17e19cec4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.g.cs new file mode 100644 index 000000000..2bb327ebd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemNullable.g.cs new file mode 100644 index 000000000..4a42fbdf0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatform.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatform.g.cs new file mode 100644 index 000000000..81e7ee9ed --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatform.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementPlatformJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementPlatform Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementPlatformExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementPlatform)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementPlatform); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementPlatform value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementPlatformExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatformNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatformNullable.g.cs new file mode 100644 index 000000000..af70d9836 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatformNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementPlatformNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementPlatform? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementPlatformExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementPlatform)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementPlatform?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementPlatform? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementPlatformExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.g.cs new file mode 100644 index 000000000..d00a1ee5e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeNullable.g.cs new file mode 100644 index 000000000..72ae740b8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.g.cs new file mode 100644 index 000000000..0797706e4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeNullable.g.cs new file mode 100644 index 000000000..44546558e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementState.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementState.g.cs new file mode 100644 index 000000000..75889e29a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementState.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementState)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementState); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateNullable.g.cs new file mode 100644 index 000000000..37a5abf19 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementState)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementState?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType.g.cs new file mode 100644 index 000000000..a617f5292 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2.g.cs new file mode 100644 index 000000000..2b720d02b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementType2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementType2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2Nullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2Nullable.g.cs new file mode 100644 index 000000000..5ac4519f5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementType2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementType2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementTypeNullable.g.cs new file mode 100644 index 000000000..18962bd3b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoAttributes.g.cs new file mode 100644 index 000000000..b97ab8d6b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryPlacementVideoAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? appAssetLibraryPlacementCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes).Name}"); + appAssetLibraryPlacementCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryPlacementVideoAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryPlacementVideoAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes( + appAssetLibraryPlacementCommonAttributes, + + appAssetLibraryPlacementVideoAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryPlacementCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryPlacementCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryPlacementVideoAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryPlacementVideoAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationships.g.cs new file mode 100644 index 000000000..7498744b8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationships.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryPlacementVideoRelationshipsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? appAssetLibraryPlacementCommonRelationships = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships).Name}"); + appAssetLibraryPlacementCommonRelationships = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? appAssetLibraryPlacementVideoRelationshipsVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2).Name}"); + appAssetLibraryPlacementVideoRelationshipsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships( + appAssetLibraryPlacementCommonRelationships, + + appAssetLibraryPlacementVideoRelationshipsVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryPlacementCommonRelationships) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryPlacementCommonRelationships(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryPlacementVideoRelationshipsVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryPlacementVideoRelationshipsVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.g.cs new file mode 100644 index 000000000..a2442e674 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeNullable.g.cs new file mode 100644 index 000000000..d3ebc42d2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..9c23bd4d2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..ba12b1f2c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..693c61407 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..f58aa84de --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..87c2504d3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..95c9a5ada --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..d8e0994db --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationNullable.g.cs new file mode 100644 index 000000000..59aabb272 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..3fcb79502 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationNullable.g.cs new file mode 100644 index 000000000..406bbfc8f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..95a77cfce --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs new file mode 100644 index 000000000..7c3349d10 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..04b7c60a0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationNullable.g.cs new file mode 100644 index 000000000..c8c2e3e16 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItem.g.cs new file mode 100644 index 000000000..6c2b0e512 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItemNullable.g.cs new file mode 100644 index 000000000..f6da7e502 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsGetInstanceIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.g.cs new file mode 100644 index 000000000..285a41ff7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeNullable.g.cs new file mode 100644 index 000000000..c735bc559 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.g.cs new file mode 100644 index 000000000..140f1f1c9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemNullable.g.cs new file mode 100644 index 000000000..5757960e6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.g.cs new file mode 100644 index 000000000..4e6c31391 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemNullable.g.cs new file mode 100644 index 000000000..fc795719b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumType.g.cs new file mode 100644 index 000000000..425e34d38 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryRefDatumTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryRefDatumType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryRefDatumTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryRefDatumType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryRefDatumType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryRefDatumType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryRefDatumTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumTypeNullable.g.cs new file mode 100644 index 000000000..37ca2e0ec --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryRefDatumTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryRefDatumType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryRefDatumTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryRefDatumType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryRefDatumType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryRefDatumType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryRefDatumTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryType.g.cs new file mode 100644 index 000000000..b1400c0d2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryTypeNullable.g.cs new file mode 100644 index 000000000..83f4bc57f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAcceptedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAcceptedAttributes.g.cs new file mode 100644 index 000000000..cb6296d9b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAcceptedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoAcceptedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryVideoAcceptedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryVideoAcceptedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoAcceptedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoAcceptedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoAcceptedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoApprovedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoApprovedAttributes.g.cs new file mode 100644 index 000000000..783c9f6df --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoApprovedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoApprovedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryVideoApprovedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryVideoApprovedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoApprovedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoApprovedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoApprovedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoArchivedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoArchivedAttributes.g.cs new file mode 100644 index 000000000..e9ff9d7e2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoArchivedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoArchivedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryVideoArchivedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryVideoArchivedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoArchivedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoArchivedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoArchivedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorState.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorState.g.cs new file mode 100644 index 000000000..2a1749a44 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorState.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoAttributesDiscriminatorStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorStateNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorStateNullable.g.cs new file mode 100644 index 000000000..856f4822b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorStateNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoAttributesDiscriminatorStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAwaitingUploadAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAwaitingUploadAttributes.g.cs new file mode 100644 index 000000000..4c9bd1987 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoAwaitingUploadAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoAwaitingUploadAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? appAssetLibraryVideoAwaitingUploadAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2).Name}"); + appAssetLibraryVideoAwaitingUploadAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoAwaitingUploadAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoAwaitingUploadAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoAwaitingUploadAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.g.cs new file mode 100644 index 000000000..50964ed52 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeNullable.g.cs new file mode 100644 index 000000000..ef7288c3d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..474e2dcbd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..4cb2292fb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataType.g.cs new file mode 100644 index 000000000..47125a506 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoCreateRequestDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataTypeNullable.g.cs new file mode 100644 index 000000000..748b03d1a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoCreateRequestDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoFailedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoFailedAttributes.g.cs new file mode 100644 index 000000000..2fd041087 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoFailedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoFailedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? appAssetLibraryVideoFailedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2).Name}"); + appAssetLibraryVideoFailedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoFailedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoFailedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoFailedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoInReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoInReviewAttributes.g.cs new file mode 100644 index 000000000..dd5daa702 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoInReviewAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoInReviewAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryVideoInReviewAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryVideoInReviewAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoInReviewAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoInReviewAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoInReviewAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..abeca7e48 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeNullable.g.cs new file mode 100644 index 000000000..82638aa47 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoReadyForReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoReadyForReviewAttributes.g.cs new file mode 100644 index 000000000..ba980ab72 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoReadyForReviewAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoReadyForReviewAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryVideoReadyForReviewAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryVideoReadyForReviewAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoReadyForReviewAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoReadyForReviewAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoReadyForReviewAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRejectedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRejectedAttributes.g.cs new file mode 100644 index 000000000..de29bcf6b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRejectedAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoRejectedAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryVideoRejectedAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryVideoRejectedAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoRejectedAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoRejectedAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoRejectedAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..4a5009fcc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..0572052ff --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoType.g.cs new file mode 100644 index 000000000..6d831483f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoTypeNullable.g.cs new file mode 100644 index 000000000..a038aeece --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataType.g.cs new file mode 100644 index 000000000..b572f1a86 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoUpdateRequestDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataTypeNullable.g.cs new file mode 100644 index 000000000..7fb8729bb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideoUpdateRequestDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUploadCompleteAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUploadCompleteAttributes.g.cs new file mode 100644 index 000000000..39ca2aa0c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoUploadCompleteAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoUploadCompleteAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? appAssetLibraryVideoUploadCompleteAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2).Name}"); + appAssetLibraryVideoUploadCompleteAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoUploadCompleteAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoUploadCompleteAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoUploadCompleteAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoWaitingForReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoWaitingForReviewAttributes.g.cs new file mode 100644 index 000000000..5f8644338 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideoWaitingForReviewAttributes.g.cs @@ -0,0 +1,108 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AppAssetLibraryVideoWaitingForReviewAttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + appAssetLibraryVideoCommonAttributes = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + + object? appAssetLibraryVideoWaitingForReviewAttributesVariant2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + appAssetLibraryVideoWaitingForReviewAttributesVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + var __value = new global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes( + appAssetLibraryVideoCommonAttributes, + + appAssetLibraryVideoWaitingForReviewAttributesVariant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + writer.WriteStartObject(); + var __writtenPropertyNames = new global::System.Collections.Generic.HashSet(global::System.StringComparer.Ordinal); + if (value.IsAppAssetLibraryVideoCommonAttributes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoCommonAttributes(), typeInfo); + if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element0.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + if (value.IsAppAssetLibraryVideoWaitingForReviewAttributesVariant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAppAssetLibraryVideoWaitingForReviewAttributesVariant2(), typeInfo); + if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) + { + throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); + } + + foreach (var __property in __element1.EnumerateObject()) + { + if (__writtenPropertyNames.Add(__property.Name)) + { + __property.WriteTo(writer); + } + } + } + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..8a2582cae --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..3ef287461 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..667d84c38 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..a2901caa5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItem.g.cs new file mode 100644 index 000000000..5c93b55df --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosGetInstanceIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItemNullable.g.cs new file mode 100644 index 000000000..35b54ee69 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosGetInstanceIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..c13748203 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosLinkagesResponseDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemTypeNullable.g.cs new file mode 100644 index 000000000..45a423256 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosLinkagesResponseDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..a5a5ca463 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..4e60bf364 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..d06c5ce01 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..d892e2ffc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..f65d44efa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..6b126f0b3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..0cee729f8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs new file mode 100644 index 000000000..b96feba5b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..e6be8f2ae --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs new file mode 100644 index 000000000..3398bfd82 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..68e492198 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs new file mode 100644 index 000000000..0036cc9dc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..c7e8863d5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs new file mode 100644 index 000000000..20e5acf71 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..2f3ae6cbb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs new file mode 100644 index 000000000..2b58a1d74 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..7f8c75277 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemNullable.g.cs new file mode 100644 index 000000000..c26c22035 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..73e08656e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemNullable.g.cs new file mode 100644 index 000000000..d7afb6223 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..9da07f6f9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemNullable.g.cs new file mode 100644 index 000000000..9e5553708 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..4af8be400 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..98bb7ef81 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..570b0ca86 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..cb9fdfb27 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..b9e08a02a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs new file mode 100644 index 000000000..e57386348 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..90157fbfd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..f6905e4a6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..fdea6a79b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..c4fa561d5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..e29f21eb3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..dde52617d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..9ea06f8fd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..ae436eec1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..f4c239e2e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..ea653a91c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..2147549f5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs new file mode 100644 index 000000000..b86133c1d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..fbc731cd4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs new file mode 100644 index 000000000..e7dc4c7b7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..592213e24 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs new file mode 100644 index 000000000..15d57f3ef --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..697e521de --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs new file mode 100644 index 000000000..daf2b03e4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..19c8b0f3b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs new file mode 100644 index 000000000..ef8c12a43 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..347d59377 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs new file mode 100644 index 000000000..f95b146b0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..ac3cd9c45 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs new file mode 100644 index 000000000..b436725d7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..487ce2fca --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs new file mode 100644 index 000000000..c7fd62825 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..b18efa62a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..92c3c260d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..970c552ad --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..21d238434 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..b92a82556 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs new file mode 100644 index 000000000..ee4683b95 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..90cc14fa8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..111dc9026 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..0cfd8883a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..9aa6cdd4b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..28c0ad4cd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..ca8999039 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..4de50b737 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..ef134f115 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..c12aa1000 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..e14b6c2f0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..0ad53f046 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs new file mode 100644 index 000000000..172881b0a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..f2f4efe80 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs new file mode 100644 index 000000000..4a3077ef9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..2beb0e1c5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs new file mode 100644 index 000000000..51e2f075e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..efbb8fa2e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs new file mode 100644 index 000000000..d0f0225b7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..040259e15 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs new file mode 100644 index 000000000..44903d4db --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..a2bf3f316 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs new file mode 100644 index 000000000..a2b33821d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..757cf17bb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs new file mode 100644 index 000000000..f95d80f4c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..885a5d709 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs new file mode 100644 index 000000000..9eb8392b8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..566e8ebfb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..3b871492e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..3b3c53986 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..3a3fead88 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..1d03ae9cf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs new file mode 100644 index 000000000..96a614fe4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..c47f662be --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..22a032bd5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..ddf005727 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..5c981792a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..4311b8619 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..08bf0568d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..f30561bb5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..a117bc2db --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..2a32b5f12 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..2987173da --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..2b2de19f2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs new file mode 100644 index 000000000..16dc379fe --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..99791a346 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs new file mode 100644 index 000000000..6d28b498a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..2f2eb435e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs new file mode 100644 index 000000000..a465ec648 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..f65552532 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs new file mode 100644 index 000000000..3963b2bdc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..d4dbf2c7a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs new file mode 100644 index 000000000..80a490a82 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..d647d4538 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs new file mode 100644 index 000000000..64930a50c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..24033ff50 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs new file mode 100644 index 000000000..cb860a5d8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..e74f6a95d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs new file mode 100644 index 000000000..3f25f90a5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..3b250bbc1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..d6b7624dc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..0743bd292 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..cddbdc02d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..366dbb960 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs new file mode 100644 index 000000000..b0fe473fb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..064d48197 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs new file mode 100644 index 000000000..a0924b512 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..ec96f04f6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..0db03a5f6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..3e1097764 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..8313e3ef9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..be61d0596 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..c75bdeb57 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..6bdf8c8ab --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..0886907c4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..fe98e9c46 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs new file mode 100644 index 000000000..bf2e6620c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..00d3209c2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs new file mode 100644 index 000000000..b73799bef --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..7ced5b3ab --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs new file mode 100644 index 000000000..f979ce87a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..9d3d76681 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs new file mode 100644 index 000000000..93c4ce984 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..d5081c70b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs new file mode 100644 index 000000000..d8e241554 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..3332e9ce8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs new file mode 100644 index 000000000..c1928dbff --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..ed5450f14 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs new file mode 100644 index 000000000..233404982 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..3978fb0e5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs new file mode 100644 index 000000000..905b7417c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..4807be8d3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs new file mode 100644 index 000000000..0fa561451 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.g.cs new file mode 100644 index 000000000..140206acb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieNullable.g.cs new file mode 100644 index 000000000..fdeeb02ea --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Attributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Attributes.g.cs new file mode 100644 index 000000000..81eda4b3c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Attributes.g.cs @@ -0,0 +1,222 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class AttributesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.Attributes Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? awaitingUpload = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.AwaitingUpload) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes)}"); + awaitingUpload = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? uploadComplete = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.UploadComplete) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes)}"); + uploadComplete = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? failed = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.Failed) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes)}"); + failed = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? complete1 = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.Complete) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes)}"); + complete1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? complete2 = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.Complete) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes)}"); + complete2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? readyForReview = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.ReadyForReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes)}"); + readyForReview = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? waitingForReview = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.WaitingForReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes)}"); + waitingForReview = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? inReview = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.InReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes)}"); + inReview = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? accepted = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.Accepted) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes)}"); + accepted = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? approved = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.Approved) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes)}"); + approved = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? rejected = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.Rejected) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes)}"); + rejected = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? archived = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState.Archived) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes)}"); + archived = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::AppStoreConnect.Attributes( + discriminator?.State, + awaitingUpload, + + uploadComplete, + + failed, + + complete1, + + complete2, + + readyForReview, + + waitingForReview, + + inReview, + + accepted, + + approved, + + rejected, + + archived + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.Attributes value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsAwaitingUpload) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAwaitingUpload(), typeInfo); + } + else if (value.IsUploadComplete) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickUploadComplete(), typeInfo); + } + else if (value.IsFailed) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFailed(), typeInfo); + } + else if (value.IsComplete1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickComplete1(), typeInfo); + } + else if (value.IsComplete2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickComplete2(), typeInfo); + } + else if (value.IsReadyForReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReadyForReview(), typeInfo); + } + else if (value.IsWaitingForReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWaitingForReview(), typeInfo); + } + else if (value.IsInReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInReview(), typeInfo); + } + else if (value.IsAccepted) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAccepted(), typeInfo); + } + else if (value.IsApproved) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApproved(), typeInfo); + } + else if (value.IsRejected) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRejected(), typeInfo); + } + else if (value.IsArchived) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickArchived(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Attributes2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Attributes2.g.cs new file mode 100644 index 000000000..ce53867dd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Attributes2.g.cs @@ -0,0 +1,222 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class Attributes2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.Attributes2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? awaitingUpload = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.AwaitingUpload) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes)}"); + awaitingUpload = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? uploadComplete = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.UploadComplete) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes)}"); + uploadComplete = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? failed = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.Failed) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes)}"); + failed = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? complete1 = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.Complete) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes)}"); + complete1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? complete2 = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.Complete) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes)}"); + complete2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? readyForReview = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.ReadyForReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes)}"); + readyForReview = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? waitingForReview = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.WaitingForReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes)}"); + waitingForReview = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? inReview = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.InReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes)}"); + inReview = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? accepted = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.Accepted) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes)}"); + accepted = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? approved = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.Approved) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes)}"); + approved = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? rejected = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.Rejected) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes)}"); + rejected = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? archived = default; + if (discriminator?.State == global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState.Archived) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes)}"); + archived = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::AppStoreConnect.Attributes2( + discriminator?.State, + awaitingUpload, + + uploadComplete, + + failed, + + complete1, + + complete2, + + readyForReview, + + waitingForReview, + + inReview, + + accepted, + + approved, + + rejected, + + archived + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.Attributes2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsAwaitingUpload) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAwaitingUpload(), typeInfo); + } + else if (value.IsUploadComplete) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickUploadComplete(), typeInfo); + } + else if (value.IsFailed) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickFailed(), typeInfo); + } + else if (value.IsComplete1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickComplete1(), typeInfo); + } + else if (value.IsComplete2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickComplete2(), typeInfo); + } + else if (value.IsReadyForReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReadyForReview(), typeInfo); + } + else if (value.IsWaitingForReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWaitingForReview(), typeInfo); + } + else if (value.IsInReview) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInReview(), typeInfo); + } + else if (value.IsAccepted) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAccepted(), typeInfo); + } + else if (value.IsApproved) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApproved(), typeInfo); + } + else if (value.IsRejected) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRejected(), typeInfo); + } + else if (value.IsArchived) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickArchived(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem10.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem10.g.cs index 493747515..df7765e37 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem10.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem10.g.cs @@ -17,30 +17,48 @@ public class IncludedItem10JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) + global::AppStoreConnect.AppClipAppStoreReviewDetail? appClipAppStoreReviewDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType.AppClipAppStoreReviewDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); - appClipDefaultExperiences1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAppStoreReviewDetail)}"); + appClipAppStoreReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appClipDefaultExperiences2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) + global::AppStoreConnect.AppClipDefaultExperienceLocalization? appClipDefaultExperienceLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType.AppClipDefaultExperienceLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appClipDefaultExperiences2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceLocalization)}"); + appClipDefaultExperienceLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppClip? appClipDefaultExperienceLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType.AppClipDefaultExperienceLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); + appClipDefaultExperienceLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType.AppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem10( discriminator?.Type, - appClipDefaultExperiences1, + appClipAppStoreReviewDetails, + + appClipDefaultExperienceLocalizations1, - appClipDefaultExperiences2 + appClipDefaultExperienceLocalizations2, + + appStoreVersions ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppClipDefaultExperiences1) + if (value.IsAppClipAppStoreReviewDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAppStoreReviewDetails(), typeInfo); + } + else if (value.IsAppClipDefaultExperienceLocalizations1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperienceLocalizations1(), typeInfo); + } + else if (value.IsAppClipDefaultExperienceLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperienceLocalizations2(), typeInfo); } - else if (value.IsAppClipDefaultExperiences2) + else if (value.IsAppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem100.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem100.g.cs index 581dc835d..48a3f996d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem100.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem100.g.cs @@ -17,48 +17,48 @@ public class IncludedItem100JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) + global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType.GameCenterChallengeImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); - gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeImage)}"); + gameCenterChallengeImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType.GameCenterDetails) + global::AppStoreConnect.GameCenterChallengeLocalization? gameCenterChallengeLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType.GameCenterChallengeLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeLocalization)}"); + gameCenterChallengeLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType.GameCenterGroups) + global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); - gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionRelease)}"); + gameCenterChallengeVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) + global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType.GameCenterChallengeLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); + gameCenterChallengeLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem100( discriminator?.Type, - gameCenterChallengeVersions, + gameCenterChallengeImages, - gameCenterDetails, + gameCenterChallengeLocalizations1, - gameCenterGroups, + gameCenterChallengeVersionReleases, - gameCenterLeaderboards + gameCenterChallengeLocalizations2 ); return __value; @@ -73,29 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterChallengeVersions) + if (value.IsGameCenterChallengeImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeImages(), typeInfo); } - else if (value.IsGameCenterDetails) + else if (value.IsGameCenterChallengeLocalizations1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeLocalizations1(), typeInfo); } - else if (value.IsGameCenterGroups) + else if (value.IsGameCenterChallengeVersionReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases(), typeInfo); } - else if (value.IsGameCenterLeaderboards) + else if (value.IsGameCenterChallengeLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeLocalizations2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem101.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem101.g.cs index d2d7c0b2c..d98c07f29 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem101.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem101.g.cs @@ -17,138 +17,48 @@ public class IncludedItem101JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); + gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? gameCenterAppVersions1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterAppVersions) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - gameCenterAppVersions1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementRelease)}"); - gameCenterAchievementReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievementReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterActivities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); - gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterActivityVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionRelease)}"); - gameCenterActivityVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterAppVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); - gameCenterAppVersions2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionRelease)}"); - gameCenterChallengeVersionReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeVersionReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); - gameCenterChallengeVersionReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardRelease)}"); - gameCenterLeaderboardReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetRelease)}"); - gameCenterLeaderboardSetReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSetReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSetReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem101( discriminator?.Type, - appStoreVersions, - - gameCenterAppVersions1, - - gameCenterAchievementReleases1, - - gameCenterAchievementReleases2, - - gameCenterActivities, - - gameCenterActivityVersionReleases, + gameCenterChallengeVersions, - gameCenterAppVersions2, - - gameCenterChallengeVersionReleases1, - - gameCenterChallengeVersionReleases2, + gameCenterDetails, gameCenterGroups, - gameCenterLeaderboardReleases1, - - gameCenterLeaderboardSetReleases1, - - gameCenterLeaderboardSetReleases2, - - gameCenterLeaderboardReleases2 + gameCenterLeaderboards ); return __value; @@ -163,59 +73,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppStoreVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); - } - else if (value.IsGameCenterAppVersions1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions1(), typeInfo); - } - else if (value.IsGameCenterAchievementReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases1(), typeInfo); - } - else if (value.IsGameCenterAchievementReleases2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases2(), typeInfo); - } - else if (value.IsGameCenterActivities) + if (value.IsGameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); } - else if (value.IsGameCenterActivityVersionReleases) + else if (value.IsGameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersionRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersionReleases(), typeInfo); - } - else if (value.IsGameCenterAppVersions2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions2(), typeInfo); - } - else if (value.IsGameCenterChallengeVersionReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases1(), typeInfo); - } - else if (value.IsGameCenterChallengeVersionReleases2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); } else if (value.IsGameCenterGroups) { @@ -223,29 +91,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); } - else if (value.IsGameCenterLeaderboardReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases1(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases1(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetReleases2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases2(), typeInfo); - } - else if (value.IsGameCenterLeaderboardReleases2) + else if (value.IsGameCenterLeaderboards) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases2(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem102.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem102.g.cs index fb6d59ae4..b829cf195 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem102.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem102.g.cs @@ -17,138 +17,48 @@ public class IncludedItem102JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); + gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? gameCenterAppVersions1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterAppVersions) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - gameCenterAppVersions1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementRelease)}"); - gameCenterAchievementReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievementReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterActivities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); - gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterActivityVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionRelease)}"); - gameCenterActivityVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterAppVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); - gameCenterAppVersions2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionRelease)}"); - gameCenterChallengeVersionReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeVersionReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); - gameCenterChallengeVersionReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardRelease)}"); - gameCenterLeaderboardReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetRelease)}"); - gameCenterLeaderboardSetReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSetReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSetReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem102( discriminator?.Type, - appStoreVersions, - - gameCenterAppVersions1, - - gameCenterAchievementReleases1, - - gameCenterAchievementReleases2, - - gameCenterActivities, - - gameCenterActivityVersionReleases, + gameCenterChallengeVersions, - gameCenterAppVersions2, - - gameCenterChallengeVersionReleases1, - - gameCenterChallengeVersionReleases2, + gameCenterDetails, gameCenterGroups, - gameCenterLeaderboardReleases1, - - gameCenterLeaderboardSetReleases1, - - gameCenterLeaderboardSetReleases2, - - gameCenterLeaderboardReleases2 + gameCenterLeaderboards ); return __value; @@ -163,59 +73,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppStoreVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); - } - else if (value.IsGameCenterAppVersions1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions1(), typeInfo); - } - else if (value.IsGameCenterAchievementReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases1(), typeInfo); - } - else if (value.IsGameCenterAchievementReleases2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases2(), typeInfo); - } - else if (value.IsGameCenterActivities) + if (value.IsGameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); } - else if (value.IsGameCenterActivityVersionReleases) + else if (value.IsGameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersionRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersionReleases(), typeInfo); - } - else if (value.IsGameCenterAppVersions2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions2(), typeInfo); - } - else if (value.IsGameCenterChallengeVersionReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases1(), typeInfo); - } - else if (value.IsGameCenterChallengeVersionReleases2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); } else if (value.IsGameCenterGroups) { @@ -223,29 +91,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); } - else if (value.IsGameCenterLeaderboardReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases1(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases1(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetReleases2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases2(), typeInfo); - } - else if (value.IsGameCenterLeaderboardReleases2) + else if (value.IsGameCenterLeaderboards) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases2(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem103.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem103.g.cs index 60d5ad2ea..3bea8574d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem103.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem103.g.cs @@ -17,30 +17,138 @@ public class IncludedItem103JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.AppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.App? gameCenterAppVersions1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterAppVersions) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterAppVersions1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementRelease)}"); + gameCenterAchievementReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); + gameCenterAchievementReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterActivities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); + gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterActivityVersionReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionRelease)}"); + gameCenterActivityVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterAppVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); + gameCenterAppVersions2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionRelease)}"); + gameCenterChallengeVersionReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeVersionReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); + gameCenterChallengeVersionReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); + gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardRelease)}"); + gameCenterLeaderboardReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetRelease)}"); + gameCenterLeaderboardSetReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType.GameCenterEnabledVersions) + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSetReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterEnabledVersion)}"); - gameCenterEnabledVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); + gameCenterLeaderboardSetReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboardReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem103( discriminator?.Type, - apps, + appStoreVersions, + + gameCenterAppVersions1, + + gameCenterAchievementReleases1, + + gameCenterAchievementReleases2, + + gameCenterActivities, + + gameCenterActivityVersionReleases, + + gameCenterAppVersions2, - gameCenterEnabledVersions + gameCenterChallengeVersionReleases1, + + gameCenterChallengeVersionReleases2, + + gameCenterGroups, + + gameCenterLeaderboardReleases1, + + gameCenterLeaderboardSetReleases1, + + gameCenterLeaderboardSetReleases2, + + gameCenterLeaderboardReleases2 ); return __value; @@ -55,17 +163,89 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsAppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + } + else if (value.IsGameCenterAppVersions1) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions1(), typeInfo); + } + else if (value.IsGameCenterAchievementReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases1(), typeInfo); + } + else if (value.IsGameCenterAchievementReleases2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases2(), typeInfo); + } + else if (value.IsGameCenterActivities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); + } + else if (value.IsGameCenterActivityVersionReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersionRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersionReleases(), typeInfo); + } + else if (value.IsGameCenterAppVersions2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions2(), typeInfo); + } + else if (value.IsGameCenterChallengeVersionReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases1(), typeInfo); + } + else if (value.IsGameCenterChallengeVersionReleases2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases2(), typeInfo); + } + else if (value.IsGameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + } + else if (value.IsGameCenterLeaderboardReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases1(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSetReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases1(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSetReleases2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases2(), typeInfo); } - else if (value.IsGameCenterEnabledVersions) + else if (value.IsGameCenterLeaderboardReleases2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterEnabledVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterEnabledVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem104.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem104.g.cs index bd785f53d..dc4b87deb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem104.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem104.g.cs @@ -17,66 +17,138 @@ public class IncludedItem104JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterAchievements) + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.AppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.App? gameCenterAppVersions1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterAppVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + gameCenterAppVersions1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementRelease)}"); + gameCenterAchievementReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterAchievementReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterActivities) + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterActivities) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterChallenges) + global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterActivityVersionReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionRelease)}"); + gameCenterActivityVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterAppVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); + gameCenterAppVersions2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionRelease)}"); + gameCenterChallengeVersionReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeVersionReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); - gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterChallengeVersionReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); + gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardRelease)}"); + gameCenterLeaderboardReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterDetails) + global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetRelease)}"); + gameCenterLeaderboardSetReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSetReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterLeaderboardSetReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterLeaderboardReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem104( discriminator?.Type, - gameCenterAchievements, + appStoreVersions, + + gameCenterAppVersions1, + + gameCenterAchievementReleases1, + + gameCenterAchievementReleases2, gameCenterActivities, - gameCenterChallenges, + gameCenterActivityVersionReleases, + + gameCenterAppVersions2, - gameCenterDetails, + gameCenterChallengeVersionReleases1, - gameCenterLeaderboardSets1, + gameCenterChallengeVersionReleases2, - gameCenterLeaderboardSets2 + gameCenterGroups, + + gameCenterLeaderboardReleases1, + + gameCenterLeaderboardSetReleases1, + + gameCenterLeaderboardSetReleases2, + + gameCenterLeaderboardReleases2 ); return __value; @@ -91,11 +163,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievements) + if (value.IsAppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + } + else if (value.IsGameCenterAppVersions1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions1(), typeInfo); + } + else if (value.IsGameCenterAchievementReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases1(), typeInfo); + } + else if (value.IsGameCenterAchievementReleases2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases2(), typeInfo); } else if (value.IsGameCenterActivities) { @@ -103,29 +193,59 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); } - else if (value.IsGameCenterChallenges) + else if (value.IsGameCenterActivityVersionReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersionRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersionReleases(), typeInfo); + } + else if (value.IsGameCenterAppVersions2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions2(), typeInfo); + } + else if (value.IsGameCenterChallengeVersionReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases1(), typeInfo); + } + else if (value.IsGameCenterChallengeVersionReleases2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallenges(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases2(), typeInfo); + } + else if (value.IsGameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + } + else if (value.IsGameCenterLeaderboardReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases1(), typeInfo); } - else if (value.IsGameCenterDetails) + else if (value.IsGameCenterLeaderboardSetReleases1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases1(), typeInfo); } - else if (value.IsGameCenterLeaderboardSets1) + else if (value.IsGameCenterLeaderboardSetReleases2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases2(), typeInfo); } - else if (value.IsGameCenterLeaderboardSets2) + else if (value.IsGameCenterLeaderboardReleases2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem105.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem105.g.cs index a1fda63a6..522264e09 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem105.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem105.g.cs @@ -17,66 +17,30 @@ public class IncludedItem105JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterAchievements) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterActivities) + global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType.GameCenterEnabledVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); - gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterChallenges) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); - gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterEnabledVersion)}"); + gameCenterEnabledVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem105( discriminator?.Type, - gameCenterAchievements, - - gameCenterActivities, - - gameCenterChallenges, + apps, - gameCenterDetails, - - gameCenterLeaderboardSets1, - - gameCenterLeaderboardSets2 + gameCenterEnabledVersions ); return __value; @@ -91,41 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievements) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); - } - else if (value.IsGameCenterActivities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); - } - else if (value.IsGameCenterChallenges) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallenges(), typeInfo); - } - else if (value.IsGameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSets1) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsGameCenterLeaderboardSets2) + else if (value.IsGameCenterEnabledVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterEnabledVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterEnabledVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem106.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem106.g.cs index 84033de9e..a720114d8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem106.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem106.g.cs @@ -17,30 +17,66 @@ public class IncludedItem106JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardImage? gameCenterLeaderboardImages1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardImage)}"); - gameCenterLeaderboardImages1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); + gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardImages2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) + global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterActivities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); + gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterChallenges) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); + gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); + gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardImages2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem106( discriminator?.Type, - gameCenterLeaderboardImages1, + gameCenterAchievements, + + gameCenterActivities, + + gameCenterChallenges, - gameCenterLeaderboardImages2 + gameCenterDetails, + + gameCenterLeaderboardSets1, + + gameCenterLeaderboardSets2 ); return __value; @@ -55,17 +91,41 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardImages1) + if (value.IsGameCenterAchievements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); + } + else if (value.IsGameCenterActivities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); + } + else if (value.IsGameCenterChallenges) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallenges(), typeInfo); + } + else if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSets1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); } - else if (value.IsGameCenterLeaderboardImages2) + else if (value.IsGameCenterLeaderboardSets2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages2(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem107.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem107.g.cs index a08eb533b..2d20d8246 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem107.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem107.g.cs @@ -17,30 +17,66 @@ public class IncludedItem107JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardImage? gameCenterLeaderboardImages1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardImage)}"); - gameCenterLeaderboardImages1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); + gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardImages2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) + global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterActivities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); + gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterChallenges) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); + gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); + gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardImages2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem107( discriminator?.Type, - gameCenterLeaderboardImages1, + gameCenterAchievements, + + gameCenterActivities, + + gameCenterChallenges, - gameCenterLeaderboardImages2 + gameCenterDetails, + + gameCenterLeaderboardSets1, + + gameCenterLeaderboardSets2 ); return __value; @@ -55,17 +91,41 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardImages1) + if (value.IsGameCenterAchievements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); + } + else if (value.IsGameCenterActivities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); + } + else if (value.IsGameCenterChallenges) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallenges(), typeInfo); + } + else if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSets1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); } - else if (value.IsGameCenterLeaderboardImages2) + else if (value.IsGameCenterLeaderboardSets2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages2(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem108.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem108.g.cs index 4dfe2ead8..ebaa433f2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem108.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem108.g.cs @@ -17,30 +17,30 @@ public class IncludedItem108JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardImageV2? gameCenterLeaderboardImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) + global::AppStoreConnect.GameCenterLeaderboardImage? gameCenterLeaderboardImages1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardImageV2)}"); - gameCenterLeaderboardImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardImage)}"); + gameCenterLeaderboardImages1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardImages2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); - gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboardImages2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem108( discriminator?.Type, - gameCenterLeaderboardImages, + gameCenterLeaderboardImages1, - gameCenterLeaderboardVersions + gameCenterLeaderboardImages2 ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardImages) + if (value.IsGameCenterLeaderboardImages1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages1(), typeInfo); } - else if (value.IsGameCenterLeaderboardVersions) + else if (value.IsGameCenterLeaderboardImages2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem109.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem109.g.cs index 6d1c6a05b..7b180f470 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem109.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem109.g.cs @@ -17,30 +17,30 @@ public class IncludedItem109JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardImageV2? gameCenterLeaderboardImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) + global::AppStoreConnect.GameCenterLeaderboardImage? gameCenterLeaderboardImages1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardImageV2)}"); - gameCenterLeaderboardImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardImage)}"); + gameCenterLeaderboardImages1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardImages2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); - gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboardImages2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem109( discriminator?.Type, - gameCenterLeaderboardImages, + gameCenterLeaderboardImages1, - gameCenterLeaderboardVersions + gameCenterLeaderboardImages2 ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardImages) + if (value.IsGameCenterLeaderboardImages1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages1(), typeInfo); } - else if (value.IsGameCenterLeaderboardVersions) + else if (value.IsGameCenterLeaderboardImages2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem11.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem11.g.cs index f9d4caa12..fc2c5dfb4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem11.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem11.g.cs @@ -17,48 +17,30 @@ public class IncludedItem11JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); - appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); + appClipDefaultExperiences1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppKeyword? appKeywords = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppKeywords) + global::AppStoreConnect.App? appClipDefaultExperiences2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppKeyword)}"); - appKeywords = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); - appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); - appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appClipDefaultExperiences2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem11( discriminator?.Type, - appCustomProductPageVersions, - - appKeywords, + appClipDefaultExperiences1, - appPreviewSets, - - appScreenshotSets + appClipDefaultExperiences2 ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppCustomProductPageVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); - } - else if (value.IsAppKeywords) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppKeyword).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppKeywords(), typeInfo); - } - else if (value.IsAppPreviewSets) + if (value.IsAppClipDefaultExperiences1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences1(), typeInfo); } - else if (value.IsAppScreenshotSets) + else if (value.IsAppClipDefaultExperiences2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem110.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem110.g.cs index 7a1b987a8..23f5c033b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem110.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem110.g.cs @@ -17,30 +17,30 @@ public class IncludedItem110JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType.GameCenterDetails) + global::AppStoreConnect.GameCenterLeaderboardImageV2? gameCenterLeaderboardImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardImageV2)}"); + gameCenterLeaderboardImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); + gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem110( discriminator?.Type, - gameCenterDetails, + gameCenterLeaderboardImages, - gameCenterLeaderboards + gameCenterLeaderboardVersions ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterDetails) + if (value.IsGameCenterLeaderboardImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages(), typeInfo); } - else if (value.IsGameCenterLeaderboards) + else if (value.IsGameCenterLeaderboardVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem111.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem111.g.cs index a0774bf47..f347e13fa 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem111.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem111.g.cs @@ -17,30 +17,30 @@ public class IncludedItem111JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType.GameCenterDetails) + global::AppStoreConnect.GameCenterLeaderboardImageV2? gameCenterLeaderboardImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardImageV2)}"); + gameCenterLeaderboardImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); + gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem111( discriminator?.Type, - gameCenterDetails, + gameCenterLeaderboardImages, - gameCenterLeaderboards + gameCenterLeaderboardVersions ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterDetails) + if (value.IsGameCenterLeaderboardImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardImages(), typeInfo); } - else if (value.IsGameCenterLeaderboards) + else if (value.IsGameCenterLeaderboardVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem112.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem112.g.cs index 257102dc1..0f8c4fc0d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem112.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem112.g.cs @@ -17,30 +17,30 @@ public class IncludedItem112JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardSetImage? gameCenterLeaderboardSetImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetImages) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetImage)}"); - gameCenterLeaderboardSetImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem112( discriminator?.Type, - gameCenterLeaderboardSetImages, + gameCenterDetails, - gameCenterLeaderboardSets + gameCenterLeaderboards ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardSetImages) + if (value.IsGameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); } - else if (value.IsGameCenterLeaderboardSets) + else if (value.IsGameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem113.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem113.g.cs index 0038716b2..cac943bdd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem113.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem113.g.cs @@ -17,30 +17,30 @@ public class IncludedItem113JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardSetImage? gameCenterLeaderboardSetImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetImages) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetImage)}"); - gameCenterLeaderboardSetImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem113( discriminator?.Type, - gameCenterLeaderboardSetImages, + gameCenterDetails, - gameCenterLeaderboardSets + gameCenterLeaderboards ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardSetImages) + if (value.IsGameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); } - else if (value.IsGameCenterLeaderboardSets) + else if (value.IsGameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem114.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem114.g.cs index e3ffcc248..eed65c5e1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem114.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem114.g.cs @@ -17,30 +17,30 @@ public class IncludedItem114JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardSetImageV2? gameCenterLeaderboardSetImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetImages) + global::AppStoreConnect.GameCenterLeaderboardSetImage? gameCenterLeaderboardSetImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetImage)}"); gameCenterLeaderboardSetImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); - gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); + gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem114( discriminator?.Type, gameCenterLeaderboardSetImages, - gameCenterLeaderboardSetVersions + gameCenterLeaderboardSets ); return __value; @@ -57,15 +57,15 @@ public override void Write( if (value.IsGameCenterLeaderboardSetImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetImages(), typeInfo); } - else if (value.IsGameCenterLeaderboardSetVersions) + else if (value.IsGameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem115.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem115.g.cs index 575499eae..5030361e3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem115.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem115.g.cs @@ -17,30 +17,30 @@ public class IncludedItem115JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardSetImageV2? gameCenterLeaderboardSetImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetImages) + global::AppStoreConnect.GameCenterLeaderboardSetImage? gameCenterLeaderboardSetImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetImage)}"); gameCenterLeaderboardSetImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); - gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); + gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem115( discriminator?.Type, gameCenterLeaderboardSetImages, - gameCenterLeaderboardSetVersions + gameCenterLeaderboardSets ); return __value; @@ -57,15 +57,15 @@ public override void Write( if (value.IsGameCenterLeaderboardSetImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetImages(), typeInfo); } - else if (value.IsGameCenterLeaderboardSetVersions) + else if (value.IsGameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem116.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem116.g.cs index ac270efa0..b7d9fe685 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem116.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem116.g.cs @@ -17,30 +17,30 @@ public class IncludedItem116JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardSetImageV2? gameCenterLeaderboardSetImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2)}"); + gameCenterLeaderboardSetImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); + gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem116( discriminator?.Type, - gameCenterLeaderboardSets1, + gameCenterLeaderboardSetImages, - gameCenterLeaderboardSets2 + gameCenterLeaderboardSetVersions ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardSets1) + if (value.IsGameCenterLeaderboardSetImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetImages(), typeInfo); } - else if (value.IsGameCenterLeaderboardSets2) + else if (value.IsGameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem117.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem117.g.cs index a95ecc95e..5911e21d3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem117.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem117.g.cs @@ -17,30 +17,30 @@ public class IncludedItem117JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardSetImageV2? gameCenterLeaderboardSetImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2)}"); + gameCenterLeaderboardSetImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); + gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem117( discriminator?.Type, - gameCenterLeaderboardSets1, + gameCenterLeaderboardSetImages, - gameCenterLeaderboardSets2 + gameCenterLeaderboardSetVersions ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardSets1) + if (value.IsGameCenterLeaderboardSetImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetImages(), typeInfo); } - else if (value.IsGameCenterLeaderboardSets2) + else if (value.IsGameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem118.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem118.g.cs index 1465f9cf4..4ed6d4ec6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem118.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem118.g.cs @@ -17,30 +17,30 @@ public class IncludedItem118JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem118( discriminator?.Type, - gameCenterDetails, + gameCenterLeaderboardSets1, - gameCenterLeaderboardSets + gameCenterLeaderboardSets2 ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSets) + if (value.IsGameCenterLeaderboardSets1) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSets2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem119.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem119.g.cs index 015b1ac28..30de83eda 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem119.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem119.g.cs @@ -17,30 +17,30 @@ public class IncludedItem119JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem119( discriminator?.Type, - gameCenterDetails, + gameCenterLeaderboardSets1, - gameCenterLeaderboardSets + gameCenterLeaderboardSets2 ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSets) + if (value.IsGameCenterLeaderboardSets1) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSets2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem12.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem12.g.cs index 5bc1d8f7b..9838b0281 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem12.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem12.g.cs @@ -17,48 +17,30 @@ public class IncludedItem12JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); - appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); + appClipDefaultExperiences1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppKeyword? appKeywords = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppKeywords) + global::AppStoreConnect.App? appClipDefaultExperiences2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppKeyword)}"); - appKeywords = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); - appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); - appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appClipDefaultExperiences2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem12( discriminator?.Type, - appCustomProductPageVersions, - - appKeywords, + appClipDefaultExperiences1, - appPreviewSets, - - appScreenshotSets + appClipDefaultExperiences2 ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppCustomProductPageVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); - } - else if (value.IsAppKeywords) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppKeyword).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppKeywords(), typeInfo); - } - else if (value.IsAppPreviewSets) + if (value.IsAppClipDefaultExperiences1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences1(), typeInfo); } - else if (value.IsAppScreenshotSets) + else if (value.IsAppClipDefaultExperiences2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem120.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem120.g.cs index b62698311..8fec35106 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem120.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem120.g.cs @@ -17,28 +17,28 @@ public class IncludedItem120JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? gameCenterLeaderboardSetLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetLocalizations) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2)}"); - gameCenterLeaderboardSetLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem120( discriminator?.Type, - gameCenterLeaderboardSetLocalizations, + gameCenterDetails, gameCenterLeaderboardSets ); @@ -55,16 +55,16 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardSetLocalizations) + if (value.IsGameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); } else if (value.IsGameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem121.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem121.g.cs index a1b7266de..ee7b1e269 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem121.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem121.g.cs @@ -17,28 +17,28 @@ public class IncludedItem121JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? gameCenterLeaderboardSetLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetLocalizations) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2)}"); - gameCenterLeaderboardSetLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem121( discriminator?.Type, - gameCenterLeaderboardSetLocalizations, + gameCenterDetails, gameCenterLeaderboardSets ); @@ -55,16 +55,16 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardSetLocalizations) + if (value.IsGameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); } else if (value.IsGameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem122.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem122.g.cs index 3d51db1c8..3a43c209a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem122.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem122.g.cs @@ -17,48 +17,30 @@ public class IncludedItem122JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) + global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? gameCenterLeaderboardSetLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2)}"); + gameCenterLeaderboardSetLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) + global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); - gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); - gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2)}"); + gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem122( discriminator?.Type, - gameCenterDetails, - - gameCenterGroups, + gameCenterLeaderboardSetLocalizations, - gameCenterLeaderboardSetVersions, - - gameCenterLeaderboards + gameCenterLeaderboardSets ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } - else if (value.IsGameCenterGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetVersions) + if (value.IsGameCenterLeaderboardSetLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetLocalizations(), typeInfo); } - else if (value.IsGameCenterLeaderboards) + else if (value.IsGameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem123.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem123.g.cs index a4b27a183..4b0791319 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem123.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem123.g.cs @@ -17,48 +17,30 @@ public class IncludedItem123JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) + global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? gameCenterLeaderboardSetLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2)}"); + gameCenterLeaderboardSetLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) + global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); - gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); - gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2)}"); + gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem123( discriminator?.Type, - gameCenterDetails, - - gameCenterGroups, + gameCenterLeaderboardSetLocalizations, - gameCenterLeaderboardSetVersions, - - gameCenterLeaderboards + gameCenterLeaderboardSets ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } - else if (value.IsGameCenterGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetVersions) + if (value.IsGameCenterLeaderboardSetLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetLocalizations(), typeInfo); } - else if (value.IsGameCenterLeaderboards) + else if (value.IsGameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem124.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem124.g.cs index 3d6a6002a..2c0c9d91f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem124.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem124.g.cs @@ -17,51 +17,37 @@ public class IncludedItem124JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterDetails) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetLocalization? gameCenterLeaderboardSetLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetLocalizations) + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization)}"); - gameCenterLeaderboardSetLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); + gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) + global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetRelease)}"); - gameCenterLeaderboardSetReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2)}"); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem124( @@ -70,13 +56,9 @@ public class IncludedItem124JsonConverter : global::System.Text.Json.Serializati gameCenterGroups, - gameCenterLeaderboardSetLocalizations, - - gameCenterLeaderboardSetReleases, + gameCenterLeaderboardSetVersions, - gameCenterLeaderboardSets1, - - gameCenterLeaderboardSets2 + gameCenterLeaderboards ); return __value; @@ -103,29 +85,17 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); } - else if (value.IsGameCenterLeaderboardSetLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetLocalizations(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSets1) + else if (value.IsGameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); } - else if (value.IsGameCenterLeaderboardSets2) + else if (value.IsGameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem125.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem125.g.cs index 9d41d5836..3f96373f7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem125.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem125.g.cs @@ -17,51 +17,37 @@ public class IncludedItem125JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterDetails) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetLocalization? gameCenterLeaderboardSetLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetLocalizations) + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization)}"); - gameCenterLeaderboardSetLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); + gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) + global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetRelease)}"); - gameCenterLeaderboardSetReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2)}"); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem125( @@ -70,13 +56,9 @@ public class IncludedItem125JsonConverter : global::System.Text.Json.Serializati gameCenterGroups, - gameCenterLeaderboardSetLocalizations, - - gameCenterLeaderboardSetReleases, + gameCenterLeaderboardSetVersions, - gameCenterLeaderboardSets1, - - gameCenterLeaderboardSets2 + gameCenterLeaderboards ); return __value; @@ -103,29 +85,17 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); } - else if (value.IsGameCenterLeaderboardSetLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetLocalizations(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSets1) + else if (value.IsGameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); } - else if (value.IsGameCenterLeaderboardSets2) + else if (value.IsGameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem126.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem126.g.cs index 3535dff7b..8211c1dd9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem126.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem126.g.cs @@ -17,30 +17,66 @@ public class IncludedItem126JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? gameCenterLeaderboardLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardLocalizations) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2)}"); - gameCenterLeaderboardLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) + global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); + gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSetLocalization? gameCenterLeaderboardSetLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization)}"); + gameCenterLeaderboardSetLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetRelease)}"); + gameCenterLeaderboardSetReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); + gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem126( discriminator?.Type, - gameCenterLeaderboardLocalizations, + gameCenterDetails, + + gameCenterGroups, + + gameCenterLeaderboardSetLocalizations, - gameCenterLeaderboards + gameCenterLeaderboardSetReleases, + + gameCenterLeaderboardSets1, + + gameCenterLeaderboardSets2 ); return __value; @@ -55,17 +91,41 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardLocalizations) + if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSetLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetLocalizations(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSetReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSets1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); } - else if (value.IsGameCenterLeaderboards) + else if (value.IsGameCenterLeaderboardSets2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem127.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem127.g.cs index 4a38392ae..0bf981a1d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem127.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem127.g.cs @@ -17,30 +17,66 @@ public class IncludedItem127JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? gameCenterLeaderboardLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardLocalizations) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2)}"); - gameCenterLeaderboardLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) + global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); + gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSetLocalization? gameCenterLeaderboardSetLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization)}"); + gameCenterLeaderboardSetLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetRelease)}"); + gameCenterLeaderboardSetReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); + gameCenterLeaderboardSets1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboardSets2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem127( discriminator?.Type, - gameCenterLeaderboardLocalizations, + gameCenterDetails, + + gameCenterGroups, + + gameCenterLeaderboardSetLocalizations, - gameCenterLeaderboards + gameCenterLeaderboardSetReleases, + + gameCenterLeaderboardSets1, + + gameCenterLeaderboardSets2 ); return __value; @@ -55,17 +91,41 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterLeaderboardLocalizations) + if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSetLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetLocalizations(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSetReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetReleases(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSets1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets1(), typeInfo); } - else if (value.IsGameCenterLeaderboards) + else if (value.IsGameCenterLeaderboardSets2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem128.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem128.g.cs index 055c8ec4a..f5cc5267e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem128.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem128.g.cs @@ -17,84 +17,30 @@ public class IncludedItem128JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterActivities) + global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? gameCenterLeaderboardLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); - gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterChallenges) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); - gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); - gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardLocalization? gameCenterLeaderboardLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalization)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2)}"); gameCenterLeaderboardLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) + global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardRelease)}"); - gameCenterLeaderboardReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2)}"); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem128( discriminator?.Type, - gameCenterActivities, - - gameCenterChallenges, - - gameCenterDetails, - - gameCenterGroups, - gameCenterLeaderboardLocalizations, - gameCenterLeaderboardReleases1, - - gameCenterLeaderboardSets, - - gameCenterLeaderboardReleases2 + gameCenterLeaderboards ); return __value; @@ -109,53 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterActivities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); - } - else if (value.IsGameCenterChallenges) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallenges(), typeInfo); - } - else if (value.IsGameCenterDetails) + if (value.IsGameCenterLeaderboardLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } - else if (value.IsGameCenterGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); - } - else if (value.IsGameCenterLeaderboardLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardLocalizations(), typeInfo); } - else if (value.IsGameCenterLeaderboardReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases1(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); - } - else if (value.IsGameCenterLeaderboardReleases2) + else if (value.IsGameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem129.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem129.g.cs index d6bc9b52f..6e8b4eabd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem129.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem129.g.cs @@ -17,84 +17,30 @@ public class IncludedItem129JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterActivities) + global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? gameCenterLeaderboardLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); - gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterChallenges) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); - gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); - gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardLocalization? gameCenterLeaderboardLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterLeaderboardLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalization)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2)}"); gameCenterLeaderboardLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) + global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardRelease)}"); - gameCenterLeaderboardReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); - gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboardReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2)}"); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem129( discriminator?.Type, - gameCenterActivities, - - gameCenterChallenges, - - gameCenterDetails, - - gameCenterGroups, - gameCenterLeaderboardLocalizations, - gameCenterLeaderboardReleases1, - - gameCenterLeaderboardSets, - - gameCenterLeaderboardReleases2 + gameCenterLeaderboards ); return __value; @@ -109,53 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterActivities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); - } - else if (value.IsGameCenterChallenges) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallenges(), typeInfo); - } - else if (value.IsGameCenterDetails) + if (value.IsGameCenterLeaderboardLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } - else if (value.IsGameCenterGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); - } - else if (value.IsGameCenterLeaderboardLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardLocalizations(), typeInfo); } - else if (value.IsGameCenterLeaderboardReleases1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases1(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); - } - else if (value.IsGameCenterLeaderboardReleases2) + else if (value.IsGameCenterLeaderboards) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem13.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem13.g.cs index 8f9727ad4..71f8606e2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem13.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem13.g.cs @@ -17,30 +17,57 @@ public class IncludedItem13JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); - appCustomProductPageLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacement)}"); + appAssetLibraryPlacements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppCustomProductPage? appCustomProductPageLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPage)}"); - appCustomProductPageLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); + appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppKeyword? appKeywords = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppKeywords) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppKeyword)}"); + appKeywords = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); + appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); + appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem13( discriminator?.Type, - appCustomProductPageLocalizations1, + appAssetLibraryPlacements, + + appCustomProductPageVersions, + + appKeywords, - appCustomProductPageLocalizations2 + appPreviewSets, + + appScreenshotSets ); return __value; @@ -55,17 +82,35 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppCustomProductPageLocalizations1) + if (value.IsAppAssetLibraryPlacements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryPlacements(), typeInfo); + } + else if (value.IsAppCustomProductPageVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); + } + else if (value.IsAppKeywords) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppKeyword).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppKeywords(), typeInfo); + } + else if (value.IsAppPreviewSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); } - else if (value.IsAppCustomProductPageLocalizations2) + else if (value.IsAppScreenshotSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem130.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem130.g.cs index 6dcea002e..256bdbe65 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem130.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem130.g.cs @@ -17,51 +17,65 @@ public class IncludedItem130JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterActivities) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterActivities) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterChallenges) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterChallenges) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterDetails) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardLocalization? gameCenterLeaderboardLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalization)}"); + gameCenterLeaderboardLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardRelease)}"); + gameCenterLeaderboardReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); - gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboardReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem130( @@ -74,9 +88,13 @@ public class IncludedItem130JsonConverter : global::System.Text.Json.Serializati gameCenterGroups, + gameCenterLeaderboardLocalizations, + + gameCenterLeaderboardReleases1, + gameCenterLeaderboardSets, - gameCenterLeaderboardVersions + gameCenterLeaderboardReleases2 ); return __value; @@ -115,17 +133,29 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); } + else if (value.IsGameCenterLeaderboardLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardLocalizations(), typeInfo); + } + else if (value.IsGameCenterLeaderboardReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases1(), typeInfo); + } else if (value.IsGameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); } - else if (value.IsGameCenterLeaderboardVersions) + else if (value.IsGameCenterLeaderboardReleases2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem131.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem131.g.cs index 8c2d21a2d..1cb202e02 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem131.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem131.g.cs @@ -17,51 +17,65 @@ public class IncludedItem131JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterActivities) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterActivities) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterChallenges) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterChallenges) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterDetails) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + global::AppStoreConnect.GameCenterLeaderboardLocalization? gameCenterLeaderboardLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterLeaderboardLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardLocalization)}"); + gameCenterLeaderboardLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardRelease)}"); + gameCenterLeaderboardReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSet)}"); gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType.GameCenterLeaderboardReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); - gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboardReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem131( @@ -74,9 +88,13 @@ public class IncludedItem131JsonConverter : global::System.Text.Json.Serializati gameCenterGroups, + gameCenterLeaderboardLocalizations, + + gameCenterLeaderboardReleases1, + gameCenterLeaderboardSets, - gameCenterLeaderboardVersions + gameCenterLeaderboardReleases2 ); return __value; @@ -115,17 +133,29 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); } + else if (value.IsGameCenterLeaderboardLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardLocalizations(), typeInfo); + } + else if (value.IsGameCenterLeaderboardReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases1(), typeInfo); + } else if (value.IsGameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSet).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); } - else if (value.IsGameCenterLeaderboardVersions) + else if (value.IsGameCenterLeaderboardReleases2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardReleases2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem132.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem132.g.cs index 18848eb63..881f57c36 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem132.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem132.g.cs @@ -17,30 +17,66 @@ public class IncludedItem132JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? gameCenterMatchmakingTestPlayerProperties = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType.GameCenterMatchmakingTestPlayerProperties) + global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterActivities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty)}"); - gameCenterMatchmakingTestPlayerProperties = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); + gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterMatchmakingTestRequest? gameCenterMatchmakingTestRequests = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType.GameCenterMatchmakingTestRequests) + global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterChallenges) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingTestRequest)}"); - gameCenterMatchmakingTestRequests = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); + gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); + gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2)}"); + gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); + gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem132( discriminator?.Type, - gameCenterMatchmakingTestPlayerProperties, + gameCenterActivities, + + gameCenterChallenges, + + gameCenterDetails, - gameCenterMatchmakingTestRequests + gameCenterGroups, + + gameCenterLeaderboardSets, + + gameCenterLeaderboardVersions ); return __value; @@ -55,17 +91,41 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterMatchmakingTestPlayerProperties) + if (value.IsGameCenterActivities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); + } + else if (value.IsGameCenterChallenges) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallenges(), typeInfo); + } + else if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingTestPlayerProperties(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); } - else if (value.IsGameCenterMatchmakingTestRequests) + else if (value.IsGameCenterLeaderboardVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingTestRequests(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem133.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem133.g.cs new file mode 100644 index 000000000..9cbaf274e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem133.g.cs @@ -0,0 +1,132 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class IncludedItem133JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.IncludedItem133 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterActivities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); + gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterChallenges) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); + gameCenterChallenges = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); + gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetV2)}"); + gameCenterLeaderboardSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); + gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::AppStoreConnect.IncludedItem133( + discriminator?.Type, + gameCenterActivities, + + gameCenterChallenges, + + gameCenterDetails, + + gameCenterGroups, + + gameCenterLeaderboardSets, + + gameCenterLeaderboardVersions + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.IncludedItem133 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsGameCenterActivities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); + } + else if (value.IsGameCenterChallenges) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallenges(), typeInfo); + } + else if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSets(), typeInfo); + } + else if (value.IsGameCenterLeaderboardVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem134.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem134.g.cs index 01b92d476..8de7affe0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem134.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem134.g.cs @@ -17,39 +17,30 @@ public class IncludedItem134JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterMatchmakingQueue? gameCenterMatchmakingQueues = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType.GameCenterMatchmakingQueues) + global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? gameCenterMatchmakingTestPlayerProperties = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType.GameCenterMatchmakingTestPlayerProperties) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingQueue)}"); - gameCenterMatchmakingQueues = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty)}"); + gameCenterMatchmakingTestPlayerProperties = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterMatchmakingRule? gameCenterMatchmakingRules = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType.GameCenterMatchmakingRules) + global::AppStoreConnect.GameCenterMatchmakingTestRequest? gameCenterMatchmakingTestRequests = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType.GameCenterMatchmakingTestRequests) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRule)}"); - gameCenterMatchmakingRules = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterMatchmakingTeam? gameCenterMatchmakingTeams = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType.GameCenterMatchmakingTeams) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingTeam)}"); - gameCenterMatchmakingTeams = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingTestRequest)}"); + gameCenterMatchmakingTestRequests = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem134( discriminator?.Type, - gameCenterMatchmakingQueues, - - gameCenterMatchmakingRules, + gameCenterMatchmakingTestPlayerProperties, - gameCenterMatchmakingTeams + gameCenterMatchmakingTestRequests ); return __value; @@ -64,23 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterMatchmakingQueues) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingQueue).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingQueues(), typeInfo); - } - else if (value.IsGameCenterMatchmakingRules) + if (value.IsGameCenterMatchmakingTestPlayerProperties) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingRule).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingRules(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingTestPlayerProperties(), typeInfo); } - else if (value.IsGameCenterMatchmakingTeams) + else if (value.IsGameCenterMatchmakingTestRequests) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingTeam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingTeams(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequest).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingTestRequests(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem135.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem135.g.cs deleted file mode 100644 index b48591c29..000000000 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem135.g.cs +++ /dev/null @@ -1,87 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 // Type or member is obsolete - -namespace AppStoreConnect.JsonConverters -{ - /// - public class IncludedItem135JsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::AppStoreConnect.IncludedItem135 Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - - var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminator)}"); - var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - - global::AppStoreConnect.GameCenterMatchmakingQueue? gameCenterMatchmakingQueues = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType.GameCenterMatchmakingQueues) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingQueue)}"); - gameCenterMatchmakingQueues = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterMatchmakingRule? gameCenterMatchmakingRules = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType.GameCenterMatchmakingRules) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRule)}"); - gameCenterMatchmakingRules = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterMatchmakingTeam? gameCenterMatchmakingTeams = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType.GameCenterMatchmakingTeams) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingTeam)}"); - gameCenterMatchmakingTeams = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - var __value = new global::AppStoreConnect.IncludedItem135( - discriminator?.Type, - gameCenterMatchmakingQueues, - - gameCenterMatchmakingRules, - - gameCenterMatchmakingTeams - ); - - return __value; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::AppStoreConnect.IncludedItem135 value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsGameCenterMatchmakingQueues) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingQueue).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingQueues(), typeInfo); - } - else if (value.IsGameCenterMatchmakingRules) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingRule).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingRules(), typeInfo); - } - else if (value.IsGameCenterMatchmakingTeams) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingTeam).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingTeams(), typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem136.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem136.g.cs index aeba8cfaa..eb2e6e695 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem136.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem136.g.cs @@ -17,39 +17,39 @@ public class IncludedItem136JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? inAppPurchaseOfferCodeCustomCodes = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodeCustomCodes) + global::AppStoreConnect.GameCenterMatchmakingQueue? gameCenterMatchmakingQueues = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType.GameCenterMatchmakingQueues) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode)}"); - inAppPurchaseOfferCodeCustomCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingQueue)}"); + gameCenterMatchmakingQueues = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? inAppPurchaseOfferCodeOneTimeUseCodes = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodeOneTimeUseCodes) + global::AppStoreConnect.GameCenterMatchmakingRule? gameCenterMatchmakingRules = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType.GameCenterMatchmakingRules) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode)}"); - inAppPurchaseOfferCodeOneTimeUseCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRule)}"); + gameCenterMatchmakingRules = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchaseOfferPrice? inAppPurchaseOfferPrices = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType.InAppPurchaseOfferPrices) + global::AppStoreConnect.GameCenterMatchmakingTeam? gameCenterMatchmakingTeams = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType.GameCenterMatchmakingTeams) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferPrice)}"); - inAppPurchaseOfferPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingTeam)}"); + gameCenterMatchmakingTeams = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem136( discriminator?.Type, - inAppPurchaseOfferCodeCustomCodes, + gameCenterMatchmakingQueues, - inAppPurchaseOfferCodeOneTimeUseCodes, + gameCenterMatchmakingRules, - inAppPurchaseOfferPrices + gameCenterMatchmakingTeams ); return __value; @@ -64,23 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchaseOfferCodeCustomCodes) + if (value.IsGameCenterMatchmakingQueues) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodeCustomCodes(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingQueue).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingQueues(), typeInfo); } - else if (value.IsInAppPurchaseOfferCodeOneTimeUseCodes) + else if (value.IsGameCenterMatchmakingRules) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodeOneTimeUseCodes(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingRule).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingRules(), typeInfo); } - else if (value.IsInAppPurchaseOfferPrices) + else if (value.IsGameCenterMatchmakingTeams) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferPrice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferPrices(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingTeam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingTeams(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem137.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem137.g.cs index 6a1aec6d4..45837b5c2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem137.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem137.g.cs @@ -17,39 +17,39 @@ public class IncludedItem137JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? inAppPurchaseOfferCodeCustomCodes = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodeCustomCodes) + global::AppStoreConnect.GameCenterMatchmakingQueue? gameCenterMatchmakingQueues = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType.GameCenterMatchmakingQueues) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode)}"); - inAppPurchaseOfferCodeCustomCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingQueue)}"); + gameCenterMatchmakingQueues = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? inAppPurchaseOfferCodeOneTimeUseCodes = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodeOneTimeUseCodes) + global::AppStoreConnect.GameCenterMatchmakingRule? gameCenterMatchmakingRules = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType.GameCenterMatchmakingRules) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode)}"); - inAppPurchaseOfferCodeOneTimeUseCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingRule)}"); + gameCenterMatchmakingRules = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchaseOfferPrice? inAppPurchaseOfferPrices = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType.InAppPurchaseOfferPrices) + global::AppStoreConnect.GameCenterMatchmakingTeam? gameCenterMatchmakingTeams = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType.GameCenterMatchmakingTeams) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferPrice)}"); - inAppPurchaseOfferPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterMatchmakingTeam)}"); + gameCenterMatchmakingTeams = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem137( discriminator?.Type, - inAppPurchaseOfferCodeCustomCodes, + gameCenterMatchmakingQueues, - inAppPurchaseOfferCodeOneTimeUseCodes, + gameCenterMatchmakingRules, - inAppPurchaseOfferPrices + gameCenterMatchmakingTeams ); return __value; @@ -64,23 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchaseOfferCodeCustomCodes) + if (value.IsGameCenterMatchmakingQueues) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodeCustomCodes(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingQueue).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingQueues(), typeInfo); } - else if (value.IsInAppPurchaseOfferCodeOneTimeUseCodes) + else if (value.IsGameCenterMatchmakingRules) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodeOneTimeUseCodes(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingRule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingRule).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingRules(), typeInfo); } - else if (value.IsInAppPurchaseOfferPrices) + else if (value.IsGameCenterMatchmakingTeams) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferPrice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferPrices(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterMatchmakingTeam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterMatchmakingTeams(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem138.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem138.g.cs index edda31548..e9f239a06 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem138.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem138.g.cs @@ -17,30 +17,39 @@ public class IncludedItem138JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType.InAppPurchasePricePoints) + global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? inAppPurchaseOfferCodeCustomCodes = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodeCustomCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricePoint)}"); - inAppPurchasePricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode)}"); + inAppPurchaseOfferCodeCustomCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? inAppPurchaseOfferCodeOneTimeUseCodes = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodeOneTimeUseCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode)}"); + inAppPurchaseOfferCodeOneTimeUseCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseOfferPrice? inAppPurchaseOfferPrices = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType.InAppPurchaseOfferPrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferPrice)}"); + inAppPurchaseOfferPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem138( discriminator?.Type, - inAppPurchasePricePoints, + inAppPurchaseOfferCodeCustomCodes, + + inAppPurchaseOfferCodeOneTimeUseCodes, - territories + inAppPurchaseOfferPrices ); return __value; @@ -55,17 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchasePricePoints) + if (value.IsInAppPurchaseOfferCodeCustomCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodeCustomCodes(), typeInfo); + } + else if (value.IsInAppPurchaseOfferCodeOneTimeUseCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePricePoint).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePricePoints(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodeOneTimeUseCodes(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsInAppPurchaseOfferPrices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferPrice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferPrices(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem139.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem139.g.cs index a40e2aee3..42e221a62 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem139.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem139.g.cs @@ -17,30 +17,39 @@ public class IncludedItem139JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchasePrice? inAppPurchasePrices = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType.InAppPurchasePrices) + global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? inAppPurchaseOfferCodeCustomCodes = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodeCustomCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePrice)}"); - inAppPurchasePrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode)}"); + inAppPurchaseOfferCodeCustomCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? inAppPurchaseOfferCodeOneTimeUseCodes = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodeOneTimeUseCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode)}"); + inAppPurchaseOfferCodeOneTimeUseCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseOfferPrice? inAppPurchaseOfferPrices = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType.InAppPurchaseOfferPrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferPrice)}"); + inAppPurchaseOfferPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem139( discriminator?.Type, - inAppPurchasePrices, + inAppPurchaseOfferCodeCustomCodes, + + inAppPurchaseOfferCodeOneTimeUseCodes, - territories + inAppPurchaseOfferPrices ); return __value; @@ -55,17 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchasePrices) + if (value.IsInAppPurchaseOfferCodeCustomCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodeCustomCodes(), typeInfo); + } + else if (value.IsInAppPurchaseOfferCodeOneTimeUseCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePrice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePrices(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodeOneTimeUseCodes(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsInAppPurchaseOfferPrices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferPrice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferPrices(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem14.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem14.g.cs index 39bbdd344..80f262e2c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem14.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem14.g.cs @@ -17,30 +17,57 @@ public class IncludedItem14JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); - appCustomProductPageLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacement)}"); + appAssetLibraryPlacements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppCustomProductPage? appCustomProductPageLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPage)}"); - appCustomProductPageLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); + appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppKeyword? appKeywords = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppKeywords) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppKeyword)}"); + appKeywords = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); + appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); + appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem14( discriminator?.Type, - appCustomProductPageLocalizations1, + appAssetLibraryPlacements, + + appCustomProductPageVersions, + + appKeywords, - appCustomProductPageLocalizations2 + appPreviewSets, + + appScreenshotSets ); return __value; @@ -55,17 +82,35 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppCustomProductPageLocalizations1) + if (value.IsAppAssetLibraryPlacements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryPlacements(), typeInfo); + } + else if (value.IsAppCustomProductPageVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); + } + else if (value.IsAppKeywords) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppKeyword).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppKeywords(), typeInfo); + } + else if (value.IsAppPreviewSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); } - else if (value.IsAppCustomProductPageLocalizations2) + else if (value.IsAppScreenshotSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem140.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem140.g.cs new file mode 100644 index 000000000..dda48b442 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem140.g.cs @@ -0,0 +1,72 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class IncludedItem140JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.IncludedItem140 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType.InAppPurchasePricePoints) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricePoint)}"); + inAppPurchasePricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType.Territories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::AppStoreConnect.IncludedItem140( + discriminator?.Type, + inAppPurchasePricePoints, + + territories + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.IncludedItem140 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsInAppPurchasePricePoints) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePricePoint).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePricePoints(), typeInfo); + } + else if (value.IsTerritories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem141.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem141.g.cs index 7f0fcd5e9..dee294f3b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem141.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem141.g.cs @@ -17,19 +17,19 @@ public class IncludedItem141JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType.InAppPurchasePricePoints) + global::AppStoreConnect.InAppPurchasePrice? inAppPurchasePrices = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType.InAppPurchasePrices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricePoint)}"); - inAppPurchasePricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePrice)}"); + inAppPurchasePrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType.Territories) + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType.Territories) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); @@ -38,7 +38,7 @@ public class IncludedItem141JsonConverter : global::System.Text.Json.Serializati var __value = new global::AppStoreConnect.IncludedItem141( discriminator?.Type, - inAppPurchasePricePoints, + inAppPurchasePrices, territories ); @@ -55,11 +55,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchasePricePoints) + if (value.IsInAppPurchasePrices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePricePoint).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePricePoints(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePrice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePrices(), typeInfo); } else if (value.IsTerritories) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem142.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem142.g.cs deleted file mode 100644 index 6a64dbb8b..000000000 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem142.g.cs +++ /dev/null @@ -1,87 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 // Type or member is obsolete - -namespace AppStoreConnect.JsonConverters -{ - /// - public class IncludedItem142JsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::AppStoreConnect.IncludedItem142 Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - - var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminator)}"); - var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - - global::AppStoreConnect.InAppPurchaseImageV2? inAppPurchaseImages = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType.InAppPurchaseImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseImageV2)}"); - inAppPurchaseImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseLocalizationV2? inAppPurchaseLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType.InAppPurchaseLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseLocalizationV2)}"); - inAppPurchaseLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseV2? inAppPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType.InAppPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2)}"); - inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - var __value = new global::AppStoreConnect.IncludedItem142( - discriminator?.Type, - inAppPurchaseImages, - - inAppPurchaseLocalizations, - - inAppPurchases - ); - - return __value; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::AppStoreConnect.IncludedItem142 value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsInAppPurchaseImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseImageV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseImages(), typeInfo); - } - else if (value.IsInAppPurchaseLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseLocalizations(), typeInfo); - } - else if (value.IsInAppPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem143.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem143.g.cs index 2ab458c38..a01ebec60 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem143.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem143.g.cs @@ -17,39 +17,30 @@ public class IncludedItem143JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchaseImageV2? inAppPurchaseImages = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType.InAppPurchaseImages) + global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType.InAppPurchasePricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseImageV2)}"); - inAppPurchaseImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricePoint)}"); + inAppPurchasePricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchaseLocalizationV2? inAppPurchaseLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType.InAppPurchaseLocalizations) + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType.Territories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseLocalizationV2)}"); - inAppPurchaseLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseV2? inAppPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType.InAppPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2)}"); - inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem143( discriminator?.Type, - inAppPurchaseImages, - - inAppPurchaseLocalizations, + inAppPurchasePricePoints, - inAppPurchases + territories ); return __value; @@ -64,23 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchaseImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseImageV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseImages(), typeInfo); - } - else if (value.IsInAppPurchaseLocalizations) + if (value.IsInAppPurchasePricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePricePoint).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePricePoints(), typeInfo); } - else if (value.IsInAppPurchases) + else if (value.IsTerritories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem144.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem144.g.cs index fd8000c87..7f386c9fe 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem144.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem144.g.cs @@ -17,102 +17,39 @@ public class IncludedItem144JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? inAppPurchaseAppStoreReviewScreenshots = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseAppStoreReviewScreenshots) + global::AppStoreConnect.InAppPurchaseImageV2? inAppPurchaseImages = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType.InAppPurchaseImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot)}"); - inAppPurchaseAppStoreReviewScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseAvailability? inAppPurchaseAvailabilities = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseAvailability)}"); - inAppPurchaseAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseContent? inAppPurchaseContents = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseContents) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseContent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseContent)}"); - inAppPurchaseContents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseImage? inAppPurchaseImages = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseImage)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseImageV2)}"); inAppPurchaseImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchaseLocalization? inAppPurchaseLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseLocalizations) + global::AppStoreConnect.InAppPurchaseLocalizationV2? inAppPurchaseLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType.InAppPurchaseLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseLocalization)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseLocalizationV2)}"); inAppPurchaseLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchaseOfferCode? inAppPurchaseOfferCodes = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCode)}"); - inAppPurchaseOfferCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchasePricePoints) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricePoint)}"); - inAppPurchasePricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchasePriceSchedule? inAppPurchasePriceSchedules = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchasePriceSchedules) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePriceSchedule)}"); - inAppPurchasePriceSchedules = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersion)}"); - inAppPurchaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.PromotedPurchases) + global::AppStoreConnect.InAppPurchaseV2? inAppPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType.InAppPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); - promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2)}"); + inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem144( discriminator?.Type, - inAppPurchaseAppStoreReviewScreenshots, - - inAppPurchaseAvailabilities, - - inAppPurchaseContents, - inAppPurchaseImages, inAppPurchaseLocalizations, - inAppPurchaseOfferCodes, - - inAppPurchasePricePoints, - - inAppPurchasePriceSchedules, - - inAppPurchaseVersions, - - promotedPurchases + inAppPurchases ); return __value; @@ -127,65 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchaseAppStoreReviewScreenshots) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseAppStoreReviewScreenshots(), typeInfo); - } - else if (value.IsInAppPurchaseAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseAvailability).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseAvailabilities(), typeInfo); - } - else if (value.IsInAppPurchaseContents) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseContent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseContent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseContents(), typeInfo); - } - else if (value.IsInAppPurchaseImages) + if (value.IsInAppPurchaseImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseImage).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseImageV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseImages(), typeInfo); } else if (value.IsInAppPurchaseLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseLocalization).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseLocalizations(), typeInfo); } - else if (value.IsInAppPurchaseOfferCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodes(), typeInfo); - } - else if (value.IsInAppPurchasePricePoints) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePricePoint).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePricePoints(), typeInfo); - } - else if (value.IsInAppPurchasePriceSchedules) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePriceSchedule).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePriceSchedules(), typeInfo); - } - else if (value.IsInAppPurchaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseVersions(), typeInfo); - } - else if (value.IsPromotedPurchases) + else if (value.IsInAppPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem145.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem145.g.cs index 35383e967..355a4c339 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem145.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem145.g.cs @@ -17,102 +17,39 @@ public class IncludedItem145JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? inAppPurchaseAppStoreReviewScreenshots = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseAppStoreReviewScreenshots) + global::AppStoreConnect.InAppPurchaseImageV2? inAppPurchaseImages = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType.InAppPurchaseImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot)}"); - inAppPurchaseAppStoreReviewScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseAvailability? inAppPurchaseAvailabilities = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseAvailability)}"); - inAppPurchaseAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseContent? inAppPurchaseContents = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseContents) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseContent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseContent)}"); - inAppPurchaseContents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseImage? inAppPurchaseImages = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseImage)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseImageV2)}"); inAppPurchaseImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchaseLocalization? inAppPurchaseLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseLocalizations) + global::AppStoreConnect.InAppPurchaseLocalizationV2? inAppPurchaseLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType.InAppPurchaseLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseLocalization)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseLocalizationV2)}"); inAppPurchaseLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchaseOfferCode? inAppPurchaseOfferCodes = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCode)}"); - inAppPurchaseOfferCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchasePricePoints) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricePoint)}"); - inAppPurchasePricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchasePriceSchedule? inAppPurchasePriceSchedules = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchasePriceSchedules) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePriceSchedule)}"); - inAppPurchasePriceSchedules = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersion)}"); - inAppPurchaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.PromotedPurchases) + global::AppStoreConnect.InAppPurchaseV2? inAppPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType.InAppPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); - promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2)}"); + inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem145( discriminator?.Type, - inAppPurchaseAppStoreReviewScreenshots, - - inAppPurchaseAvailabilities, - - inAppPurchaseContents, - inAppPurchaseImages, inAppPurchaseLocalizations, - inAppPurchaseOfferCodes, - - inAppPurchasePricePoints, - - inAppPurchasePriceSchedules, - - inAppPurchaseVersions, - - promotedPurchases + inAppPurchases ); return __value; @@ -127,65 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchaseAppStoreReviewScreenshots) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseAppStoreReviewScreenshots(), typeInfo); - } - else if (value.IsInAppPurchaseAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseAvailability).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseAvailabilities(), typeInfo); - } - else if (value.IsInAppPurchaseContents) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseContent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseContent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseContents(), typeInfo); - } - else if (value.IsInAppPurchaseImages) + if (value.IsInAppPurchaseImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseImage).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseImageV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseImages(), typeInfo); } else if (value.IsInAppPurchaseLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseLocalization).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseLocalizations(), typeInfo); } - else if (value.IsInAppPurchaseOfferCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodes(), typeInfo); - } - else if (value.IsInAppPurchasePricePoints) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePricePoint).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePricePoints(), typeInfo); - } - else if (value.IsInAppPurchasePriceSchedules) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePriceSchedule).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePriceSchedules(), typeInfo); - } - else if (value.IsInAppPurchaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseVersions(), typeInfo); - } - else if (value.IsPromotedPurchases) + else if (value.IsInAppPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem146.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem146.g.cs index f8e86786c..6adba0fd9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem146.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem146.g.cs @@ -17,48 +17,102 @@ public class IncludedItem146JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.NominationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.NominationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.Actor? actors = default; - if (discriminator?.Type == global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType.Actors) + global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? inAppPurchaseAppStoreReviewScreenshots = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseAppStoreReviewScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Actor)}"); - actors = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot)}"); + inAppPurchaseAppStoreReviewScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEvent? appEvents1 = default; - if (discriminator?.Type == global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.InAppPurchaseAvailability? inAppPurchaseAvailabilities = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseAvailabilities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); - appEvents1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseAvailability)}"); + inAppPurchaseAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appEvents2 = default; - if (discriminator?.Type == global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.InAppPurchaseContent? inAppPurchaseContents = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseContents) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appEvents2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseContent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseContent)}"); + inAppPurchaseContents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.InAppPurchaseImage? inAppPurchaseImages = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseImage)}"); + inAppPurchaseImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseLocalization? inAppPurchaseLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseLocalization)}"); + inAppPurchaseLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseOfferCode? inAppPurchaseOfferCodes = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCode)}"); + inAppPurchaseOfferCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchasePricePoints) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricePoint)}"); + inAppPurchasePricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchasePriceSchedule? inAppPurchasePriceSchedules = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchasePriceSchedules) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePriceSchedule)}"); + inAppPurchasePriceSchedules = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.InAppPurchaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersion)}"); + inAppPurchaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType.PromotedPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); + promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem146( discriminator?.Type, - actors, + inAppPurchaseAppStoreReviewScreenshots, + + inAppPurchaseAvailabilities, + + inAppPurchaseContents, + + inAppPurchaseImages, - appEvents1, + inAppPurchaseLocalizations, - appEvents2, + inAppPurchaseOfferCodes, - territories + inAppPurchasePricePoints, + + inAppPurchasePriceSchedules, + + inAppPurchaseVersions, + + promotedPurchases ); return __value; @@ -73,29 +127,65 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsActors) + if (value.IsInAppPurchaseAppStoreReviewScreenshots) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseAppStoreReviewScreenshots(), typeInfo); + } + else if (value.IsInAppPurchaseAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseAvailability).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseAvailabilities(), typeInfo); + } + else if (value.IsInAppPurchaseContents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseContent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseContent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseContents(), typeInfo); + } + else if (value.IsInAppPurchaseImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseImages(), typeInfo); + } + else if (value.IsInAppPurchaseLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseLocalizations(), typeInfo); + } + else if (value.IsInAppPurchaseOfferCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodes(), typeInfo); + } + else if (value.IsInAppPurchasePricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Actor).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickActors(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePricePoint).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePricePoints(), typeInfo); } - else if (value.IsAppEvents1) + else if (value.IsInAppPurchasePriceSchedules) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePriceSchedule).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePriceSchedules(), typeInfo); } - else if (value.IsAppEvents2) + else if (value.IsInAppPurchaseVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseVersions(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsPromotedPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem147.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem147.g.cs index e251e9f52..0280f3c85 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem147.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem147.g.cs @@ -17,48 +17,102 @@ public class IncludedItem147JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.NominationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.NominationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.Actor? actors = default; - if (discriminator?.Type == global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType.Actors) + global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? inAppPurchaseAppStoreReviewScreenshots = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseAppStoreReviewScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Actor)}"); - actors = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot)}"); + inAppPurchaseAppStoreReviewScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEvent? appEvents1 = default; - if (discriminator?.Type == global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.InAppPurchaseAvailability? inAppPurchaseAvailabilities = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseAvailabilities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); - appEvents1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseAvailability)}"); + inAppPurchaseAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appEvents2 = default; - if (discriminator?.Type == global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.InAppPurchaseContent? inAppPurchaseContents = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseContents) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appEvents2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseContent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseContent)}"); + inAppPurchaseContents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.InAppPurchaseImage? inAppPurchaseImages = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseImage)}"); + inAppPurchaseImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseLocalization? inAppPurchaseLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseLocalization)}"); + inAppPurchaseLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseOfferCode? inAppPurchaseOfferCodes = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseOfferCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseOfferCode)}"); + inAppPurchaseOfferCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchasePricePoints) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePricePoint)}"); + inAppPurchasePricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchasePriceSchedule? inAppPurchasePriceSchedules = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchasePriceSchedules) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchasePriceSchedule)}"); + inAppPurchasePriceSchedules = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.InAppPurchaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersion)}"); + inAppPurchaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType.PromotedPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); + promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem147( discriminator?.Type, - actors, + inAppPurchaseAppStoreReviewScreenshots, + + inAppPurchaseAvailabilities, + + inAppPurchaseContents, + + inAppPurchaseImages, - appEvents1, + inAppPurchaseLocalizations, - appEvents2, + inAppPurchaseOfferCodes, - territories + inAppPurchasePricePoints, + + inAppPurchasePriceSchedules, + + inAppPurchaseVersions, + + promotedPurchases ); return __value; @@ -73,29 +127,65 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsActors) + if (value.IsInAppPurchaseAppStoreReviewScreenshots) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseAppStoreReviewScreenshots(), typeInfo); + } + else if (value.IsInAppPurchaseAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseAvailability).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseAvailabilities(), typeInfo); + } + else if (value.IsInAppPurchaseContents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseContent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseContent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseContents(), typeInfo); + } + else if (value.IsInAppPurchaseImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseImages(), typeInfo); + } + else if (value.IsInAppPurchaseLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseLocalizations(), typeInfo); + } + else if (value.IsInAppPurchaseOfferCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseOfferCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseOfferCodes(), typeInfo); + } + else if (value.IsInAppPurchasePricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Actor).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickActors(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePricePoint).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePricePoints(), typeInfo); } - else if (value.IsAppEvents1) + else if (value.IsInAppPurchasePriceSchedules) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchasePriceSchedule).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchasePriceSchedules(), typeInfo); } - else if (value.IsAppEvents2) + else if (value.IsInAppPurchaseVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseVersions(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsPromotedPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem148.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem148.g.cs index d6abed8de..7cdd6466b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem148.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem148.g.cs @@ -17,30 +17,48 @@ public class IncludedItem148JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.NominationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.NominationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.Actor? actors = default; + if (discriminator?.Type == global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType.Actors) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Actor)}"); + actors = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppEvent? appEvents1 = default; + if (discriminator?.Type == global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType.AppEvents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); + appEvents1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.App? appEvents2 = default; + if (discriminator?.Type == global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType.AppEvents) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + appEvents2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType.Builds) + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType.Territories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem148( discriminator?.Type, - apps, + actors, + + appEvents1, - builds + appEvents2, + + territories ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsActors) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Actor).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickActors(), typeInfo); + } + else if (value.IsAppEvents1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents1(), typeInfo); + } + else if (value.IsAppEvents2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents2(), typeInfo); } - else if (value.IsBuilds) + else if (value.IsTerritories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem149.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem149.g.cs index dacf9a957..537405079 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem149.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem149.g.cs @@ -17,30 +17,48 @@ public class IncludedItem149JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.NominationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.NominationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.Actor? actors = default; + if (discriminator?.Type == global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType.Actors) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Actor)}"); + actors = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppEvent? appEvents1 = default; + if (discriminator?.Type == global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType.AppEvents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); + appEvents1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.App? appEvents2 = default; + if (discriminator?.Type == global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType.AppEvents) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + appEvents2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType.Builds) + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType.Territories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem149( discriminator?.Type, - apps, + actors, + + appEvents1, - builds + appEvents2, + + territories ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsActors) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Actor).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickActors(), typeInfo); + } + else if (value.IsAppEvents1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents1(), typeInfo); + } + else if (value.IsAppEvents2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents2(), typeInfo); } - else if (value.IsBuilds) + else if (value.IsTerritories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem15.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem15.g.cs index d45b84056..67c0878db 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem15.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem15.g.cs @@ -17,29 +17,22 @@ public class IncludedItem15JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); appCustomProductPageLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) + global::AppStoreConnect.AppCustomProductPage? appCustomProductPageLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); - appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.App? appCustomProductPageLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPage)}"); appCustomProductPageLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -47,8 +40,6 @@ public class IncludedItem15JsonConverter : global::System.Text.Json.Serializatio discriminator?.Type, appCustomProductPageLocalizations1, - appCustomProductPageVersions, - appCustomProductPageLocalizations2 ); @@ -70,16 +61,10 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations1(), typeInfo); } - else if (value.IsAppCustomProductPageVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); - } else if (value.IsAppCustomProductPageLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPage).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations2(), typeInfo); } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem150.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem150.g.cs index 0f90e30b7..a1b33ccd5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem150.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem150.g.cs @@ -17,39 +17,30 @@ public class IncludedItem150JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.BundleId? bundleIds = default; - if (discriminator?.Type == global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType.BundleIds) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleId)}"); - bundleIds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Certificate? certificates = default; - if (discriminator?.Type == global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType.Certificates) + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType.Builds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Certificate), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Certificate)}"); - certificates = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Device? devices = default; - if (discriminator?.Type == global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType.Devices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Device), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Device)}"); - devices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem150( discriminator?.Type, - bundleIds, - - certificates, + apps, - devices + builds ); return __value; @@ -64,23 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBundleIds) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleId).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIds(), typeInfo); - } - else if (value.IsCertificates) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Certificate), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Certificate).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCertificates(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsDevices) + else if (value.IsBuilds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Device), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Device).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDevices(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem151.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem151.g.cs index dbff62fe1..913082040 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem151.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem151.g.cs @@ -17,39 +17,30 @@ public class IncludedItem151JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ProfileResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ProfileResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.BundleId? bundleIds = default; - if (discriminator?.Type == global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType.BundleIds) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleId)}"); - bundleIds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Certificate? certificates = default; - if (discriminator?.Type == global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType.Certificates) + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType.Builds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Certificate), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Certificate)}"); - certificates = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Device? devices = default; - if (discriminator?.Type == global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType.Devices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Device), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Device)}"); - devices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem151( discriminator?.Type, - bundleIds, - - certificates, + apps, - devices + builds ); return __value; @@ -64,23 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBundleIds) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleId).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIds(), typeInfo); - } - else if (value.IsCertificates) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Certificate), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Certificate).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCertificates(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsDevices) + else if (value.IsBuilds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Device), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Device).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDevices(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem152.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem152.g.cs index 808dfa843..2137f3258 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem152.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem152.g.cs @@ -17,30 +17,39 @@ public class IncludedItem152JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchaseV2? inAppPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType.InAppPurchases) + global::AppStoreConnect.BundleId? bundleIds = default; + if (discriminator?.Type == global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType.BundleIds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2)}"); - inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleId)}"); + bundleIds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType.Subscriptions) + global::AppStoreConnect.Certificate? certificates = default; + if (discriminator?.Type == global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType.Certificates) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); - subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Certificate), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Certificate)}"); + certificates = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Device? devices = default; + if (discriminator?.Type == global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType.Devices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Device), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Device)}"); + devices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem152( discriminator?.Type, - inAppPurchases, + bundleIds, + + certificates, - subscriptions + devices ); return __value; @@ -55,17 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchases) + if (value.IsBundleIds) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleId).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIds(), typeInfo); + } + else if (value.IsCertificates) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Certificate), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Certificate).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCertificates(), typeInfo); } - else if (value.IsSubscriptions) + else if (value.IsDevices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Device), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Device).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDevices(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem153.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem153.g.cs index f11c51253..1d0bd4395 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem153.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem153.g.cs @@ -17,30 +17,39 @@ public class IncludedItem153JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ProfileResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ProfileResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.InAppPurchaseV2? inAppPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType.InAppPurchases) + global::AppStoreConnect.BundleId? bundleIds = default; + if (discriminator?.Type == global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType.BundleIds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2)}"); - inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleId)}"); + bundleIds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType.Subscriptions) + global::AppStoreConnect.Certificate? certificates = default; + if (discriminator?.Type == global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType.Certificates) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); - subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Certificate), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Certificate)}"); + certificates = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Device? devices = default; + if (discriminator?.Type == global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType.Devices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Device), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Device)}"); + devices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem153( discriminator?.Type, - inAppPurchases, + bundleIds, + + certificates, - subscriptions + devices ); return __value; @@ -55,17 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsInAppPurchases) + if (value.IsBundleIds) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleId).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIds(), typeInfo); + } + else if (value.IsCertificates) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Certificate), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Certificate).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCertificates(), typeInfo); } - else if (value.IsSubscriptions) + else if (value.IsDevices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Device), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Device).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDevices(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem154.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem154.g.cs index 3483f6753..40aaf5320 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem154.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem154.g.cs @@ -17,129 +17,30 @@ public class IncludedItem154JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) + global::AppStoreConnect.InAppPurchaseV2? inAppPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType.InAppPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); - appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2)}"); + inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEvent? appEvents = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.Subscription? subscriptions = default; + if (discriminator?.Type == global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType.Subscriptions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); - appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments1 = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); - appStoreVersionExperiments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2 = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersionExperiments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.BackgroundAssetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersion)}"); - backgroundAssetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); - gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); - gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); - gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); - gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); - gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.InAppPurchaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersion)}"); - inAppPurchaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.SubscriptionGroupVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersion)}"); - subscriptionGroupVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionVersion? subscriptionVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.SubscriptionVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersion)}"); - subscriptionVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); + subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem154( discriminator?.Type, - appCustomProductPageVersions, - - appEvents, - - appStoreVersionExperiments1, - - appStoreVersionExperiments2, - - backgroundAssetVersions, - - gameCenterAchievementVersions, - - gameCenterActivityVersions, + inAppPurchases, - gameCenterChallengeVersions, - - gameCenterLeaderboardSetVersions, - - gameCenterLeaderboardVersions, - - inAppPurchaseVersions, - - subscriptionGroupVersions, - - subscriptionVersions + subscriptions ); return __value; @@ -154,83 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppCustomProductPageVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); - } - else if (value.IsAppEvents) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); - } - else if (value.IsAppStoreVersionExperiments1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments1(), typeInfo); - } - else if (value.IsAppStoreVersionExperiments2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments2(), typeInfo); - } - else if (value.IsBackgroundAssetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersions(), typeInfo); - } - else if (value.IsGameCenterAchievementVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); - } - else if (value.IsGameCenterActivityVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); - } - else if (value.IsGameCenterChallengeVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); - } - else if (value.IsGameCenterLeaderboardVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); - } - else if (value.IsInAppPurchaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseVersions(), typeInfo); - } - else if (value.IsSubscriptionGroupVersions) + if (value.IsInAppPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); } - else if (value.IsSubscriptionVersions) + else if (value.IsSubscriptions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem155.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem155.g.cs index fc12703c1..3de0a029e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem155.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem155.g.cs @@ -17,129 +17,30 @@ public class IncludedItem155JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) + global::AppStoreConnect.InAppPurchaseV2? inAppPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType.InAppPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); - appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseV2)}"); + inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEvent? appEvents = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.Subscription? subscriptions = default; + if (discriminator?.Type == global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType.Subscriptions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); - appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments1 = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); - appStoreVersionExperiments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2 = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersionExperiments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.BackgroundAssetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersion)}"); - backgroundAssetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); - gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); - gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); - gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); - gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); - gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.InAppPurchaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersion)}"); - inAppPurchaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.SubscriptionGroupVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersion)}"); - subscriptionGroupVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionVersion? subscriptionVersions = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.SubscriptionVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersion)}"); - subscriptionVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); + subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem155( discriminator?.Type, - appCustomProductPageVersions, - - appEvents, - - appStoreVersionExperiments1, - - appStoreVersionExperiments2, - - backgroundAssetVersions, - - gameCenterAchievementVersions, - - gameCenterActivityVersions, + inAppPurchases, - gameCenterChallengeVersions, - - gameCenterLeaderboardSetVersions, - - gameCenterLeaderboardVersions, - - inAppPurchaseVersions, - - subscriptionGroupVersions, - - subscriptionVersions + subscriptions ); return __value; @@ -154,83 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppCustomProductPageVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); - } - else if (value.IsAppEvents) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); - } - else if (value.IsAppStoreVersionExperiments1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments1(), typeInfo); - } - else if (value.IsAppStoreVersionExperiments2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments2(), typeInfo); - } - else if (value.IsBackgroundAssetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersions(), typeInfo); - } - else if (value.IsGameCenterAchievementVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); - } - else if (value.IsGameCenterActivityVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); - } - else if (value.IsGameCenterChallengeVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); - } - else if (value.IsGameCenterLeaderboardSetVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); - } - else if (value.IsGameCenterLeaderboardVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); - } - else if (value.IsInAppPurchaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseVersions(), typeInfo); - } - else if (value.IsSubscriptionGroupVersions) + if (value.IsInAppPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); } - else if (value.IsSubscriptionVersions) + else if (value.IsSubscriptions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem156.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem156.g.cs index 1e81cdd11..3a5983add 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem156.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem156.g.cs @@ -17,48 +17,147 @@ public class IncludedItem156JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.Actor? actors = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType.Actors) + global::AppStoreConnect.AppAssetLibraryImage? appAssetLibraryImages = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppAssetLibraryImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Actor)}"); - actors = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImage)}"); + appAssetLibraryImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersion? appStoreVersions1 = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.AppAssetLibraryVideo? appAssetLibraryVideos = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideo)}"); + appAssetLibraryVideos = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); + appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppEvent? appEvents = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppEvents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); + appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments1 = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); + appStoreVersionExperiments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2 = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + appStoreVersionExperiments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.BackgroundAssetVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersion)}"); + backgroundAssetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); + gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); + gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appStoreVersions2 = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appStoreVersions2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); + gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.ReviewSubmissionItem? reviewSubmissionItems = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType.ReviewSubmissionItems) + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionItem)}"); - reviewSubmissionItems = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); + gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); + gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.InAppPurchaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersion)}"); + inAppPurchaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.SubscriptionGroupVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersion)}"); + subscriptionGroupVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionVersion? subscriptionVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.SubscriptionVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersion)}"); + subscriptionVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem156( discriminator?.Type, - actors, + appAssetLibraryImages, + + appAssetLibraryVideos, + + appCustomProductPageVersions, + + appEvents, + + appStoreVersionExperiments1, + + appStoreVersionExperiments2, + + backgroundAssetVersions, - appStoreVersions1, + gameCenterAchievementVersions, - appStoreVersions2, + gameCenterActivityVersions, - reviewSubmissionItems + gameCenterChallengeVersions, + + gameCenterLeaderboardSetVersions, + + gameCenterLeaderboardVersions, + + inAppPurchaseVersions, + + subscriptionGroupVersions, + + subscriptionVersions ); return __value; @@ -73,29 +172,95 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsActors) + if (value.IsAppAssetLibraryImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryImages(), typeInfo); + } + else if (value.IsAppAssetLibraryVideos) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Actor).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickActors(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideo).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryVideos(), typeInfo); } - else if (value.IsAppStoreVersions1) + else if (value.IsAppCustomProductPageVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); + } + else if (value.IsAppEvents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); + } + else if (value.IsAppStoreVersionExperiments1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments1(), typeInfo); + } + else if (value.IsAppStoreVersionExperiments2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions1(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments2(), typeInfo); + } + else if (value.IsBackgroundAssetVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersions(), typeInfo); + } + else if (value.IsGameCenterAchievementVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); + } + else if (value.IsGameCenterActivityVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); + } + else if (value.IsGameCenterChallengeVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSetVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); + } + else if (value.IsGameCenterLeaderboardVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); + } + else if (value.IsInAppPurchaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseVersions(), typeInfo); } - else if (value.IsAppStoreVersions2) + else if (value.IsSubscriptionGroupVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupVersions(), typeInfo); } - else if (value.IsReviewSubmissionItems) + else if (value.IsSubscriptionVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ReviewSubmissionItem).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReviewSubmissionItems(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem157.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem157.g.cs index 15b7c2341..bc369f7ed 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem157.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem157.g.cs @@ -17,48 +17,147 @@ public class IncludedItem157JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.Actor? actors = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType.Actors) + global::AppStoreConnect.AppAssetLibraryImage? appAssetLibraryImages = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppAssetLibraryImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Actor)}"); - actors = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImage)}"); + appAssetLibraryImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersion? appStoreVersions1 = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.AppAssetLibraryVideo? appAssetLibraryVideos = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideo)}"); + appAssetLibraryVideos = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); + appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppEvent? appEvents = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppEvents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); + appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments1 = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); + appStoreVersionExperiments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2 = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + appStoreVersionExperiments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.BackgroundAssetVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersion)}"); + backgroundAssetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); + gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); + gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appStoreVersions2 = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appStoreVersions2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); + gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.ReviewSubmissionItem? reviewSubmissionItems = default; - if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType.ReviewSubmissionItems) + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterLeaderboardSetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionItem)}"); - reviewSubmissionItems = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2)}"); + gameCenterLeaderboardSetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.GameCenterLeaderboardVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboardVersionV2)}"); + gameCenterLeaderboardVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.InAppPurchaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchaseVersion)}"); + inAppPurchaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.SubscriptionGroupVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersion)}"); + subscriptionGroupVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionVersion? subscriptionVersions = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.SubscriptionVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersion)}"); + subscriptionVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem157( discriminator?.Type, - actors, + appAssetLibraryImages, + + appAssetLibraryVideos, + + appCustomProductPageVersions, + + appEvents, + + appStoreVersionExperiments1, + + appStoreVersionExperiments2, + + backgroundAssetVersions, - appStoreVersions1, + gameCenterAchievementVersions, - appStoreVersions2, + gameCenterActivityVersions, - reviewSubmissionItems + gameCenterChallengeVersions, + + gameCenterLeaderboardSetVersions, + + gameCenterLeaderboardVersions, + + inAppPurchaseVersions, + + subscriptionGroupVersions, + + subscriptionVersions ); return __value; @@ -73,29 +172,95 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsActors) + if (value.IsAppAssetLibraryImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryImages(), typeInfo); + } + else if (value.IsAppAssetLibraryVideos) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Actor).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickActors(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideo).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryVideos(), typeInfo); } - else if (value.IsAppStoreVersions1) + else if (value.IsAppCustomProductPageVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); + } + else if (value.IsAppEvents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); + } + else if (value.IsAppStoreVersionExperiments1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments1(), typeInfo); + } + else if (value.IsAppStoreVersionExperiments2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions1(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments2(), typeInfo); + } + else if (value.IsBackgroundAssetVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersions(), typeInfo); + } + else if (value.IsGameCenterAchievementVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); + } + else if (value.IsGameCenterActivityVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); + } + else if (value.IsGameCenterChallengeVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); + } + else if (value.IsGameCenterLeaderboardSetVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardSetVersions(), typeInfo); + } + else if (value.IsGameCenterLeaderboardVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboardVersions(), typeInfo); + } + else if (value.IsInAppPurchaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchaseVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchaseVersions(), typeInfo); } - else if (value.IsAppStoreVersions2) + else if (value.IsSubscriptionGroupVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupVersions(), typeInfo); } - else if (value.IsReviewSubmissionItems) + else if (value.IsSubscriptionVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ReviewSubmissionItem).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReviewSubmissionItems(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem158.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem158.g.cs index b93bb4913..5b9608273 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem158.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem158.g.cs @@ -17,30 +17,48 @@ public class IncludedItem158JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.ScmGitReference? scmGitReferences = default; - if (discriminator?.Type == global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType.ScmGitReferences) + global::AppStoreConnect.Actor? actors = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType.Actors) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmGitReference)}"); - scmGitReferences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Actor)}"); + actors = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.ScmProvider? scmProviders = default; - if (discriminator?.Type == global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType.ScmProviders) + global::AppStoreConnect.AppStoreVersion? appStoreVersions1 = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType.AppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmProvider), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmProvider)}"); - scmProviders = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.App? appStoreVersions2 = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType.AppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appStoreVersions2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ReviewSubmissionItem? reviewSubmissionItems = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType.ReviewSubmissionItems) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionItem)}"); + reviewSubmissionItems = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem158( discriminator?.Type, - scmGitReferences, + actors, + + appStoreVersions1, - scmProviders + appStoreVersions2, + + reviewSubmissionItems ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsScmGitReferences) + if (value.IsActors) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Actor).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickActors(), typeInfo); + } + else if (value.IsAppStoreVersions1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions1(), typeInfo); + } + else if (value.IsAppStoreVersions2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmGitReference).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmGitReferences(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions2(), typeInfo); } - else if (value.IsScmProviders) + else if (value.IsReviewSubmissionItems) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmProvider), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmProvider).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmProviders(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ReviewSubmissionItem).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReviewSubmissionItems(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem159.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem159.g.cs index 121ab374f..e70d2609a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem159.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem159.g.cs @@ -17,30 +17,48 @@ public class IncludedItem159JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.ScmGitReference? scmGitReferences = default; - if (discriminator?.Type == global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType.ScmGitReferences) + global::AppStoreConnect.Actor? actors = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType.Actors) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmGitReference)}"); - scmGitReferences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Actor)}"); + actors = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.ScmProvider? scmProviders = default; - if (discriminator?.Type == global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType.ScmProviders) + global::AppStoreConnect.AppStoreVersion? appStoreVersions1 = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType.AppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmProvider), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmProvider)}"); - scmProviders = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.App? appStoreVersions2 = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType.AppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appStoreVersions2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ReviewSubmissionItem? reviewSubmissionItems = default; + if (discriminator?.Type == global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType.ReviewSubmissionItems) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmissionItem)}"); + reviewSubmissionItems = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem159( discriminator?.Type, - scmGitReferences, + actors, + + appStoreVersions1, - scmProviders + appStoreVersions2, + + reviewSubmissionItems ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsScmGitReferences) + if (value.IsActors) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Actor), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Actor).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickActors(), typeInfo); + } + else if (value.IsAppStoreVersions1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions1(), typeInfo); + } + else if (value.IsAppStoreVersions2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmGitReference).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmGitReferences(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions2(), typeInfo); } - else if (value.IsScmProviders) + else if (value.IsReviewSubmissionItems) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmProvider), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmProvider).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmProviders(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmissionItem), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ReviewSubmissionItem).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReviewSubmissionItems(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem16.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem16.g.cs index 5c928d350..76b5cc1ab 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem16.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem16.g.cs @@ -17,29 +17,22 @@ public class IncludedItem16JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); appCustomProductPageLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) + global::AppStoreConnect.AppCustomProductPage? appCustomProductPageLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); - appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.App? appCustomProductPageLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPage)}"); appCustomProductPageLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -47,8 +40,6 @@ public class IncludedItem16JsonConverter : global::System.Text.Json.Serializatio discriminator?.Type, appCustomProductPageLocalizations1, - appCustomProductPageVersions, - appCustomProductPageLocalizations2 ); @@ -70,16 +61,10 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations1(), typeInfo); } - else if (value.IsAppCustomProductPageVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); - } else if (value.IsAppCustomProductPageLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPage).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations2(), typeInfo); } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem160.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem160.g.cs index 0e9e92b29..b5c873d20 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem160.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem160.g.cs @@ -17,30 +17,30 @@ public class IncludedItem160JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionGroupLocalizationV2? subscriptionGroupLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType.SubscriptionGroupLocalizations) + global::AppStoreConnect.ScmGitReference? scmGitReferences = default; + if (discriminator?.Type == global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType.ScmGitReferences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupLocalizationV2)}"); - subscriptionGroupLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmGitReference)}"); + scmGitReferences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType.SubscriptionGroups) + global::AppStoreConnect.ScmProvider? scmProviders = default; + if (discriminator?.Type == global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType.ScmProviders) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); - subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmProvider), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmProvider)}"); + scmProviders = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem160( discriminator?.Type, - subscriptionGroupLocalizations, + scmGitReferences, - subscriptionGroups + scmProviders ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionGroupLocalizations) + if (value.IsScmGitReferences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmGitReference).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmGitReferences(), typeInfo); } - else if (value.IsSubscriptionGroups) + else if (value.IsScmProviders) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmProvider), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmProvider).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmProviders(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem161.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem161.g.cs index f3d51811e..44c0f3833 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem161.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem161.g.cs @@ -17,30 +17,30 @@ public class IncludedItem161JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionGroupLocalizationV2? subscriptionGroupLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType.SubscriptionGroupLocalizations) + global::AppStoreConnect.ScmGitReference? scmGitReferences = default; + if (discriminator?.Type == global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType.ScmGitReferences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupLocalizationV2)}"); - subscriptionGroupLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmGitReference)}"); + scmGitReferences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType.SubscriptionGroups) + global::AppStoreConnect.ScmProvider? scmProviders = default; + if (discriminator?.Type == global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType.ScmProviders) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); - subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmProvider), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmProvider)}"); + scmProviders = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem161( discriminator?.Type, - subscriptionGroupLocalizations, + scmGitReferences, - subscriptionGroups + scmProviders ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionGroupLocalizations) + if (value.IsScmGitReferences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmGitReference).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmGitReferences(), typeInfo); } - else if (value.IsSubscriptionGroups) + else if (value.IsScmProviders) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmProvider), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmProvider).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmProviders(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem162.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem162.g.cs index 86a8b6a73..f26e6237a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem162.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem162.g.cs @@ -17,39 +17,30 @@ public class IncludedItem162JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionGroupLocalization? subscriptionGroupLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType.SubscriptionGroupLocalizations) + global::AppStoreConnect.SubscriptionGroupLocalizationV2? subscriptionGroupLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType.SubscriptionGroupLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupLocalization)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupLocalizationV2)}"); subscriptionGroupLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType.SubscriptionGroupVersions) + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType.SubscriptionGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersion)}"); - subscriptionGroupVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType.Subscriptions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); - subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); + subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem162( discriminator?.Type, subscriptionGroupLocalizations, - subscriptionGroupVersions, - - subscriptions + subscriptionGroups ); return __value; @@ -66,21 +57,15 @@ public override void Write( if (value.IsSubscriptionGroupLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupLocalization).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupLocalizations(), typeInfo); } - else if (value.IsSubscriptionGroupVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupVersions(), typeInfo); - } - else if (value.IsSubscriptions) + else if (value.IsSubscriptionGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem163.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem163.g.cs index 4ef4e0c23..89ea7228c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem163.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem163.g.cs @@ -17,39 +17,30 @@ public class IncludedItem163JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionGroupLocalization? subscriptionGroupLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType.SubscriptionGroupLocalizations) + global::AppStoreConnect.SubscriptionGroupLocalizationV2? subscriptionGroupLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType.SubscriptionGroupLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupLocalization)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupLocalizationV2)}"); subscriptionGroupLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType.SubscriptionGroupVersions) + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType.SubscriptionGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersion)}"); - subscriptionGroupVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType.Subscriptions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); - subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); + subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem163( discriminator?.Type, subscriptionGroupLocalizations, - subscriptionGroupVersions, - - subscriptions + subscriptionGroups ); return __value; @@ -66,21 +57,15 @@ public override void Write( if (value.IsSubscriptionGroupLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupLocalization).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupLocalizations(), typeInfo); } - else if (value.IsSubscriptionGroupVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupVersions(), typeInfo); - } - else if (value.IsSubscriptions) + else if (value.IsSubscriptionGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem164.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem164.g.cs index a1b84aaad..67d8387d7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem164.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem164.g.cs @@ -17,39 +17,39 @@ public class IncludedItem164JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) + global::AppStoreConnect.SubscriptionGroupLocalization? subscriptionGroupLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType.SubscriptionGroupLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); - subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupLocalization)}"); + subscriptionGroupLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType.SubscriptionGroupVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersion)}"); + subscriptionGroupVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType.Subscriptions) + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType.Subscriptions) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType.Territories) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } var __value = new global::AppStoreConnect.IncludedItem164( discriminator?.Type, - subscriptionPricePoints, + subscriptionGroupLocalizations, - subscriptions, + subscriptionGroupVersions, - territories + subscriptions ); return __value; @@ -64,11 +64,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionPricePoints) + if (value.IsSubscriptionGroupLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupLocalizations(), typeInfo); + } + else if (value.IsSubscriptionGroupVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupVersions(), typeInfo); } else if (value.IsSubscriptions) { @@ -76,12 +82,6 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); } - else if (value.IsTerritories) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); - } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem165.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem165.g.cs index a5cce581f..778752f5f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem165.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem165.g.cs @@ -17,39 +17,39 @@ public class IncludedItem165JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) + global::AppStoreConnect.SubscriptionGroupLocalization? subscriptionGroupLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType.SubscriptionGroupLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); - subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupLocalization)}"); + subscriptionGroupLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType.SubscriptionGroupVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroupVersion)}"); + subscriptionGroupVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType.Subscriptions) + if (discriminator?.Type == global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType.Subscriptions) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType.Territories) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } var __value = new global::AppStoreConnect.IncludedItem165( discriminator?.Type, - subscriptionPricePoints, + subscriptionGroupLocalizations, - subscriptions, + subscriptionGroupVersions, - territories + subscriptions ); return __value; @@ -64,11 +64,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionPricePoints) + if (value.IsSubscriptionGroupLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupLocalizations(), typeInfo); + } + else if (value.IsSubscriptionGroupVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroupVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroupVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroupVersions(), typeInfo); } else if (value.IsSubscriptions) { @@ -76,12 +82,6 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); } - else if (value.IsTerritories) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); - } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem166.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem166.g.cs index 2ee5b5138..e5c262d74 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem166.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem166.g.cs @@ -17,19 +17,26 @@ public class IncludedItem166JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) + if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::AppStoreConnect.Subscription? subscriptions = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType.Subscriptions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); + subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType.Territories) + if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType.Territories) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); @@ -40,6 +47,8 @@ public class IncludedItem166JsonConverter : global::System.Text.Json.Serializati discriminator?.Type, subscriptionPricePoints, + subscriptions, + territories ); @@ -61,6 +70,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); } + else if (value.IsSubscriptions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); + } else if (value.IsTerritories) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem167.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem167.g.cs index 1c5645b1d..5e21c47a6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem167.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem167.g.cs @@ -17,48 +17,39 @@ public class IncludedItem167JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionOfferCodeCustomCode? subscriptionOfferCodeCustomCodes = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType.SubscriptionOfferCodeCustomCodes) + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode)}"); - subscriptionOfferCodeCustomCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); + subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? subscriptionOfferCodeOneTimeUseCodes = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType.SubscriptionOfferCodeOneTimeUseCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode)}"); - subscriptionOfferCodeOneTimeUseCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionOfferCodePrice? subscriptionOfferCodePrices1 = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType.SubscriptionOfferCodePrices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodePrice)}"); - subscriptionOfferCodePrices1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Subscription? subscriptionOfferCodePrices2 = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType.SubscriptionOfferCodePrices) + global::AppStoreConnect.Subscription? subscriptions = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType.Subscriptions) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); - subscriptionOfferCodePrices2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType.Territories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem167( discriminator?.Type, - subscriptionOfferCodeCustomCodes, - - subscriptionOfferCodeOneTimeUseCodes, + subscriptionPricePoints, - subscriptionOfferCodePrices1, + subscriptions, - subscriptionOfferCodePrices2 + territories ); return __value; @@ -73,29 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionOfferCodeCustomCodes) + if (value.IsSubscriptionPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodeCustomCodes(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); } - else if (value.IsSubscriptionOfferCodeOneTimeUseCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodeOneTimeUseCodes(), typeInfo); - } - else if (value.IsSubscriptionOfferCodePrices1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodePrice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodePrices1(), typeInfo); - } - else if (value.IsSubscriptionOfferCodePrices2) + else if (value.IsSubscriptions) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodePrices2(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); + } + else if (value.IsTerritories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem168.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem168.g.cs index eecf33928..154030b5a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem168.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem168.g.cs @@ -17,48 +17,30 @@ public class IncludedItem168JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionOfferCodeCustomCode? subscriptionOfferCodeCustomCodes = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType.SubscriptionOfferCodeCustomCodes) + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode)}"); - subscriptionOfferCodeCustomCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); + subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? subscriptionOfferCodeOneTimeUseCodes = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType.SubscriptionOfferCodeOneTimeUseCodes) + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType.Territories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode)}"); - subscriptionOfferCodeOneTimeUseCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionOfferCodePrice? subscriptionOfferCodePrices1 = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType.SubscriptionOfferCodePrices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodePrice)}"); - subscriptionOfferCodePrices1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Subscription? subscriptionOfferCodePrices2 = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType.SubscriptionOfferCodePrices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); - subscriptionOfferCodePrices2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem168( discriminator?.Type, - subscriptionOfferCodeCustomCodes, - - subscriptionOfferCodeOneTimeUseCodes, + subscriptionPricePoints, - subscriptionOfferCodePrices1, - - subscriptionOfferCodePrices2 + territories ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionOfferCodeCustomCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodeCustomCodes(), typeInfo); - } - else if (value.IsSubscriptionOfferCodeOneTimeUseCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodeOneTimeUseCodes(), typeInfo); - } - else if (value.IsSubscriptionOfferCodePrices1) + if (value.IsSubscriptionPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodePrice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodePrices1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); } - else if (value.IsSubscriptionOfferCodePrices2) + else if (value.IsTerritories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodePrices2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem169.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem169.g.cs index 1c6048c53..3981e119e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem169.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem169.g.cs @@ -17,30 +17,48 @@ public class IncludedItem169JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) + global::AppStoreConnect.SubscriptionOfferCodeCustomCode? subscriptionOfferCodeCustomCodes = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType.SubscriptionOfferCodeCustomCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); - subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode)}"); + subscriptionOfferCodeCustomCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? subscriptionOfferCodeOneTimeUseCodes = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType.SubscriptionOfferCodeOneTimeUseCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode)}"); + subscriptionOfferCodeOneTimeUseCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionOfferCodePrice? subscriptionOfferCodePrices1 = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType.SubscriptionOfferCodePrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodePrice)}"); + subscriptionOfferCodePrices1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Subscription? subscriptionOfferCodePrices2 = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType.SubscriptionOfferCodePrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); + subscriptionOfferCodePrices2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem169( discriminator?.Type, - subscriptionPricePoints, + subscriptionOfferCodeCustomCodes, + + subscriptionOfferCodeOneTimeUseCodes, - territories + subscriptionOfferCodePrices1, + + subscriptionOfferCodePrices2 ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionPricePoints) + if (value.IsSubscriptionOfferCodeCustomCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodeCustomCodes(), typeInfo); + } + else if (value.IsSubscriptionOfferCodeOneTimeUseCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodeOneTimeUseCodes(), typeInfo); + } + else if (value.IsSubscriptionOfferCodePrices1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodePrice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodePrices1(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsSubscriptionOfferCodePrices2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodePrices2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem19.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem17.g.cs similarity index 59% rename from src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem19.g.cs rename to src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem17.g.cs index f6f480c2b..2d901f59a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem19.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem17.g.cs @@ -4,10 +4,10 @@ namespace AppStoreConnect.JsonConverters { /// - public class IncludedItem19JsonConverter : global::System.Text.Json.Serialization.JsonConverter + public class IncludedItem17JsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::AppStoreConnect.IncludedItem19 Read( + public override global::AppStoreConnect.IncludedItem17 Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -17,39 +17,39 @@ public class IncludedItem19JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppEncryptionDeclarationDocument? appEncryptionDeclarationDocuments1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType.AppEncryptionDeclarationDocuments) + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclarationDocument)}"); - appEncryptionDeclarationDocuments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); + appCustomProductPageLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appEncryptionDeclarationDocuments2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType.AppEncryptionDeclarationDocuments) + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appEncryptionDeclarationDocuments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); + appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType.Builds) + global::AppStoreConnect.App? appCustomProductPageLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appCustomProductPageLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - var __value = new global::AppStoreConnect.IncludedItem19( + var __value = new global::AppStoreConnect.IncludedItem17( discriminator?.Type, - appEncryptionDeclarationDocuments1, + appCustomProductPageLocalizations1, - appEncryptionDeclarationDocuments2, + appCustomProductPageVersions, - builds + appCustomProductPageLocalizations2 ); return __value; @@ -58,29 +58,29 @@ public class IncludedItem19JsonConverter : global::System.Text.Json.Serializatio /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::AppStoreConnect.IncludedItem19 value, + global::AppStoreConnect.IncludedItem17 value, global::System.Text.Json.JsonSerializerOptions options) { options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppEncryptionDeclarationDocuments1) + if (value.IsAppCustomProductPageLocalizations1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarationDocuments1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations1(), typeInfo); } - else if (value.IsAppEncryptionDeclarationDocuments2) + else if (value.IsAppCustomProductPageVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarationDocuments2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); } - else if (value.IsBuilds) + else if (value.IsAppCustomProductPageLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem170.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem170.g.cs index f247a2f6d..971e719a0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem170.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem170.g.cs @@ -17,30 +17,48 @@ public class IncludedItem170JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) + global::AppStoreConnect.SubscriptionOfferCodeCustomCode? subscriptionOfferCodeCustomCodes = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType.SubscriptionOfferCodeCustomCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); - subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode)}"); + subscriptionOfferCodeCustomCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? subscriptionOfferCodeOneTimeUseCodes = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType.SubscriptionOfferCodeOneTimeUseCodes) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode)}"); + subscriptionOfferCodeOneTimeUseCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionOfferCodePrice? subscriptionOfferCodePrices1 = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType.SubscriptionOfferCodePrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCodePrice)}"); + subscriptionOfferCodePrices1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Subscription? subscriptionOfferCodePrices2 = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType.SubscriptionOfferCodePrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); + subscriptionOfferCodePrices2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem170( discriminator?.Type, - subscriptionPricePoints, + subscriptionOfferCodeCustomCodes, + + subscriptionOfferCodeOneTimeUseCodes, - territories + subscriptionOfferCodePrices1, + + subscriptionOfferCodePrices2 ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionPricePoints) + if (value.IsSubscriptionOfferCodeCustomCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodeCustomCodes(), typeInfo); + } + else if (value.IsSubscriptionOfferCodeOneTimeUseCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodeOneTimeUseCodes(), typeInfo); + } + else if (value.IsSubscriptionOfferCodePrices1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCodePrice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodePrices1(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsSubscriptionOfferCodePrices2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodePrices2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem171.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem171.g.cs index cb8aebd25..2dc48588c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem171.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem171.g.cs @@ -17,19 +17,19 @@ public class IncludedItem171JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType.Territories) + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType.Territories) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem172.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem172.g.cs index d0298664c..350100f3c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem172.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem172.g.cs @@ -17,30 +17,30 @@ public class IncludedItem172JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionPromotionalOfferPrice? subscriptionPromotionalOfferPrices = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType.SubscriptionPromotionalOfferPrices) + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice)}"); - subscriptionPromotionalOfferPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); + subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType.Subscriptions) + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType.Territories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); - subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem172( discriminator?.Type, - subscriptionPromotionalOfferPrices, + subscriptionPricePoints, - subscriptions + territories ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionPromotionalOfferPrices) + if (value.IsSubscriptionPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPromotionalOfferPrices(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); } - else if (value.IsSubscriptions) + else if (value.IsTerritories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem173.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem173.g.cs index c1030fc30..3cfdfb7f1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem173.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem173.g.cs @@ -17,30 +17,30 @@ public class IncludedItem173JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionPromotionalOfferPrice? subscriptionPromotionalOfferPrices = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType.SubscriptionPromotionalOfferPrices) + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice)}"); - subscriptionPromotionalOfferPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); + subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType.Subscriptions) + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType.Territories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); - subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem173( discriminator?.Type, - subscriptionPromotionalOfferPrices, + subscriptionPricePoints, - subscriptions + territories ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionPromotionalOfferPrices) + if (value.IsSubscriptionPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPromotionalOfferPrices(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); } - else if (value.IsSubscriptions) + else if (value.IsTerritories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem174.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem174.g.cs index 6803c91c6..ac69363b9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem174.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem174.g.cs @@ -17,26 +17,19 @@ public class IncludedItem174JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionImageV2? subscriptionImages = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType.SubscriptionImages) + global::AppStoreConnect.SubscriptionPromotionalOfferPrice? subscriptionPromotionalOfferPrices = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType.SubscriptionPromotionalOfferPrices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionImageV2)}"); - subscriptionImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionLocalizationV2? subscriptionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType.SubscriptionLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionLocalizationV2)}"); - subscriptionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice)}"); + subscriptionPromotionalOfferPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType.Subscriptions) + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType.Subscriptions) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); @@ -45,9 +38,7 @@ public class IncludedItem174JsonConverter : global::System.Text.Json.Serializati var __value = new global::AppStoreConnect.IncludedItem174( discriminator?.Type, - subscriptionImages, - - subscriptionLocalizations, + subscriptionPromotionalOfferPrices, subscriptions ); @@ -64,17 +55,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionImageV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionImages(), typeInfo); - } - else if (value.IsSubscriptionLocalizations) + if (value.IsSubscriptionPromotionalOfferPrices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPromotionalOfferPrices(), typeInfo); } else if (value.IsSubscriptions) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem175.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem175.g.cs index 12e7a0e45..ab7e8d53d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem175.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem175.g.cs @@ -17,26 +17,19 @@ public class IncludedItem175JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionImageV2? subscriptionImages = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType.SubscriptionImages) + global::AppStoreConnect.SubscriptionPromotionalOfferPrice? subscriptionPromotionalOfferPrices = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType.SubscriptionPromotionalOfferPrices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionImageV2)}"); - subscriptionImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionLocalizationV2? subscriptionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType.SubscriptionLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionLocalizationV2)}"); - subscriptionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice)}"); + subscriptionPromotionalOfferPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Subscription? subscriptions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType.Subscriptions) + if (discriminator?.Type == global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType.Subscriptions) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); @@ -45,9 +38,7 @@ public class IncludedItem175JsonConverter : global::System.Text.Json.Serializati var __value = new global::AppStoreConnect.IncludedItem175( discriminator?.Type, - subscriptionImages, - - subscriptionLocalizations, + subscriptionPromotionalOfferPrices, subscriptions ); @@ -64,17 +55,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionImageV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionImages(), typeInfo); - } - else if (value.IsSubscriptionLocalizations) + if (value.IsSubscriptionPromotionalOfferPrices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPromotionalOfferPrices(), typeInfo); } else if (value.IsSubscriptions) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem176.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem176.g.cs index 7eae511d7..c1332388b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem176.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem176.g.cs @@ -17,129 +17,39 @@ public class IncludedItem176JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.PromotedPurchases) + global::AppStoreConnect.SubscriptionImageV2? subscriptionImages = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType.SubscriptionImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); - promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? subscriptionAppStoreReviewScreenshots = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionAppStoreReviewScreenshots) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot)}"); - subscriptionAppStoreReviewScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionAvailability? subscriptionAvailabilities = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionAvailability)}"); - subscriptionAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); - subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionImage? subscriptionImages = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionImage)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionImageV2)}"); subscriptionImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionIntroductoryOffer? subscriptionIntroductoryOffers = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionIntroductoryOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionIntroductoryOffer)}"); - subscriptionIntroductoryOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionLocalization? subscriptionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionLocalizations) + global::AppStoreConnect.SubscriptionLocalizationV2? subscriptionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType.SubscriptionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionLocalization)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionLocalizationV2)}"); subscriptionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionOfferCode? subscriptionOfferCodes = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionOfferCodes) + global::AppStoreConnect.Subscription? subscriptions = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType.Subscriptions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCode)}"); - subscriptionOfferCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionPlanAvailability? subscriptionPlanAvailabilities = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionPlanAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPlanAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPlanAvailability)}"); - subscriptionPlanAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionPrice? subscriptionPrices = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionPrices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPrice)}"); - subscriptionPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionPromotionalOffer? subscriptionPromotionalOffers = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionPromotionalOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOffer)}"); - subscriptionPromotionalOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionVersion? subscriptionVersions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersion)}"); - subscriptionVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.WinBackOffer? winBackOffers = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.WinBackOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.WinBackOffer)}"); - winBackOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); + subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem176( discriminator?.Type, - promotedPurchases, - - subscriptionAppStoreReviewScreenshots, - - subscriptionAvailabilities, - - subscriptionGroups, - subscriptionImages, - subscriptionIntroductoryOffers, - subscriptionLocalizations, - subscriptionOfferCodes, - - subscriptionPlanAvailabilities, - - subscriptionPrices, - - subscriptionPromotionalOffers, - - subscriptionVersions, - - winBackOffers + subscriptions ); return __value; @@ -154,83 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsPromotedPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); - } - else if (value.IsSubscriptionAppStoreReviewScreenshots) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionAppStoreReviewScreenshots(), typeInfo); - } - else if (value.IsSubscriptionAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionAvailability).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionAvailabilities(), typeInfo); - } - else if (value.IsSubscriptionGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); - } - else if (value.IsSubscriptionImages) + if (value.IsSubscriptionImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionImage).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionImageV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionImages(), typeInfo); } - else if (value.IsSubscriptionIntroductoryOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionIntroductoryOffers(), typeInfo); - } else if (value.IsSubscriptionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionLocalization).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionLocalizationV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionLocalizations(), typeInfo); } - else if (value.IsSubscriptionOfferCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodes(), typeInfo); - } - else if (value.IsSubscriptionPlanAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPlanAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPlanAvailability).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPlanAvailabilities(), typeInfo); - } - else if (value.IsSubscriptionPrices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPrice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPrices(), typeInfo); - } - else if (value.IsSubscriptionPromotionalOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPromotionalOffer).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPromotionalOffers(), typeInfo); - } - else if (value.IsSubscriptionVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionVersions(), typeInfo); - } - else if (value.IsWinBackOffers) + else if (value.IsSubscriptions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.WinBackOffer).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWinBackOffers(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem177.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem177.g.cs index f98197357..ecc534560 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem177.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem177.g.cs @@ -17,129 +17,39 @@ public class IncludedItem177JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.PromotedPurchases) + global::AppStoreConnect.SubscriptionImageV2? subscriptionImages = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType.SubscriptionImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); - promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? subscriptionAppStoreReviewScreenshots = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionAppStoreReviewScreenshots) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot)}"); - subscriptionAppStoreReviewScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionAvailability? subscriptionAvailabilities = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionAvailability)}"); - subscriptionAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); - subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionImage? subscriptionImages = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionImage)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionImageV2)}"); subscriptionImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionIntroductoryOffer? subscriptionIntroductoryOffers = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionIntroductoryOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionIntroductoryOffer)}"); - subscriptionIntroductoryOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionLocalization? subscriptionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionLocalizations) + global::AppStoreConnect.SubscriptionLocalizationV2? subscriptionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType.SubscriptionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionLocalization)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionLocalizationV2)}"); subscriptionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.SubscriptionOfferCode? subscriptionOfferCodes = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionOfferCodes) + global::AppStoreConnect.Subscription? subscriptions = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType.Subscriptions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCode)}"); - subscriptionOfferCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionPlanAvailability? subscriptionPlanAvailabilities = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionPlanAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPlanAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPlanAvailability)}"); - subscriptionPlanAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionPrice? subscriptionPrices = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionPrices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPrice)}"); - subscriptionPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionPromotionalOffer? subscriptionPromotionalOffers = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionPromotionalOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOffer)}"); - subscriptionPromotionalOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionVersion? subscriptionVersions = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersion)}"); - subscriptionVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.WinBackOffer? winBackOffers = default; - if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.WinBackOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.WinBackOffer)}"); - winBackOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Subscription)}"); + subscriptions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem177( discriminator?.Type, - promotedPurchases, - - subscriptionAppStoreReviewScreenshots, - - subscriptionAvailabilities, - - subscriptionGroups, - subscriptionImages, - subscriptionIntroductoryOffers, - subscriptionLocalizations, - subscriptionOfferCodes, - - subscriptionPlanAvailabilities, - - subscriptionPrices, - - subscriptionPromotionalOffers, - - subscriptionVersions, - - winBackOffers + subscriptions ); return __value; @@ -154,83 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsPromotedPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); - } - else if (value.IsSubscriptionAppStoreReviewScreenshots) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionAppStoreReviewScreenshots(), typeInfo); - } - else if (value.IsSubscriptionAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionAvailability).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionAvailabilities(), typeInfo); - } - else if (value.IsSubscriptionGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); - } - else if (value.IsSubscriptionImages) + if (value.IsSubscriptionImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionImage).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionImageV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionImages(), typeInfo); } - else if (value.IsSubscriptionIntroductoryOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionIntroductoryOffers(), typeInfo); - } else if (value.IsSubscriptionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionLocalization).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionLocalizationV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionLocalizations(), typeInfo); } - else if (value.IsSubscriptionOfferCodes) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCode).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodes(), typeInfo); - } - else if (value.IsSubscriptionPlanAvailabilities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPlanAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPlanAvailability).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPlanAvailabilities(), typeInfo); - } - else if (value.IsSubscriptionPrices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPrice).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPrices(), typeInfo); - } - else if (value.IsSubscriptionPromotionalOffers) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPromotionalOffer).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPromotionalOffers(), typeInfo); - } - else if (value.IsSubscriptionVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionVersions(), typeInfo); - } - else if (value.IsWinBackOffers) + else if (value.IsSubscriptions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.WinBackOffer).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWinBackOffers(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Subscription), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Subscription).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem178.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem178.g.cs new file mode 100644 index 000000000..46b62aff5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem178.g.cs @@ -0,0 +1,237 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class IncludedItem178JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.IncludedItem178 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.PromotedPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); + promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? subscriptionAppStoreReviewScreenshots = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionAppStoreReviewScreenshots) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot)}"); + subscriptionAppStoreReviewScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionAvailability? subscriptionAvailabilities = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionAvailability)}"); + subscriptionAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); + subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionImage? subscriptionImages = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionImage)}"); + subscriptionImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionIntroductoryOffer? subscriptionIntroductoryOffers = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionIntroductoryOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionIntroductoryOffer)}"); + subscriptionIntroductoryOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionLocalization? subscriptionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionLocalization)}"); + subscriptionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionOfferCode? subscriptionOfferCodes = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionOfferCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCode)}"); + subscriptionOfferCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionPlanAvailability? subscriptionPlanAvailabilities = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionPlanAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPlanAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPlanAvailability)}"); + subscriptionPlanAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionPrice? subscriptionPrices = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionPrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPrice)}"); + subscriptionPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionPromotionalOffer? subscriptionPromotionalOffers = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionPromotionalOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOffer)}"); + subscriptionPromotionalOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionVersion? subscriptionVersions = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.SubscriptionVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersion)}"); + subscriptionVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.WinBackOffer? winBackOffers = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType.WinBackOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.WinBackOffer)}"); + winBackOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::AppStoreConnect.IncludedItem178( + discriminator?.Type, + promotedPurchases, + + subscriptionAppStoreReviewScreenshots, + + subscriptionAvailabilities, + + subscriptionGroups, + + subscriptionImages, + + subscriptionIntroductoryOffers, + + subscriptionLocalizations, + + subscriptionOfferCodes, + + subscriptionPlanAvailabilities, + + subscriptionPrices, + + subscriptionPromotionalOffers, + + subscriptionVersions, + + winBackOffers + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.IncludedItem178 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsPromotedPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); + } + else if (value.IsSubscriptionAppStoreReviewScreenshots) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionAppStoreReviewScreenshots(), typeInfo); + } + else if (value.IsSubscriptionAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionAvailability).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionAvailabilities(), typeInfo); + } + else if (value.IsSubscriptionGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); + } + else if (value.IsSubscriptionImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionImages(), typeInfo); + } + else if (value.IsSubscriptionIntroductoryOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionIntroductoryOffers(), typeInfo); + } + else if (value.IsSubscriptionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionLocalizations(), typeInfo); + } + else if (value.IsSubscriptionOfferCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodes(), typeInfo); + } + else if (value.IsSubscriptionPlanAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPlanAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPlanAvailability).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPlanAvailabilities(), typeInfo); + } + else if (value.IsSubscriptionPrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPrice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPrices(), typeInfo); + } + else if (value.IsSubscriptionPromotionalOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPromotionalOffer).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPromotionalOffers(), typeInfo); + } + else if (value.IsSubscriptionVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionVersions(), typeInfo); + } + else if (value.IsWinBackOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.WinBackOffer).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWinBackOffers(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem179.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem179.g.cs index 0b7c95d04..aea184b4e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem179.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem179.g.cs @@ -17,30 +17,129 @@ public class IncludedItem179JsonConverter : global::System.Text.Json.Serializati var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) + global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.PromotedPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); - subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); + promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? subscriptionAppStoreReviewScreenshots = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionAppStoreReviewScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot)}"); + subscriptionAppStoreReviewScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionAvailability? subscriptionAvailabilities = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionAvailability)}"); + subscriptionAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); + subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionImage? subscriptionImages = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionImage)}"); + subscriptionImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionIntroductoryOffer? subscriptionIntroductoryOffers = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionIntroductoryOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionIntroductoryOffer)}"); + subscriptionIntroductoryOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionLocalization? subscriptionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionLocalization)}"); + subscriptionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionOfferCode? subscriptionOfferCodes = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionOfferCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionOfferCode)}"); + subscriptionOfferCodes = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionPlanAvailability? subscriptionPlanAvailabilities = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionPlanAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPlanAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPlanAvailability)}"); + subscriptionPlanAvailabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionPrice? subscriptionPrices = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionPrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPrice)}"); + subscriptionPrices = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionPromotionalOffer? subscriptionPromotionalOffers = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionPromotionalOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPromotionalOffer)}"); + subscriptionPromotionalOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionVersion? subscriptionVersions = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.SubscriptionVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionVersion)}"); + subscriptionVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.WinBackOffer? winBackOffers = default; + if (discriminator?.Type == global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType.WinBackOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.WinBackOffer)}"); + winBackOffers = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem179( discriminator?.Type, - subscriptionPricePoints, + promotedPurchases, + + subscriptionAppStoreReviewScreenshots, + + subscriptionAvailabilities, + + subscriptionGroups, + + subscriptionImages, + + subscriptionIntroductoryOffers, + + subscriptionLocalizations, - territories + subscriptionOfferCodes, + + subscriptionPlanAvailabilities, + + subscriptionPrices, + + subscriptionPromotionalOffers, + + subscriptionVersions, + + winBackOffers ); return __value; @@ -55,17 +154,83 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsSubscriptionPricePoints) + if (value.IsPromotedPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); + } + else if (value.IsSubscriptionAppStoreReviewScreenshots) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionAppStoreReviewScreenshots(), typeInfo); + } + else if (value.IsSubscriptionAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionAvailability).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionAvailabilities(), typeInfo); + } + else if (value.IsSubscriptionGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); + } + else if (value.IsSubscriptionImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionImages(), typeInfo); + } + else if (value.IsSubscriptionIntroductoryOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionIntroductoryOffers(), typeInfo); + } + else if (value.IsSubscriptionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionLocalizations(), typeInfo); + } + else if (value.IsSubscriptionOfferCodes) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionOfferCode), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionOfferCode).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionOfferCodes(), typeInfo); + } + else if (value.IsSubscriptionPlanAvailabilities) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPlanAvailability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPlanAvailability).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPlanAvailabilities(), typeInfo); + } + else if (value.IsSubscriptionPrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPrice), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPrice).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPrices(), typeInfo); + } + else if (value.IsSubscriptionPromotionalOffers) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPromotionalOffer).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPromotionalOffers(), typeInfo); + } + else if (value.IsSubscriptionVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionVersions(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsWinBackOffers) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOffer), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.WinBackOffer).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWinBackOffers(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem18.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem18.g.cs index 1b2bcc863..0a37683b9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem18.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem18.g.cs @@ -17,39 +17,39 @@ public class IncludedItem18JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppEncryptionDeclarationDocument? appEncryptionDeclarationDocuments1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarationDocuments) + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclarationDocument)}"); - appEncryptionDeclarationDocuments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); + appCustomProductPageLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appEncryptionDeclarationDocuments2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarationDocuments) + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appEncryptionDeclarationDocuments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageVersion)}"); + appCustomProductPageVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType.Builds) + global::AppStoreConnect.App? appCustomProductPageLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appCustomProductPageLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem18( discriminator?.Type, - appEncryptionDeclarationDocuments1, + appCustomProductPageLocalizations1, - appEncryptionDeclarationDocuments2, + appCustomProductPageVersions, - builds + appCustomProductPageLocalizations2 ); return __value; @@ -64,23 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppEncryptionDeclarationDocuments1) + if (value.IsAppCustomProductPageLocalizations1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarationDocuments1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations1(), typeInfo); } - else if (value.IsAppEncryptionDeclarationDocuments2) + else if (value.IsAppCustomProductPageVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarationDocuments2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageVersions(), typeInfo); } - else if (value.IsBuilds) + else if (value.IsAppCustomProductPageLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem181.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem181.g.cs new file mode 100644 index 000000000..56b5640dd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem181.g.cs @@ -0,0 +1,72 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class IncludedItem181JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.IncludedItem181 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType.SubscriptionPricePoints) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionPricePoint)}"); + subscriptionPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType.Territories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::AppStoreConnect.IncludedItem181( + discriminator?.Type, + subscriptionPricePoints, + + territories + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.IncludedItem181 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsSubscriptionPricePoints) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionPricePoint), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionPricePoint).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionPricePoints(), typeInfo); + } + else if (value.IsTerritories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem20.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem20.g.cs index 9f9ad6c21..3b7f5b25b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem20.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem20.g.cs @@ -17,39 +17,39 @@ public class IncludedItem20JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppEventScreenshot? appEventScreenshots = default; - if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEventScreenshots) + global::AppStoreConnect.AppEncryptionDeclarationDocument? appEncryptionDeclarationDocuments1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarationDocuments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventScreenshot)}"); - appEventScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclarationDocument)}"); + appEncryptionDeclarationDocuments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEventVideoClip? appEventVideoClips = default; - if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEventVideoClips) + global::AppStoreConnect.App? appEncryptionDeclarationDocuments2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarationDocuments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventVideoClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventVideoClip)}"); - appEventVideoClips = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appEncryptionDeclarationDocuments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEvent? appEvents = default; - if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType.Builds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); - appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem20( discriminator?.Type, - appEventScreenshots, + appEncryptionDeclarationDocuments1, - appEventVideoClips, + appEncryptionDeclarationDocuments2, - appEvents + builds ); return __value; @@ -64,23 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppEventScreenshots) + if (value.IsAppEncryptionDeclarationDocuments1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventScreenshot).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventScreenshots(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarationDocuments1(), typeInfo); } - else if (value.IsAppEventVideoClips) + else if (value.IsAppEncryptionDeclarationDocuments2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventVideoClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventVideoClip).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventVideoClips(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarationDocuments2(), typeInfo); } - else if (value.IsAppEvents) + else if (value.IsBuilds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem21.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem21.g.cs index c264a735b..564344944 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem21.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem21.g.cs @@ -17,39 +17,39 @@ public class IncludedItem21JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppEventScreenshot? appEventScreenshots = default; - if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEventScreenshots) + global::AppStoreConnect.AppEncryptionDeclarationDocument? appEncryptionDeclarationDocuments1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType.AppEncryptionDeclarationDocuments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventScreenshot)}"); - appEventScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclarationDocument)}"); + appEncryptionDeclarationDocuments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEventVideoClip? appEventVideoClips = default; - if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEventVideoClips) + global::AppStoreConnect.App? appEncryptionDeclarationDocuments2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType.AppEncryptionDeclarationDocuments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventVideoClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventVideoClip)}"); - appEventVideoClips = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appEncryptionDeclarationDocuments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEvent? appEvents = default; - if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType.Builds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); - appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem21( discriminator?.Type, - appEventScreenshots, + appEncryptionDeclarationDocuments1, - appEventVideoClips, + appEncryptionDeclarationDocuments2, - appEvents + builds ); return __value; @@ -64,23 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppEventScreenshots) + if (value.IsAppEncryptionDeclarationDocuments1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventScreenshot).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventScreenshots(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarationDocuments1(), typeInfo); } - else if (value.IsAppEventVideoClips) + else if (value.IsAppEncryptionDeclarationDocuments2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventVideoClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventVideoClip).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventVideoClips(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarationDocuments2(), typeInfo); } - else if (value.IsAppEvents) + else if (value.IsBuilds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem22.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem22.g.cs index 022d63e61..e08e46b8b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem22.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem22.g.cs @@ -17,48 +17,48 @@ public class IncludedItem22JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AgeRatingDeclaration? ageRatingDeclarations = default; - if (discriminator?.Type == global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType.AgeRatingDeclarations) + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements = default; + if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AgeRatingDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AgeRatingDeclaration)}"); - ageRatingDeclarations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacement)}"); + appAssetLibraryPlacements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppCategory? appCategories1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType.AppCategories) + global::AppStoreConnect.AppEventScreenshot? appEventScreenshots = default; + if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEventScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCategory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCategory)}"); - appCategories1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventScreenshot)}"); + appEventScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppInfoLocalization? appInfoLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType.AppInfoLocalizations) + global::AppStoreConnect.AppEventVideoClip? appEventVideoClips = default; + if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEventVideoClips) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfoLocalization)}"); - appInfoLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventVideoClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventVideoClip)}"); + appEventVideoClips = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appCategories2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType.AppCategories) + global::AppStoreConnect.AppEvent? appEvents = default; + if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEvents) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appCategories2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); + appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem22( discriminator?.Type, - ageRatingDeclarations, + appAssetLibraryPlacements, - appCategories1, + appEventScreenshots, - appInfoLocalizations, + appEventVideoClips, - appCategories2 + appEvents ); return __value; @@ -73,29 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAgeRatingDeclarations) + if (value.IsAppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AgeRatingDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AgeRatingDeclaration).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAgeRatingDeclarations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryPlacements(), typeInfo); } - else if (value.IsAppCategories1) + else if (value.IsAppEventScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCategory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCategory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCategories1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventScreenshot).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventScreenshots(), typeInfo); } - else if (value.IsAppInfoLocalizations) + else if (value.IsAppEventVideoClips) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppInfoLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppInfoLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventVideoClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventVideoClip).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventVideoClips(), typeInfo); } - else if (value.IsAppCategories2) + else if (value.IsAppEvents) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCategories2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem23.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem23.g.cs index cd528ac51..5aac346ee 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem23.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem23.g.cs @@ -17,48 +17,48 @@ public class IncludedItem23JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AgeRatingDeclaration? ageRatingDeclarations = default; - if (discriminator?.Type == global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType.AgeRatingDeclarations) + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements = default; + if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AgeRatingDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AgeRatingDeclaration)}"); - ageRatingDeclarations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacement)}"); + appAssetLibraryPlacements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppCategory? appCategories1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType.AppCategories) + global::AppStoreConnect.AppEventScreenshot? appEventScreenshots = default; + if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEventScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCategory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCategory)}"); - appCategories1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventScreenshot)}"); + appEventScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppInfoLocalization? appInfoLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType.AppInfoLocalizations) + global::AppStoreConnect.AppEventVideoClip? appEventVideoClips = default; + if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEventVideoClips) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfoLocalization)}"); - appInfoLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventVideoClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventVideoClip)}"); + appEventVideoClips = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appCategories2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType.AppCategories) + global::AppStoreConnect.AppEvent? appEvents = default; + if (discriminator?.Type == global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEvents) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appCategories2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); + appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem23( discriminator?.Type, - ageRatingDeclarations, + appAssetLibraryPlacements, - appCategories1, + appEventScreenshots, - appInfoLocalizations, + appEventVideoClips, - appCategories2 + appEvents ); return __value; @@ -73,29 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAgeRatingDeclarations) + if (value.IsAppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AgeRatingDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AgeRatingDeclaration).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAgeRatingDeclarations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryPlacements(), typeInfo); } - else if (value.IsAppCategories1) + else if (value.IsAppEventScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCategory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCategory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCategories1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventScreenshot).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventScreenshots(), typeInfo); } - else if (value.IsAppInfoLocalizations) + else if (value.IsAppEventVideoClips) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppInfoLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppInfoLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventVideoClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventVideoClip).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventVideoClips(), typeInfo); } - else if (value.IsAppCategories2) + else if (value.IsAppEvents) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCategories2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem24.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem24.g.cs index a7e53cb74..c9c6f9d4f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem24.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem24.g.cs @@ -17,48 +17,48 @@ public class IncludedItem24JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) + global::AppStoreConnect.AgeRatingDeclaration? ageRatingDeclarations = default; + if (discriminator?.Type == global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType.AgeRatingDeclarations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); - appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AgeRatingDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AgeRatingDeclaration)}"); + ageRatingDeclarations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppPreview? appPreviews = default; - if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType.AppPreviews) + global::AppStoreConnect.AppCategory? appCategories1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType.AppCategories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreview), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreview)}"); - appPreviews = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCategory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCategory)}"); + appCategories1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + global::AppStoreConnect.AppInfoLocalization? appInfoLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType.AppInfoLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); - appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfoLocalization)}"); + appInfoLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + global::AppStoreConnect.App? appCategories2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType.AppCategories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); - appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appCategories2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem24( discriminator?.Type, - appCustomProductPageLocalizations, + ageRatingDeclarations, - appPreviews, + appCategories1, - appStoreVersionExperimentTreatmentLocalizations, + appInfoLocalizations, - appStoreVersionLocalizations + appCategories2 ); return __value; @@ -73,29 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppCustomProductPageLocalizations) + if (value.IsAgeRatingDeclarations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AgeRatingDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AgeRatingDeclaration).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAgeRatingDeclarations(), typeInfo); } - else if (value.IsAppPreviews) + else if (value.IsAppCategories1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreview), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreview).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviews(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCategory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCategory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCategories1(), typeInfo); } - else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) + else if (value.IsAppInfoLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppInfoLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppInfoLocalizations(), typeInfo); } - else if (value.IsAppStoreVersionLocalizations) + else if (value.IsAppCategories2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCategories2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem25.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem25.g.cs index 0686bb5f4..994f90720 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem25.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem25.g.cs @@ -17,48 +17,48 @@ public class IncludedItem25JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) + global::AppStoreConnect.AgeRatingDeclaration? ageRatingDeclarations = default; + if (discriminator?.Type == global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType.AgeRatingDeclarations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); - appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AgeRatingDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AgeRatingDeclaration)}"); + ageRatingDeclarations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppPreview? appPreviews = default; - if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType.AppPreviews) + global::AppStoreConnect.AppCategory? appCategories1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType.AppCategories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreview), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreview)}"); - appPreviews = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCategory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCategory)}"); + appCategories1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + global::AppStoreConnect.AppInfoLocalization? appInfoLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType.AppInfoLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); - appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfoLocalization)}"); + appInfoLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + global::AppStoreConnect.App? appCategories2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType.AppCategories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); - appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appCategories2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem25( discriminator?.Type, - appCustomProductPageLocalizations, + ageRatingDeclarations, - appPreviews, + appCategories1, - appStoreVersionExperimentTreatmentLocalizations, + appInfoLocalizations, - appStoreVersionLocalizations + appCategories2 ); return __value; @@ -73,29 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppCustomProductPageLocalizations) + if (value.IsAgeRatingDeclarations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AgeRatingDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AgeRatingDeclaration).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAgeRatingDeclarations(), typeInfo); } - else if (value.IsAppPreviews) + else if (value.IsAppCategories1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreview), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreview).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviews(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCategory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCategory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCategories1(), typeInfo); } - else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) + else if (value.IsAppInfoLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfoLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppInfoLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppInfoLocalizations(), typeInfo); } - else if (value.IsAppStoreVersionLocalizations) + else if (value.IsAppCategories2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCategories2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem26.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem26.g.cs index ad2911ca8..f667586df 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem26.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem26.g.cs @@ -17,30 +17,48 @@ public class IncludedItem26JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); + appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.AppPreview? appPreviews = default; + if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType.AppPreviews) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreview), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreview)}"); + appPreviews = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); + appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); + appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem26( discriminator?.Type, - apps, + appCustomProductPageLocalizations, + + appPreviews, - territories + appStoreVersionExperimentTreatmentLocalizations, + + appStoreVersionLocalizations ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsAppCustomProductPageLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); + } + else if (value.IsAppPreviews) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreview), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreview).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviews(), typeInfo); + } + else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsAppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem27.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem27.g.cs index 2cfaa6bea..cd1001c38 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem27.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem27.g.cs @@ -17,30 +17,48 @@ public class IncludedItem27JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); + appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.AppPreview? appPreviews = default; + if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType.AppPreviews) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreview), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreview)}"); + appPreviews = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); + appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); + appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem27( discriminator?.Type, - apps, + appCustomProductPageLocalizations, + + appPreviews, - territories + appStoreVersionExperimentTreatmentLocalizations, + + appStoreVersionLocalizations ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsAppCustomProductPageLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); + } + else if (value.IsAppPreviews) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreview), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreview).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviews(), typeInfo); + } + else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsAppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem28.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem28.g.cs index 5d64265c0..d02ee002c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem28.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem28.g.cs @@ -17,26 +17,19 @@ public class IncludedItem28JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppPriceV2? appPrices1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType.AppPrices) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPriceV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPriceV2)}"); - appPrices1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.App? appPrices2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType.AppPrices) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType.Apps) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appPrices2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType.Territories) + if (discriminator?.Type == global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType.Territories) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); @@ -45,9 +38,7 @@ public class IncludedItem28JsonConverter : global::System.Text.Json.Serializatio var __value = new global::AppStoreConnect.IncludedItem28( discriminator?.Type, - appPrices1, - - appPrices2, + apps, territories ); @@ -64,17 +55,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppPrices1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPriceV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPriceV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPrices1(), typeInfo); - } - else if (value.IsAppPrices2) + if (value.IsApps) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPrices2(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } else if (value.IsTerritories) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem29.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem29.g.cs new file mode 100644 index 000000000..ee8183616 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem29.g.cs @@ -0,0 +1,72 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class IncludedItem29JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.IncludedItem29 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType.Apps) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType.Territories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::AppStoreConnect.IncludedItem29( + discriminator?.Type, + apps, + + territories + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.IncludedItem29 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsApps) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + } + else if (value.IsTerritories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem3.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem3.g.cs index 680be746c..ed85169e7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem3.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem3.g.cs @@ -17,39 +17,66 @@ public class IncludedItem3JsonConverter : global::System.Text.Json.Serialization var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppClipAdvancedExperienceImage? appClipAdvancedExperienceImages = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceImages) + global::AppStoreConnect.AppAssetLibraryImage? appAssetLibraryImages = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppAssetLibraryImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceImage)}"); - appClipAdvancedExperienceImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImage)}"); + appAssetLibraryImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClipAdvancedExperienceLocalization? appClipAdvancedExperienceLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceLocalizations) + global::AppStoreConnect.AppAssetLibraryVideo? appAssetLibraryVideos = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization)}"); - appClipAdvancedExperienceLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideo)}"); + appAssetLibraryVideos = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClip? appClipAdvancedExperienceLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceLocalizations) + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); - appClipAdvancedExperienceLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); + appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppEventLocalization? appEventLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppEventLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventLocalization)}"); + appEventLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); + appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); + appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem3( discriminator?.Type, - appClipAdvancedExperienceImages, + appAssetLibraryImages, + + appAssetLibraryVideos, + + appCustomProductPageLocalizations, - appClipAdvancedExperienceLocalizations1, + appEventLocalizations, - appClipAdvancedExperienceLocalizations2 + appStoreVersionExperimentTreatmentLocalizations, + + appStoreVersionLocalizations ); return __value; @@ -64,23 +91,41 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppClipAdvancedExperienceImages) + if (value.IsAppAssetLibraryImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryImages(), typeInfo); + } + else if (value.IsAppAssetLibraryVideos) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideo).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryVideos(), typeInfo); + } + else if (value.IsAppCustomProductPageLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); + } + else if (value.IsAppEventLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventLocalizations(), typeInfo); } - else if (value.IsAppClipAdvancedExperienceLocalizations1) + else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceLocalizations1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); } - else if (value.IsAppClipAdvancedExperienceLocalizations2) + else if (value.IsAppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem30.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem30.g.cs index d2a0304e6..2c64ecf70 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem30.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem30.g.cs @@ -17,19 +17,26 @@ public class IncludedItem30JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppPricePointV3? appPricePoints = default; - if (discriminator?.Type == global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType.AppPricePoints) + global::AppStoreConnect.AppPriceV2? appPrices1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType.AppPrices) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricePointV3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPricePointV3)}"); - appPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPriceV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPriceV2)}"); + appPrices1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.App? appPrices2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType.AppPrices) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appPrices2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType.Territories) + if (discriminator?.Type == global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType.Territories) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); @@ -38,7 +45,9 @@ public class IncludedItem30JsonConverter : global::System.Text.Json.Serializatio var __value = new global::AppStoreConnect.IncludedItem30( discriminator?.Type, - appPricePoints, + appPrices1, + + appPrices2, territories ); @@ -55,11 +64,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppPricePoints) + if (value.IsAppPrices1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPriceV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPriceV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPrices1(), typeInfo); + } + else if (value.IsAppPrices2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricePointV3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPricePointV3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPricePoints(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPrices2(), typeInfo); } else if (value.IsTerritories) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem31.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem31.g.cs deleted file mode 100644 index 1ca06d2d9..000000000 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem31.g.cs +++ /dev/null @@ -1,102 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 // Type or member is obsolete - -namespace AppStoreConnect.JsonConverters -{ - /// - public class IncludedItem31JsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::AppStoreConnect.IncludedItem31 Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - - var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminator)}"); - var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); - appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppScreenshot? appScreenshots = default; - if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType.AppScreenshots) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshot)}"); - appScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); - appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); - appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - var __value = new global::AppStoreConnect.IncludedItem31( - discriminator?.Type, - appCustomProductPageLocalizations, - - appScreenshots, - - appStoreVersionExperimentTreatmentLocalizations, - - appStoreVersionLocalizations - ); - - return __value; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::AppStoreConnect.IncludedItem31 value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsAppCustomProductPageLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); - } - else if (value.IsAppScreenshots) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshot).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshots(), typeInfo); - } - else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); - } - else if (value.IsAppStoreVersionLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem32.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem32.g.cs index 87c8135f8..287aca3b6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem32.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem32.g.cs @@ -17,48 +17,30 @@ public class IncludedItem32JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) + global::AppStoreConnect.AppPricePointV3? appPricePoints = default; + if (discriminator?.Type == global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType.AppPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); - appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricePointV3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPricePointV3)}"); + appPricePoints = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppScreenshot? appScreenshots = default; - if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType.AppScreenshots) + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType.Territories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshot)}"); - appScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); - appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); - appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem32( discriminator?.Type, - appCustomProductPageLocalizations, - - appScreenshots, + appPricePoints, - appStoreVersionExperimentTreatmentLocalizations, - - appStoreVersionLocalizations + territories ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppCustomProductPageLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); - } - else if (value.IsAppScreenshots) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshot).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshots(), typeInfo); - } - else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) + if (value.IsAppPricePoints) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPricePointV3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPricePointV3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPricePoints(), typeInfo); } - else if (value.IsAppStoreVersionLocalizations) + else if (value.IsTerritories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem33.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem33.g.cs index b6b2e5032..7105fcd21 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem33.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem33.g.cs @@ -17,30 +17,48 @@ public class IncludedItem33JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppStoreReviewAttachment? appStoreReviewAttachments = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType.AppStoreReviewAttachments) + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewAttachment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreReviewAttachment)}"); - appStoreReviewAttachments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); + appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.AppScreenshot? appScreenshots = default; + if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType.AppScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshot)}"); + appScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); + appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); + appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem33( discriminator?.Type, - appStoreReviewAttachments, + appCustomProductPageLocalizations, + + appScreenshots, - appStoreVersions + appStoreVersionExperimentTreatmentLocalizations, + + appStoreVersionLocalizations ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppStoreReviewAttachments) + if (value.IsAppCustomProductPageLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); + } + else if (value.IsAppScreenshots) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshot).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshots(), typeInfo); + } + else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewAttachment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreReviewAttachment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreReviewAttachments(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); } - else if (value.IsAppStoreVersions) + else if (value.IsAppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem34.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem34.g.cs index 5214b77c8..437ec07c8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem34.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem34.g.cs @@ -17,39 +17,48 @@ public class IncludedItem34JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets) + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); - appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); + appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets) + global::AppStoreConnect.AppScreenshot? appScreenshots = default; + if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType.AppScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); - appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshot)}"); + appScreenshots = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); - appStoreVersionExperimentTreatments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); + appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); + appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem34( discriminator?.Type, - appPreviewSets, + appCustomProductPageLocalizations, + + appScreenshots, - appScreenshotSets, + appStoreVersionExperimentTreatmentLocalizations, - appStoreVersionExperimentTreatments + appStoreVersionLocalizations ); return __value; @@ -64,23 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppPreviewSets) + if (value.IsAppCustomProductPageLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); + } + else if (value.IsAppScreenshots) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshot), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshot).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshots(), typeInfo); } - else if (value.IsAppScreenshotSets) + else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); } - else if (value.IsAppStoreVersionExperimentTreatments) + else if (value.IsAppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem35.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem35.g.cs index 5fea11757..9e92ef9d0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem35.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem35.g.cs @@ -17,39 +17,30 @@ public class IncludedItem35JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets) + global::AppStoreConnect.AppStoreReviewAttachment? appStoreReviewAttachments = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType.AppStoreReviewAttachments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); - appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewAttachment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreReviewAttachment)}"); + appStoreReviewAttachments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets) + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType.AppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); - appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); - appStoreVersionExperimentTreatments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem35( discriminator?.Type, - appPreviewSets, - - appScreenshotSets, + appStoreReviewAttachments, - appStoreVersionExperimentTreatments + appStoreVersions ); return __value; @@ -64,23 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppPreviewSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); - } - else if (value.IsAppScreenshotSets) + if (value.IsAppStoreReviewAttachments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewAttachment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreReviewAttachment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreReviewAttachments(), typeInfo); } - else if (value.IsAppStoreVersionExperimentTreatments) + else if (value.IsAppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem36.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem36.g.cs index 8aaadb61f..83c6098a9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem36.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem36.g.cs @@ -17,30 +17,48 @@ public class IncludedItem36JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); - appStoreVersionExperimentTreatmentLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacement)}"); + appAssetLibraryPlacements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperimentTreatmentLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); - appStoreVersionExperimentTreatmentLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); + appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); + appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); + appStoreVersionExperimentTreatments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem36( discriminator?.Type, - appStoreVersionExperimentTreatmentLocalizations1, + appAssetLibraryPlacements, + + appPreviewSets, - appStoreVersionExperimentTreatmentLocalizations2 + appScreenshotSets, + + appStoreVersionExperimentTreatments ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppStoreVersionExperimentTreatmentLocalizations1) + if (value.IsAppAssetLibraryPlacements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryPlacements(), typeInfo); + } + else if (value.IsAppPreviewSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); + } + else if (value.IsAppScreenshotSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); } - else if (value.IsAppStoreVersionExperimentTreatmentLocalizations2) + else if (value.IsAppStoreVersionExperimentTreatments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem37.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem37.g.cs index e6182278f..a729c81ff 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem37.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem37.g.cs @@ -17,30 +17,48 @@ public class IncludedItem37JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); - appStoreVersionExperimentTreatmentLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacement)}"); + appAssetLibraryPlacements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperimentTreatmentLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); - appStoreVersionExperimentTreatmentLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); + appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); + appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); + appStoreVersionExperimentTreatments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem37( discriminator?.Type, - appStoreVersionExperimentTreatmentLocalizations1, + appAssetLibraryPlacements, + + appPreviewSets, - appStoreVersionExperimentTreatmentLocalizations2 + appScreenshotSets, + + appStoreVersionExperimentTreatments ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppStoreVersionExperimentTreatmentLocalizations1) + if (value.IsAppAssetLibraryPlacements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryPlacements(), typeInfo); + } + else if (value.IsAppPreviewSets) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); + } + else if (value.IsAppScreenshotSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); } - else if (value.IsAppStoreVersionExperimentTreatmentLocalizations2) + else if (value.IsAppStoreVersionExperimentTreatments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem38.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem38.g.cs index f86da5577..a829135cb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem38.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem38.g.cs @@ -17,39 +17,30 @@ public class IncludedItem38JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); - appStoreVersionExperimentTreatments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); + appStoreVersionExperimentTreatmentLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperimentTreatmentLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersionExperimentTreatments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.App? appStoreVersionExperimentTreatments3 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appStoreVersionExperimentTreatments3 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); + appStoreVersionExperimentTreatmentLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem38( discriminator?.Type, - appStoreVersionExperimentTreatments1, - - appStoreVersionExperimentTreatments2, + appStoreVersionExperimentTreatmentLocalizations1, - appStoreVersionExperimentTreatments3 + appStoreVersionExperimentTreatmentLocalizations2 ); return __value; @@ -64,23 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppStoreVersionExperimentTreatments1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments1(), typeInfo); - } - else if (value.IsAppStoreVersionExperimentTreatments2) + if (value.IsAppStoreVersionExperimentTreatmentLocalizations1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations1(), typeInfo); } - else if (value.IsAppStoreVersionExperimentTreatments3) + else if (value.IsAppStoreVersionExperimentTreatmentLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments3(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem39.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem39.g.cs index 7581bc626..63c79b674 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem39.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem39.g.cs @@ -17,39 +17,30 @@ public class IncludedItem39JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); - appStoreVersionExperimentTreatments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); + appStoreVersionExperimentTreatmentLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperimentTreatmentLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersionExperimentTreatments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.App? appStoreVersionExperimentTreatments3 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appStoreVersionExperimentTreatments3 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); + appStoreVersionExperimentTreatmentLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem39( discriminator?.Type, - appStoreVersionExperimentTreatments1, - - appStoreVersionExperimentTreatments2, + appStoreVersionExperimentTreatmentLocalizations1, - appStoreVersionExperimentTreatments3 + appStoreVersionExperimentTreatmentLocalizations2 ); return __value; @@ -64,23 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppStoreVersionExperimentTreatments1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments1(), typeInfo); - } - else if (value.IsAppStoreVersionExperimentTreatments2) + if (value.IsAppStoreVersionExperimentTreatmentLocalizations1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations1(), typeInfo); } - else if (value.IsAppStoreVersionExperimentTreatments3) + else if (value.IsAppStoreVersionExperimentTreatmentLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments3(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem4.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem4.g.cs index 4dd9d6ed1..ad1a3376e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem4.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem4.g.cs @@ -17,39 +17,66 @@ public class IncludedItem4JsonConverter : global::System.Text.Json.Serialization var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppClipAdvancedExperienceImage? appClipAdvancedExperienceImages = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceImages) + global::AppStoreConnect.AppAssetLibraryImage? appAssetLibraryImages = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppAssetLibraryImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceImage)}"); - appClipAdvancedExperienceImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryImage)}"); + appAssetLibraryImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClipAdvancedExperienceLocalization? appClipAdvancedExperienceLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceLocalizations) + global::AppStoreConnect.AppAssetLibraryVideo? appAssetLibraryVideos = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization)}"); - appClipAdvancedExperienceLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryVideo)}"); + appAssetLibraryVideos = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClip? appClipAdvancedExperienceLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceLocalizations) + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); - appClipAdvancedExperienceLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPageLocalization)}"); + appCustomProductPageLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppEventLocalization? appEventLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppEventLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEventLocalization)}"); + appEventLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization)}"); + appStoreVersionExperimentTreatmentLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); + appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem4( discriminator?.Type, - appClipAdvancedExperienceImages, + appAssetLibraryImages, + + appAssetLibraryVideos, + + appCustomProductPageLocalizations, - appClipAdvancedExperienceLocalizations1, + appEventLocalizations, - appClipAdvancedExperienceLocalizations2 + appStoreVersionExperimentTreatmentLocalizations, + + appStoreVersionLocalizations ); return __value; @@ -64,23 +91,41 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppClipAdvancedExperienceImages) + if (value.IsAppAssetLibraryImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryImages(), typeInfo); + } + else if (value.IsAppAssetLibraryVideos) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryVideo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryVideo).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryVideos(), typeInfo); + } + else if (value.IsAppCustomProductPageLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPageLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPageLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPageLocalizations(), typeInfo); + } + else if (value.IsAppEventLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEventLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEventLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEventLocalizations(), typeInfo); } - else if (value.IsAppClipAdvancedExperienceLocalizations1) + else if (value.IsAppStoreVersionExperimentTreatmentLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceLocalizations1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatmentLocalizations(), typeInfo); } - else if (value.IsAppClipAdvancedExperienceLocalizations2) + else if (value.IsAppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem40.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem40.g.cs index 0f11b19d4..7bf704aea 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem40.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem40.g.cs @@ -17,30 +17,39 @@ public class IncludedItem40JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); appStoreVersionExperimentTreatments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); appStoreVersionExperimentTreatments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::AppStoreConnect.App? appStoreVersionExperimentTreatments3 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appStoreVersionExperimentTreatments3 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::AppStoreConnect.IncludedItem40( discriminator?.Type, appStoreVersionExperimentTreatments1, - appStoreVersionExperimentTreatments2 + appStoreVersionExperimentTreatments2, + + appStoreVersionExperimentTreatments3 ); return __value; @@ -67,6 +76,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments2(), typeInfo); } + else if (value.IsAppStoreVersionExperimentTreatments3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments3(), typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem41.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem41.g.cs index d7d9b363f..2f920165d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem41.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem41.g.cs @@ -17,30 +17,39 @@ public class IncludedItem41JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); appStoreVersionExperimentTreatments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); appStoreVersionExperimentTreatments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::AppStoreConnect.App? appStoreVersionExperimentTreatments3 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appStoreVersionExperimentTreatments3 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::AppStoreConnect.IncludedItem41( discriminator?.Type, appStoreVersionExperimentTreatments1, - appStoreVersionExperimentTreatments2 + appStoreVersionExperimentTreatments2, + + appStoreVersionExperimentTreatments3 ); return __value; @@ -67,6 +76,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments2(), typeInfo); } + else if (value.IsAppStoreVersionExperimentTreatments3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments3(), typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem42.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem42.g.cs index c9f0910e1..01db9aeed 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem42.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem42.g.cs @@ -17,48 +17,30 @@ public class IncludedItem42JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppKeyword? appKeywords = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppKeywords) + global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppKeyword)}"); - appKeywords = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); + appStoreVersionExperimentTreatments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); - appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); - appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + appStoreVersionExperimentTreatments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem42( discriminator?.Type, - appKeywords, - - appPreviewSets, + appStoreVersionExperimentTreatments1, - appScreenshotSets, - - appStoreVersions + appStoreVersionExperimentTreatments2 ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppKeywords) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppKeyword).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppKeywords(), typeInfo); - } - else if (value.IsAppPreviewSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); - } - else if (value.IsAppScreenshotSets) + if (value.IsAppStoreVersionExperimentTreatments1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments1(), typeInfo); } - else if (value.IsAppStoreVersions) + else if (value.IsAppStoreVersionExperimentTreatments2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem43.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem43.g.cs index e550d1919..5e2fdda27 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem43.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem43.g.cs @@ -17,48 +17,30 @@ public class IncludedItem43JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppKeyword? appKeywords = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppKeywords) + global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppKeyword)}"); - appKeywords = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentTreatment)}"); + appStoreVersionExperimentTreatments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); - appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); - appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + appStoreVersionExperimentTreatments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem43( discriminator?.Type, - appKeywords, - - appPreviewSets, + appStoreVersionExperimentTreatments1, - appScreenshotSets, - - appStoreVersions + appStoreVersionExperimentTreatments2 ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppKeywords) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppKeyword).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppKeywords(), typeInfo); - } - else if (value.IsAppPreviewSets) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); - } - else if (value.IsAppScreenshotSets) + if (value.IsAppStoreVersionExperimentTreatments1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments1(), typeInfo); } - else if (value.IsAppStoreVersions) + else if (value.IsAppStoreVersionExperimentTreatments2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperimentTreatments2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem44.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem44.g.cs index 55ad02006..de7c64993 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem44.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem44.g.cs @@ -17,111 +17,57 @@ public class IncludedItem44JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AlternativeDistributionPackage? alternativeDistributionPackages = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AlternativeDistributionPackages) + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AlternativeDistributionPackage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AlternativeDistributionPackage)}"); - alternativeDistributionPackages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacement)}"); + appAssetLibraryPlacements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) + global::AppStoreConnect.AppKeyword? appKeywords = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppKeywords) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); - appClipDefaultExperiences1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppKeyword)}"); + appKeywords = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreReviewDetail? appStoreReviewDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreReviewDetails) + global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreReviewDetail)}"); - appStoreReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); + appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); - appStoreVersionExperiments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); + appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); - appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionPhasedRelease? appStoreVersionPhasedReleases = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreVersionPhasedReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionPhasedRelease)}"); - appStoreVersionPhasedReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionSubmission? appStoreVersionSubmissions = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreVersionSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionSubmission)}"); - appStoreVersionSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.App? appClipDefaultExperiences2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appClipDefaultExperiences2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.Builds) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.GameCenterAppVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); - gameCenterAppVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.RoutingAppCoverage? routingAppCoverages = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.RoutingAppCoverages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.RoutingAppCoverage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.RoutingAppCoverage)}"); - routingAppCoverages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem44( discriminator?.Type, - alternativeDistributionPackages, - - appClipDefaultExperiences1, - - appStoreReviewDetails, - - appStoreVersionExperiments, + appAssetLibraryPlacements, - appStoreVersionLocalizations, + appKeywords, - appStoreVersionPhasedReleases, + appPreviewSets, - appStoreVersionSubmissions, + appScreenshotSets, - appClipDefaultExperiences2, - - builds, - - gameCenterAppVersions, - - routingAppCoverages + appStoreVersions ); return __value; @@ -136,71 +82,35 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAlternativeDistributionPackages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AlternativeDistributionPackage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AlternativeDistributionPackage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAlternativeDistributionPackages(), typeInfo); - } - else if (value.IsAppClipDefaultExperiences1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences1(), typeInfo); - } - else if (value.IsAppStoreReviewDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreReviewDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreReviewDetails(), typeInfo); - } - else if (value.IsAppStoreVersionExperiments) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments(), typeInfo); - } - else if (value.IsAppStoreVersionLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); - } - else if (value.IsAppStoreVersionPhasedReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionPhasedReleases(), typeInfo); - } - else if (value.IsAppStoreVersionSubmissions) + if (value.IsAppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionSubmission).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionSubmissions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryPlacements(), typeInfo); } - else if (value.IsAppClipDefaultExperiences2) + else if (value.IsAppKeywords) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppKeyword).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppKeywords(), typeInfo); } - else if (value.IsBuilds) + else if (value.IsAppPreviewSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); } - else if (value.IsGameCenterAppVersions) + else if (value.IsAppScreenshotSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); } - else if (value.IsRoutingAppCoverages) + else if (value.IsAppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.RoutingAppCoverage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.RoutingAppCoverage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRoutingAppCoverages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem45.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem45.g.cs index 3baee5623..ab09cc0fc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem45.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem45.g.cs @@ -17,111 +17,57 @@ public class IncludedItem45JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AlternativeDistributionPackage? alternativeDistributionPackages = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AlternativeDistributionPackages) + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AlternativeDistributionPackage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AlternativeDistributionPackage)}"); - alternativeDistributionPackages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacement)}"); + appAssetLibraryPlacements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) + global::AppStoreConnect.AppKeyword? appKeywords = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppKeywords) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); - appClipDefaultExperiences1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppKeyword)}"); + appKeywords = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreReviewDetail? appStoreReviewDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreReviewDetails) + global::AppStoreConnect.AppPreviewSet? appPreviewSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreReviewDetail)}"); - appStoreReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppPreviewSet)}"); + appPreviewSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); - appStoreVersionExperiments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppScreenshotSet)}"); + appScreenshotSets = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); - appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionPhasedRelease? appStoreVersionPhasedReleases = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreVersionPhasedReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionPhasedRelease)}"); - appStoreVersionPhasedReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersionSubmission? appStoreVersionSubmissions = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreVersionSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionSubmission)}"); - appStoreVersionSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.App? appClipDefaultExperiences2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appClipDefaultExperiences2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.Builds) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.GameCenterAppVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); - gameCenterAppVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.RoutingAppCoverage? routingAppCoverages = default; - if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.RoutingAppCoverages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.RoutingAppCoverage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.RoutingAppCoverage)}"); - routingAppCoverages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem45( discriminator?.Type, - alternativeDistributionPackages, - - appClipDefaultExperiences1, - - appStoreReviewDetails, - - appStoreVersionExperiments, + appAssetLibraryPlacements, - appStoreVersionLocalizations, + appKeywords, - appStoreVersionPhasedReleases, + appPreviewSets, - appStoreVersionSubmissions, + appScreenshotSets, - appClipDefaultExperiences2, - - builds, - - gameCenterAppVersions, - - routingAppCoverages + appStoreVersions ); return __value; @@ -136,71 +82,35 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAlternativeDistributionPackages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AlternativeDistributionPackage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AlternativeDistributionPackage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAlternativeDistributionPackages(), typeInfo); - } - else if (value.IsAppClipDefaultExperiences1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences1(), typeInfo); - } - else if (value.IsAppStoreReviewDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreReviewDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreReviewDetails(), typeInfo); - } - else if (value.IsAppStoreVersionExperiments) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments(), typeInfo); - } - else if (value.IsAppStoreVersionLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); - } - else if (value.IsAppStoreVersionPhasedReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionPhasedReleases(), typeInfo); - } - else if (value.IsAppStoreVersionSubmissions) + if (value.IsAppAssetLibraryPlacements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionSubmission).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionSubmissions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppAssetLibraryPlacements(), typeInfo); } - else if (value.IsAppClipDefaultExperiences2) + else if (value.IsAppKeywords) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppKeyword), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppKeyword).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppKeywords(), typeInfo); } - else if (value.IsBuilds) + else if (value.IsAppPreviewSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppPreviewSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppPreviewSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppPreviewSets(), typeInfo); } - else if (value.IsGameCenterAppVersions) + else if (value.IsAppScreenshotSets) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppScreenshotSet), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppScreenshotSet).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppScreenshotSets(), typeInfo); } - else if (value.IsRoutingAppCoverages) + else if (value.IsAppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.RoutingAppCoverage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.RoutingAppCoverage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRoutingAppCoverages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem46.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem46.g.cs index a67e976e1..d41395a5f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem46.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem46.g.cs @@ -17,228 +17,111 @@ public class IncludedItem46JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AndroidToIosAppMappingDetail? androidToIosAppMappingDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AndroidToIosAppMappingDetails) + global::AppStoreConnect.AlternativeDistributionPackage? alternativeDistributionPackages = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AlternativeDistributionPackages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AndroidToIosAppMappingDetail)}"); - androidToIosAppMappingDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AlternativeDistributionPackage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AlternativeDistributionPackage)}"); + alternativeDistributionPackages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClip? appClips = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppClips) + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); - appClips = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); + appClipDefaultExperiences1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppCustomProductPage? appCustomProductPages = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppCustomProductPages) + global::AppStoreConnect.AppStoreReviewDetail? appStoreReviewDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreReviewDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPage)}"); - appCustomProductPages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreReviewDetail)}"); + appStoreReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclaration)}"); - appEncryptionDeclarations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); + appStoreVersionExperiments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEvent? appEvents = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); - appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); + appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppInfo? appInfos = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppInfos) + global::AppStoreConnect.AppStoreVersionPhasedRelease? appStoreVersionPhasedReleases = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreVersionPhasedReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfo)}"); - appInfos = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionPhasedRelease)}"); + appStoreVersionPhasedReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionExperimentV2? appStoreVersionExperiments1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + global::AppStoreConnect.AppStoreVersionSubmission? appStoreVersionSubmissions = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppStoreVersionSubmissions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentV2)}"); - appStoreVersionExperiments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionSubmission)}"); + appStoreVersionSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + global::AppStoreConnect.App? appClipDefaultExperiences2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersionExperiments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appClipDefaultExperiences2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BetaAppLocalization? betaAppLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BetaAppLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppLocalization)}"); - betaAppLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaAppReviewDetail? betaAppReviewDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BetaAppReviewDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppReviewDetail)}"); - betaAppReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaGroup? betaGroups = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BetaGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); - betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaLicenseAgreement? betaLicenseAgreements = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BetaLicenseAgreements) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaLicenseAgreement)}"); - betaLicenseAgreements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildIcon? buildIcons1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BuildIcons) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildIcon)}"); - buildIcons1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Build? buildIcons2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BuildIcons) + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - buildIcons2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.CiProduct? ciProducts = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.CiProducts) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); - ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.EndUserLicenseAgreement? endUserLicenseAgreements = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.EndUserLicenseAgreements) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.EndUserLicenseAgreement)}"); - endUserLicenseAgreements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.GameCenterEnabledVersions) + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.GameCenterAppVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterEnabledVersion)}"); - gameCenterEnabledVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); + gameCenterAppVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchase? inAppPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.InAppPurchases) + global::AppStoreConnect.RoutingAppCoverage? routingAppCoverages = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType.RoutingAppCoverages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchase)}"); - inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.PrereleaseVersion? preReleaseVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.PreReleaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersion)}"); - preReleaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.PromotedPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); - promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.ReviewSubmission? reviewSubmissions = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.ReviewSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmission)}"); - reviewSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionGracePeriod? subscriptionGracePeriods = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.SubscriptionGracePeriods) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGracePeriod), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGracePeriod)}"); - subscriptionGracePeriods = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; - if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.SubscriptionGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); - subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.RoutingAppCoverage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.RoutingAppCoverage)}"); + routingAppCoverages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem46( discriminator?.Type, - androidToIosAppMappingDetails, - - appClips, - - appCustomProductPages, - - appEncryptionDeclarations, - - appEvents, - - appInfos, - - appStoreVersionExperiments1, - - appStoreVersionExperiments2, + alternativeDistributionPackages, - betaAppLocalizations, + appClipDefaultExperiences1, - betaAppReviewDetails, + appStoreReviewDetails, - betaGroups, + appStoreVersionExperiments, - betaLicenseAgreements, + appStoreVersionLocalizations, - buildIcons1, + appStoreVersionPhasedReleases, - buildIcons2, + appStoreVersionSubmissions, - ciProducts, + appClipDefaultExperiences2, - endUserLicenseAgreements, + builds, - gameCenterDetails, + gameCenterAppVersions, - gameCenterEnabledVersions, - - inAppPurchases, - - preReleaseVersions, - - promotedPurchases, - - reviewSubmissions, - - subscriptionGracePeriods, - - subscriptionGroups + routingAppCoverages ); return __value; @@ -253,149 +136,71 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAndroidToIosAppMappingDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAndroidToIosAppMappingDetails(), typeInfo); - } - else if (value.IsAppClips) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClips(), typeInfo); - } - else if (value.IsAppCustomProductPages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPages(), typeInfo); - } - else if (value.IsAppEncryptionDeclarations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclaration).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations(), typeInfo); - } - else if (value.IsAppEvents) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); - } - else if (value.IsAppInfos) + if (value.IsAlternativeDistributionPackages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppInfo).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppInfos(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AlternativeDistributionPackage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AlternativeDistributionPackage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAlternativeDistributionPackages(), typeInfo); } - else if (value.IsAppStoreVersionExperiments1) + else if (value.IsAppClipDefaultExperiences1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences1(), typeInfo); } - else if (value.IsAppStoreVersionExperiments2) + else if (value.IsAppStoreReviewDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreReviewDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreReviewDetails(), typeInfo); } - else if (value.IsBetaAppLocalizations) + else if (value.IsAppStoreVersionExperiments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments(), typeInfo); } - else if (value.IsBetaAppReviewDetails) + else if (value.IsAppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppReviewDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppReviewDetails(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); } - else if (value.IsBetaGroups) + else if (value.IsAppStoreVersionPhasedReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionPhasedReleases(), typeInfo); } - else if (value.IsBetaLicenseAgreements) + else if (value.IsAppStoreVersionSubmissions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaLicenseAgreement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaLicenseAgreements(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionSubmission).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionSubmissions(), typeInfo); } - else if (value.IsBuildIcons1) + else if (value.IsAppClipDefaultExperiences2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildIcon).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences2(), typeInfo); } - else if (value.IsBuildIcons2) + else if (value.IsBuilds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons2(), typeInfo); - } - else if (value.IsCiProducts) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); - } - else if (value.IsEndUserLicenseAgreements) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.EndUserLicenseAgreement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickEndUserLicenseAgreements(), typeInfo); - } - else if (value.IsGameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } - else if (value.IsGameCenterEnabledVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterEnabledVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterEnabledVersions(), typeInfo); - } - else if (value.IsInAppPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchase).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); - } - else if (value.IsPreReleaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PrereleaseVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPreReleaseVersions(), typeInfo); - } - else if (value.IsPromotedPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); - } - else if (value.IsReviewSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ReviewSubmission).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReviewSubmissions(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); } - else if (value.IsSubscriptionGracePeriods) + else if (value.IsGameCenterAppVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGracePeriod), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGracePeriod).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGracePeriods(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions(), typeInfo); } - else if (value.IsSubscriptionGroups) + else if (value.IsRoutingAppCoverages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.RoutingAppCoverage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.RoutingAppCoverage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRoutingAppCoverages(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem47.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem47.g.cs index 9be433b2b..5291ae63b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem47.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem47.g.cs @@ -17,228 +17,111 @@ public class IncludedItem47JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AndroidToIosAppMappingDetail? androidToIosAppMappingDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AndroidToIosAppMappingDetails) + global::AppStoreConnect.AlternativeDistributionPackage? alternativeDistributionPackages = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AlternativeDistributionPackages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AndroidToIosAppMappingDetail)}"); - androidToIosAppMappingDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AlternativeDistributionPackage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AlternativeDistributionPackage)}"); + alternativeDistributionPackages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClip? appClips = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppClips) + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); - appClips = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); + appClipDefaultExperiences1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppCustomProductPage? appCustomProductPages = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppCustomProductPages) + global::AppStoreConnect.AppStoreReviewDetail? appStoreReviewDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreReviewDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPage)}"); - appCustomProductPages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreReviewDetail)}"); + appStoreReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclaration)}"); - appEncryptionDeclarations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperiment)}"); + appStoreVersionExperiments = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppEvent? appEvents = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppEvents) + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); - appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionLocalization)}"); + appStoreVersionLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppInfo? appInfos = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppInfos) + global::AppStoreConnect.AppStoreVersionPhasedRelease? appStoreVersionPhasedReleases = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreVersionPhasedReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfo)}"); - appInfos = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionPhasedRelease)}"); + appStoreVersionPhasedReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersionExperimentV2? appStoreVersionExperiments1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + global::AppStoreConnect.AppStoreVersionSubmission? appStoreVersionSubmissions = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppStoreVersionSubmissions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentV2)}"); - appStoreVersionExperiments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionSubmission)}"); + appStoreVersionSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + global::AppStoreConnect.App? appClipDefaultExperiences2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersionExperiments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + appClipDefaultExperiences2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BetaAppLocalization? betaAppLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BetaAppLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppLocalization)}"); - betaAppLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaAppReviewDetail? betaAppReviewDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BetaAppReviewDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppReviewDetail)}"); - betaAppReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaGroup? betaGroups = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BetaGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); - betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaLicenseAgreement? betaLicenseAgreements = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BetaLicenseAgreements) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaLicenseAgreement)}"); - betaLicenseAgreements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildIcon? buildIcons1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BuildIcons) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildIcon)}"); - buildIcons1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.Build? buildIcons2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BuildIcons) + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - buildIcons2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.CiProduct? ciProducts = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.CiProducts) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); - ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.EndUserLicenseAgreement? endUserLicenseAgreements = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.EndUserLicenseAgreements) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.EndUserLicenseAgreement)}"); - endUserLicenseAgreements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.GameCenterEnabledVersions) + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.GameCenterAppVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterEnabledVersion)}"); - gameCenterEnabledVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); + gameCenterAppVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.InAppPurchase? inAppPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.InAppPurchases) + global::AppStoreConnect.RoutingAppCoverage? routingAppCoverages = default; + if (discriminator?.Type == global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType.RoutingAppCoverages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchase)}"); - inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.PrereleaseVersion? preReleaseVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.PreReleaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersion)}"); - preReleaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.PromotedPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); - promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.ReviewSubmission? reviewSubmissions = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.ReviewSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmission)}"); - reviewSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionGracePeriod? subscriptionGracePeriods = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.SubscriptionGracePeriods) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGracePeriod), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGracePeriod)}"); - subscriptionGracePeriods = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; - if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.SubscriptionGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); - subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.RoutingAppCoverage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.RoutingAppCoverage)}"); + routingAppCoverages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem47( discriminator?.Type, - androidToIosAppMappingDetails, - - appClips, - - appCustomProductPages, - - appEncryptionDeclarations, - - appEvents, - - appInfos, - - appStoreVersionExperiments1, - - appStoreVersionExperiments2, + alternativeDistributionPackages, - betaAppLocalizations, + appClipDefaultExperiences1, - betaAppReviewDetails, + appStoreReviewDetails, - betaGroups, + appStoreVersionExperiments, - betaLicenseAgreements, + appStoreVersionLocalizations, - buildIcons1, + appStoreVersionPhasedReleases, - buildIcons2, + appStoreVersionSubmissions, - ciProducts, + appClipDefaultExperiences2, - endUserLicenseAgreements, + builds, - gameCenterDetails, + gameCenterAppVersions, - gameCenterEnabledVersions, - - inAppPurchases, - - preReleaseVersions, - - promotedPurchases, - - reviewSubmissions, - - subscriptionGracePeriods, - - subscriptionGroups + routingAppCoverages ); return __value; @@ -253,149 +136,71 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAndroidToIosAppMappingDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAndroidToIosAppMappingDetails(), typeInfo); - } - else if (value.IsAppClips) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClips(), typeInfo); - } - else if (value.IsAppCustomProductPages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPages(), typeInfo); - } - else if (value.IsAppEncryptionDeclarations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclaration).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations(), typeInfo); - } - else if (value.IsAppEvents) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); - } - else if (value.IsAppInfos) + if (value.IsAlternativeDistributionPackages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppInfo).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppInfos(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AlternativeDistributionPackage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AlternativeDistributionPackage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAlternativeDistributionPackages(), typeInfo); } - else if (value.IsAppStoreVersionExperiments1) + else if (value.IsAppClipDefaultExperiences1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences1(), typeInfo); } - else if (value.IsAppStoreVersionExperiments2) + else if (value.IsAppStoreReviewDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreReviewDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreReviewDetails(), typeInfo); } - else if (value.IsBetaAppLocalizations) + else if (value.IsAppStoreVersionExperiments) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperiment), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperiment).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments(), typeInfo); } - else if (value.IsBetaAppReviewDetails) + else if (value.IsAppStoreVersionLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppReviewDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppReviewDetails(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionLocalizations(), typeInfo); } - else if (value.IsBetaGroups) + else if (value.IsAppStoreVersionPhasedReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionPhasedReleases(), typeInfo); } - else if (value.IsBetaLicenseAgreements) + else if (value.IsAppStoreVersionSubmissions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaLicenseAgreement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaLicenseAgreements(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionSubmission).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionSubmissions(), typeInfo); } - else if (value.IsBuildIcons1) + else if (value.IsAppClipDefaultExperiences2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildIcon).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences2(), typeInfo); } - else if (value.IsBuildIcons2) + else if (value.IsBuilds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons2(), typeInfo); - } - else if (value.IsCiProducts) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); - } - else if (value.IsEndUserLicenseAgreements) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.EndUserLicenseAgreement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickEndUserLicenseAgreements(), typeInfo); - } - else if (value.IsGameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } - else if (value.IsGameCenterEnabledVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterEnabledVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterEnabledVersions(), typeInfo); - } - else if (value.IsInAppPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchase).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); - } - else if (value.IsPreReleaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PrereleaseVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPreReleaseVersions(), typeInfo); - } - else if (value.IsPromotedPurchases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); - } - else if (value.IsReviewSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ReviewSubmission).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReviewSubmissions(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); } - else if (value.IsSubscriptionGracePeriods) + else if (value.IsGameCenterAppVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGracePeriod), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGracePeriod).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGracePeriods(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions(), typeInfo); } - else if (value.IsSubscriptionGroups) + else if (value.IsRoutingAppCoverages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.RoutingAppCoverage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.RoutingAppCoverage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRoutingAppCoverages(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem48.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem48.g.cs index b913ef729..4ebbcdf10 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem48.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem48.g.cs @@ -17,57 +17,228 @@ public class IncludedItem48JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.BackgroundAssetUploadFile? backgroundAssetUploadFiles = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetUploadFiles) + global::AppStoreConnect.AndroidToIosAppMappingDetail? androidToIosAppMappingDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AndroidToIosAppMappingDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetUploadFile)}"); - backgroundAssetUploadFiles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AndroidToIosAppMappingDetail)}"); + androidToIosAppMappingDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? backgroundAssetVersionAppStoreReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetVersionAppStoreReleases) + global::AppStoreConnect.AppClip? appClips = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppClips) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease)}"); - backgroundAssetVersionAppStoreReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); + appClips = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? backgroundAssetVersionExternalBetaReleases = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetVersionExternalBetaReleases) + global::AppStoreConnect.AppCustomProductPage? appCustomProductPages = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppCustomProductPages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease)}"); - backgroundAssetVersionExternalBetaReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPage)}"); + appCustomProductPages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? backgroundAssetVersionInternalBetaReleases = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetVersionInternalBetaReleases) + global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease)}"); - backgroundAssetVersionInternalBetaReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclaration)}"); + appEncryptionDeclarations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAsset? backgroundAssetVersionAppStoreReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetVersionAppStoreReleases) + global::AppStoreConnect.AppEvent? appEvents = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppEvents) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAsset), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAsset)}"); - backgroundAssetVersionAppStoreReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); + appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppInfo? appInfos = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppInfos) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfo)}"); + appInfos = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperimentV2? appStoreVersionExperiments1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentV2)}"); + appStoreVersionExperiments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersionExperiments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaAppLocalization? betaAppLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BetaAppLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppLocalization)}"); + betaAppLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaAppReviewDetail? betaAppReviewDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BetaAppReviewDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppReviewDetail)}"); + betaAppReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaGroup? betaGroups = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); + betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaLicenseAgreement? betaLicenseAgreements = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BetaLicenseAgreements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaLicenseAgreement)}"); + betaLicenseAgreements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BuildIcon? buildIcons1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BuildIcons) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildIcon)}"); + buildIcons1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Build? buildIcons2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.BuildIcons) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + buildIcons2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.CiProduct? ciProducts = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.CiProducts) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); + ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.EndUserLicenseAgreement? endUserLicenseAgreements = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.EndUserLicenseAgreements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.EndUserLicenseAgreement)}"); + endUserLicenseAgreements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.GameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.GameCenterEnabledVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterEnabledVersion)}"); + gameCenterEnabledVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchase? inAppPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.InAppPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchase)}"); + inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.PrereleaseVersion? preReleaseVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.PreReleaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersion)}"); + preReleaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.PromotedPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); + promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ReviewSubmission? reviewSubmissions = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.ReviewSubmissions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmission)}"); + reviewSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGracePeriod? subscriptionGracePeriods = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.SubscriptionGracePeriods) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGracePeriod), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGracePeriod)}"); + subscriptionGracePeriods = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; + if (discriminator?.Type == global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType.SubscriptionGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); + subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem48( discriminator?.Type, - backgroundAssetUploadFiles, + androidToIosAppMappingDetails, + + appClips, + + appCustomProductPages, + + appEncryptionDeclarations, + + appEvents, + + appInfos, + + appStoreVersionExperiments1, + + appStoreVersionExperiments2, + + betaAppLocalizations, + + betaAppReviewDetails, + + betaGroups, - backgroundAssetVersionAppStoreReleases1, + betaLicenseAgreements, - backgroundAssetVersionExternalBetaReleases, + buildIcons1, - backgroundAssetVersionInternalBetaReleases, + buildIcons2, - backgroundAssetVersionAppStoreReleases2 + ciProducts, + + endUserLicenseAgreements, + + gameCenterDetails, + + gameCenterEnabledVersions, + + inAppPurchases, + + preReleaseVersions, + + promotedPurchases, + + reviewSubmissions, + + subscriptionGracePeriods, + + subscriptionGroups ); return __value; @@ -82,35 +253,149 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBackgroundAssetUploadFiles) + if (value.IsAndroidToIosAppMappingDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAndroidToIosAppMappingDetails(), typeInfo); + } + else if (value.IsAppClips) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClips(), typeInfo); + } + else if (value.IsAppCustomProductPages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPages(), typeInfo); + } + else if (value.IsAppEncryptionDeclarations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclaration).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations(), typeInfo); + } + else if (value.IsAppEvents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); + } + else if (value.IsAppInfos) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppInfo).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppInfos(), typeInfo); + } + else if (value.IsAppStoreVersionExperiments1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments1(), typeInfo); + } + else if (value.IsAppStoreVersionExperiments2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments2(), typeInfo); + } + else if (value.IsBetaAppLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppLocalizations(), typeInfo); + } + else if (value.IsBetaAppReviewDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppReviewDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppReviewDetails(), typeInfo); + } + else if (value.IsBetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); + } + else if (value.IsBetaLicenseAgreements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaLicenseAgreement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaLicenseAgreements(), typeInfo); + } + else if (value.IsBuildIcons1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildIcon).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons1(), typeInfo); + } + else if (value.IsBuildIcons2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons2(), typeInfo); + } + else if (value.IsCiProducts) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); + } + else if (value.IsEndUserLicenseAgreements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.EndUserLicenseAgreement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickEndUserLicenseAgreements(), typeInfo); + } + else if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterEnabledVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterEnabledVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterEnabledVersions(), typeInfo); + } + else if (value.IsInAppPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchase).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); + } + else if (value.IsPreReleaseVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetUploadFile).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetUploadFiles(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PrereleaseVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPreReleaseVersions(), typeInfo); } - else if (value.IsBackgroundAssetVersionAppStoreReleases1) + else if (value.IsPromotedPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionAppStoreReleases1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); } - else if (value.IsBackgroundAssetVersionExternalBetaReleases) + else if (value.IsReviewSubmissions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionExternalBetaReleases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ReviewSubmission).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReviewSubmissions(), typeInfo); } - else if (value.IsBackgroundAssetVersionInternalBetaReleases) + else if (value.IsSubscriptionGracePeriods) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionInternalBetaReleases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGracePeriod), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGracePeriod).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGracePeriods(), typeInfo); } - else if (value.IsBackgroundAssetVersionAppStoreReleases2) + else if (value.IsSubscriptionGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAsset), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAsset).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionAppStoreReleases2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem49.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem49.g.cs index 192dcf427..cf9914eef 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem49.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem49.g.cs @@ -17,57 +17,228 @@ public class IncludedItem49JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.BackgroundAssetUploadFile? backgroundAssetUploadFiles = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetUploadFiles) + global::AppStoreConnect.AndroidToIosAppMappingDetail? androidToIosAppMappingDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AndroidToIosAppMappingDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetUploadFile)}"); - backgroundAssetUploadFiles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AndroidToIosAppMappingDetail)}"); + androidToIosAppMappingDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? backgroundAssetVersionAppStoreReleases1 = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetVersionAppStoreReleases) + global::AppStoreConnect.AppClip? appClips = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppClips) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease)}"); - backgroundAssetVersionAppStoreReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); + appClips = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? backgroundAssetVersionExternalBetaReleases = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetVersionExternalBetaReleases) + global::AppStoreConnect.AppCustomProductPage? appCustomProductPages = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppCustomProductPages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease)}"); - backgroundAssetVersionExternalBetaReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppCustomProductPage)}"); + appCustomProductPages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? backgroundAssetVersionInternalBetaReleases = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetVersionInternalBetaReleases) + global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease)}"); - backgroundAssetVersionInternalBetaReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclaration)}"); + appEncryptionDeclarations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAsset? backgroundAssetVersionAppStoreReleases2 = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetVersionAppStoreReleases) + global::AppStoreConnect.AppEvent? appEvents = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppEvents) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAsset), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAsset)}"); - backgroundAssetVersionAppStoreReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEvent)}"); + appEvents = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppInfo? appInfos = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppInfos) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppInfo)}"); + appInfos = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersionExperimentV2? appStoreVersionExperiments1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersionExperimentV2)}"); + appStoreVersionExperiments1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersionExperiments2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaAppLocalization? betaAppLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BetaAppLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppLocalization)}"); + betaAppLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaAppReviewDetail? betaAppReviewDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BetaAppReviewDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppReviewDetail)}"); + betaAppReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaGroup? betaGroups = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); + betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaLicenseAgreement? betaLicenseAgreements = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BetaLicenseAgreements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaLicenseAgreement)}"); + betaLicenseAgreements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BuildIcon? buildIcons1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BuildIcons) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildIcon)}"); + buildIcons1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Build? buildIcons2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.BuildIcons) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + buildIcons2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.CiProduct? ciProducts = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.CiProducts) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); + ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.EndUserLicenseAgreement? endUserLicenseAgreements = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.EndUserLicenseAgreements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.EndUserLicenseAgreement)}"); + endUserLicenseAgreements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.GameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.GameCenterEnabledVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterEnabledVersion)}"); + gameCenterEnabledVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.InAppPurchase? inAppPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.InAppPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.InAppPurchase)}"); + inAppPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.PrereleaseVersion? preReleaseVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.PreReleaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersion)}"); + preReleaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.PromotedPurchase? promotedPurchases = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.PromotedPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PromotedPurchase)}"); + promotedPurchases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ReviewSubmission? reviewSubmissions = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.ReviewSubmissions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ReviewSubmission)}"); + reviewSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGracePeriod? subscriptionGracePeriods = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.SubscriptionGracePeriods) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGracePeriod), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGracePeriod)}"); + subscriptionGracePeriods = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups = default; + if (discriminator?.Type == global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType.SubscriptionGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.SubscriptionGroup)}"); + subscriptionGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem49( discriminator?.Type, - backgroundAssetUploadFiles, + androidToIosAppMappingDetails, + + appClips, + + appCustomProductPages, + + appEncryptionDeclarations, + + appEvents, + + appInfos, + + appStoreVersionExperiments1, + + appStoreVersionExperiments2, + + betaAppLocalizations, + + betaAppReviewDetails, + + betaGroups, - backgroundAssetVersionAppStoreReleases1, + betaLicenseAgreements, - backgroundAssetVersionExternalBetaReleases, + buildIcons1, - backgroundAssetVersionInternalBetaReleases, + buildIcons2, - backgroundAssetVersionAppStoreReleases2 + ciProducts, + + endUserLicenseAgreements, + + gameCenterDetails, + + gameCenterEnabledVersions, + + inAppPurchases, + + preReleaseVersions, + + promotedPurchases, + + reviewSubmissions, + + subscriptionGracePeriods, + + subscriptionGroups ); return __value; @@ -82,35 +253,149 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBackgroundAssetUploadFiles) + if (value.IsAndroidToIosAppMappingDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAndroidToIosAppMappingDetails(), typeInfo); + } + else if (value.IsAppClips) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClips(), typeInfo); + } + else if (value.IsAppCustomProductPages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppCustomProductPage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppCustomProductPage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppCustomProductPages(), typeInfo); + } + else if (value.IsAppEncryptionDeclarations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclaration).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations(), typeInfo); + } + else if (value.IsAppEvents) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEvents(), typeInfo); + } + else if (value.IsAppInfos) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppInfo), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppInfo).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppInfos(), typeInfo); + } + else if (value.IsAppStoreVersionExperiments1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersionExperimentV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments1(), typeInfo); + } + else if (value.IsAppStoreVersionExperiments2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersionExperiments2(), typeInfo); + } + else if (value.IsBetaAppLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppLocalizations(), typeInfo); + } + else if (value.IsBetaAppReviewDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppReviewDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppReviewDetails(), typeInfo); + } + else if (value.IsBetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); + } + else if (value.IsBetaLicenseAgreements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaLicenseAgreement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaLicenseAgreements(), typeInfo); + } + else if (value.IsBuildIcons1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildIcon).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons1(), typeInfo); + } + else if (value.IsBuildIcons2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons2(), typeInfo); + } + else if (value.IsCiProducts) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); + } + else if (value.IsEndUserLicenseAgreements) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.EndUserLicenseAgreement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickEndUserLicenseAgreements(), typeInfo); + } + else if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterEnabledVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterEnabledVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterEnabledVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterEnabledVersions(), typeInfo); + } + else if (value.IsInAppPurchases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.InAppPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.InAppPurchase).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInAppPurchases(), typeInfo); + } + else if (value.IsPreReleaseVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetUploadFile).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetUploadFiles(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PrereleaseVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPreReleaseVersions(), typeInfo); } - else if (value.IsBackgroundAssetVersionAppStoreReleases1) + else if (value.IsPromotedPurchases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionAppStoreReleases1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PromotedPurchase), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PromotedPurchase).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPromotedPurchases(), typeInfo); } - else if (value.IsBackgroundAssetVersionExternalBetaReleases) + else if (value.IsReviewSubmissions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionExternalBetaReleases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ReviewSubmission).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReviewSubmissions(), typeInfo); } - else if (value.IsBackgroundAssetVersionInternalBetaReleases) + else if (value.IsSubscriptionGracePeriods) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionInternalBetaReleases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGracePeriod), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGracePeriod).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGracePeriods(), typeInfo); } - else if (value.IsBackgroundAssetVersionAppStoreReleases2) + else if (value.IsSubscriptionGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAsset), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAsset).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionAppStoreReleases2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.SubscriptionGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.SubscriptionGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSubscriptionGroups(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem5.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem5.g.cs index 6caf0fcfe..b16198a90 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem5.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem5.g.cs @@ -17,30 +17,39 @@ public class IncludedItem5JsonConverter : global::System.Text.Json.Serialization var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) + global::AppStoreConnect.AppClipAdvancedExperienceImage? appClipAdvancedExperienceImages = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); - appClipDefaultExperiences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceImage)}"); + appClipAdvancedExperienceImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClipHeaderImage? appClipHeaderImages = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType.AppClipHeaderImages) + global::AppStoreConnect.AppClipAdvancedExperienceLocalization? appClipAdvancedExperienceLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipHeaderImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipHeaderImage)}"); - appClipHeaderImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization)}"); + appClipAdvancedExperienceLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppClip? appClipAdvancedExperienceLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); + appClipAdvancedExperienceLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem5( discriminator?.Type, - appClipDefaultExperiences, + appClipAdvancedExperienceImages, + + appClipAdvancedExperienceLocalizations1, - appClipHeaderImages + appClipAdvancedExperienceLocalizations2 ); return __value; @@ -55,17 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppClipDefaultExperiences) + if (value.IsAppClipAdvancedExperienceImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceImages(), typeInfo); + } + else if (value.IsAppClipAdvancedExperienceLocalizations1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceLocalizations1(), typeInfo); } - else if (value.IsAppClipHeaderImages) + else if (value.IsAppClipAdvancedExperienceLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipHeaderImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipHeaderImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipHeaderImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceLocalizations2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem50.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem50.g.cs index f325370b0..d001ce41c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem50.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem50.g.cs @@ -17,30 +17,57 @@ public class IncludedItem50JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.BackgroundAssetUploadFile? backgroundAssetUploadFiles = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetUploadFiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetUploadFile)}"); + backgroundAssetUploadFiles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType.BackgroundAssetVersions) + global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? backgroundAssetVersionAppStoreReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetVersionAppStoreReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersion)}"); - backgroundAssetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease)}"); + backgroundAssetVersionAppStoreReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? backgroundAssetVersionExternalBetaReleases = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetVersionExternalBetaReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease)}"); + backgroundAssetVersionExternalBetaReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? backgroundAssetVersionInternalBetaReleases = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetVersionInternalBetaReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease)}"); + backgroundAssetVersionInternalBetaReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BackgroundAsset? backgroundAssetVersionAppStoreReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType.BackgroundAssetVersionAppStoreReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAsset), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAsset)}"); + backgroundAssetVersionAppStoreReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem50( discriminator?.Type, - apps, + backgroundAssetUploadFiles, + + backgroundAssetVersionAppStoreReleases1, + + backgroundAssetVersionExternalBetaReleases, - backgroundAssetVersions + backgroundAssetVersionInternalBetaReleases, + + backgroundAssetVersionAppStoreReleases2 ); return __value; @@ -55,17 +82,35 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsBackgroundAssetUploadFiles) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetUploadFile).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetUploadFiles(), typeInfo); + } + else if (value.IsBackgroundAssetVersionAppStoreReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionAppStoreReleases1(), typeInfo); + } + else if (value.IsBackgroundAssetVersionExternalBetaReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionExternalBetaReleases(), typeInfo); + } + else if (value.IsBackgroundAssetVersionInternalBetaReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionInternalBetaReleases(), typeInfo); } - else if (value.IsBackgroundAssetVersions) + else if (value.IsBackgroundAssetVersionAppStoreReleases2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAsset), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAsset).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionAppStoreReleases2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem51.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem51.g.cs index 062791fc6..ff7d7002a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem51.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem51.g.cs @@ -17,30 +17,57 @@ public class IncludedItem51JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.BackgroundAssetUploadFile? backgroundAssetUploadFiles = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetUploadFiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetUploadFile)}"); + backgroundAssetUploadFiles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions = default; - if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType.BackgroundAssetVersions) + global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? backgroundAssetVersionAppStoreReleases1 = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetVersionAppStoreReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersion)}"); - backgroundAssetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease)}"); + backgroundAssetVersionAppStoreReleases1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? backgroundAssetVersionExternalBetaReleases = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetVersionExternalBetaReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease)}"); + backgroundAssetVersionExternalBetaReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? backgroundAssetVersionInternalBetaReleases = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetVersionInternalBetaReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease)}"); + backgroundAssetVersionInternalBetaReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BackgroundAsset? backgroundAssetVersionAppStoreReleases2 = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType.BackgroundAssetVersionAppStoreReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAsset), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAsset)}"); + backgroundAssetVersionAppStoreReleases2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem51( discriminator?.Type, - apps, + backgroundAssetUploadFiles, + + backgroundAssetVersionAppStoreReleases1, + + backgroundAssetVersionExternalBetaReleases, - backgroundAssetVersions + backgroundAssetVersionInternalBetaReleases, + + backgroundAssetVersionAppStoreReleases2 ); return __value; @@ -55,17 +82,35 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsBackgroundAssetUploadFiles) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetUploadFile).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetUploadFiles(), typeInfo); + } + else if (value.IsBackgroundAssetVersionAppStoreReleases1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionAppStoreReleases1(), typeInfo); + } + else if (value.IsBackgroundAssetVersionExternalBetaReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionExternalBetaReleases(), typeInfo); + } + else if (value.IsBackgroundAssetVersionInternalBetaReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionInternalBetaReleases(), typeInfo); } - else if (value.IsBackgroundAssetVersions) + else if (value.IsBackgroundAssetVersionAppStoreReleases2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAsset), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAsset).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersionAppStoreReleases2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem52.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem52.g.cs index 7b6a6d454..207f7af70 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem52.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem52.g.cs @@ -17,30 +17,30 @@ public class IncludedItem52JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.BetaTester? betaTesters = default; - if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType.BetaTesters) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); - betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType.Builds) + global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType.BackgroundAssetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersion)}"); + backgroundAssetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem52( discriminator?.Type, - betaTesters, + apps, - builds + backgroundAssetVersions ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBetaTesters) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaTesters(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsBuilds) + else if (value.IsBackgroundAssetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem53.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem53.g.cs index 520251d44..a9b553c70 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem53.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem53.g.cs @@ -17,30 +17,30 @@ public class IncludedItem53JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.BetaTester? betaTesters = default; - if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType.BetaTesters) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); - betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType.Builds) + global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions = default; + if (discriminator?.Type == global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType.BackgroundAssetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BackgroundAssetVersion)}"); + backgroundAssetVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem53( discriminator?.Type, - betaTesters, + apps, - builds + backgroundAssetVersions ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBetaTesters) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaTesters(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsBuilds) + else if (value.IsBackgroundAssetVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BackgroundAssetVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BackgroundAssetVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBackgroundAssetVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem54.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem54.g.cs index 9d0106585..41b430414 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem54.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem54.g.cs @@ -17,19 +17,19 @@ public class IncludedItem54JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.BetaTester? betaTesters = default; - if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType.BetaTesters) + if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType.BetaTesters) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType.Builds) + if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem55.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem55.g.cs index d7b822153..0580ce1c8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem55.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem55.g.cs @@ -17,19 +17,19 @@ public class IncludedItem55JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.BetaTester? betaTesters = default; - if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType.BetaTesters) + if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType.BetaTesters) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType.Builds) + if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem56.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem56.g.cs index 765306e43..0a6a414ff 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem56.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem56.g.cs @@ -17,33 +17,19 @@ public class IncludedItem56JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType.Apps) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaRecruitmentCriterion? betaRecruitmentCriteria = default; - if (discriminator?.Type == global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType.BetaRecruitmentCriteria) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaRecruitmentCriterion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaRecruitmentCriterion)}"); - betaRecruitmentCriteria = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } global::AppStoreConnect.BetaTester? betaTesters = default; - if (discriminator?.Type == global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType.BetaTesters) + if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType.BetaTesters) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType.Builds) + if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); @@ -52,10 +38,6 @@ public class IncludedItem56JsonConverter : global::System.Text.Json.Serializatio var __value = new global::AppStoreConnect.IncludedItem56( discriminator?.Type, - apps, - - betaRecruitmentCriteria, - betaTesters, builds @@ -73,19 +55,7 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); - } - else if (value.IsBetaRecruitmentCriteria) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaRecruitmentCriterion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaRecruitmentCriterion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaRecruitmentCriteria(), typeInfo); - } - else if (value.IsBetaTesters) + if (value.IsBetaTesters) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem57.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem57.g.cs index 3f4bfab6e..b053da1f5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem57.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem57.g.cs @@ -17,33 +17,19 @@ public class IncludedItem57JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType.Apps) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaRecruitmentCriterion? betaRecruitmentCriteria = default; - if (discriminator?.Type == global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType.BetaRecruitmentCriteria) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaRecruitmentCriterion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaRecruitmentCriterion)}"); - betaRecruitmentCriteria = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } global::AppStoreConnect.BetaTester? betaTesters = default; - if (discriminator?.Type == global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType.BetaTesters) + if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType.BetaTesters) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType.Builds) + if (discriminator?.Type == global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); @@ -52,10 +38,6 @@ public class IncludedItem57JsonConverter : global::System.Text.Json.Serializatio var __value = new global::AppStoreConnect.IncludedItem57( discriminator?.Type, - apps, - - betaRecruitmentCriteria, - betaTesters, builds @@ -73,19 +55,7 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); - } - else if (value.IsBetaRecruitmentCriteria) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaRecruitmentCriterion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaRecruitmentCriterion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaRecruitmentCriteria(), typeInfo); - } - else if (value.IsBetaTesters) + if (value.IsBetaTesters) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem58.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem58.g.cs index e4c103935..208d85b47 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem58.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem58.g.cs @@ -17,26 +17,33 @@ public class IncludedItem58JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType.Apps) + if (discriminator?.Type == global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType.Apps) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BetaGroup? betaGroups = default; - if (discriminator?.Type == global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType.BetaGroups) + global::AppStoreConnect.BetaRecruitmentCriterion? betaRecruitmentCriteria = default; + if (discriminator?.Type == global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType.BetaRecruitmentCriteria) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); - betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaRecruitmentCriterion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaRecruitmentCriterion)}"); + betaRecruitmentCriteria = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaTester? betaTesters = default; + if (discriminator?.Type == global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType.BetaTesters) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); + betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType.Builds) + if (discriminator?.Type == global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); @@ -47,7 +54,9 @@ public class IncludedItem58JsonConverter : global::System.Text.Json.Serializatio discriminator?.Type, apps, - betaGroups, + betaRecruitmentCriteria, + + betaTesters, builds ); @@ -70,11 +79,17 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsBetaGroups) + else if (value.IsBetaRecruitmentCriteria) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaRecruitmentCriterion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaRecruitmentCriterion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaRecruitmentCriteria(), typeInfo); + } + else if (value.IsBetaTesters) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaTesters(), typeInfo); } else if (value.IsBuilds) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem59.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem59.g.cs index b2c1ed61a..75bd29807 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem59.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem59.g.cs @@ -17,26 +17,33 @@ public class IncludedItem59JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType.Apps) + if (discriminator?.Type == global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType.Apps) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BetaGroup? betaGroups = default; - if (discriminator?.Type == global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType.BetaGroups) + global::AppStoreConnect.BetaRecruitmentCriterion? betaRecruitmentCriteria = default; + if (discriminator?.Type == global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType.BetaRecruitmentCriteria) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); - betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaRecruitmentCriterion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaRecruitmentCriterion)}"); + betaRecruitmentCriteria = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaTester? betaTesters = default; + if (discriminator?.Type == global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType.BetaTesters) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); + betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType.Builds) + if (discriminator?.Type == global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); @@ -47,7 +54,9 @@ public class IncludedItem59JsonConverter : global::System.Text.Json.Serializatio discriminator?.Type, apps, - betaGroups, + betaRecruitmentCriteria, + + betaTesters, builds ); @@ -70,11 +79,17 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsBetaGroups) + else if (value.IsBetaRecruitmentCriteria) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaRecruitmentCriterion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaRecruitmentCriterion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaRecruitmentCriteria(), typeInfo); + } + else if (value.IsBetaTesters) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaTesters(), typeInfo); } else if (value.IsBuilds) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem6.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem6.g.cs index 7b06f2b33..7b1c1869c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem6.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem6.g.cs @@ -17,30 +17,39 @@ public class IncludedItem6JsonConverter : global::System.Text.Json.Serialization var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) + global::AppStoreConnect.AppClipAdvancedExperienceImage? appClipAdvancedExperienceImages = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); - appClipDefaultExperiences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceImage)}"); + appClipAdvancedExperienceImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClipHeaderImage? appClipHeaderImages = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType.AppClipHeaderImages) + global::AppStoreConnect.AppClipAdvancedExperienceLocalization? appClipAdvancedExperienceLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipHeaderImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipHeaderImage)}"); - appClipHeaderImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization)}"); + appClipAdvancedExperienceLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppClip? appClipAdvancedExperienceLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType.AppClipAdvancedExperienceLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); + appClipAdvancedExperienceLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem6( discriminator?.Type, - appClipDefaultExperiences, + appClipAdvancedExperienceImages, + + appClipAdvancedExperienceLocalizations1, - appClipHeaderImages + appClipAdvancedExperienceLocalizations2 ); return __value; @@ -55,17 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppClipDefaultExperiences) + if (value.IsAppClipAdvancedExperienceImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceImages(), typeInfo); + } + else if (value.IsAppClipAdvancedExperienceLocalizations1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceLocalizations1(), typeInfo); } - else if (value.IsAppClipHeaderImages) + else if (value.IsAppClipAdvancedExperienceLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipHeaderImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipHeaderImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipHeaderImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAdvancedExperienceLocalizations2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem60.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem60.g.cs index 3c4295bd0..458e5e8d8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem60.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem60.g.cs @@ -17,30 +17,39 @@ public class IncludedItem60JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.BuildUploadFile? buildUploadFiles1 = default; - if (discriminator?.Type == global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType.BuildUploadFiles) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUploadFile)}"); - buildUploadFiles1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Build? buildUploadFiles2 = default; - if (discriminator?.Type == global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType.BuildUploadFiles) + global::AppStoreConnect.BetaGroup? betaGroups = default; + if (discriminator?.Type == global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType.BetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); + betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - buildUploadFiles2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem60( discriminator?.Type, - buildUploadFiles1, + apps, + + betaGroups, - buildUploadFiles2 + builds ); return __value; @@ -55,17 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBuildUploadFiles1) + if (value.IsApps) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + } + else if (value.IsBetaGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildUploadFile).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploadFiles1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); } - else if (value.IsBuildUploadFiles2) + else if (value.IsBuilds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploadFiles2(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem61.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem61.g.cs index 0ae14a488..41203d0df 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem61.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem61.g.cs @@ -17,30 +17,39 @@ public class IncludedItem61JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.BuildUploadFile? buildUploadFiles1 = default; - if (discriminator?.Type == global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType.BuildUploadFiles) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUploadFile)}"); - buildUploadFiles1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Build? buildUploadFiles2 = default; - if (discriminator?.Type == global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType.BuildUploadFiles) + global::AppStoreConnect.BetaGroup? betaGroups = default; + if (discriminator?.Type == global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType.BetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); + betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType.Builds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - buildUploadFiles2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem61( discriminator?.Type, - buildUploadFiles1, + apps, + + betaGroups, - buildUploadFiles2 + builds ); return __value; @@ -55,17 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBuildUploadFiles1) + if (value.IsApps) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + } + else if (value.IsBetaGroups) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildUploadFile).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploadFiles1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); } - else if (value.IsBuildUploadFiles2) + else if (value.IsBuilds) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploadFiles2(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem62.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem62.g.cs index 45ec4ddab..ce6553b68 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem62.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem62.g.cs @@ -17,120 +17,30 @@ public class IncludedItem62JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations1 = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) + global::AppStoreConnect.BuildUploadFile? buildUploadFiles1 = default; + if (discriminator?.Type == global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType.BuildUploadFiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclaration)}"); - appEncryptionDeclarations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUploadFile)}"); + buildUploadFiles1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.Build? buildUploadFiles2 = default; + if (discriminator?.Type == global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType.BuildUploadFiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.App? appEncryptionDeclarations2 = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appEncryptionDeclarations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaAppReviewSubmission? betaAppReviewSubmissions = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BetaAppReviewSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppReviewSubmission)}"); - betaAppReviewSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaBuildLocalization? betaBuildLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BetaBuildLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaBuildLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaBuildLocalization)}"); - betaBuildLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaGroup? betaGroups = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BetaGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); - betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaTester? betaTesters = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BetaTesters) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); - betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildBetaDetail? buildBetaDetails = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BuildBetaDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBetaDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildBetaDetail)}"); - buildBetaDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildBundle? buildBundles = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BuildBundles) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBundle), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildBundle)}"); - buildBundles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildIcon? buildIcons = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BuildIcons) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildIcon)}"); - buildIcons = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildUpload? buildUploads = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BuildUploads) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUpload), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUpload)}"); - buildUploads = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.PrereleaseVersion? preReleaseVersions = default; - if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.PreReleaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersion)}"); - preReleaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + buildUploadFiles2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem62( discriminator?.Type, - appEncryptionDeclarations1, - - appStoreVersions, - - appEncryptionDeclarations2, - - betaAppReviewSubmissions, - - betaBuildLocalizations, - - betaGroups, + buildUploadFiles1, - betaTesters, - - buildBetaDetails, - - buildBundles, - - buildIcons, - - buildUploads, - - preReleaseVersions + buildUploadFiles2 ); return __value; @@ -145,77 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppEncryptionDeclarations1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclaration).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations1(), typeInfo); - } - else if (value.IsAppStoreVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); - } - else if (value.IsAppEncryptionDeclarations2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations2(), typeInfo); - } - else if (value.IsBetaAppReviewSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppReviewSubmission).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppReviewSubmissions(), typeInfo); - } - else if (value.IsBetaBuildLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaBuildLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaBuildLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaBuildLocalizations(), typeInfo); - } - else if (value.IsBetaGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); - } - else if (value.IsBetaTesters) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaTesters(), typeInfo); - } - else if (value.IsBuildBetaDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBetaDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildBetaDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildBetaDetails(), typeInfo); - } - else if (value.IsBuildBundles) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBundle), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildBundle).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildBundles(), typeInfo); - } - else if (value.IsBuildIcons) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildIcon).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons(), typeInfo); - } - else if (value.IsBuildUploads) + if (value.IsBuildUploadFiles1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUpload), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildUpload).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploads(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildUploadFile).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploadFiles1(), typeInfo); } - else if (value.IsPreReleaseVersions) + else if (value.IsBuildUploadFiles2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PrereleaseVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPreReleaseVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploadFiles2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem63.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem63.g.cs index c047492b0..38c592ddf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem63.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem63.g.cs @@ -17,120 +17,30 @@ public class IncludedItem63JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations1 = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) + global::AppStoreConnect.BuildUploadFile? buildUploadFiles1 = default; + if (discriminator?.Type == global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType.BuildUploadFiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclaration)}"); - appEncryptionDeclarations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUploadFile)}"); + buildUploadFiles1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.Build? buildUploadFiles2 = default; + if (discriminator?.Type == global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType.BuildUploadFiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.App? appEncryptionDeclarations2 = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appEncryptionDeclarations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaAppReviewSubmission? betaAppReviewSubmissions = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BetaAppReviewSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppReviewSubmission)}"); - betaAppReviewSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaBuildLocalization? betaBuildLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BetaBuildLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaBuildLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaBuildLocalization)}"); - betaBuildLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaGroup? betaGroups = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BetaGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); - betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BetaTester? betaTesters = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BetaTesters) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); - betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildBetaDetail? buildBetaDetails = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BuildBetaDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBetaDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildBetaDetail)}"); - buildBetaDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildBundle? buildBundles = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BuildBundles) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBundle), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildBundle)}"); - buildBundles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildIcon? buildIcons = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BuildIcons) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildIcon)}"); - buildIcons = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.BuildUpload? buildUploads = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BuildUploads) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUpload), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUpload)}"); - buildUploads = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.PrereleaseVersion? preReleaseVersions = default; - if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.PreReleaseVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersion)}"); - preReleaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + buildUploadFiles2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem63( discriminator?.Type, - appEncryptionDeclarations1, - - appStoreVersions, - - appEncryptionDeclarations2, - - betaAppReviewSubmissions, - - betaBuildLocalizations, - - betaGroups, + buildUploadFiles1, - betaTesters, - - buildBetaDetails, - - buildBundles, - - buildIcons, - - buildUploads, - - preReleaseVersions + buildUploadFiles2 ); return __value; @@ -145,77 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppEncryptionDeclarations1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclaration).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations1(), typeInfo); - } - else if (value.IsAppStoreVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); - } - else if (value.IsAppEncryptionDeclarations2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations2(), typeInfo); - } - else if (value.IsBetaAppReviewSubmissions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppReviewSubmission).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppReviewSubmissions(), typeInfo); - } - else if (value.IsBetaBuildLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaBuildLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaBuildLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaBuildLocalizations(), typeInfo); - } - else if (value.IsBetaGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); - } - else if (value.IsBetaTesters) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaTesters(), typeInfo); - } - else if (value.IsBuildBetaDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBetaDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildBetaDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildBetaDetails(), typeInfo); - } - else if (value.IsBuildBundles) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBundle), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildBundle).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildBundles(), typeInfo); - } - else if (value.IsBuildIcons) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildIcon).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons(), typeInfo); - } - else if (value.IsBuildUploads) + if (value.IsBuildUploadFiles1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUpload), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildUpload).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploads(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUploadFile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildUploadFile).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploadFiles1(), typeInfo); } - else if (value.IsPreReleaseVersions) + else if (value.IsBuildUploadFiles2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PrereleaseVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPreReleaseVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploadFiles2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem64.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem64.g.cs index f251015ea..b8a4edf7d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem64.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem64.g.cs @@ -17,39 +17,120 @@ public class IncludedItem64JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations1 = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclaration)}"); + appEncryptionDeclarations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.AppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.App? appEncryptionDeclarations2 = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + appEncryptionDeclarations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaAppReviewSubmission? betaAppReviewSubmissions = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BetaAppReviewSubmissions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppReviewSubmission)}"); + betaAppReviewSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaBuildLocalization? betaBuildLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BetaBuildLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaBuildLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaBuildLocalization)}"); + betaBuildLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaGroup? betaGroups = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); + betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaTester? betaTesters = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BetaTesters) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); + betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BundleIdCapability? bundleIdCapabilities = default; - if (discriminator?.Type == global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType.BundleIdCapabilities) + global::AppStoreConnect.BuildBetaDetail? buildBetaDetails = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BuildBetaDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdCapability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleIdCapability)}"); - bundleIdCapabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBetaDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildBetaDetail)}"); + buildBetaDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Profile? profiles = default; - if (discriminator?.Type == global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType.Profiles) + global::AppStoreConnect.BuildBundle? buildBundles = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BuildBundles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Profile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Profile)}"); - profiles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBundle), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildBundle)}"); + buildBundles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BuildIcon? buildIcons = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BuildIcons) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildIcon)}"); + buildIcons = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BuildUpload? buildUploads = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.BuildUploads) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUpload), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUpload)}"); + buildUploads = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.PrereleaseVersion? preReleaseVersions = default; + if (discriminator?.Type == global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType.PreReleaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersion)}"); + preReleaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem64( discriminator?.Type, - apps, + appEncryptionDeclarations1, + + appStoreVersions, + + appEncryptionDeclarations2, + + betaAppReviewSubmissions, + + betaBuildLocalizations, + + betaGroups, - bundleIdCapabilities, + betaTesters, - profiles + buildBetaDetails, + + buildBundles, + + buildIcons, + + buildUploads, + + preReleaseVersions ); return __value; @@ -64,23 +145,77 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsAppEncryptionDeclarations1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclaration).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations1(), typeInfo); + } + else if (value.IsAppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + } + else if (value.IsAppEncryptionDeclarations2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations2(), typeInfo); + } + else if (value.IsBetaAppReviewSubmissions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppReviewSubmission).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppReviewSubmissions(), typeInfo); + } + else if (value.IsBetaBuildLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaBuildLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaBuildLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaBuildLocalizations(), typeInfo); + } + else if (value.IsBetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); + } + else if (value.IsBetaTesters) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaTesters(), typeInfo); + } + else if (value.IsBuildBetaDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBetaDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildBetaDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildBetaDetails(), typeInfo); + } + else if (value.IsBuildBundles) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBundle), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildBundle).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildBundles(), typeInfo); + } + else if (value.IsBuildIcons) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildIcon).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons(), typeInfo); } - else if (value.IsBundleIdCapabilities) + else if (value.IsBuildUploads) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdCapability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleIdCapability).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIdCapabilities(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUpload), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildUpload).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploads(), typeInfo); } - else if (value.IsProfiles) + else if (value.IsPreReleaseVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Profile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Profile).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickProfiles(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PrereleaseVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPreReleaseVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem65.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem65.g.cs index d3a08bc33..b7b39a0bc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem65.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem65.g.cs @@ -17,39 +17,120 @@ public class IncludedItem65JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations1 = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppEncryptionDeclaration)}"); + appEncryptionDeclarations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.AppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.App? appEncryptionDeclarations2 = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.AppEncryptionDeclarations) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + appEncryptionDeclarations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaAppReviewSubmission? betaAppReviewSubmissions = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BetaAppReviewSubmissions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaAppReviewSubmission)}"); + betaAppReviewSubmissions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaBuildLocalization? betaBuildLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BetaBuildLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaBuildLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaBuildLocalization)}"); + betaBuildLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaGroup? betaGroups = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaGroup)}"); + betaGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BetaTester? betaTesters = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BetaTesters) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BetaTester)}"); + betaTesters = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BundleIdCapability? bundleIdCapabilities = default; - if (discriminator?.Type == global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType.BundleIdCapabilities) + global::AppStoreConnect.BuildBetaDetail? buildBetaDetails = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BuildBetaDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdCapability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleIdCapability)}"); - bundleIdCapabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBetaDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildBetaDetail)}"); + buildBetaDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Profile? profiles = default; - if (discriminator?.Type == global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType.Profiles) + global::AppStoreConnect.BuildBundle? buildBundles = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BuildBundles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Profile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Profile)}"); - profiles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBundle), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildBundle)}"); + buildBundles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BuildIcon? buildIcons = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BuildIcons) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildIcon)}"); + buildIcons = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.BuildUpload? buildUploads = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.BuildUploads) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUpload), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BuildUpload)}"); + buildUploads = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.PrereleaseVersion? preReleaseVersions = default; + if (discriminator?.Type == global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType.PreReleaseVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.PrereleaseVersion)}"); + preReleaseVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem65( discriminator?.Type, - apps, + appEncryptionDeclarations1, + + appStoreVersions, + + appEncryptionDeclarations2, + + betaAppReviewSubmissions, + + betaBuildLocalizations, + + betaGroups, - bundleIdCapabilities, + betaTesters, - profiles + buildBetaDetails, + + buildBundles, + + buildIcons, + + buildUploads, + + preReleaseVersions ); return __value; @@ -64,23 +145,77 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsAppEncryptionDeclarations1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppEncryptionDeclaration), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppEncryptionDeclaration).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations1(), typeInfo); + } + else if (value.IsAppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + } + else if (value.IsAppEncryptionDeclarations2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppEncryptionDeclarations2(), typeInfo); + } + else if (value.IsBetaAppReviewSubmissions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaAppReviewSubmission), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaAppReviewSubmission).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaAppReviewSubmissions(), typeInfo); + } + else if (value.IsBetaBuildLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaBuildLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaBuildLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaBuildLocalizations(), typeInfo); + } + else if (value.IsBetaGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaGroups(), typeInfo); + } + else if (value.IsBetaTesters) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BetaTester), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BetaTester).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBetaTesters(), typeInfo); + } + else if (value.IsBuildBetaDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBetaDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildBetaDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildBetaDetails(), typeInfo); + } + else if (value.IsBuildBundles) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildBundle), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildBundle).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildBundles(), typeInfo); + } + else if (value.IsBuildIcons) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildIcon), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildIcon).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildIcons(), typeInfo); } - else if (value.IsBundleIdCapabilities) + else if (value.IsBuildUploads) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdCapability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleIdCapability).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIdCapabilities(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BuildUpload), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BuildUpload).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuildUploads(), typeInfo); } - else if (value.IsProfiles) + else if (value.IsPreReleaseVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Profile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Profile).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickProfiles(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.PrereleaseVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.PrereleaseVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPreReleaseVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem66.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem66.g.cs index 92717cc28..25eebd600 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem66.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem66.g.cs @@ -17,57 +17,39 @@ public class IncludedItem66JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.Builds) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.CiProduct? ciProducts = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.CiProducts) + global::AppStoreConnect.BundleIdCapability? bundleIdCapabilities = default; + if (discriminator?.Type == global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType.BundleIdCapabilities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); - ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdCapability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleIdCapability)}"); + bundleIdCapabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.CiWorkflow? ciWorkflows = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.CiWorkflows) + global::AppStoreConnect.Profile? profiles = default; + if (discriminator?.Type == global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType.Profiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflow), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiWorkflow)}"); - ciWorkflows = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.ScmGitReference? scmGitReferences = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.ScmGitReferences) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmGitReference)}"); - scmGitReferences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.ScmPullRequest? scmPullRequests = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.ScmPullRequests) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmPullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmPullRequest)}"); - scmPullRequests = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Profile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Profile)}"); + profiles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem66( discriminator?.Type, - builds, - - ciProducts, + apps, - ciWorkflows, + bundleIdCapabilities, - scmGitReferences, - - scmPullRequests + profiles ); return __value; @@ -82,35 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBuilds) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); - } - else if (value.IsCiProducts) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); - } - else if (value.IsCiWorkflows) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflow), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiWorkflow).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiWorkflows(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsScmGitReferences) + else if (value.IsBundleIdCapabilities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmGitReference).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmGitReferences(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdCapability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleIdCapability).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIdCapabilities(), typeInfo); } - else if (value.IsScmPullRequests) + else if (value.IsProfiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmPullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmPullRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmPullRequests(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Profile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Profile).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickProfiles(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem67.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem67.g.cs index 558c5c4ce..5168e8a70 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem67.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem67.g.cs @@ -17,57 +17,39 @@ public class IncludedItem67JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.Build? builds = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.Builds) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); - builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.CiProduct? ciProducts = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.CiProducts) + global::AppStoreConnect.BundleIdCapability? bundleIdCapabilities = default; + if (discriminator?.Type == global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType.BundleIdCapabilities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); - ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdCapability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleIdCapability)}"); + bundleIdCapabilities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.CiWorkflow? ciWorkflows = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.CiWorkflows) + global::AppStoreConnect.Profile? profiles = default; + if (discriminator?.Type == global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType.Profiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflow), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiWorkflow)}"); - ciWorkflows = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.ScmGitReference? scmGitReferences = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.ScmGitReferences) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmGitReference)}"); - scmGitReferences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.ScmPullRequest? scmPullRequests = default; - if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.ScmPullRequests) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmPullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmPullRequest)}"); - scmPullRequests = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Profile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Profile)}"); + profiles = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem67( discriminator?.Type, - builds, - - ciProducts, + apps, - ciWorkflows, + bundleIdCapabilities, - scmGitReferences, - - scmPullRequests + profiles ); return __value; @@ -82,35 +64,23 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsBuilds) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); - } - else if (value.IsCiProducts) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); - } - else if (value.IsCiWorkflows) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflow), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiWorkflow).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiWorkflows(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsScmGitReferences) + else if (value.IsBundleIdCapabilities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmGitReference).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmGitReferences(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleIdCapability), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleIdCapability).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIdCapabilities(), typeInfo); } - else if (value.IsScmPullRequests) + else if (value.IsProfiles) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmPullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmPullRequest).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmPullRequests(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Profile), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Profile).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickProfiles(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem68.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem68.g.cs index 1f3f247cc..6bdf781ee 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem68.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem68.g.cs @@ -17,39 +17,57 @@ public class IncludedItem68JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.Builds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BundleId? bundleIds = default; - if (discriminator?.Type == global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType.BundleIds) + global::AppStoreConnect.CiProduct? ciProducts = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.CiProducts) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleId)}"); - bundleIds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); + ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.ScmRepository? scmRepositories = default; - if (discriminator?.Type == global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType.ScmRepositories) + global::AppStoreConnect.CiWorkflow? ciWorkflows = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.CiWorkflows) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepository)}"); - scmRepositories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflow), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiWorkflow)}"); + ciWorkflows = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ScmGitReference? scmGitReferences = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.ScmGitReferences) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmGitReference)}"); + scmGitReferences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ScmPullRequest? scmPullRequests = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType.ScmPullRequests) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmPullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmPullRequest)}"); + scmPullRequests = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem68( discriminator?.Type, - apps, + builds, + + ciProducts, - bundleIds, + ciWorkflows, - scmRepositories + scmGitReferences, + + scmPullRequests ); return __value; @@ -64,23 +82,35 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsBuilds) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + } + else if (value.IsCiProducts) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); + } + else if (value.IsCiWorkflows) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflow), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiWorkflow).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiWorkflows(), typeInfo); } - else if (value.IsBundleIds) + else if (value.IsScmGitReferences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleId).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmGitReference).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmGitReferences(), typeInfo); } - else if (value.IsScmRepositories) + else if (value.IsScmPullRequests) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmRepository).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmRepositories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmPullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmPullRequest).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmPullRequests(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem69.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem69.g.cs index 65def3a5f..765382784 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem69.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem69.g.cs @@ -17,39 +17,57 @@ public class IncludedItem69JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProductResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProductResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.Build? builds = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.Builds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Build)}"); + builds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.BundleId? bundleIds = default; - if (discriminator?.Type == global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType.BundleIds) + global::AppStoreConnect.CiProduct? ciProducts = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.CiProducts) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleId)}"); - bundleIds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); + ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.ScmRepository? scmRepositories = default; - if (discriminator?.Type == global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType.ScmRepositories) + global::AppStoreConnect.CiWorkflow? ciWorkflows = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.CiWorkflows) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepository)}"); - scmRepositories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflow), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiWorkflow)}"); + ciWorkflows = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ScmGitReference? scmGitReferences = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.ScmGitReferences) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmGitReference)}"); + scmGitReferences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ScmPullRequest? scmPullRequests = default; + if (discriminator?.Type == global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType.ScmPullRequests) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmPullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmPullRequest)}"); + scmPullRequests = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem69( discriminator?.Type, - apps, + builds, + + ciProducts, - bundleIds, + ciWorkflows, - scmRepositories + scmGitReferences, + + scmPullRequests ); return __value; @@ -64,23 +82,35 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsBuilds) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Build), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Build).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuilds(), typeInfo); + } + else if (value.IsCiProducts) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); + } + else if (value.IsCiWorkflows) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflow), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiWorkflow).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiWorkflows(), typeInfo); } - else if (value.IsBundleIds) + else if (value.IsScmGitReferences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleId).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIds(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmGitReference), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmGitReference).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmGitReferences(), typeInfo); } - else if (value.IsScmRepositories) + else if (value.IsScmPullRequests) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmRepository).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmRepositories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmPullRequest), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmPullRequest).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmPullRequests(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem7.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem7.g.cs index baa86b18b..f9d2ad4df 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem7.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem7.g.cs @@ -17,48 +17,30 @@ public class IncludedItem7JsonConverter : global::System.Text.Json.Serialization var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppClipAppStoreReviewDetail? appClipAppStoreReviewDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType.AppClipAppStoreReviewDetails) + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAppStoreReviewDetail)}"); - appClipAppStoreReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); + appClipDefaultExperiences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClipDefaultExperienceLocalization? appClipDefaultExperienceLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType.AppClipDefaultExperienceLocalizations) + global::AppStoreConnect.AppClipHeaderImage? appClipHeaderImages = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType.AppClipHeaderImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceLocalization)}"); - appClipDefaultExperienceLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppClip? appClipDefaultExperienceLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType.AppClipDefaultExperienceLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); - appClipDefaultExperienceLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType.AppStoreVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipHeaderImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipHeaderImage)}"); + appClipHeaderImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem7( discriminator?.Type, - appClipAppStoreReviewDetails, - - appClipDefaultExperienceLocalizations1, + appClipDefaultExperiences, - appClipDefaultExperienceLocalizations2, - - appStoreVersions + appClipHeaderImages ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppClipAppStoreReviewDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAppStoreReviewDetails(), typeInfo); - } - else if (value.IsAppClipDefaultExperienceLocalizations1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperienceLocalizations1(), typeInfo); - } - else if (value.IsAppClipDefaultExperienceLocalizations2) + if (value.IsAppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperienceLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences(), typeInfo); } - else if (value.IsAppStoreVersions) + else if (value.IsAppClipHeaderImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipHeaderImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipHeaderImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipHeaderImages(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem70.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem70.g.cs index 066c8843a..b29f72daa 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem70.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem70.g.cs @@ -17,33 +17,26 @@ public class IncludedItem70JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.CiMacOsVersion? ciMacOsVersions = default; - if (discriminator?.Type == global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType.CiMacOsVersions) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiMacOsVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiMacOsVersion)}"); - ciMacOsVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.CiProduct? ciProducts = default; - if (discriminator?.Type == global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType.CiProducts) + global::AppStoreConnect.BundleId? bundleIds = default; + if (discriminator?.Type == global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType.BundleIds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); - ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.CiXcodeVersion? ciXcodeVersions = default; - if (discriminator?.Type == global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType.CiXcodeVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiXcodeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiXcodeVersion)}"); - ciXcodeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleId)}"); + bundleIds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.ScmRepository? scmRepositories = default; - if (discriminator?.Type == global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType.ScmRepositories) + if (discriminator?.Type == global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType.ScmRepositories) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepository)}"); @@ -52,11 +45,9 @@ public class IncludedItem70JsonConverter : global::System.Text.Json.Serializatio var __value = new global::AppStoreConnect.IncludedItem70( discriminator?.Type, - ciMacOsVersions, - - ciProducts, + apps, - ciXcodeVersions, + bundleIds, scmRepositories ); @@ -73,23 +64,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsCiMacOsVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiMacOsVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiMacOsVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiMacOsVersions(), typeInfo); - } - else if (value.IsCiProducts) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsCiXcodeVersions) + else if (value.IsBundleIds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiXcodeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiXcodeVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiXcodeVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleId).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIds(), typeInfo); } else if (value.IsScmRepositories) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem71.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem71.g.cs index ed804157c..0a4f92cd7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem71.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem71.g.cs @@ -17,33 +17,26 @@ public class IncludedItem71JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProductResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProductResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.CiMacOsVersion? ciMacOsVersions = default; - if (discriminator?.Type == global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType.CiMacOsVersions) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiMacOsVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiMacOsVersion)}"); - ciMacOsVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.CiProduct? ciProducts = default; - if (discriminator?.Type == global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType.CiProducts) + global::AppStoreConnect.BundleId? bundleIds = default; + if (discriminator?.Type == global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType.BundleIds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); - ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.CiXcodeVersion? ciXcodeVersions = default; - if (discriminator?.Type == global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType.CiXcodeVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiXcodeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiXcodeVersion)}"); - ciXcodeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.BundleId)}"); + bundleIds = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.ScmRepository? scmRepositories = default; - if (discriminator?.Type == global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType.ScmRepositories) + if (discriminator?.Type == global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType.ScmRepositories) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepository)}"); @@ -52,11 +45,9 @@ public class IncludedItem71JsonConverter : global::System.Text.Json.Serializatio var __value = new global::AppStoreConnect.IncludedItem71( discriminator?.Type, - ciMacOsVersions, - - ciProducts, + apps, - ciXcodeVersions, + bundleIds, scmRepositories ); @@ -73,23 +64,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsCiMacOsVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiMacOsVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiMacOsVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiMacOsVersions(), typeInfo); - } - else if (value.IsCiProducts) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsCiXcodeVersions) + else if (value.IsBundleIds) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiXcodeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiXcodeVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiXcodeVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.BundleId), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.BundleId).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBundleIds(), typeInfo); } else if (value.IsScmRepositories) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem72.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem72.g.cs index b03a3c782..07807faad 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem72.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem72.g.cs @@ -17,30 +17,48 @@ public class IncludedItem72JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.CustomerReviewResponseV1? customerReviewResponses = default; - if (discriminator?.Type == global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType.CustomerReviewResponses) + global::AppStoreConnect.CiMacOsVersion? ciMacOsVersions = default; + if (discriminator?.Type == global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType.CiMacOsVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseV1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CustomerReviewResponseV1)}"); - customerReviewResponses = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiMacOsVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiMacOsVersion)}"); + ciMacOsVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.CiProduct? ciProducts = default; + if (discriminator?.Type == global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType.CiProducts) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); + ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.CiXcodeVersion? ciXcodeVersions = default; + if (discriminator?.Type == global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType.CiXcodeVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiXcodeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiXcodeVersion)}"); + ciXcodeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ScmRepository? scmRepositories = default; + if (discriminator?.Type == global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType.ScmRepositories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepository)}"); + scmRepositories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem72( discriminator?.Type, - customerReviewResponses, + ciMacOsVersions, + + ciProducts, - territories + ciXcodeVersions, + + scmRepositories ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsCustomerReviewResponses) + if (value.IsCiMacOsVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiMacOsVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiMacOsVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiMacOsVersions(), typeInfo); + } + else if (value.IsCiProducts) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); + } + else if (value.IsCiXcodeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseV1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CustomerReviewResponseV1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustomerReviewResponses(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiXcodeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiXcodeVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiXcodeVersions(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsScmRepositories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmRepository).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmRepositories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem73.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem73.g.cs index 12e125737..afa6acddf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem73.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem73.g.cs @@ -17,30 +17,48 @@ public class IncludedItem73JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.CustomerReviewResponseV1? customerReviewResponses = default; - if (discriminator?.Type == global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType.CustomerReviewResponses) + global::AppStoreConnect.CiMacOsVersion? ciMacOsVersions = default; + if (discriminator?.Type == global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType.CiMacOsVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseV1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CustomerReviewResponseV1)}"); - customerReviewResponses = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiMacOsVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiMacOsVersion)}"); + ciMacOsVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType.Territories) + global::AppStoreConnect.CiProduct? ciProducts = default; + if (discriminator?.Type == global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType.CiProducts) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); - territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiProduct)}"); + ciProducts = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.CiXcodeVersion? ciXcodeVersions = default; + if (discriminator?.Type == global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType.CiXcodeVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiXcodeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CiXcodeVersion)}"); + ciXcodeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.ScmRepository? scmRepositories = default; + if (discriminator?.Type == global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType.ScmRepositories) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.ScmRepository)}"); + scmRepositories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem73( discriminator?.Type, - customerReviewResponses, + ciMacOsVersions, + + ciProducts, - territories + ciXcodeVersions, + + scmRepositories ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsCustomerReviewResponses) + if (value.IsCiMacOsVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiMacOsVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiMacOsVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiMacOsVersions(), typeInfo); + } + else if (value.IsCiProducts) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiProduct), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiProduct).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiProducts(), typeInfo); + } + else if (value.IsCiXcodeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseV1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CustomerReviewResponseV1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustomerReviewResponses(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CiXcodeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CiXcodeVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCiXcodeVersions(), typeInfo); } - else if (value.IsTerritories) + else if (value.IsScmRepositories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.ScmRepository), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.ScmRepository).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickScmRepositories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem74.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem74.g.cs index cdee3f4ae..db84e8979 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem74.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem74.g.cs @@ -17,19 +17,19 @@ public class IncludedItem74JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.App? apps = default; - if (discriminator?.Type == global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType.Apps) + global::AppStoreConnect.CustomerReviewResponseV1? customerReviewResponses = default; + if (discriminator?.Type == global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType.CustomerReviewResponses) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseV1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CustomerReviewResponseV1)}"); + customerReviewResponses = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.Territory? territories = default; - if (discriminator?.Type == global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType.Territories) + if (discriminator?.Type == global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType.Territories) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); @@ -38,7 +38,7 @@ public class IncludedItem74JsonConverter : global::System.Text.Json.Serializatio var __value = new global::AppStoreConnect.IncludedItem74( discriminator?.Type, - apps, + customerReviewResponses, territories ); @@ -55,11 +55,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsApps) + if (value.IsCustomerReviewResponses) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseV1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CustomerReviewResponseV1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustomerReviewResponses(), typeInfo); } else if (value.IsTerritories) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem75.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem75.g.cs index 283721e64..a4996ec83 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem75.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem75.g.cs @@ -17,30 +17,30 @@ public class IncludedItem75JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementImageV2? gameCenterAchievementImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementImages) + global::AppStoreConnect.CustomerReviewResponseV1? customerReviewResponses = default; + if (discriminator?.Type == global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType.CustomerReviewResponses) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementImageV2)}"); - gameCenterAchievementImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseV1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.CustomerReviewResponseV1)}"); + customerReviewResponses = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType.Territories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); - gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem75( discriminator?.Type, - gameCenterAchievementImages, + customerReviewResponses, - gameCenterAchievementVersions + territories ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievementImages) + if (value.IsCustomerReviewResponses) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementImageV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.CustomerReviewResponseV1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.CustomerReviewResponseV1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickCustomerReviewResponses(), typeInfo); } - else if (value.IsGameCenterAchievementVersions) + else if (value.IsTerritories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem76.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem76.g.cs index 9d39ab2c7..5a771c09a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem76.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem76.g.cs @@ -17,30 +17,30 @@ public class IncludedItem76JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementImageV2? gameCenterAchievementImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementImages) + global::AppStoreConnect.App? apps = default; + if (discriminator?.Type == global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType.Apps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementImageV2)}"); - gameCenterAchievementImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); + apps = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) + global::AppStoreConnect.Territory? territories = default; + if (discriminator?.Type == global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType.Territories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); - gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.Territory)}"); + territories = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem76( discriminator?.Type, - gameCenterAchievementImages, + apps, - gameCenterAchievementVersions + territories ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievementImages) + if (value.IsApps) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementImageV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickApps(), typeInfo); } - else if (value.IsGameCenterAchievementVersions) + else if (value.IsTerritories) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.Territory), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.Territory).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickTerritories(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem77.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem77.g.cs index 1e1e6a396..dc112fade 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem77.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem77.g.cs @@ -17,30 +17,30 @@ public class IncludedItem77JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementImage? gameCenterAchievementImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType.GameCenterAchievementImages) + global::AppStoreConnect.GameCenterAchievementImageV2? gameCenterAchievementImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementImage)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementImageV2)}"); gameCenterAchievementImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType.GameCenterAchievements) + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); + gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem77( discriminator?.Type, gameCenterAchievementImages, - gameCenterAchievements + gameCenterAchievementVersions ); return __value; @@ -57,15 +57,15 @@ public override void Write( if (value.IsGameCenterAchievementImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementImage).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementImageV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementImages(), typeInfo); } - else if (value.IsGameCenterAchievements) + else if (value.IsGameCenterAchievementVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem78.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem78.g.cs index 6e1c01d59..0e59abbc4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem78.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem78.g.cs @@ -17,30 +17,30 @@ public class IncludedItem78JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementImage? gameCenterAchievementImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType.GameCenterAchievementImages) + global::AppStoreConnect.GameCenterAchievementImageV2? gameCenterAchievementImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementImage)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementImageV2)}"); gameCenterAchievementImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType.GameCenterAchievements) + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); + gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem78( discriminator?.Type, gameCenterAchievementImages, - gameCenterAchievements + gameCenterAchievementVersions ); return __value; @@ -57,15 +57,15 @@ public override void Write( if (value.IsGameCenterAchievementImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementImage).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImageV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementImageV2).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementImages(), typeInfo); } - else if (value.IsGameCenterAchievements) + else if (value.IsGameCenterAchievementVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem79.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem79.g.cs index f878a681f..5cff42789 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem79.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem79.g.cs @@ -17,30 +17,30 @@ public class IncludedItem79JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + global::AppStoreConnect.GameCenterAchievementImage? gameCenterAchievementImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType.GameCenterAchievementImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementImage)}"); + gameCenterAchievementImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType.GameCenterAchievements) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType.GameCenterAchievements) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } var __value = new global::AppStoreConnect.IncludedItem79( discriminator?.Type, - gameCenterAchievements, + gameCenterAchievementImages, - gameCenterDetails + gameCenterAchievements ); return __value; @@ -55,18 +55,18 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievements) + if (value.IsGameCenterAchievementImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementImages(), typeInfo); + } + else if (value.IsGameCenterAchievements) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); } - else if (value.IsGameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem8.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem8.g.cs index e19a8fa26..2298030a4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem8.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem8.g.cs @@ -17,48 +17,30 @@ public class IncludedItem8JsonConverter : global::System.Text.Json.Serialization var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppClipAppStoreReviewDetail? appClipAppStoreReviewDetails = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType.AppClipAppStoreReviewDetails) + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAppStoreReviewDetail)}"); - appClipAppStoreReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); + appClipDefaultExperiences = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.AppClipDefaultExperienceLocalization? appClipDefaultExperienceLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType.AppClipDefaultExperienceLocalizations) + global::AppStoreConnect.AppClipHeaderImage? appClipHeaderImages = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType.AppClipHeaderImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceLocalization)}"); - appClipDefaultExperienceLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppClip? appClipDefaultExperienceLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType.AppClipDefaultExperienceLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); - appClipDefaultExperienceLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType.AppStoreVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipHeaderImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipHeaderImage)}"); + appClipHeaderImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem8( discriminator?.Type, - appClipAppStoreReviewDetails, - - appClipDefaultExperienceLocalizations1, + appClipDefaultExperiences, - appClipDefaultExperienceLocalizations2, - - appStoreVersions + appClipHeaderImages ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppClipAppStoreReviewDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAppStoreReviewDetails(), typeInfo); - } - else if (value.IsAppClipDefaultExperienceLocalizations1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperienceLocalizations1(), typeInfo); - } - else if (value.IsAppClipDefaultExperienceLocalizations2) + if (value.IsAppClipDefaultExperiences) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperienceLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences(), typeInfo); } - else if (value.IsAppStoreVersions) + else if (value.IsAppClipHeaderImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipHeaderImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipHeaderImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipHeaderImages(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem80.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem80.g.cs index eaa4d4e9f..c1bfb252e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem80.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem80.g.cs @@ -17,30 +17,30 @@ public class IncludedItem80JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + global::AppStoreConnect.GameCenterAchievementImage? gameCenterAchievementImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType.GameCenterAchievementImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementImage)}"); + gameCenterAchievementImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType.GameCenterAchievements) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType.GameCenterAchievements) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } var __value = new global::AppStoreConnect.IncludedItem80( discriminator?.Type, - gameCenterAchievements, + gameCenterAchievementImages, - gameCenterDetails + gameCenterAchievements ); return __value; @@ -55,18 +55,18 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievements) + if (value.IsGameCenterAchievementImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementImages(), typeInfo); + } + else if (value.IsGameCenterAchievements) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); } - else if (value.IsGameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); - } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem81.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem81.g.cs index 89bc52f4c..e9f75ce9d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem81.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem81.g.cs @@ -17,30 +17,30 @@ public class IncludedItem81JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementLocalizationV2? gameCenterAchievementLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType.GameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationV2)}"); - gameCenterAchievementLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); + gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterAchievementV2? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievements) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementV2)}"); - gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem81( discriminator?.Type, - gameCenterAchievementLocalizations, + gameCenterAchievements, - gameCenterAchievements + gameCenterDetails ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievementLocalizations) + if (value.IsGameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); } - else if (value.IsGameCenterAchievements) + else if (value.IsGameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem82.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem82.g.cs index 7b2548828..749cbf1eb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem82.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem82.g.cs @@ -17,30 +17,30 @@ public class IncludedItem82JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementLocalizationV2? gameCenterAchievementLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType.GameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationV2)}"); - gameCenterAchievementLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); + gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterAchievementV2? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType.GameCenterAchievements) + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType.GameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementV2)}"); - gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem82( discriminator?.Type, - gameCenterAchievementLocalizations, + gameCenterAchievements, - gameCenterAchievements + gameCenterDetails ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievementLocalizations) + if (value.IsGameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); } - else if (value.IsGameCenterAchievements) + else if (value.IsGameCenterDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem83.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem83.g.cs index 737778918..7eb4d4246 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem83.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem83.g.cs @@ -17,48 +17,30 @@ public class IncludedItem83JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) + global::AppStoreConnect.GameCenterAchievementLocalizationV2? gameCenterAchievementLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); - gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationV2)}"); + gameCenterAchievementLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType.GameCenterActivities) + global::AppStoreConnect.GameCenterAchievementV2? gameCenterAchievements = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); - gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); - gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementV2)}"); + gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem83( discriminator?.Type, - gameCenterAchievementVersions, - - gameCenterActivities, + gameCenterAchievementLocalizations, - gameCenterDetails, - - gameCenterGroups + gameCenterAchievements ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievementVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); - } - else if (value.IsGameCenterActivities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); - } - else if (value.IsGameCenterDetails) + if (value.IsGameCenterAchievementLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations(), typeInfo); } - else if (value.IsGameCenterGroups) + else if (value.IsGameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem84.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem84.g.cs index 966a68a20..86e39d549 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem84.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem84.g.cs @@ -17,48 +17,30 @@ public class IncludedItem84JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) + global::AppStoreConnect.GameCenterAchievementLocalizationV2? gameCenterAchievementLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); - gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalizationV2)}"); + gameCenterAchievementLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType.GameCenterActivities) + global::AppStoreConnect.GameCenterAchievementV2? gameCenterAchievements = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType.GameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); - gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); - gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementV2)}"); + gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem84( discriminator?.Type, - gameCenterAchievementVersions, - - gameCenterActivities, + gameCenterAchievementLocalizations, - gameCenterDetails, - - gameCenterGroups + gameCenterAchievements ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievementVersions) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); - } - else if (value.IsGameCenterActivities) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); - } - else if (value.IsGameCenterDetails) + if (value.IsGameCenterAchievementLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations(), typeInfo); } - else if (value.IsGameCenterGroups) + else if (value.IsGameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem85.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem85.g.cs index c2135ec40..4ba55d3aa 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem85.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem85.g.cs @@ -17,47 +17,33 @@ public class IncludedItem85JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementLocalization? gameCenterAchievementLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalization)}"); - gameCenterAchievementLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementRelease)}"); - gameCenterAchievementReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievementLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); + gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterActivities) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType.GameCenterActivities) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterDetails) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); @@ -66,11 +52,7 @@ public class IncludedItem85JsonConverter : global::System.Text.Json.Serializatio var __value = new global::AppStoreConnect.IncludedItem85( discriminator?.Type, - gameCenterAchievementLocalizations1, - - gameCenterAchievementReleases, - - gameCenterAchievementLocalizations2, + gameCenterAchievementVersions, gameCenterActivities, @@ -91,23 +73,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievementLocalizations1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations1(), typeInfo); - } - else if (value.IsGameCenterAchievementReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases(), typeInfo); - } - else if (value.IsGameCenterAchievementLocalizations2) + if (value.IsGameCenterAchievementVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); } else if (value.IsGameCenterActivities) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem86.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem86.g.cs index 2ae013011..7ecaf4385 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem86.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem86.g.cs @@ -17,47 +17,33 @@ public class IncludedItem86JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievementLocalization? gameCenterAchievementLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType.GameCenterAchievementVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalization)}"); - gameCenterAchievementLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementRelease)}"); - gameCenterAchievementReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievementLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementVersionV2)}"); + gameCenterAchievementVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterActivities) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType.GameCenterActivities) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterDetails) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType.GameCenterDetails) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); @@ -66,11 +52,7 @@ public class IncludedItem86JsonConverter : global::System.Text.Json.Serializatio var __value = new global::AppStoreConnect.IncludedItem86( discriminator?.Type, - gameCenterAchievementLocalizations1, - - gameCenterAchievementReleases, - - gameCenterAchievementLocalizations2, + gameCenterAchievementVersions, gameCenterActivities, @@ -91,23 +73,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievementLocalizations1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations1(), typeInfo); - } - else if (value.IsGameCenterAchievementReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases(), typeInfo); - } - else if (value.IsGameCenterAchievementLocalizations2) + if (value.IsGameCenterAchievementVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementVersionV2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementVersions(), typeInfo); } else if (value.IsGameCenterActivities) { diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem87.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem87.g.cs index 2f9de3b4c..80487b4cb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem87.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem87.g.cs @@ -17,57 +17,66 @@ public class IncludedItem87JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterAchievements) + global::AppStoreConnect.GameCenterAchievementLocalization? gameCenterAchievementLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalization)}"); + gameCenterAchievementLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementRelease)}"); + gameCenterAchievementReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterAchievementLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) + global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterActivities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); - gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); + gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterDetails) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterDetails) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } var __value = new global::AppStoreConnect.IncludedItem87( discriminator?.Type, - gameCenterAchievements, + gameCenterAchievementLocalizations1, - gameCenterActivityVersions, + gameCenterAchievementReleases, - gameCenterDetails, + gameCenterAchievementLocalizations2, - gameCenterGroups, + gameCenterActivities, - gameCenterLeaderboards + gameCenterDetails, + + gameCenterGroups ); return __value; @@ -82,17 +91,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievements) + if (value.IsGameCenterAchievementLocalizations1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations1(), typeInfo); + } + else if (value.IsGameCenterAchievementReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases(), typeInfo); + } + else if (value.IsGameCenterAchievementLocalizations2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations2(), typeInfo); } - else if (value.IsGameCenterActivityVersions) + else if (value.IsGameCenterActivities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); } else if (value.IsGameCenterDetails) { @@ -106,12 +127,6 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); } - else if (value.IsGameCenterLeaderboards) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); - } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem88.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem88.g.cs index 3f42b4c5d..3ffef0708 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem88.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem88.g.cs @@ -17,57 +17,66 @@ public class IncludedItem88JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterAchievements) + global::AppStoreConnect.GameCenterAchievementLocalization? gameCenterAchievementLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementLocalization)}"); + gameCenterAchievementLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterAchievementReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievementRelease)}"); + gameCenterAchievementReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterAchievementLocalizations) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); - gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterAchievementLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) + global::AppStoreConnect.GameCenterActivity? gameCenterActivities = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterActivities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); - gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); + gameCenterActivities = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterDetails) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterDetails) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterGroups) + if (discriminator?.Type == global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType.GameCenterGroups) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } var __value = new global::AppStoreConnect.IncludedItem88( discriminator?.Type, - gameCenterAchievements, + gameCenterAchievementLocalizations1, - gameCenterActivityVersions, + gameCenterAchievementReleases, - gameCenterDetails, + gameCenterAchievementLocalizations2, - gameCenterGroups, + gameCenterActivities, - gameCenterLeaderboards + gameCenterDetails, + + gameCenterGroups ); return __value; @@ -82,17 +91,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterAchievements) + if (value.IsGameCenterAchievementLocalizations1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations1(), typeInfo); + } + else if (value.IsGameCenterAchievementReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievementRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievementRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementReleases(), typeInfo); + } + else if (value.IsGameCenterAchievementLocalizations2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievementLocalizations2(), typeInfo); } - else if (value.IsGameCenterActivityVersions) + else if (value.IsGameCenterActivities) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivities(), typeInfo); } else if (value.IsGameCenterDetails) { @@ -106,12 +127,6 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); } - else if (value.IsGameCenterLeaderboards) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); - } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem89.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem89.g.cs index 93184d714..425387ec0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem89.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem89.g.cs @@ -17,30 +17,57 @@ public class IncludedItem89JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType.GameCenterActivityImages) + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityImage)}"); - gameCenterActivityImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); + gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); + gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::AppStoreConnect.IncludedItem89( discriminator?.Type, - gameCenterActivityImages, + gameCenterAchievements, + + gameCenterActivityVersions, + + gameCenterDetails, - gameCenterActivityVersions + gameCenterGroups, + + gameCenterLeaderboards ); return __value; @@ -55,11 +82,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterActivityImages) + if (value.IsGameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); } else if (value.IsGameCenterActivityVersions) { @@ -67,6 +94,24 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); } + else if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + } + else if (value.IsGameCenterLeaderboards) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem9.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem9.g.cs index a3ee5f032..3198125ae 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem9.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem9.g.cs @@ -17,30 +17,48 @@ public class IncludedItem9JsonConverter : global::System.Text.Json.Serialization var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) + global::AppStoreConnect.AppClipAppStoreReviewDetail? appClipAppStoreReviewDetails = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType.AppClipAppStoreReviewDetails) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperience)}"); - appClipDefaultExperiences1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipAppStoreReviewDetail)}"); + appClipAppStoreReviewDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.App? appClipDefaultExperiences2 = default; - if (discriminator?.Type == global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType.AppClipDefaultExperiences) + global::AppStoreConnect.AppClipDefaultExperienceLocalization? appClipDefaultExperienceLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType.AppClipDefaultExperienceLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.App)}"); - appClipDefaultExperiences2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClipDefaultExperienceLocalization)}"); + appClipDefaultExperienceLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppClip? appClipDefaultExperienceLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType.AppClipDefaultExperienceLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppClip)}"); + appClipDefaultExperienceLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType.AppStoreVersions) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem9( discriminator?.Type, - appClipDefaultExperiences1, + appClipAppStoreReviewDetails, + + appClipDefaultExperienceLocalizations1, - appClipDefaultExperiences2 + appClipDefaultExperienceLocalizations2, + + appStoreVersions ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppClipDefaultExperiences1) + if (value.IsAppClipAppStoreReviewDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipAppStoreReviewDetails(), typeInfo); + } + else if (value.IsAppClipDefaultExperienceLocalizations1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperienceLocalizations1(), typeInfo); + } + else if (value.IsAppClipDefaultExperienceLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClipDefaultExperience), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClipDefaultExperience).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences1(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppClip), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppClip).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperienceLocalizations2(), typeInfo); } - else if (value.IsAppClipDefaultExperiences2) + else if (value.IsAppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.App), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.App).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppClipDefaultExperiences2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem90.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem90.g.cs index c65f9965b..cc97581ba 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem90.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem90.g.cs @@ -17,30 +17,57 @@ public class IncludedItem90JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType.GameCenterActivityImages) + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityImage)}"); - gameCenterActivityImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAchievement)}"); + gameCenterAchievements = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); + gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); + gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); + gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } var __value = new global::AppStoreConnect.IncludedItem90( discriminator?.Type, - gameCenterActivityImages, + gameCenterAchievements, + + gameCenterActivityVersions, + + gameCenterDetails, - gameCenterActivityVersions + gameCenterGroups, + + gameCenterLeaderboards ); return __value; @@ -55,11 +82,11 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterActivityImages) + if (value.IsGameCenterAchievements) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAchievement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAchievement).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAchievements(), typeInfo); } else if (value.IsGameCenterActivityVersions) { @@ -67,6 +94,24 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); } + else if (value.IsGameCenterDetails) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + } + else if (value.IsGameCenterGroups) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + } + else if (value.IsGameCenterLeaderboards) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + } } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem91.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem91.g.cs index 34ab1e72e..bcdc07f5a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem91.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem91.g.cs @@ -17,48 +17,30 @@ public class IncludedItem91JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterActivity? gameCenterActivityImages1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType.GameCenterActivityImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); - gameCenterActivityImages1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType.GameCenterActivityImages) + global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType.GameCenterActivityImages) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityImage)}"); - gameCenterActivityImages2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterActivityImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterActivityLocalization? gameCenterActivityLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType.GameCenterActivityLocalizations) + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityLocalization)}"); - gameCenterActivityLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType.GameCenterActivityVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionRelease)}"); - gameCenterActivityVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); + gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem91( discriminator?.Type, - gameCenterActivityImages1, - - gameCenterActivityImages2, + gameCenterActivityImages, - gameCenterActivityLocalizations, - - gameCenterActivityVersionReleases + gameCenterActivityVersions ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterActivityImages1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages1(), typeInfo); - } - else if (value.IsGameCenterActivityImages2) + if (value.IsGameCenterActivityImages) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages2(), typeInfo); - } - else if (value.IsGameCenterActivityLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityLocalizations(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages(), typeInfo); } - else if (value.IsGameCenterActivityVersionReleases) + else if (value.IsGameCenterActivityVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersionRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersionReleases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem92.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem92.g.cs index 038211aac..5a2b53a06 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem92.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem92.g.cs @@ -17,48 +17,30 @@ public class IncludedItem92JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterActivity? gameCenterActivityImages1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType.GameCenterActivityImages) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); - gameCenterActivityImages1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType.GameCenterActivityImages) + global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType.GameCenterActivityImages) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityImage)}"); - gameCenterActivityImages2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + gameCenterActivityImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterActivityLocalization? gameCenterActivityLocalizations = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType.GameCenterActivityLocalizations) + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType.GameCenterActivityVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityLocalization)}"); - gameCenterActivityLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType.GameCenterActivityVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionRelease)}"); - gameCenterActivityVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersion)}"); + gameCenterActivityVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem92( discriminator?.Type, - gameCenterActivityImages1, - - gameCenterActivityImages2, + gameCenterActivityImages, - gameCenterActivityLocalizations, - - gameCenterActivityVersionReleases + gameCenterActivityVersions ); return __value; @@ -73,29 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterActivityImages1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages1(), typeInfo); - } - else if (value.IsGameCenterActivityImages2) + if (value.IsGameCenterActivityImages) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages2(), typeInfo); - } - else if (value.IsGameCenterActivityLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityLocalizations(), typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages(), typeInfo); } - else if (value.IsGameCenterActivityVersionReleases) + else if (value.IsGameCenterActivityVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersionRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersionReleases(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem93.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem93.g.cs index 5c620b1d2..df3bc40d4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem93.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem93.g.cs @@ -17,30 +17,48 @@ public class IncludedItem93JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.GameCenterActivity? gameCenterActivityImages1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType.GameCenterActivityImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); + gameCenterActivityImages1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType.GameCenterAppVersions) + global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType.GameCenterActivityImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); - gameCenterAppVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityImage)}"); + gameCenterActivityImages2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterActivityLocalization? gameCenterActivityLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType.GameCenterActivityLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityLocalization)}"); + gameCenterActivityLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType.GameCenterActivityVersionReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionRelease)}"); + gameCenterActivityVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem93( discriminator?.Type, - appStoreVersions, + gameCenterActivityImages1, + + gameCenterActivityImages2, - gameCenterAppVersions + gameCenterActivityLocalizations, + + gameCenterActivityVersionReleases ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppStoreVersions) + if (value.IsGameCenterActivityImages1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages1(), typeInfo); + } + else if (value.IsGameCenterActivityImages2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages2(), typeInfo); + } + else if (value.IsGameCenterActivityLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityLocalizations(), typeInfo); } - else if (value.IsGameCenterAppVersions) + else if (value.IsGameCenterActivityVersionReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersionRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersionReleases(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem94.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem94.g.cs index 9c32b6922..9162a285d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem94.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem94.g.cs @@ -17,30 +17,48 @@ public class IncludedItem94JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType.AppStoreVersions) + global::AppStoreConnect.GameCenterActivity? gameCenterActivityImages1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType.GameCenterActivityImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); - appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivity)}"); + gameCenterActivityImages1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType.GameCenterAppVersions) + global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType.GameCenterActivityImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); - gameCenterAppVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityImage)}"); + gameCenterActivityImages2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterActivityLocalization? gameCenterActivityLocalizations = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType.GameCenterActivityLocalizations) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityLocalization)}"); + gameCenterActivityLocalizations = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType.GameCenterActivityVersionReleases) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterActivityVersionRelease)}"); + gameCenterActivityVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem94( discriminator?.Type, - appStoreVersions, + gameCenterActivityImages1, + + gameCenterActivityImages2, - gameCenterAppVersions + gameCenterActivityLocalizations, + + gameCenterActivityVersionReleases ); return __value; @@ -55,17 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsAppStoreVersions) + if (value.IsGameCenterActivityImages1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivity), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivity).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages1(), typeInfo); + } + else if (value.IsGameCenterActivityImages2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityImages2(), typeInfo); + } + else if (value.IsGameCenterActivityLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityLocalizations(), typeInfo); } - else if (value.IsGameCenterAppVersions) + else if (value.IsGameCenterActivityVersionReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterActivityVersionRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterActivityVersionReleases(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem95.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem95.g.cs index dc8053437..237f8f20a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem95.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem95.g.cs @@ -17,30 +17,30 @@ public class IncludedItem95JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType.GameCenterChallengeImages) + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType.AppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeImage)}"); - gameCenterChallengeImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType.GameCenterAppVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); - gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); + gameCenterAppVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem95( discriminator?.Type, - gameCenterChallengeImages, + appStoreVersions, - gameCenterChallengeVersions + gameCenterAppVersions ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterChallengeImages) + if (value.IsAppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); } - else if (value.IsGameCenterChallengeVersions) + else if (value.IsGameCenterAppVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem96.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem96.g.cs index 37c8142ee..54b443f77 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem96.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem96.g.cs @@ -17,30 +17,30 @@ public class IncludedItem96JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType.GameCenterChallengeImages) + global::AppStoreConnect.AppStoreVersion? appStoreVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType.AppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeImage)}"); - gameCenterChallengeImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppStoreVersion)}"); + appStoreVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType.GameCenterAppVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); - gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterAppVersion)}"); + gameCenterAppVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem96( discriminator?.Type, - gameCenterChallengeImages, + appStoreVersions, - gameCenterChallengeVersions + gameCenterAppVersions ); return __value; @@ -55,17 +55,17 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterChallengeImages) + if (value.IsAppStoreVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeImage).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeImages(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppStoreVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppStoreVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickAppStoreVersions(), typeInfo); } - else if (value.IsGameCenterChallengeVersions) + else if (value.IsGameCenterAppVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterAppVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterAppVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterAppVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem97.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem97.g.cs index 212bcd6eb..3a5ab403a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem97.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem97.g.cs @@ -17,48 +17,30 @@ public class IncludedItem97JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType.GameCenterChallengeImages) + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType.GameCenterChallengeImages) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeImage)}"); gameCenterChallengeImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterChallengeLocalization? gameCenterChallengeLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType.GameCenterChallengeLocalizations) + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeLocalization)}"); - gameCenterChallengeLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionRelease)}"); - gameCenterChallengeVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType.GameCenterChallengeLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); - gameCenterChallengeLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); + gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem97( discriminator?.Type, gameCenterChallengeImages, - gameCenterChallengeLocalizations1, - - gameCenterChallengeVersionReleases, - - gameCenterChallengeLocalizations2 + gameCenterChallengeVersions ); return __value; @@ -79,23 +61,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeImage).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeImages(), typeInfo); } - else if (value.IsGameCenterChallengeLocalizations1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeLocalizations1(), typeInfo); - } - else if (value.IsGameCenterChallengeVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases(), typeInfo); - } - else if (value.IsGameCenterChallengeLocalizations2) + else if (value.IsGameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem98.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem98.g.cs index fcc540c4f..3e5fbf03b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem98.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem98.g.cs @@ -17,48 +17,30 @@ public class IncludedItem98JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType.GameCenterChallengeImages) + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType.GameCenterChallengeImages) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeImage)}"); gameCenterChallengeImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterChallengeLocalization? gameCenterChallengeLocalizations1 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType.GameCenterChallengeLocalizations) + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeLocalization)}"); - gameCenterChallengeLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionRelease)}"); - gameCenterChallengeVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeLocalizations2 = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType.GameCenterChallengeLocalizations) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); - gameCenterChallengeLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); + gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem98( discriminator?.Type, gameCenterChallengeImages, - gameCenterChallengeLocalizations1, - - gameCenterChallengeVersionReleases, - - gameCenterChallengeLocalizations2 + gameCenterChallengeVersions ); return __value; @@ -79,23 +61,11 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeImage).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeImages(), typeInfo); } - else if (value.IsGameCenterChallengeLocalizations1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeLocalization).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeLocalizations1(), typeInfo); - } - else if (value.IsGameCenterChallengeVersionReleases) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases(), typeInfo); - } - else if (value.IsGameCenterChallengeLocalizations2) + else if (value.IsGameCenterChallengeVersions) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeLocalizations2(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem99.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem99.g.cs index 247387323..921337fa8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem99.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.IncludedItem99.g.cs @@ -17,48 +17,48 @@ public class IncludedItem99JsonConverter : global::System.Text.Json.Serializatio var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType.GameCenterChallengeVersions) + global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType.GameCenterChallengeImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersion)}"); - gameCenterChallengeVersions = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeImage)}"); + gameCenterChallengeImages = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterDetail? gameCenterDetails = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType.GameCenterDetails) + global::AppStoreConnect.GameCenterChallengeLocalization? gameCenterChallengeLocalizations1 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType.GameCenterChallengeLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterDetail)}"); - gameCenterDetails = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeLocalization)}"); + gameCenterChallengeLocalizations1 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterGroup? gameCenterGroups = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType.GameCenterGroups) + global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType.GameCenterChallengeVersionReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterGroup)}"); - gameCenterGroups = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallengeVersionRelease)}"); + gameCenterChallengeVersionReleases = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards = default; - if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType.GameCenterLeaderboards) + global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeLocalizations2 = default; + if (discriminator?.Type == global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType.GameCenterChallengeLocalizations) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterLeaderboard)}"); - gameCenterLeaderboards = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.GameCenterChallenge)}"); + gameCenterChallengeLocalizations2 = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } var __value = new global::AppStoreConnect.IncludedItem99( discriminator?.Type, - gameCenterChallengeVersions, + gameCenterChallengeImages, - gameCenterDetails, + gameCenterChallengeLocalizations1, - gameCenterGroups, + gameCenterChallengeVersionReleases, - gameCenterLeaderboards + gameCenterChallengeLocalizations2 ); return __value; @@ -73,29 +73,29 @@ public override void Write( options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsGameCenterChallengeVersions) + if (value.IsGameCenterChallengeImages) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersion), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersion).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersions(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeImages(), typeInfo); } - else if (value.IsGameCenterDetails) + else if (value.IsGameCenterChallengeLocalizations1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterDetail), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterDetail).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterDetails(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeLocalization), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeLocalization).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeLocalizations1(), typeInfo); } - else if (value.IsGameCenterGroups) + else if (value.IsGameCenterChallengeVersionReleases) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterGroup), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterGroup).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterGroups(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeVersionReleases(), typeInfo); } - else if (value.IsGameCenterLeaderboards) + else if (value.IsGameCenterChallengeLocalizations2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterLeaderboard), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterLeaderboard).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterLeaderboards(), typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.GameCenterChallenge), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.GameCenterChallenge).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickGameCenterChallengeLocalizations2(), typeInfo); } } } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Relationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Relationships.g.cs new file mode 100644 index 000000000..daca6b624 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.Relationships.g.cs @@ -0,0 +1,72 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace AppStoreConnect.JsonConverters +{ + /// + public class RelationshipsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.Relationships Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? image = default; + if (discriminator?.MediaType == global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.Image) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships)}"); + image = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? video = default; + if (discriminator?.MediaType == global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.Video) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships)}"); + video = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::AppStoreConnect.Relationships( + discriminator?.MediaType, + image, + + video + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.Relationships value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsImage) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickImage(), typeInfo); + } + else if (value.IsVideo) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickVideo(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.g.cs new file mode 100644 index 000000000..6afa542ba --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeNullable.g.cs new file mode 100644 index 000000000..b7478d4a9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.g.cs new file mode 100644 index 000000000..e1c06d04a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeNullable.g.cs new file mode 100644 index 000000000..e3bb0f1a5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.g.cs new file mode 100644 index 000000000..75738f9f4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeNullable.g.cs new file mode 100644 index 000000000..6494861f4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.g.cs new file mode 100644 index 000000000..94f21872d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeNullable.g.cs new file mode 100644 index 000000000..ea644fd8f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..a01007540 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs new file mode 100644 index 000000000..11361ed41 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..c31fc35be --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs new file mode 100644 index 000000000..1e0ee40ce --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace AppStoreConnect.JsonConverters +{ + /// + public sealed class ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonSerializerContext.g.cs index d00d70aae..88c79c4be 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonSerializerContext.g.cs @@ -48,8 +48,34 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions { options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItemJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem2JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageAcceptedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageApprovedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageArchivedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageAwaitingUploadAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageFailedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageInReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageReadyForReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageRejectedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageUploadCompleteAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageWaitingForReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.RelationshipsJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem3JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem4JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.Attributes2JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoAcceptedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoApprovedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoArchivedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoAwaitingUploadAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoFailedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoInReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoReadyForReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoRejectedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoUploadCompleteAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoWaitingForReviewAttributesJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem5JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem6JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem7JsonConverter()); @@ -62,8 +88,8 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem14JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem15JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem16JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem17JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem18JsonConverter()); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem19JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem20JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem21JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem22JsonConverter()); @@ -73,8 +99,8 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem26JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem27JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem28JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem29JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem30JsonConverter()); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem31JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem32JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem33JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem34JsonConverter()); @@ -176,14 +202,14 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem130JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem131JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem132JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem133JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem134JsonConverter()); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem135JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem136JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem137JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem138JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem139JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem140JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem141JsonConverter()); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem142JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem143JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem144JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem145JsonConverter()); @@ -219,7 +245,9 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem175JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem176JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem177JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem178JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem179JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem181JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.OneOfJsonConverter()); @@ -547,6 +575,166 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AndroidToIosAppMappingDetailUpdateRequestDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilityV2Type) || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilityV2Type?) @@ -895,6 +1083,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateType) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateType?) @@ -903,6 +1095,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType?) @@ -919,6 +1115,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType?) @@ -1083,6 +1283,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClipsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType?) @@ -1099,6 +1303,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEventDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType?) @@ -1599,6 +1807,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType?) @@ -1615,6 +1827,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentType?) @@ -1755,6 +1971,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType?) @@ -1771,6 +1991,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType?) @@ -5635,6 +5859,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEventDataType?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType?) @@ -5707,6 +5939,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataType?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType?) @@ -6891,6 +7131,22 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AnalyticsReportInstancesLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponseDataItemType?) @@ -6939,6 +7195,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType?) @@ -6975,6 +7235,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsLinkagesResponseDataItemType?) @@ -7059,6 +7323,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponseDataItemType?) @@ -7079,6 +7347,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType?) @@ -7207,6 +7479,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppAppTagsLinkagesResponseDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType?) + || typeToConvert == typeof(global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItemType) || typeToConvert == typeof(global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItemType?) @@ -8275,6 +8551,38 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemGranularity?) + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetState) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetState?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryFeature) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryFeature?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryMediaType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryMediaType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementState) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementState?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2?) + || typeToConvert == typeof(global::AppStoreConnect.AppClipAction) || typeToConvert == typeof(global::AppStoreConnect.AppClipAction?) @@ -8647,6 +8955,86 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AndroidToIosAppMappingDetailsGetInstanceFieldsAndroidToIosAppMappingDetail?) + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilitiesV2GetInstanceFieldsAppAvailabilitie) || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilitiesV2GetInstanceFieldsAppAvailabilitie?) @@ -8799,6 +9187,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem?) @@ -8899,6 +9291,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventVideoClip?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem?) @@ -9127,6 +9523,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem?) @@ -9199,6 +9599,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem?) @@ -12199,6 +12603,142 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AnalyticsReportsInstancesGetToManyRelatedFieldsAnalyticsReportInstance?) + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedFieldsTerritoryAvailabilitie) || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedFieldsTerritoryAvailabilitie?) @@ -12423,6 +12963,50 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization?) @@ -12439,6 +13023,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem?) @@ -12495,6 +13083,50 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization) || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization?) @@ -12511,6 +13143,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClip?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem?) @@ -12735,6 +13371,50 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) @@ -12751,6 +13431,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem?) @@ -12843,6 +13527,50 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedFieldsAlternativeDistributionPackage) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedFieldsAlternativeDistributionPackage?) @@ -12955,6 +13683,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSet?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem?) @@ -13315,6 +14047,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppsAppTagsGetToManyRelatedIncludeItem?) + || typeToConvert == typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie) + + || typeToConvert == typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie?) + || typeToConvert == typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform) || typeToConvert == typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform?) @@ -16207,6 +16943,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppEvent?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion?) @@ -17640,6 +18384,406 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AndroidToIosAppMappingDetailUpdateRequestDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorStateJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDatumType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorStateJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppAvailabilityV2Type)) { return new global::AppStoreConnect.JsonConverters.AppAvailabilityV2TypeJsonConverter(); @@ -18510,6 +19654,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateType)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateTypeJsonConverter(); @@ -18530,6 +19684,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorTypeJsonConverter(); @@ -18570,6 +19734,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationUpdateRequestDataTypeJsonConverter(); @@ -18980,6 +20154,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsAppEventVideoClipsDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType)) { return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsResponseIncludedItemDiscriminatorTypeJsonConverter(); @@ -19020,6 +20204,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsAppEventDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType)) { return new global::AppStoreConnect.JsonConverters.AppEventLocalizationUpdateRequestDataTypeJsonConverter(); @@ -20270,6 +21464,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorTypeJsonConverter(); @@ -20310,6 +21514,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentTypeJsonConverter(); @@ -20660,6 +21874,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorTypeJsonConverter(); @@ -20700,6 +21924,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationUpdateRequestDataTypeJsonConverter(); @@ -30360,6 +31594,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppEventDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType)) { return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataTypeJsonConverter(); @@ -30540,6 +31794,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType)) { return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataTypeJsonConverter(); @@ -33500,6 +34774,46 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AnalyticsReportInstancesLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponseDataItemTypeJsonConverter(); @@ -33620,6 +34934,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemTypeJsonConverter(); @@ -33710,6 +35034,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsLinkagesResponseDataItemTypeJsonConverter(); @@ -33920,6 +35254,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponseDataItemTypeJsonConverter(); @@ -33970,6 +35314,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemTypeJsonConverter(); @@ -34290,6 +35644,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppAppTagsLinkagesResponseDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItemType)) { return new global::AppStoreConnect.JsonConverters.AppBackgroundAssetsLinkagesResponseDataItemTypeJsonConverter(); @@ -36960,6 +38324,86 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemGranularityNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetState)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetState?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryDisplayClass?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryFeature)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryFeatureJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryFeature?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryFeatureNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryMediaType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryMediaType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatformJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementPlatform?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatformNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementState)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementState?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2JsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2NullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppClipAction)) { return new global::AppStoreConnect.JsonConverters.AppClipActionJsonConverter(); @@ -37890,6 +39334,206 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AndroidToIosAppMappingDetailsGetInstanceFieldsAndroidToIosAppMappingDetailNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesGetInstanceIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsGetInstanceIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosGetInstanceIncludeItemNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppAvailabilitiesV2GetInstanceFieldsAppAvailabilitie)) { return new global::AppStoreConnect.JsonConverters.AppAvailabilitiesV2GetInstanceFieldsAppAvailabilitieJsonConverter(); @@ -38270,6 +39914,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsGetInstanceIncludeItemJsonConverter(); @@ -38520,6 +40174,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppEventVideoClipNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsGetInstanceIncludeItemJsonConverter(); @@ -39090,6 +40754,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItemJsonConverter(); @@ -39270,6 +40944,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsGetInstanceIncludeItemJsonConverter(); @@ -46770,6 +48454,346 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AnalyticsReportsInstancesGetToManyRelatedFieldsAnalyticsReportInstanceNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesImagesGetToManyRelatedIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibrariesVideosGetToManyRelatedIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedFieldsTerritoryAvailabilitie)) { return new global::AppStoreConnect.JsonConverters.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedFieldsTerritoryAvailabilitieJsonConverter(); @@ -47330,6 +49354,116 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItemNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); @@ -47370,6 +49504,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItemJsonConverter(); @@ -47510,6 +49654,116 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItemNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization)) { return new global::AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); @@ -47550,6 +49804,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClipNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppEventsLocalizationsGetToManyRelatedIncludeItemJsonConverter(); @@ -48110,6 +50374,116 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItemNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); @@ -48150,6 +50524,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItemJsonConverter(); @@ -48380,6 +50764,116 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItemNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedFieldsAlternativeDistributionPackage)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedFieldsAlternativeDistributionPackageJsonConverter(); @@ -48660,6 +51154,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSetNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItemJsonConverter(); @@ -49560,6 +52064,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppsAppTagsGetToManyRelatedIncludeItemNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie)) + { + return new global::AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie?)) + { + return new global::AppStoreConnect.JsonConverters.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform)) { return new global::AppStoreConnect.JsonConverters.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatformJsonConverter(); @@ -56790,6 +59304,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppEventNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion)) { return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersionJsonConverter(); @@ -58516,7 +61050,7 @@ public override bool CanConvert(global::System.Type typeToConvert) private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver { private readonly object _gate = new(); - private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[197]; + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[203]; public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( global::System.Type type, @@ -58582,369 +61116,381 @@ private sealed class LazyChunkResolver : global::System.Text.Json.Serialization. 14 => global::AppStoreConnect.AndroidToIosAppMappingDetailsSourceGenerationContext.TypeInfoResolver, - 15 => global::AppStoreConnect.AppAvailabilitiesSourceGenerationContext.TypeInfoResolver, + 15 => global::AppStoreConnect.AppAssetLibrariesSourceGenerationContext.TypeInfoResolver, + + 16 => global::AppStoreConnect.AppAssetLibraryImagesSourceGenerationContext.TypeInfoResolver, + + 17 => global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsSourceGenerationContext.TypeInfoResolver, + + 18 => global::AppStoreConnect.AppAssetLibraryPlacementsSourceGenerationContext.TypeInfoResolver, + + 19 => global::AppStoreConnect.AppAssetLibraryRefDataSourceGenerationContext.TypeInfoResolver, + + 20 => global::AppStoreConnect.AppAssetLibraryVideosSourceGenerationContext.TypeInfoResolver, + + 21 => global::AppStoreConnect.AppAvailabilitiesSourceGenerationContext.TypeInfoResolver, - 16 => global::AppStoreConnect.AppCategoriesSourceGenerationContext.TypeInfoResolver, + 22 => global::AppStoreConnect.AppCategoriesSourceGenerationContext.TypeInfoResolver, - 17 => global::AppStoreConnect.AppClipAdvancedExperienceImagesSourceGenerationContext.TypeInfoResolver, + 23 => global::AppStoreConnect.AppClipAdvancedExperienceImagesSourceGenerationContext.TypeInfoResolver, - 18 => global::AppStoreConnect.AppClipAdvancedExperiencesSourceGenerationContext.TypeInfoResolver, + 24 => global::AppStoreConnect.AppClipAdvancedExperiencesSourceGenerationContext.TypeInfoResolver, - 19 => global::AppStoreConnect.AppClipAppStoreReviewDetailsSourceGenerationContext.TypeInfoResolver, + 25 => global::AppStoreConnect.AppClipAppStoreReviewDetailsSourceGenerationContext.TypeInfoResolver, - 20 => global::AppStoreConnect.AppClipDefaultExperienceLocalizationsSourceGenerationContext.TypeInfoResolver, + 26 => global::AppStoreConnect.AppClipDefaultExperienceLocalizationsSourceGenerationContext.TypeInfoResolver, - 21 => global::AppStoreConnect.AppClipDefaultExperiencesSourceGenerationContext.TypeInfoResolver, + 27 => global::AppStoreConnect.AppClipDefaultExperiencesSourceGenerationContext.TypeInfoResolver, - 22 => global::AppStoreConnect.AppClipHeaderImagesSourceGenerationContext.TypeInfoResolver, + 28 => global::AppStoreConnect.AppClipHeaderImagesSourceGenerationContext.TypeInfoResolver, - 23 => global::AppStoreConnect.AppClipsSourceGenerationContext.TypeInfoResolver, + 29 => global::AppStoreConnect.AppClipsSourceGenerationContext.TypeInfoResolver, - 24 => global::AppStoreConnect.AppCustomProductPageLocalizationsSourceGenerationContext.TypeInfoResolver, + 30 => global::AppStoreConnect.AppCustomProductPageLocalizationsSourceGenerationContext.TypeInfoResolver, - 25 => global::AppStoreConnect.AppCustomProductPageVersionsSourceGenerationContext.TypeInfoResolver, + 31 => global::AppStoreConnect.AppCustomProductPageVersionsSourceGenerationContext.TypeInfoResolver, - 26 => global::AppStoreConnect.AppCustomProductPagesSourceGenerationContext.TypeInfoResolver, + 32 => global::AppStoreConnect.AppCustomProductPagesSourceGenerationContext.TypeInfoResolver, - 27 => global::AppStoreConnect.AppEncryptionDeclarationDocumentsSourceGenerationContext.TypeInfoResolver, + 33 => global::AppStoreConnect.AppEncryptionDeclarationDocumentsSourceGenerationContext.TypeInfoResolver, - 28 => global::AppStoreConnect.AppEncryptionDeclarationsSourceGenerationContext.TypeInfoResolver, + 34 => global::AppStoreConnect.AppEncryptionDeclarationsSourceGenerationContext.TypeInfoResolver, - 29 => global::AppStoreConnect.AppEventLocalizationsSourceGenerationContext.TypeInfoResolver, + 35 => global::AppStoreConnect.AppEventLocalizationsSourceGenerationContext.TypeInfoResolver, - 30 => global::AppStoreConnect.AppEventScreenshotsSourceGenerationContext.TypeInfoResolver, + 36 => global::AppStoreConnect.AppEventScreenshotsSourceGenerationContext.TypeInfoResolver, - 31 => global::AppStoreConnect.AppEventVideoClipsSourceGenerationContext.TypeInfoResolver, + 37 => global::AppStoreConnect.AppEventVideoClipsSourceGenerationContext.TypeInfoResolver, - 32 => global::AppStoreConnect.AppEventsSourceGenerationContext.TypeInfoResolver, + 38 => global::AppStoreConnect.AppEventsSourceGenerationContext.TypeInfoResolver, - 33 => global::AppStoreConnect.AppInfoLocalizationsSourceGenerationContext.TypeInfoResolver, + 39 => global::AppStoreConnect.AppInfoLocalizationsSourceGenerationContext.TypeInfoResolver, - 34 => global::AppStoreConnect.AppInfosSourceGenerationContext.TypeInfoResolver, + 40 => global::AppStoreConnect.AppInfosSourceGenerationContext.TypeInfoResolver, - 35 => global::AppStoreConnect.AppPreviewSetsSourceGenerationContext.TypeInfoResolver, + 41 => global::AppStoreConnect.AppPreviewSetsSourceGenerationContext.TypeInfoResolver, - 36 => global::AppStoreConnect.AppPreviewsSourceGenerationContext.TypeInfoResolver, + 42 => global::AppStoreConnect.AppPreviewsSourceGenerationContext.TypeInfoResolver, - 37 => global::AppStoreConnect.AppPricePointsSourceGenerationContext.TypeInfoResolver, + 43 => global::AppStoreConnect.AppPricePointsSourceGenerationContext.TypeInfoResolver, - 38 => global::AppStoreConnect.AppPriceSchedulesSourceGenerationContext.TypeInfoResolver, + 44 => global::AppStoreConnect.AppPriceSchedulesSourceGenerationContext.TypeInfoResolver, - 39 => global::AppStoreConnect.AppScreenshotSetsSourceGenerationContext.TypeInfoResolver, + 45 => global::AppStoreConnect.AppScreenshotSetsSourceGenerationContext.TypeInfoResolver, - 40 => global::AppStoreConnect.AppScreenshotsSourceGenerationContext.TypeInfoResolver, + 46 => global::AppStoreConnect.AppScreenshotsSourceGenerationContext.TypeInfoResolver, - 41 => global::AppStoreConnect.AppStoreReviewAttachmentsSourceGenerationContext.TypeInfoResolver, + 47 => global::AppStoreConnect.AppStoreReviewAttachmentsSourceGenerationContext.TypeInfoResolver, - 42 => global::AppStoreConnect.AppStoreReviewDetailsSourceGenerationContext.TypeInfoResolver, + 48 => global::AppStoreConnect.AppStoreReviewDetailsSourceGenerationContext.TypeInfoResolver, - 43 => global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsSourceGenerationContext.TypeInfoResolver, + 49 => global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsSourceGenerationContext.TypeInfoResolver, - 44 => global::AppStoreConnect.AppStoreVersionExperimentTreatmentsSourceGenerationContext.TypeInfoResolver, + 50 => global::AppStoreConnect.AppStoreVersionExperimentTreatmentsSourceGenerationContext.TypeInfoResolver, - 45 => global::AppStoreConnect.AppStoreVersionExperimentsSourceGenerationContext.TypeInfoResolver, + 51 => global::AppStoreConnect.AppStoreVersionExperimentsSourceGenerationContext.TypeInfoResolver, - 46 => global::AppStoreConnect.AppStoreVersionLocalizationsSourceGenerationContext.TypeInfoResolver, + 52 => global::AppStoreConnect.AppStoreVersionLocalizationsSourceGenerationContext.TypeInfoResolver, - 47 => global::AppStoreConnect.AppStoreVersionPhasedReleasesSourceGenerationContext.TypeInfoResolver, + 53 => global::AppStoreConnect.AppStoreVersionPhasedReleasesSourceGenerationContext.TypeInfoResolver, - 48 => global::AppStoreConnect.AppStoreVersionPromotionsSourceGenerationContext.TypeInfoResolver, + 54 => global::AppStoreConnect.AppStoreVersionPromotionsSourceGenerationContext.TypeInfoResolver, - 49 => global::AppStoreConnect.AppStoreVersionReleaseRequestsSourceGenerationContext.TypeInfoResolver, + 55 => global::AppStoreConnect.AppStoreVersionReleaseRequestsSourceGenerationContext.TypeInfoResolver, - 50 => global::AppStoreConnect.AppStoreVersionsSourceGenerationContext.TypeInfoResolver, + 56 => global::AppStoreConnect.AppStoreVersionsSourceGenerationContext.TypeInfoResolver, - 51 => global::AppStoreConnect.AppTagsSourceGenerationContext.TypeInfoResolver, + 57 => global::AppStoreConnect.AppTagsSourceGenerationContext.TypeInfoResolver, - 52 => global::AppStoreConnect.AppsSourceGenerationContext.TypeInfoResolver, + 58 => global::AppStoreConnect.AppsSourceGenerationContext.TypeInfoResolver, - 53 => global::AppStoreConnect.BackgroundAssetUploadFilesSourceGenerationContext.TypeInfoResolver, + 59 => global::AppStoreConnect.BackgroundAssetUploadFilesSourceGenerationContext.TypeInfoResolver, - 54 => global::AppStoreConnect.BackgroundAssetVersionAppStoreReleasesSourceGenerationContext.TypeInfoResolver, + 60 => global::AppStoreConnect.BackgroundAssetVersionAppStoreReleasesSourceGenerationContext.TypeInfoResolver, - 55 => global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleasesSourceGenerationContext.TypeInfoResolver, + 61 => global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleasesSourceGenerationContext.TypeInfoResolver, - 56 => global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleasesSourceGenerationContext.TypeInfoResolver, + 62 => global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleasesSourceGenerationContext.TypeInfoResolver, - 57 => global::AppStoreConnect.BackgroundAssetVersionsSourceGenerationContext.TypeInfoResolver, + 63 => global::AppStoreConnect.BackgroundAssetVersionsSourceGenerationContext.TypeInfoResolver, - 58 => global::AppStoreConnect.BackgroundAssetsSourceGenerationContext.TypeInfoResolver, + 64 => global::AppStoreConnect.BackgroundAssetsSourceGenerationContext.TypeInfoResolver, - 59 => global::AppStoreConnect.BetaAppClipInvocationLocalizationsSourceGenerationContext.TypeInfoResolver, + 65 => global::AppStoreConnect.BetaAppClipInvocationLocalizationsSourceGenerationContext.TypeInfoResolver, - 60 => global::AppStoreConnect.BetaAppClipInvocationsSourceGenerationContext.TypeInfoResolver, + 66 => global::AppStoreConnect.BetaAppClipInvocationsSourceGenerationContext.TypeInfoResolver, - 61 => global::AppStoreConnect.BetaAppLocalizationsSourceGenerationContext.TypeInfoResolver, + 67 => global::AppStoreConnect.BetaAppLocalizationsSourceGenerationContext.TypeInfoResolver, - 62 => global::AppStoreConnect.BetaAppReviewDetailsSourceGenerationContext.TypeInfoResolver, + 68 => global::AppStoreConnect.BetaAppReviewDetailsSourceGenerationContext.TypeInfoResolver, - 63 => global::AppStoreConnect.BetaAppReviewSubmissionsSourceGenerationContext.TypeInfoResolver, + 69 => global::AppStoreConnect.BetaAppReviewSubmissionsSourceGenerationContext.TypeInfoResolver, - 64 => global::AppStoreConnect.BetaBuildLocalizationsSourceGenerationContext.TypeInfoResolver, + 70 => global::AppStoreConnect.BetaBuildLocalizationsSourceGenerationContext.TypeInfoResolver, - 65 => global::AppStoreConnect.BetaCrashLogsSourceGenerationContext.TypeInfoResolver, + 71 => global::AppStoreConnect.BetaCrashLogsSourceGenerationContext.TypeInfoResolver, - 66 => global::AppStoreConnect.BetaFeedbackCrashSubmissionsSourceGenerationContext.TypeInfoResolver, + 72 => global::AppStoreConnect.BetaFeedbackCrashSubmissionsSourceGenerationContext.TypeInfoResolver, - 67 => global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsSourceGenerationContext.TypeInfoResolver, + 73 => global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsSourceGenerationContext.TypeInfoResolver, - 68 => global::AppStoreConnect.BetaGroupsSourceGenerationContext.TypeInfoResolver, + 74 => global::AppStoreConnect.BetaGroupsSourceGenerationContext.TypeInfoResolver, - 69 => global::AppStoreConnect.BetaLicenseAgreementsSourceGenerationContext.TypeInfoResolver, + 75 => global::AppStoreConnect.BetaLicenseAgreementsSourceGenerationContext.TypeInfoResolver, - 70 => global::AppStoreConnect.BetaRecruitmentCriteriaSourceGenerationContext.TypeInfoResolver, + 76 => global::AppStoreConnect.BetaRecruitmentCriteriaSourceGenerationContext.TypeInfoResolver, - 71 => global::AppStoreConnect.BetaRecruitmentCriterionOptionsSourceGenerationContext.TypeInfoResolver, + 77 => global::AppStoreConnect.BetaRecruitmentCriterionOptionsSourceGenerationContext.TypeInfoResolver, - 72 => global::AppStoreConnect.BetaTesterInvitationsSourceGenerationContext.TypeInfoResolver, + 78 => global::AppStoreConnect.BetaTesterInvitationsSourceGenerationContext.TypeInfoResolver, - 73 => global::AppStoreConnect.BetaTestersSourceGenerationContext.TypeInfoResolver, + 79 => global::AppStoreConnect.BetaTestersSourceGenerationContext.TypeInfoResolver, - 74 => global::AppStoreConnect.BuildBetaDetailsSourceGenerationContext.TypeInfoResolver, + 80 => global::AppStoreConnect.BuildBetaDetailsSourceGenerationContext.TypeInfoResolver, - 75 => global::AppStoreConnect.BuildBetaNotificationsSourceGenerationContext.TypeInfoResolver, + 81 => global::AppStoreConnect.BuildBetaNotificationsSourceGenerationContext.TypeInfoResolver, - 76 => global::AppStoreConnect.BuildBundlesSourceGenerationContext.TypeInfoResolver, + 82 => global::AppStoreConnect.BuildBundlesSourceGenerationContext.TypeInfoResolver, - 77 => global::AppStoreConnect.BuildUploadFilesSourceGenerationContext.TypeInfoResolver, + 83 => global::AppStoreConnect.BuildUploadFilesSourceGenerationContext.TypeInfoResolver, - 78 => global::AppStoreConnect.BuildUploadsSourceGenerationContext.TypeInfoResolver, + 84 => global::AppStoreConnect.BuildUploadsSourceGenerationContext.TypeInfoResolver, - 79 => global::AppStoreConnect.BuildsSourceGenerationContext.TypeInfoResolver, + 85 => global::AppStoreConnect.BuildsSourceGenerationContext.TypeInfoResolver, - 80 => global::AppStoreConnect.BundleIdCapabilitiesSourceGenerationContext.TypeInfoResolver, + 86 => global::AppStoreConnect.BundleIdCapabilitiesSourceGenerationContext.TypeInfoResolver, - 81 => global::AppStoreConnect.BundleIdsSourceGenerationContext.TypeInfoResolver, + 87 => global::AppStoreConnect.BundleIdsSourceGenerationContext.TypeInfoResolver, - 82 => global::AppStoreConnect.CertificatesSourceGenerationContext.TypeInfoResolver, + 88 => global::AppStoreConnect.CertificatesSourceGenerationContext.TypeInfoResolver, - 83 => global::AppStoreConnect.CiArtifactsSourceGenerationContext.TypeInfoResolver, + 89 => global::AppStoreConnect.CiArtifactsSourceGenerationContext.TypeInfoResolver, - 84 => global::AppStoreConnect.CiBuildActionsSourceGenerationContext.TypeInfoResolver, + 90 => global::AppStoreConnect.CiBuildActionsSourceGenerationContext.TypeInfoResolver, - 85 => global::AppStoreConnect.CiBuildRunsSourceGenerationContext.TypeInfoResolver, + 91 => global::AppStoreConnect.CiBuildRunsSourceGenerationContext.TypeInfoResolver, - 86 => global::AppStoreConnect.CiIssuesSourceGenerationContext.TypeInfoResolver, + 92 => global::AppStoreConnect.CiIssuesSourceGenerationContext.TypeInfoResolver, - 87 => global::AppStoreConnect.CiMacOsVersionsSourceGenerationContext.TypeInfoResolver, + 93 => global::AppStoreConnect.CiMacOsVersionsSourceGenerationContext.TypeInfoResolver, - 88 => global::AppStoreConnect.CiProductsSourceGenerationContext.TypeInfoResolver, + 94 => global::AppStoreConnect.CiProductsSourceGenerationContext.TypeInfoResolver, - 89 => global::AppStoreConnect.CiTestResultsSourceGenerationContext.TypeInfoResolver, + 95 => global::AppStoreConnect.CiTestResultsSourceGenerationContext.TypeInfoResolver, - 90 => global::AppStoreConnect.CiWorkflowsSourceGenerationContext.TypeInfoResolver, + 96 => global::AppStoreConnect.CiWorkflowsSourceGenerationContext.TypeInfoResolver, - 91 => global::AppStoreConnect.CiXcodeVersionsSourceGenerationContext.TypeInfoResolver, + 97 => global::AppStoreConnect.CiXcodeVersionsSourceGenerationContext.TypeInfoResolver, - 92 => global::AppStoreConnect.CustomerReviewResponsesSourceGenerationContext.TypeInfoResolver, + 98 => global::AppStoreConnect.CustomerReviewResponsesSourceGenerationContext.TypeInfoResolver, - 93 => global::AppStoreConnect.CustomerReviewsSourceGenerationContext.TypeInfoResolver, + 99 => global::AppStoreConnect.CustomerReviewsSourceGenerationContext.TypeInfoResolver, - 94 => global::AppStoreConnect.DevicesSourceGenerationContext.TypeInfoResolver, + 100 => global::AppStoreConnect.DevicesSourceGenerationContext.TypeInfoResolver, - 95 => global::AppStoreConnect.DiagnosticSignaturesSourceGenerationContext.TypeInfoResolver, + 101 => global::AppStoreConnect.DiagnosticSignaturesSourceGenerationContext.TypeInfoResolver, - 96 => global::AppStoreConnect.EndAppAvailabilityPreOrdersSourceGenerationContext.TypeInfoResolver, + 102 => global::AppStoreConnect.EndAppAvailabilityPreOrdersSourceGenerationContext.TypeInfoResolver, - 97 => global::AppStoreConnect.EndUserLicenseAgreementsSourceGenerationContext.TypeInfoResolver, + 103 => global::AppStoreConnect.EndUserLicenseAgreementsSourceGenerationContext.TypeInfoResolver, - 98 => global::AppStoreConnect.FinanceReportsSourceGenerationContext.TypeInfoResolver, + 104 => global::AppStoreConnect.FinanceReportsSourceGenerationContext.TypeInfoResolver, - 99 => global::AppStoreConnect.GameCenterAchievementImagesSourceGenerationContext.TypeInfoResolver, + 105 => global::AppStoreConnect.GameCenterAchievementImagesSourceGenerationContext.TypeInfoResolver, - 100 => global::AppStoreConnect.GameCenterAchievementLocalizationsSourceGenerationContext.TypeInfoResolver, + 106 => global::AppStoreConnect.GameCenterAchievementLocalizationsSourceGenerationContext.TypeInfoResolver, - 101 => global::AppStoreConnect.GameCenterAchievementVersionsSourceGenerationContext.TypeInfoResolver, + 107 => global::AppStoreConnect.GameCenterAchievementVersionsSourceGenerationContext.TypeInfoResolver, - 102 => global::AppStoreConnect.GameCenterAchievementsSourceGenerationContext.TypeInfoResolver, + 108 => global::AppStoreConnect.GameCenterAchievementsSourceGenerationContext.TypeInfoResolver, - 103 => global::AppStoreConnect.GameCenterActivitiesSourceGenerationContext.TypeInfoResolver, + 109 => global::AppStoreConnect.GameCenterActivitiesSourceGenerationContext.TypeInfoResolver, - 104 => global::AppStoreConnect.GameCenterActivityImagesSourceGenerationContext.TypeInfoResolver, + 110 => global::AppStoreConnect.GameCenterActivityImagesSourceGenerationContext.TypeInfoResolver, - 105 => global::AppStoreConnect.GameCenterActivityLocalizationsSourceGenerationContext.TypeInfoResolver, + 111 => global::AppStoreConnect.GameCenterActivityLocalizationsSourceGenerationContext.TypeInfoResolver, - 106 => global::AppStoreConnect.GameCenterActivityVersionsSourceGenerationContext.TypeInfoResolver, + 112 => global::AppStoreConnect.GameCenterActivityVersionsSourceGenerationContext.TypeInfoResolver, - 107 => global::AppStoreConnect.GameCenterAppVersionsSourceGenerationContext.TypeInfoResolver, + 113 => global::AppStoreConnect.GameCenterAppVersionsSourceGenerationContext.TypeInfoResolver, - 108 => global::AppStoreConnect.GameCenterChallengeImagesSourceGenerationContext.TypeInfoResolver, + 114 => global::AppStoreConnect.GameCenterChallengeImagesSourceGenerationContext.TypeInfoResolver, - 109 => global::AppStoreConnect.GameCenterChallengeLocalizationsSourceGenerationContext.TypeInfoResolver, + 115 => global::AppStoreConnect.GameCenterChallengeLocalizationsSourceGenerationContext.TypeInfoResolver, - 110 => global::AppStoreConnect.GameCenterChallengeVersionsSourceGenerationContext.TypeInfoResolver, + 116 => global::AppStoreConnect.GameCenterChallengeVersionsSourceGenerationContext.TypeInfoResolver, - 111 => global::AppStoreConnect.GameCenterChallengesSourceGenerationContext.TypeInfoResolver, + 117 => global::AppStoreConnect.GameCenterChallengesSourceGenerationContext.TypeInfoResolver, - 112 => global::AppStoreConnect.GameCenterDetailPlayersSourceGenerationContext.TypeInfoResolver, + 118 => global::AppStoreConnect.GameCenterDetailPlayersSourceGenerationContext.TypeInfoResolver, - 113 => global::AppStoreConnect.GameCenterDetailsSourceGenerationContext.TypeInfoResolver, + 119 => global::AppStoreConnect.GameCenterDetailsSourceGenerationContext.TypeInfoResolver, - 114 => global::AppStoreConnect.GameCenterGroupsSourceGenerationContext.TypeInfoResolver, + 120 => global::AppStoreConnect.GameCenterGroupsSourceGenerationContext.TypeInfoResolver, - 115 => global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionsSourceGenerationContext.TypeInfoResolver, + 121 => global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionsSourceGenerationContext.TypeInfoResolver, - 116 => global::AppStoreConnect.GameCenterLeaderboardImagesSourceGenerationContext.TypeInfoResolver, + 122 => global::AppStoreConnect.GameCenterLeaderboardImagesSourceGenerationContext.TypeInfoResolver, - 117 => global::AppStoreConnect.GameCenterLeaderboardLocalizationsSourceGenerationContext.TypeInfoResolver, + 123 => global::AppStoreConnect.GameCenterLeaderboardLocalizationsSourceGenerationContext.TypeInfoResolver, - 118 => global::AppStoreConnect.GameCenterLeaderboardSetImagesSourceGenerationContext.TypeInfoResolver, + 124 => global::AppStoreConnect.GameCenterLeaderboardSetImagesSourceGenerationContext.TypeInfoResolver, - 119 => global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsSourceGenerationContext.TypeInfoResolver, + 125 => global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsSourceGenerationContext.TypeInfoResolver, - 120 => global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsSourceGenerationContext.TypeInfoResolver, + 126 => global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsSourceGenerationContext.TypeInfoResolver, - 121 => global::AppStoreConnect.GameCenterLeaderboardSetVersionsSourceGenerationContext.TypeInfoResolver, + 127 => global::AppStoreConnect.GameCenterLeaderboardSetVersionsSourceGenerationContext.TypeInfoResolver, - 122 => global::AppStoreConnect.GameCenterLeaderboardSetsSourceGenerationContext.TypeInfoResolver, + 128 => global::AppStoreConnect.GameCenterLeaderboardSetsSourceGenerationContext.TypeInfoResolver, - 123 => global::AppStoreConnect.GameCenterLeaderboardVersionsSourceGenerationContext.TypeInfoResolver, + 129 => global::AppStoreConnect.GameCenterLeaderboardVersionsSourceGenerationContext.TypeInfoResolver, - 124 => global::AppStoreConnect.GameCenterLeaderboardsSourceGenerationContext.TypeInfoResolver, + 130 => global::AppStoreConnect.GameCenterLeaderboardsSourceGenerationContext.TypeInfoResolver, - 125 => global::AppStoreConnect.GameCenterMatchmakingQueuesSourceGenerationContext.TypeInfoResolver, + 131 => global::AppStoreConnect.GameCenterMatchmakingQueuesSourceGenerationContext.TypeInfoResolver, - 126 => global::AppStoreConnect.GameCenterMatchmakingRuleSetTestsSourceGenerationContext.TypeInfoResolver, + 132 => global::AppStoreConnect.GameCenterMatchmakingRuleSetTestsSourceGenerationContext.TypeInfoResolver, - 127 => global::AppStoreConnect.GameCenterMatchmakingRuleSetsSourceGenerationContext.TypeInfoResolver, + 133 => global::AppStoreConnect.GameCenterMatchmakingRuleSetsSourceGenerationContext.TypeInfoResolver, - 128 => global::AppStoreConnect.GameCenterMatchmakingRulesSourceGenerationContext.TypeInfoResolver, + 134 => global::AppStoreConnect.GameCenterMatchmakingRulesSourceGenerationContext.TypeInfoResolver, - 129 => global::AppStoreConnect.GameCenterMatchmakingTeamsSourceGenerationContext.TypeInfoResolver, + 135 => global::AppStoreConnect.GameCenterMatchmakingTeamsSourceGenerationContext.TypeInfoResolver, - 130 => global::AppStoreConnect.GameCenterPlayerAchievementSubmissionsSourceGenerationContext.TypeInfoResolver, + 136 => global::AppStoreConnect.GameCenterPlayerAchievementSubmissionsSourceGenerationContext.TypeInfoResolver, - 131 => global::AppStoreConnect.GameCenterScoreModerationsSourceGenerationContext.TypeInfoResolver, + 137 => global::AppStoreConnect.GameCenterScoreModerationsSourceGenerationContext.TypeInfoResolver, - 132 => global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotsSourceGenerationContext.TypeInfoResolver, + 138 => global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotsSourceGenerationContext.TypeInfoResolver, - 133 => global::AppStoreConnect.InAppPurchaseAvailabilitiesSourceGenerationContext.TypeInfoResolver, + 139 => global::AppStoreConnect.InAppPurchaseAvailabilitiesSourceGenerationContext.TypeInfoResolver, - 134 => global::AppStoreConnect.InAppPurchaseContentsSourceGenerationContext.TypeInfoResolver, + 140 => global::AppStoreConnect.InAppPurchaseContentsSourceGenerationContext.TypeInfoResolver, - 135 => global::AppStoreConnect.InAppPurchaseImagesSourceGenerationContext.TypeInfoResolver, + 141 => global::AppStoreConnect.InAppPurchaseImagesSourceGenerationContext.TypeInfoResolver, - 136 => global::AppStoreConnect.InAppPurchaseLocalizationsSourceGenerationContext.TypeInfoResolver, + 142 => global::AppStoreConnect.InAppPurchaseLocalizationsSourceGenerationContext.TypeInfoResolver, - 137 => global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesSourceGenerationContext.TypeInfoResolver, + 143 => global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesSourceGenerationContext.TypeInfoResolver, - 138 => global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesSourceGenerationContext.TypeInfoResolver, + 144 => global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesSourceGenerationContext.TypeInfoResolver, - 139 => global::AppStoreConnect.InAppPurchaseOfferCodesSourceGenerationContext.TypeInfoResolver, + 145 => global::AppStoreConnect.InAppPurchaseOfferCodesSourceGenerationContext.TypeInfoResolver, - 140 => global::AppStoreConnect.InAppPurchasePricePointsSourceGenerationContext.TypeInfoResolver, + 146 => global::AppStoreConnect.InAppPurchasePricePointsSourceGenerationContext.TypeInfoResolver, - 141 => global::AppStoreConnect.InAppPurchasePriceSchedulesSourceGenerationContext.TypeInfoResolver, + 147 => global::AppStoreConnect.InAppPurchasePriceSchedulesSourceGenerationContext.TypeInfoResolver, - 142 => global::AppStoreConnect.InAppPurchaseSubmissionsSourceGenerationContext.TypeInfoResolver, + 148 => global::AppStoreConnect.InAppPurchaseSubmissionsSourceGenerationContext.TypeInfoResolver, - 143 => global::AppStoreConnect.InAppPurchaseVersionsSourceGenerationContext.TypeInfoResolver, + 149 => global::AppStoreConnect.InAppPurchaseVersionsSourceGenerationContext.TypeInfoResolver, - 144 => global::AppStoreConnect.InAppPurchasesSourceGenerationContext.TypeInfoResolver, + 150 => global::AppStoreConnect.InAppPurchasesSourceGenerationContext.TypeInfoResolver, - 145 => global::AppStoreConnect.MarketplaceSearchDetailsSourceGenerationContext.TypeInfoResolver, + 151 => global::AppStoreConnect.MarketplaceSearchDetailsSourceGenerationContext.TypeInfoResolver, - 146 => global::AppStoreConnect.MerchantIdsSourceGenerationContext.TypeInfoResolver, + 152 => global::AppStoreConnect.MerchantIdsSourceGenerationContext.TypeInfoResolver, - 147 => global::AppStoreConnect.NominationsSourceGenerationContext.TypeInfoResolver, + 153 => global::AppStoreConnect.NominationsSourceGenerationContext.TypeInfoResolver, - 148 => global::AppStoreConnect.PartitionOrphan0SourceGenerationContext.TypeInfoResolver, + 154 => global::AppStoreConnect.PartitionOrphan0SourceGenerationContext.TypeInfoResolver, - 149 => global::AppStoreConnect.PartitionOrphan1SourceGenerationContext.TypeInfoResolver, + 155 => global::AppStoreConnect.PartitionOrphan1SourceGenerationContext.TypeInfoResolver, - 150 => global::AppStoreConnect.PartitionOrphan2SourceGenerationContext.TypeInfoResolver, + 156 => global::AppStoreConnect.PartitionOrphan2SourceGenerationContext.TypeInfoResolver, - 151 => global::AppStoreConnect.PartitionOrphan3SourceGenerationContext.TypeInfoResolver, + 157 => global::AppStoreConnect.PartitionOrphan3SourceGenerationContext.TypeInfoResolver, - 152 => global::AppStoreConnect.PartitionOrphan4SourceGenerationContext.TypeInfoResolver, + 158 => global::AppStoreConnect.PartitionOrphan4SourceGenerationContext.TypeInfoResolver, - 153 => global::AppStoreConnect.PartitionOrphan5SourceGenerationContext.TypeInfoResolver, + 159 => global::AppStoreConnect.PartitionOrphan5SourceGenerationContext.TypeInfoResolver, - 154 => global::AppStoreConnect.PartitionOrphan6SourceGenerationContext.TypeInfoResolver, + 160 => global::AppStoreConnect.PartitionOrphan6SourceGenerationContext.TypeInfoResolver, - 155 => global::AppStoreConnect.PartitionOrphan7SourceGenerationContext.TypeInfoResolver, + 161 => global::AppStoreConnect.PartitionOrphan7SourceGenerationContext.TypeInfoResolver, - 156 => global::AppStoreConnect.PassTypeIdsSourceGenerationContext.TypeInfoResolver, + 162 => global::AppStoreConnect.PassTypeIdsSourceGenerationContext.TypeInfoResolver, - 157 => global::AppStoreConnect.PreReleaseVersionsSourceGenerationContext.TypeInfoResolver, + 163 => global::AppStoreConnect.PreReleaseVersionsSourceGenerationContext.TypeInfoResolver, - 158 => global::AppStoreConnect.ProfilesSourceGenerationContext.TypeInfoResolver, + 164 => global::AppStoreConnect.ProfilesSourceGenerationContext.TypeInfoResolver, - 159 => global::AppStoreConnect.PromotedPurchasesSourceGenerationContext.TypeInfoResolver, + 165 => global::AppStoreConnect.PromotedPurchasesSourceGenerationContext.TypeInfoResolver, - 160 => global::AppStoreConnect.ReviewSubmissionItemsSourceGenerationContext.TypeInfoResolver, + 166 => global::AppStoreConnect.ReviewSubmissionItemsSourceGenerationContext.TypeInfoResolver, - 161 => global::AppStoreConnect.ReviewSubmissionsSourceGenerationContext.TypeInfoResolver, + 167 => global::AppStoreConnect.ReviewSubmissionsSourceGenerationContext.TypeInfoResolver, - 162 => global::AppStoreConnect.RoutingAppCoveragesSourceGenerationContext.TypeInfoResolver, + 168 => global::AppStoreConnect.RoutingAppCoveragesSourceGenerationContext.TypeInfoResolver, - 163 => global::AppStoreConnect.SalesReportsSourceGenerationContext.TypeInfoResolver, + 169 => global::AppStoreConnect.SalesReportsSourceGenerationContext.TypeInfoResolver, - 164 => global::AppStoreConnect.SandboxTestersSourceGenerationContext.TypeInfoResolver, + 170 => global::AppStoreConnect.SandboxTestersSourceGenerationContext.TypeInfoResolver, - 165 => global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestSourceGenerationContext.TypeInfoResolver, + 171 => global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestSourceGenerationContext.TypeInfoResolver, - 166 => global::AppStoreConnect.ScmGitReferencesSourceGenerationContext.TypeInfoResolver, + 172 => global::AppStoreConnect.ScmGitReferencesSourceGenerationContext.TypeInfoResolver, - 167 => global::AppStoreConnect.ScmProvidersSourceGenerationContext.TypeInfoResolver, + 173 => global::AppStoreConnect.ScmProvidersSourceGenerationContext.TypeInfoResolver, - 168 => global::AppStoreConnect.ScmPullRequestsSourceGenerationContext.TypeInfoResolver, + 174 => global::AppStoreConnect.ScmPullRequestsSourceGenerationContext.TypeInfoResolver, - 169 => global::AppStoreConnect.ScmRepositoriesSourceGenerationContext.TypeInfoResolver, + 175 => global::AppStoreConnect.ScmRepositoriesSourceGenerationContext.TypeInfoResolver, - 170 => global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotsSourceGenerationContext.TypeInfoResolver, + 176 => global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotsSourceGenerationContext.TypeInfoResolver, - 171 => global::AppStoreConnect.SubscriptionGracePeriodsSourceGenerationContext.TypeInfoResolver, + 177 => global::AppStoreConnect.SubscriptionGracePeriodsSourceGenerationContext.TypeInfoResolver, - 172 => global::AppStoreConnect.SubscriptionGroupLocalizationsSourceGenerationContext.TypeInfoResolver, + 178 => global::AppStoreConnect.SubscriptionGroupLocalizationsSourceGenerationContext.TypeInfoResolver, - 173 => global::AppStoreConnect.SubscriptionGroupSubmissionsSourceGenerationContext.TypeInfoResolver, + 179 => global::AppStoreConnect.SubscriptionGroupSubmissionsSourceGenerationContext.TypeInfoResolver, - 174 => global::AppStoreConnect.SubscriptionGroupVersionsSourceGenerationContext.TypeInfoResolver, + 180 => global::AppStoreConnect.SubscriptionGroupVersionsSourceGenerationContext.TypeInfoResolver, - 175 => global::AppStoreConnect.SubscriptionGroupsSourceGenerationContext.TypeInfoResolver, + 181 => global::AppStoreConnect.SubscriptionGroupsSourceGenerationContext.TypeInfoResolver, - 176 => global::AppStoreConnect.SubscriptionImagesSourceGenerationContext.TypeInfoResolver, + 182 => global::AppStoreConnect.SubscriptionImagesSourceGenerationContext.TypeInfoResolver, - 177 => global::AppStoreConnect.SubscriptionIntroductoryOffersSourceGenerationContext.TypeInfoResolver, + 183 => global::AppStoreConnect.SubscriptionIntroductoryOffersSourceGenerationContext.TypeInfoResolver, - 178 => global::AppStoreConnect.SubscriptionLocalizationsSourceGenerationContext.TypeInfoResolver, + 184 => global::AppStoreConnect.SubscriptionLocalizationsSourceGenerationContext.TypeInfoResolver, - 179 => global::AppStoreConnect.SubscriptionOfferCodeCustomCodesSourceGenerationContext.TypeInfoResolver, + 185 => global::AppStoreConnect.SubscriptionOfferCodeCustomCodesSourceGenerationContext.TypeInfoResolver, - 180 => global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesSourceGenerationContext.TypeInfoResolver, + 186 => global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesSourceGenerationContext.TypeInfoResolver, - 181 => global::AppStoreConnect.SubscriptionOfferCodesSourceGenerationContext.TypeInfoResolver, + 187 => global::AppStoreConnect.SubscriptionOfferCodesSourceGenerationContext.TypeInfoResolver, - 182 => global::AppStoreConnect.SubscriptionPlanAvailabilitiesSourceGenerationContext.TypeInfoResolver, + 188 => global::AppStoreConnect.SubscriptionPlanAvailabilitiesSourceGenerationContext.TypeInfoResolver, - 183 => global::AppStoreConnect.SubscriptionPricePointsSourceGenerationContext.TypeInfoResolver, + 189 => global::AppStoreConnect.SubscriptionPricePointsSourceGenerationContext.TypeInfoResolver, - 184 => global::AppStoreConnect.SubscriptionPricesSourceGenerationContext.TypeInfoResolver, + 190 => global::AppStoreConnect.SubscriptionPricesSourceGenerationContext.TypeInfoResolver, - 185 => global::AppStoreConnect.SubscriptionPromotionalOffersSourceGenerationContext.TypeInfoResolver, + 191 => global::AppStoreConnect.SubscriptionPromotionalOffersSourceGenerationContext.TypeInfoResolver, - 186 => global::AppStoreConnect.SubscriptionSubmissionsSourceGenerationContext.TypeInfoResolver, + 192 => global::AppStoreConnect.SubscriptionSubmissionsSourceGenerationContext.TypeInfoResolver, - 187 => global::AppStoreConnect.SubscriptionVersionsSourceGenerationContext.TypeInfoResolver, + 193 => global::AppStoreConnect.SubscriptionVersionsSourceGenerationContext.TypeInfoResolver, - 188 => global::AppStoreConnect.SubscriptionsSourceGenerationContext.TypeInfoResolver, + 194 => global::AppStoreConnect.SubscriptionsSourceGenerationContext.TypeInfoResolver, - 189 => global::AppStoreConnect.TerritoriesSourceGenerationContext.TypeInfoResolver, + 195 => global::AppStoreConnect.TerritoriesSourceGenerationContext.TypeInfoResolver, - 190 => global::AppStoreConnect.TerritoryAvailabilitiesSourceGenerationContext.TypeInfoResolver, + 196 => global::AppStoreConnect.TerritoryAvailabilitiesSourceGenerationContext.TypeInfoResolver, - 191 => global::AppStoreConnect.UserInvitationsSourceGenerationContext.TypeInfoResolver, + 197 => global::AppStoreConnect.UserInvitationsSourceGenerationContext.TypeInfoResolver, - 192 => global::AppStoreConnect.UsersSourceGenerationContext.TypeInfoResolver, + 198 => global::AppStoreConnect.UsersSourceGenerationContext.TypeInfoResolver, - 193 => global::AppStoreConnect.WebhookDeliveriesSourceGenerationContext.TypeInfoResolver, + 199 => global::AppStoreConnect.WebhookDeliveriesSourceGenerationContext.TypeInfoResolver, - 194 => global::AppStoreConnect.WebhookPingsSourceGenerationContext.TypeInfoResolver, + 200 => global::AppStoreConnect.WebhookPingsSourceGenerationContext.TypeInfoResolver, - 195 => global::AppStoreConnect.WebhooksSourceGenerationContext.TypeInfoResolver, + 201 => global::AppStoreConnect.WebhooksSourceGenerationContext.TypeInfoResolver, - 196 => global::AppStoreConnect.WinBackOffersSourceGenerationContext.TypeInfoResolver, + 202 => global::AppStoreConnect.WinBackOffersSourceGenerationContext.TypeInfoResolver, _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonSerializerContextTypes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonSerializerContextTypes.g.cs index 549ad39a0..5fe1929d7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonSerializerContextTypes.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.JsonSerializerContextTypes.g.cs @@ -917,46983 +917,49087 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::AppStoreConnect.AppAvailabilityV2? Type221 { get; set; } + public global::AppStoreConnect.AppAssetLibrary? Type221 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2Type? Type222 { get; set; } + public global::AppStoreConnect.AppAssetLibraryType? Type222 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2Attributes? Type223 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRelationships? Type223 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2Relationships? Type224 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRelationshipsImages? Type224 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2RelationshipsTerritoryAvailabilities? Type225 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRelationshipsVideos? Type225 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type226 { get; set; } + public global::AppStoreConnect.AppAssetLibraryResponse? Type226 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2RelationshipsTerritoryAvailabilitiesDataItem? Type227 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImage? Type227 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2RelationshipsTerritoryAvailabilitiesDataItemType? Type228 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageType? Type228 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2Response? Type229 { get; set; } + public global::AppStoreConnect.Attributes? Type229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type230 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? Type230 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailability? Type231 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? Type231 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequest? Type232 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? Type232 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestData? Type233 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? Type233 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataType? Type234 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? Type234 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataAttributes? Type235 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? Type235 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationships? Type236 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? Type236 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsApp? Type237 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? Type237 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsAppData? Type238 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? Type238 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsAppDataType? Type239 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? Type239 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsTerritoryAvailabilities? Type240 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? Type240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type241 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator? Type241 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsTerritoryAvailabilitiesDataItem? Type242 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState? Type242 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsTerritoryAvailabilitiesDataItemType? Type243 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageRelationships? Type243 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type244 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements? Type244 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityInlineCreate? Type245 { get; set; } + public global::System.Collections.Generic.IList? Type245 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategory? Type246 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItem? Type246 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryType? Type247 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType? Type247 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryAttributes? Type248 { get; set; } + public global::AppStoreConnect.AppAssetLibraryAssetCategory? Type248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type249 { get; set; } + public global::AppStoreConnect.ImageAsset? Type249 { get; set; } /// /// /// - public global::AppStoreConnect.Platform? Type250 { get; set; } + public global::AppStoreConnect.AppAssetLibraryAssetState? Type250 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryRelationships? Type251 { get; set; } + public global::System.Collections.Generic.IList? Type251 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryRelationshipsSubcategories? Type252 { get; set; } + public global::AppStoreConnect.StateDetail? Type252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type253 { get; set; } + public object? Type253 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryRelationshipsSubcategoriesDataItem? Type254 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? Type254 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryRelationshipsSubcategoriesDataItemType? Type255 { get; set; } + public global::System.Collections.Generic.IList? Type255 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryRelationshipsParent? Type256 { get; set; } + public global::AppStoreConnect.UploadOperation? Type256 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryRelationshipsParentData? Type257 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? Type257 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryRelationshipsParentDataType? Type258 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? Type258 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoriesResponse? Type259 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesResponse? Type259 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type260 { get; set; } + public global::System.Collections.Generic.IList? Type260 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryResponse? Type261 { get; set; } + public global::System.Collections.Generic.IList? Type261 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImage? Type262 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacement? Type262 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageType? Type263 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageResponse? Type263 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageAttributes? Type264 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequest? Type264 { get; set; } /// /// /// - public int? Type265 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestData? Type265 { get; set; } /// /// /// - public global::AppStoreConnect.ImageAsset? Type266 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType? Type266 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type267 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes? Type267 { get; set; } /// /// /// - public global::AppStoreConnect.UploadOperation? Type268 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships? Type268 { get; set; } /// /// /// - public global::AppStoreConnect.AppMediaAssetState? Type269 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary? Type269 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageResponse? Type270 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData? Type270 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageCreateRequest? Type271 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType? Type271 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageCreateRequestData? Type272 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements? Type272 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageCreateRequestDataType? Type273 { get; set; } + public global::System.Collections.Generic.IList? Type273 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageCreateRequestDataAttributes? Type274 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem? Type274 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageUpdateRequest? Type275 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType? Type275 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageUpdateRequestData? Type276 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageUpdateRequest? Type276 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageUpdateRequestDataType? Type277 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData? Type277 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImageUpdateRequestDataAttributes? Type278 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType? Type278 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? Type279 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes? Type279 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationType? Type280 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest? Type280 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationAttributes? Type281 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType? Type281 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceLanguage? Type282 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships? Type282 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationInlineCreate? Type283 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements? Type283 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationInlineCreateType? Type284 { get; set; } + public global::System.Collections.Generic.IList? Type284 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationInlineCreateAttributes? Type285 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem? Type285 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperience? Type286 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType? Type286 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceType? Type287 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse? Type287 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributes? Type288 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest? Type288 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesStatus? Type289 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData? Type289 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAction? Type290 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType? Type290 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlace? Type291 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes? Type291 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceMainAddress? Type292 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships? Type292 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceMainAddressStructuredAddress? Type293 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements? Type293 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceDisplayPoint? Type294 { get; set; } + public global::System.Collections.Generic.IList? Type294 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceDisplayPointCoordinates? Type295 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem? Type295 { get; set; } /// /// /// - public double? Type296 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType? Type296 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceDisplayPointSource? Type297 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization? Type297 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceMapAction? Type298 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData? Type298 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceRelationship? Type299 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? Type299 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlacePhoneNumber? Type300 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization? Type300 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlacePhoneNumberType? Type301 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? Type301 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceStatus? Type302 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? Type302 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceAttributesBusinessCategory? Type303 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum? Type303 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationships? Type304 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2? Type304 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsAppClip? Type305 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3? Type305 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsAppClipData? Type306 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementType? Type306 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsAppClipDataType? Type307 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementAttributes? Type307 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsHeaderImage? Type308 { get; set; } + public global::AppStoreConnect.AppAssetLibraryMediaType? Type308 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsHeaderImageData? Type309 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementType2? Type309 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsHeaderImageDataType? Type310 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementState? Type310 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsLocalizations? Type311 { get; set; } + public global::AppStoreConnect.Relationships? Type311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type312 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? Type312 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsLocalizationsDataItem? Type313 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? Type313 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsLocalizationsDataItemType? Type314 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator? Type314 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperiencesResponse? Type315 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType? Type315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type316 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? Type316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type317 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization? Type317 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem3? Type318 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData? Type318 { get; set; } /// /// /// - public global::AppStoreConnect.AppClip? Type319 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType? Type319 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminator? Type320 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization? Type320 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType? Type321 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData? Type321 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceResponse? Type322 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType? Type322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type323 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization? Type323 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem4? Type324 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData? Type324 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminator? Type325 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType? Type325 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType? Type326 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type326 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequest? Type327 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type327 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestData? Type328 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type328 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataType? Type329 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? Type329 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributes? Type330 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes? Type330 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlace? Type331 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? Type331 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceMainAddress? Type332 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image? Type332 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceMainAddressStructuredAddress? Type333 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData? Type333 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceDisplayPoint? Type334 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType? Type334 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceDisplayPointCoordinates? Type335 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? Type335 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceDisplayPointSource? Type336 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video? Type336 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceMapAction? Type337 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData? Type337 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceRelationship? Type338 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType? Type338 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlacePhoneNumber? Type339 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsResponse? Type339 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlacePhoneNumberType? Type340 { get; set; } + public global::System.Collections.Generic.IList? Type340 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesBusinessCategory? Type341 { get; set; } + public global::AppStoreConnect.IncludedItem3? Type341 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationships? Type342 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideo? Type342 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsAppClip? Type343 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalization? Type343 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsAppClipData? Type344 { get; set; } + public global::AppStoreConnect.AppEventLocalization? Type344 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsAppClipDataType? Type345 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? Type345 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsHeaderImage? Type346 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalization? Type346 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsHeaderImageData? Type347 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator? Type347 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsHeaderImageDataType? Type348 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType? Type348 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsLocalizations? Type349 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementResponse? Type349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type350 { get; set; } + public global::System.Collections.Generic.IList? Type350 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsLocalizationsDataItem? Type351 { get; set; } + public global::AppStoreConnect.IncludedItem4? Type351 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsLocalizationsDataItemType? Type352 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator? Type352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type353 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType? Type353 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequest? Type354 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest? Type354 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestData? Type355 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData? Type355 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataType? Type356 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType? Type356 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributes? Type357 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes? Type357 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlace? Type358 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships? Type358 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceMainAddress? Type359 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage? Type359 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceMainAddressStructuredAddress? Type360 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData? Type360 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceDisplayPoint? Type361 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType? Type361 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceDisplayPointCoordinates? Type362 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo? Type362 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceDisplayPointSource? Type363 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData? Type363 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceMapAction? Type364 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType? Type364 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceRelationship? Type365 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization? Type365 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlacePhoneNumber? Type366 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData? Type366 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlacePhoneNumberType? Type367 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType? Type367 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesBusinessCategory? Type368 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization? Type368 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationships? Type369 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData? Type369 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsAppClip? Type370 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? Type370 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsAppClipData? Type371 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization? Type371 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsAppClipDataType? Type372 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? Type372 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsHeaderImage? Type373 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? Type373 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsHeaderImageData? Type374 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type374 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsHeaderImageDataType? Type375 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type375 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsLocalizations? Type376 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type377 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum? Type377 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsLocalizationsDataItem? Type378 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum2? Type378 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsLocalizationsDataItemType? Type379 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum3? Type379 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetail? Type380 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum4? Type380 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailType? Type381 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum5? Type381 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailAttributes? Type382 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum6? Type382 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailRelationships? Type383 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum7? Type383 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailRelationshipsAppClipDefaultExperience? Type384 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum8? Type384 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailRelationshipsAppClipDefaultExperienceData? Type385 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatum? Type385 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailRelationshipsAppClipDefaultExperienceDataType? Type386 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumType? Type386 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailResponse? Type387 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributes? Type387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type388 { get; set; } + public global::System.Collections.Generic.IList? Type388 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperience? Type389 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeature? Type389 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequest? Type390 { get; set; } + public global::AppStoreConnect.AppAssetLibraryFeature? Type390 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestData? Type391 { get; set; } + public global::System.Collections.Generic.IList? Type391 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataType? Type392 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie? Type392 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataAttributes? Type393 { get; set; } + public global::System.Collections.Generic.IList? Type393 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataRelationships? Type394 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit? Type394 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataRelationshipsAppClipDefaultExperience? Type395 { get; set; } + public int? Type395 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataRelationshipsAppClipDefaultExperienceData? Type396 { get; set; } + public global::System.Collections.Generic.IList? Type396 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataRelationshipsAppClipDefaultExperienceDataType? Type397 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementProfileGroup? Type397 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailUpdateRequest? Type398 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementPlatform? Type398 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailUpdateRequestData? Type399 { get; set; } + public global::AppStoreConnect.AppAssetLibraryDisplayClass? Type399 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailUpdateRequestDataType? Type400 { get; set; } + public global::System.Collections.Generic.IList? Type400 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailUpdateRequestDataAttributes? Type401 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpec? Type401 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalization? Type402 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions? Type402 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationType? Type403 { get; set; } + public global::System.Collections.Generic.IList? Type403 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationAttributes? Type404 { get; set; } + public global::System.Collections.Generic.IList? Type404 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationships? Type405 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpec? Type405 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipDefaultExperience? Type406 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions? Type406 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipDefaultExperienceData? Type407 { get; set; } + public global::System.Collections.Generic.IList? Type407 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipDefaultExperienceDataType? Type408 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate? Type408 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImage? Type409 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration? Type409 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImageData? Type410 { get; set; } + public global::System.Collections.Generic.IList? Type410 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImageDataType? Type411 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementType? Type411 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponse? Type412 { get; set; } + public global::System.Collections.Generic.IList? Type412 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type413 { get; set; } + public global::System.Collections.Generic.IList? Type413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type414 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping? Type414 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem5? Type415 { get; set; } + public global::System.Collections.Generic.IList? Type415 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImage? Type416 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesDisplayClasse? Type416 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminator? Type417 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDataResponse? Type417 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType? Type418 { get; set; } + public global::System.Collections.Generic.IList? Type418 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponse? Type419 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDatumResponse? Type419 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type420 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoType? Type420 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem6? Type421 { get; set; } + public global::AppStoreConnect.Attributes2? Type421 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminator? Type422 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? Type422 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType? Type423 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? Type423 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequest? Type424 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? Type424 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestData? Type425 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? Type425 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataType? Type426 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? Type426 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataAttributes? Type427 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? Type427 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataRelationships? Type428 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? Type428 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataRelationshipsAppClipDefaultExperience? Type429 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? Type429 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataRelationshipsAppClipDefaultExperienceData? Type430 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? Type430 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataRelationshipsAppClipDefaultExperienceDataType? Type431 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? Type431 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationUpdateRequest? Type432 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? Type432 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationUpdateRequestData? Type433 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator? Type433 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationUpdateRequestDataType? Type434 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState? Type434 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationUpdateRequestDataAttributes? Type435 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoRelationships? Type435 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceType? Type436 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements? Type436 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceAttributes? Type437 { get; set; } + public global::System.Collections.Generic.IList? Type437 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationships? Type438 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItem? Type438 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClip? Type439 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType? Type439 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipData? Type440 { get; set; } + public global::AppStoreConnect.PreviewFrameImage? Type440 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDataType? Type441 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? Type441 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsReleaseWithAppStoreVersion? Type442 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? Type442 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsReleaseWithAppStoreVersionData? Type443 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? Type443 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsReleaseWithAppStoreVersionDataType? Type444 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosResponse? Type444 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDefaultExperienceLocalizations? Type445 { get; set; } + public global::System.Collections.Generic.IList? Type445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type446 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoResponse? Type446 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDefaultExperienceLocalizationsDataItem? Type447 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequest? Type447 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDefaultExperienceLocalizationsDataItemType? Type448 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData? Type448 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetail? Type449 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType? Type449 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetailData? Type450 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes? Type450 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetailDataType? Type451 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships? Type451 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesResponse? Type452 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary? Type452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type453 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData? Type453 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem7? Type454 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType? Type454 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersion? Type455 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements? Type455 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminator? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType? Type457 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem? Type457 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceResponse? Type458 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType? Type458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type459 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest? Type459 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem8? Type460 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData? Type460 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminator? Type461 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType? Type461 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType? Type462 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes? Type462 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequest? Type463 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2? Type463 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestData? Type464 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2Type? Type464 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataType? Type465 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2Attributes? Type465 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataAttributes? Type466 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2Relationships? Type466 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationships? Type467 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2RelationshipsTerritoryAvailabilities? Type467 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClip? Type468 { get; set; } + public global::System.Collections.Generic.IList? Type468 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipData? Type469 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2RelationshipsTerritoryAvailabilitiesDataItem? Type469 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipDataType? Type470 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2RelationshipsTerritoryAvailabilitiesDataItemType? Type470 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsReleaseWithAppStoreVersion? Type471 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2Response? Type471 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsReleaseWithAppStoreVersionData? Type472 { get; set; } + public global::System.Collections.Generic.IList? Type472 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsReleaseWithAppStoreVersionDataType? Type473 { get; set; } + public global::AppStoreConnect.TerritoryAvailability? Type473 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipDefaultExperienceTemplate? Type474 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequest? Type474 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipDefaultExperienceTemplateData? Type475 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestData? Type475 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipDefaultExperienceTemplateDataType? Type476 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataType? Type476 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequest? Type477 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataAttributes? Type477 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestData? Type478 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationships? Type478 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataType? Type479 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsApp? Type479 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataAttributes? Type480 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsAppData? Type480 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataRelationships? Type481 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsAppDataType? Type481 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataRelationshipsReleaseWithAppStoreVersion? Type482 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsTerritoryAvailabilities? Type482 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataRelationshipsReleaseWithAppStoreVersionData? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataRelationshipsReleaseWithAppStoreVersionDataType? Type484 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsTerritoryAvailabilitiesDataItem? Type484 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDomainStatus? Type485 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2CreateRequestDataRelationshipsTerritoryAvailabilitiesDataItemType? Type485 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDomainStatusType? Type486 { get; set; } + public global::System.Collections.Generic.IList? Type486 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDomainStatusAttributes? Type487 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityInlineCreate? Type487 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type488 { get; set; } + public global::AppStoreConnect.AppCategory? Type488 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDomainStatusAttributesDomain? Type489 { get; set; } + public global::AppStoreConnect.AppCategoryType? Type489 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDomainStatusAttributesDomainErrorCode? Type490 { get; set; } + public global::AppStoreConnect.AppCategoryAttributes? Type490 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDomainStatusResponse? Type491 { get; set; } + public global::System.Collections.Generic.IList? Type491 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageType? Type492 { get; set; } + public global::AppStoreConnect.Platform? Type492 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageAttributes? Type493 { get; set; } + public global::AppStoreConnect.AppCategoryRelationships? Type493 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageRelationships? Type494 { get; set; } + public global::AppStoreConnect.AppCategoryRelationshipsSubcategories? Type494 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageRelationshipsAppClipDefaultExperienceLocalization? Type495 { get; set; } + public global::System.Collections.Generic.IList? Type495 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageRelationshipsAppClipDefaultExperienceLocalizationData? Type496 { get; set; } + public global::AppStoreConnect.AppCategoryRelationshipsSubcategoriesDataItem? Type496 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageRelationshipsAppClipDefaultExperienceLocalizationDataType? Type497 { get; set; } + public global::AppStoreConnect.AppCategoryRelationshipsSubcategoriesDataItemType? Type497 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageResponse? Type498 { get; set; } + public global::AppStoreConnect.AppCategoryRelationshipsParent? Type498 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageCreateRequest? Type499 { get; set; } + public global::AppStoreConnect.AppCategoryRelationshipsParentData? Type499 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageCreateRequestData? Type500 { get; set; } + public global::AppStoreConnect.AppCategoryRelationshipsParentDataType? Type500 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataType? Type501 { get; set; } + public global::AppStoreConnect.AppCategoriesResponse? Type501 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataAttributes? Type502 { get; set; } + public global::System.Collections.Generic.IList? Type502 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataRelationships? Type503 { get; set; } + public global::AppStoreConnect.AppCategoryResponse? Type503 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataRelationshipsAppClipDefaultExperienceLocalization? Type504 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImage? Type504 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataRelationshipsAppClipDefaultExperienceLocalizationData? Type505 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageType? Type505 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataRelationshipsAppClipDefaultExperienceLocalizationDataType? Type506 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageAttributes? Type506 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageUpdateRequest? Type507 { get; set; } + public global::AppStoreConnect.AppMediaAssetState? Type507 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageUpdateRequestData? Type508 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageResponse? Type508 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageUpdateRequestDataType? Type509 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageCreateRequest? Type509 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImageUpdateRequestDataAttributes? Type510 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageCreateRequestData? Type510 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipType? Type511 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageCreateRequestDataType? Type511 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAttributes? Type512 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageCreateRequestDataAttributes? Type512 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipRelationships? Type513 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageUpdateRequest? Type513 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipRelationshipsApp? Type514 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageUpdateRequestData? Type514 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipRelationshipsAppData? Type515 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageUpdateRequestDataType? Type515 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipRelationshipsAppDataType? Type516 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImageUpdateRequestDataAttributes? Type516 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipRelationshipsAppClipDefaultExperiences? Type517 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? Type517 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type518 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationType? Type518 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipRelationshipsAppClipDefaultExperiencesDataItem? Type519 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationAttributes? Type519 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipRelationshipsAppClipDefaultExperiencesDataItemType? Type520 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceLanguage? Type520 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipRelationshipsAppClipAdvancedExperiences? Type521 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationInlineCreate? Type521 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsResponse? Type522 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationInlineCreateType? Type522 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type523 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalizationInlineCreateAttributes? Type523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type524 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperience? Type524 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem9? Type525 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceType? Type525 { get; set; } /// /// /// - public global::AppStoreConnect.App? Type526 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributes? Type526 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminator? Type527 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesStatus? Type527 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType? Type528 { get; set; } + public global::AppStoreConnect.AppClipAction? Type528 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipResponse? Type529 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlace? Type529 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type530 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceMainAddress? Type530 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem10? Type531 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceMainAddressStructuredAddress? Type531 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipResponseIncludedItemDiscriminator? Type532 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceDisplayPoint? Type532 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType? Type533 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceDisplayPointCoordinates? Type533 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalization? Type534 { get; set; } + public double? Type534 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationType? Type535 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceDisplayPointSource? Type535 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationAttributes? Type536 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceMapAction? Type536 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationships? Type537 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceRelationship? Type537 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppCustomProductPageVersion? Type538 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlacePhoneNumber? Type538 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppCustomProductPageVersionData? Type539 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlacePhoneNumberType? Type539 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppCustomProductPageVersionDataType? Type540 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesPlaceStatus? Type540 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppScreenshotSets? Type541 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceAttributesBusinessCategory? Type541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type542 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationships? Type542 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppScreenshotSetsDataItem? Type543 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsAppClip? Type543 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppScreenshotSetsDataItemType? Type544 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsAppClipData? Type544 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppPreviewSets? Type545 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsAppClipDataType? Type545 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type546 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsHeaderImage? Type546 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppPreviewSetsDataItem? Type547 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsHeaderImageData? Type547 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppPreviewSetsDataItemType? Type548 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsHeaderImageDataType? Type548 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywords? Type549 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsLocalizations? Type549 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type550 { get; set; } + public global::System.Collections.Generic.IList? Type550 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItem? Type551 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsLocalizationsDataItem? Type551 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemType? Type552 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsLocalizationsDataItemType? Type552 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreate? Type553 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperiencesResponse? Type553 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateType? Type554 { get; set; } + public global::System.Collections.Generic.IList? Type554 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateAttributes? Type555 { get; set; } + public global::System.Collections.Generic.IList? Type555 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationships? Type556 { get; set; } + public global::AppStoreConnect.IncludedItem5? Type556 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersion? Type557 { get; set; } + public global::AppStoreConnect.AppClip? Type557 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionData? Type558 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminator? Type558 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataType? Type559 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType? Type559 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsResponse? Type560 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceResponse? Type560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type561 { get; set; } + public global::System.Collections.Generic.IList? Type561 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type562 { get; set; } + public global::AppStoreConnect.IncludedItem6? Type562 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem11? Type563 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminator? Type563 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersion? Type564 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType? Type564 { get; set; } /// /// /// - public global::AppStoreConnect.AppKeyword? Type565 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequest? Type565 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSet? Type566 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestData? Type566 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSet? Type567 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataType? Type567 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminator? Type568 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributes? Type568 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType? Type569 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlace? Type569 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationResponse? Type570 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceMainAddress? Type570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type571 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceMainAddressStructuredAddress? Type571 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem12? Type572 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceDisplayPoint? Type572 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminator? Type573 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceDisplayPointCoordinates? Type573 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType? Type574 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceDisplayPointSource? Type574 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequest? Type575 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceMapAction? Type575 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestData? Type576 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlaceRelationship? Type576 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataType? Type577 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlacePhoneNumber? Type577 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataAttributes? Type578 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesPlacePhoneNumberType? Type578 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationships? Type579 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataAttributesBusinessCategory? Type579 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersion? Type580 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationships? Type580 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionData? Type581 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsAppClip? Type581 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataType? Type582 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsAppClipData? Type582 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequest? Type583 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsAppClipDataType? Type583 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestData? Type584 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsHeaderImage? Type584 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType? Type585 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsHeaderImageData? Type585 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataAttributes? Type586 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsHeaderImageDataType? Type586 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionType? Type587 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsLocalizations? Type587 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionAttributes? Type588 { get; set; } + public global::System.Collections.Generic.IList? Type588 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionAttributesState? Type589 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsLocalizationsDataItem? Type589 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionRelationships? Type590 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceCreateRequestDataRelationshipsLocalizationsDataItemType? Type590 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPage? Type591 { get; set; } + public global::System.Collections.Generic.IList? Type591 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageData? Type592 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequest? Type592 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageDataType? Type593 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestData? Type593 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizations? Type594 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataType? Type594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type595 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributes? Type595 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizationsDataItem? Type596 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlace? Type596 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizationsDataItemType? Type597 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceMainAddress? Type597 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreate? Type598 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceMainAddressStructuredAddress? Type598 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateType? Type599 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceDisplayPoint? Type599 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateAttributes? Type600 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceDisplayPointCoordinates? Type600 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationships? Type601 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceDisplayPointSource? Type601 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPage? Type602 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceMapAction? Type602 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageData? Type603 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlaceRelationship? Type603 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageDataType? Type604 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlacePhoneNumber? Type604 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageLocalizations? Type605 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesPlacePhoneNumberType? Type605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type606 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataAttributesBusinessCategory? Type606 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageLocalizationsDataItem? Type607 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationships? Type607 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageLocalizationsDataItemType? Type608 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsAppClip? Type608 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsResponse? Type609 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsAppClipData? Type609 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type610 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsAppClipDataType? Type610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type611 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsHeaderImage? Type611 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem13? Type612 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsHeaderImageData? Type612 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPage? Type613 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsHeaderImageDataType? Type613 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminator? Type614 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsLocalizations? Type614 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType? Type615 { get; set; } + public global::System.Collections.Generic.IList? Type615 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionResponse? Type616 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsLocalizationsDataItem? Type616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type617 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceUpdateRequestDataRelationshipsLocalizationsDataItemType? Type617 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem14? Type618 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetail? Type618 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminator? Type619 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailType? Type619 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType? Type620 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailAttributes? Type620 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequest? Type621 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailRelationships? Type621 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestData? Type622 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailRelationshipsAppClipDefaultExperience? Type622 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataType? Type623 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailRelationshipsAppClipDefaultExperienceData? Type623 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataAttributes? Type624 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailRelationshipsAppClipDefaultExperienceDataType? Type624 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationships? Type625 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailResponse? Type625 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPage? Type626 { get; set; } + public global::System.Collections.Generic.IList? Type626 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageData? Type627 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperience? Type627 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageDataType? Type628 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequest? Type628 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageLocalizations? Type629 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestData? Type629 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type630 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataType? Type630 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageLocalizationsDataItem? Type631 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataAttributes? Type631 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageLocalizationsDataItemType? Type632 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataRelationships? Type632 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionUpdateRequest? Type633 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataRelationshipsAppClipDefaultExperience? Type633 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionUpdateRequestData? Type634 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataRelationshipsAppClipDefaultExperienceData? Type634 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionUpdateRequestDataType? Type635 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailCreateRequestDataRelationshipsAppClipDefaultExperienceDataType? Type635 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionUpdateRequestDataAttributes? Type636 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailUpdateRequest? Type636 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageType? Type637 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailUpdateRequestData? Type637 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageAttributes? Type638 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailUpdateRequestDataType? Type638 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageRelationships? Type639 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailUpdateRequestDataAttributes? Type639 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageRelationshipsApp? Type640 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalization? Type640 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageRelationshipsAppData? Type641 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationType? Type641 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageRelationshipsAppDataType? Type642 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationAttributes? Type642 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageRelationshipsAppCustomProductPageVersions? Type643 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationships? Type643 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type644 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipDefaultExperience? Type644 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageRelationshipsAppCustomProductPageVersionsDataItem? Type645 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipDefaultExperienceData? Type645 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageRelationshipsAppCustomProductPageVersionsDataItemType? Type646 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipDefaultExperienceDataType? Type646 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesResponse? Type647 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImage? Type647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type648 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImageData? Type648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type649 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImageDataType? Type649 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem15? Type650 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponse? Type650 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminator? Type651 { get; set; } + public global::System.Collections.Generic.IList? Type651 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType? Type652 { get; set; } + public global::System.Collections.Generic.IList? Type652 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageResponse? Type653 { get; set; } + public global::AppStoreConnect.IncludedItem7? Type653 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type654 { get; set; } + public global::AppStoreConnect.AppClipHeaderImage? Type654 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem16? Type655 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminator? Type655 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminator? Type656 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType? Type656 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType? Type657 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponse? Type657 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequest? Type658 { get; set; } + public global::System.Collections.Generic.IList? Type658 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestData? Type659 { get; set; } + public global::AppStoreConnect.IncludedItem8? Type659 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataType? Type660 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminator? Type660 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataAttributes? Type661 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType? Type661 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationships? Type662 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequest? Type662 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsApp? Type663 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestData? Type663 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppData? Type664 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataType? Type664 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppDataType? Type665 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataAttributes? Type665 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppCustomProductPageVersions? Type666 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataRelationships? Type666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type667 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataRelationshipsAppClipDefaultExperience? Type667 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppCustomProductPageVersionsDataItem? Type668 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataRelationshipsAppClipDefaultExperienceData? Type668 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppCustomProductPageVersionsDataItemType? Type669 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationCreateRequestDataRelationshipsAppClipDefaultExperienceDataType? Type669 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppStoreVersionTemplate? Type670 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationUpdateRequest? Type670 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppStoreVersionTemplateData? Type671 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationUpdateRequestData? Type671 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppStoreVersionTemplateDataType? Type672 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationUpdateRequestDataType? Type672 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsCustomProductPageTemplate? Type673 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationUpdateRequestDataAttributes? Type673 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsCustomProductPageTemplateData? Type674 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceType? Type674 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsCustomProductPageTemplateDataType? Type675 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceAttributes? Type675 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type676 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationships? Type676 { get; set; } /// /// /// - public global::AppStoreConnect.OneOf? Type677 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClip? Type677 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageUpdateRequest? Type678 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipData? Type678 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageUpdateRequestData? Type679 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDataType? Type679 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageUpdateRequestDataType? Type680 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsReleaseWithAppStoreVersion? Type680 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageUpdateRequestDataAttributes? Type681 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsReleaseWithAppStoreVersionData? Type681 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocument? Type682 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsReleaseWithAppStoreVersionDataType? Type682 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentType? Type683 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDefaultExperienceLocalizations? Type683 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentAttributes? Type684 { get; set; } + public global::System.Collections.Generic.IList? Type684 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentResponse? Type685 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDefaultExperienceLocalizationsDataItem? Type685 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequest? Type686 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDefaultExperienceLocalizationsDataItemType? Type686 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestData? Type687 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetail? Type687 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataType? Type688 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetailData? Type688 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataAttributes? Type689 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetailDataType? Type689 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataRelationships? Type690 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesResponse? Type690 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataRelationshipsAppEncryptionDeclaration? Type691 { get; set; } + public global::System.Collections.Generic.IList? Type691 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataRelationshipsAppEncryptionDeclarationData? Type692 { get; set; } + public global::AppStoreConnect.IncludedItem9? Type692 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataRelationshipsAppEncryptionDeclarationDataType? Type693 { get; set; } + public global::AppStoreConnect.AppStoreVersion? Type693 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentUpdateRequest? Type694 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminator? Type694 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentUpdateRequestData? Type695 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType? Type695 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentUpdateRequestDataType? Type696 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceResponse? Type696 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentUpdateRequestDataAttributes? Type697 { get; set; } + public global::System.Collections.Generic.IList? Type697 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclaration? Type698 { get; set; } + public global::AppStoreConnect.IncludedItem10? Type698 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationType? Type699 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminator? Type699 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationAttributes? Type700 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType? Type700 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationState? Type701 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequest? Type701 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationships? Type702 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestData? Type702 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsApp? Type703 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataType? Type703 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppData? Type704 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataAttributes? Type704 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppDataType? Type705 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationships? Type705 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsBuilds? Type706 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClip? Type706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type707 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipData? Type707 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsBuildsDataItem? Type708 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipDataType? Type708 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsBuildsDataItemType? Type709 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsReleaseWithAppStoreVersion? Type709 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppEncryptionDeclarationDocument? Type710 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsReleaseWithAppStoreVersionData? Type710 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppEncryptionDeclarationDocumentData? Type711 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsReleaseWithAppStoreVersionDataType? Type711 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppEncryptionDeclarationDocumentDataType? Type712 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipDefaultExperienceTemplate? Type712 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsResponse? Type713 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipDefaultExperienceTemplateData? Type713 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type714 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceCreateRequestDataRelationshipsAppClipDefaultExperienceTemplateDataType? Type714 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type715 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequest? Type715 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem18? Type716 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestData? Type716 { get; set; } /// /// /// - public global::AppStoreConnect.Build? Type717 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataType? Type717 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminator? Type718 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataAttributes? Type718 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType? Type719 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataRelationships? Type719 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationResponse? Type720 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataRelationshipsReleaseWithAppStoreVersion? Type720 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type721 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataRelationshipsReleaseWithAppStoreVersionData? Type721 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem19? Type722 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceUpdateRequestDataRelationshipsReleaseWithAppStoreVersionDataType? Type722 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminator? Type723 { get; set; } + public global::AppStoreConnect.AppClipDomainStatus? Type723 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType? Type724 { get; set; } + public global::AppStoreConnect.AppClipDomainStatusType? Type724 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationCreateRequest? Type725 { get; set; } + public global::AppStoreConnect.AppClipDomainStatusAttributes? Type725 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestData? Type726 { get; set; } + public global::System.Collections.Generic.IList? Type726 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataType? Type727 { get; set; } + public global::AppStoreConnect.AppClipDomainStatusAttributesDomain? Type727 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataAttributes? Type728 { get; set; } + public global::AppStoreConnect.AppClipDomainStatusAttributesDomainErrorCode? Type728 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataRelationships? Type729 { get; set; } + public global::AppStoreConnect.AppClipDomainStatusResponse? Type729 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataRelationshipsApp? Type730 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageType? Type730 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataRelationshipsAppData? Type731 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageAttributes? Type731 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataRelationshipsAppDataType? Type732 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageRelationships? Type732 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalization? Type733 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageRelationshipsAppClipDefaultExperienceLocalization? Type733 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationType? Type734 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageRelationshipsAppClipDefaultExperienceLocalizationData? Type734 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationAttributes? Type735 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageRelationshipsAppClipDefaultExperienceLocalizationDataType? Type735 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationships? Type736 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageResponse? Type736 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEvent? Type737 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageCreateRequest? Type737 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventData? Type738 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageCreateRequestData? Type738 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventDataType? Type739 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataType? Type739 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventScreenshots? Type740 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataAttributes? Type740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type741 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataRelationships? Type741 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventScreenshotsDataItem? Type742 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataRelationshipsAppClipDefaultExperienceLocalization? Type742 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventScreenshotsDataItemType? Type743 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataRelationshipsAppClipDefaultExperienceLocalizationData? Type743 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClips? Type744 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageCreateRequestDataRelationshipsAppClipDefaultExperienceLocalizationDataType? Type744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type745 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageUpdateRequest? Type745 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClipsDataItem? Type746 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageUpdateRequestData? Type746 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClipsDataItemType? Type747 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageUpdateRequestDataType? Type747 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsResponse? Type748 { get; set; } + public global::AppStoreConnect.AppClipHeaderImageUpdateRequestDataAttributes? Type748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type749 { get; set; } + public global::AppStoreConnect.AppClipType? Type749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type750 { get; set; } + public global::AppStoreConnect.AppClipAttributes? Type750 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem20? Type751 { get; set; } + public global::AppStoreConnect.AppClipRelationships? Type751 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshot? Type752 { get; set; } + public global::AppStoreConnect.AppClipRelationshipsApp? Type752 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClip? Type753 { get; set; } + public global::AppStoreConnect.AppClipRelationshipsAppData? Type753 { get; set; } /// /// /// - public global::AppStoreConnect.AppEvent? Type754 { get; set; } + public global::AppStoreConnect.AppClipRelationshipsAppDataType? Type754 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminator? Type755 { get; set; } + public global::AppStoreConnect.AppClipRelationshipsAppClipDefaultExperiences? Type755 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType? Type756 { get; set; } + public global::System.Collections.Generic.IList? Type756 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationResponse? Type757 { get; set; } + public global::AppStoreConnect.AppClipRelationshipsAppClipDefaultExperiencesDataItem? Type757 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type758 { get; set; } + public global::AppStoreConnect.AppClipRelationshipsAppClipDefaultExperiencesDataItemType? Type758 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem21? Type759 { get; set; } + public global::AppStoreConnect.AppClipRelationshipsAppClipAdvancedExperiences? Type759 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminator? Type760 { get; set; } + public global::AppStoreConnect.AppClipsResponse? Type760 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType? Type761 { get; set; } + public global::System.Collections.Generic.IList? Type761 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationCreateRequest? Type762 { get; set; } + public global::System.Collections.Generic.IList? Type762 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationCreateRequestData? Type763 { get; set; } + public global::AppStoreConnect.IncludedItem11? Type763 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationCreateRequestDataType? Type764 { get; set; } + public global::AppStoreConnect.App? Type764 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationCreateRequestDataAttributes? Type765 { get; set; } + public global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminator? Type765 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationships? Type766 { get; set; } + public global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType? Type766 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEvent? Type767 { get; set; } + public global::AppStoreConnect.AppClipResponse? Type767 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEventData? Type768 { get; set; } + public global::System.Collections.Generic.IList? Type768 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEventDataType? Type769 { get; set; } + public global::AppStoreConnect.IncludedItem12? Type769 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationUpdateRequest? Type770 { get; set; } + public global::AppStoreConnect.AppClipResponseIncludedItemDiscriminator? Type770 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationUpdateRequestData? Type771 { get; set; } + public global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType? Type771 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType? Type772 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationType? Type772 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationUpdateRequestDataAttributes? Type773 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationAttributes? Type773 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotType? Type774 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationships? Type774 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotAttributes? Type775 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppCustomProductPageVersion? Type775 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventAssetType? Type776 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppCustomProductPageVersionData? Type776 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotRelationships? Type777 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppCustomProductPageVersionDataType? Type777 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotRelationshipsAppEventLocalization? Type778 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppScreenshotSets? Type778 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotRelationshipsAppEventLocalizationData? Type779 { get; set; } + public global::System.Collections.Generic.IList? Type779 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotRelationshipsAppEventLocalizationDataType? Type780 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppScreenshotSetsDataItem? Type780 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotsResponse? Type781 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppScreenshotSetsDataItemType? Type781 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type782 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppPreviewSets? Type782 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotResponse? Type783 { get; set; } + public global::System.Collections.Generic.IList? Type783 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotCreateRequest? Type784 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppPreviewSetsDataItem? Type784 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotCreateRequestData? Type785 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppPreviewSetsDataItemType? Type785 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotCreateRequestDataType? Type786 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywords? Type786 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotCreateRequestDataAttributes? Type787 { get; set; } + public global::System.Collections.Generic.IList? Type787 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotCreateRequestDataRelationships? Type788 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItem? Type788 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotCreateRequestDataRelationshipsAppEventLocalization? Type789 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemType? Type789 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotCreateRequestDataRelationshipsAppEventLocalizationData? Type790 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements? Type790 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotCreateRequestDataRelationshipsAppEventLocalizationDataType? Type791 { get; set; } + public global::System.Collections.Generic.IList? Type791 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotUpdateRequest? Type792 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem? Type792 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotUpdateRequestData? Type793 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType? Type793 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotUpdateRequestDataType? Type794 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreate? Type794 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotUpdateRequestDataAttributes? Type795 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateType? Type795 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipType? Type796 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateAttributes? Type796 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipAttributes? Type797 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationships? Type797 { get; set; } /// /// /// - public global::AppStoreConnect.PreviewFrameImage? Type798 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersion? Type798 { get; set; } /// /// /// - public global::AppStoreConnect.AppMediaVideoState? Type799 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionData? Type799 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipRelationships? Type800 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersionDataType? Type800 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipRelationshipsAppEventLocalization? Type801 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements? Type801 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipRelationshipsAppEventLocalizationData? Type802 { get; set; } + public global::System.Collections.Generic.IList? Type802 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipRelationshipsAppEventLocalizationDataType? Type803 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem? Type803 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipsResponse? Type804 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType? Type804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type805 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsResponse? Type805 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipResponse? Type806 { get; set; } + public global::System.Collections.Generic.IList? Type806 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipCreateRequest? Type807 { get; set; } + public global::System.Collections.Generic.IList? Type807 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipCreateRequestData? Type808 { get; set; } + public global::AppStoreConnect.IncludedItem13? Type808 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipCreateRequestDataType? Type809 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersion? Type809 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipCreateRequestDataAttributes? Type810 { get; set; } + public global::AppStoreConnect.AppKeyword? Type810 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipCreateRequestDataRelationships? Type811 { get; set; } + public global::AppStoreConnect.AppPreviewSet? Type811 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipCreateRequestDataRelationshipsAppEventLocalization? Type812 { get; set; } + public global::AppStoreConnect.AppScreenshotSet? Type812 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipCreateRequestDataRelationshipsAppEventLocalizationData? Type813 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminator? Type813 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipCreateRequestDataRelationshipsAppEventLocalizationDataType? Type814 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType? Type814 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipUpdateRequest? Type815 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationResponse? Type815 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipUpdateRequestData? Type816 { get; set; } + public global::System.Collections.Generic.IList? Type816 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipUpdateRequestDataType? Type817 { get; set; } + public global::AppStoreConnect.IncludedItem14? Type817 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipUpdateRequestDataAttributes? Type818 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminator? Type818 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventType? Type819 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType? Type819 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventAttributes? Type820 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequest? Type820 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventAttributesBadge? Type821 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestData? Type821 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventAttributesEventState? Type822 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataType? Type822 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventAttributesPriority? Type823 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataAttributes? Type823 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventAttributesPurpose? Type824 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationships? Type824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type825 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersion? Type825 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventAttributesTerritorySchedule? Type826 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionData? Type826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type827 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersionDataType? Type827 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventAttributesArchivedTerritorySchedule? Type828 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements? Type828 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventRelationships? Type829 { get; set; } + public global::System.Collections.Generic.IList? Type829 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventRelationshipsLocalizations? Type830 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem? Type830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type831 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? Type831 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventRelationshipsLocalizationsDataItem? Type832 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequest? Type832 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventRelationshipsLocalizationsDataItemType? Type833 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestData? Type833 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventsResponse? Type834 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataType? Type834 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type835 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationUpdateRequestDataAttributes? Type835 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventResponse? Type836 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionType? Type836 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequest? Type837 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionAttributes? Type837 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestData? Type838 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionAttributesState? Type838 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataType? Type839 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionRelationships? Type839 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataAttributes? Type840 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPage? Type840 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataAttributesBadge? Type841 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageData? Type841 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataAttributesPriority? Type842 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageDataType? Type842 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataAttributesPurpose? Type843 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizations? Type843 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type844 { get; set; } + public global::System.Collections.Generic.IList? Type844 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataAttributesTerritorySchedule? Type845 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizationsDataItem? Type845 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataRelationships? Type846 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizationsDataItemType? Type846 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataRelationshipsApp? Type847 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreate? Type847 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataRelationshipsAppData? Type848 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateType? Type848 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventCreateRequestDataRelationshipsAppDataType? Type849 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateAttributes? Type849 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventUpdateRequest? Type850 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationships? Type850 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventUpdateRequestData? Type851 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPage? Type851 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventUpdateRequestDataType? Type852 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageData? Type852 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventUpdateRequestDataAttributes? Type853 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageDataType? Type853 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventUpdateRequestDataAttributesBadge? Type854 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageLocalizations? Type854 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventUpdateRequestDataAttributesPriority? Type855 { get; set; } + public global::System.Collections.Generic.IList? Type855 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventUpdateRequestDataAttributesPurpose? Type856 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageLocalizationsDataItem? Type856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type857 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionInlineCreateRelationshipsAppCustomProductPageLocalizationsDataItemType? Type857 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventUpdateRequestDataAttributesTerritorySchedule? Type858 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsResponse? Type858 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalization? Type859 { get; set; } + public global::System.Collections.Generic.IList? Type859 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationType? Type860 { get; set; } + public global::System.Collections.Generic.IList? Type860 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationAttributes? Type861 { get; set; } + public global::AppStoreConnect.IncludedItem15? Type861 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationRelationships? Type862 { get; set; } + public global::AppStoreConnect.AppCustomProductPage? Type862 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationRelationshipsAppInfo? Type863 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminator? Type863 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationRelationshipsAppInfoData? Type864 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType? Type864 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationRelationshipsAppInfoDataType? Type865 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionResponse? Type865 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationsResponse? Type866 { get; set; } + public global::System.Collections.Generic.IList? Type866 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type867 { get; set; } + public global::AppStoreConnect.IncludedItem16? Type867 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type868 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminator? Type868 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfo? Type869 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType? Type869 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationResponse? Type870 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequest? Type870 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationCreateRequest? Type871 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestData? Type871 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationCreateRequestData? Type872 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataType? Type872 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataType? Type873 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataAttributes? Type873 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataAttributes? Type874 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationships? Type874 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataRelationships? Type875 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPage? Type875 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataRelationshipsAppInfo? Type876 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageData? Type876 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataRelationshipsAppInfoData? Type877 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageDataType? Type877 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataRelationshipsAppInfoDataType? Type878 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageLocalizations? Type878 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationUpdateRequest? Type879 { get; set; } + public global::System.Collections.Generic.IList? Type879 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationUpdateRequestData? Type880 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageLocalizationsDataItem? Type880 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationUpdateRequestDataType? Type881 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionCreateRequestDataRelationshipsAppCustomProductPageLocalizationsDataItemType? Type881 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationUpdateRequestDataAttributes? Type882 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionUpdateRequest? Type882 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoType? Type883 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionUpdateRequestData? Type883 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAttributes? Type884 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionUpdateRequestDataType? Type884 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionState? Type885 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionUpdateRequestDataAttributes? Type885 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAttributesState? Type886 { get; set; } + public global::AppStoreConnect.AppCustomProductPageType? Type886 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreAgeRating? Type887 { get; set; } + public global::AppStoreConnect.AppCustomProductPageAttributes? Type887 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAttributesAustraliaAgeRating? Type888 { get; set; } + public global::AppStoreConnect.AppCustomProductPageRelationships? Type888 { get; set; } /// /// /// - public global::AppStoreConnect.BrazilAgeRating? Type889 { get; set; } + public global::AppStoreConnect.AppCustomProductPageRelationshipsApp? Type889 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAttributesBrazilAgeRatingV2? Type890 { get; set; } + public global::AppStoreConnect.AppCustomProductPageRelationshipsAppData? Type890 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAttributesFranceAgeRating? Type891 { get; set; } + public global::AppStoreConnect.AppCustomProductPageRelationshipsAppDataType? Type891 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAttributesKoreaAgeRating? Type892 { get; set; } + public global::AppStoreConnect.AppCustomProductPageRelationshipsAppCustomProductPageVersions? Type892 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationships? Type893 { get; set; } + public global::System.Collections.Generic.IList? Type893 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsApp? Type894 { get; set; } + public global::AppStoreConnect.AppCustomProductPageRelationshipsAppCustomProductPageVersionsDataItem? Type894 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsAppData? Type895 { get; set; } + public global::AppStoreConnect.AppCustomProductPageRelationshipsAppCustomProductPageVersionsDataItemType? Type895 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsAppDataType? Type896 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesResponse? Type896 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsAgeRatingDeclaration? Type897 { get; set; } + public global::System.Collections.Generic.IList? Type897 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsAgeRatingDeclarationData? Type898 { get; set; } + public global::System.Collections.Generic.IList? Type898 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsAgeRatingDeclarationDataType? Type899 { get; set; } + public global::AppStoreConnect.IncludedItem17? Type899 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsAppInfoLocalizations? Type900 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminator? Type900 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type901 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType? Type901 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsAppInfoLocalizationsDataItem? Type902 { get; set; } + public global::AppStoreConnect.AppCustomProductPageResponse? Type902 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsAppInfoLocalizationsDataItemType? Type903 { get; set; } + public global::System.Collections.Generic.IList? Type903 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsPrimaryCategory? Type904 { get; set; } + public global::AppStoreConnect.IncludedItem18? Type904 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsPrimaryCategoryData? Type905 { get; set; } + public global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminator? Type905 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsPrimaryCategoryDataType? Type906 { get; set; } + public global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType? Type906 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryOne? Type907 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequest? Type907 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryOneData? Type908 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestData? Type908 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryOneDataType? Type909 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataType? Type909 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryTwo? Type910 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataAttributes? Type910 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryTwoData? Type911 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationships? Type911 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryTwoDataType? Type912 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsApp? Type912 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsSecondaryCategory? Type913 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppData? Type913 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsSecondaryCategoryData? Type914 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppDataType? Type914 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsSecondaryCategoryDataType? Type915 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppCustomProductPageVersions? Type915 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryOne? Type916 { get; set; } + public global::System.Collections.Generic.IList? Type916 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryOneData? Type917 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppCustomProductPageVersionsDataItem? Type917 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryOneDataType? Type918 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppCustomProductPageVersionsDataItemType? Type918 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryTwo? Type919 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppStoreVersionTemplate? Type919 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryTwoData? Type920 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppStoreVersionTemplateData? Type920 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryTwoDataType? Type921 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsAppStoreVersionTemplateDataType? Type921 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoRelationshipsTerritoryAgeRatings? Type922 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsCustomProductPageTemplate? Type922 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosResponse? Type923 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsCustomProductPageTemplateData? Type923 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type924 { get; set; } + public global::AppStoreConnect.AppCustomProductPageCreateRequestDataRelationshipsCustomProductPageTemplateDataType? Type924 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem22? Type925 { get; set; } + public global::System.Collections.Generic.IList>? Type925 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminator? Type926 { get; set; } + public global::AppStoreConnect.OneOf? Type926 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType? Type927 { get; set; } + public global::AppStoreConnect.AppCustomProductPageUpdateRequest? Type927 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoResponse? Type928 { get; set; } + public global::AppStoreConnect.AppCustomProductPageUpdateRequestData? Type928 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type929 { get; set; } + public global::AppStoreConnect.AppCustomProductPageUpdateRequestDataType? Type929 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem23? Type930 { get; set; } + public global::AppStoreConnect.AppCustomProductPageUpdateRequestDataAttributes? Type930 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminator? Type931 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocument? Type931 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType? Type932 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentType? Type932 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequest? Type933 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentAttributes? Type933 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestData? Type934 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentResponse? Type934 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataType? Type935 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequest? Type935 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationships? Type936 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestData? Type936 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimaryCategory? Type937 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataType? Type937 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimaryCategoryData? Type938 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataAttributes? Type938 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimaryCategoryDataType? Type939 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataRelationships? Type939 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryOne? Type940 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataRelationshipsAppEncryptionDeclaration? Type940 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryOneData? Type941 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataRelationshipsAppEncryptionDeclarationData? Type941 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryOneDataType? Type942 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentCreateRequestDataRelationshipsAppEncryptionDeclarationDataType? Type942 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryTwo? Type943 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentUpdateRequest? Type943 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryTwoData? Type944 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentUpdateRequestData? Type944 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryTwoDataType? Type945 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentUpdateRequestDataType? Type945 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondaryCategory? Type946 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentUpdateRequestDataAttributes? Type946 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondaryCategoryData? Type947 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclaration? Type947 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondaryCategoryDataType? Type948 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationType? Type948 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryOne? Type949 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationAttributes? Type949 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryOneData? Type950 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationState? Type950 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryOneDataType? Type951 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationships? Type951 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryTwo? Type952 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsApp? Type952 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryTwoData? Type953 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppData? Type953 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryTwoDataType? Type954 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppDataType? Type954 { get; set; } /// /// /// - public global::AppStoreConnect.AppKeywordType? Type955 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsBuilds? Type955 { get; set; } /// /// /// - public global::AppStoreConnect.AppKeywordsResponse? Type956 { get; set; } + public global::System.Collections.Generic.IList? Type956 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type957 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsBuildsDataItem? Type957 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetType? Type958 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsBuildsDataItemType? Type958 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetAttributes? Type959 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppEncryptionDeclarationDocument? Type959 { get; set; } /// /// /// - public global::AppStoreConnect.PreviewType? Type960 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppEncryptionDeclarationDocumentData? Type960 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationships? Type961 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppEncryptionDeclarationDocumentDataType? Type961 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionLocalization? Type962 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsResponse? Type962 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionLocalizationData? Type963 { get; set; } + public global::System.Collections.Generic.IList? Type963 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionLocalizationDataType? Type964 { get; set; } + public global::System.Collections.Generic.IList? Type964 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppCustomProductPageLocalization? Type965 { get; set; } + public global::AppStoreConnect.IncludedItem20? Type965 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppCustomProductPageLocalizationData? Type966 { get; set; } + public global::AppStoreConnect.Build? Type966 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppCustomProductPageLocalizationDataType? Type967 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminator? Type967 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type968 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType? Type968 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type969 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationResponse? Type969 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type970 { get; set; } + public global::System.Collections.Generic.IList? Type970 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppPreviews? Type971 { get; set; } + public global::AppStoreConnect.IncludedItem21? Type971 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type972 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminator? Type972 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppPreviewsDataItem? Type973 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType? Type973 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetRelationshipsAppPreviewsDataItemType? Type974 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationCreateRequest? Type974 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsResponse? Type975 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestData? Type975 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type976 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataType? Type976 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type977 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataAttributes? Type977 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem24? Type978 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataRelationships? Type978 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreview? Type979 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataRelationshipsApp? Type979 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? Type980 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataRelationshipsAppData? Type980 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalization? Type981 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationCreateRequestDataRelationshipsAppDataType? Type981 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminator? Type982 { get; set; } + public global::AppStoreConnect.AppEventLocalizationType? Type982 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType? Type983 { get; set; } + public global::AppStoreConnect.AppEventLocalizationAttributes? Type983 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetResponse? Type984 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationships? Type984 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type985 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEvent? Type985 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem25? Type986 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventData? Type986 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminator? Type987 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventDataType? Type987 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType? Type988 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventScreenshots? Type988 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequest? Type989 { get; set; } + public global::System.Collections.Generic.IList? Type989 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestData? Type990 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventScreenshotsDataItem? Type990 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataType? Type991 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventScreenshotsDataItemType? Type991 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataAttributes? Type992 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClips? Type992 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationships? Type993 { get; set; } + public global::System.Collections.Generic.IList? Type993 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionLocalization? Type994 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClipsDataItem? Type994 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionLocalizationData? Type995 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClipsDataItemType? Type995 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? Type996 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements? Type996 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppCustomProductPageLocalization? Type997 { get; set; } + public global::System.Collections.Generic.IList? Type997 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? Type998 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItem? Type998 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? Type999 { get; set; } + public global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType? Type999 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type1000 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsResponse? Type1000 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type1001 { get; set; } + public global::System.Collections.Generic.IList? Type1001 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type1002 { get; set; } + public global::System.Collections.Generic.IList? Type1002 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewType? Type1003 { get; set; } + public global::AppStoreConnect.IncludedItem22? Type1003 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewAttributes? Type1004 { get; set; } + public global::AppStoreConnect.AppEventScreenshot? Type1004 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewRelationships? Type1005 { get; set; } + public global::AppStoreConnect.AppEventVideoClip? Type1005 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewRelationshipsAppPreviewSet? Type1006 { get; set; } + public global::AppStoreConnect.AppEvent? Type1006 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewRelationshipsAppPreviewSetData? Type1007 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminator? Type1007 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewRelationshipsAppPreviewSetDataType? Type1008 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType? Type1008 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewsResponse? Type1009 { get; set; } + public global::AppStoreConnect.AppEventLocalizationResponse? Type1009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1010 { get; set; } + public global::System.Collections.Generic.IList? Type1010 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewResponse? Type1011 { get; set; } + public global::AppStoreConnect.IncludedItem23? Type1011 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewCreateRequest? Type1012 { get; set; } + public global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminator? Type1012 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewCreateRequestData? Type1013 { get; set; } + public global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType? Type1013 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewCreateRequestDataType? Type1014 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequest? Type1014 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewCreateRequestDataAttributes? Type1015 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestData? Type1015 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewCreateRequestDataRelationships? Type1016 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataType? Type1016 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewCreateRequestDataRelationshipsAppPreviewSet? Type1017 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataAttributes? Type1017 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewCreateRequestDataRelationshipsAppPreviewSetData? Type1018 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationships? Type1018 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewCreateRequestDataRelationshipsAppPreviewSetDataType? Type1019 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEvent? Type1019 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewUpdateRequest? Type1020 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEventData? Type1020 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewUpdateRequestData? Type1021 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEventDataType? Type1021 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewUpdateRequestDataType? Type1022 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements? Type1022 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewUpdateRequestDataAttributes? Type1023 { get; set; } + public global::System.Collections.Generic.IList? Type1023 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3? Type1024 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem? Type1024 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3Type? Type1025 { get; set; } + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? Type1025 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3Attributes? Type1026 { get; set; } + public global::AppStoreConnect.AppEventLocalizationUpdateRequest? Type1026 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3Relationships? Type1027 { get; set; } + public global::AppStoreConnect.AppEventLocalizationUpdateRequestData? Type1027 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3RelationshipsApp? Type1028 { get; set; } + public global::AppStoreConnect.AppEventLocalizationUpdateRequestDataType? Type1028 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3RelationshipsAppData? Type1029 { get; set; } + public global::AppStoreConnect.AppEventLocalizationUpdateRequestDataAttributes? Type1029 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3RelationshipsAppDataType? Type1030 { get; set; } + public global::AppStoreConnect.AppEventScreenshotType? Type1030 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3RelationshipsEqualizations? Type1031 { get; set; } + public global::AppStoreConnect.AppEventScreenshotAttributes? Type1031 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3RelationshipsTerritory? Type1032 { get; set; } + public global::AppStoreConnect.AppEventAssetType? Type1032 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3RelationshipsTerritoryData? Type1033 { get; set; } + public global::AppStoreConnect.AppEventScreenshotRelationships? Type1033 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3RelationshipsTerritoryDataType? Type1034 { get; set; } + public global::AppStoreConnect.AppEventScreenshotRelationshipsAppEventLocalization? Type1034 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3Response? Type1035 { get; set; } + public global::AppStoreConnect.AppEventScreenshotRelationshipsAppEventLocalizationData? Type1035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1036 { get; set; } + public global::AppStoreConnect.AppEventScreenshotRelationshipsAppEventLocalizationDataType? Type1036 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1037 { get; set; } + public global::AppStoreConnect.AppEventScreenshotsResponse? Type1037 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem26? Type1038 { get; set; } + public global::System.Collections.Generic.IList? Type1038 { get; set; } /// /// /// - public global::AppStoreConnect.Territory? Type1039 { get; set; } + public global::AppStoreConnect.AppEventScreenshotResponse? Type1039 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminator? Type1040 { get; set; } + public global::AppStoreConnect.AppEventScreenshotCreateRequest? Type1040 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType? Type1041 { get; set; } + public global::AppStoreConnect.AppEventScreenshotCreateRequestData? Type1041 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3Response? Type1042 { get; set; } + public global::AppStoreConnect.AppEventScreenshotCreateRequestDataType? Type1042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1043 { get; set; } + public global::AppStoreConnect.AppEventScreenshotCreateRequestDataAttributes? Type1043 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem27? Type1044 { get; set; } + public global::AppStoreConnect.AppEventScreenshotCreateRequestDataRelationships? Type1044 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminator? Type1045 { get; set; } + public global::AppStoreConnect.AppEventScreenshotCreateRequestDataRelationshipsAppEventLocalization? Type1045 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType? Type1046 { get; set; } + public global::AppStoreConnect.AppEventScreenshotCreateRequestDataRelationshipsAppEventLocalizationData? Type1046 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedule? Type1047 { get; set; } + public global::AppStoreConnect.AppEventScreenshotCreateRequestDataRelationshipsAppEventLocalizationDataType? Type1047 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleType? Type1048 { get; set; } + public global::AppStoreConnect.AppEventScreenshotUpdateRequest? Type1048 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationships? Type1049 { get; set; } + public global::AppStoreConnect.AppEventScreenshotUpdateRequestData? Type1049 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsApp? Type1050 { get; set; } + public global::AppStoreConnect.AppEventScreenshotUpdateRequestDataType? Type1050 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsAppData? Type1051 { get; set; } + public global::AppStoreConnect.AppEventScreenshotUpdateRequestDataAttributes? Type1051 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsAppDataType? Type1052 { get; set; } + public global::AppStoreConnect.AppEventVideoClipType? Type1052 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsBaseTerritory? Type1053 { get; set; } + public global::AppStoreConnect.AppEventVideoClipAttributes? Type1053 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsBaseTerritoryData? Type1054 { get; set; } + public global::AppStoreConnect.AppMediaVideoState? Type1054 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsBaseTerritoryDataType? Type1055 { get; set; } + public global::AppStoreConnect.AppEventVideoClipRelationships? Type1055 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsManualPrices? Type1056 { get; set; } + public global::AppStoreConnect.AppEventVideoClipRelationshipsAppEventLocalization? Type1056 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1057 { get; set; } + public global::AppStoreConnect.AppEventVideoClipRelationshipsAppEventLocalizationData? Type1057 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsManualPricesDataItem? Type1058 { get; set; } + public global::AppStoreConnect.AppEventVideoClipRelationshipsAppEventLocalizationDataType? Type1058 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsManualPricesDataItemType? Type1059 { get; set; } + public global::AppStoreConnect.AppEventVideoClipsResponse? Type1059 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsAutomaticPrices? Type1060 { get; set; } + public global::System.Collections.Generic.IList? Type1060 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1061 { get; set; } + public global::AppStoreConnect.AppEventVideoClipResponse? Type1061 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsAutomaticPricesDataItem? Type1062 { get; set; } + public global::AppStoreConnect.AppEventVideoClipCreateRequest? Type1062 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleRelationshipsAutomaticPricesDataItemType? Type1063 { get; set; } + public global::AppStoreConnect.AppEventVideoClipCreateRequestData? Type1063 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleResponse? Type1064 { get; set; } + public global::AppStoreConnect.AppEventVideoClipCreateRequestDataType? Type1064 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1065 { get; set; } + public global::AppStoreConnect.AppEventVideoClipCreateRequestDataAttributes? Type1065 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem28? Type1066 { get; set; } + public global::AppStoreConnect.AppEventVideoClipCreateRequestDataRelationships? Type1066 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2? Type1067 { get; set; } + public global::AppStoreConnect.AppEventVideoClipCreateRequestDataRelationshipsAppEventLocalization? Type1067 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminator? Type1068 { get; set; } + public global::AppStoreConnect.AppEventVideoClipCreateRequestDataRelationshipsAppEventLocalizationData? Type1068 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType? Type1069 { get; set; } + public global::AppStoreConnect.AppEventVideoClipCreateRequestDataRelationshipsAppEventLocalizationDataType? Type1069 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequest? Type1070 { get; set; } + public global::AppStoreConnect.AppEventVideoClipUpdateRequest? Type1070 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestData? Type1071 { get; set; } + public global::AppStoreConnect.AppEventVideoClipUpdateRequestData? Type1071 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataType? Type1072 { get; set; } + public global::AppStoreConnect.AppEventVideoClipUpdateRequestDataType? Type1072 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationships? Type1073 { get; set; } + public global::AppStoreConnect.AppEventVideoClipUpdateRequestDataAttributes? Type1073 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsApp? Type1074 { get; set; } + public global::AppStoreConnect.AppEventType? Type1074 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsAppData? Type1075 { get; set; } + public global::AppStoreConnect.AppEventAttributes? Type1075 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsAppDataType? Type1076 { get; set; } + public global::AppStoreConnect.AppEventAttributesBadge? Type1076 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsBaseTerritory? Type1077 { get; set; } + public global::AppStoreConnect.AppEventAttributesEventState? Type1077 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsBaseTerritoryData? Type1078 { get; set; } + public global::AppStoreConnect.AppEventAttributesPriority? Type1078 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsBaseTerritoryDataType? Type1079 { get; set; } + public global::AppStoreConnect.AppEventAttributesPurpose? Type1079 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsManualPrices? Type1080 { get; set; } + public global::System.Collections.Generic.IList? Type1080 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1081 { get; set; } + public global::AppStoreConnect.AppEventAttributesTerritorySchedule? Type1081 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsManualPricesDataItem? Type1082 { get; set; } + public global::System.Collections.Generic.IList? Type1082 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsManualPricesDataItemType? Type1083 { get; set; } + public global::AppStoreConnect.AppEventAttributesArchivedTerritorySchedule? Type1083 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1084 { get; set; } + public global::AppStoreConnect.AppEventRelationships? Type1084 { get; set; } /// /// /// - public global::AppStoreConnect.OneOf? Type1085 { get; set; } + public global::AppStoreConnect.AppEventRelationshipsLocalizations? Type1085 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2InlineCreate? Type1086 { get; set; } + public global::System.Collections.Generic.IList? Type1086 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryInlineCreate? Type1087 { get; set; } + public global::AppStoreConnect.AppEventRelationshipsLocalizationsDataItem? Type1087 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2Type? Type1088 { get; set; } + public global::AppStoreConnect.AppEventRelationshipsLocalizationsDataItemType? Type1088 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2Attributes? Type1089 { get; set; } + public global::AppStoreConnect.AppEventsResponse? Type1089 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2Relationships? Type1090 { get; set; } + public global::System.Collections.Generic.IList? Type1090 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2RelationshipsAppPricePoint? Type1091 { get; set; } + public global::AppStoreConnect.AppEventResponse? Type1091 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2RelationshipsAppPricePointData? Type1092 { get; set; } + public global::AppStoreConnect.AppEventCreateRequest? Type1092 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2RelationshipsAppPricePointDataType? Type1093 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestData? Type1093 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2RelationshipsTerritory? Type1094 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataType? Type1094 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2RelationshipsTerritoryData? Type1095 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataAttributes? Type1095 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2RelationshipsTerritoryDataType? Type1096 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataAttributesBadge? Type1096 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2InlineCreateType? Type1097 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataAttributesPriority? Type1097 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2InlineCreateAttributes? Type1098 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataAttributesPurpose? Type1098 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2InlineCreateRelationships? Type1099 { get; set; } + public global::System.Collections.Generic.IList? Type1099 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2InlineCreateRelationshipsAppPricePoint? Type1100 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataAttributesTerritorySchedule? Type1100 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2InlineCreateRelationshipsAppPricePointData? Type1101 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataRelationships? Type1101 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceV2InlineCreateRelationshipsAppPricePointDataType? Type1102 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataRelationshipsApp? Type1102 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricesV2Response? Type1103 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataRelationshipsAppData? Type1103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1104 { get; set; } + public global::AppStoreConnect.AppEventCreateRequestDataRelationshipsAppDataType? Type1104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1105 { get; set; } + public global::AppStoreConnect.AppEventUpdateRequest? Type1105 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem30? Type1106 { get; set; } + public global::AppStoreConnect.AppEventUpdateRequestData? Type1106 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminator? Type1107 { get; set; } + public global::AppStoreConnect.AppEventUpdateRequestDataType? Type1107 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType? Type1108 { get; set; } + public global::AppStoreConnect.AppEventUpdateRequestDataAttributes? Type1108 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetType? Type1109 { get; set; } + public global::AppStoreConnect.AppEventUpdateRequestDataAttributesBadge? Type1109 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetAttributes? Type1110 { get; set; } + public global::AppStoreConnect.AppEventUpdateRequestDataAttributesPriority? Type1110 { get; set; } /// /// /// - public global::AppStoreConnect.ScreenshotDisplayType? Type1111 { get; set; } + public global::AppStoreConnect.AppEventUpdateRequestDataAttributesPurpose? Type1111 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationships? Type1112 { get; set; } + public global::System.Collections.Generic.IList? Type1112 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionLocalization? Type1113 { get; set; } + public global::AppStoreConnect.AppEventUpdateRequestDataAttributesTerritorySchedule? Type1113 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionLocalizationData? Type1114 { get; set; } + public global::AppStoreConnect.AppInfoLocalization? Type1114 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionLocalizationDataType? Type1115 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationType? Type1115 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppCustomProductPageLocalization? Type1116 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationAttributes? Type1116 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppCustomProductPageLocalizationData? Type1117 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationRelationships? Type1117 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppCustomProductPageLocalizationDataType? Type1118 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationRelationshipsAppInfo? Type1118 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type1119 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationRelationshipsAppInfoData? Type1119 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type1120 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationRelationshipsAppInfoDataType? Type1120 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type1121 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationsResponse? Type1121 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppScreenshots? Type1122 { get; set; } + public global::System.Collections.Generic.IList? Type1122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1123 { get; set; } + public global::System.Collections.Generic.IList? Type1123 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppScreenshotsDataItem? Type1124 { get; set; } + public global::AppStoreConnect.AppInfo? Type1124 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetRelationshipsAppScreenshotsDataItemType? Type1125 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationResponse? Type1125 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsResponse? Type1126 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationCreateRequest? Type1126 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1127 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationCreateRequestData? Type1127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1128 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataType? Type1128 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem31? Type1129 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataAttributes? Type1129 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshot? Type1130 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataRelationships? Type1130 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminator? Type1131 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataRelationshipsAppInfo? Type1131 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType? Type1132 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataRelationshipsAppInfoData? Type1132 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetResponse? Type1133 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationCreateRequestDataRelationshipsAppInfoDataType? Type1133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1134 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationUpdateRequest? Type1134 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem32? Type1135 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationUpdateRequestData? Type1135 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminator? Type1136 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationUpdateRequestDataType? Type1136 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType? Type1137 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationUpdateRequestDataAttributes? Type1137 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequest? Type1138 { get; set; } + public global::AppStoreConnect.AppInfoType? Type1138 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestData? Type1139 { get; set; } + public global::AppStoreConnect.AppInfoAttributes? Type1139 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataType? Type1140 { get; set; } + public global::AppStoreConnect.AppStoreVersionState? Type1140 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataAttributes? Type1141 { get; set; } + public global::AppStoreConnect.AppInfoAttributesState? Type1141 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationships? Type1142 { get; set; } + public global::AppStoreConnect.AppStoreAgeRating? Type1142 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionLocalization? Type1143 { get; set; } + public global::AppStoreConnect.AppInfoAttributesAustraliaAgeRating? Type1143 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionLocalizationData? Type1144 { get; set; } + public global::AppStoreConnect.BrazilAgeRating? Type1144 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? Type1145 { get; set; } + public global::AppStoreConnect.AppInfoAttributesBrazilAgeRatingV2? Type1145 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppCustomProductPageLocalization? Type1146 { get; set; } + public global::AppStoreConnect.AppInfoAttributesFranceAgeRating? Type1146 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? Type1147 { get; set; } + public global::AppStoreConnect.AppInfoAttributesKoreaAgeRating? Type1147 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? Type1148 { get; set; } + public global::AppStoreConnect.AppInfoRelationships? Type1148 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type1149 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsApp? Type1149 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type1150 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsAppData? Type1150 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type1151 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsAppDataType? Type1151 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotType? Type1152 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsAgeRatingDeclaration? Type1152 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotAttributes? Type1153 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsAgeRatingDeclarationData? Type1153 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotRelationships? Type1154 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsAgeRatingDeclarationDataType? Type1154 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotRelationshipsAppScreenshotSet? Type1155 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsAppInfoLocalizations? Type1155 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotRelationshipsAppScreenshotSetData? Type1156 { get; set; } + public global::System.Collections.Generic.IList? Type1156 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotRelationshipsAppScreenshotSetDataType? Type1157 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsAppInfoLocalizationsDataItem? Type1157 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotsResponse? Type1158 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsAppInfoLocalizationsDataItemType? Type1158 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1159 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsPrimaryCategory? Type1159 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotResponse? Type1160 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsPrimaryCategoryData? Type1160 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotCreateRequest? Type1161 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsPrimaryCategoryDataType? Type1161 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotCreateRequestData? Type1162 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryOne? Type1162 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotCreateRequestDataType? Type1163 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryOneData? Type1163 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotCreateRequestDataAttributes? Type1164 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryOneDataType? Type1164 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotCreateRequestDataRelationships? Type1165 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryTwo? Type1165 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotCreateRequestDataRelationshipsAppScreenshotSet? Type1166 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryTwoData? Type1166 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotCreateRequestDataRelationshipsAppScreenshotSetData? Type1167 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsPrimarySubcategoryTwoDataType? Type1167 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotCreateRequestDataRelationshipsAppScreenshotSetDataType? Type1168 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsSecondaryCategory? Type1168 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotUpdateRequest? Type1169 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsSecondaryCategoryData? Type1169 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotUpdateRequestData? Type1170 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsSecondaryCategoryDataType? Type1170 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotUpdateRequestDataType? Type1171 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryOne? Type1171 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotUpdateRequestDataAttributes? Type1172 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryOneData? Type1172 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachment? Type1173 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryOneDataType? Type1173 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentType? Type1174 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryTwo? Type1174 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentAttributes? Type1175 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryTwoData? Type1175 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentRelationships? Type1176 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryTwoDataType? Type1176 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentRelationshipsAppStoreReviewDetail? Type1177 { get; set; } + public global::AppStoreConnect.AppInfoRelationshipsTerritoryAgeRatings? Type1177 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentRelationshipsAppStoreReviewDetailData? Type1178 { get; set; } + public global::AppStoreConnect.AppInfosResponse? Type1178 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentRelationshipsAppStoreReviewDetailDataType? Type1179 { get; set; } + public global::System.Collections.Generic.IList? Type1179 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentsResponse? Type1180 { get; set; } + public global::AppStoreConnect.IncludedItem24? Type1180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1181 { get; set; } + public global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminator? Type1181 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1182 { get; set; } + public global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType? Type1182 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetail? Type1183 { get; set; } + public global::AppStoreConnect.AppInfoResponse? Type1183 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentResponse? Type1184 { get; set; } + public global::System.Collections.Generic.IList? Type1184 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequest? Type1185 { get; set; } + public global::AppStoreConnect.IncludedItem25? Type1185 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestData? Type1186 { get; set; } + public global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminator? Type1186 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataType? Type1187 { get; set; } + public global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType? Type1187 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataAttributes? Type1188 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequest? Type1188 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataRelationships? Type1189 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestData? Type1189 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataRelationshipsAppStoreReviewDetail? Type1190 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataType? Type1190 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataRelationshipsAppStoreReviewDetailData? Type1191 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationships? Type1191 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataRelationshipsAppStoreReviewDetailDataType? Type1192 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimaryCategory? Type1192 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentUpdateRequest? Type1193 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimaryCategoryData? Type1193 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentUpdateRequestData? Type1194 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimaryCategoryDataType? Type1194 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentUpdateRequestDataType? Type1195 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryOne? Type1195 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentUpdateRequestDataAttributes? Type1196 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryOneData? Type1196 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailType? Type1197 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryOneDataType? Type1197 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailAttributes? Type1198 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryTwo? Type1198 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailRelationships? Type1199 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryTwoData? Type1199 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreVersion? Type1200 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsPrimarySubcategoryTwoDataType? Type1200 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreVersionData? Type1201 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondaryCategory? Type1201 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreVersionDataType? Type1202 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondaryCategoryData? Type1202 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreReviewAttachments? Type1203 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondaryCategoryDataType? Type1203 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1204 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryOne? Type1204 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreReviewAttachmentsDataItem? Type1205 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryOneData? Type1205 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreReviewAttachmentsDataItemType? Type1206 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryOneDataType? Type1206 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailResponse? Type1207 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryTwo? Type1207 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1208 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryTwoData? Type1208 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem33? Type1209 { get; set; } + public global::AppStoreConnect.AppInfoUpdateRequestDataRelationshipsSecondarySubcategoryTwoDataType? Type1209 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminator? Type1210 { get; set; } + public global::AppStoreConnect.AppKeywordType? Type1210 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType? Type1211 { get; set; } + public global::AppStoreConnect.AppKeywordsResponse? Type1211 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailCreateRequest? Type1212 { get; set; } + public global::System.Collections.Generic.IList? Type1212 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailCreateRequestData? Type1213 { get; set; } + public global::AppStoreConnect.AppPreviewSetType? Type1213 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataType? Type1214 { get; set; } + public global::AppStoreConnect.AppPreviewSetAttributes? Type1214 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataAttributes? Type1215 { get; set; } + public global::AppStoreConnect.PreviewType? Type1215 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataRelationships? Type1216 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationships? Type1216 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataRelationshipsAppStoreVersion? Type1217 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionLocalization? Type1217 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataRelationshipsAppStoreVersionData? Type1218 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionLocalizationData? Type1218 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataRelationshipsAppStoreVersionDataType? Type1219 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionLocalizationDataType? Type1219 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailUpdateRequest? Type1220 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppCustomProductPageLocalization? Type1220 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailUpdateRequestData? Type1221 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppCustomProductPageLocalizationData? Type1221 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailUpdateRequestDataType? Type1222 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppCustomProductPageLocalizationDataType? Type1222 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailUpdateRequestDataAttributes? Type1223 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type1223 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationType? Type1224 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type1224 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAttributes? Type1225 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type1225 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationships? Type1226 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppPreviews? Type1226 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppStoreVersionExperimentTreatment? Type1227 { get; set; } + public global::System.Collections.Generic.IList? Type1227 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppStoreVersionExperimentTreatmentData? Type1228 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppPreviewsDataItem? Type1228 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppStoreVersionExperimentTreatmentDataType? Type1229 { get; set; } + public global::AppStoreConnect.AppPreviewSetRelationshipsAppPreviewsDataItemType? Type1229 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppScreenshotSets? Type1230 { get; set; } + public global::AppStoreConnect.AppPreviewSetsResponse? Type1230 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1231 { get; set; } + public global::System.Collections.Generic.IList? Type1231 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppScreenshotSetsDataItem? Type1232 { get; set; } + public global::System.Collections.Generic.IList? Type1232 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppScreenshotSetsDataItemType? Type1233 { get; set; } + public global::AppStoreConnect.IncludedItem26? Type1233 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSets? Type1234 { get; set; } + public global::AppStoreConnect.AppPreview? Type1234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1235 { get; set; } + public global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminator? Type1235 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItem? Type1236 { get; set; } + public global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType? Type1236 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemType? Type1237 { get; set; } + public global::AppStoreConnect.AppPreviewSetResponse? Type1237 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponse? Type1238 { get; set; } + public global::System.Collections.Generic.IList? Type1238 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1239 { get; set; } + public global::AppStoreConnect.IncludedItem27? Type1239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1240 { get; set; } + public global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminator? Type1240 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem34? Type1241 { get; set; } + public global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType? Type1241 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatment? Type1242 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequest? Type1242 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminator? Type1243 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestData? Type1243 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType? Type1244 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataType? Type1244 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponse? Type1245 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataAttributes? Type1245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1246 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationships? Type1246 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem35? Type1247 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionLocalization? Type1247 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminator? Type1248 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionLocalizationData? Type1248 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType? Type1249 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? Type1249 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequest? Type1250 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppCustomProductPageLocalization? Type1250 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestData? Type1251 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? Type1251 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataType? Type1252 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? Type1252 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataAttributes? Type1253 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type1253 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationships? Type1254 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type1254 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment? Type1255 { get; set; } + public global::AppStoreConnect.AppPreviewSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type1255 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentType? Type1256 { get; set; } + public global::AppStoreConnect.AppPreviewType? Type1256 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentAttributes? Type1257 { get; set; } + public global::AppStoreConnect.AppPreviewAttributes? Type1257 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationships? Type1258 { get; set; } + public global::AppStoreConnect.AppPreviewRelationships? Type1258 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperiment? Type1259 { get; set; } + public global::AppStoreConnect.AppPreviewRelationshipsAppPreviewSet? Type1259 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentData? Type1260 { get; set; } + public global::AppStoreConnect.AppPreviewRelationshipsAppPreviewSetData? Type1260 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentDataType? Type1261 { get; set; } + public global::AppStoreConnect.AppPreviewRelationshipsAppPreviewSetDataType? Type1261 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentV2? Type1262 { get; set; } + public global::AppStoreConnect.AppPreviewsResponse? Type1262 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentV2Data? Type1263 { get; set; } + public global::System.Collections.Generic.IList? Type1263 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentV2DataType? Type1264 { get; set; } + public global::AppStoreConnect.AppPreviewResponse? Type1264 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentTreatmentLocalizations? Type1265 { get; set; } + public global::AppStoreConnect.AppPreviewCreateRequest? Type1265 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1266 { get; set; } + public global::AppStoreConnect.AppPreviewCreateRequestData? Type1266 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentTreatmentLocalizationsDataItem? Type1267 { get; set; } + public global::AppStoreConnect.AppPreviewCreateRequestDataType? Type1267 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentTreatmentLocalizationsDataItemType? Type1268 { get; set; } + public global::AppStoreConnect.AppPreviewCreateRequestDataAttributes? Type1268 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponse? Type1269 { get; set; } + public global::AppStoreConnect.AppPreviewCreateRequestDataRelationships? Type1269 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1270 { get; set; } + public global::AppStoreConnect.AppPreviewCreateRequestDataRelationshipsAppPreviewSet? Type1270 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1271 { get; set; } + public global::AppStoreConnect.AppPreviewCreateRequestDataRelationshipsAppPreviewSetData? Type1271 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem36? Type1272 { get; set; } + public global::AppStoreConnect.AppPreviewCreateRequestDataRelationshipsAppPreviewSetDataType? Type1272 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperiment? Type1273 { get; set; } + public global::AppStoreConnect.AppPreviewUpdateRequest? Type1273 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminator? Type1274 { get; set; } + public global::AppStoreConnect.AppPreviewUpdateRequestData? Type1274 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType? Type1275 { get; set; } + public global::AppStoreConnect.AppPreviewUpdateRequestDataType? Type1275 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponse? Type1276 { get; set; } + public global::AppStoreConnect.AppPreviewUpdateRequestDataAttributes? Type1276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1277 { get; set; } + public global::AppStoreConnect.AppPricePointV3? Type1277 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem37? Type1278 { get; set; } + public global::AppStoreConnect.AppPricePointV3Type? Type1278 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminator? Type1279 { get; set; } + public global::AppStoreConnect.AppPricePointV3Attributes? Type1279 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType? Type1280 { get; set; } + public global::AppStoreConnect.AppPricePointV3Relationships? Type1280 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequest? Type1281 { get; set; } + public global::AppStoreConnect.AppPricePointV3RelationshipsApp? Type1281 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestData? Type1282 { get; set; } + public global::AppStoreConnect.AppPricePointV3RelationshipsAppData? Type1282 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataType? Type1283 { get; set; } + public global::AppStoreConnect.AppPricePointV3RelationshipsAppDataType? Type1283 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataAttributes? Type1284 { get; set; } + public global::AppStoreConnect.AppPricePointV3RelationshipsEqualizations? Type1284 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationships? Type1285 { get; set; } + public global::AppStoreConnect.AppPricePointV3RelationshipsTerritory? Type1285 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperiment? Type1286 { get; set; } + public global::AppStoreConnect.AppPricePointV3RelationshipsTerritoryData? Type1286 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentData? Type1287 { get; set; } + public global::AppStoreConnect.AppPricePointV3RelationshipsTerritoryDataType? Type1287 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentDataType? Type1288 { get; set; } + public global::AppStoreConnect.AppPricePointsV3Response? Type1288 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentV2? Type1289 { get; set; } + public global::System.Collections.Generic.IList? Type1289 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentV2Data? Type1290 { get; set; } + public global::System.Collections.Generic.IList? Type1290 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentV2DataType? Type1291 { get; set; } + public global::AppStoreConnect.IncludedItem28? Type1291 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentUpdateRequest? Type1292 { get; set; } + public global::AppStoreConnect.Territory? Type1292 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentUpdateRequestData? Type1293 { get; set; } + public global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminator? Type1293 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentUpdateRequestDataType? Type1294 { get; set; } + public global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType? Type1294 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentUpdateRequestDataAttributes? Type1295 { get; set; } + public global::AppStoreConnect.AppPricePointV3Response? Type1295 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2? Type1296 { get; set; } + public global::System.Collections.Generic.IList? Type1296 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2Type? Type1297 { get; set; } + public global::AppStoreConnect.IncludedItem29? Type1297 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2Attributes? Type1298 { get; set; } + public global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminator? Type1298 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2AttributesState? Type1299 { get; set; } + public global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType? Type1299 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2Relationships? Type1300 { get; set; } + public global::AppStoreConnect.AppPriceSchedule? Type1300 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsApp? Type1301 { get; set; } + public global::AppStoreConnect.AppPriceScheduleType? Type1301 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppData? Type1302 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationships? Type1302 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppDataType? Type1303 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsApp? Type1303 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsLatestControlVersion? Type1304 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsAppData? Type1304 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsLatestControlVersionData? Type1305 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsAppDataType? Type1305 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsLatestControlVersionDataType? Type1306 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsBaseTerritory? Type1306 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsControlVersions? Type1307 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsBaseTerritoryData? Type1307 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1308 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsBaseTerritoryDataType? Type1308 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsControlVersionsDataItem? Type1309 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsManualPrices? Type1309 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsControlVersionsDataItemType? Type1310 { get; set; } + public global::System.Collections.Generic.IList? Type1310 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppStoreVersionExperimentTreatments? Type1311 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsManualPricesDataItem? Type1311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1312 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsManualPricesDataItemType? Type1312 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppStoreVersionExperimentTreatmentsDataItem? Type1313 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsAutomaticPrices? Type1313 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppStoreVersionExperimentTreatmentsDataItemType? Type1314 { get; set; } + public global::System.Collections.Generic.IList? Type1314 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2Response? Type1315 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsAutomaticPricesDataItem? Type1315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1316 { get; set; } + public global::AppStoreConnect.AppPriceScheduleRelationshipsAutomaticPricesDataItemType? Type1316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1317 { get; set; } + public global::AppStoreConnect.AppPriceScheduleResponse? Type1317 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem38? Type1318 { get; set; } + public global::System.Collections.Generic.IList? Type1318 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminator? Type1319 { get; set; } + public global::AppStoreConnect.IncludedItem30? Type1319 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType? Type1320 { get; set; } + public global::AppStoreConnect.AppPriceV2? Type1320 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2Response? Type1321 { get; set; } + public global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminator? Type1321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1322 { get; set; } + public global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType? Type1322 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem39? Type1323 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequest? Type1323 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminator? Type1324 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestData? Type1324 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType? Type1325 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataType? Type1325 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequest? Type1326 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationships? Type1326 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestData? Type1327 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsApp? Type1327 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataType? Type1328 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsAppData? Type1328 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataAttributes? Type1329 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsAppDataType? Type1329 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataRelationships? Type1330 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsBaseTerritory? Type1330 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataRelationshipsApp? Type1331 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsBaseTerritoryData? Type1331 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataRelationshipsAppData? Type1332 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsBaseTerritoryDataType? Type1332 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataRelationshipsAppDataType? Type1333 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsManualPrices? Type1333 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2UpdateRequest? Type1334 { get; set; } + public global::System.Collections.Generic.IList? Type1334 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2UpdateRequestData? Type1335 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsManualPricesDataItem? Type1335 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2UpdateRequestDataType? Type1336 { get; set; } + public global::AppStoreConnect.AppPriceScheduleCreateRequestDataRelationshipsManualPricesDataItemType? Type1336 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2UpdateRequestDataAttributes? Type1337 { get; set; } + public global::System.Collections.Generic.IList>? Type1337 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentType? Type1338 { get; set; } + public global::AppStoreConnect.OneOf? Type1338 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentAttributes? Type1339 { get; set; } + public global::AppStoreConnect.AppPriceV2InlineCreate? Type1339 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentAttributesState? Type1340 { get; set; } + public global::AppStoreConnect.TerritoryInlineCreate? Type1340 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentRelationships? Type1341 { get; set; } + public global::AppStoreConnect.AppPriceV2Type? Type1341 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersion? Type1342 { get; set; } + public global::AppStoreConnect.AppPriceV2Attributes? Type1342 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionData? Type1343 { get; set; } + public global::AppStoreConnect.AppPriceV2Relationships? Type1343 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionDataType? Type1344 { get; set; } + public global::AppStoreConnect.AppPriceV2RelationshipsAppPricePoint? Type1344 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionExperimentTreatments? Type1345 { get; set; } + public global::AppStoreConnect.AppPriceV2RelationshipsAppPricePointData? Type1345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1346 { get; set; } + public global::AppStoreConnect.AppPriceV2RelationshipsAppPricePointDataType? Type1346 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionExperimentTreatmentsDataItem? Type1347 { get; set; } + public global::AppStoreConnect.AppPriceV2RelationshipsTerritory? Type1347 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionExperimentTreatmentsDataItemType? Type1348 { get; set; } + public global::AppStoreConnect.AppPriceV2RelationshipsTerritoryData? Type1348 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsResponse? Type1349 { get; set; } + public global::AppStoreConnect.AppPriceV2RelationshipsTerritoryDataType? Type1349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1350 { get; set; } + public global::AppStoreConnect.AppPriceV2InlineCreateType? Type1350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1351 { get; set; } + public global::AppStoreConnect.AppPriceV2InlineCreateAttributes? Type1351 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem40? Type1352 { get; set; } + public global::AppStoreConnect.AppPriceV2InlineCreateRelationships? Type1352 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminator? Type1353 { get; set; } + public global::AppStoreConnect.AppPriceV2InlineCreateRelationshipsAppPricePoint? Type1353 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType? Type1354 { get; set; } + public global::AppStoreConnect.AppPriceV2InlineCreateRelationshipsAppPricePointData? Type1354 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentResponse? Type1355 { get; set; } + public global::AppStoreConnect.AppPriceV2InlineCreateRelationshipsAppPricePointDataType? Type1355 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1356 { get; set; } + public global::AppStoreConnect.AppPricesV2Response? Type1356 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem41? Type1357 { get; set; } + public global::System.Collections.Generic.IList? Type1357 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminator? Type1358 { get; set; } + public global::System.Collections.Generic.IList? Type1358 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType? Type1359 { get; set; } + public global::AppStoreConnect.IncludedItem32? Type1359 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentCreateRequest? Type1360 { get; set; } + public global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminator? Type1360 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestData? Type1361 { get; set; } + public global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType? Type1361 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataType? Type1362 { get; set; } + public global::AppStoreConnect.AppScreenshotSetType? Type1362 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataAttributes? Type1363 { get; set; } + public global::AppStoreConnect.AppScreenshotSetAttributes? Type1363 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataRelationships? Type1364 { get; set; } + public global::AppStoreConnect.ScreenshotDisplayType? Type1364 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataRelationshipsAppStoreVersion? Type1365 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationships? Type1365 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataRelationshipsAppStoreVersionData? Type1366 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionLocalization? Type1366 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataRelationshipsAppStoreVersionDataType? Type1367 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionLocalizationData? Type1367 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentUpdateRequest? Type1368 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionLocalizationDataType? Type1368 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentUpdateRequestData? Type1369 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppCustomProductPageLocalization? Type1369 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentUpdateRequestDataType? Type1370 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppCustomProductPageLocalizationData? Type1370 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentUpdateRequestDataAttributes? Type1371 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppCustomProductPageLocalizationDataType? Type1371 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationType? Type1372 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type1372 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationAttributes? Type1373 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type1373 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationships? Type1374 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type1374 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppStoreVersion? Type1375 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppScreenshots? Type1375 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppStoreVersionData? Type1376 { get; set; } + public global::System.Collections.Generic.IList? Type1376 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppStoreVersionDataType? Type1377 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppScreenshotsDataItem? Type1377 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppScreenshotSets? Type1378 { get; set; } + public global::AppStoreConnect.AppScreenshotSetRelationshipsAppScreenshotsDataItemType? Type1378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1379 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsResponse? Type1379 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppScreenshotSetsDataItem? Type1380 { get; set; } + public global::System.Collections.Generic.IList? Type1380 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppScreenshotSetsDataItemType? Type1381 { get; set; } + public global::System.Collections.Generic.IList? Type1381 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppPreviewSets? Type1382 { get; set; } + public global::AppStoreConnect.IncludedItem33? Type1382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1383 { get; set; } + public global::AppStoreConnect.AppScreenshot? Type1383 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppPreviewSetsDataItem? Type1384 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminator? Type1384 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppPreviewSetsDataItemType? Type1385 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType? Type1385 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywords? Type1386 { get; set; } + public global::AppStoreConnect.AppScreenshotSetResponse? Type1386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1387 { get; set; } + public global::System.Collections.Generic.IList? Type1387 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItem? Type1388 { get; set; } + public global::AppStoreConnect.IncludedItem34? Type1388 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemType? Type1389 { get; set; } + public global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminator? Type1389 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsResponse? Type1390 { get; set; } + public global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType? Type1390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1391 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequest? Type1391 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1392 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestData? Type1392 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem42? Type1393 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataType? Type1393 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminator? Type1394 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataAttributes? Type1394 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType? Type1395 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationships? Type1395 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationResponse? Type1396 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionLocalization? Type1396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1397 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionLocalizationData? Type1397 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem43? Type1398 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? Type1398 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminator? Type1399 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppCustomProductPageLocalization? Type1399 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType? Type1400 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? Type1400 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequest? Type1401 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? Type1401 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestData? Type1402 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? Type1402 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataType? Type1403 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Type1403 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataAttributes? Type1404 { get; set; } + public global::AppStoreConnect.AppScreenshotSetCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? Type1404 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationships? Type1405 { get; set; } + public global::AppStoreConnect.AppScreenshotType? Type1405 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersion? Type1406 { get; set; } + public global::AppStoreConnect.AppScreenshotAttributes? Type1406 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionData? Type1407 { get; set; } + public global::AppStoreConnect.AppScreenshotRelationships? Type1407 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataType? Type1408 { get; set; } + public global::AppStoreConnect.AppScreenshotRelationshipsAppScreenshotSet? Type1408 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequest? Type1409 { get; set; } + public global::AppStoreConnect.AppScreenshotRelationshipsAppScreenshotSetData? Type1409 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestData? Type1410 { get; set; } + public global::AppStoreConnect.AppScreenshotRelationshipsAppScreenshotSetDataType? Type1410 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType? Type1411 { get; set; } + public global::AppStoreConnect.AppScreenshotsResponse? Type1411 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataAttributes? Type1412 { get; set; } + public global::System.Collections.Generic.IList? Type1412 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedRelease? Type1413 { get; set; } + public global::AppStoreConnect.AppScreenshotResponse? Type1413 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseType? Type1414 { get; set; } + public global::AppStoreConnect.AppScreenshotCreateRequest? Type1414 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseAttributes? Type1415 { get; set; } + public global::AppStoreConnect.AppScreenshotCreateRequestData? Type1415 { get; set; } /// /// /// - public global::AppStoreConnect.PhasedReleaseState? Type1416 { get; set; } + public global::AppStoreConnect.AppScreenshotCreateRequestDataType? Type1416 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseResponse? Type1417 { get; set; } + public global::AppStoreConnect.AppScreenshotCreateRequestDataAttributes? Type1417 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequest? Type1418 { get; set; } + public global::AppStoreConnect.AppScreenshotCreateRequestDataRelationships? Type1418 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestData? Type1419 { get; set; } + public global::AppStoreConnect.AppScreenshotCreateRequestDataRelationshipsAppScreenshotSet? Type1419 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataType? Type1420 { get; set; } + public global::AppStoreConnect.AppScreenshotCreateRequestDataRelationshipsAppScreenshotSetData? Type1420 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataAttributes? Type1421 { get; set; } + public global::AppStoreConnect.AppScreenshotCreateRequestDataRelationshipsAppScreenshotSetDataType? Type1421 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataRelationships? Type1422 { get; set; } + public global::AppStoreConnect.AppScreenshotUpdateRequest? Type1422 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataRelationshipsAppStoreVersion? Type1423 { get; set; } + public global::AppStoreConnect.AppScreenshotUpdateRequestData? Type1423 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataRelationshipsAppStoreVersionData? Type1424 { get; set; } + public global::AppStoreConnect.AppScreenshotUpdateRequestDataType? Type1424 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataRelationshipsAppStoreVersionDataType? Type1425 { get; set; } + public global::AppStoreConnect.AppScreenshotUpdateRequestDataAttributes? Type1425 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseUpdateRequest? Type1426 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachment? Type1426 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseUpdateRequestData? Type1427 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentType? Type1427 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseUpdateRequestDataType? Type1428 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentAttributes? Type1428 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseUpdateRequestDataAttributes? Type1429 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentRelationships? Type1429 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotion? Type1430 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentRelationshipsAppStoreReviewDetail? Type1430 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionType? Type1431 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentRelationshipsAppStoreReviewDetailData? Type1431 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionResponse? Type1432 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentRelationshipsAppStoreReviewDetailDataType? Type1432 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequest? Type1433 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentsResponse? Type1433 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestData? Type1434 { get; set; } + public global::System.Collections.Generic.IList? Type1434 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataType? Type1435 { get; set; } + public global::System.Collections.Generic.IList? Type1435 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationships? Type1436 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetail? Type1436 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersion? Type1437 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentResponse? Type1437 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionData? Type1438 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequest? Type1438 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionDataType? Type1439 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestData? Type1439 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment? Type1440 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataType? Type1440 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentData? Type1441 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataAttributes? Type1441 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentDataType? Type1442 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataRelationships? Type1442 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequest? Type1443 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataRelationshipsAppStoreReviewDetail? Type1443 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequestType? Type1444 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataRelationshipsAppStoreReviewDetailData? Type1444 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequestResponse? Type1445 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentCreateRequestDataRelationshipsAppStoreReviewDetailDataType? Type1445 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequest? Type1446 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentUpdateRequest? Type1446 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestData? Type1447 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentUpdateRequestData? Type1447 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataType? Type1448 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentUpdateRequestDataType? Type1448 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataRelationships? Type1449 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentUpdateRequestDataAttributes? Type1449 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataRelationshipsAppStoreVersion? Type1450 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailType? Type1450 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataRelationshipsAppStoreVersionData? Type1451 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailAttributes? Type1451 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataRelationshipsAppStoreVersionDataType? Type1452 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailRelationships? Type1452 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionSubmission? Type1453 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreVersion? Type1453 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionSubmissionType? Type1454 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreVersionData? Type1454 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionSubmissionRelationships? Type1455 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreVersionDataType? Type1455 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionSubmissionRelationshipsAppStoreVersion? Type1456 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreReviewAttachments? Type1456 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionSubmissionRelationshipsAppStoreVersionData? Type1457 { get; set; } + public global::System.Collections.Generic.IList? Type1457 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionSubmissionRelationshipsAppStoreVersionDataType? Type1458 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreReviewAttachmentsDataItem? Type1458 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionSubmissionResponse? Type1459 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreReviewAttachmentsDataItemType? Type1459 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1460 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailResponse? Type1460 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionType? Type1461 { get; set; } + public global::System.Collections.Generic.IList? Type1461 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAttributes? Type1462 { get; set; } + public global::AppStoreConnect.IncludedItem35? Type1462 { get; set; } /// /// /// - public global::AppStoreConnect.AppVersionState? Type1463 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminator? Type1463 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAttributesReviewType? Type1464 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType? Type1464 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAttributesReleaseType? Type1465 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailCreateRequest? Type1465 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationships? Type1466 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailCreateRequestData? Type1466 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsApp? Type1467 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataType? Type1467 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppData? Type1468 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataAttributes? Type1468 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppDataType? Type1469 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataRelationships? Type1469 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionLocalizations? Type1470 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataRelationshipsAppStoreVersion? Type1470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1471 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataRelationshipsAppStoreVersionData? Type1471 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionLocalizationsDataItem? Type1472 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailCreateRequestDataRelationshipsAppStoreVersionDataType? Type1472 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionLocalizationsDataItemType? Type1473 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailUpdateRequest? Type1473 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsBuild? Type1474 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailUpdateRequestData? Type1474 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsBuildData? Type1475 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailUpdateRequestDataType? Type1475 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsBuildDataType? Type1476 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailUpdateRequestDataAttributes? Type1476 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionPhasedRelease? Type1477 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationType? Type1477 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionPhasedReleaseData? Type1478 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAttributes? Type1478 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionPhasedReleaseDataType? Type1479 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationships? Type1479 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsGameCenterAppVersion? Type1480 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppStoreVersionExperimentTreatment? Type1480 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsGameCenterAppVersionData? Type1481 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppStoreVersionExperimentTreatmentData? Type1481 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsGameCenterAppVersionDataType? Type1482 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppStoreVersionExperimentTreatmentDataType? Type1482 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsRoutingAppCoverage? Type1483 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppScreenshotSets? Type1483 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsRoutingAppCoverageData? Type1484 { get; set; } + public global::System.Collections.Generic.IList? Type1484 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsRoutingAppCoverageDataType? Type1485 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppScreenshotSetsDataItem? Type1485 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreReviewDetail? Type1486 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppScreenshotSetsDataItemType? Type1486 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreReviewDetailData? Type1487 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSets? Type1487 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreReviewDetailDataType? Type1488 { get; set; } + public global::System.Collections.Generic.IList? Type1488 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionSubmission? Type1489 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItem? Type1489 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionSubmissionData? Type1490 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemType? Type1490 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionSubmissionDataType? Type1491 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements? Type1491 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppClipDefaultExperience? Type1492 { get; set; } + public global::System.Collections.Generic.IList? Type1492 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppClipDefaultExperienceData? Type1493 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem? Type1493 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppClipDefaultExperienceDataType? Type1494 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType? Type1494 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperiments? Type1495 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponse? Type1495 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1496 { get; set; } + public global::System.Collections.Generic.IList? Type1496 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsDataItem? Type1497 { get; set; } + public global::System.Collections.Generic.IList? Type1497 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsDataItemType? Type1498 { get; set; } + public global::AppStoreConnect.IncludedItem36? Type1498 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsV2? Type1499 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatment? Type1499 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1500 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminator? Type1500 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsV2DataItem? Type1501 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType? Type1501 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsV2DataItemType? Type1502 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponse? Type1502 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsCustomerReviews? Type1503 { get; set; } + public global::System.Collections.Generic.IList? Type1503 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackage? Type1504 { get; set; } + public global::AppStoreConnect.IncludedItem37? Type1504 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackageData? Type1505 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminator? Type1505 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackageDataType? Type1506 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType? Type1506 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsResponse? Type1507 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequest? Type1507 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1508 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestData? Type1508 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem44? Type1509 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataType? Type1509 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersion? Type1510 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataAttributes? Type1510 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverage? Type1511 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationships? Type1511 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminator? Type1512 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment? Type1512 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType? Type1513 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements? Type1513 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionResponse? Type1514 { get; set; } + public global::System.Collections.Generic.IList? Type1514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1515 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem? Type1515 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem45? Type1516 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? Type1516 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminator? Type1517 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentType? Type1517 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType? Type1518 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentAttributes? Type1518 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequest? Type1519 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationships? Type1519 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestData? Type1520 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperiment? Type1520 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataType? Type1521 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentData? Type1521 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataAttributes? Type1522 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentDataType? Type1522 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataAttributesReviewType? Type1523 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentV2? Type1523 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataAttributesReleaseType? Type1524 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentV2Data? Type1524 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationships? Type1525 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentV2DataType? Type1525 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsApp? Type1526 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentTreatmentLocalizations? Type1526 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppData? Type1527 { get; set; } + public global::System.Collections.Generic.IList? Type1527 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppDataType? Type1528 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentTreatmentLocalizationsDataItem? Type1528 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppStoreVersionLocalizations? Type1529 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentTreatmentLocalizationsDataItemType? Type1529 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1530 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponse? Type1530 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppStoreVersionLocalizationsDataItem? Type1531 { get; set; } + public global::System.Collections.Generic.IList? Type1531 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppStoreVersionLocalizationsDataItemType? Type1532 { get; set; } + public global::System.Collections.Generic.IList? Type1532 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsBuild? Type1533 { get; set; } + public global::AppStoreConnect.IncludedItem38? Type1533 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsBuildData? Type1534 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperiment? Type1534 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsBuildDataType? Type1535 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminator? Type1535 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequest? Type1536 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType? Type1536 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestData? Type1537 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponse? Type1537 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataType? Type1538 { get; set; } + public global::System.Collections.Generic.IList? Type1538 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataAttributes? Type1539 { get; set; } + public global::AppStoreConnect.IncludedItem39? Type1539 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataAttributesReviewType? Type1540 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminator? Type1540 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataAttributesReleaseType? Type1541 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType? Type1541 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationships? Type1542 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequest? Type1542 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsBuild? Type1543 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestData? Type1543 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsBuildData? Type1544 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataType? Type1544 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsBuildDataType? Type1545 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataAttributes? Type1545 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsAppClipDefaultExperience? Type1546 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationships? Type1546 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsAppClipDefaultExperienceData? Type1547 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperiment? Type1547 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsAppClipDefaultExperienceDataType? Type1548 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentData? Type1548 { get; set; } /// /// /// - public global::AppStoreConnect.AppTag? Type1549 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentDataType? Type1549 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagType? Type1550 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentV2? Type1550 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagAttributes? Type1551 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentV2Data? Type1551 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagRelationships? Type1552 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentCreateRequestDataRelationshipsAppStoreVersionExperimentV2DataType? Type1552 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagRelationshipsTerritories? Type1553 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentUpdateRequest? Type1553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1554 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentUpdateRequestData? Type1554 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagRelationshipsTerritoriesDataItem? Type1555 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentUpdateRequestDataType? Type1555 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagRelationshipsTerritoriesDataItemType? Type1556 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentUpdateRequestDataAttributes? Type1556 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagsResponse? Type1557 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2? Type1557 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1558 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2Type? Type1558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1559 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2Attributes? Type1559 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagResponse? Type1560 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2AttributesState? Type1560 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagUpdateRequest? Type1561 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2Relationships? Type1561 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagUpdateRequestData? Type1562 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsApp? Type1562 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagUpdateRequestDataType? Type1563 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppData? Type1563 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagUpdateRequestDataAttributes? Type1564 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppDataType? Type1564 { get; set; } /// /// /// - public global::AppStoreConnect.AppType? Type1565 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsLatestControlVersion? Type1565 { get; set; } /// /// /// - public global::AppStoreConnect.AppAttributes? Type1566 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsLatestControlVersionData? Type1566 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionStatusUrlVersion? Type1567 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsLatestControlVersionDataType? Type1567 { get; set; } /// /// /// - public global::AppStoreConnect.AppAttributesContentRightsDeclaration? Type1568 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsControlVersions? Type1568 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationships? Type1569 { get; set; } + public global::System.Collections.Generic.IList? Type1569 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAccessibilityDeclarations? Type1570 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsControlVersionsDataItem? Type1570 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppEncryptionDeclarations? Type1571 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsControlVersionsDataItemType? Type1571 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1572 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppStoreVersionExperimentTreatments? Type1572 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppEncryptionDeclarationsDataItem? Type1573 { get; set; } + public global::System.Collections.Generic.IList? Type1573 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppEncryptionDeclarationsDataItemType? Type1574 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppStoreVersionExperimentTreatmentsDataItem? Type1574 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppStoreIcon? Type1575 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppStoreVersionExperimentTreatmentsDataItemType? Type1575 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppStoreIconData? Type1576 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2Response? Type1576 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppStoreIconDataType? Type1577 { get; set; } + public global::System.Collections.Generic.IList? Type1577 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsCiProduct? Type1578 { get; set; } + public global::System.Collections.Generic.IList? Type1578 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsCiProductData? Type1579 { get; set; } + public global::AppStoreConnect.IncludedItem40? Type1579 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsCiProductDataType? Type1580 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminator? Type1580 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaTesters? Type1581 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType? Type1581 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaGroups? Type1582 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2Response? Type1582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1583 { get; set; } + public global::System.Collections.Generic.IList? Type1583 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaGroupsDataItem? Type1584 { get; set; } + public global::AppStoreConnect.IncludedItem41? Type1584 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaGroupsDataItemType? Type1585 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminator? Type1585 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppStoreVersions? Type1586 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType? Type1586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1587 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequest? Type1587 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppStoreVersionsDataItem? Type1588 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestData? Type1588 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppStoreVersionsDataItemType? Type1589 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataType? Type1589 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppTags? Type1590 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataAttributes? Type1590 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsPreReleaseVersions? Type1591 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataRelationships? Type1591 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1592 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataRelationshipsApp? Type1592 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsPreReleaseVersionsDataItem? Type1593 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataRelationshipsAppData? Type1593 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsPreReleaseVersionsDataItemType? Type1594 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2CreateRequestDataRelationshipsAppDataType? Type1594 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaAppLocalizations? Type1595 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2UpdateRequest? Type1595 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1596 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2UpdateRequestData? Type1596 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaAppLocalizationsDataItem? Type1597 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2UpdateRequestDataType? Type1597 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaAppLocalizationsDataItemType? Type1598 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2UpdateRequestDataAttributes? Type1598 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBuilds? Type1599 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentType? Type1599 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1600 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentAttributes? Type1600 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBuildsDataItem? Type1601 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentAttributesState? Type1601 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBuildsDataItemType? Type1602 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentRelationships? Type1602 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaLicenseAgreement? Type1603 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersion? Type1603 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaLicenseAgreementData? Type1604 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionData? Type1604 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaLicenseAgreementDataType? Type1605 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionDataType? Type1605 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaAppReviewDetail? Type1606 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionExperimentTreatments? Type1606 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaAppReviewDetailData? Type1607 { get; set; } + public global::System.Collections.Generic.IList? Type1607 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaAppReviewDetailDataType? Type1608 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionExperimentTreatmentsDataItem? Type1608 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppInfos? Type1609 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionExperimentTreatmentsDataItemType? Type1609 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1610 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsResponse? Type1610 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppInfosDataItem? Type1611 { get; set; } + public global::System.Collections.Generic.IList? Type1611 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppInfosDataItemType? Type1612 { get; set; } + public global::System.Collections.Generic.IList? Type1612 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppClips? Type1613 { get; set; } + public global::AppStoreConnect.IncludedItem42? Type1613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1614 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminator? Type1614 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppClipsDataItem? Type1615 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType? Type1615 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppClipsDataItemType? Type1616 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentResponse? Type1616 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppPricePoints? Type1617 { get; set; } + public global::System.Collections.Generic.IList? Type1617 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsEndUserLicenseAgreement? Type1618 { get; set; } + public global::AppStoreConnect.IncludedItem43? Type1618 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsEndUserLicenseAgreementData? Type1619 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminator? Type1619 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsEndUserLicenseAgreementDataType? Type1620 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType? Type1620 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppPriceSchedule? Type1621 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentCreateRequest? Type1621 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppAvailabilityV2? Type1622 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestData? Type1622 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsInAppPurchases? Type1623 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataType? Type1623 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1624 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataAttributes? Type1624 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsInAppPurchasesDataItem? Type1625 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataRelationships? Type1625 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsInAppPurchasesDataItemType? Type1626 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataRelationshipsAppStoreVersion? Type1626 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsSubscriptionGroups? Type1627 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataRelationshipsAppStoreVersionData? Type1627 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1628 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentCreateRequestDataRelationshipsAppStoreVersionDataType? Type1628 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsSubscriptionGroupsDataItem? Type1629 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentUpdateRequest? Type1629 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsSubscriptionGroupsDataItemType? Type1630 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentUpdateRequestData? Type1630 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsGameCenterEnabledVersions? Type1631 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentUpdateRequestDataType? Type1631 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1632 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentUpdateRequestDataAttributes? Type1632 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsGameCenterEnabledVersionsDataItem? Type1633 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationType? Type1633 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsGameCenterEnabledVersionsDataItemType? Type1634 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationAttributes? Type1634 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsPerformanceOverviews? Type1635 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationships? Type1635 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsPerfPowerMetrics? Type1636 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppStoreVersion? Type1636 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppCustomProductPages? Type1637 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppStoreVersionData? Type1637 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1638 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppStoreVersionDataType? Type1638 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppCustomProductPagesDataItem? Type1639 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppScreenshotSets? Type1639 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppCustomProductPagesDataItemType? Type1640 { get; set; } + public global::System.Collections.Generic.IList? Type1640 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsInAppPurchasesV2? Type1641 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppScreenshotSetsDataItem? Type1641 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1642 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppScreenshotSetsDataItemType? Type1642 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsInAppPurchasesV2DataItem? Type1643 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppPreviewSets? Type1643 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsInAppPurchasesV2DataItemType? Type1644 { get; set; } + public global::System.Collections.Generic.IList? Type1644 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsPromotedPurchases? Type1645 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppPreviewSetsDataItem? Type1645 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1646 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppPreviewSetsDataItemType? Type1646 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsPromotedPurchasesDataItem? Type1647 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywords? Type1647 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsPromotedPurchasesDataItemType? Type1648 { get; set; } + public global::System.Collections.Generic.IList? Type1648 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppEvents? Type1649 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItem? Type1649 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1650 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemType? Type1650 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppEventsDataItem? Type1651 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements? Type1651 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppEventsDataItemType? Type1652 { get; set; } + public global::System.Collections.Generic.IList? Type1652 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsReviewSubmissions? Type1653 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItem? Type1653 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1654 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType? Type1654 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsReviewSubmissionsDataItem? Type1655 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsResponse? Type1655 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsReviewSubmissionsDataItemType? Type1656 { get; set; } + public global::System.Collections.Generic.IList? Type1656 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsSubscriptionGracePeriod? Type1657 { get; set; } + public global::System.Collections.Generic.IList? Type1657 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsSubscriptionGracePeriodData? Type1658 { get; set; } + public global::AppStoreConnect.IncludedItem44? Type1658 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsSubscriptionGracePeriodDataType? Type1659 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminator? Type1659 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsCustomerReviews? Type1660 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType? Type1660 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsCustomerReviewSummarizations? Type1661 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationResponse? Type1661 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsGameCenterDetail? Type1662 { get; set; } + public global::System.Collections.Generic.IList? Type1662 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsGameCenterDetailData? Type1663 { get; set; } + public global::AppStoreConnect.IncludedItem45? Type1663 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsGameCenterDetailDataType? Type1664 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminator? Type1664 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppStoreVersionExperimentsV2? Type1665 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType? Type1665 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1666 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequest? Type1666 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppStoreVersionExperimentsV2DataItem? Type1667 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestData? Type1667 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAppStoreVersionExperimentsV2DataItemType? Type1668 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataType? Type1668 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAlternativeDistributionKey? Type1669 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataAttributes? Type1669 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAnalyticsReportRequests? Type1670 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationships? Type1670 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsMarketplaceSearchDetail? Type1671 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersion? Type1671 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBuildUploads? Type1672 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionData? Type1672 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBackgroundAssets? Type1673 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersionDataType? Type1673 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaFeedbackScreenshotSubmissions? Type1674 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements? Type1674 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsBetaFeedbackCrashSubmissions? Type1675 { get; set; } + public global::System.Collections.Generic.IList? Type1675 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsSearchKeywords? Type1676 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem? Type1676 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsWebhooks? Type1677 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? Type1677 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAndroidToIosAppMappingDetails? Type1678 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequest? Type1678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1679 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestData? Type1679 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAndroidToIosAppMappingDetailsDataItem? Type1680 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataType? Type1680 { get; set; } /// /// /// - public global::AppStoreConnect.AppRelationshipsAndroidToIosAppMappingDetailsDataItemType? Type1681 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationUpdateRequestDataAttributes? Type1681 { get; set; } /// /// /// - public global::AppStoreConnect.AppsResponse? Type1682 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedRelease? Type1682 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1683 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseType? Type1683 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1684 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseAttributes? Type1684 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem46? Type1685 { get; set; } + public global::AppStoreConnect.PhasedReleaseState? Type1685 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalization? Type1686 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseResponse? Type1686 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetail? Type1687 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequest? Type1687 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroup? Type1688 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestData? Type1688 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreement? Type1689 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataType? Type1689 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIcon? Type1690 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataAttributes? Type1690 { get; set; } /// /// /// - public global::AppStoreConnect.CiProduct? Type1691 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataRelationships? Type1691 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreement? Type1692 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataRelationshipsAppStoreVersion? Type1692 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetail? Type1693 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataRelationshipsAppStoreVersionData? Type1693 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersion? Type1694 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseCreateRequestDataRelationshipsAppStoreVersionDataType? Type1694 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchase? Type1695 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseUpdateRequest? Type1695 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersion? Type1696 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseUpdateRequestData? Type1696 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchase? Type1697 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseUpdateRequestDataType? Type1697 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmission? Type1698 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseUpdateRequestDataAttributes? Type1698 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriod? Type1699 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotion? Type1699 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroup? Type1700 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionType? Type1700 { get; set; } /// /// /// - public global::AppStoreConnect.AppsResponseIncludedItemDiscriminator? Type1701 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionResponse? Type1701 { get; set; } /// /// /// - public global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType? Type1702 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequest? Type1702 { get; set; } /// /// /// - public global::AppStoreConnect.AppResponse? Type1703 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestData? Type1703 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1704 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataType? Type1704 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem47? Type1705 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationships? Type1705 { get; set; } /// /// /// - public global::AppStoreConnect.AppResponseIncludedItemDiscriminator? Type1706 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersion? Type1706 { get; set; } /// /// /// - public global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType? Type1707 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionData? Type1707 { get; set; } /// /// /// - public global::AppStoreConnect.AppUpdateRequest? Type1708 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionDataType? Type1708 { get; set; } /// /// /// - public global::AppStoreConnect.AppUpdateRequestData? Type1709 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment? Type1709 { get; set; } /// /// /// - public global::AppStoreConnect.AppUpdateRequestDataType? Type1710 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentData? Type1710 { get; set; } /// /// /// - public global::AppStoreConnect.AppUpdateRequestDataAttributes? Type1711 { get; set; } + public global::AppStoreConnect.AppStoreVersionPromotionCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentDataType? Type1711 { get; set; } /// /// /// - public global::AppStoreConnect.AppUpdateRequestDataAttributesContentRightsDeclaration? Type1712 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequest? Type1712 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFile? Type1713 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequestType? Type1713 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileType? Type1714 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequestResponse? Type1714 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileAttributes? Type1715 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequest? Type1715 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileAttributesAssetType? Type1716 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestData? Type1716 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1717 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataType? Type1717 { get; set; } /// /// /// - public global::AppStoreConnect.DeliveryFileUploadOperation? Type1718 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataRelationships? Type1718 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFilesResponse? Type1719 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataRelationshipsAppStoreVersion? Type1719 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1720 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataRelationshipsAppStoreVersionData? Type1720 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileResponse? Type1721 { get; set; } + public global::AppStoreConnect.AppStoreVersionReleaseRequestCreateRequestDataRelationshipsAppStoreVersionDataType? Type1721 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequest? Type1722 { get; set; } + public global::AppStoreConnect.AppStoreVersionSubmission? Type1722 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestData? Type1723 { get; set; } + public global::AppStoreConnect.AppStoreVersionSubmissionType? Type1723 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataType? Type1724 { get; set; } + public global::AppStoreConnect.AppStoreVersionSubmissionRelationships? Type1724 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataAttributes? Type1725 { get; set; } + public global::AppStoreConnect.AppStoreVersionSubmissionRelationshipsAppStoreVersion? Type1725 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataAttributesAssetType? Type1726 { get; set; } + public global::AppStoreConnect.AppStoreVersionSubmissionRelationshipsAppStoreVersionData? Type1726 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataRelationships? Type1727 { get; set; } + public global::AppStoreConnect.AppStoreVersionSubmissionRelationshipsAppStoreVersionDataType? Type1727 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataRelationshipsBackgroundAssetVersion? Type1728 { get; set; } + public global::AppStoreConnect.AppStoreVersionSubmissionResponse? Type1728 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataRelationshipsBackgroundAssetVersionData? Type1729 { get; set; } + public global::System.Collections.Generic.IList? Type1729 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataRelationshipsBackgroundAssetVersionDataType? Type1730 { get; set; } + public global::AppStoreConnect.AppStoreVersionType? Type1730 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileUpdateRequest? Type1731 { get; set; } + public global::AppStoreConnect.AppStoreVersionAttributes? Type1731 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileUpdateRequestData? Type1732 { get; set; } + public global::AppStoreConnect.AppVersionState? Type1732 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileUpdateRequestDataType? Type1733 { get; set; } + public global::AppStoreConnect.AppStoreVersionAttributesReviewType? Type1733 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFileUpdateRequestDataAttributes? Type1734 { get; set; } + public global::AppStoreConnect.AppStoreVersionAttributesReleaseType? Type1734 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? Type1735 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationships? Type1735 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseType? Type1736 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsApp? Type1736 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseAttributes? Type1737 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppData? Type1737 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseState? Type1738 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppDataType? Type1738 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseRelationships? Type1739 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionLocalizations? Type1739 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseRelationshipsBackgroundAssetVersion? Type1740 { get; set; } + public global::System.Collections.Generic.IList? Type1740 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseRelationshipsBackgroundAssetVersionData? Type1741 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionLocalizationsDataItem? Type1741 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseRelationshipsBackgroundAssetVersionDataType? Type1742 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionLocalizationsDataItemType? Type1742 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseResponse? Type1743 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsBuild? Type1743 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1744 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsBuildData? Type1744 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersion? Type1745 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsBuildDataType? Type1745 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? Type1746 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionPhasedRelease? Type1746 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseType? Type1747 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionPhasedReleaseData? Type1747 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseAttributes? Type1748 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionPhasedReleaseDataType? Type1748 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseState? Type1749 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsGameCenterAppVersion? Type1749 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseRelationships? Type1750 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsGameCenterAppVersionData? Type1750 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseRelationshipsBackgroundAssetVersion? Type1751 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsGameCenterAppVersionDataType? Type1751 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseRelationshipsBackgroundAssetVersionData? Type1752 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsRoutingAppCoverage? Type1752 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseRelationshipsBackgroundAssetVersionDataType? Type1753 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsRoutingAppCoverageData? Type1753 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseResponse? Type1754 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsRoutingAppCoverageDataType? Type1754 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? Type1755 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreReviewDetail? Type1755 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseType? Type1756 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreReviewDetailData? Type1756 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseAttributes? Type1757 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreReviewDetailDataType? Type1757 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseAttributesState? Type1758 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionSubmission? Type1758 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseRelationships? Type1759 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionSubmissionData? Type1759 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseRelationshipsBackgroundAssetVersion? Type1760 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionSubmissionDataType? Type1760 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseRelationshipsBackgroundAssetVersionData? Type1761 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppClipDefaultExperience? Type1761 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseRelationshipsBackgroundAssetVersionDataType? Type1762 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppClipDefaultExperienceData? Type1762 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseResponse? Type1763 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppClipDefaultExperienceDataType? Type1763 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionType? Type1764 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperiments? Type1764 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAttributes? Type1765 { get; set; } + public global::System.Collections.Generic.IList? Type1765 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionState? Type1766 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsDataItem? Type1766 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAttributesStateDetails? Type1767 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsDataItemType? Type1767 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1768 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsV2? Type1768 { get; set; } /// /// /// - public global::AppStoreConnect.StateDetail? Type1769 { get; set; } + public global::System.Collections.Generic.IList? Type1769 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationships? Type1770 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsV2DataItem? Type1770 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAsset? Type1771 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsV2DataItemType? Type1771 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAssetData? Type1772 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsCustomerReviews? Type1772 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAssetDataType? Type1773 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackage? Type1773 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsInternalBetaRelease? Type1774 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackageData? Type1774 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsInternalBetaReleaseData? Type1775 { get; set; } + public global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackageDataType? Type1775 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsInternalBetaReleaseDataType? Type1776 { get; set; } + public global::AppStoreConnect.AppStoreVersionsResponse? Type1776 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsExternalBetaRelease? Type1777 { get; set; } + public global::System.Collections.Generic.IList? Type1777 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsExternalBetaReleaseData? Type1778 { get; set; } + public global::AppStoreConnect.IncludedItem46? Type1778 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsExternalBetaReleaseDataType? Type1779 { get; set; } + public global::AppStoreConnect.GameCenterAppVersion? Type1779 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAppStoreRelease? Type1780 { get; set; } + public global::AppStoreConnect.RoutingAppCoverage? Type1780 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAppStoreReleaseData? Type1781 { get; set; } + public global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminator? Type1781 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAppStoreReleaseDataType? Type1782 { get; set; } + public global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType? Type1782 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAssetFile? Type1783 { get; set; } + public global::AppStoreConnect.AppStoreVersionResponse? Type1783 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAssetFileData? Type1784 { get; set; } + public global::System.Collections.Generic.IList? Type1784 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAssetFileDataType? Type1785 { get; set; } + public global::AppStoreConnect.IncludedItem47? Type1785 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsManifestFile? Type1786 { get; set; } + public global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminator? Type1786 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsManifestFileData? Type1787 { get; set; } + public global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType? Type1787 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsManifestFileDataType? Type1788 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequest? Type1788 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAssetUploadFiles? Type1789 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestData? Type1789 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsResponse? Type1790 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataType? Type1790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1791 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataAttributes? Type1791 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem48? Type1792 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataAttributesReviewType? Type1792 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAsset? Type1793 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataAttributesReleaseType? Type1793 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminator? Type1794 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationships? Type1794 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType? Type1795 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsApp? Type1795 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionResponse? Type1796 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppData? Type1796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1797 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppDataType? Type1797 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem49? Type1798 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppStoreVersionLocalizations? Type1798 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminator? Type1799 { get; set; } + public global::System.Collections.Generic.IList? Type1799 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType? Type1800 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppStoreVersionLocalizationsDataItem? Type1800 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionCreateRequest? Type1801 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsAppStoreVersionLocalizationsDataItemType? Type1801 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionCreateRequestData? Type1802 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsBuild? Type1802 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataType? Type1803 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsBuildData? Type1803 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataRelationships? Type1804 { get; set; } + public global::AppStoreConnect.AppStoreVersionCreateRequestDataRelationshipsBuildDataType? Type1804 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataRelationshipsBackgroundAsset? Type1805 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequest? Type1805 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataRelationshipsBackgroundAssetData? Type1806 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestData? Type1806 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataRelationshipsBackgroundAssetDataType? Type1807 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataType? Type1807 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetType? Type1808 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataAttributes? Type1808 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetAttributes? Type1809 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataAttributesReviewType? Type1809 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationships? Type1810 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataAttributesReleaseType? Type1810 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsApp? Type1811 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationships? Type1811 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsAppData? Type1812 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsBuild? Type1812 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsAppDataType? Type1813 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsBuildData? Type1813 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsVersions? Type1814 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsBuildDataType? Type1814 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsAppStoreVersion? Type1815 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsAppClipDefaultExperience? Type1815 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsAppStoreVersionData? Type1816 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsAppClipDefaultExperienceData? Type1816 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsAppStoreVersionDataType? Type1817 { get; set; } + public global::AppStoreConnect.AppStoreVersionUpdateRequestDataRelationshipsAppClipDefaultExperienceDataType? Type1817 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsInternalBetaVersion? Type1818 { get; set; } + public global::AppStoreConnect.AppTag? Type1818 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsInternalBetaVersionData? Type1819 { get; set; } + public global::AppStoreConnect.AppTagType? Type1819 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsInternalBetaVersionDataType? Type1820 { get; set; } + public global::AppStoreConnect.AppTagAttributes? Type1820 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsExternalBetaVersion? Type1821 { get; set; } + public global::AppStoreConnect.AppTagRelationships? Type1821 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsExternalBetaVersionData? Type1822 { get; set; } + public global::AppStoreConnect.AppTagRelationshipsTerritories? Type1822 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetRelationshipsExternalBetaVersionDataType? Type1823 { get; set; } + public global::System.Collections.Generic.IList? Type1823 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsResponse? Type1824 { get; set; } + public global::AppStoreConnect.AppTagRelationshipsTerritoriesDataItem? Type1824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1825 { get; set; } + public global::AppStoreConnect.AppTagRelationshipsTerritoriesDataItemType? Type1825 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1826 { get; set; } + public global::AppStoreConnect.AppTagsResponse? Type1826 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem50? Type1827 { get; set; } + public global::System.Collections.Generic.IList? Type1827 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminator? Type1828 { get; set; } + public global::System.Collections.Generic.IList? Type1828 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType? Type1829 { get; set; } + public global::AppStoreConnect.AppTagResponse? Type1829 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetResponse? Type1830 { get; set; } + public global::AppStoreConnect.AppTagUpdateRequest? Type1830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1831 { get; set; } + public global::AppStoreConnect.AppTagUpdateRequestData? Type1831 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem51? Type1832 { get; set; } + public global::AppStoreConnect.AppTagUpdateRequestDataType? Type1832 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminator? Type1833 { get; set; } + public global::AppStoreConnect.AppTagUpdateRequestDataAttributes? Type1833 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType? Type1834 { get; set; } + public global::AppStoreConnect.AppType? Type1834 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetCreateRequest? Type1835 { get; set; } + public global::AppStoreConnect.AppAttributes? Type1835 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetCreateRequestData? Type1836 { get; set; } + public global::AppStoreConnect.SubscriptionStatusUrlVersion? Type1836 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetCreateRequestDataType? Type1837 { get; set; } + public global::AppStoreConnect.AppAttributesContentRightsDeclaration? Type1837 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetCreateRequestDataAttributes? Type1838 { get; set; } + public global::AppStoreConnect.AppRelationships? Type1838 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetCreateRequestDataRelationships? Type1839 { get; set; } + public global::AppStoreConnect.AppRelationshipsAccessibilityDeclarations? Type1839 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetCreateRequestDataRelationshipsApp? Type1840 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppEncryptionDeclarations? Type1840 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetCreateRequestDataRelationshipsAppData? Type1841 { get; set; } + public global::System.Collections.Generic.IList? Type1841 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetCreateRequestDataRelationshipsAppDataType? Type1842 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppEncryptionDeclarationsDataItem? Type1842 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUpdateRequest? Type1843 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppEncryptionDeclarationsDataItemType? Type1843 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUpdateRequestData? Type1844 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppStoreIcon? Type1844 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUpdateRequestDataType? Type1845 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppStoreIconData? Type1845 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUpdateRequestDataAttributes? Type1846 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppStoreIconDataType? Type1846 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalization? Type1847 { get; set; } + public global::AppStoreConnect.AppRelationshipsCiProduct? Type1847 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationType? Type1848 { get; set; } + public global::AppStoreConnect.AppRelationshipsCiProductData? Type1848 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationAttributes? Type1849 { get; set; } + public global::AppStoreConnect.AppRelationshipsCiProductDataType? Type1849 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreate? Type1850 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaTesters? Type1850 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateType? Type1851 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaGroups? Type1851 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateAttributes? Type1852 { get; set; } + public global::System.Collections.Generic.IList? Type1852 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateRelationships? Type1853 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaGroupsDataItem? Type1853 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateRelationshipsBetaAppClipInvocation? Type1854 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaGroupsDataItemType? Type1854 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateRelationshipsBetaAppClipInvocationData? Type1855 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppStoreVersions? Type1855 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateRelationshipsBetaAppClipInvocationDataType? Type1856 { get; set; } + public global::System.Collections.Generic.IList? Type1856 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationResponse? Type1857 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppStoreVersionsDataItem? Type1857 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequest? Type1858 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppStoreVersionsDataItemType? Type1858 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestData? Type1859 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppTags? Type1859 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataType? Type1860 { get; set; } + public global::AppStoreConnect.AppRelationshipsPreReleaseVersions? Type1860 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataAttributes? Type1861 { get; set; } + public global::System.Collections.Generic.IList? Type1861 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataRelationships? Type1862 { get; set; } + public global::AppStoreConnect.AppRelationshipsPreReleaseVersionsDataItem? Type1862 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataRelationshipsBetaAppClipInvocation? Type1863 { get; set; } + public global::AppStoreConnect.AppRelationshipsPreReleaseVersionsDataItemType? Type1863 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataRelationshipsBetaAppClipInvocationData? Type1864 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaAppLocalizations? Type1864 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataRelationshipsBetaAppClipInvocationDataType? Type1865 { get; set; } + public global::System.Collections.Generic.IList? Type1865 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationUpdateRequest? Type1866 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaAppLocalizationsDataItem? Type1866 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationUpdateRequestData? Type1867 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaAppLocalizationsDataItemType? Type1867 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationUpdateRequestDataType? Type1868 { get; set; } + public global::AppStoreConnect.AppRelationshipsBuilds? Type1868 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationLocalizationUpdateRequestDataAttributes? Type1869 { get; set; } + public global::System.Collections.Generic.IList? Type1869 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocation? Type1870 { get; set; } + public global::AppStoreConnect.AppRelationshipsBuildsDataItem? Type1870 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationType? Type1871 { get; set; } + public global::AppStoreConnect.AppRelationshipsBuildsDataItemType? Type1871 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationAttributes? Type1872 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaLicenseAgreement? Type1872 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationRelationships? Type1873 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaLicenseAgreementData? Type1873 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationRelationshipsBetaAppClipInvocationLocalizations? Type1874 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaLicenseAgreementDataType? Type1874 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1875 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaAppReviewDetail? Type1875 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationRelationshipsBetaAppClipInvocationLocalizationsDataItem? Type1876 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaAppReviewDetailData? Type1876 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationRelationshipsBetaAppClipInvocationLocalizationsDataItemType? Type1877 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaAppReviewDetailDataType? Type1877 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationsResponse? Type1878 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppInfos? Type1878 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1879 { get; set; } + public global::System.Collections.Generic.IList? Type1879 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1880 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppInfosDataItem? Type1880 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationResponse? Type1881 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppInfosDataItemType? Type1881 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequest? Type1882 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppClips? Type1882 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestData? Type1883 { get; set; } + public global::System.Collections.Generic.IList? Type1883 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataType? Type1884 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppClipsDataItem? Type1884 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataAttributes? Type1885 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppClipsDataItemType? Type1885 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationships? Type1886 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppPricePoints? Type1886 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBuildBundle? Type1887 { get; set; } + public global::AppStoreConnect.AppRelationshipsEndUserLicenseAgreement? Type1887 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBuildBundleData? Type1888 { get; set; } + public global::AppStoreConnect.AppRelationshipsEndUserLicenseAgreementData? Type1888 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBuildBundleDataType? Type1889 { get; set; } + public global::AppStoreConnect.AppRelationshipsEndUserLicenseAgreementDataType? Type1889 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBetaAppClipInvocationLocalizations? Type1890 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppPriceSchedule? Type1890 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1891 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppAvailabilityV2? Type1891 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBetaAppClipInvocationLocalizationsDataItem? Type1892 { get; set; } + public global::AppStoreConnect.AppRelationshipsInAppPurchases? Type1892 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBetaAppClipInvocationLocalizationsDataItemType? Type1893 { get; set; } + public global::System.Collections.Generic.IList? Type1893 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1894 { get; set; } + public global::AppStoreConnect.AppRelationshipsInAppPurchasesDataItem? Type1894 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationUpdateRequest? Type1895 { get; set; } + public global::AppStoreConnect.AppRelationshipsInAppPurchasesDataItemType? Type1895 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationUpdateRequestData? Type1896 { get; set; } + public global::AppStoreConnect.AppRelationshipsSubscriptionGroups? Type1896 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationUpdateRequestDataType? Type1897 { get; set; } + public global::System.Collections.Generic.IList? Type1897 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationUpdateRequestDataAttributes? Type1898 { get; set; } + public global::AppStoreConnect.AppRelationshipsSubscriptionGroupsDataItem? Type1898 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationType? Type1899 { get; set; } + public global::AppStoreConnect.AppRelationshipsSubscriptionGroupsDataItemType? Type1899 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationAttributes? Type1900 { get; set; } + public global::AppStoreConnect.AppRelationshipsGameCenterEnabledVersions? Type1900 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationRelationships? Type1901 { get; set; } + public global::System.Collections.Generic.IList? Type1901 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationRelationshipsApp? Type1902 { get; set; } + public global::AppStoreConnect.AppRelationshipsGameCenterEnabledVersionsDataItem? Type1902 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationRelationshipsAppData? Type1903 { get; set; } + public global::AppStoreConnect.AppRelationshipsGameCenterEnabledVersionsDataItemType? Type1903 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationRelationshipsAppDataType? Type1904 { get; set; } + public global::AppStoreConnect.AppRelationshipsPerformanceOverviews? Type1904 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationsResponse? Type1905 { get; set; } + public global::AppStoreConnect.AppRelationshipsPerfPowerMetrics? Type1905 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1906 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppCustomProductPages? Type1906 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationResponse? Type1907 { get; set; } + public global::System.Collections.Generic.IList? Type1907 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationCreateRequest? Type1908 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppCustomProductPagesDataItem? Type1908 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationCreateRequestData? Type1909 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppCustomProductPagesDataItemType? Type1909 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataType? Type1910 { get; set; } + public global::AppStoreConnect.AppRelationshipsInAppPurchasesV2? Type1910 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataAttributes? Type1911 { get; set; } + public global::System.Collections.Generic.IList? Type1911 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataRelationships? Type1912 { get; set; } + public global::AppStoreConnect.AppRelationshipsInAppPurchasesV2DataItem? Type1912 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataRelationshipsApp? Type1913 { get; set; } + public global::AppStoreConnect.AppRelationshipsInAppPurchasesV2DataItemType? Type1913 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataRelationshipsAppData? Type1914 { get; set; } + public global::AppStoreConnect.AppRelationshipsPromotedPurchases? Type1914 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataRelationshipsAppDataType? Type1915 { get; set; } + public global::System.Collections.Generic.IList? Type1915 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationUpdateRequest? Type1916 { get; set; } + public global::AppStoreConnect.AppRelationshipsPromotedPurchasesDataItem? Type1916 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationUpdateRequestData? Type1917 { get; set; } + public global::AppStoreConnect.AppRelationshipsPromotedPurchasesDataItemType? Type1917 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationUpdateRequestDataType? Type1918 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppEvents? Type1918 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationUpdateRequestDataAttributes? Type1919 { get; set; } + public global::System.Collections.Generic.IList? Type1919 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailType? Type1920 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppEventsDataItem? Type1920 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailAttributes? Type1921 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppEventsDataItemType? Type1921 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailRelationships? Type1922 { get; set; } + public global::AppStoreConnect.AppRelationshipsReviewSubmissions? Type1922 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailRelationshipsApp? Type1923 { get; set; } + public global::System.Collections.Generic.IList? Type1923 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailRelationshipsAppData? Type1924 { get; set; } + public global::AppStoreConnect.AppRelationshipsReviewSubmissionsDataItem? Type1924 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailRelationshipsAppDataType? Type1925 { get; set; } + public global::AppStoreConnect.AppRelationshipsReviewSubmissionsDataItemType? Type1925 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailsResponse? Type1926 { get; set; } + public global::AppStoreConnect.AppRelationshipsSubscriptionGracePeriod? Type1926 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1927 { get; set; } + public global::AppStoreConnect.AppRelationshipsSubscriptionGracePeriodData? Type1927 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailResponse? Type1928 { get; set; } + public global::AppStoreConnect.AppRelationshipsSubscriptionGracePeriodDataType? Type1928 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailUpdateRequest? Type1929 { get; set; } + public global::AppStoreConnect.AppRelationshipsCustomerReviews? Type1929 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailUpdateRequestData? Type1930 { get; set; } + public global::AppStoreConnect.AppRelationshipsCustomerReviewSummarizations? Type1930 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailUpdateRequestDataType? Type1931 { get; set; } + public global::AppStoreConnect.AppRelationshipsGameCenterDetail? Type1931 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailUpdateRequestDataAttributes? Type1932 { get; set; } + public global::AppStoreConnect.AppRelationshipsGameCenterDetailData? Type1932 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmission? Type1933 { get; set; } + public global::AppStoreConnect.AppRelationshipsGameCenterDetailDataType? Type1933 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionType? Type1934 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppStoreVersionExperimentsV2? Type1934 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionAttributes? Type1935 { get; set; } + public global::System.Collections.Generic.IList? Type1935 { get; set; } /// /// /// - public global::AppStoreConnect.BetaReviewState? Type1936 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppStoreVersionExperimentsV2DataItem? Type1936 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionRelationships? Type1937 { get; set; } + public global::AppStoreConnect.AppRelationshipsAppStoreVersionExperimentsV2DataItemType? Type1937 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionRelationshipsBuild? Type1938 { get; set; } + public global::AppStoreConnect.AppRelationshipsAlternativeDistributionKey? Type1938 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionRelationshipsBuildData? Type1939 { get; set; } + public global::AppStoreConnect.AppRelationshipsAnalyticsReportRequests? Type1939 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionRelationshipsBuildDataType? Type1940 { get; set; } + public global::AppStoreConnect.AppRelationshipsMarketplaceSearchDetail? Type1940 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionsResponse? Type1941 { get; set; } + public global::AppStoreConnect.AppRelationshipsBuildUploads? Type1941 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1942 { get; set; } + public global::AppStoreConnect.AppRelationshipsBackgroundAssets? Type1942 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1943 { get; set; } + public global::AppStoreConnect.AppRelationshipsAssetLibrary? Type1943 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionResponse? Type1944 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaFeedbackScreenshotSubmissions? Type1944 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequest? Type1945 { get; set; } + public global::AppStoreConnect.AppRelationshipsBetaFeedbackCrashSubmissions? Type1945 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestData? Type1946 { get; set; } + public global::AppStoreConnect.AppRelationshipsSearchKeywords? Type1946 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataType? Type1947 { get; set; } + public global::AppStoreConnect.AppRelationshipsWebhooks? Type1947 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataRelationships? Type1948 { get; set; } + public global::AppStoreConnect.AppRelationshipsAndroidToIosAppMappingDetails? Type1948 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataRelationshipsBuild? Type1949 { get; set; } + public global::System.Collections.Generic.IList? Type1949 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataRelationshipsBuildData? Type1950 { get; set; } + public global::AppStoreConnect.AppRelationshipsAndroidToIosAppMappingDetailsDataItem? Type1950 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataRelationshipsBuildDataType? Type1951 { get; set; } + public global::AppStoreConnect.AppRelationshipsAndroidToIosAppMappingDetailsDataItemType? Type1951 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalization? Type1952 { get; set; } + public global::AppStoreConnect.AppsResponse? Type1952 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationType? Type1953 { get; set; } + public global::System.Collections.Generic.IList? Type1953 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationAttributes? Type1954 { get; set; } + public global::System.Collections.Generic.IList? Type1954 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationRelationships? Type1955 { get; set; } + public global::AppStoreConnect.IncludedItem48? Type1955 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationRelationshipsBuild? Type1956 { get; set; } + public global::AppStoreConnect.BetaAppLocalization? Type1956 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationRelationshipsBuildData? Type1957 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetail? Type1957 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationRelationshipsBuildDataType? Type1958 { get; set; } + public global::AppStoreConnect.BetaGroup? Type1958 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationsResponse? Type1959 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreement? Type1959 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1960 { get; set; } + public global::AppStoreConnect.BuildIcon? Type1960 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationResponse? Type1961 { get; set; } + public global::AppStoreConnect.CiProduct? Type1961 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationCreateRequest? Type1962 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreement? Type1962 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationCreateRequestData? Type1963 { get; set; } + public global::AppStoreConnect.GameCenterDetail? Type1963 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataType? Type1964 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersion? Type1964 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataAttributes? Type1965 { get; set; } + public global::AppStoreConnect.InAppPurchase? Type1965 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataRelationships? Type1966 { get; set; } + public global::AppStoreConnect.PrereleaseVersion? Type1966 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataRelationshipsBuild? Type1967 { get; set; } + public global::AppStoreConnect.PromotedPurchase? Type1967 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataRelationshipsBuildData? Type1968 { get; set; } + public global::AppStoreConnect.ReviewSubmission? Type1968 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataRelationshipsBuildDataType? Type1969 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriod? Type1969 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationUpdateRequest? Type1970 { get; set; } + public global::AppStoreConnect.SubscriptionGroup? Type1970 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationUpdateRequestData? Type1971 { get; set; } + public global::AppStoreConnect.AppsResponseIncludedItemDiscriminator? Type1971 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationUpdateRequestDataType? Type1972 { get; set; } + public global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType? Type1972 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationUpdateRequestDataAttributes? Type1973 { get; set; } + public global::AppStoreConnect.AppResponse? Type1973 { get; set; } /// /// /// - public global::AppStoreConnect.BetaCrashLog? Type1974 { get; set; } + public global::System.Collections.Generic.IList? Type1974 { get; set; } /// /// /// - public global::AppStoreConnect.BetaCrashLogType? Type1975 { get; set; } + public global::AppStoreConnect.IncludedItem49? Type1975 { get; set; } /// /// /// - public global::AppStoreConnect.BetaCrashLogAttributes? Type1976 { get; set; } + public global::AppStoreConnect.AppResponseIncludedItemDiscriminator? Type1976 { get; set; } /// /// /// - public global::AppStoreConnect.BetaCrashLogResponse? Type1977 { get; set; } + public global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType? Type1977 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmission? Type1978 { get; set; } + public global::AppStoreConnect.AppUpdateRequest? Type1978 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionType? Type1979 { get; set; } + public global::AppStoreConnect.AppUpdateRequestData? Type1979 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionAttributes? Type1980 { get; set; } + public global::AppStoreConnect.AppUpdateRequestDataType? Type1980 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceConnectionType? Type1981 { get; set; } + public global::AppStoreConnect.AppUpdateRequestDataAttributes? Type1981 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationships? Type1982 { get; set; } + public global::AppStoreConnect.AppUpdateRequestDataAttributesContentRightsDeclaration? Type1982 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsCrashLog? Type1983 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFile? Type1983 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsBuild? Type1984 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileType? Type1984 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsBuildData? Type1985 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileAttributes? Type1985 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsBuildDataType? Type1986 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileAttributesAssetType? Type1986 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsTester? Type1987 { get; set; } + public global::System.Collections.Generic.IList? Type1987 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsTesterData? Type1988 { get; set; } + public global::AppStoreConnect.DeliveryFileUploadOperation? Type1988 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsTesterDataType? Type1989 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFilesResponse? Type1989 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponse? Type1990 { get; set; } + public global::System.Collections.Generic.IList? Type1990 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1991 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileResponse? Type1991 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1992 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequest? Type1992 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem52? Type1993 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestData? Type1993 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTester? Type1994 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataType? Type1994 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminator? Type1995 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataAttributes? Type1995 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType? Type1996 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataAttributesAssetType? Type1996 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionResponse? Type1997 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataRelationships? Type1997 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1998 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataRelationshipsBackgroundAssetVersion? Type1998 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem53? Type1999 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataRelationshipsBackgroundAssetVersionData? Type1999 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminator? Type2000 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileCreateRequestDataRelationshipsBackgroundAssetVersionDataType? Type2000 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType? Type2001 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileUpdateRequest? Type2001 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmission? Type2002 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileUpdateRequestData? Type2002 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionType? Type2003 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileUpdateRequestDataType? Type2003 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionAttributes? Type2004 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFileUpdateRequestDataAttributes? Type2004 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2005 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? Type2005 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotImage? Type2006 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseType? Type2006 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationships? Type2007 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseAttributes? Type2007 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsBuild? Type2008 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseState? Type2008 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsBuildData? Type2009 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseRelationships? Type2009 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsBuildDataType? Type2010 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseRelationshipsBackgroundAssetVersion? Type2010 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsTester? Type2011 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseRelationshipsBackgroundAssetVersionData? Type2011 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsTesterData? Type2012 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseRelationshipsBackgroundAssetVersionDataType? Type2012 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsTesterDataType? Type2013 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleaseResponse? Type2013 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponse? Type2014 { get; set; } + public global::System.Collections.Generic.IList? Type2014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2015 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersion? Type2015 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2016 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? Type2016 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem54? Type2017 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseType? Type2017 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminator? Type2018 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseAttributes? Type2018 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType? Type2019 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseState? Type2019 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponse? Type2020 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseRelationships? Type2020 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2021 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseRelationshipsBackgroundAssetVersion? Type2021 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem55? Type2022 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseRelationshipsBackgroundAssetVersionData? Type2022 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminator? Type2023 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseRelationshipsBackgroundAssetVersionDataType? Type2023 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType? Type2024 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleaseResponse? Type2024 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupType? Type2025 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? Type2025 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupAttributes? Type2026 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseType? Type2026 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationships? Type2027 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseAttributes? Type2027 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsApp? Type2028 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseAttributesState? Type2028 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsAppData? Type2029 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseRelationships? Type2029 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsAppDataType? Type2030 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseRelationshipsBackgroundAssetVersion? Type2030 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBuilds? Type2031 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseRelationshipsBackgroundAssetVersionData? Type2031 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2032 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseRelationshipsBackgroundAssetVersionDataType? Type2032 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBuildsDataItem? Type2033 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleaseResponse? Type2033 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBuildsDataItemType? Type2034 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionType? Type2034 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBetaTesters? Type2035 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAttributes? Type2035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2036 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionState? Type2036 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBetaTestersDataItem? Type2037 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAttributesStateDetails? Type2037 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBetaTestersDataItemType? Type2038 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationships? Type2038 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriteria? Type2039 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAsset? Type2039 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriteriaData? Type2040 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAssetData? Type2040 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriteriaDataType? Type2041 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAssetDataType? Type2041 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriterionCompatibleBuildCheck? Type2042 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsInternalBetaRelease? Type2042 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsResponse? Type2043 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsInternalBetaReleaseData? Type2043 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2044 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsInternalBetaReleaseDataType? Type2044 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2045 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsExternalBetaRelease? Type2045 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem56? Type2046 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsExternalBetaReleaseData? Type2046 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterion? Type2047 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsExternalBetaReleaseDataType? Type2047 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminator? Type2048 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAppStoreRelease? Type2048 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType? Type2049 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAppStoreReleaseData? Type2049 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupResponse? Type2050 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAppStoreReleaseDataType? Type2050 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2051 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAssetFile? Type2051 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem57? Type2052 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAssetFileData? Type2052 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminator? Type2053 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsAssetFileDataType? Type2053 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType? Type2054 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsManifestFile? Type2054 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequest? Type2055 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsManifestFileData? Type2055 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestData? Type2056 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsManifestFileDataType? Type2056 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataType? Type2057 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAssetUploadFiles? Type2057 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataAttributes? Type2058 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsResponse? Type2058 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationships? Type2059 { get; set; } + public global::System.Collections.Generic.IList? Type2059 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsApp? Type2060 { get; set; } + public global::AppStoreConnect.IncludedItem50? Type2060 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsAppData? Type2061 { get; set; } + public global::AppStoreConnect.BackgroundAsset? Type2061 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsAppDataType? Type2062 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminator? Type2062 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBuilds? Type2063 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType? Type2063 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2064 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionResponse? Type2064 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBuildsDataItem? Type2065 { get; set; } + public global::System.Collections.Generic.IList? Type2065 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBuildsDataItemType? Type2066 { get; set; } + public global::AppStoreConnect.IncludedItem51? Type2066 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBetaTesters? Type2067 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminator? Type2067 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2068 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType? Type2068 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBetaTestersDataItem? Type2069 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionCreateRequest? Type2069 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBetaTestersDataItemType? Type2070 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionCreateRequestData? Type2070 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupUpdateRequest? Type2071 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataType? Type2071 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupUpdateRequestData? Type2072 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataRelationships? Type2072 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupUpdateRequestDataType? Type2073 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataRelationshipsBackgroundAsset? Type2073 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupUpdateRequestDataAttributes? Type2074 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataRelationshipsBackgroundAssetData? Type2074 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementType? Type2075 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionCreateRequestDataRelationshipsBackgroundAssetDataType? Type2075 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementAttributes? Type2076 { get; set; } + public global::AppStoreConnect.BackgroundAssetType? Type2076 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementRelationships? Type2077 { get; set; } + public global::AppStoreConnect.BackgroundAssetAttributes? Type2077 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementRelationshipsApp? Type2078 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationships? Type2078 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementRelationshipsAppData? Type2079 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsApp? Type2079 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementRelationshipsAppDataType? Type2080 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsAppData? Type2080 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementsResponse? Type2081 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsAppDataType? Type2081 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2082 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsVersions? Type2082 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementResponse? Type2083 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsAppStoreVersion? Type2083 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementUpdateRequest? Type2084 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsAppStoreVersionData? Type2084 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementUpdateRequestData? Type2085 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsAppStoreVersionDataType? Type2085 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementUpdateRequestDataType? Type2086 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsInternalBetaVersion? Type2086 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementUpdateRequestDataAttributes? Type2087 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsInternalBetaVersionData? Type2087 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionType? Type2088 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsInternalBetaVersionDataType? Type2088 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionAttributes? Type2089 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsExternalBetaVersion? Type2089 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2090 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsExternalBetaVersionData? Type2090 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceFamilyOsVersionFilter? Type2091 { get; set; } + public global::AppStoreConnect.BackgroundAssetRelationshipsExternalBetaVersionDataType? Type2091 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionResponse? Type2092 { get; set; } + public global::AppStoreConnect.BackgroundAssetsResponse? Type2092 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequest? Type2093 { get; set; } + public global::System.Collections.Generic.IList? Type2093 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestData? Type2094 { get; set; } + public global::System.Collections.Generic.IList? Type2094 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataType? Type2095 { get; set; } + public global::AppStoreConnect.IncludedItem52? Type2095 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataAttributes? Type2096 { get; set; } + public global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminator? Type2096 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataRelationships? Type2097 { get; set; } + public global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType? Type2097 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataRelationshipsBetaGroup? Type2098 { get; set; } + public global::AppStoreConnect.BackgroundAssetResponse? Type2098 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataRelationshipsBetaGroupData? Type2099 { get; set; } + public global::System.Collections.Generic.IList? Type2099 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataRelationshipsBetaGroupDataType? Type2100 { get; set; } + public global::AppStoreConnect.IncludedItem53? Type2100 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionUpdateRequest? Type2101 { get; set; } + public global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminator? Type2101 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionUpdateRequestData? Type2102 { get; set; } + public global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType? Type2102 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionUpdateRequestDataType? Type2103 { get; set; } + public global::AppStoreConnect.BackgroundAssetCreateRequest? Type2103 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionUpdateRequestDataAttributes? Type2104 { get; set; } + public global::AppStoreConnect.BackgroundAssetCreateRequestData? Type2104 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCompatibleBuildCheck? Type2105 { get; set; } + public global::AppStoreConnect.BackgroundAssetCreateRequestDataType? Type2105 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCompatibleBuildCheckType? Type2106 { get; set; } + public global::AppStoreConnect.BackgroundAssetCreateRequestDataAttributes? Type2106 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCompatibleBuildCheckAttributes? Type2107 { get; set; } + public global::AppStoreConnect.BackgroundAssetCreateRequestDataRelationships? Type2107 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionCompatibleBuildCheckResponse? Type2108 { get; set; } + public global::AppStoreConnect.BackgroundAssetCreateRequestDataRelationshipsApp? Type2108 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionOption? Type2109 { get; set; } + public global::AppStoreConnect.BackgroundAssetCreateRequestDataRelationshipsAppData? Type2109 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionOptionType? Type2110 { get; set; } + public global::AppStoreConnect.BackgroundAssetCreateRequestDataRelationshipsAppDataType? Type2110 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionOptionAttributes? Type2111 { get; set; } + public global::AppStoreConnect.BackgroundAssetUpdateRequest? Type2111 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2112 { get; set; } + public global::AppStoreConnect.BackgroundAssetUpdateRequestData? Type2112 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionOptionAttributesDeviceFamilyOsVersion? Type2113 { get; set; } + public global::AppStoreConnect.BackgroundAssetUpdateRequestDataType? Type2113 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionOptionsResponse? Type2114 { get; set; } + public global::AppStoreConnect.BackgroundAssetUpdateRequestDataAttributes? Type2114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2115 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalization? Type2115 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitation? Type2116 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationType? Type2116 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationType? Type2117 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationAttributes? Type2117 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationResponse? Type2118 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreate? Type2118 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequest? Type2119 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateType? Type2119 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequestData? Type2120 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateAttributes? Type2120 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataType? Type2121 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateRelationships? Type2121 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationships? Type2122 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateRelationshipsBetaAppClipInvocation? Type2122 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsBetaTester? Type2123 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateRelationshipsBetaAppClipInvocationData? Type2123 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsBetaTesterData? Type2124 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationInlineCreateRelationshipsBetaAppClipInvocationDataType? Type2124 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsBetaTesterDataType? Type2125 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationResponse? Type2125 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsApp? Type2126 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequest? Type2126 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsAppData? Type2127 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestData? Type2127 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsAppDataType? Type2128 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataType? Type2128 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterType? Type2129 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataAttributes? Type2129 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterAttributes? Type2130 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataRelationships? Type2130 { get; set; } /// /// /// - public global::AppStoreConnect.BetaInviteType? Type2131 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataRelationshipsBetaAppClipInvocation? Type2131 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterState? Type2132 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataRelationshipsBetaAppClipInvocationData? Type2132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2133 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationCreateRequestDataRelationshipsBetaAppClipInvocationDataType? Type2133 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterAttributesAppDevice? Type2134 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationUpdateRequest? Type2134 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterAttributesAppDevicePlatform? Type2135 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationUpdateRequestData? Type2135 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationships? Type2136 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationUpdateRequestDataType? Type2136 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationshipsApps? Type2137 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationLocalizationUpdateRequestDataAttributes? Type2137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2138 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocation? Type2138 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationshipsAppsDataItem? Type2139 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationType? Type2139 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationshipsAppsDataItemType? Type2140 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationAttributes? Type2140 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationshipsBetaGroups? Type2141 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationRelationships? Type2141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2142 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationRelationshipsBetaAppClipInvocationLocalizations? Type2142 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationshipsBetaGroupsDataItem? Type2143 { get; set; } + public global::System.Collections.Generic.IList? Type2143 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationshipsBetaGroupsDataItemType? Type2144 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationRelationshipsBetaAppClipInvocationLocalizationsDataItem? Type2144 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationshipsBuilds? Type2145 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationRelationshipsBetaAppClipInvocationLocalizationsDataItemType? Type2145 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2146 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationsResponse? Type2146 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationshipsBuildsDataItem? Type2147 { get; set; } + public global::System.Collections.Generic.IList? Type2147 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterRelationshipsBuildsDataItemType? Type2148 { get; set; } + public global::System.Collections.Generic.IList? Type2148 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersResponse? Type2149 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationResponse? Type2149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2150 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequest? Type2150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2151 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestData? Type2151 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem58? Type2152 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataType? Type2152 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminator? Type2153 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataAttributes? Type2153 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType? Type2154 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationships? Type2154 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterResponse? Type2155 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBuildBundle? Type2155 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2156 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBuildBundleData? Type2156 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem59? Type2157 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBuildBundleDataType? Type2157 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminator? Type2158 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBetaAppClipInvocationLocalizations? Type2158 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType? Type2159 { get; set; } + public global::System.Collections.Generic.IList? Type2159 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequest? Type2160 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBetaAppClipInvocationLocalizationsDataItem? Type2160 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestData? Type2161 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationCreateRequestDataRelationshipsBetaAppClipInvocationLocalizationsDataItemType? Type2161 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestDataType? Type2162 { get; set; } + public global::System.Collections.Generic.IList? Type2162 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestDataAttributes? Type2163 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationUpdateRequest? Type2163 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestDataRelationships? Type2164 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationUpdateRequestData? Type2164 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBetaGroups? Type2165 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationUpdateRequestDataType? Type2165 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2166 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationUpdateRequestDataAttributes? Type2166 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBetaGroupsDataItem? Type2167 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationType? Type2167 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBetaGroupsDataItemType? Type2168 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationAttributes? Type2168 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBuilds? Type2169 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationRelationships? Type2169 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2170 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationRelationshipsApp? Type2170 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBuildsDataItem? Type2171 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationRelationshipsAppData? Type2171 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBuildsDataItemType? Type2172 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationRelationshipsAppDataType? Type2172 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetail? Type2173 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationsResponse? Type2173 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailType? Type2174 { get; set; } + public global::System.Collections.Generic.IList? Type2174 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailAttributes? Type2175 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationResponse? Type2175 { get; set; } /// /// /// - public global::AppStoreConnect.InternalBetaState? Type2176 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationCreateRequest? Type2176 { get; set; } /// /// /// - public global::AppStoreConnect.ExternalBetaState? Type2177 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationCreateRequestData? Type2177 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailRelationships? Type2178 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataType? Type2178 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailRelationshipsBuild? Type2179 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataAttributes? Type2179 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailRelationshipsBuildData? Type2180 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataRelationships? Type2180 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailRelationshipsBuildDataType? Type2181 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataRelationshipsApp? Type2181 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsResponse? Type2182 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataRelationshipsAppData? Type2182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2183 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationCreateRequestDataRelationshipsAppDataType? Type2183 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailResponse? Type2184 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationUpdateRequest? Type2184 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailUpdateRequest? Type2185 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationUpdateRequestData? Type2185 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailUpdateRequestData? Type2186 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationUpdateRequestDataType? Type2186 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailUpdateRequestDataType? Type2187 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationUpdateRequestDataAttributes? Type2187 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailUpdateRequestDataAttributes? Type2188 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailType? Type2188 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotification? Type2189 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailAttributes? Type2189 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotificationType? Type2190 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailRelationships? Type2190 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotificationResponse? Type2191 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailRelationshipsApp? Type2191 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotificationCreateRequest? Type2192 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailRelationshipsAppData? Type2192 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotificationCreateRequestData? Type2193 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailRelationshipsAppDataType? Type2193 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataType? Type2194 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailsResponse? Type2194 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataRelationships? Type2195 { get; set; } + public global::System.Collections.Generic.IList? Type2195 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataRelationshipsBuild? Type2196 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailResponse? Type2196 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataRelationshipsBuildData? Type2197 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailUpdateRequest? Type2197 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataRelationshipsBuildDataType? Type2198 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailUpdateRequestData? Type2198 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleFileSize? Type2199 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailUpdateRequestDataType? Type2199 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleFileSizeType? Type2200 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailUpdateRequestDataAttributes? Type2200 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleFileSizeAttributes? Type2201 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmission? Type2201 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleFileSizesResponse? Type2202 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionType? Type2202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2203 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionAttributes? Type2203 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundle? Type2204 { get; set; } + public global::AppStoreConnect.BetaReviewState? Type2204 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleType? Type2205 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionRelationships? Type2205 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleAttributes? Type2206 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionRelationshipsBuild? Type2206 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleType2? Type2207 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionRelationshipsBuildData? Type2207 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type2208 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionRelationshipsBuildDataType? Type2208 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type2209 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionsResponse? Type2209 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationships? Type2210 { get; set; } + public global::System.Collections.Generic.IList? Type2210 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainCacheStatus? Type2211 { get; set; } + public global::System.Collections.Generic.IList? Type2211 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainCacheStatusData? Type2212 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionResponse? Type2212 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainCacheStatusDataType? Type2213 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequest? Type2213 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainDebugStatus? Type2214 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestData? Type2214 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainDebugStatusData? Type2215 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataType? Type2215 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainDebugStatusDataType? Type2216 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataRelationships? Type2216 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsBetaAppClipInvocations? Type2217 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataRelationshipsBuild? Type2217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2218 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataRelationshipsBuildData? Type2218 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsBetaAppClipInvocationsDataItem? Type2219 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionCreateRequestDataRelationshipsBuildDataType? Type2219 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsBetaAppClipInvocationsDataItemType? Type2220 { get; set; } + public global::AppStoreConnect.BetaBuildLocalization? Type2220 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsBuildBundleFileSizes? Type2221 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationType? Type2221 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2222 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationAttributes? Type2222 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsBuildBundleFileSizesDataItem? Type2223 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationRelationships? Type2223 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleRelationshipsBuildBundleFileSizesDataItemType? Type2224 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationRelationshipsBuild? Type2224 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIconType? Type2225 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationRelationshipsBuildData? Type2225 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIconAttributes? Type2226 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationRelationshipsBuildDataType? Type2226 { get; set; } /// /// /// - public global::AppStoreConnect.IconAssetType? Type2227 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationsResponse? Type2227 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIconsResponse? Type2228 { get; set; } + public global::System.Collections.Generic.IList? Type2228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2229 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationResponse? Type2229 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFile? Type2230 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationCreateRequest? Type2230 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileType? Type2231 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationCreateRequestData? Type2231 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileAttributes? Type2232 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataType? Type2232 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileAttributesAssetType? Type2233 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataAttributes? Type2233 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileAttributesUti? Type2234 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataRelationships? Type2234 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFilesResponse? Type2235 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataRelationshipsBuild? Type2235 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2236 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataRelationshipsBuildData? Type2236 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileResponse? Type2237 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationCreateRequestDataRelationshipsBuildDataType? Type2237 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequest? Type2238 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationUpdateRequest? Type2238 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequestData? Type2239 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationUpdateRequestData? Type2239 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequestDataType? Type2240 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationUpdateRequestDataType? Type2240 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequestDataAttributes? Type2241 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationUpdateRequestDataAttributes? Type2241 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequestDataAttributesAssetType? Type2242 { get; set; } + public global::AppStoreConnect.BetaCrashLog? Type2242 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequestDataAttributesUti? Type2243 { get; set; } + public global::AppStoreConnect.BetaCrashLogType? Type2243 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequestDataRelationships? Type2244 { get; set; } + public global::AppStoreConnect.BetaCrashLogAttributes? Type2244 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequestDataRelationshipsBuildUpload? Type2245 { get; set; } + public global::AppStoreConnect.BetaCrashLogResponse? Type2245 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequestDataRelationshipsBuildUploadData? Type2246 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmission? Type2246 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileCreateRequestDataRelationshipsBuildUploadDataType? Type2247 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionType? Type2247 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileUpdateRequest? Type2248 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionAttributes? Type2248 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileUpdateRequestData? Type2249 { get; set; } + public global::AppStoreConnect.DeviceConnectionType? Type2249 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileUpdateRequestDataType? Type2250 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationships? Type2250 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFileUpdateRequestDataAttributes? Type2251 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsCrashLog? Type2251 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUpload? Type2252 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsBuild? Type2252 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadType? Type2253 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsBuildData? Type2253 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadAttributes? Type2254 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsBuildDataType? Type2254 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadAttributesState? Type2255 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsTester? Type2255 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadState? Type2256 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsTesterData? Type2256 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationships? Type2257 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsTesterDataType? Type2257 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsBuild? Type2258 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponse? Type2258 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsBuildData? Type2259 { get; set; } + public global::System.Collections.Generic.IList? Type2259 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsBuildDataType? Type2260 { get; set; } + public global::System.Collections.Generic.IList? Type2260 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsAssetFile? Type2261 { get; set; } + public global::AppStoreConnect.IncludedItem54? Type2261 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsAssetFileData? Type2262 { get; set; } + public global::AppStoreConnect.BetaTester? Type2262 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsAssetFileDataType? Type2263 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminator? Type2263 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsAssetDescriptionFile? Type2264 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType? Type2264 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsAssetDescriptionFileData? Type2265 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionResponse? Type2265 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsAssetDescriptionFileDataType? Type2266 { get; set; } + public global::System.Collections.Generic.IList? Type2266 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsAssetSpiFile? Type2267 { get; set; } + public global::AppStoreConnect.IncludedItem55? Type2267 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsAssetSpiFileData? Type2268 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminator? Type2268 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsAssetSpiFileDataType? Type2269 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType? Type2269 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadRelationshipsBuildUploadFiles? Type2270 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmission? Type2270 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadsResponse? Type2271 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionType? Type2271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2272 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionAttributes? Type2272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2273 { get; set; } + public global::System.Collections.Generic.IList? Type2273 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem60? Type2274 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotImage? Type2274 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminator? Type2275 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationships? Type2275 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType? Type2276 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsBuild? Type2276 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadResponse? Type2277 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsBuildData? Type2277 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2278 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsBuildDataType? Type2278 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem61? Type2279 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsTester? Type2279 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminator? Type2280 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsTesterData? Type2280 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType? Type2281 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsTesterDataType? Type2281 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadCreateRequest? Type2282 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponse? Type2282 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadCreateRequestData? Type2283 { get; set; } + public global::System.Collections.Generic.IList? Type2283 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadCreateRequestDataType? Type2284 { get; set; } + public global::System.Collections.Generic.IList? Type2284 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadCreateRequestDataAttributes? Type2285 { get; set; } + public global::AppStoreConnect.IncludedItem56? Type2285 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadCreateRequestDataRelationships? Type2286 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminator? Type2286 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadCreateRequestDataRelationshipsApp? Type2287 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType? Type2287 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadCreateRequestDataRelationshipsAppData? Type2288 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponse? Type2288 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadCreateRequestDataRelationshipsAppDataType? Type2289 { get; set; } + public global::System.Collections.Generic.IList? Type2289 { get; set; } /// /// /// - public global::AppStoreConnect.BuildType? Type2290 { get; set; } + public global::AppStoreConnect.IncludedItem57? Type2290 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAttributes? Type2291 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminator? Type2291 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAttributesProcessingState? Type2292 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType? Type2292 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAudienceType? Type2293 { get; set; } + public global::AppStoreConnect.BetaGroupType? Type2293 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationships? Type2294 { get; set; } + public global::AppStoreConnect.BetaGroupAttributes? Type2294 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsPreReleaseVersion? Type2295 { get; set; } + public global::AppStoreConnect.BetaGroupRelationships? Type2295 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsPreReleaseVersionData? Type2296 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsApp? Type2296 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsPreReleaseVersionDataType? Type2297 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsAppData? Type2297 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsIndividualTesters? Type2298 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsAppDataType? Type2298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2299 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBuilds? Type2299 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsIndividualTestersDataItem? Type2300 { get; set; } + public global::System.Collections.Generic.IList? Type2300 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsIndividualTestersDataItemType? Type2301 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBuildsDataItem? Type2301 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBetaGroups? Type2302 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBuildsDataItemType? Type2302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2303 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBetaTesters? Type2303 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBetaGroupsDataItem? Type2304 { get; set; } + public global::System.Collections.Generic.IList? Type2304 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBetaGroupsDataItemType? Type2305 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBetaTestersDataItem? Type2305 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBetaBuildLocalizations? Type2306 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBetaTestersDataItemType? Type2306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2307 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriteria? Type2307 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBetaBuildLocalizationsDataItem? Type2308 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriteriaData? Type2308 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBetaBuildLocalizationsDataItemType? Type2309 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriteriaDataType? Type2309 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsAppEncryptionDeclaration? Type2310 { get; set; } + public global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriterionCompatibleBuildCheck? Type2310 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsAppEncryptionDeclarationData? Type2311 { get; set; } + public global::AppStoreConnect.BetaGroupsResponse? Type2311 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsAppEncryptionDeclarationDataType? Type2312 { get; set; } + public global::System.Collections.Generic.IList? Type2312 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBetaAppReviewSubmission? Type2313 { get; set; } + public global::System.Collections.Generic.IList? Type2313 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBetaAppReviewSubmissionData? Type2314 { get; set; } + public global::AppStoreConnect.IncludedItem58? Type2314 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBetaAppReviewSubmissionDataType? Type2315 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterion? Type2315 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsApp? Type2316 { get; set; } + public global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminator? Type2316 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsAppData? Type2317 { get; set; } + public global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType? Type2317 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsAppDataType? Type2318 { get; set; } + public global::AppStoreConnect.BetaGroupResponse? Type2318 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBuildBetaDetail? Type2319 { get; set; } + public global::System.Collections.Generic.IList? Type2319 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBuildBetaDetailData? Type2320 { get; set; } + public global::AppStoreConnect.IncludedItem59? Type2320 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBuildBetaDetailDataType? Type2321 { get; set; } + public global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminator? Type2321 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsAppStoreVersion? Type2322 { get; set; } + public global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType? Type2322 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsAppStoreVersionData? Type2323 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequest? Type2323 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsAppStoreVersionDataType? Type2324 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestData? Type2324 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsIcons? Type2325 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataType? Type2325 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2326 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataAttributes? Type2326 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsIconsDataItem? Type2327 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationships? Type2327 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsIconsDataItemType? Type2328 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsApp? Type2328 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBuildBundles? Type2329 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsAppData? Type2329 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2330 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsAppDataType? Type2330 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBuildBundlesDataItem? Type2331 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBuilds? Type2331 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBuildBundlesDataItemType? Type2332 { get; set; } + public global::System.Collections.Generic.IList? Type2332 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBuildUpload? Type2333 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBuildsDataItem? Type2333 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBuildUploadData? Type2334 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBuildsDataItemType? Type2334 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsBuildUploadDataType? Type2335 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBetaTesters? Type2335 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsPerfPowerMetrics? Type2336 { get; set; } + public global::System.Collections.Generic.IList? Type2336 { get; set; } /// /// /// - public global::AppStoreConnect.BuildRelationshipsDiagnosticSignatures? Type2337 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBetaTestersDataItem? Type2337 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsResponse? Type2338 { get; set; } + public global::AppStoreConnect.BetaGroupCreateRequestDataRelationshipsBetaTestersDataItemType? Type2338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2339 { get; set; } + public global::AppStoreConnect.BetaGroupUpdateRequest? Type2339 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem62? Type2340 { get; set; } + public global::AppStoreConnect.BetaGroupUpdateRequestData? Type2340 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsResponseIncludedItemDiscriminator? Type2341 { get; set; } + public global::AppStoreConnect.BetaGroupUpdateRequestDataType? Type2341 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType? Type2342 { get; set; } + public global::AppStoreConnect.BetaGroupUpdateRequestDataAttributes? Type2342 { get; set; } /// /// /// - public global::AppStoreConnect.BuildResponse? Type2343 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementType? Type2343 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2344 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementAttributes? Type2344 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem63? Type2345 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementRelationships? Type2345 { get; set; } /// /// /// - public global::AppStoreConnect.BuildResponseIncludedItemDiscriminator? Type2346 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementRelationshipsApp? Type2346 { get; set; } /// /// /// - public global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType? Type2347 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementRelationshipsAppData? Type2347 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUpdateRequest? Type2348 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementRelationshipsAppDataType? Type2348 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUpdateRequestData? Type2349 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementsResponse? Type2349 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUpdateRequestDataType? Type2350 { get; set; } + public global::System.Collections.Generic.IList? Type2350 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUpdateRequestDataAttributes? Type2351 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementResponse? Type2351 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUpdateRequestDataRelationships? Type2352 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementUpdateRequest? Type2352 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUpdateRequestDataRelationshipsAppEncryptionDeclaration? Type2353 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementUpdateRequestData? Type2353 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUpdateRequestDataRelationshipsAppEncryptionDeclarationData? Type2354 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementUpdateRequestDataType? Type2354 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUpdateRequestDataRelationshipsAppEncryptionDeclarationDataType? Type2355 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementUpdateRequestDataAttributes? Type2355 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapability? Type2356 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionType? Type2356 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityType? Type2357 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionAttributes? Type2357 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityAttributes? Type2358 { get; set; } + public global::System.Collections.Generic.IList? Type2358 { get; set; } /// /// /// - public global::AppStoreConnect.CapabilityType? Type2359 { get; set; } + public global::AppStoreConnect.DeviceFamilyOsVersionFilter? Type2359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2360 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionResponse? Type2360 { get; set; } /// /// /// - public global::AppStoreConnect.CapabilitySetting? Type2361 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequest? Type2361 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilitiesResponse? Type2362 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestData? Type2362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2363 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataType? Type2363 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityResponse? Type2364 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataAttributes? Type2364 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityCreateRequest? Type2365 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataRelationships? Type2365 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityCreateRequestData? Type2366 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataRelationshipsBetaGroup? Type2366 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataType? Type2367 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataRelationshipsBetaGroupData? Type2367 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataAttributes? Type2368 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCreateRequestDataRelationshipsBetaGroupDataType? Type2368 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataRelationships? Type2369 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionUpdateRequest? Type2369 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataRelationshipsBundleId? Type2370 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionUpdateRequestData? Type2370 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataRelationshipsBundleIdData? Type2371 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionUpdateRequestDataType? Type2371 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataRelationshipsBundleIdDataType? Type2372 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionUpdateRequestDataAttributes? Type2372 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityUpdateRequest? Type2373 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCompatibleBuildCheck? Type2373 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityUpdateRequestData? Type2374 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCompatibleBuildCheckType? Type2374 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityUpdateRequestDataType? Type2375 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCompatibleBuildCheckAttributes? Type2375 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilityUpdateRequestDataAttributes? Type2376 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionCompatibleBuildCheckResponse? Type2376 { get; set; } /// /// /// - public global::AppStoreConnect.BundleId? Type2377 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionOption? Type2377 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdType? Type2378 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionOptionType? Type2378 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdAttributes? Type2379 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionOptionAttributes? Type2379 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdPlatform? Type2380 { get; set; } + public global::System.Collections.Generic.IList? Type2380 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationships? Type2381 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionOptionAttributesDeviceFamilyOsVersion? Type2381 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationshipsProfiles? Type2382 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionOptionsResponse? Type2382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2383 { get; set; } + public global::System.Collections.Generic.IList? Type2383 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationshipsProfilesDataItem? Type2384 { get; set; } + public global::AppStoreConnect.BetaTesterInvitation? Type2384 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationshipsProfilesDataItemType? Type2385 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationType? Type2385 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationshipsBundleIdCapabilities? Type2386 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationResponse? Type2386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2387 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequest? Type2387 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationshipsBundleIdCapabilitiesDataItem? Type2388 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequestData? Type2388 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationshipsBundleIdCapabilitiesDataItemType? Type2389 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataType? Type2389 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationshipsApp? Type2390 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationships? Type2390 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationshipsAppData? Type2391 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsBetaTester? Type2391 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdRelationshipsAppDataType? Type2392 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsBetaTesterData? Type2392 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsResponse? Type2393 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsBetaTesterDataType? Type2393 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2394 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsApp? Type2394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2395 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsAppData? Type2395 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem64? Type2396 { get; set; } + public global::AppStoreConnect.BetaTesterInvitationCreateRequestDataRelationshipsAppDataType? Type2396 { get; set; } /// /// /// - public global::AppStoreConnect.Profile? Type2397 { get; set; } + public global::AppStoreConnect.BetaTesterType? Type2397 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminator? Type2398 { get; set; } + public global::AppStoreConnect.BetaTesterAttributes? Type2398 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType? Type2399 { get; set; } + public global::AppStoreConnect.BetaInviteType? Type2399 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdResponse? Type2400 { get; set; } + public global::AppStoreConnect.BetaTesterState? Type2400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2401 { get; set; } + public global::System.Collections.Generic.IList? Type2401 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem65? Type2402 { get; set; } + public global::AppStoreConnect.BetaTesterAttributesAppDevice? Type2402 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminator? Type2403 { get; set; } + public global::AppStoreConnect.BetaTesterAttributesAppDevicePlatform? Type2403 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType? Type2404 { get; set; } + public global::AppStoreConnect.BetaTesterRelationships? Type2404 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCreateRequest? Type2405 { get; set; } + public global::AppStoreConnect.BetaTesterRelationshipsApps? Type2405 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCreateRequestData? Type2406 { get; set; } + public global::System.Collections.Generic.IList? Type2406 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCreateRequestDataType? Type2407 { get; set; } + public global::AppStoreConnect.BetaTesterRelationshipsAppsDataItem? Type2407 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCreateRequestDataAttributes? Type2408 { get; set; } + public global::AppStoreConnect.BetaTesterRelationshipsAppsDataItemType? Type2408 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdUpdateRequest? Type2409 { get; set; } + public global::AppStoreConnect.BetaTesterRelationshipsBetaGroups? Type2409 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdUpdateRequestData? Type2410 { get; set; } + public global::System.Collections.Generic.IList? Type2410 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdUpdateRequestDataType? Type2411 { get; set; } + public global::AppStoreConnect.BetaTesterRelationshipsBetaGroupsDataItem? Type2411 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdUpdateRequestDataAttributes? Type2412 { get; set; } + public global::AppStoreConnect.BetaTesterRelationshipsBetaGroupsDataItemType? Type2412 { get; set; } /// /// /// - public global::AppStoreConnect.Certificate? Type2413 { get; set; } + public global::AppStoreConnect.BetaTesterRelationshipsBuilds? Type2413 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateType? Type2414 { get; set; } + public global::System.Collections.Generic.IList? Type2414 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateAttributes? Type2415 { get; set; } + public global::AppStoreConnect.BetaTesterRelationshipsBuildsDataItem? Type2415 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateType2? Type2416 { get; set; } + public global::AppStoreConnect.BetaTesterRelationshipsBuildsDataItemType? Type2416 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateRelationships? Type2417 { get; set; } + public global::AppStoreConnect.BetaTestersResponse? Type2417 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateRelationshipsPassTypeId? Type2418 { get; set; } + public global::System.Collections.Generic.IList? Type2418 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateRelationshipsPassTypeIdData? Type2419 { get; set; } + public global::System.Collections.Generic.IList? Type2419 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateRelationshipsPassTypeIdDataType? Type2420 { get; set; } + public global::AppStoreConnect.IncludedItem60? Type2420 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesResponse? Type2421 { get; set; } + public global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminator? Type2421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2422 { get; set; } + public global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType? Type2422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2423 { get; set; } + public global::AppStoreConnect.BetaTesterResponse? Type2423 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeId? Type2424 { get; set; } + public global::System.Collections.Generic.IList? Type2424 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateResponse? Type2425 { get; set; } + public global::AppStoreConnect.IncludedItem61? Type2425 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequest? Type2426 { get; set; } + public global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminator? Type2426 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestData? Type2427 { get; set; } + public global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType? Type2427 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestDataType? Type2428 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequest? Type2428 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestDataAttributes? Type2429 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestData? Type2429 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestDataRelationships? Type2430 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestDataType? Type2430 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsMerchantId? Type2431 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestDataAttributes? Type2431 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsMerchantIdData? Type2432 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestDataRelationships? Type2432 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsMerchantIdDataType? Type2433 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBetaGroups? Type2433 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsPassTypeId? Type2434 { get; set; } + public global::System.Collections.Generic.IList? Type2434 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsPassTypeIdData? Type2435 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBetaGroupsDataItem? Type2435 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsPassTypeIdDataType? Type2436 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBetaGroupsDataItemType? Type2436 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateUpdateRequest? Type2437 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBuilds? Type2437 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateUpdateRequestData? Type2438 { get; set; } + public global::System.Collections.Generic.IList? Type2438 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateUpdateRequestDataType? Type2439 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBuildsDataItem? Type2439 { get; set; } /// /// /// - public global::AppStoreConnect.CertificateUpdateRequestDataAttributes? Type2440 { get; set; } + public global::AppStoreConnect.BetaTesterCreateRequestDataRelationshipsBuildsDataItemType? Type2440 { get; set; } /// /// /// - public global::AppStoreConnect.CiArtifact? Type2441 { get; set; } + public global::AppStoreConnect.BuildBetaDetail? Type2441 { get; set; } /// /// /// - public global::AppStoreConnect.CiArtifactType? Type2442 { get; set; } + public global::AppStoreConnect.BuildBetaDetailType? Type2442 { get; set; } /// /// /// - public global::AppStoreConnect.CiArtifactAttributes? Type2443 { get; set; } + public global::AppStoreConnect.BuildBetaDetailAttributes? Type2443 { get; set; } /// /// /// - public global::AppStoreConnect.CiArtifactAttributesFileType? Type2444 { get; set; } + public global::AppStoreConnect.InternalBetaState? Type2444 { get; set; } /// /// /// - public global::AppStoreConnect.CiArtifactsResponse? Type2445 { get; set; } + public global::AppStoreConnect.ExternalBetaState? Type2445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2446 { get; set; } + public global::AppStoreConnect.BuildBetaDetailRelationships? Type2446 { get; set; } /// /// /// - public global::AppStoreConnect.CiArtifactResponse? Type2447 { get; set; } + public global::AppStoreConnect.BuildBetaDetailRelationshipsBuild? Type2447 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildAction? Type2448 { get; set; } + public global::AppStoreConnect.BuildBetaDetailRelationshipsBuildData? Type2448 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionType? Type2449 { get; set; } + public global::AppStoreConnect.BuildBetaDetailRelationshipsBuildDataType? Type2449 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionAttributes? Type2450 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsResponse? Type2450 { get; set; } /// /// /// - public global::AppStoreConnect.CiActionType? Type2451 { get; set; } + public global::System.Collections.Generic.IList? Type2451 { get; set; } /// /// /// - public global::AppStoreConnect.CiIssueCounts? Type2452 { get; set; } + public global::AppStoreConnect.BuildBetaDetailResponse? Type2452 { get; set; } /// /// /// - public global::AppStoreConnect.CiExecutionProgress? Type2453 { get; set; } + public global::AppStoreConnect.BuildBetaDetailUpdateRequest? Type2453 { get; set; } /// /// /// - public global::AppStoreConnect.CiCompletionStatus? Type2454 { get; set; } + public global::AppStoreConnect.BuildBetaDetailUpdateRequestData? Type2454 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionRelationships? Type2455 { get; set; } + public global::AppStoreConnect.BuildBetaDetailUpdateRequestDataType? Type2455 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionRelationshipsBuildRun? Type2456 { get; set; } + public global::AppStoreConnect.BuildBetaDetailUpdateRequestDataAttributes? Type2456 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionRelationshipsBuildRunData? Type2457 { get; set; } + public global::AppStoreConnect.BuildBetaNotification? Type2457 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionRelationshipsBuildRunDataType? Type2458 { get; set; } + public global::AppStoreConnect.BuildBetaNotificationType? Type2458 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionRelationshipsArtifacts? Type2459 { get; set; } + public global::AppStoreConnect.BuildBetaNotificationResponse? Type2459 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionRelationshipsIssues? Type2460 { get; set; } + public global::AppStoreConnect.BuildBetaNotificationCreateRequest? Type2460 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionRelationshipsTestResults? Type2461 { get; set; } + public global::AppStoreConnect.BuildBetaNotificationCreateRequestData? Type2461 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsResponse? Type2462 { get; set; } + public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataType? Type2462 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2463 { get; set; } + public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataRelationships? Type2463 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2464 { get; set; } + public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataRelationshipsBuild? Type2464 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRun? Type2465 { get; set; } + public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataRelationshipsBuildData? Type2465 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionResponse? Type2466 { get; set; } + public global::AppStoreConnect.BuildBetaNotificationCreateRequestDataRelationshipsBuildDataType? Type2466 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunType? Type2467 { get; set; } + public global::AppStoreConnect.BuildBundleFileSize? Type2467 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunAttributes? Type2468 { get; set; } + public global::AppStoreConnect.BuildBundleFileSizeType? Type2468 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunAttributesSourceCommit? Type2469 { get; set; } + public global::AppStoreConnect.BuildBundleFileSizeAttributes? Type2469 { get; set; } /// /// /// - public global::AppStoreConnect.CiGitUser? Type2470 { get; set; } + public global::AppStoreConnect.BuildBundleFileSizesResponse? Type2470 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunAttributesDestinationCommit? Type2471 { get; set; } + public global::System.Collections.Generic.IList? Type2471 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunAttributesStartReason? Type2472 { get; set; } + public global::AppStoreConnect.BuildBundle? Type2472 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunAttributesCancelReason? Type2473 { get; set; } + public global::AppStoreConnect.BuildBundleType? Type2473 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationships? Type2474 { get; set; } + public global::AppStoreConnect.BuildBundleAttributes? Type2474 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsBuilds? Type2475 { get; set; } + public global::AppStoreConnect.BuildBundleType2? Type2475 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2476 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type2476 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsBuildsDataItem? Type2477 { get; set; } + public global::System.Collections.Generic.Dictionary? Type2477 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsBuildsDataItemType? Type2478 { get; set; } + public global::AppStoreConnect.BuildBundleRelationships? Type2478 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsWorkflow? Type2479 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainCacheStatus? Type2479 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsWorkflowData? Type2480 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainCacheStatusData? Type2480 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsWorkflowDataType? Type2481 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainCacheStatusDataType? Type2481 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsProduct? Type2482 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainDebugStatus? Type2482 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsProductData? Type2483 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainDebugStatusData? Type2483 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsProductDataType? Type2484 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsAppClipDomainDebugStatusDataType? Type2484 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsSourceBranchOrTag? Type2485 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsBetaAppClipInvocations? Type2485 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsSourceBranchOrTagData? Type2486 { get; set; } + public global::System.Collections.Generic.IList? Type2486 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsSourceBranchOrTagDataType? Type2487 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsBetaAppClipInvocationsDataItem? Type2487 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsDestinationBranch? Type2488 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsBetaAppClipInvocationsDataItemType? Type2488 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsDestinationBranchData? Type2489 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsBuildBundleFileSizes? Type2489 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsDestinationBranchDataType? Type2490 { get; set; } + public global::System.Collections.Generic.IList? Type2490 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsActions? Type2491 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsBuildBundleFileSizesDataItem? Type2491 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsPullRequest? Type2492 { get; set; } + public global::AppStoreConnect.BuildBundleRelationshipsBuildBundleFileSizesDataItemType? Type2492 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsPullRequestData? Type2493 { get; set; } + public global::AppStoreConnect.BuildIconType? Type2493 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunRelationshipsPullRequestDataType? Type2494 { get; set; } + public global::AppStoreConnect.BuildIconAttributes? Type2494 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsResponse? Type2495 { get; set; } + public global::AppStoreConnect.IconAssetType? Type2495 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2496 { get; set; } + public global::AppStoreConnect.BuildIconsResponse? Type2496 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem66? Type2497 { get; set; } + public global::System.Collections.Generic.IList? Type2497 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflow? Type2498 { get; set; } + public global::AppStoreConnect.BuildUploadFile? Type2498 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReference? Type2499 { get; set; } + public global::AppStoreConnect.BuildUploadFileType? Type2499 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequest? Type2500 { get; set; } + public global::AppStoreConnect.BuildUploadFileAttributes? Type2500 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminator? Type2501 { get; set; } + public global::AppStoreConnect.BuildUploadFileAttributesAssetType? Type2501 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType? Type2502 { get; set; } + public global::AppStoreConnect.BuildUploadFileAttributesUti? Type2502 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunResponse? Type2503 { get; set; } + public global::AppStoreConnect.BuildUploadFilesResponse? Type2503 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2504 { get; set; } + public global::System.Collections.Generic.IList? Type2504 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem67? Type2505 { get; set; } + public global::AppStoreConnect.BuildUploadFileResponse? Type2505 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminator? Type2506 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequest? Type2506 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType? Type2507 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequestData? Type2507 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequest? Type2508 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequestDataType? Type2508 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestData? Type2509 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequestDataAttributes? Type2509 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataType? Type2510 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequestDataAttributesAssetType? Type2510 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataAttributes? Type2511 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequestDataAttributesUti? Type2511 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationships? Type2512 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequestDataRelationships? Type2512 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsBuildRun? Type2513 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequestDataRelationshipsBuildUpload? Type2513 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsBuildRunData? Type2514 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequestDataRelationshipsBuildUploadData? Type2514 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsBuildRunDataType? Type2515 { get; set; } + public global::AppStoreConnect.BuildUploadFileCreateRequestDataRelationshipsBuildUploadDataType? Type2515 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsWorkflow? Type2516 { get; set; } + public global::AppStoreConnect.BuildUploadFileUpdateRequest? Type2516 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsWorkflowData? Type2517 { get; set; } + public global::AppStoreConnect.BuildUploadFileUpdateRequestData? Type2517 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsWorkflowDataType? Type2518 { get; set; } + public global::AppStoreConnect.BuildUploadFileUpdateRequestDataType? Type2518 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsSourceBranchOrTag? Type2519 { get; set; } + public global::AppStoreConnect.BuildUploadFileUpdateRequestDataAttributes? Type2519 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsSourceBranchOrTagData? Type2520 { get; set; } + public global::AppStoreConnect.BuildUpload? Type2520 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsSourceBranchOrTagDataType? Type2521 { get; set; } + public global::AppStoreConnect.BuildUploadType? Type2521 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsPullRequest? Type2522 { get; set; } + public global::AppStoreConnect.BuildUploadAttributes? Type2522 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsPullRequestData? Type2523 { get; set; } + public global::AppStoreConnect.BuildUploadAttributesState? Type2523 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsPullRequestDataType? Type2524 { get; set; } + public global::AppStoreConnect.BuildUploadState? Type2524 { get; set; } /// /// /// - public global::AppStoreConnect.CiIssue? Type2525 { get; set; } + public global::AppStoreConnect.BuildUploadRelationships? Type2525 { get; set; } /// /// /// - public global::AppStoreConnect.CiIssueType? Type2526 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsBuild? Type2526 { get; set; } /// /// /// - public global::AppStoreConnect.CiIssueAttributes? Type2527 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsBuildData? Type2527 { get; set; } /// /// /// - public global::AppStoreConnect.CiIssueAttributesIssueType? Type2528 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsBuildDataType? Type2528 { get; set; } /// /// /// - public global::AppStoreConnect.FileLocation? Type2529 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsAssetFile? Type2529 { get; set; } /// /// /// - public global::AppStoreConnect.CiIssuesResponse? Type2530 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsAssetFileData? Type2530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2531 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsAssetFileDataType? Type2531 { get; set; } /// /// /// - public global::AppStoreConnect.CiIssueResponse? Type2532 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsAssetDescriptionFile? Type2532 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersion? Type2533 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsAssetDescriptionFileData? Type2533 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionType? Type2534 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsAssetDescriptionFileDataType? Type2534 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionAttributes? Type2535 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsAssetSpiFile? Type2535 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionRelationships? Type2536 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsAssetSpiFileData? Type2536 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionRelationshipsXcodeVersions? Type2537 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsAssetSpiFileDataType? Type2537 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2538 { get; set; } + public global::AppStoreConnect.BuildUploadRelationshipsBuildUploadFiles? Type2538 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionRelationshipsXcodeVersionsDataItem? Type2539 { get; set; } + public global::AppStoreConnect.BuildUploadsResponse? Type2539 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionRelationshipsXcodeVersionsDataItemType? Type2540 { get; set; } + public global::System.Collections.Generic.IList? Type2540 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsResponse? Type2541 { get; set; } + public global::System.Collections.Generic.IList? Type2541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2542 { get; set; } + public global::AppStoreConnect.IncludedItem62? Type2542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2543 { get; set; } + public global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminator? Type2543 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersion? Type2544 { get; set; } + public global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType? Type2544 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionResponse? Type2545 { get; set; } + public global::AppStoreConnect.BuildUploadResponse? Type2545 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductType? Type2546 { get; set; } + public global::System.Collections.Generic.IList? Type2546 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductAttributes? Type2547 { get; set; } + public global::AppStoreConnect.IncludedItem63? Type2547 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductAttributesProductType? Type2548 { get; set; } + public global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminator? Type2548 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationships? Type2549 { get; set; } + public global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType? Type2549 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsApp? Type2550 { get; set; } + public global::AppStoreConnect.BuildUploadCreateRequest? Type2550 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsAppData? Type2551 { get; set; } + public global::AppStoreConnect.BuildUploadCreateRequestData? Type2551 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsAppDataType? Type2552 { get; set; } + public global::AppStoreConnect.BuildUploadCreateRequestDataType? Type2552 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsBundleId? Type2553 { get; set; } + public global::AppStoreConnect.BuildUploadCreateRequestDataAttributes? Type2553 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsBundleIdData? Type2554 { get; set; } + public global::AppStoreConnect.BuildUploadCreateRequestDataRelationships? Type2554 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsBundleIdDataType? Type2555 { get; set; } + public global::AppStoreConnect.BuildUploadCreateRequestDataRelationshipsApp? Type2555 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsWorkflows? Type2556 { get; set; } + public global::AppStoreConnect.BuildUploadCreateRequestDataRelationshipsAppData? Type2556 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsPrimaryRepositories? Type2557 { get; set; } + public global::AppStoreConnect.BuildUploadCreateRequestDataRelationshipsAppDataType? Type2557 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2558 { get; set; } + public global::AppStoreConnect.BuildType? Type2558 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsPrimaryRepositoriesDataItem? Type2559 { get; set; } + public global::AppStoreConnect.BuildAttributes? Type2559 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsPrimaryRepositoriesDataItemType? Type2560 { get; set; } + public global::AppStoreConnect.BuildAttributesProcessingState? Type2560 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsAdditionalRepositories? Type2561 { get; set; } + public global::AppStoreConnect.BuildAudienceType? Type2561 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductRelationshipsBuildRuns? Type2562 { get; set; } + public global::AppStoreConnect.BuildRelationships? Type2562 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsResponse? Type2563 { get; set; } + public global::AppStoreConnect.BuildRelationshipsPreReleaseVersion? Type2563 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2564 { get; set; } + public global::AppStoreConnect.BuildRelationshipsPreReleaseVersionData? Type2564 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2565 { get; set; } + public global::AppStoreConnect.BuildRelationshipsPreReleaseVersionDataType? Type2565 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem68? Type2566 { get; set; } + public global::AppStoreConnect.BuildRelationshipsIndividualTesters? Type2566 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepository? Type2567 { get; set; } + public global::System.Collections.Generic.IList? Type2567 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminator? Type2568 { get; set; } + public global::AppStoreConnect.BuildRelationshipsIndividualTestersDataItem? Type2568 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType? Type2569 { get; set; } + public global::AppStoreConnect.BuildRelationshipsIndividualTestersDataItemType? Type2569 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductResponse? Type2570 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBetaGroups? Type2570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2571 { get; set; } + public global::System.Collections.Generic.IList? Type2571 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem69? Type2572 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBetaGroupsDataItem? Type2572 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductResponseIncludedItemDiscriminator? Type2573 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBetaGroupsDataItemType? Type2573 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType? Type2574 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBetaBuildLocalizations? Type2574 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestResult? Type2575 { get; set; } + public global::System.Collections.Generic.IList? Type2575 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestResultType? Type2576 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBetaBuildLocalizationsDataItem? Type2576 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestResultAttributes? Type2577 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBetaBuildLocalizationsDataItemType? Type2577 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestStatus? Type2578 { get; set; } + public global::AppStoreConnect.BuildRelationshipsAppEncryptionDeclaration? Type2578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2579 { get; set; } + public global::AppStoreConnect.BuildRelationshipsAppEncryptionDeclarationData? Type2579 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestResultAttributesDestinationTestResult? Type2580 { get; set; } + public global::AppStoreConnect.BuildRelationshipsAppEncryptionDeclarationDataType? Type2580 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestResultsResponse? Type2581 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBetaAppReviewSubmission? Type2581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2582 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBetaAppReviewSubmissionData? Type2582 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestResultResponse? Type2583 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBetaAppReviewSubmissionDataType? Type2583 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowType? Type2584 { get; set; } + public global::AppStoreConnect.BuildRelationshipsApp? Type2584 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowAttributes? Type2585 { get; set; } + public global::AppStoreConnect.BuildRelationshipsAppData? Type2585 { get; set; } /// /// /// - public global::AppStoreConnect.CiBranchStartCondition? Type2586 { get; set; } + public global::AppStoreConnect.BuildRelationshipsAppDataType? Type2586 { get; set; } /// /// /// - public global::AppStoreConnect.CiTagStartCondition? Type2587 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBuildBetaDetail? Type2587 { get; set; } /// /// /// - public global::AppStoreConnect.CiPullRequestStartCondition? Type2588 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBuildBetaDetailData? Type2588 { get; set; } /// /// /// - public global::AppStoreConnect.CiScheduledStartCondition? Type2589 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBuildBetaDetailDataType? Type2589 { get; set; } /// /// /// - public global::AppStoreConnect.CiManualBranchStartCondition? Type2590 { get; set; } + public global::AppStoreConnect.BuildRelationshipsAppStoreVersion? Type2590 { get; set; } /// /// /// - public global::AppStoreConnect.CiManualTagStartCondition? Type2591 { get; set; } + public global::AppStoreConnect.BuildRelationshipsAppStoreVersionData? Type2591 { get; set; } /// /// /// - public global::AppStoreConnect.CiManualPullRequestStartCondition? Type2592 { get; set; } + public global::AppStoreConnect.BuildRelationshipsAppStoreVersionDataType? Type2592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2593 { get; set; } + public global::AppStoreConnect.BuildRelationshipsIcons? Type2593 { get; set; } /// /// /// - public global::AppStoreConnect.CiAction? Type2594 { get; set; } + public global::System.Collections.Generic.IList? Type2594 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationships? Type2595 { get; set; } + public global::AppStoreConnect.BuildRelationshipsIconsDataItem? Type2595 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsProduct? Type2596 { get; set; } + public global::AppStoreConnect.BuildRelationshipsIconsDataItemType? Type2596 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsProductData? Type2597 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBuildBundles? Type2597 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsProductDataType? Type2598 { get; set; } + public global::System.Collections.Generic.IList? Type2598 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsRepository? Type2599 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBuildBundlesDataItem? Type2599 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsRepositoryData? Type2600 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBuildBundlesDataItemType? Type2600 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsRepositoryDataType? Type2601 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBuildUpload? Type2601 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsXcodeVersion? Type2602 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBuildUploadData? Type2602 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsXcodeVersionData? Type2603 { get; set; } + public global::AppStoreConnect.BuildRelationshipsBuildUploadDataType? Type2603 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsXcodeVersionDataType? Type2604 { get; set; } + public global::AppStoreConnect.BuildRelationshipsPerfPowerMetrics? Type2604 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsMacOsVersion? Type2605 { get; set; } + public global::AppStoreConnect.BuildRelationshipsDiagnosticSignatures? Type2605 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsMacOsVersionData? Type2606 { get; set; } + public global::AppStoreConnect.BuildsResponse? Type2606 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsMacOsVersionDataType? Type2607 { get; set; } + public global::System.Collections.Generic.IList? Type2607 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRelationshipsBuildRuns? Type2608 { get; set; } + public global::AppStoreConnect.IncludedItem64? Type2608 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsResponse? Type2609 { get; set; } + public global::AppStoreConnect.BuildsResponseIncludedItemDiscriminator? Type2609 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2610 { get; set; } + public global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType? Type2610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2611 { get; set; } + public global::AppStoreConnect.BuildResponse? Type2611 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem70? Type2612 { get; set; } + public global::System.Collections.Generic.IList? Type2612 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminator? Type2613 { get; set; } + public global::AppStoreConnect.IncludedItem65? Type2613 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType? Type2614 { get; set; } + public global::AppStoreConnect.BuildResponseIncludedItemDiscriminator? Type2614 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowResponse? Type2615 { get; set; } + public global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType? Type2615 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2616 { get; set; } + public global::AppStoreConnect.BuildUpdateRequest? Type2616 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem71? Type2617 { get; set; } + public global::AppStoreConnect.BuildUpdateRequestData? Type2617 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminator? Type2618 { get; set; } + public global::AppStoreConnect.BuildUpdateRequestDataType? Type2618 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType? Type2619 { get; set; } + public global::AppStoreConnect.BuildUpdateRequestDataAttributes? Type2619 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequest? Type2620 { get; set; } + public global::AppStoreConnect.BuildUpdateRequestDataRelationships? Type2620 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestData? Type2621 { get; set; } + public global::AppStoreConnect.BuildUpdateRequestDataRelationshipsAppEncryptionDeclaration? Type2621 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataType? Type2622 { get; set; } + public global::AppStoreConnect.BuildUpdateRequestDataRelationshipsAppEncryptionDeclarationData? Type2622 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataAttributes? Type2623 { get; set; } + public global::AppStoreConnect.BuildUpdateRequestDataRelationshipsAppEncryptionDeclarationDataType? Type2623 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationships? Type2624 { get; set; } + public global::AppStoreConnect.BundleIdCapability? Type2624 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsProduct? Type2625 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityType? Type2625 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsProductData? Type2626 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityAttributes? Type2626 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsProductDataType? Type2627 { get; set; } + public global::AppStoreConnect.CapabilityType? Type2627 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsRepository? Type2628 { get; set; } + public global::System.Collections.Generic.IList? Type2628 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsRepositoryData? Type2629 { get; set; } + public global::AppStoreConnect.CapabilitySetting? Type2629 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsRepositoryDataType? Type2630 { get; set; } + public global::AppStoreConnect.BundleIdCapabilitiesResponse? Type2630 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsXcodeVersion? Type2631 { get; set; } + public global::System.Collections.Generic.IList? Type2631 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsXcodeVersionData? Type2632 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityResponse? Type2632 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsXcodeVersionDataType? Type2633 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityCreateRequest? Type2633 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsMacOsVersion? Type2634 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityCreateRequestData? Type2634 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsMacOsVersionData? Type2635 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataType? Type2635 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsMacOsVersionDataType? Type2636 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataAttributes? Type2636 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequest? Type2637 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataRelationships? Type2637 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestData? Type2638 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataRelationshipsBundleId? Type2638 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestDataType? Type2639 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataRelationshipsBundleIdData? Type2639 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestDataAttributes? Type2640 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityCreateRequestDataRelationshipsBundleIdDataType? Type2640 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationships? Type2641 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityUpdateRequest? Type2641 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsXcodeVersion? Type2642 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityUpdateRequestData? Type2642 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsXcodeVersionData? Type2643 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityUpdateRequestDataType? Type2643 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsXcodeVersionDataType? Type2644 { get; set; } + public global::AppStoreConnect.BundleIdCapabilityUpdateRequestDataAttributes? Type2644 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsMacOsVersion? Type2645 { get; set; } + public global::AppStoreConnect.BundleId? Type2645 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsMacOsVersionData? Type2646 { get; set; } + public global::AppStoreConnect.BundleIdType? Type2646 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsMacOsVersionDataType? Type2647 { get; set; } + public global::AppStoreConnect.BundleIdAttributes? Type2647 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionType? Type2648 { get; set; } + public global::AppStoreConnect.BundleIdPlatform? Type2648 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionAttributes? Type2649 { get; set; } + public global::AppStoreConnect.BundleIdRelationships? Type2649 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2650 { get; set; } + public global::AppStoreConnect.BundleIdRelationshipsProfiles? Type2650 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionAttributesTestDestination? Type2651 { get; set; } + public global::System.Collections.Generic.IList? Type2651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2652 { get; set; } + public global::AppStoreConnect.BundleIdRelationshipsProfilesDataItem? Type2652 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionAttributesTestDestinationAvailableRuntime? Type2653 { get; set; } + public global::AppStoreConnect.BundleIdRelationshipsProfilesDataItemType? Type2653 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestDestinationKind? Type2654 { get; set; } + public global::AppStoreConnect.BundleIdRelationshipsBundleIdCapabilities? Type2654 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionRelationships? Type2655 { get; set; } + public global::System.Collections.Generic.IList? Type2655 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionRelationshipsMacOsVersions? Type2656 { get; set; } + public global::AppStoreConnect.BundleIdRelationshipsBundleIdCapabilitiesDataItem? Type2656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2657 { get; set; } + public global::AppStoreConnect.BundleIdRelationshipsBundleIdCapabilitiesDataItemType? Type2657 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionRelationshipsMacOsVersionsDataItem? Type2658 { get; set; } + public global::AppStoreConnect.BundleIdRelationshipsApp? Type2658 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionRelationshipsMacOsVersionsDataItemType? Type2659 { get; set; } + public global::AppStoreConnect.BundleIdRelationshipsAppData? Type2659 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsResponse? Type2660 { get; set; } + public global::AppStoreConnect.BundleIdRelationshipsAppDataType? Type2660 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionResponse? Type2661 { get; set; } + public global::AppStoreConnect.BundleIdsResponse? Type2661 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1? Type2662 { get; set; } + public global::System.Collections.Generic.IList? Type2662 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1Type? Type2663 { get; set; } + public global::System.Collections.Generic.IList? Type2663 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1Attributes? Type2664 { get; set; } + public global::AppStoreConnect.IncludedItem66? Type2664 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1AttributesState? Type2665 { get; set; } + public global::AppStoreConnect.Profile? Type2665 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1Relationships? Type2666 { get; set; } + public global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminator? Type2666 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1RelationshipsReview? Type2667 { get; set; } + public global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType? Type2667 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1RelationshipsReviewData? Type2668 { get; set; } + public global::AppStoreConnect.BundleIdResponse? Type2668 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1RelationshipsReviewDataType? Type2669 { get; set; } + public global::System.Collections.Generic.IList? Type2669 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1Response? Type2670 { get; set; } + public global::AppStoreConnect.IncludedItem67? Type2670 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2671 { get; set; } + public global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminator? Type2671 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReview? Type2672 { get; set; } + public global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType? Type2672 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1CreateRequest? Type2673 { get; set; } + public global::AppStoreConnect.BundleIdCreateRequest? Type2673 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestData? Type2674 { get; set; } + public global::AppStoreConnect.BundleIdCreateRequestData? Type2674 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataType? Type2675 { get; set; } + public global::AppStoreConnect.BundleIdCreateRequestDataType? Type2675 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataAttributes? Type2676 { get; set; } + public global::AppStoreConnect.BundleIdCreateRequestDataAttributes? Type2676 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataRelationships? Type2677 { get; set; } + public global::AppStoreConnect.BundleIdUpdateRequest? Type2677 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataRelationshipsReview? Type2678 { get; set; } + public global::AppStoreConnect.BundleIdUpdateRequestData? Type2678 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataRelationshipsReviewData? Type2679 { get; set; } + public global::AppStoreConnect.BundleIdUpdateRequestDataType? Type2679 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataRelationshipsReviewDataType? Type2680 { get; set; } + public global::AppStoreConnect.BundleIdUpdateRequestDataAttributes? Type2680 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewSummarization? Type2681 { get; set; } + public global::AppStoreConnect.Certificate? Type2681 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewSummarizationType? Type2682 { get; set; } + public global::AppStoreConnect.CertificateType? Type2682 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewSummarizationAttributes? Type2683 { get; set; } + public global::AppStoreConnect.CertificateAttributes? Type2683 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewSummarizationRelationships? Type2684 { get; set; } + public global::AppStoreConnect.CertificateType2? Type2684 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewSummarizationRelationshipsTerritory? Type2685 { get; set; } + public global::AppStoreConnect.CertificateRelationships? Type2685 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewSummarizationRelationshipsTerritoryData? Type2686 { get; set; } + public global::AppStoreConnect.CertificateRelationshipsPassTypeId? Type2686 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewSummarizationRelationshipsTerritoryDataType? Type2687 { get; set; } + public global::AppStoreConnect.CertificateRelationshipsPassTypeIdData? Type2687 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewSummarizationsResponse? Type2688 { get; set; } + public global::AppStoreConnect.CertificateRelationshipsPassTypeIdDataType? Type2688 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2689 { get; set; } + public global::AppStoreConnect.CertificatesResponse? Type2689 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewType? Type2690 { get; set; } + public global::System.Collections.Generic.IList? Type2690 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewAttributes? Type2691 { get; set; } + public global::System.Collections.Generic.IList? Type2691 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryCode? Type2692 { get; set; } + public global::AppStoreConnect.PassTypeId? Type2692 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewRelationships? Type2693 { get; set; } + public global::AppStoreConnect.CertificateResponse? Type2693 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewRelationshipsResponse? Type2694 { get; set; } + public global::AppStoreConnect.CertificateCreateRequest? Type2694 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewRelationshipsResponseData? Type2695 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestData? Type2695 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewRelationshipsResponseDataType? Type2696 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestDataType? Type2696 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewRelationshipsReviewTerritory? Type2697 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestDataAttributes? Type2697 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewRelationshipsReviewTerritoryData? Type2698 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestDataRelationships? Type2698 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewRelationshipsReviewTerritoryDataType? Type2699 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsMerchantId? Type2699 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsResponse? Type2700 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsMerchantIdData? Type2700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2701 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsMerchantIdDataType? Type2701 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem72? Type2702 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsPassTypeId? Type2702 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminator? Type2703 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsPassTypeIdData? Type2703 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType? Type2704 { get; set; } + public global::AppStoreConnect.CertificateCreateRequestDataRelationshipsPassTypeIdDataType? Type2704 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponse? Type2705 { get; set; } + public global::AppStoreConnect.CertificateUpdateRequest? Type2705 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2706 { get; set; } + public global::AppStoreConnect.CertificateUpdateRequestData? Type2706 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem73? Type2707 { get; set; } + public global::AppStoreConnect.CertificateUpdateRequestDataType? Type2707 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminator? Type2708 { get; set; } + public global::AppStoreConnect.CertificateUpdateRequestDataAttributes? Type2708 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType? Type2709 { get; set; } + public global::AppStoreConnect.CiArtifact? Type2709 { get; set; } /// /// /// - public global::AppStoreConnect.Device? Type2710 { get; set; } + public global::AppStoreConnect.CiArtifactType? Type2710 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceType? Type2711 { get; set; } + public global::AppStoreConnect.CiArtifactAttributes? Type2711 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceAttributes? Type2712 { get; set; } + public global::AppStoreConnect.CiArtifactAttributesFileType? Type2712 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceAttributesDeviceClass? Type2713 { get; set; } + public global::AppStoreConnect.CiArtifactsResponse? Type2713 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceAttributesStatus? Type2714 { get; set; } + public global::System.Collections.Generic.IList? Type2714 { get; set; } /// /// /// - public global::AppStoreConnect.DevicesResponse? Type2715 { get; set; } + public global::AppStoreConnect.CiArtifactResponse? Type2715 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2716 { get; set; } + public global::AppStoreConnect.CiBuildAction? Type2716 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceResponse? Type2717 { get; set; } + public global::AppStoreConnect.CiBuildActionType? Type2717 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceCreateRequest? Type2718 { get; set; } + public global::AppStoreConnect.CiBuildActionAttributes? Type2718 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceCreateRequestData? Type2719 { get; set; } + public global::AppStoreConnect.CiActionType? Type2719 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceCreateRequestDataType? Type2720 { get; set; } + public global::AppStoreConnect.CiIssueCounts? Type2720 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceCreateRequestDataAttributes? Type2721 { get; set; } + public global::AppStoreConnect.CiExecutionProgress? Type2721 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceUpdateRequest? Type2722 { get; set; } + public global::AppStoreConnect.CiCompletionStatus? Type2722 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceUpdateRequestData? Type2723 { get; set; } + public global::AppStoreConnect.CiBuildActionRelationships? Type2723 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceUpdateRequestDataType? Type2724 { get; set; } + public global::AppStoreConnect.CiBuildActionRelationshipsBuildRun? Type2724 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceUpdateRequestDataAttributes? Type2725 { get; set; } + public global::AppStoreConnect.CiBuildActionRelationshipsBuildRunData? Type2725 { get; set; } /// /// /// - public global::AppStoreConnect.DeviceUpdateRequestDataAttributesStatus? Type2726 { get; set; } + public global::AppStoreConnect.CiBuildActionRelationshipsBuildRunDataType? Type2726 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLog? Type2727 { get; set; } + public global::AppStoreConnect.CiBuildActionRelationshipsArtifacts? Type2727 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLogType? Type2728 { get; set; } + public global::AppStoreConnect.CiBuildActionRelationshipsIssues? Type2728 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignature? Type2729 { get; set; } + public global::AppStoreConnect.CiBuildActionRelationshipsTestResults? Type2729 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignatureType? Type2730 { get; set; } + public global::AppStoreConnect.CiBuildActionsResponse? Type2730 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignatureAttributes? Type2731 { get; set; } + public global::System.Collections.Generic.IList? Type2731 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignatureAttributesDiagnosticType? Type2732 { get; set; } + public global::System.Collections.Generic.IList? Type2732 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticInsight? Type2733 { get; set; } + public global::AppStoreConnect.CiBuildRun? Type2733 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignatureRelationships? Type2734 { get; set; } + public global::AppStoreConnect.CiBuildActionResponse? Type2734 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignatureRelationshipsLogs? Type2735 { get; set; } + public global::AppStoreConnect.CiBuildRunType? Type2735 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignaturesResponse? Type2736 { get; set; } + public global::AppStoreConnect.CiBuildRunAttributes? Type2736 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2737 { get; set; } + public global::AppStoreConnect.CiBuildRunAttributesSourceCommit? Type2737 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrder? Type2738 { get; set; } + public global::AppStoreConnect.CiGitUser? Type2738 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrderType? Type2739 { get; set; } + public global::AppStoreConnect.CiBuildRunAttributesDestinationCommit? Type2739 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrderResponse? Type2740 { get; set; } + public global::AppStoreConnect.CiBuildRunAttributesStartReason? Type2740 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequest? Type2741 { get; set; } + public global::AppStoreConnect.CiBuildRunAttributesCancelReason? Type2741 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestData? Type2742 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationships? Type2742 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataType? Type2743 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsBuilds? Type2743 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataRelationships? Type2744 { get; set; } + public global::System.Collections.Generic.IList? Type2744 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataRelationshipsTerritoryAvailabilities? Type2745 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsBuildsDataItem? Type2745 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2746 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsBuildsDataItemType? Type2746 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataRelationshipsTerritoryAvailabilitiesDataItem? Type2747 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsWorkflow? Type2747 { get; set; } /// /// /// - public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataRelationshipsTerritoryAvailabilitiesDataItemType? Type2748 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsWorkflowData? Type2748 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementType? Type2749 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsWorkflowDataType? Type2749 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementAttributes? Type2750 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsProduct? Type2750 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementRelationships? Type2751 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsProductData? Type2751 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsApp? Type2752 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsProductDataType? Type2752 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsAppData? Type2753 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsSourceBranchOrTag? Type2753 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsAppDataType? Type2754 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsSourceBranchOrTagData? Type2754 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsTerritories? Type2755 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsSourceBranchOrTagDataType? Type2755 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2756 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsDestinationBranch? Type2756 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsTerritoriesDataItem? Type2757 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsDestinationBranchData? Type2757 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsTerritoriesDataItemType? Type2758 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsDestinationBranchDataType? Type2758 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementResponse? Type2759 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsActions? Type2759 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2760 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsPullRequest? Type2760 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem74? Type2761 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsPullRequestData? Type2761 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminator? Type2762 { get; set; } + public global::AppStoreConnect.CiBuildRunRelationshipsPullRequestDataType? Type2762 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType? Type2763 { get; set; } + public global::AppStoreConnect.CiBuildRunsResponse? Type2763 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequest? Type2764 { get; set; } + public global::System.Collections.Generic.IList? Type2764 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestData? Type2765 { get; set; } + public global::AppStoreConnect.IncludedItem68? Type2765 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataType? Type2766 { get; set; } + public global::AppStoreConnect.CiWorkflow? Type2766 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataAttributes? Type2767 { get; set; } + public global::AppStoreConnect.ScmGitReference? Type2767 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationships? Type2768 { get; set; } + public global::AppStoreConnect.ScmPullRequest? Type2768 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsApp? Type2769 { get; set; } + public global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminator? Type2769 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsAppData? Type2770 { get; set; } + public global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType? Type2770 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsAppDataType? Type2771 { get; set; } + public global::AppStoreConnect.CiBuildRunResponse? Type2771 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsTerritories? Type2772 { get; set; } + public global::System.Collections.Generic.IList? Type2772 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2773 { get; set; } + public global::AppStoreConnect.IncludedItem69? Type2773 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsTerritoriesDataItem? Type2774 { get; set; } + public global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminator? Type2774 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsTerritoriesDataItemType? Type2775 { get; set; } + public global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType? Type2775 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequest? Type2776 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequest? Type2776 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestData? Type2777 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestData? Type2777 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataType? Type2778 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataType? Type2778 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataAttributes? Type2779 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataAttributes? Type2779 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataRelationships? Type2780 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationships? Type2780 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataRelationshipsTerritories? Type2781 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsBuildRun? Type2781 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2782 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsBuildRunData? Type2782 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataRelationshipsTerritoriesDataItem? Type2783 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsBuildRunDataType? Type2783 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataRelationshipsTerritoriesDataItemType? Type2784 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsWorkflow? Type2784 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImage? Type2785 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsWorkflowData? Type2785 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageType? Type2786 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsWorkflowDataType? Type2786 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageAttributes? Type2787 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsSourceBranchOrTag? Type2787 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageRelationships? Type2788 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsSourceBranchOrTagData? Type2788 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageRelationshipsGameCenterAchievementLocalization? Type2789 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsSourceBranchOrTagDataType? Type2789 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageRelationshipsGameCenterAchievementLocalizationData? Type2790 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsPullRequest? Type2790 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageRelationshipsGameCenterAchievementLocalizationDataType? Type2791 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsPullRequestData? Type2791 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageResponse? Type2792 { get; set; } + public global::AppStoreConnect.CiBuildRunCreateRequestDataRelationshipsPullRequestDataType? Type2792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2793 { get; set; } + public global::AppStoreConnect.CiIssue? Type2793 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalization? Type2794 { get; set; } + public global::AppStoreConnect.CiIssueType? Type2794 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageCreateRequest? Type2795 { get; set; } + public global::AppStoreConnect.CiIssueAttributes? Type2795 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageCreateRequestData? Type2796 { get; set; } + public global::AppStoreConnect.CiIssueAttributesIssueType? Type2796 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataType? Type2797 { get; set; } + public global::AppStoreConnect.FileLocation? Type2797 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataAttributes? Type2798 { get; set; } + public global::AppStoreConnect.CiIssuesResponse? Type2798 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataRelationships? Type2799 { get; set; } + public global::System.Collections.Generic.IList? Type2799 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataRelationshipsGameCenterAchievementLocalization? Type2800 { get; set; } + public global::AppStoreConnect.CiIssueResponse? Type2800 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataRelationshipsGameCenterAchievementLocalizationData? Type2801 { get; set; } + public global::AppStoreConnect.CiMacOsVersion? Type2801 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataRelationshipsGameCenterAchievementLocalizationDataType? Type2802 { get; set; } + public global::AppStoreConnect.CiMacOsVersionType? Type2802 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageUpdateRequest? Type2803 { get; set; } + public global::AppStoreConnect.CiMacOsVersionAttributes? Type2803 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageUpdateRequestData? Type2804 { get; set; } + public global::AppStoreConnect.CiMacOsVersionRelationships? Type2804 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageUpdateRequestDataType? Type2805 { get; set; } + public global::AppStoreConnect.CiMacOsVersionRelationshipsXcodeVersions? Type2805 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageUpdateRequestDataAttributes? Type2806 { get; set; } + public global::System.Collections.Generic.IList? Type2806 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2? Type2807 { get; set; } + public global::AppStoreConnect.CiMacOsVersionRelationshipsXcodeVersionsDataItem? Type2807 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2Type? Type2808 { get; set; } + public global::AppStoreConnect.CiMacOsVersionRelationshipsXcodeVersionsDataItemType? Type2808 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2Attributes? Type2809 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsResponse? Type2809 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2Relationships? Type2810 { get; set; } + public global::System.Collections.Generic.IList? Type2810 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2RelationshipsLocalization? Type2811 { get; set; } + public global::System.Collections.Generic.IList? Type2811 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2RelationshipsLocalizationData? Type2812 { get; set; } + public global::AppStoreConnect.CiXcodeVersion? Type2812 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2RelationshipsLocalizationDataType? Type2813 { get; set; } + public global::AppStoreConnect.CiMacOsVersionResponse? Type2813 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2Response? Type2814 { get; set; } + public global::AppStoreConnect.CiProductType? Type2814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2815 { get; set; } + public global::AppStoreConnect.CiProductAttributes? Type2815 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2? Type2816 { get; set; } + public global::AppStoreConnect.CiProductAttributesProductType? Type2816 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequest? Type2817 { get; set; } + public global::AppStoreConnect.CiProductRelationships? Type2817 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestData? Type2818 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsApp? Type2818 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataType? Type2819 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsAppData? Type2819 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataAttributes? Type2820 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsAppDataType? Type2820 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataRelationships? Type2821 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsBundleId? Type2821 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataRelationshipsLocalization? Type2822 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsBundleIdData? Type2822 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataRelationshipsLocalizationData? Type2823 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsBundleIdDataType? Type2823 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataRelationshipsLocalizationDataType? Type2824 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsWorkflows? Type2824 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2UpdateRequest? Type2825 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsPrimaryRepositories? Type2825 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2UpdateRequestData? Type2826 { get; set; } + public global::System.Collections.Generic.IList? Type2826 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2UpdateRequestDataType? Type2827 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsPrimaryRepositoriesDataItem? Type2827 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2UpdateRequestDataAttributes? Type2828 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsPrimaryRepositoriesDataItemType? Type2828 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2Type? Type2829 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsAdditionalRepositories? Type2829 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2Attributes? Type2830 { get; set; } + public global::AppStoreConnect.CiProductRelationshipsBuildRuns? Type2830 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2Relationships? Type2831 { get; set; } + public global::AppStoreConnect.CiProductsResponse? Type2831 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsVersion? Type2832 { get; set; } + public global::System.Collections.Generic.IList? Type2832 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsVersionData? Type2833 { get; set; } + public global::System.Collections.Generic.IList? Type2833 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsVersionDataType? Type2834 { get; set; } + public global::AppStoreConnect.IncludedItem70? Type2834 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsImage? Type2835 { get; set; } + public global::AppStoreConnect.ScmRepository? Type2835 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsImageData? Type2836 { get; set; } + public global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminator? Type2836 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsImageDataType? Type2837 { get; set; } + public global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType? Type2837 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2Response? Type2838 { get; set; } + public global::AppStoreConnect.CiProductResponse? Type2838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2839 { get; set; } + public global::System.Collections.Generic.IList? Type2839 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem75? Type2840 { get; set; } + public global::AppStoreConnect.IncludedItem71? Type2840 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2? Type2841 { get; set; } + public global::AppStoreConnect.CiProductResponseIncludedItemDiscriminator? Type2841 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminator? Type2842 { get; set; } + public global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType? Type2842 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType? Type2843 { get; set; } + public global::AppStoreConnect.CiTestResult? Type2843 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2Response? Type2844 { get; set; } + public global::AppStoreConnect.CiTestResultType? Type2844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2845 { get; set; } + public global::AppStoreConnect.CiTestResultAttributes? Type2845 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem76? Type2846 { get; set; } + public global::AppStoreConnect.CiTestStatus? Type2846 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminator? Type2847 { get; set; } + public global::System.Collections.Generic.IList? Type2847 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType? Type2848 { get; set; } + public global::AppStoreConnect.CiTestResultAttributesDestinationTestResult? Type2848 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequest? Type2849 { get; set; } + public global::AppStoreConnect.CiTestResultsResponse? Type2849 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestData? Type2850 { get; set; } + public global::System.Collections.Generic.IList? Type2850 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataType? Type2851 { get; set; } + public global::AppStoreConnect.CiTestResultResponse? Type2851 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataAttributes? Type2852 { get; set; } + public global::AppStoreConnect.CiWorkflowType? Type2852 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataRelationships? Type2853 { get; set; } + public global::AppStoreConnect.CiWorkflowAttributes? Type2853 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataRelationshipsVersion? Type2854 { get; set; } + public global::AppStoreConnect.CiBranchStartCondition? Type2854 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataRelationshipsVersionData? Type2855 { get; set; } + public global::AppStoreConnect.CiTagStartCondition? Type2855 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type2856 { get; set; } + public global::AppStoreConnect.CiPullRequestStartCondition? Type2856 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2UpdateRequest? Type2857 { get; set; } + public global::AppStoreConnect.CiScheduledStartCondition? Type2857 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2UpdateRequestData? Type2858 { get; set; } + public global::AppStoreConnect.CiManualBranchStartCondition? Type2858 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2UpdateRequestDataType? Type2859 { get; set; } + public global::AppStoreConnect.CiManualTagStartCondition? Type2859 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2UpdateRequestDataAttributes? Type2860 { get; set; } + public global::AppStoreConnect.CiManualPullRequestStartCondition? Type2860 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationType? Type2861 { get; set; } + public global::System.Collections.Generic.IList? Type2861 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationAttributes? Type2862 { get; set; } + public global::AppStoreConnect.CiAction? Type2862 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationRelationships? Type2863 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationships? Type2863 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievement? Type2864 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsProduct? Type2864 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementData? Type2865 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsProductData? Type2865 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementDataType? Type2866 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsProductDataType? Type2866 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementImage? Type2867 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsRepository? Type2867 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementImageData? Type2868 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsRepositoryData? Type2868 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementImageDataType? Type2869 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsRepositoryDataType? Type2869 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsResponse? Type2870 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsXcodeVersion? Type2870 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2871 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsXcodeVersionData? Type2871 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem77? Type2872 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsXcodeVersionDataType? Type2872 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievement? Type2873 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsMacOsVersion? Type2873 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminator? Type2874 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsMacOsVersionData? Type2874 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType? Type2875 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsMacOsVersionDataType? Type2875 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationResponse? Type2876 { get; set; } + public global::AppStoreConnect.CiWorkflowRelationshipsBuildRuns? Type2876 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2877 { get; set; } + public global::AppStoreConnect.CiWorkflowsResponse? Type2877 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem78? Type2878 { get; set; } + public global::System.Collections.Generic.IList? Type2878 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminator? Type2879 { get; set; } + public global::System.Collections.Generic.IList? Type2879 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType? Type2880 { get; set; } + public global::AppStoreConnect.IncludedItem72? Type2880 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequest? Type2881 { get; set; } + public global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminator? Type2881 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestData? Type2882 { get; set; } + public global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType? Type2882 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataType? Type2883 { get; set; } + public global::AppStoreConnect.CiWorkflowResponse? Type2883 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataAttributes? Type2884 { get; set; } + public global::System.Collections.Generic.IList? Type2884 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataRelationships? Type2885 { get; set; } + public global::AppStoreConnect.IncludedItem73? Type2885 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataRelationshipsGameCenterAchievement? Type2886 { get; set; } + public global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminator? Type2886 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataRelationshipsGameCenterAchievementData? Type2887 { get; set; } + public global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType? Type2887 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataRelationshipsGameCenterAchievementDataType? Type2888 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequest? Type2888 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationUpdateRequest? Type2889 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestData? Type2889 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationUpdateRequestData? Type2890 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataType? Type2890 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationUpdateRequestDataType? Type2891 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataAttributes? Type2891 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationUpdateRequestDataAttributes? Type2892 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationships? Type2892 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelease? Type2893 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsProduct? Type2893 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseType? Type2894 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsProductData? Type2894 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseAttributes? Type2895 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsProductDataType? Type2895 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseRelationships? Type2896 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsRepository? Type2896 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterDetail? Type2897 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsRepositoryData? Type2897 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterDetailData? Type2898 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsRepositoryDataType? Type2898 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterDetailDataType? Type2899 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsXcodeVersion? Type2899 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterAchievement? Type2900 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsXcodeVersionData? Type2900 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterAchievementData? Type2901 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsXcodeVersionDataType? Type2901 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterAchievementDataType? Type2902 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsMacOsVersion? Type2902 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesResponse? Type2903 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsMacOsVersionData? Type2903 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2904 { get; set; } + public global::AppStoreConnect.CiWorkflowCreateRequestDataRelationshipsMacOsVersionDataType? Type2904 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2905 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequest? Type2905 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem79? Type2906 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestData? Type2906 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminator? Type2907 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestDataType? Type2907 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType? Type2908 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestDataAttributes? Type2908 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseResponse? Type2909 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationships? Type2909 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2910 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsXcodeVersion? Type2910 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem80? Type2911 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsXcodeVersionData? Type2911 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminator? Type2912 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsXcodeVersionDataType? Type2912 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType? Type2913 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsMacOsVersion? Type2913 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequest? Type2914 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsMacOsVersionData? Type2914 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestData? Type2915 { get; set; } + public global::AppStoreConnect.CiWorkflowUpdateRequestDataRelationshipsMacOsVersionDataType? Type2915 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataType? Type2916 { get; set; } + public global::AppStoreConnect.CiXcodeVersionType? Type2916 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationships? Type2917 { get; set; } + public global::AppStoreConnect.CiXcodeVersionAttributes? Type2917 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterDetail? Type2918 { get; set; } + public global::System.Collections.Generic.IList? Type2918 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type2919 { get; set; } + public global::AppStoreConnect.CiXcodeVersionAttributesTestDestination? Type2919 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type2920 { get; set; } + public global::System.Collections.Generic.IList? Type2920 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterAchievement? Type2921 { get; set; } + public global::AppStoreConnect.CiXcodeVersionAttributesTestDestinationAvailableRuntime? Type2921 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterAchievementData? Type2922 { get; set; } + public global::AppStoreConnect.CiTestDestinationKind? Type2922 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterAchievementDataType? Type2923 { get; set; } + public global::AppStoreConnect.CiXcodeVersionRelationships? Type2923 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2Type? Type2924 { get; set; } + public global::AppStoreConnect.CiXcodeVersionRelationshipsMacOsVersions? Type2924 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2Attributes? Type2925 { get; set; } + public global::System.Collections.Generic.IList? Type2925 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterVersionState? Type2926 { get; set; } + public global::AppStoreConnect.CiXcodeVersionRelationshipsMacOsVersionsDataItem? Type2926 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2Relationships? Type2927 { get; set; } + public global::AppStoreConnect.CiXcodeVersionRelationshipsMacOsVersionsDataItemType? Type2927 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsAchievement? Type2928 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsResponse? Type2928 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsAchievementData? Type2929 { get; set; } + public global::AppStoreConnect.CiXcodeVersionResponse? Type2929 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsAchievementDataType? Type2930 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1? Type2930 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsLocalizations? Type2931 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1Type? Type2931 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2932 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1Attributes? Type2932 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsLocalizationsDataItem? Type2933 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1AttributesState? Type2933 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsLocalizationsDataItemType? Type2934 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1Relationships? Type2934 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreate? Type2935 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1RelationshipsReview? Type2935 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateType? Type2936 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1RelationshipsReviewData? Type2936 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateRelationships? Type2937 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1RelationshipsReviewDataType? Type2937 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateRelationshipsAchievement? Type2938 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1Response? Type2938 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateRelationshipsAchievementData? Type2939 { get; set; } + public global::System.Collections.Generic.IList? Type2939 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateRelationshipsAchievementDataType? Type2940 { get; set; } + public global::AppStoreConnect.CustomerReview? Type2940 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2Response? Type2941 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1CreateRequest? Type2941 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2942 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestData? Type2942 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2943 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataType? Type2943 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem81? Type2944 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataAttributes? Type2944 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2? Type2945 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataRelationships? Type2945 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminator? Type2946 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataRelationshipsReview? Type2946 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType? Type2947 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataRelationshipsReviewData? Type2947 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2Response? Type2948 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseV1CreateRequestDataRelationshipsReviewDataType? Type2948 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2949 { get; set; } + public global::AppStoreConnect.CustomerReviewSummarization? Type2949 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem82? Type2950 { get; set; } + public global::AppStoreConnect.CustomerReviewSummarizationType? Type2950 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminator? Type2951 { get; set; } + public global::AppStoreConnect.CustomerReviewSummarizationAttributes? Type2951 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType? Type2952 { get; set; } + public global::AppStoreConnect.CustomerReviewSummarizationRelationships? Type2952 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequest? Type2953 { get; set; } + public global::AppStoreConnect.CustomerReviewSummarizationRelationshipsTerritory? Type2953 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestData? Type2954 { get; set; } + public global::AppStoreConnect.CustomerReviewSummarizationRelationshipsTerritoryData? Type2954 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataType? Type2955 { get; set; } + public global::AppStoreConnect.CustomerReviewSummarizationRelationshipsTerritoryDataType? Type2955 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataRelationships? Type2956 { get; set; } + public global::AppStoreConnect.CustomerReviewSummarizationsResponse? Type2956 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataRelationshipsAchievement? Type2957 { get; set; } + public global::System.Collections.Generic.IList? Type2957 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataRelationshipsAchievementData? Type2958 { get; set; } + public global::AppStoreConnect.CustomerReviewType? Type2958 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataRelationshipsAchievementDataType? Type2959 { get; set; } + public global::AppStoreConnect.CustomerReviewAttributes? Type2959 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2Type? Type2960 { get; set; } + public global::AppStoreConnect.TerritoryCode? Type2960 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2Attributes? Type2961 { get; set; } + public global::AppStoreConnect.CustomerReviewRelationships? Type2961 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2Relationships? Type2962 { get; set; } + public global::AppStoreConnect.CustomerReviewRelationshipsResponse? Type2962 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterDetail? Type2963 { get; set; } + public global::AppStoreConnect.CustomerReviewRelationshipsResponseData? Type2963 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterDetailData? Type2964 { get; set; } + public global::AppStoreConnect.CustomerReviewRelationshipsResponseDataType? Type2964 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterDetailDataType? Type2965 { get; set; } + public global::AppStoreConnect.CustomerReviewRelationshipsReviewTerritory? Type2965 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterGroup? Type2966 { get; set; } + public global::AppStoreConnect.CustomerReviewRelationshipsReviewTerritoryData? Type2966 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterGroupData? Type2967 { get; set; } + public global::AppStoreConnect.CustomerReviewRelationshipsReviewTerritoryDataType? Type2967 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterGroupDataType? Type2968 { get; set; } + public global::AppStoreConnect.CustomerReviewsResponse? Type2968 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsActivity? Type2969 { get; set; } + public global::System.Collections.Generic.IList? Type2969 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsActivityData? Type2970 { get; set; } + public global::AppStoreConnect.IncludedItem74? Type2970 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsActivityDataType? Type2971 { get; set; } + public global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminator? Type2971 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsVersions? Type2972 { get; set; } + public global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType? Type2972 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2973 { get; set; } + public global::AppStoreConnect.CustomerReviewResponse? Type2973 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsVersionsDataItem? Type2974 { get; set; } + public global::System.Collections.Generic.IList? Type2974 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2RelationshipsVersionsDataItemType? Type2975 { get; set; } + public global::AppStoreConnect.IncludedItem75? Type2975 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2Response? Type2976 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminator? Type2976 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2977 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType? Type2977 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2978 { get; set; } + public global::AppStoreConnect.Device? Type2978 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem83? Type2979 { get; set; } + public global::AppStoreConnect.DeviceType? Type2979 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivity? Type2980 { get; set; } + public global::AppStoreConnect.DeviceAttributes? Type2980 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroup? Type2981 { get; set; } + public global::AppStoreConnect.DeviceAttributesDeviceClass? Type2981 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminator? Type2982 { get; set; } + public global::AppStoreConnect.DeviceAttributesStatus? Type2982 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType? Type2983 { get; set; } + public global::AppStoreConnect.DevicesResponse? Type2983 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2Response? Type2984 { get; set; } + public global::System.Collections.Generic.IList? Type2984 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2985 { get; set; } + public global::AppStoreConnect.DeviceResponse? Type2985 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem84? Type2986 { get; set; } + public global::AppStoreConnect.DeviceCreateRequest? Type2986 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminator? Type2987 { get; set; } + public global::AppStoreConnect.DeviceCreateRequestData? Type2987 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType? Type2988 { get; set; } + public global::AppStoreConnect.DeviceCreateRequestDataType? Type2988 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequest? Type2989 { get; set; } + public global::AppStoreConnect.DeviceCreateRequestDataAttributes? Type2989 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestData? Type2990 { get; set; } + public global::AppStoreConnect.DeviceUpdateRequest? Type2990 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataType? Type2991 { get; set; } + public global::AppStoreConnect.DeviceUpdateRequestData? Type2991 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataAttributes? Type2992 { get; set; } + public global::AppStoreConnect.DeviceUpdateRequestDataType? Type2992 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationships? Type2993 { get; set; } + public global::AppStoreConnect.DeviceUpdateRequestDataAttributes? Type2993 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterDetail? Type2994 { get; set; } + public global::AppStoreConnect.DeviceUpdateRequestDataAttributesStatus? Type2994 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterDetailData? Type2995 { get; set; } + public global::AppStoreConnect.DiagnosticLog? Type2995 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterDetailDataType? Type2996 { get; set; } + public global::AppStoreConnect.DiagnosticLogType? Type2996 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterGroup? Type2997 { get; set; } + public global::AppStoreConnect.DiagnosticSignature? Type2997 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterGroupData? Type2998 { get; set; } + public global::AppStoreConnect.DiagnosticSignatureType? Type2998 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterGroupDataType? Type2999 { get; set; } + public global::AppStoreConnect.DiagnosticSignatureAttributes? Type2999 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsVersions? Type3000 { get; set; } + public global::AppStoreConnect.DiagnosticSignatureAttributesDiagnosticType? Type3000 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3001 { get; set; } + public global::AppStoreConnect.DiagnosticInsight? Type3001 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsVersionsDataItem? Type3002 { get; set; } + public global::AppStoreConnect.DiagnosticSignatureRelationships? Type3002 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsVersionsDataItemType? Type3003 { get; set; } + public global::AppStoreConnect.DiagnosticSignatureRelationshipsLogs? Type3003 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3004 { get; set; } + public global::AppStoreConnect.DiagnosticSignaturesResponse? Type3004 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2UpdateRequest? Type3005 { get; set; } + public global::System.Collections.Generic.IList? Type3005 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2UpdateRequestData? Type3006 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrder? Type3006 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2UpdateRequestDataType? Type3007 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrderType? Type3007 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2UpdateRequestDataAttributes? Type3008 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrderResponse? Type3008 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementType? Type3009 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequest? Type3009 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementAttributes? Type3010 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestData? Type3010 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationships? Type3011 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataType? Type3011 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterDetail? Type3012 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataRelationships? Type3012 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterDetailData? Type3013 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataRelationshipsTerritoryAvailabilities? Type3013 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterDetailDataType? Type3014 { get; set; } + public global::System.Collections.Generic.IList? Type3014 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterGroup? Type3015 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataRelationshipsTerritoryAvailabilitiesDataItem? Type3015 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterGroupData? Type3016 { get; set; } + public global::AppStoreConnect.EndAppAvailabilityPreOrderCreateRequestDataRelationshipsTerritoryAvailabilitiesDataItemType? Type3016 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterGroupDataType? Type3017 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementType? Type3017 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsGroupAchievement? Type3018 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementAttributes? Type3018 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsGroupAchievementData? Type3019 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementRelationships? Type3019 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsGroupAchievementDataType? Type3020 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsApp? Type3020 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsLocalizations? Type3021 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsAppData? Type3021 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3022 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsAppDataType? Type3022 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsLocalizationsDataItem? Type3023 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsTerritories? Type3023 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsLocalizationsDataItemType? Type3024 { get; set; } + public global::System.Collections.Generic.IList? Type3024 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsReleases? Type3025 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsTerritoriesDataItem? Type3025 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3026 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementRelationshipsTerritoriesDataItemType? Type3026 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsReleasesDataItem? Type3027 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementResponse? Type3027 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsReleasesDataItemType? Type3028 { get; set; } + public global::System.Collections.Generic.IList? Type3028 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsActivity? Type3029 { get; set; } + public global::AppStoreConnect.IncludedItem76? Type3029 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsActivityData? Type3030 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminator? Type3030 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementRelationshipsActivityDataType? Type3031 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType? Type3031 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsResponse? Type3032 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequest? Type3032 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3033 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestData? Type3033 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3034 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataType? Type3034 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem85? Type3035 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataAttributes? Type3035 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminator? Type3036 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationships? Type3036 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType? Type3037 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsApp? Type3037 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementResponse? Type3038 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsAppData? Type3038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3039 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsAppDataType? Type3039 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem86? Type3040 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsTerritories? Type3040 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminator? Type3041 { get; set; } + public global::System.Collections.Generic.IList? Type3041 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType? Type3042 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsTerritoriesDataItem? Type3042 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequest? Type3043 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementCreateRequestDataRelationshipsTerritoriesDataItemType? Type3043 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestData? Type3044 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequest? Type3044 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestDataType? Type3045 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestData? Type3045 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestDataAttributes? Type3046 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataType? Type3046 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationships? Type3047 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataAttributes? Type3047 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterDetail? Type3048 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataRelationships? Type3048 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterDetailData? Type3049 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataRelationshipsTerritories? Type3049 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterDetailDataType? Type3050 { get; set; } + public global::System.Collections.Generic.IList? Type3050 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterGroup? Type3051 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataRelationshipsTerritoriesDataItem? Type3051 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterGroupData? Type3052 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementUpdateRequestDataRelationshipsTerritoriesDataItemType? Type3052 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterGroupDataType? Type3053 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImage? Type3053 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementUpdateRequest? Type3054 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageType? Type3054 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementUpdateRequestData? Type3055 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageAttributes? Type3055 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementUpdateRequestDataType? Type3056 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageRelationships? Type3056 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementUpdateRequestDataAttributes? Type3057 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageRelationshipsGameCenterAchievementLocalization? Type3057 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityType? Type3058 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageRelationshipsGameCenterAchievementLocalizationData? Type3058 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityAttributes? Type3059 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageRelationshipsGameCenterAchievementLocalizationDataType? Type3059 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityAttributesPlayStyle? Type3060 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageResponse? Type3060 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationships? Type3061 { get; set; } + public global::System.Collections.Generic.IList? Type3061 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterDetail? Type3062 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalization? Type3062 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterDetailData? Type3063 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageCreateRequest? Type3063 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterDetailDataType? Type3064 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageCreateRequestData? Type3064 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterGroup? Type3065 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataType? Type3065 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterGroupData? Type3066 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataAttributes? Type3066 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterGroupDataType? Type3067 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataRelationships? Type3067 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsAchievements? Type3068 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataRelationshipsGameCenterAchievementLocalization? Type3068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3069 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataRelationshipsGameCenterAchievementLocalizationData? Type3069 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsDataItem? Type3070 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageCreateRequestDataRelationshipsGameCenterAchievementLocalizationDataType? Type3070 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsDataItemType? Type3071 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageUpdateRequest? Type3071 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsV2? Type3072 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageUpdateRequestData? Type3072 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3073 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageUpdateRequestDataType? Type3073 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsV2DataItem? Type3074 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageUpdateRequestDataAttributes? Type3074 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsV2DataItemType? Type3075 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2? Type3075 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboards? Type3076 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2Type? Type3076 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3077 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2Attributes? Type3077 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsDataItem? Type3078 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2Relationships? Type3078 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsDataItemType? Type3079 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2RelationshipsLocalization? Type3079 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsV2? Type3080 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2RelationshipsLocalizationData? Type3080 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3081 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2RelationshipsLocalizationDataType? Type3081 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsV2DataItem? Type3082 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2Response? Type3082 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsV2DataItemType? Type3083 { get; set; } + public global::System.Collections.Generic.IList? Type3083 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsVersions? Type3084 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2? Type3084 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3085 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequest? Type3085 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsVersionsDataItem? Type3086 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestData? Type3086 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityRelationshipsVersionsDataItemType? Type3087 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataType? Type3087 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesResponse? Type3088 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataAttributes? Type3088 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3089 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataRelationships? Type3089 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3090 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataRelationshipsLocalization? Type3090 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem87? Type3091 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataRelationshipsLocalizationData? Type3091 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersion? Type3092 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2CreateRequestDataRelationshipsLocalizationDataType? Type3092 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard? Type3093 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2UpdateRequest? Type3093 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminator? Type3094 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2UpdateRequestData? Type3094 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType? Type3095 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2UpdateRequestDataType? Type3095 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityResponse? Type3096 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImageV2UpdateRequestDataAttributes? Type3096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3097 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2Type? Type3097 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem88? Type3098 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2Attributes? Type3098 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminator? Type3099 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2Relationships? Type3099 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType? Type3100 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsVersion? Type3100 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequest? Type3101 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsVersionData? Type3101 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestData? Type3102 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsVersionDataType? Type3102 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataType? Type3103 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsImage? Type3103 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataAttributes? Type3104 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsImageData? Type3104 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataAttributesPlayStyle? Type3105 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsImageDataType? Type3105 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationships? Type3106 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2Response? Type3106 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterDetail? Type3107 { get; set; } + public global::System.Collections.Generic.IList? Type3107 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterDetailData? Type3108 { get; set; } + public global::AppStoreConnect.IncludedItem77? Type3108 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterDetailDataType? Type3109 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2? Type3109 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterGroup? Type3110 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminator? Type3110 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterGroupData? Type3111 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType? Type3111 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterGroupDataType? Type3112 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2Response? Type3112 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsVersions? Type3113 { get; set; } + public global::System.Collections.Generic.IList? Type3113 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3114 { get; set; } + public global::AppStoreConnect.IncludedItem78? Type3114 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsVersionsDataItem? Type3115 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminator? Type3115 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsVersionsDataItemType? Type3116 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType? Type3116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3117 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequest? Type3117 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionInlineCreate? Type3118 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestData? Type3118 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityUpdateRequest? Type3119 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataType? Type3119 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityUpdateRequestData? Type3120 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataAttributes? Type3120 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityUpdateRequestDataType? Type3121 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataRelationships? Type3121 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityUpdateRequestDataAttributes? Type3122 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataRelationshipsVersion? Type3122 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityUpdateRequestDataAttributesPlayStyle? Type3123 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataRelationshipsVersionData? Type3123 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImage? Type3124 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type3124 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageType? Type3125 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2UpdateRequest? Type3125 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageAttributes? Type3126 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2UpdateRequestData? Type3126 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageResponse? Type3127 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2UpdateRequestDataType? Type3127 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequest? Type3128 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2UpdateRequestDataAttributes? Type3128 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestData? Type3129 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationType? Type3129 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataType? Type3130 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationAttributes? Type3130 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataAttributes? Type3131 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationRelationships? Type3131 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationships? Type3132 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievement? Type3132 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsLocalization? Type3133 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementData? Type3133 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsLocalizationData? Type3134 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementDataType? Type3134 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsLocalizationDataType? Type3135 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementImage? Type3135 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsVersion? Type3136 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementImageData? Type3136 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsVersionData? Type3137 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementImageDataType? Type3137 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsVersionDataType? Type3138 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsResponse? Type3138 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageUpdateRequest? Type3139 { get; set; } + public global::System.Collections.Generic.IList? Type3139 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageUpdateRequestData? Type3140 { get; set; } + public global::AppStoreConnect.IncludedItem79? Type3140 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageUpdateRequestDataType? Type3141 { get; set; } + public global::AppStoreConnect.GameCenterAchievement? Type3141 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImageUpdateRequestDataAttributes? Type3142 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminator? Type3142 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalization? Type3143 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType? Type3143 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationType? Type3144 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationResponse? Type3144 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationAttributes? Type3145 { get; set; } + public global::System.Collections.Generic.IList? Type3145 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationRelationships? Type3146 { get; set; } + public global::AppStoreConnect.IncludedItem80? Type3146 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsVersion? Type3147 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminator? Type3147 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsVersionData? Type3148 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType? Type3148 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsVersionDataType? Type3149 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequest? Type3149 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsImage? Type3150 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestData? Type3150 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsImageData? Type3151 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataType? Type3151 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsImageDataType? Type3152 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataAttributes? Type3152 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationsResponse? Type3153 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataRelationships? Type3153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3154 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataRelationshipsGameCenterAchievement? Type3154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3155 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataRelationshipsGameCenterAchievementData? Type3155 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem89? Type3156 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationCreateRequestDataRelationshipsGameCenterAchievementDataType? Type3156 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminator? Type3157 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationUpdateRequest? Type3157 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType? Type3158 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationUpdateRequestData? Type3158 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationResponse? Type3159 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationUpdateRequestDataType? Type3159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3160 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationUpdateRequestDataAttributes? Type3160 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem90? Type3161 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelease? Type3161 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminator? Type3162 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseType? Type3162 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType? Type3163 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseAttributes? Type3163 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequest? Type3164 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseRelationships? Type3164 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestData? Type3165 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterDetail? Type3165 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataType? Type3166 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterDetailData? Type3166 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataAttributes? Type3167 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterDetailDataType? Type3167 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataRelationships? Type3168 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterAchievement? Type3168 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataRelationshipsVersion? Type3169 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterAchievementData? Type3169 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataRelationshipsVersionData? Type3170 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterAchievementDataType? Type3170 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataRelationshipsVersionDataType? Type3171 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesResponse? Type3171 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationUpdateRequest? Type3172 { get; set; } + public global::System.Collections.Generic.IList? Type3172 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationUpdateRequestData? Type3173 { get; set; } + public global::System.Collections.Generic.IList? Type3173 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationUpdateRequestDataType? Type3174 { get; set; } + public global::AppStoreConnect.IncludedItem81? Type3174 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationUpdateRequestDataAttributes? Type3175 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminator? Type3175 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelease? Type3176 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType? Type3176 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseType? Type3177 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseResponse? Type3177 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseRelationships? Type3178 { get; set; } + public global::System.Collections.Generic.IList? Type3178 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseRelationshipsVersion? Type3179 { get; set; } + public global::AppStoreConnect.IncludedItem82? Type3179 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseRelationshipsVersionData? Type3180 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminator? Type3180 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseRelationshipsVersionDataType? Type3181 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType? Type3181 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleasesResponse? Type3182 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequest? Type3182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3183 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestData? Type3183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3184 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataType? Type3184 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseResponse? Type3185 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationships? Type3185 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequest? Type3186 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterDetail? Type3186 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestData? Type3187 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type3187 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataType? Type3188 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type3188 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationships? Type3189 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterAchievement? Type3189 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsGameCenterDetail? Type3190 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterAchievementData? Type3190 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type3191 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleaseCreateRequestDataRelationshipsGameCenterAchievementDataType? Type3191 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type3192 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2Type? Type3192 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsVersion? Type3193 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2Attributes? Type3193 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsVersionData? Type3194 { get; set; } + public global::AppStoreConnect.GameCenterVersionState? Type3194 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsVersionDataType? Type3195 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2Relationships? Type3195 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionType? Type3196 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsAchievement? Type3196 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionAttributes? Type3197 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsAchievementData? Type3197 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationships? Type3198 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsAchievementDataType? Type3198 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsActivity? Type3199 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsLocalizations? Type3199 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsActivityData? Type3200 { get; set; } + public global::System.Collections.Generic.IList? Type3200 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsActivityDataType? Type3201 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsLocalizationsDataItem? Type3201 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsLocalizations? Type3202 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsLocalizationsDataItemType? Type3202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3203 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreate? Type3203 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsLocalizationsDataItem? Type3204 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateType? Type3204 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsLocalizationsDataItemType? Type3205 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateRelationships? Type3205 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsDefaultImage? Type3206 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateRelationshipsAchievement? Type3206 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsDefaultImageData? Type3207 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateRelationshipsAchievementData? Type3207 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsDefaultImageDataType? Type3208 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2InlineCreateRelationshipsAchievementDataType? Type3208 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsReleases? Type3209 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2Response? Type3209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3210 { get; set; } + public global::System.Collections.Generic.IList? Type3210 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsReleasesDataItem? Type3211 { get; set; } + public global::System.Collections.Generic.IList? Type3211 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelationshipsReleasesDataItemType? Type3212 { get; set; } + public global::AppStoreConnect.IncludedItem83? Type3212 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionInlineCreateType? Type3213 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2? Type3213 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionInlineCreateAttributes? Type3214 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminator? Type3214 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionInlineCreateRelationships? Type3215 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType? Type3215 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionInlineCreateRelationshipsActivity? Type3216 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2Response? Type3216 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionInlineCreateRelationshipsActivityData? Type3217 { get; set; } + public global::System.Collections.Generic.IList? Type3217 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionInlineCreateRelationshipsActivityDataType? Type3218 { get; set; } + public global::AppStoreConnect.IncludedItem84? Type3218 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsResponse? Type3219 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminator? Type3219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3220 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType? Type3220 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem91? Type3221 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequest? Type3221 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminator? Type3222 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestData? Type3222 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType? Type3223 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataType? Type3223 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionResponse? Type3224 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataRelationships? Type3224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3225 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataRelationshipsAchievement? Type3225 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem92? Type3226 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataRelationshipsAchievementData? Type3226 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminator? Type3227 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2CreateRequestDataRelationshipsAchievementDataType? Type3227 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType? Type3228 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2Type? Type3228 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionCreateRequest? Type3229 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2Attributes? Type3229 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionCreateRequestData? Type3230 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2Relationships? Type3230 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataType? Type3231 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterDetail? Type3231 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataAttributes? Type3232 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterDetailData? Type3232 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataRelationships? Type3233 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterDetailDataType? Type3233 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataRelationshipsActivity? Type3234 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterGroup? Type3234 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataRelationshipsActivityData? Type3235 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterGroupData? Type3235 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataRelationshipsActivityDataType? Type3236 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsGameCenterGroupDataType? Type3236 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionUpdateRequest? Type3237 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsActivity? Type3237 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionUpdateRequestData? Type3238 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsActivityData? Type3238 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionUpdateRequestDataType? Type3239 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsActivityDataType? Type3239 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionUpdateRequestDataAttributes? Type3240 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsVersions? Type3240 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionType? Type3241 { get; set; } + public global::System.Collections.Generic.IList? Type3241 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionAttributes? Type3242 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsVersionsDataItem? Type3242 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionRelationships? Type3243 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2RelationshipsVersionsDataItemType? Type3243 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionRelationshipsCompatibilityVersions? Type3244 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2Response? Type3244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3245 { get; set; } + public global::System.Collections.Generic.IList? Type3245 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionRelationshipsCompatibilityVersionsDataItem? Type3246 { get; set; } + public global::System.Collections.Generic.IList? Type3246 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionRelationshipsCompatibilityVersionsDataItemType? Type3247 { get; set; } + public global::AppStoreConnect.IncludedItem85? Type3247 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionRelationshipsAppStoreVersion? Type3248 { get; set; } + public global::AppStoreConnect.GameCenterActivity? Type3248 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionRelationshipsAppStoreVersionData? Type3249 { get; set; } + public global::AppStoreConnect.GameCenterGroup? Type3249 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionRelationshipsAppStoreVersionDataType? Type3250 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminator? Type3250 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsResponse? Type3251 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType? Type3251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3252 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2Response? Type3252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3253 { get; set; } + public global::System.Collections.Generic.IList? Type3253 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem93? Type3254 { get; set; } + public global::AppStoreConnect.IncludedItem86? Type3254 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminator? Type3255 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminator? Type3255 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType? Type3256 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType? Type3256 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionResponse? Type3257 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequest? Type3257 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3258 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestData? Type3258 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem94? Type3259 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataType? Type3259 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminator? Type3260 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataAttributes? Type3260 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType? Type3261 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationships? Type3261 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCreateRequest? Type3262 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterDetail? Type3262 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCreateRequestData? Type3263 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterDetailData? Type3263 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataType? Type3264 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterDetailDataType? Type3264 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataRelationships? Type3265 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterGroup? Type3265 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataRelationshipsAppStoreVersion? Type3266 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterGroupData? Type3266 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataRelationshipsAppStoreVersionData? Type3267 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsGameCenterGroupDataType? Type3267 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataRelationshipsAppStoreVersionDataType? Type3268 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsVersions? Type3268 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionUpdateRequest? Type3269 { get; set; } + public global::System.Collections.Generic.IList? Type3269 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionUpdateRequestData? Type3270 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsVersionsDataItem? Type3270 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionUpdateRequestDataType? Type3271 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2CreateRequestDataRelationshipsVersionsDataItemType? Type3271 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionUpdateRequestDataAttributes? Type3272 { get; set; } + public global::System.Collections.Generic.IList? Type3272 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImage? Type3273 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2UpdateRequest? Type3273 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageType? Type3274 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2UpdateRequestData? Type3274 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageAttributes? Type3275 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2UpdateRequestDataType? Type3275 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageResponse? Type3276 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2UpdateRequestDataAttributes? Type3276 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequest? Type3277 { get; set; } + public global::AppStoreConnect.GameCenterAchievementType? Type3277 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestData? Type3278 { get; set; } + public global::AppStoreConnect.GameCenterAchievementAttributes? Type3278 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataType? Type3279 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationships? Type3279 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataAttributes? Type3280 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterDetail? Type3280 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationships? Type3281 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterDetailData? Type3281 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsLocalization? Type3282 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterDetailDataType? Type3282 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsLocalizationData? Type3283 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterGroup? Type3283 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsLocalizationDataType? Type3284 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterGroupData? Type3284 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsVersion? Type3285 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsGameCenterGroupDataType? Type3285 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsVersionData? Type3286 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsGroupAchievement? Type3286 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsVersionDataType? Type3287 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsGroupAchievementData? Type3287 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageUpdateRequest? Type3288 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsGroupAchievementDataType? Type3288 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageUpdateRequestData? Type3289 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsLocalizations? Type3289 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageUpdateRequestDataType? Type3290 { get; set; } + public global::System.Collections.Generic.IList? Type3290 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImageUpdateRequestDataAttributes? Type3291 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsLocalizationsDataItem? Type3291 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalization? Type3292 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsLocalizationsDataItemType? Type3292 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationType? Type3293 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsReleases? Type3293 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationAttributes? Type3294 { get; set; } + public global::System.Collections.Generic.IList? Type3294 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationRelationships? Type3295 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsReleasesDataItem? Type3295 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsVersion? Type3296 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsReleasesDataItemType? Type3296 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsVersionData? Type3297 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsActivity? Type3297 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsVersionDataType? Type3298 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsActivityData? Type3298 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsImage? Type3299 { get; set; } + public global::AppStoreConnect.GameCenterAchievementRelationshipsActivityDataType? Type3299 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsImageData? Type3300 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsResponse? Type3300 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsImageDataType? Type3301 { get; set; } + public global::System.Collections.Generic.IList? Type3301 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationsResponse? Type3302 { get; set; } + public global::System.Collections.Generic.IList? Type3302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3303 { get; set; } + public global::AppStoreConnect.IncludedItem87? Type3303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3304 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminator? Type3304 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem95? Type3305 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType? Type3305 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersion? Type3306 { get; set; } + public global::AppStoreConnect.GameCenterAchievementResponse? Type3306 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminator? Type3307 { get; set; } + public global::System.Collections.Generic.IList? Type3307 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType? Type3308 { get; set; } + public global::AppStoreConnect.IncludedItem88? Type3308 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationResponse? Type3309 { get; set; } + public global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminator? Type3309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3310 { get; set; } + public global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType? Type3310 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem96? Type3311 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequest? Type3311 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminator? Type3312 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestData? Type3312 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType? Type3313 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestDataType? Type3313 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequest? Type3314 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestDataAttributes? Type3314 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestData? Type3315 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationships? Type3315 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataType? Type3316 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterDetail? Type3316 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataAttributes? Type3317 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterDetailData? Type3317 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataRelationships? Type3318 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterDetailDataType? Type3318 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataRelationshipsVersion? Type3319 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterGroup? Type3319 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataRelationshipsVersionData? Type3320 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterGroupData? Type3320 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataRelationshipsVersionDataType? Type3321 { get; set; } + public global::AppStoreConnect.GameCenterAchievementCreateRequestDataRelationshipsGameCenterGroupDataType? Type3321 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationUpdateRequest? Type3322 { get; set; } + public global::AppStoreConnect.GameCenterAchievementUpdateRequest? Type3322 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationUpdateRequestData? Type3323 { get; set; } + public global::AppStoreConnect.GameCenterAchievementUpdateRequestData? Type3323 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationUpdateRequestDataType? Type3324 { get; set; } + public global::AppStoreConnect.GameCenterAchievementUpdateRequestDataType? Type3324 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationUpdateRequestDataAttributes? Type3325 { get; set; } + public global::AppStoreConnect.GameCenterAchievementUpdateRequestDataAttributes? Type3325 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelease? Type3326 { get; set; } + public global::AppStoreConnect.GameCenterActivityType? Type3326 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseType? Type3327 { get; set; } + public global::AppStoreConnect.GameCenterActivityAttributes? Type3327 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseRelationships? Type3328 { get; set; } + public global::AppStoreConnect.GameCenterActivityAttributesPlayStyle? Type3328 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseRelationshipsVersion? Type3329 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationships? Type3329 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseRelationshipsVersionData? Type3330 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterDetail? Type3330 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseRelationshipsVersionDataType? Type3331 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterDetailData? Type3331 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleasesResponse? Type3332 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterDetailDataType? Type3332 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3333 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterGroup? Type3333 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3334 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterGroupData? Type3334 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseResponse? Type3335 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsGameCenterGroupDataType? Type3335 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequest? Type3336 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsAchievements? Type3336 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestData? Type3337 { get; set; } + public global::System.Collections.Generic.IList? Type3337 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataType? Type3338 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsDataItem? Type3338 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationships? Type3339 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsDataItemType? Type3339 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsGameCenterDetail? Type3340 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsV2? Type3340 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type3341 { get; set; } + public global::System.Collections.Generic.IList? Type3341 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type3342 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsV2DataItem? Type3342 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsVersion? Type3343 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsAchievementsV2DataItemType? Type3343 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsVersionData? Type3344 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboards? Type3344 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsVersionDataType? Type3345 { get; set; } + public global::System.Collections.Generic.IList? Type3345 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionType? Type3346 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsDataItem? Type3346 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionAttributes? Type3347 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsDataItemType? Type3347 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationships? Type3348 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsV2? Type3348 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsChallenge? Type3349 { get; set; } + public global::System.Collections.Generic.IList? Type3349 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsChallengeData? Type3350 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsV2DataItem? Type3350 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsChallengeDataType? Type3351 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsV2DataItemType? Type3351 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsLocalizations? Type3352 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsVersions? Type3352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3353 { get; set; } + public global::System.Collections.Generic.IList? Type3353 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsLocalizationsDataItem? Type3354 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsVersionsDataItem? Type3354 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsLocalizationsDataItemType? Type3355 { get; set; } + public global::AppStoreConnect.GameCenterActivityRelationshipsVersionsDataItemType? Type3355 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsReleases? Type3356 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesResponse? Type3356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3357 { get; set; } + public global::System.Collections.Generic.IList? Type3357 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsReleasesDataItem? Type3358 { get; set; } + public global::System.Collections.Generic.IList? Type3358 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsReleasesDataItemType? Type3359 { get; set; } + public global::AppStoreConnect.IncludedItem89? Type3359 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImage? Type3360 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersion? Type3360 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImageData? Type3361 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboard? Type3361 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImageDataType? Type3362 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminator? Type3362 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionInlineCreate? Type3363 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType? Type3363 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateType? Type3364 { get; set; } + public global::AppStoreConnect.GameCenterActivityResponse? Type3364 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateRelationships? Type3365 { get; set; } + public global::System.Collections.Generic.IList? Type3365 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateRelationshipsChallenge? Type3366 { get; set; } + public global::AppStoreConnect.IncludedItem90? Type3366 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateRelationshipsChallengeData? Type3367 { get; set; } + public global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminator? Type3367 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateRelationshipsChallengeDataType? Type3368 { get; set; } + public global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType? Type3368 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsResponse? Type3369 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequest? Type3369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3370 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestData? Type3370 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem97? Type3371 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataType? Type3371 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallenge? Type3372 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataAttributes? Type3372 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminator? Type3373 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataAttributesPlayStyle? Type3373 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType? Type3374 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationships? Type3374 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionResponse? Type3375 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterDetail? Type3375 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3376 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterDetailData? Type3376 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem98? Type3377 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterDetailDataType? Type3377 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminator? Type3378 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterGroup? Type3378 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType? Type3379 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterGroupData? Type3379 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionCreateRequest? Type3380 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsGameCenterGroupDataType? Type3380 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestData? Type3381 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsVersions? Type3381 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataType? Type3382 { get; set; } + public global::System.Collections.Generic.IList? Type3382 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataRelationships? Type3383 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsVersionsDataItem? Type3383 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataRelationshipsChallenge? Type3384 { get; set; } + public global::AppStoreConnect.GameCenterActivityCreateRequestDataRelationshipsVersionsDataItemType? Type3384 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataRelationshipsChallengeData? Type3385 { get; set; } + public global::System.Collections.Generic.IList? Type3385 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataRelationshipsChallengeDataType? Type3386 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionInlineCreate? Type3386 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeType? Type3387 { get; set; } + public global::AppStoreConnect.GameCenterActivityUpdateRequest? Type3387 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeAttributes? Type3388 { get; set; } + public global::AppStoreConnect.GameCenterActivityUpdateRequestData? Type3388 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeAttributesChallengeType? Type3389 { get; set; } + public global::AppStoreConnect.GameCenterActivityUpdateRequestDataType? Type3389 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationships? Type3390 { get; set; } + public global::AppStoreConnect.GameCenterActivityUpdateRequestDataAttributes? Type3390 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterDetail? Type3391 { get; set; } + public global::AppStoreConnect.GameCenterActivityUpdateRequestDataAttributesPlayStyle? Type3391 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterDetailData? Type3392 { get; set; } + public global::AppStoreConnect.GameCenterActivityImage? Type3392 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterDetailDataType? Type3393 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageType? Type3393 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterGroup? Type3394 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageAttributes? Type3394 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterGroupData? Type3395 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageResponse? Type3395 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterGroupDataType? Type3396 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequest? Type3396 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsVersions? Type3397 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestData? Type3397 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3398 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataType? Type3398 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsVersionsDataItem? Type3399 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataAttributes? Type3399 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsVersionsDataItemType? Type3400 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationships? Type3400 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboard? Type3401 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsLocalization? Type3401 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardData? Type3402 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsLocalizationData? Type3402 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardDataType? Type3403 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsLocalizationDataType? Type3403 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardV2? Type3404 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsVersion? Type3404 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardV2Data? Type3405 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsVersionData? Type3405 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardV2DataType? Type3406 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageCreateRequestDataRelationshipsVersionDataType? Type3406 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesResponse? Type3407 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageUpdateRequest? Type3407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3408 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageUpdateRequestData? Type3408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3409 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageUpdateRequestDataType? Type3409 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem99? Type3410 { get; set; } + public global::AppStoreConnect.GameCenterActivityImageUpdateRequestDataAttributes? Type3410 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminator? Type3411 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalization? Type3411 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType? Type3412 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationType? Type3412 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeResponse? Type3413 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationAttributes? Type3413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3414 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationRelationships? Type3414 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem100? Type3415 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsVersion? Type3415 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminator? Type3416 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsVersionData? Type3416 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType? Type3417 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsVersionDataType? Type3417 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequest? Type3418 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsImage? Type3418 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestData? Type3419 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsImageData? Type3419 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataType? Type3420 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsImageDataType? Type3420 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataAttributes? Type3421 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationsResponse? Type3421 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataAttributesChallengeType? Type3422 { get; set; } + public global::System.Collections.Generic.IList? Type3422 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationships? Type3423 { get; set; } + public global::System.Collections.Generic.IList? Type3423 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterDetail? Type3424 { get; set; } + public global::AppStoreConnect.IncludedItem91? Type3424 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterDetailData? Type3425 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminator? Type3425 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterDetailDataType? Type3426 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType? Type3426 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterGroup? Type3427 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationResponse? Type3427 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterGroupData? Type3428 { get; set; } + public global::System.Collections.Generic.IList? Type3428 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterGroupDataType? Type3429 { get; set; } + public global::AppStoreConnect.IncludedItem92? Type3429 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsVersions? Type3430 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminator? Type3430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3431 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType? Type3431 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsVersionsDataItem? Type3432 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequest? Type3432 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsVersionsDataItemType? Type3433 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestData? Type3433 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboard? Type3434 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataType? Type3434 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardData? Type3435 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataAttributes? Type3435 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardDataType? Type3436 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataRelationships? Type3436 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardV2? Type3437 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataRelationshipsVersion? Type3437 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardV2Data? Type3438 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataRelationshipsVersionData? Type3438 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardV2DataType? Type3439 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationCreateRequestDataRelationshipsVersionDataType? Type3439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3440 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationUpdateRequest? Type3440 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequest? Type3441 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationUpdateRequestData? Type3441 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestData? Type3442 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationUpdateRequestDataType? Type3442 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataType? Type3443 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationUpdateRequestDataAttributes? Type3443 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataAttributes? Type3444 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelease? Type3444 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationships? Type3445 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseType? Type3445 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboard? Type3446 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseRelationships? Type3446 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardData? Type3447 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseRelationshipsVersion? Type3447 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardDataType? Type3448 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseRelationshipsVersionData? Type3448 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardV2? Type3449 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseRelationshipsVersionDataType? Type3449 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardV2Data? Type3450 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleasesResponse? Type3450 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardV2DataType? Type3451 { get; set; } + public global::System.Collections.Generic.IList? Type3451 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailPlayer? Type3452 { get; set; } + public global::System.Collections.Generic.IList? Type3452 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailPlayerType? Type3453 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseResponse? Type3453 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailPlayerAttributes? Type3454 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequest? Type3454 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailPlayersResponse? Type3455 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestData? Type3455 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3456 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataType? Type3456 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailPlayerResponse? Type3457 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationships? Type3457 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailPlayerUpdateRequest? Type3458 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsGameCenterDetail? Type3458 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailPlayerUpdateRequestData? Type3459 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type3459 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailPlayerUpdateRequestDataType? Type3460 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type3460 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailPlayerUpdateRequestDataAttributes? Type3461 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsVersion? Type3461 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailType? Type3462 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsVersionData? Type3462 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailAttributes? Type3463 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleaseCreateRequestDataRelationshipsVersionDataType? Type3463 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationships? Type3464 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionType? Type3464 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsApp? Type3465 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionAttributes? Type3465 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsAppData? Type3466 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationships? Type3466 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsAppDataType? Type3467 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsActivity? Type3467 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAppVersions? Type3468 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsActivityData? Type3468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3469 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsActivityDataType? Type3469 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAppVersionsDataItem? Type3470 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsLocalizations? Type3470 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAppVersionsDataItemType? Type3471 { get; set; } + public global::System.Collections.Generic.IList? Type3471 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterGroup? Type3472 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsLocalizationsDataItem? Type3472 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterGroupData? Type3473 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsLocalizationsDataItemType? Type3473 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterGroupDataType? Type3474 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsDefaultImage? Type3474 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboards? Type3475 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsDefaultImageData? Type3475 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3476 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsDefaultImageDataType? Type3476 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsDataItem? Type3477 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsReleases? Type3477 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsDataItemType? Type3478 { get; set; } + public global::System.Collections.Generic.IList? Type3478 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsV2? Type3479 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsReleasesDataItem? Type3479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3480 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionRelationshipsReleasesDataItemType? Type3480 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsV2DataItem? Type3481 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionInlineCreateType? Type3481 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsV2DataItemType? Type3482 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionInlineCreateAttributes? Type3482 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSets? Type3483 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionInlineCreateRelationships? Type3483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3484 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionInlineCreateRelationshipsActivity? Type3484 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsDataItem? Type3485 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionInlineCreateRelationshipsActivityData? Type3485 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsDataItemType? Type3486 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionInlineCreateRelationshipsActivityDataType? Type3486 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsV2? Type3487 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsResponse? Type3487 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3488 { get; set; } + public global::System.Collections.Generic.IList? Type3488 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsV2DataItem? Type3489 { get; set; } + public global::AppStoreConnect.IncludedItem93? Type3489 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsV2DataItemType? Type3490 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminator? Type3490 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievements? Type3491 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType? Type3491 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3492 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionResponse? Type3492 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsDataItem? Type3493 { get; set; } + public global::System.Collections.Generic.IList? Type3493 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsDataItemType? Type3494 { get; set; } + public global::AppStoreConnect.IncludedItem94? Type3494 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsV2? Type3495 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminator? Type3495 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3496 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType? Type3496 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsV2DataItem? Type3497 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionCreateRequest? Type3497 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsV2DataItemType? Type3498 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionCreateRequestData? Type3498 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterActivities? Type3499 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataType? Type3499 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3500 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataAttributes? Type3500 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterActivitiesDataItem? Type3501 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataRelationships? Type3501 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterActivitiesDataItemType? Type3502 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataRelationshipsActivity? Type3502 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterChallenges? Type3503 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataRelationshipsActivityData? Type3503 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3504 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionCreateRequestDataRelationshipsActivityDataType? Type3504 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterChallengesDataItem? Type3505 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionUpdateRequest? Type3505 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterChallengesDataItemType? Type3506 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionUpdateRequestData? Type3506 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboard? Type3507 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionUpdateRequestDataType? Type3507 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardData? Type3508 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionUpdateRequestDataAttributes? Type3508 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardDataType? Type3509 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionType? Type3509 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardV2? Type3510 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionAttributes? Type3510 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardV2Data? Type3511 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionRelationships? Type3511 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardV2DataType? Type3512 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionRelationshipsCompatibilityVersions? Type3512 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboard? Type3513 { get; set; } + public global::System.Collections.Generic.IList? Type3513 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardData? Type3514 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionRelationshipsCompatibilityVersionsDataItem? Type3514 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardDataType? Type3515 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionRelationshipsCompatibilityVersionsDataItemType? Type3515 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardV2? Type3516 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionRelationshipsAppStoreVersion? Type3516 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardV2Data? Type3517 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionRelationshipsAppStoreVersionData? Type3517 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardV2DataType? Type3518 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionRelationshipsAppStoreVersionDataType? Type3518 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsAchievementReleases? Type3519 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsResponse? Type3519 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3520 { get; set; } + public global::System.Collections.Generic.IList? Type3520 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsAchievementReleasesDataItem? Type3521 { get; set; } + public global::System.Collections.Generic.IList? Type3521 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsAchievementReleasesDataItemType? Type3522 { get; set; } + public global::AppStoreConnect.IncludedItem95? Type3522 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsActivityReleases? Type3523 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminator? Type3523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3524 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType? Type3524 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsActivityReleasesDataItem? Type3525 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionResponse? Type3525 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsActivityReleasesDataItemType? Type3526 { get; set; } + public global::System.Collections.Generic.IList? Type3526 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsChallengeReleases? Type3527 { get; set; } + public global::AppStoreConnect.IncludedItem96? Type3527 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3528 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminator? Type3528 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsChallengeReleasesDataItem? Type3529 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType? Type3529 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsChallengeReleasesDataItemType? Type3530 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCreateRequest? Type3530 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardReleases? Type3531 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCreateRequestData? Type3531 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3532 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataType? Type3532 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardReleasesDataItem? Type3533 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataRelationships? Type3533 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardReleasesDataItemType? Type3534 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataRelationshipsAppStoreVersion? Type3534 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardSetReleases? Type3535 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataRelationshipsAppStoreVersionData? Type3535 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3536 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCreateRequestDataRelationshipsAppStoreVersionDataType? Type3536 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardSetReleasesDataItem? Type3537 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionUpdateRequest? Type3537 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardSetReleasesDataItemType? Type3538 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionUpdateRequestData? Type3538 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsBlockedPlayers? Type3539 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionUpdateRequestDataType? Type3539 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsChallengesMinimumPlatformVersions? Type3540 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionUpdateRequestDataAttributes? Type3540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3541 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImage? Type3541 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsChallengesMinimumPlatformVersionsDataItem? Type3542 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageType? Type3542 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailRelationshipsChallengesMinimumPlatformVersionsDataItemType? Type3543 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageAttributes? Type3543 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsResponse? Type3544 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageResponse? Type3544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3545 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequest? Type3545 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3546 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestData? Type3546 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem101? Type3547 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataType? Type3547 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelease? Type3548 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataAttributes? Type3548 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelease? Type3549 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationships? Type3549 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet? Type3550 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsLocalization? Type3550 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminator? Type3551 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsLocalizationData? Type3551 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType? Type3552 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsLocalizationDataType? Type3552 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailResponse? Type3553 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsVersion? Type3553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3554 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsVersionData? Type3554 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem102? Type3555 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageCreateRequestDataRelationshipsVersionDataType? Type3555 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminator? Type3556 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageUpdateRequest? Type3556 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType? Type3557 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageUpdateRequestData? Type3557 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailCreateRequest? Type3558 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageUpdateRequestDataType? Type3558 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailCreateRequestData? Type3559 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImageUpdateRequestDataAttributes? Type3559 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailCreateRequestDataType? Type3560 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalization? Type3560 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailCreateRequestDataAttributes? Type3561 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationType? Type3561 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailCreateRequestDataRelationships? Type3562 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationAttributes? Type3562 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailCreateRequestDataRelationshipsApp? Type3563 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationRelationships? Type3563 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailCreateRequestDataRelationshipsAppData? Type3564 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsVersion? Type3564 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailCreateRequestDataRelationshipsAppDataType? Type3565 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsVersionData? Type3565 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequest? Type3566 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsVersionDataType? Type3566 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestData? Type3567 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsImage? Type3567 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataType? Type3568 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsImageData? Type3568 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataAttributes? Type3569 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsImageDataType? Type3569 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationships? Type3570 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationsResponse? Type3570 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsGameCenterGroup? Type3571 { get; set; } + public global::System.Collections.Generic.IList? Type3571 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsGameCenterGroupData? Type3572 { get; set; } + public global::System.Collections.Generic.IList? Type3572 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsGameCenterGroupDataType? Type3573 { get; set; } + public global::AppStoreConnect.IncludedItem97? Type3573 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboard? Type3574 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersion? Type3574 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardData? Type3575 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminator? Type3575 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardDataType? Type3576 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType? Type3576 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardV2? Type3577 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationResponse? Type3577 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardV2Data? Type3578 { get; set; } + public global::System.Collections.Generic.IList? Type3578 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardV2DataType? Type3579 { get; set; } + public global::AppStoreConnect.IncludedItem98? Type3579 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboard? Type3580 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminator? Type3580 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardData? Type3581 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType? Type3581 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardDataType? Type3582 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequest? Type3582 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardV2? Type3583 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestData? Type3583 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardV2Data? Type3584 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataType? Type3584 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardV2DataType? Type3585 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataAttributes? Type3585 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionType? Type3586 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataRelationships? Type3586 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionAttributes? Type3587 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataRelationshipsVersion? Type3587 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionRelationships? Type3588 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataRelationshipsVersionData? Type3588 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsCompatibleVersions? Type3589 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationCreateRequestDataRelationshipsVersionDataType? Type3589 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3590 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationUpdateRequest? Type3590 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsCompatibleVersionsDataItem? Type3591 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationUpdateRequestData? Type3591 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsCompatibleVersionsDataItemType? Type3592 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationUpdateRequestDataType? Type3592 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsApp? Type3593 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationUpdateRequestDataAttributes? Type3593 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsAppData? Type3594 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelease? Type3594 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsAppDataType? Type3595 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseType? Type3595 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionsResponse? Type3596 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseRelationships? Type3596 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3597 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseRelationshipsVersion? Type3597 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3598 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseRelationshipsVersionData? Type3598 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem103? Type3599 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseRelationshipsVersionDataType? Type3599 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminator? Type3600 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleasesResponse? Type3600 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType? Type3601 { get; set; } + public global::System.Collections.Generic.IList? Type3601 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupType? Type3602 { get; set; } + public global::System.Collections.Generic.IList? Type3602 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupAttributes? Type3603 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseResponse? Type3603 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationships? Type3604 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequest? Type3604 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterDetails? Type3605 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestData? Type3605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3606 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataType? Type3606 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterDetailsDataItem? Type3607 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationships? Type3607 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterDetailsDataItemType? Type3608 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsGameCenterDetail? Type3608 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboards? Type3609 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type3609 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3610 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type3610 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsDataItem? Type3611 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsVersion? Type3611 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsDataItemType? Type3612 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsVersionData? Type3612 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsV2? Type3613 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleaseCreateRequestDataRelationshipsVersionDataType? Type3613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3614 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionType? Type3614 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsV2DataItem? Type3615 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionAttributes? Type3615 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsV2DataItemType? Type3616 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationships? Type3616 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSets? Type3617 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsChallenge? Type3617 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3618 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsChallengeData? Type3618 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsDataItem? Type3619 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsChallengeDataType? Type3619 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsDataItemType? Type3620 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsLocalizations? Type3620 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsV2? Type3621 { get; set; } + public global::System.Collections.Generic.IList? Type3621 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3622 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsLocalizationsDataItem? Type3622 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsV2DataItem? Type3623 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsLocalizationsDataItemType? Type3623 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsV2DataItemType? Type3624 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsReleases? Type3624 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievements? Type3625 { get; set; } + public global::System.Collections.Generic.IList? Type3625 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3626 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsReleasesDataItem? Type3626 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsDataItem? Type3627 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsReleasesDataItemType? Type3627 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsDataItemType? Type3628 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImage? Type3628 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsV2? Type3629 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImageData? Type3629 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3630 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImageDataType? Type3630 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsV2DataItem? Type3631 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionInlineCreate? Type3631 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsV2DataItemType? Type3632 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateType? Type3632 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterActivities? Type3633 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateRelationships? Type3633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3634 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateRelationshipsChallenge? Type3634 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterActivitiesDataItem? Type3635 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateRelationshipsChallengeData? Type3635 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterActivitiesDataItemType? Type3636 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionInlineCreateRelationshipsChallengeDataType? Type3636 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterChallenges? Type3637 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsResponse? Type3637 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3638 { get; set; } + public global::System.Collections.Generic.IList? Type3638 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterChallengesDataItem? Type3639 { get; set; } + public global::AppStoreConnect.IncludedItem99? Type3639 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterChallengesDataItemType? Type3640 { get; set; } + public global::AppStoreConnect.GameCenterChallenge? Type3640 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsResponse? Type3641 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminator? Type3641 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3642 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType? Type3642 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3643 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionResponse? Type3643 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem104? Type3644 { get; set; } + public global::System.Collections.Generic.IList? Type3644 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminator? Type3645 { get; set; } + public global::AppStoreConnect.IncludedItem100? Type3645 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType? Type3646 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminator? Type3646 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupResponse? Type3647 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType? Type3647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3648 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionCreateRequest? Type3648 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem105? Type3649 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestData? Type3649 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminator? Type3650 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataType? Type3650 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType? Type3651 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataRelationships? Type3651 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupCreateRequest? Type3652 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataRelationshipsChallenge? Type3652 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupCreateRequestData? Type3653 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataRelationshipsChallengeData? Type3653 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupCreateRequestDataType? Type3654 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionCreateRequestDataRelationshipsChallengeDataType? Type3654 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupCreateRequestDataAttributes? Type3655 { get; set; } + public global::AppStoreConnect.GameCenterChallengeType? Type3655 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupUpdateRequest? Type3656 { get; set; } + public global::AppStoreConnect.GameCenterChallengeAttributes? Type3656 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupUpdateRequestData? Type3657 { get; set; } + public global::AppStoreConnect.GameCenterChallengeAttributesChallengeType? Type3657 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupUpdateRequestDataType? Type3658 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationships? Type3658 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupUpdateRequestDataAttributes? Type3659 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterDetail? Type3659 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardEntrySubmission? Type3660 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterDetailData? Type3660 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionType? Type3661 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterDetailDataType? Type3661 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionAttributes? Type3662 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterGroup? Type3662 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionResponse? Type3663 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterGroupData? Type3663 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionCreateRequest? Type3664 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterGroupDataType? Type3664 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionCreateRequestData? Type3665 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsVersions? Type3665 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionCreateRequestDataType? Type3666 { get; set; } + public global::System.Collections.Generic.IList? Type3666 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionCreateRequestDataAttributes? Type3667 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsVersionsDataItem? Type3667 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImage? Type3668 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsVersionsDataItemType? Type3668 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageType? Type3669 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboard? Type3669 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageAttributes? Type3670 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardData? Type3670 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageRelationships? Type3671 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardDataType? Type3671 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageRelationshipsGameCenterLeaderboardLocalization? Type3672 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardV2? Type3672 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageRelationshipsGameCenterLeaderboardLocalizationData? Type3673 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardV2Data? Type3673 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageRelationshipsGameCenterLeaderboardLocalizationDataType? Type3674 { get; set; } + public global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardV2DataType? Type3674 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageResponse? Type3675 { get; set; } + public global::AppStoreConnect.GameCenterChallengesResponse? Type3675 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3676 { get; set; } + public global::System.Collections.Generic.IList? Type3676 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalization? Type3677 { get; set; } + public global::System.Collections.Generic.IList? Type3677 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequest? Type3678 { get; set; } + public global::AppStoreConnect.IncludedItem101? Type3678 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestData? Type3679 { get; set; } + public global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminator? Type3679 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataType? Type3680 { get; set; } + public global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType? Type3680 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataAttributes? Type3681 { get; set; } + public global::AppStoreConnect.GameCenterChallengeResponse? Type3681 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataRelationships? Type3682 { get; set; } + public global::System.Collections.Generic.IList? Type3682 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataRelationshipsGameCenterLeaderboardLocalization? Type3683 { get; set; } + public global::AppStoreConnect.IncludedItem102? Type3683 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataRelationshipsGameCenterLeaderboardLocalizationData? Type3684 { get; set; } + public global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminator? Type3684 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataRelationshipsGameCenterLeaderboardLocalizationDataType? Type3685 { get; set; } + public global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType? Type3685 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageUpdateRequest? Type3686 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequest? Type3686 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageUpdateRequestData? Type3687 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestData? Type3687 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageUpdateRequestDataType? Type3688 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataType? Type3688 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageUpdateRequestDataAttributes? Type3689 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataAttributes? Type3689 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2? Type3690 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataAttributesChallengeType? Type3690 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2Type? Type3691 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationships? Type3691 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2Attributes? Type3692 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterDetail? Type3692 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2Relationships? Type3693 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterDetailData? Type3693 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2RelationshipsLocalization? Type3694 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterDetailDataType? Type3694 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2RelationshipsLocalizationData? Type3695 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterGroup? Type3695 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2RelationshipsLocalizationDataType? Type3696 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterGroupData? Type3696 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2Response? Type3697 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsGameCenterGroupDataType? Type3697 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3698 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsVersions? Type3698 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? Type3699 { get; set; } + public global::System.Collections.Generic.IList? Type3699 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequest? Type3700 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsVersionsDataItem? Type3700 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestData? Type3701 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsVersionsDataItemType? Type3701 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataType? Type3702 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboard? Type3702 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataAttributes? Type3703 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardData? Type3703 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataRelationships? Type3704 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardDataType? Type3704 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataRelationshipsLocalization? Type3705 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardV2? Type3705 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataRelationshipsLocalizationData? Type3706 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardV2Data? Type3706 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataRelationshipsLocalizationDataType? Type3707 { get; set; } + public global::AppStoreConnect.GameCenterChallengeCreateRequestDataRelationshipsLeaderboardV2DataType? Type3707 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2UpdateRequest? Type3708 { get; set; } + public global::System.Collections.Generic.IList? Type3708 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2UpdateRequestData? Type3709 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequest? Type3709 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2UpdateRequestDataType? Type3710 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestData? Type3710 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2UpdateRequestDataAttributes? Type3711 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataType? Type3711 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationType? Type3712 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataAttributes? Type3712 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationAttributes? Type3713 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationships? Type3713 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardFormatter? Type3714 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboard? Type3714 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationships? Type3715 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardData? Type3715 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboard? Type3716 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardDataType? Type3716 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardData? Type3717 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardV2? Type3717 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardDataType? Type3718 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardV2Data? Type3718 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImage? Type3719 { get; set; } + public global::AppStoreConnect.GameCenterChallengeUpdateRequestDataRelationshipsLeaderboardV2DataType? Type3719 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImageData? Type3720 { get; set; } + public global::AppStoreConnect.GameCenterDetailPlayer? Type3720 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImageDataType? Type3721 { get; set; } + public global::AppStoreConnect.GameCenterDetailPlayerType? Type3721 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponse? Type3722 { get; set; } + public global::AppStoreConnect.GameCenterDetailPlayerAttributes? Type3722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3723 { get; set; } + public global::AppStoreConnect.GameCenterDetailPlayersResponse? Type3723 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem106? Type3724 { get; set; } + public global::System.Collections.Generic.IList? Type3724 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminator? Type3725 { get; set; } + public global::AppStoreConnect.GameCenterDetailPlayerResponse? Type3725 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType? Type3726 { get; set; } + public global::AppStoreConnect.GameCenterDetailPlayerUpdateRequest? Type3726 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationResponse? Type3727 { get; set; } + public global::AppStoreConnect.GameCenterDetailPlayerUpdateRequestData? Type3727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3728 { get; set; } + public global::AppStoreConnect.GameCenterDetailPlayerUpdateRequestDataType? Type3728 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem107? Type3729 { get; set; } + public global::AppStoreConnect.GameCenterDetailPlayerUpdateRequestDataAttributes? Type3729 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminator? Type3730 { get; set; } + public global::AppStoreConnect.GameCenterDetailType? Type3730 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType? Type3731 { get; set; } + public global::AppStoreConnect.GameCenterDetailAttributes? Type3731 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequest? Type3732 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationships? Type3732 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestData? Type3733 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsApp? Type3733 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataType? Type3734 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsAppData? Type3734 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataAttributes? Type3735 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsAppDataType? Type3735 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataRelationships? Type3736 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAppVersions? Type3736 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataRelationshipsGameCenterLeaderboard? Type3737 { get; set; } + public global::System.Collections.Generic.IList? Type3737 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardData? Type3738 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAppVersionsDataItem? Type3738 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardDataType? Type3739 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAppVersionsDataItemType? Type3739 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationUpdateRequest? Type3740 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterGroup? Type3740 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationUpdateRequestData? Type3741 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterGroupData? Type3741 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationUpdateRequestDataType? Type3742 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterGroupDataType? Type3742 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationUpdateRequestDataAttributes? Type3743 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboards? Type3743 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Type? Type3744 { get; set; } + public global::System.Collections.Generic.IList? Type3744 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Attributes? Type3745 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsDataItem? Type3745 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Relationships? Type3746 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsDataItemType? Type3746 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsVersion? Type3747 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsV2? Type3747 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsVersionData? Type3748 { get; set; } + public global::System.Collections.Generic.IList? Type3748 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsVersionDataType? Type3749 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsV2DataItem? Type3749 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsImage? Type3750 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardsV2DataItemType? Type3750 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsImageData? Type3751 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSets? Type3751 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsImageDataType? Type3752 { get; set; } + public global::System.Collections.Generic.IList? Type3752 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2Response? Type3753 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsDataItem? Type3753 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3754 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsDataItemType? Type3754 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem108? Type3755 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsV2? Type3755 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? Type3756 { get; set; } + public global::System.Collections.Generic.IList? Type3756 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminator? Type3757 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsV2DataItem? Type3757 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType? Type3758 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterLeaderboardSetsV2DataItemType? Type3758 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Response? Type3759 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievements? Type3759 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3760 { get; set; } + public global::System.Collections.Generic.IList? Type3760 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem109? Type3761 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsDataItem? Type3761 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminator? Type3762 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsDataItemType? Type3762 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType? Type3763 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsV2? Type3763 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequest? Type3764 { get; set; } + public global::System.Collections.Generic.IList? Type3764 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestData? Type3765 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsV2DataItem? Type3765 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataType? Type3766 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterAchievementsV2DataItemType? Type3766 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataAttributes? Type3767 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterActivities? Type3767 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataRelationships? Type3768 { get; set; } + public global::System.Collections.Generic.IList? Type3768 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataRelationshipsVersion? Type3769 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterActivitiesDataItem? Type3769 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataRelationshipsVersionData? Type3770 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterActivitiesDataItemType? Type3770 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type3771 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterChallenges? Type3771 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2UpdateRequest? Type3772 { get; set; } + public global::System.Collections.Generic.IList? Type3772 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2UpdateRequestData? Type3773 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterChallengesDataItem? Type3773 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2UpdateRequestDataType? Type3774 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsGameCenterChallengesDataItemType? Type3774 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2UpdateRequestDataAttributes? Type3775 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboard? Type3775 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseType? Type3776 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardData? Type3776 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseAttributes? Type3777 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardDataType? Type3777 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationships? Type3778 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardV2? Type3778 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterDetail? Type3779 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardV2Data? Type3779 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterDetailData? Type3780 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultLeaderboardV2DataType? Type3780 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterDetailDataType? Type3781 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboard? Type3781 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterLeaderboard? Type3782 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardData? Type3782 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterLeaderboardData? Type3783 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardDataType? Type3783 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterLeaderboardDataType? Type3784 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardV2? Type3784 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesResponse? Type3785 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardV2Data? Type3785 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3786 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsDefaultGroupLeaderboardV2DataType? Type3786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3787 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsAchievementReleases? Type3787 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem110? Type3788 { get; set; } + public global::System.Collections.Generic.IList? Type3788 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminator? Type3789 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsAchievementReleasesDataItem? Type3789 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType? Type3790 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsAchievementReleasesDataItemType? Type3790 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseResponse? Type3791 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsActivityReleases? Type3791 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3792 { get; set; } + public global::System.Collections.Generic.IList? Type3792 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem111? Type3793 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsActivityReleasesDataItem? Type3793 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminator? Type3794 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsActivityReleasesDataItemType? Type3794 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType? Type3795 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsChallengeReleases? Type3795 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequest? Type3796 { get; set; } + public global::System.Collections.Generic.IList? Type3796 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestData? Type3797 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsChallengeReleasesDataItem? Type3797 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataType? Type3798 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsChallengeReleasesDataItemType? Type3798 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationships? Type3799 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardReleases? Type3799 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterDetail? Type3800 { get; set; } + public global::System.Collections.Generic.IList? Type3800 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type3801 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardReleasesDataItem? Type3801 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type3802 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardReleasesDataItemType? Type3802 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterLeaderboard? Type3803 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardSetReleases? Type3803 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterLeaderboardData? Type3804 { get; set; } + public global::System.Collections.Generic.IList? Type3804 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterLeaderboardDataType? Type3805 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardSetReleasesDataItem? Type3805 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImage? Type3806 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardSetReleasesDataItemType? Type3806 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageType? Type3807 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsBlockedPlayers? Type3807 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageAttributes? Type3808 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsChallengesMinimumPlatformVersions? Type3808 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageRelationships? Type3809 { get; set; } + public global::System.Collections.Generic.IList? Type3809 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageRelationshipsGameCenterLeaderboardSetLocalization? Type3810 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsChallengesMinimumPlatformVersionsDataItem? Type3810 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageRelationshipsGameCenterLeaderboardSetLocalizationData? Type3811 { get; set; } + public global::AppStoreConnect.GameCenterDetailRelationshipsChallengesMinimumPlatformVersionsDataItemType? Type3811 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageRelationshipsGameCenterLeaderboardSetLocalizationDataType? Type3812 { get; set; } + public global::AppStoreConnect.GameCenterDetailsResponse? Type3812 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageResponse? Type3813 { get; set; } + public global::System.Collections.Generic.IList? Type3813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3814 { get; set; } + public global::System.Collections.Generic.IList? Type3814 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? Type3815 { get; set; } + public global::AppStoreConnect.IncludedItem103? Type3815 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequest? Type3816 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelease? Type3816 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestData? Type3817 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelease? Type3817 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataType? Type3818 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSet? Type3818 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataAttributes? Type3819 { get; set; } + public global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminator? Type3819 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataRelationships? Type3820 { get; set; } + public global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType? Type3820 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataRelationshipsGameCenterLeaderboardSetLocalization? Type3821 { get; set; } + public global::AppStoreConnect.GameCenterDetailResponse? Type3821 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataRelationshipsGameCenterLeaderboardSetLocalizationData? Type3822 { get; set; } + public global::System.Collections.Generic.IList? Type3822 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataRelationshipsGameCenterLeaderboardSetLocalizationDataType? Type3823 { get; set; } + public global::AppStoreConnect.IncludedItem104? Type3823 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageUpdateRequest? Type3824 { get; set; } + public global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminator? Type3824 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageUpdateRequestData? Type3825 { get; set; } + public global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType? Type3825 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageUpdateRequestDataType? Type3826 { get; set; } + public global::AppStoreConnect.GameCenterDetailCreateRequest? Type3826 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageUpdateRequestDataAttributes? Type3827 { get; set; } + public global::AppStoreConnect.GameCenterDetailCreateRequestData? Type3827 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? Type3828 { get; set; } + public global::AppStoreConnect.GameCenterDetailCreateRequestDataType? Type3828 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2Type? Type3829 { get; set; } + public global::AppStoreConnect.GameCenterDetailCreateRequestDataAttributes? Type3829 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2Attributes? Type3830 { get; set; } + public global::AppStoreConnect.GameCenterDetailCreateRequestDataRelationships? Type3830 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2Relationships? Type3831 { get; set; } + public global::AppStoreConnect.GameCenterDetailCreateRequestDataRelationshipsApp? Type3831 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2RelationshipsLocalization? Type3832 { get; set; } + public global::AppStoreConnect.GameCenterDetailCreateRequestDataRelationshipsAppData? Type3832 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2RelationshipsLocalizationData? Type3833 { get; set; } + public global::AppStoreConnect.GameCenterDetailCreateRequestDataRelationshipsAppDataType? Type3833 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2RelationshipsLocalizationDataType? Type3834 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequest? Type3834 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2Response? Type3835 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestData? Type3835 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3836 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataType? Type3836 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? Type3837 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataAttributes? Type3837 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequest? Type3838 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationships? Type3838 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestData? Type3839 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsGameCenterGroup? Type3839 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataType? Type3840 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsGameCenterGroupData? Type3840 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataAttributes? Type3841 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsGameCenterGroupDataType? Type3841 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataRelationships? Type3842 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboard? Type3842 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataRelationshipsLocalization? Type3843 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardData? Type3843 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataRelationshipsLocalizationData? Type3844 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardDataType? Type3844 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataRelationshipsLocalizationDataType? Type3845 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardV2? Type3845 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2UpdateRequest? Type3846 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardV2Data? Type3846 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2UpdateRequestData? Type3847 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultLeaderboardV2DataType? Type3847 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2UpdateRequestDataType? Type3848 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboard? Type3848 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2UpdateRequestDataAttributes? Type3849 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardData? Type3849 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationType? Type3850 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardDataType? Type3850 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationAttributes? Type3851 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardV2? Type3851 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationships? Type3852 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardV2Data? Type3852 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSet? Type3853 { get; set; } + public global::AppStoreConnect.GameCenterDetailUpdateRequestDataRelationshipsDefaultGroupLeaderboardV2DataType? Type3853 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetData? Type3854 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionType? Type3854 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetDataType? Type3855 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionAttributes? Type3855 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImage? Type3856 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionRelationships? Type3856 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImageData? Type3857 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsCompatibleVersions? Type3857 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImageDataType? Type3858 { get; set; } + public global::System.Collections.Generic.IList? Type3858 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponse? Type3859 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsCompatibleVersionsDataItem? Type3859 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3860 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsCompatibleVersionsDataItemType? Type3860 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem112? Type3861 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsApp? Type3861 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminator? Type3862 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsAppData? Type3862 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType? Type3863 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionRelationshipsAppDataType? Type3863 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponse? Type3864 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionsResponse? Type3864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3865 { get; set; } + public global::System.Collections.Generic.IList? Type3865 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem113? Type3866 { get; set; } + public global::System.Collections.Generic.IList? Type3866 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminator? Type3867 { get; set; } + public global::AppStoreConnect.IncludedItem105? Type3867 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType? Type3868 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminator? Type3868 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequest? Type3869 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType? Type3869 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestData? Type3870 { get; set; } + public global::AppStoreConnect.GameCenterGroupType? Type3870 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataType? Type3871 { get; set; } + public global::AppStoreConnect.GameCenterGroupAttributes? Type3871 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataAttributes? Type3872 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationships? Type3872 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataRelationships? Type3873 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterDetails? Type3873 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSet? Type3874 { get; set; } + public global::System.Collections.Generic.IList? Type3874 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSetData? Type3875 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterDetailsDataItem? Type3875 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSetDataType? Type3876 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterDetailsDataItemType? Type3876 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationUpdateRequest? Type3877 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboards? Type3877 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationUpdateRequestData? Type3878 { get; set; } + public global::System.Collections.Generic.IList? Type3878 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationUpdateRequestDataType? Type3879 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsDataItem? Type3879 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationUpdateRequestDataAttributes? Type3880 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsDataItemType? Type3880 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Type? Type3881 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsV2? Type3881 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Attributes? Type3882 { get; set; } + public global::System.Collections.Generic.IList? Type3882 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Relationships? Type3883 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsV2DataItem? Type3883 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsVersion? Type3884 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardsV2DataItemType? Type3884 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsVersionData? Type3885 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSets? Type3885 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsVersionDataType? Type3886 { get; set; } + public global::System.Collections.Generic.IList? Type3886 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsImage? Type3887 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsDataItem? Type3887 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsImageData? Type3888 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsDataItemType? Type3888 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsImageDataType? Type3889 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsV2? Type3889 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2Response? Type3890 { get; set; } + public global::System.Collections.Generic.IList? Type3890 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3891 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsV2DataItem? Type3891 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem114? Type3892 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSetsV2DataItemType? Type3892 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? Type3893 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievements? Type3893 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminator? Type3894 { get; set; } + public global::System.Collections.Generic.IList? Type3894 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType? Type3895 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsDataItem? Type3895 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Response? Type3896 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsDataItemType? Type3896 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3897 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsV2? Type3897 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem115? Type3898 { get; set; } + public global::System.Collections.Generic.IList? Type3898 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminator? Type3899 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsV2DataItem? Type3899 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType? Type3900 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterAchievementsV2DataItemType? Type3900 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequest? Type3901 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterActivities? Type3901 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestData? Type3902 { get; set; } + public global::System.Collections.Generic.IList? Type3902 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataType? Type3903 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterActivitiesDataItem? Type3903 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataAttributes? Type3904 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterActivitiesDataItemType? Type3904 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataRelationships? Type3905 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterChallenges? Type3905 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataRelationshipsVersion? Type3906 { get; set; } + public global::System.Collections.Generic.IList? Type3906 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataRelationshipsVersionData? Type3907 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterChallengesDataItem? Type3907 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type3908 { get; set; } + public global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterChallengesDataItemType? Type3908 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2UpdateRequest? Type3909 { get; set; } + public global::AppStoreConnect.GameCenterGroupsResponse? Type3909 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2UpdateRequestData? Type3910 { get; set; } + public global::System.Collections.Generic.IList? Type3910 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2UpdateRequestDataType? Type3911 { get; set; } + public global::System.Collections.Generic.IList? Type3911 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2UpdateRequestDataAttributes? Type3912 { get; set; } + public global::AppStoreConnect.IncludedItem106? Type3912 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalization? Type3913 { get; set; } + public global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminator? Type3913 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationType? Type3914 { get; set; } + public global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType? Type3914 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationAttributes? Type3915 { get; set; } + public global::AppStoreConnect.GameCenterGroupResponse? Type3915 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationships? Type3916 { get; set; } + public global::System.Collections.Generic.IList? Type3916 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardSet? Type3917 { get; set; } + public global::AppStoreConnect.IncludedItem107? Type3917 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardSetData? Type3918 { get; set; } + public global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminator? Type3918 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardSetDataType? Type3919 { get; set; } + public global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType? Type3919 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboard? Type3920 { get; set; } + public global::AppStoreConnect.GameCenterGroupCreateRequest? Type3920 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardData? Type3921 { get; set; } + public global::AppStoreConnect.GameCenterGroupCreateRequestData? Type3921 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardDataType? Type3922 { get; set; } + public global::AppStoreConnect.GameCenterGroupCreateRequestDataType? Type3922 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponse? Type3923 { get; set; } + public global::AppStoreConnect.GameCenterGroupCreateRequestDataAttributes? Type3923 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3924 { get; set; } + public global::AppStoreConnect.GameCenterGroupUpdateRequest? Type3924 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3925 { get; set; } + public global::AppStoreConnect.GameCenterGroupUpdateRequestData? Type3925 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem116? Type3926 { get; set; } + public global::AppStoreConnect.GameCenterGroupUpdateRequestDataType? Type3926 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminator? Type3927 { get; set; } + public global::AppStoreConnect.GameCenterGroupUpdateRequestDataAttributes? Type3927 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType? Type3928 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardEntrySubmission? Type3928 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponse? Type3929 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionType? Type3929 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3930 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionAttributes? Type3930 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem117? Type3931 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionResponse? Type3931 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminator? Type3932 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionCreateRequest? Type3932 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType? Type3933 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionCreateRequestData? Type3933 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequest? Type3934 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionCreateRequestDataType? Type3934 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestData? Type3935 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardEntrySubmissionCreateRequestDataAttributes? Type3935 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataType? Type3936 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImage? Type3936 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataAttributes? Type3937 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageType? Type3937 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationships? Type3938 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageAttributes? Type3938 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSet? Type3939 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageRelationships? Type3939 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSetData? Type3940 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageRelationshipsGameCenterLeaderboardLocalization? Type3940 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSetDataType? Type3941 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageRelationshipsGameCenterLeaderboardLocalizationData? Type3941 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboard? Type3942 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageRelationshipsGameCenterLeaderboardLocalizationDataType? Type3942 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardData? Type3943 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageResponse? Type3943 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardDataType? Type3944 { get; set; } + public global::System.Collections.Generic.IList? Type3944 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationUpdateRequest? Type3945 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalization? Type3945 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationUpdateRequestData? Type3946 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequest? Type3946 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationUpdateRequestDataType? Type3947 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestData? Type3947 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationUpdateRequestDataAttributes? Type3948 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataType? Type3948 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseType? Type3949 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataAttributes? Type3949 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseAttributes? Type3950 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataRelationships? Type3950 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationships? Type3951 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataRelationshipsGameCenterLeaderboardLocalization? Type3951 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterDetail? Type3952 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataRelationshipsGameCenterLeaderboardLocalizationData? Type3952 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterDetailData? Type3953 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageCreateRequestDataRelationshipsGameCenterLeaderboardLocalizationDataType? Type3953 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterDetailDataType? Type3954 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageUpdateRequest? Type3954 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterLeaderboardSet? Type3955 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageUpdateRequestData? Type3955 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterLeaderboardSetData? Type3956 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageUpdateRequestDataType? Type3956 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterLeaderboardSetDataType? Type3957 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageUpdateRequestDataAttributes? Type3957 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponse? Type3958 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2? Type3958 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3959 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2Type? Type3959 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3960 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2Attributes? Type3960 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem118? Type3961 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2Relationships? Type3961 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminator? Type3962 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2RelationshipsLocalization? Type3962 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType? Type3963 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2RelationshipsLocalizationData? Type3963 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponse? Type3964 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2RelationshipsLocalizationDataType? Type3964 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3965 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2Response? Type3965 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem119? Type3966 { get; set; } + public global::System.Collections.Generic.IList? Type3966 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminator? Type3967 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? Type3967 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType? Type3968 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequest? Type3968 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequest? Type3969 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestData? Type3969 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestData? Type3970 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataType? Type3970 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataType? Type3971 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataAttributes? Type3971 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationships? Type3972 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataRelationships? Type3972 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterDetail? Type3973 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataRelationshipsLocalization? Type3973 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type3974 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataRelationshipsLocalizationData? Type3974 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type3975 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2CreateRequestDataRelationshipsLocalizationDataType? Type3975 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterLeaderboardSet? Type3976 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2UpdateRequest? Type3976 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterLeaderboardSetData? Type3977 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2UpdateRequestData? Type3977 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterLeaderboardSetDataType? Type3978 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2UpdateRequestDataType? Type3978 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Type? Type3979 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2UpdateRequestDataAttributes? Type3979 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Attributes? Type3980 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationType? Type3980 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Relationships? Type3981 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationAttributes? Type3981 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLeaderboardSet? Type3982 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardFormatter? Type3982 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLeaderboardSetData? Type3983 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationships? Type3983 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLeaderboardSetDataType? Type3984 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboard? Type3984 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLocalizations? Type3985 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardData? Type3985 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3986 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardDataType? Type3986 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLocalizationsDataItem? Type3987 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImage? Type3987 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLocalizationsDataItemType? Type3988 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImageData? Type3988 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreate? Type3989 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImageDataType? Type3989 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateType? Type3990 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponse? Type3990 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateRelationships? Type3991 { get; set; } + public global::System.Collections.Generic.IList? Type3991 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateRelationshipsLeaderboardSet? Type3992 { get; set; } + public global::AppStoreConnect.IncludedItem108? Type3992 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateRelationshipsLeaderboardSetData? Type3993 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminator? Type3993 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateRelationshipsLeaderboardSetDataType? Type3994 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType? Type3994 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2Response? Type3995 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationResponse? Type3995 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3996 { get; set; } + public global::System.Collections.Generic.IList? Type3996 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3997 { get; set; } + public global::AppStoreConnect.IncludedItem109? Type3997 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem120? Type3998 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminator? Type3998 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2? Type3999 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType? Type3999 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminator? Type4000 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequest? Type4000 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType? Type4001 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestData? Type4001 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Response? Type4002 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataType? Type4002 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4003 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataAttributes? Type4003 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem121? Type4004 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataRelationships? Type4004 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminator? Type4005 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataRelationshipsGameCenterLeaderboard? Type4005 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType? Type4006 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardData? Type4006 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequest? Type4007 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardDataType? Type4007 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestData? Type4008 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationUpdateRequest? Type4008 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataType? Type4009 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationUpdateRequestData? Type4009 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataRelationships? Type4010 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationUpdateRequestDataType? Type4010 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataRelationshipsLeaderboardSet? Type4011 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationUpdateRequestDataAttributes? Type4011 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataRelationshipsLeaderboardSetData? Type4012 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Type? Type4012 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataRelationshipsLeaderboardSetDataType? Type4013 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Attributes? Type4013 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2Type? Type4014 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Relationships? Type4014 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2Attributes? Type4015 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsVersion? Type4015 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2Relationships? Type4016 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsVersionData? Type4016 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterDetail? Type4017 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsVersionDataType? Type4017 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterDetailData? Type4018 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsImage? Type4018 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterDetailDataType? Type4019 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsImageData? Type4019 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterGroup? Type4020 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsImageDataType? Type4020 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterGroupData? Type4021 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2Response? Type4021 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterGroupDataType? Type4022 { get; set; } + public global::System.Collections.Generic.IList? Type4022 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterLeaderboards? Type4023 { get; set; } + public global::AppStoreConnect.IncludedItem110? Type4023 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4024 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? Type4024 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterLeaderboardsDataItem? Type4025 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminator? Type4025 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterLeaderboardsDataItemType? Type4026 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType? Type4026 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsVersions? Type4027 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Response? Type4027 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4028 { get; set; } + public global::System.Collections.Generic.IList? Type4028 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsVersionsDataItem? Type4029 { get; set; } + public global::AppStoreConnect.IncludedItem111? Type4029 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsVersionsDataItemType? Type4030 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminator? Type4030 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2Response? Type4031 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType? Type4031 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4032 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequest? Type4032 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4033 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestData? Type4033 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem122? Type4034 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataType? Type4034 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2? Type4035 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataAttributes? Type4035 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminator? Type4036 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataRelationships? Type4036 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType? Type4037 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataRelationshipsVersion? Type4037 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2Response? Type4038 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataRelationshipsVersionData? Type4038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4039 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type4039 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem123? Type4040 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2UpdateRequest? Type4040 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminator? Type4041 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2UpdateRequestData? Type4041 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType? Type4042 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2UpdateRequestDataType? Type4042 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequest? Type4043 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2UpdateRequestDataAttributes? Type4043 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestData? Type4044 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseType? Type4044 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataType? Type4045 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseAttributes? Type4045 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataAttributes? Type4046 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationships? Type4046 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationships? Type4047 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterDetail? Type4047 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterDetail? Type4048 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterDetailData? Type4048 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterDetailData? Type4049 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterDetailDataType? Type4049 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterDetailDataType? Type4050 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterLeaderboard? Type4050 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterGroup? Type4051 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterLeaderboardData? Type4051 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterGroupData? Type4052 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterLeaderboardDataType? Type4052 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterGroupDataType? Type4053 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesResponse? Type4053 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterLeaderboards? Type4054 { get; set; } + public global::System.Collections.Generic.IList? Type4054 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4055 { get; set; } + public global::System.Collections.Generic.IList? Type4055 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterLeaderboardsDataItem? Type4056 { get; set; } + public global::AppStoreConnect.IncludedItem112? Type4056 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterLeaderboardsDataItemType? Type4057 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminator? Type4057 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsVersions? Type4058 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType? Type4058 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4059 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseResponse? Type4059 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsVersionsDataItem? Type4060 { get; set; } + public global::System.Collections.Generic.IList? Type4060 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsVersionsDataItemType? Type4061 { get; set; } + public global::AppStoreConnect.IncludedItem113? Type4061 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4062 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminator? Type4062 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2UpdateRequest? Type4063 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType? Type4063 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2UpdateRequestData? Type4064 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequest? Type4064 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2UpdateRequestDataType? Type4065 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestData? Type4065 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2UpdateRequestDataAttributes? Type4066 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataType? Type4066 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetType? Type4067 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationships? Type4067 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetAttributes? Type4068 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterDetail? Type4068 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationships? Type4069 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type4069 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterDetail? Type4070 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type4070 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterDetailData? Type4071 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterLeaderboard? Type4071 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterDetailDataType? Type4072 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterLeaderboardData? Type4072 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterGroup? Type4073 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseCreateRequestDataRelationshipsGameCenterLeaderboardDataType? Type4073 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterGroupData? Type4074 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImage? Type4074 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterGroupDataType? Type4075 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageType? Type4075 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGroupLeaderboardSet? Type4076 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageAttributes? Type4076 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGroupLeaderboardSetData? Type4077 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageRelationships? Type4077 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGroupLeaderboardSetDataType? Type4078 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageRelationshipsGameCenterLeaderboardSetLocalization? Type4078 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsLocalizations? Type4079 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageRelationshipsGameCenterLeaderboardSetLocalizationData? Type4079 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4080 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageRelationshipsGameCenterLeaderboardSetLocalizationDataType? Type4080 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsLocalizationsDataItem? Type4081 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageResponse? Type4081 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsLocalizationsDataItemType? Type4082 { get; set; } + public global::System.Collections.Generic.IList? Type4082 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterLeaderboards? Type4083 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? Type4083 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4084 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequest? Type4084 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterLeaderboardsDataItem? Type4085 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestData? Type4085 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterLeaderboardsDataItemType? Type4086 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataType? Type4086 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsReleases? Type4087 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataAttributes? Type4087 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4088 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataRelationships? Type4088 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsReleasesDataItem? Type4089 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataRelationshipsGameCenterLeaderboardSetLocalization? Type4089 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsReleasesDataItemType? Type4090 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataRelationshipsGameCenterLeaderboardSetLocalizationData? Type4090 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsResponse? Type4091 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageCreateRequestDataRelationshipsGameCenterLeaderboardSetLocalizationDataType? Type4091 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4092 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageUpdateRequest? Type4092 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4093 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageUpdateRequestData? Type4093 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem124? Type4094 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageUpdateRequestDataType? Type4094 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminator? Type4095 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageUpdateRequestDataAttributes? Type4095 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType? Type4096 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? Type4096 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetResponse? Type4097 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2Type? Type4097 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4098 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2Attributes? Type4098 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem125? Type4099 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2Relationships? Type4099 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminator? Type4100 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2RelationshipsLocalization? Type4100 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType? Type4101 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2RelationshipsLocalizationData? Type4101 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequest? Type4102 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2RelationshipsLocalizationDataType? Type4102 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestData? Type4103 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2Response? Type4103 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataType? Type4104 { get; set; } + public global::System.Collections.Generic.IList? Type4104 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataAttributes? Type4105 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? Type4105 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationships? Type4106 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequest? Type4106 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterDetail? Type4107 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestData? Type4107 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterDetailData? Type4108 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataType? Type4108 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterDetailDataType? Type4109 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataAttributes? Type4109 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterGroup? Type4110 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataRelationships? Type4110 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterGroupData? Type4111 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataRelationshipsLocalization? Type4111 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterGroupDataType? Type4112 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataRelationshipsLocalizationData? Type4112 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterLeaderboards? Type4113 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2CreateRequestDataRelationshipsLocalizationDataType? Type4113 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4114 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2UpdateRequest? Type4114 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterLeaderboardsDataItem? Type4115 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2UpdateRequestData? Type4115 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterLeaderboardsDataItemType? Type4116 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2UpdateRequestDataType? Type4116 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetUpdateRequest? Type4117 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2UpdateRequestDataAttributes? Type4117 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetUpdateRequestData? Type4118 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationType? Type4118 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetUpdateRequestDataType? Type4119 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationAttributes? Type4119 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetUpdateRequestDataAttributes? Type4120 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationships? Type4120 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2Type? Type4121 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSet? Type4121 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2Attributes? Type4122 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetData? Type4122 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2Relationships? Type4123 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetDataType? Type4123 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLeaderboard? Type4124 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImage? Type4124 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLeaderboardData? Type4125 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImageData? Type4125 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLeaderboardDataType? Type4126 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImageDataType? Type4126 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLocalizations? Type4127 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponse? Type4127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4128 { get; set; } + public global::System.Collections.Generic.IList? Type4128 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLocalizationsDataItem? Type4129 { get; set; } + public global::AppStoreConnect.IncludedItem114? Type4129 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLocalizationsDataItemType? Type4130 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminator? Type4130 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreate? Type4131 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType? Type4131 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateType? Type4132 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponse? Type4132 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateRelationships? Type4133 { get; set; } + public global::System.Collections.Generic.IList? Type4133 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateRelationshipsLeaderboard? Type4134 { get; set; } + public global::AppStoreConnect.IncludedItem115? Type4134 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateRelationshipsLeaderboardData? Type4135 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminator? Type4135 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateRelationshipsLeaderboardDataType? Type4136 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType? Type4136 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2Response? Type4137 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequest? Type4137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4138 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestData? Type4138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4139 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataType? Type4139 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem126? Type4140 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataAttributes? Type4140 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminator? Type4141 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataRelationships? Type4141 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType? Type4142 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSet? Type4142 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2Response? Type4143 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSetData? Type4143 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4144 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSetDataType? Type4144 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem127? Type4145 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationUpdateRequest? Type4145 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminator? Type4146 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationUpdateRequestData? Type4146 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType? Type4147 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationUpdateRequestDataType? Type4147 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequest? Type4148 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationUpdateRequestDataAttributes? Type4148 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestData? Type4149 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Type? Type4149 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataType? Type4150 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Attributes? Type4150 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataRelationships? Type4151 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Relationships? Type4151 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataRelationshipsLeaderboard? Type4152 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsVersion? Type4152 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataRelationshipsLeaderboardData? Type4153 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsVersionData? Type4153 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataRelationshipsLeaderboardDataType? Type4154 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsVersionDataType? Type4154 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardType? Type4155 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsImage? Type4155 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardAttributes? Type4156 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsImageData? Type4156 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardAttributesSubmissionType? Type4157 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsImageDataType? Type4157 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardAttributesScoreSortType? Type4158 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2Response? Type4158 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardAttributesVisibility? Type4159 { get; set; } + public global::System.Collections.Generic.IList? Type4159 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationships? Type4160 { get; set; } + public global::AppStoreConnect.IncludedItem116? Type4160 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterDetail? Type4161 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? Type4161 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterDetailData? Type4162 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminator? Type4162 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterDetailDataType? Type4163 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType? Type4163 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterGroup? Type4164 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Response? Type4164 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterGroupData? Type4165 { get; set; } + public global::System.Collections.Generic.IList? Type4165 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterGroupDataType? Type4166 { get; set; } + public global::AppStoreConnect.IncludedItem117? Type4166 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGroupLeaderboard? Type4167 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminator? Type4167 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGroupLeaderboardData? Type4168 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType? Type4168 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGroupLeaderboardDataType? Type4169 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequest? Type4169 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterLeaderboardSets? Type4170 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestData? Type4170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4171 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataType? Type4171 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterLeaderboardSetsDataItem? Type4172 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataAttributes? Type4172 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterLeaderboardSetsDataItemType? Type4173 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataRelationships? Type4173 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsLocalizations? Type4174 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataRelationshipsVersion? Type4174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4175 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataRelationshipsVersionData? Type4175 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsLocalizationsDataItem? Type4176 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type4176 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsLocalizationsDataItemType? Type4177 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2UpdateRequest? Type4177 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsReleases? Type4178 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2UpdateRequestData? Type4178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4179 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2UpdateRequestDataType? Type4179 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsReleasesDataItem? Type4180 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2UpdateRequestDataAttributes? Type4180 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsReleasesDataItemType? Type4181 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalization? Type4181 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsActivity? Type4182 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationType? Type4182 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsActivityData? Type4183 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationAttributes? Type4183 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsActivityDataType? Type4184 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationships? Type4184 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsChallenge? Type4185 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardSet? Type4185 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsChallengeData? Type4186 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardSetData? Type4186 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardRelationshipsChallengeDataType? Type4187 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardSetDataType? Type4187 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsResponse? Type4188 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboard? Type4188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4189 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardData? Type4189 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4190 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationRelationshipsGameCenterLeaderboardDataType? Type4190 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem128? Type4191 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponse? Type4191 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminator? Type4192 { get; set; } + public global::System.Collections.Generic.IList? Type4192 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType? Type4193 { get; set; } + public global::System.Collections.Generic.IList? Type4193 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardResponse? Type4194 { get; set; } + public global::AppStoreConnect.IncludedItem118? Type4194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4195 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminator? Type4195 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem129? Type4196 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType? Type4196 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminator? Type4197 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponse? Type4197 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType? Type4198 { get; set; } + public global::System.Collections.Generic.IList? Type4198 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequest? Type4199 { get; set; } + public global::AppStoreConnect.IncludedItem119? Type4199 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestData? Type4200 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminator? Type4200 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataType? Type4201 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType? Type4201 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataAttributes? Type4202 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequest? Type4202 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataAttributesSubmissionType? Type4203 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestData? Type4203 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataAttributesScoreSortType? Type4204 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataType? Type4204 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataAttributesVisibility? Type4205 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataAttributes? Type4205 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationships? Type4206 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationships? Type4206 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterDetail? Type4207 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSet? Type4207 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterDetailData? Type4208 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSetData? Type4208 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterDetailDataType? Type4209 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardSetDataType? Type4209 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterGroup? Type4210 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboard? Type4210 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterGroupData? Type4211 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardData? Type4211 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterGroupDataType? Type4212 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationCreateRequestDataRelationshipsGameCenterLeaderboardDataType? Type4212 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterLeaderboardSets? Type4213 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationUpdateRequest? Type4213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4214 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationUpdateRequestData? Type4214 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterLeaderboardSetsDataItem? Type4215 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationUpdateRequestDataType? Type4215 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterLeaderboardSetsDataItemType? Type4216 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationUpdateRequestDataAttributes? Type4216 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardUpdateRequest? Type4217 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseType? Type4217 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestData? Type4218 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseAttributes? Type4218 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataType? Type4219 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationships? Type4219 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataAttributes? Type4220 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterDetail? Type4220 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataAttributesSubmissionType? Type4221 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterDetailData? Type4221 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataAttributesScoreSortType? Type4222 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterDetailDataType? Type4222 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataAttributesVisibility? Type4223 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterLeaderboardSet? Type4223 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2Type? Type4224 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterLeaderboardSetData? Type4224 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2Attributes? Type4225 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterLeaderboardSetDataType? Type4225 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2AttributesSubmissionType? Type4226 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponse? Type4226 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2AttributesScoreSortType? Type4227 { get; set; } + public global::System.Collections.Generic.IList? Type4227 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2AttributesVisibility? Type4228 { get; set; } + public global::System.Collections.Generic.IList? Type4228 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2Relationships? Type4229 { get; set; } + public global::AppStoreConnect.IncludedItem120? Type4229 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterDetail? Type4230 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminator? Type4230 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterDetailData? Type4231 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType? Type4231 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterDetailDataType? Type4232 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponse? Type4232 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterGroup? Type4233 { get; set; } + public global::System.Collections.Generic.IList? Type4233 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterGroupData? Type4234 { get; set; } + public global::AppStoreConnect.IncludedItem121? Type4234 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterGroupDataType? Type4235 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminator? Type4235 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterLeaderboardSets? Type4236 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType? Type4236 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4237 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequest? Type4237 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterLeaderboardSetsDataItem? Type4238 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestData? Type4238 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterLeaderboardSetsDataItemType? Type4239 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataType? Type4239 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterScoreModerations? Type4240 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationships? Type4240 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsActivity? Type4241 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterDetail? Type4241 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsActivityData? Type4242 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterDetailData? Type4242 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsActivityDataType? Type4243 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterDetailDataType? Type4243 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsChallenge? Type4244 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterLeaderboardSet? Type4244 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsChallengeData? Type4245 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterLeaderboardSetData? Type4245 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsChallengeDataType? Type4246 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseCreateRequestDataRelationshipsGameCenterLeaderboardSetDataType? Type4246 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsVersions? Type4247 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Type? Type4247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4248 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Attributes? Type4248 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsVersionsDataItem? Type4249 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Relationships? Type4249 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsVersionsDataItemType? Type4250 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLeaderboardSet? Type4250 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2Response? Type4251 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLeaderboardSetData? Type4251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4252 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLeaderboardSetDataType? Type4252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4253 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLocalizations? Type4253 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem130? Type4254 { get; set; } + public global::System.Collections.Generic.IList? Type4254 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminator? Type4255 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLocalizationsDataItem? Type4255 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType? Type4256 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLocalizationsDataItemType? Type4256 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2Response? Type4257 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreate? Type4257 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4258 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateType? Type4258 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem131? Type4259 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateRelationships? Type4259 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminator? Type4260 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateRelationshipsLeaderboardSet? Type4260 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType? Type4261 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateRelationshipsLeaderboardSetData? Type4261 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequest? Type4262 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2InlineCreateRelationshipsLeaderboardSetDataType? Type4262 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestData? Type4263 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2Response? Type4263 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataType? Type4264 { get; set; } + public global::System.Collections.Generic.IList? Type4264 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataAttributes? Type4265 { get; set; } + public global::System.Collections.Generic.IList? Type4265 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataAttributesSubmissionType? Type4266 { get; set; } + public global::AppStoreConnect.IncludedItem122? Type4266 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataAttributesScoreSortType? Type4267 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2? Type4267 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataAttributesVisibility? Type4268 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminator? Type4268 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationships? Type4269 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType? Type4269 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterDetail? Type4270 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Response? Type4270 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterDetailData? Type4271 { get; set; } + public global::System.Collections.Generic.IList? Type4271 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterDetailDataType? Type4272 { get; set; } + public global::AppStoreConnect.IncludedItem123? Type4272 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterGroup? Type4273 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminator? Type4273 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterGroupData? Type4274 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType? Type4274 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterGroupDataType? Type4275 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequest? Type4275 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterLeaderboardSets? Type4276 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestData? Type4276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4277 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataType? Type4277 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterLeaderboardSetsDataItem? Type4278 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataRelationships? Type4278 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterLeaderboardSetsDataItemType? Type4279 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataRelationshipsLeaderboardSet? Type4279 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsVersions? Type4280 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataRelationshipsLeaderboardSetData? Type4280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4281 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2CreateRequestDataRelationshipsLeaderboardSetDataType? Type4281 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsVersionsDataItem? Type4282 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2Type? Type4282 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsVersionsDataItemType? Type4283 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2Attributes? Type4283 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4284 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2Relationships? Type4284 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequest? Type4285 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterDetail? Type4285 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestData? Type4286 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterDetailData? Type4286 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataType? Type4287 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterDetailDataType? Type4287 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataAttributes? Type4288 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterGroup? Type4288 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataAttributesSubmissionType? Type4289 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterGroupData? Type4289 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataAttributesScoreSortType? Type4290 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterGroupDataType? Type4290 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataAttributesVisibility? Type4291 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterLeaderboards? Type4291 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueue? Type4292 { get; set; } + public global::System.Collections.Generic.IList? Type4292 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueType? Type4293 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterLeaderboardsDataItem? Type4293 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueAttributes? Type4294 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsGameCenterLeaderboardsDataItemType? Type4294 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRelationships? Type4295 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsVersions? Type4295 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsRuleSet? Type4296 { get; set; } + public global::System.Collections.Generic.IList? Type4296 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsRuleSetData? Type4297 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsVersionsDataItem? Type4297 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsRuleSetDataType? Type4298 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsVersionsDataItemType? Type4298 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsExperimentRuleSet? Type4299 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2Response? Type4299 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsExperimentRuleSetData? Type4300 { get; set; } + public global::System.Collections.Generic.IList? Type4300 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsExperimentRuleSetDataType? Type4301 { get; set; } + public global::System.Collections.Generic.IList? Type4301 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesResponse? Type4302 { get; set; } + public global::AppStoreConnect.IncludedItem124? Type4302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4303 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2? Type4303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4304 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminator? Type4304 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSet? Type4305 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType? Type4305 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueResponse? Type4306 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2Response? Type4306 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequest? Type4307 { get; set; } + public global::System.Collections.Generic.IList? Type4307 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestData? Type4308 { get; set; } + public global::AppStoreConnect.IncludedItem125? Type4308 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataType? Type4309 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminator? Type4309 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataAttributes? Type4310 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType? Type4310 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationships? Type4311 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequest? Type4311 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsRuleSet? Type4312 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestData? Type4312 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsRuleSetData? Type4313 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataType? Type4313 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsRuleSetDataType? Type4314 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataAttributes? Type4314 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsExperimentRuleSet? Type4315 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationships? Type4315 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsExperimentRuleSetData? Type4316 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterDetail? Type4316 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsExperimentRuleSetDataType? Type4317 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterDetailData? Type4317 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequest? Type4318 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterDetailDataType? Type4318 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestData? Type4319 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterGroup? Type4319 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataType? Type4320 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterGroupData? Type4320 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataAttributes? Type4321 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterGroupDataType? Type4321 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationships? Type4322 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterLeaderboards? Type4322 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsRuleSet? Type4323 { get; set; } + public global::System.Collections.Generic.IList? Type4323 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsRuleSetData? Type4324 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterLeaderboardsDataItem? Type4324 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsRuleSetDataType? Type4325 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsGameCenterLeaderboardsDataItemType? Type4325 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsExperimentRuleSet? Type4326 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsVersions? Type4326 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsExperimentRuleSetData? Type4327 { get; set; } + public global::System.Collections.Generic.IList? Type4327 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsExperimentRuleSetDataType? Type4328 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsVersionsDataItem? Type4328 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTest? Type4329 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2CreateRequestDataRelationshipsVersionsDataItemType? Type4329 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestType? Type4330 { get; set; } + public global::System.Collections.Generic.IList? Type4330 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestAttributes? Type4331 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2UpdateRequest? Type4331 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4332 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2UpdateRequestData? Type4332 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4333 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2UpdateRequestDataType? Type4333 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestAttributesMatchmakingResultItem? Type4334 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2UpdateRequestDataAttributes? Type4334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4335 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetType? Type4335 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamAssignment? Type4336 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetAttributes? Type4336 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponse? Type4337 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationships? Type4337 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4338 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterDetail? Type4338 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem132? Type4339 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterDetailData? Type4339 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? Type4340 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterDetailDataType? Type4340 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequest? Type4341 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterGroup? Type4341 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminator? Type4342 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterGroupData? Type4342 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType? Type4343 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterGroupDataType? Type4343 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequest? Type4344 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGroupLeaderboardSet? Type4344 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestData? Type4345 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGroupLeaderboardSetData? Type4345 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataType? Type4346 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGroupLeaderboardSetDataType? Type4346 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationships? Type4347 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsLocalizations? Type4347 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRuleSet? Type4348 { get; set; } + public global::System.Collections.Generic.IList? Type4348 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRuleSetData? Type4349 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsLocalizationsDataItem? Type4349 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRuleSetDataType? Type4350 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsLocalizationsDataItemType? Type4350 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRequests? Type4351 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterLeaderboards? Type4351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4352 { get; set; } + public global::System.Collections.Generic.IList? Type4352 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRequestsDataItem? Type4353 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterLeaderboardsDataItem? Type4353 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRequestsDataItemType? Type4354 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsGameCenterLeaderboardsDataItemType? Type4354 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4355 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsReleases? Type4355 { get; set; } /// /// /// - public global::AppStoreConnect.OneOf? Type4356 { get; set; } + public global::System.Collections.Generic.IList? Type4356 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestPlayerPropertyInlineCreate? Type4357 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsReleasesDataItem? Type4357 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreate? Type4358 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsReleasesDataItemType? Type4358 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetType? Type4359 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsResponse? Type4359 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetAttributes? Type4360 { get; set; } + public global::System.Collections.Generic.IList? Type4360 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationships? Type4361 { get; set; } + public global::System.Collections.Generic.IList? Type4361 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsTeams? Type4362 { get; set; } + public global::AppStoreConnect.IncludedItem126? Type4362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4363 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminator? Type4363 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsTeamsDataItem? Type4364 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType? Type4364 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsTeamsDataItemType? Type4365 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetResponse? Type4365 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsRules? Type4366 { get; set; } + public global::System.Collections.Generic.IList? Type4366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4367 { get; set; } + public global::AppStoreConnect.IncludedItem127? Type4367 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsRulesDataItem? Type4368 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminator? Type4368 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsRulesDataItemType? Type4369 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType? Type4369 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueues? Type4370 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequest? Type4370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4371 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestData? Type4371 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueuesDataItem? Type4372 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataType? Type4372 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueuesDataItemType? Type4373 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataAttributes? Type4373 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponse? Type4374 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationships? Type4374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4375 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterDetail? Type4375 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem134? Type4376 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterDetailData? Type4376 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRule? Type4377 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterDetailDataType? Type4377 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeam? Type4378 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterGroup? Type4378 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminator? Type4379 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterGroupData? Type4379 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType? Type4380 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterGroupDataType? Type4380 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetResponse? Type4381 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterLeaderboards? Type4381 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4382 { get; set; } + public global::System.Collections.Generic.IList? Type4382 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem135? Type4383 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterLeaderboardsDataItem? Type4383 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminator? Type4384 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetCreateRequestDataRelationshipsGameCenterLeaderboardsDataItemType? Type4384 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType? Type4385 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetUpdateRequest? Type4385 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetCreateRequest? Type4386 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetUpdateRequestData? Type4386 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetCreateRequestData? Type4387 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetUpdateRequestDataType? Type4387 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetCreateRequestDataType? Type4388 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetUpdateRequestDataAttributes? Type4388 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetCreateRequestDataAttributes? Type4389 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2Type? Type4389 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetUpdateRequest? Type4390 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2Attributes? Type4390 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetUpdateRequestData? Type4391 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2Relationships? Type4391 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetUpdateRequestDataType? Type4392 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLeaderboard? Type4392 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetUpdateRequestDataAttributes? Type4393 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLeaderboardData? Type4393 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleType? Type4394 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLeaderboardDataType? Type4394 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleAttributes? Type4395 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLocalizations? Type4395 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleAttributesType? Type4396 { get; set; } + public global::System.Collections.Generic.IList? Type4396 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesResponse? Type4397 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLocalizationsDataItem? Type4397 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4398 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLocalizationsDataItemType? Type4398 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleResponse? Type4399 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreate? Type4399 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequest? Type4400 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateType? Type4400 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestData? Type4401 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateRelationships? Type4401 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataType? Type4402 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateRelationshipsLeaderboard? Type4402 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataAttributes? Type4403 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateRelationshipsLeaderboardData? Type4403 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataAttributesType? Type4404 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2InlineCreateRelationshipsLeaderboardDataType? Type4404 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataRelationships? Type4405 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2Response? Type4405 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataRelationshipsRuleSet? Type4406 { get; set; } + public global::System.Collections.Generic.IList? Type4406 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataRelationshipsRuleSetData? Type4407 { get; set; } + public global::System.Collections.Generic.IList? Type4407 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataRelationshipsRuleSetDataType? Type4408 { get; set; } + public global::AppStoreConnect.IncludedItem128? Type4408 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleUpdateRequest? Type4409 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminator? Type4409 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleUpdateRequestData? Type4410 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType? Type4410 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleUpdateRequestDataType? Type4411 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2Response? Type4411 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleUpdateRequestDataAttributes? Type4412 { get; set; } + public global::System.Collections.Generic.IList? Type4412 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamType? Type4413 { get; set; } + public global::AppStoreConnect.IncludedItem129? Type4413 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamAttributes? Type4414 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminator? Type4414 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamsResponse? Type4415 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType? Type4415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4416 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequest? Type4416 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamResponse? Type4417 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestData? Type4417 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequest? Type4418 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataType? Type4418 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestData? Type4419 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataRelationships? Type4419 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataType? Type4420 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataRelationshipsLeaderboard? Type4420 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataAttributes? Type4421 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataRelationshipsLeaderboardData? Type4421 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataRelationships? Type4422 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2CreateRequestDataRelationshipsLeaderboardDataType? Type4422 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataRelationshipsRuleSet? Type4423 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardType? Type4423 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataRelationshipsRuleSetData? Type4424 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardAttributes? Type4424 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataRelationshipsRuleSetDataType? Type4425 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardAttributesSubmissionType? Type4425 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamUpdateRequest? Type4426 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardAttributesScoreSortType? Type4426 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamUpdateRequestData? Type4427 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardAttributesVisibility? Type4427 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamUpdateRequestDataType? Type4428 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationships? Type4428 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTeamUpdateRequestDataAttributes? Type4429 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterDetail? Type4429 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestPlayerPropertyType? Type4430 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterDetailData? Type4430 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestPlayerPropertyInlineCreateType? Type4431 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterDetailDataType? Type4431 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestPlayerPropertyInlineCreateAttributes? Type4432 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterGroup? Type4432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4433 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterGroupData? Type4433 { get; set; } /// /// /// - public global::AppStoreConnect.Property? Type4434 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterGroupDataType? Type4434 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequestType? Type4435 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGroupLeaderboard? Type4435 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateType? Type4436 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGroupLeaderboardData? Type4436 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateAttributes? Type4437 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGroupLeaderboardDataType? Type4437 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateAttributesLocale? Type4438 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterLeaderboardSets? Type4438 { get; set; } /// /// /// - public global::AppStoreConnect.Location? Type4439 { get; set; } + public global::System.Collections.Generic.IList? Type4439 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationships? Type4440 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterLeaderboardSetsDataItem? Type4440 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationshipsMatchmakingPlayerProperties? Type4441 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsGameCenterLeaderboardSetsDataItemType? Type4441 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4442 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsLocalizations? Type4442 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationshipsMatchmakingPlayerPropertiesDataItem? Type4443 { get; set; } + public global::System.Collections.Generic.IList? Type4443 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationshipsMatchmakingPlayerPropertiesDataItemType? Type4444 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsLocalizationsDataItem? Type4444 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterPlayerAchievementSubmission? Type4445 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsLocalizationsDataItemType? Type4445 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionType? Type4446 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsReleases? Type4446 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionAttributes? Type4447 { get; set; } + public global::System.Collections.Generic.IList? Type4447 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionResponse? Type4448 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsReleasesDataItem? Type4448 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionCreateRequest? Type4449 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsReleasesDataItemType? Type4449 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionCreateRequestData? Type4450 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsActivity? Type4450 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionCreateRequestDataType? Type4451 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsActivityData? Type4451 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionCreateRequestDataAttributes? Type4452 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsActivityDataType? Type4452 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModeration? Type4453 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsChallenge? Type4453 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationType? Type4454 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsChallengeData? Type4454 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationAttributes? Type4455 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardRelationshipsChallengeDataType? Type4455 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationRelationships? Type4456 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsResponse? Type4456 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationRelationshipsPlayer? Type4457 { get; set; } + public global::System.Collections.Generic.IList? Type4457 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationRelationshipsPlayerData? Type4458 { get; set; } + public global::System.Collections.Generic.IList? Type4458 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationRelationshipsPlayerDataType? Type4459 { get; set; } + public global::AppStoreConnect.IncludedItem130? Type4459 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationsResponse? Type4460 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminator? Type4460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4461 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType? Type4461 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationResponse? Type4462 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardResponse? Type4462 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationUpdateRequest? Type4463 { get; set; } + public global::System.Collections.Generic.IList? Type4463 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationUpdateRequestData? Type4464 { get; set; } + public global::AppStoreConnect.IncludedItem131? Type4464 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationUpdateRequestDataType? Type4465 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminator? Type4465 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterScoreModerationUpdateRequestDataAttributes? Type4466 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType? Type4466 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? Type4467 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequest? Type4467 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotType? Type4468 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestData? Type4468 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotAttributes? Type4469 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataType? Type4469 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotRelationships? Type4470 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataAttributes? Type4470 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotRelationshipsInAppPurchaseV2? Type4471 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataAttributesSubmissionType? Type4471 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotRelationshipsInAppPurchaseV2Data? Type4472 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataAttributesScoreSortType? Type4472 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotRelationshipsInAppPurchaseV2DataType? Type4473 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataAttributesVisibility? Type4473 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotResponse? Type4474 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationships? Type4474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4475 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterDetail? Type4475 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2? Type4476 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterDetailData? Type4476 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequest? Type4477 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterDetailDataType? Type4477 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestData? Type4478 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterGroup? Type4478 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataType? Type4479 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterGroupData? Type4479 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataAttributes? Type4480 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterGroupDataType? Type4480 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataRelationships? Type4481 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterLeaderboardSets? Type4481 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataRelationshipsInAppPurchaseV2? Type4482 { get; set; } + public global::System.Collections.Generic.IList? Type4482 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataRelationshipsInAppPurchaseV2Data? Type4483 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterLeaderboardSetsDataItem? Type4483 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataRelationshipsInAppPurchaseV2DataType? Type4484 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardCreateRequestDataRelationshipsGameCenterLeaderboardSetsDataItemType? Type4484 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotUpdateRequest? Type4485 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardUpdateRequest? Type4485 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotUpdateRequestData? Type4486 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestData? Type4486 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotUpdateRequestDataType? Type4487 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataType? Type4487 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotUpdateRequestDataAttributes? Type4488 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataAttributes? Type4488 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailability? Type4489 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataAttributesSubmissionType? Type4489 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityType? Type4490 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataAttributesScoreSortType? Type4490 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityAttributes? Type4491 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardUpdateRequestDataAttributesVisibility? Type4491 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityRelationships? Type4492 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2Type? Type4492 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityRelationshipsAvailableTerritories? Type4493 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2Attributes? Type4493 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4494 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2AttributesSubmissionType? Type4494 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityRelationshipsAvailableTerritoriesDataItem? Type4495 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2AttributesScoreSortType? Type4495 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityRelationshipsAvailableTerritoriesDataItemType? Type4496 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2AttributesVisibility? Type4496 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityResponse? Type4497 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2Relationships? Type4497 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequest? Type4498 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterDetail? Type4498 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestData? Type4499 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterDetailData? Type4499 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataType? Type4500 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterDetailDataType? Type4500 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataAttributes? Type4501 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterGroup? Type4501 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationships? Type4502 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterGroupData? Type4502 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsInAppPurchase? Type4503 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterGroupDataType? Type4503 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsInAppPurchaseData? Type4504 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterLeaderboardSets? Type4504 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsInAppPurchaseDataType? Type4505 { get; set; } + public global::System.Collections.Generic.IList? Type4505 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsAvailableTerritories? Type4506 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterLeaderboardSetsDataItem? Type4506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4507 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterLeaderboardSetsDataItemType? Type4507 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItem? Type4508 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsGameCenterScoreModerations? Type4508 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItemType? Type4509 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsActivity? Type4509 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContent? Type4510 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsActivityData? Type4510 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentType? Type4511 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsActivityDataType? Type4511 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentAttributes? Type4512 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsChallenge? Type4512 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentRelationships? Type4513 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsChallengeData? Type4513 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentRelationshipsInAppPurchaseV2? Type4514 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsChallengeDataType? Type4514 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentRelationshipsInAppPurchaseV2Data? Type4515 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsVersions? Type4515 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentRelationshipsInAppPurchaseV2DataType? Type4516 { get; set; } + public global::System.Collections.Generic.IList? Type4516 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentResponse? Type4517 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsVersionsDataItem? Type4517 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImage? Type4518 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsVersionsDataItemType? Type4518 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageType? Type4519 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2Response? Type4519 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageAttributes? Type4520 { get; set; } + public global::System.Collections.Generic.IList? Type4520 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageAttributesState? Type4521 { get; set; } + public global::System.Collections.Generic.IList? Type4521 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageRelationships? Type4522 { get; set; } + public global::AppStoreConnect.IncludedItem132? Type4522 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageRelationshipsInAppPurchase? Type4523 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminator? Type4523 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageRelationshipsInAppPurchaseData? Type4524 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType? Type4524 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageRelationshipsInAppPurchaseDataType? Type4525 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2Response? Type4525 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImagesResponse? Type4526 { get; set; } + public global::System.Collections.Generic.IList? Type4526 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4527 { get; set; } + public global::AppStoreConnect.IncludedItem133? Type4527 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageResponse? Type4528 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminator? Type4528 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageCreateRequest? Type4529 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType? Type4529 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageCreateRequestData? Type4530 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequest? Type4530 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataType? Type4531 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestData? Type4531 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataAttributes? Type4532 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataType? Type4532 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataRelationships? Type4533 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataAttributes? Type4533 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataRelationshipsInAppPurchase? Type4534 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataAttributesSubmissionType? Type4534 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataRelationshipsInAppPurchaseData? Type4535 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataAttributesScoreSortType? Type4535 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataRelationshipsInAppPurchaseDataType? Type4536 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataAttributesVisibility? Type4536 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageUpdateRequest? Type4537 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationships? Type4537 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageUpdateRequestData? Type4538 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterDetail? Type4538 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageUpdateRequestDataType? Type4539 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterDetailData? Type4539 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageUpdateRequestDataAttributes? Type4540 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterDetailDataType? Type4540 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2? Type4541 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterGroup? Type4541 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2Type? Type4542 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterGroupData? Type4542 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2Attributes? Type4543 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterGroupDataType? Type4543 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImagesV2Response? Type4544 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterLeaderboardSets? Type4544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4545 { get; set; } + public global::System.Collections.Generic.IList? Type4545 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2Response? Type4546 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterLeaderboardSetsDataItem? Type4546 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2CreateRequest? Type4547 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsGameCenterLeaderboardSetsDataItemType? Type4547 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestData? Type4548 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsVersions? Type4548 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataType? Type4549 { get; set; } + public global::System.Collections.Generic.IList? Type4549 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataAttributes? Type4550 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsVersionsDataItem? Type4550 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataRelationships? Type4551 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2CreateRequestDataRelationshipsVersionsDataItemType? Type4551 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataRelationshipsVersion? Type4552 { get; set; } + public global::System.Collections.Generic.IList? Type4552 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataRelationshipsVersionData? Type4553 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequest? Type4553 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataRelationshipsVersionDataType? Type4554 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestData? Type4554 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2UpdateRequest? Type4555 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataType? Type4555 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2UpdateRequestData? Type4556 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataAttributes? Type4556 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2UpdateRequestDataType? Type4557 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataAttributesSubmissionType? Type4557 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2UpdateRequestDataAttributes? Type4558 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataAttributesScoreSortType? Type4558 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalization? Type4559 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2UpdateRequestDataAttributesVisibility? Type4559 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationType? Type4560 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueue? Type4560 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationAttributes? Type4561 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueType? Type4561 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationAttributesState? Type4562 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueAttributes? Type4562 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationRelationships? Type4563 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRelationships? Type4563 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationRelationshipsInAppPurchaseV2? Type4564 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsRuleSet? Type4564 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationRelationshipsInAppPurchaseV2Data? Type4565 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsRuleSetData? Type4565 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationRelationshipsInAppPurchaseV2DataType? Type4566 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsRuleSetDataType? Type4566 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationsResponse? Type4567 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsExperimentRuleSet? Type4567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4568 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsExperimentRuleSetData? Type4568 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationResponse? Type4569 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsExperimentRuleSetDataType? Type4569 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequest? Type4570 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueuesResponse? Type4570 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestData? Type4571 { get; set; } + public global::System.Collections.Generic.IList? Type4571 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataType? Type4572 { get; set; } + public global::System.Collections.Generic.IList? Type4572 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataAttributes? Type4573 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSet? Type4573 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataRelationships? Type4574 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueResponse? Type4574 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataRelationshipsInAppPurchaseV2? Type4575 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequest? Type4575 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataRelationshipsInAppPurchaseV2Data? Type4576 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestData? Type4576 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataRelationshipsInAppPurchaseV2DataType? Type4577 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataType? Type4577 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationUpdateRequest? Type4578 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataAttributes? Type4578 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationUpdateRequestData? Type4579 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationships? Type4579 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationUpdateRequestDataType? Type4580 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsRuleSet? Type4580 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationUpdateRequestDataAttributes? Type4581 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsRuleSetData? Type4581 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2? Type4582 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsRuleSetDataType? Type4582 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2Type? Type4583 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsExperimentRuleSet? Type4583 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2Attributes? Type4584 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsExperimentRuleSetData? Type4584 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2Relationships? Type4585 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueCreateRequestDataRelationshipsExperimentRuleSetDataType? Type4585 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2RelationshipsVersion? Type4586 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequest? Type4586 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2RelationshipsVersionData? Type4587 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestData? Type4587 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2RelationshipsVersionDataType? Type4588 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataType? Type4588 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationsV2Response? Type4589 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataAttributes? Type4589 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4590 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationships? Type4590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4591 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsRuleSet? Type4591 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersion? Type4592 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsRuleSetData? Type4592 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2Response? Type4593 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsRuleSetDataType? Type4593 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequest? Type4594 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsExperimentRuleSet? Type4594 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestData? Type4595 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsExperimentRuleSetData? Type4595 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataType? Type4596 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueUpdateRequestDataRelationshipsExperimentRuleSetDataType? Type4596 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataAttributes? Type4597 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTest? Type4597 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataRelationships? Type4598 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestType? Type4598 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataRelationshipsVersion? Type4599 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestAttributes? Type4599 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataRelationshipsVersionData? Type4600 { get; set; } + public global::System.Collections.Generic.IList>? Type4600 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type4601 { get; set; } + public global::System.Collections.Generic.IList? Type4601 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2UpdateRequest? Type4602 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestAttributesMatchmakingResultItem? Type4602 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2UpdateRequestData? Type4603 { get; set; } + public global::System.Collections.Generic.IList? Type4603 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2UpdateRequestDataType? Type4604 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamAssignment? Type4604 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2UpdateRequestDataAttributes? Type4605 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponse? Type4605 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? Type4606 { get; set; } + public global::System.Collections.Generic.IList? Type4606 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeType? Type4607 { get; set; } + public global::AppStoreConnect.IncludedItem134? Type4607 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeAttributes? Type4608 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? Type4608 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationships? Type4609 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequest? Type4609 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsCreatedByActor? Type4610 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminator? Type4610 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsCreatedByActorData? Type4611 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType? Type4611 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsCreatedByActorDataType? Type4612 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequest? Type4612 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsDeactivatedByActor? Type4613 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestData? Type4613 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsDeactivatedByActorData? Type4614 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataType? Type4614 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsDeactivatedByActorDataType? Type4615 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationships? Type4615 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesResponse? Type4616 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRuleSet? Type4616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4617 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRuleSetData? Type4617 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeResponse? Type4618 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRuleSetDataType? Type4618 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequest? Type4619 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRequests? Type4619 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestData? Type4620 { get; set; } + public global::System.Collections.Generic.IList? Type4620 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataType? Type4621 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRequestsDataItem? Type4621 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataAttributes? Type4622 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestCreateRequestDataRelationshipsMatchmakingRequestsDataItemType? Type4622 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataRelationships? Type4623 { get; set; } + public global::System.Collections.Generic.IList>? Type4623 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCode? Type4624 { get; set; } + public global::AppStoreConnect.OneOf? Type4624 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCodeData? Type4625 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestPlayerPropertyInlineCreate? Type4625 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCodeDataType? Type4626 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreate? Type4626 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeUpdateRequest? Type4627 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetType? Type4627 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeUpdateRequestData? Type4628 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetAttributes? Type4628 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeUpdateRequestDataType? Type4629 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationships? Type4629 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeUpdateRequestDataAttributes? Type4630 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsTeams? Type4630 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValue? Type4631 { get; set; } + public global::System.Collections.Generic.IList? Type4631 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValueType? Type4632 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsTeamsDataItem? Type4632 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? Type4633 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsTeamsDataItemType? Type4633 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeType? Type4634 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsRules? Type4634 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeAttributes? Type4635 { get; set; } + public global::System.Collections.Generic.IList? Type4635 { get; set; } /// /// /// - public global::AppStoreConnect.OfferCodeEnvironment? Type4636 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsRulesDataItem? Type4636 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationships? Type4637 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsRulesDataItemType? Type4637 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsValues? Type4638 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueues? Type4638 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsCreatedByActor? Type4639 { get; set; } + public global::System.Collections.Generic.IList? Type4639 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsCreatedByActorData? Type4640 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueuesDataItem? Type4640 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsCreatedByActorDataType? Type4641 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueuesDataItemType? Type4641 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsDeactivatedByActor? Type4642 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponse? Type4642 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsDeactivatedByActorData? Type4643 { get; set; } + public global::System.Collections.Generic.IList? Type4643 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsDeactivatedByActorDataType? Type4644 { get; set; } + public global::AppStoreConnect.IncludedItem136? Type4644 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesResponse? Type4645 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRule? Type4645 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4646 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeam? Type4646 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeResponse? Type4647 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminator? Type4647 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest? Type4648 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType? Type4648 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestData? Type4649 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetResponse? Type4649 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataType? Type4650 { get; set; } + public global::System.Collections.Generic.IList? Type4650 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataAttributes? Type4651 { get; set; } + public global::AppStoreConnect.IncludedItem137? Type4651 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataRelationships? Type4652 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminator? Type4652 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCode? Type4653 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType? Type4653 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCodeData? Type4654 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetCreateRequest? Type4654 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCodeDataType? Type4655 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetCreateRequestData? Type4655 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest? Type4656 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetCreateRequestDataType? Type4656 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequestData? Type4657 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetCreateRequestDataAttributes? Type4657 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequestDataType? Type4658 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetUpdateRequest? Type4658 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequestDataAttributes? Type4659 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetUpdateRequestData? Type4659 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCode? Type4660 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetUpdateRequestDataType? Type4660 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeType? Type4661 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetUpdateRequestDataAttributes? Type4661 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeAttributes? Type4662 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleType? Type4662 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4663 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleAttributes? Type4663 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeAttributesCustomerEligibilitie? Type4664 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleAttributesType? Type4664 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationships? Type4665 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRulesResponse? Type4665 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsOneTimeUseCodes? Type4666 { get; set; } + public global::System.Collections.Generic.IList? Type4666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4667 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleResponse? Type4667 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsOneTimeUseCodesDataItem? Type4668 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequest? Type4668 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsOneTimeUseCodesDataItemType? Type4669 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestData? Type4669 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsCustomCodes? Type4670 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataType? Type4670 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4671 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataAttributes? Type4671 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsCustomCodesDataItem? Type4672 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataAttributesType? Type4672 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsCustomCodesDataItemType? Type4673 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataRelationships? Type4673 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsPrices? Type4674 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataRelationshipsRuleSet? Type4674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4675 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataRelationshipsRuleSetData? Type4675 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsPricesDataItem? Type4676 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleCreateRequestDataRelationshipsRuleSetDataType? Type4676 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsPricesDataItemType? Type4677 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleUpdateRequest? Type4677 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesResponse? Type4678 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleUpdateRequestData? Type4678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4679 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleUpdateRequestDataType? Type4679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4680 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleUpdateRequestDataAttributes? Type4680 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem136? Type4681 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamType? Type4681 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPrice? Type4682 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamAttributes? Type4682 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminator? Type4683 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamsResponse? Type4683 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType? Type4684 { get; set; } + public global::System.Collections.Generic.IList? Type4684 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeResponse? Type4685 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamResponse? Type4685 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4686 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequest? Type4686 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem137? Type4687 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestData? Type4687 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminator? Type4688 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataType? Type4688 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType? Type4689 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataAttributes? Type4689 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequest? Type4690 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataRelationships? Type4690 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestData? Type4691 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataRelationshipsRuleSet? Type4691 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataType? Type4692 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataRelationshipsRuleSetData? Type4692 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataAttributes? Type4693 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamCreateRequestDataRelationshipsRuleSetDataType? Type4693 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4694 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamUpdateRequest? Type4694 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataAttributesCustomerEligibilitie? Type4695 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamUpdateRequestData? Type4695 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationships? Type4696 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamUpdateRequestDataType? Type4696 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsInAppPurchase? Type4697 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTeamUpdateRequestDataAttributes? Type4697 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsInAppPurchaseData? Type4698 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestPlayerPropertyType? Type4698 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsInAppPurchaseDataType? Type4699 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestPlayerPropertyInlineCreateType? Type4699 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsPrices? Type4700 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestPlayerPropertyInlineCreateAttributes? Type4700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4701 { get; set; } + public global::System.Collections.Generic.IList? Type4701 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsPricesDataItem? Type4702 { get; set; } + public global::AppStoreConnect.Property? Type4702 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsPricesDataItemType? Type4703 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequestType? Type4703 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4704 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateType? Type4704 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreate? Type4705 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateAttributes? Type4705 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeUpdateRequest? Type4706 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateAttributesLocale? Type4706 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeUpdateRequestData? Type4707 { get; set; } + public global::AppStoreConnect.Location? Type4707 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeUpdateRequestDataType? Type4708 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationships? Type4708 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeUpdateRequestDataAttributes? Type4709 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationshipsMatchmakingPlayerProperties? Type4709 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceType? Type4710 { get; set; } + public global::System.Collections.Generic.IList? Type4710 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceRelationships? Type4711 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationshipsMatchmakingPlayerPropertiesDataItem? Type4711 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsTerritory? Type4712 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequestInlineCreateRelationshipsMatchmakingPlayerPropertiesDataItemType? Type4712 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsTerritoryData? Type4713 { get; set; } + public global::AppStoreConnect.GameCenterPlayerAchievementSubmission? Type4713 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsTerritoryDataType? Type4714 { get; set; } + public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionType? Type4714 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsPricePoint? Type4715 { get; set; } + public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionAttributes? Type4715 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsPricePointData? Type4716 { get; set; } + public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionResponse? Type4716 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsPricePointDataType? Type4717 { get; set; } + public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionCreateRequest? Type4717 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateType? Type4718 { get; set; } + public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionCreateRequestData? Type4718 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationships? Type4719 { get; set; } + public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionCreateRequestDataType? Type4719 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsTerritory? Type4720 { get; set; } + public global::AppStoreConnect.GameCenterPlayerAchievementSubmissionCreateRequestDataAttributes? Type4720 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsTerritoryData? Type4721 { get; set; } + public global::AppStoreConnect.GameCenterScoreModeration? Type4721 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsTerritoryDataType? Type4722 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationType? Type4722 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsPricePoint? Type4723 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationAttributes? Type4723 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsPricePointData? Type4724 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationRelationships? Type4724 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsPricePointDataType? Type4725 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationRelationshipsPlayer? Type4725 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPricesResponse? Type4726 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationRelationshipsPlayerData? Type4726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4727 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationRelationshipsPlayerDataType? Type4727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4728 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationsResponse? Type4728 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem138? Type4729 { get; set; } + public global::System.Collections.Generic.IList? Type4729 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePoint? Type4730 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationResponse? Type4730 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminator? Type4731 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationUpdateRequest? Type4731 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType? Type4732 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationUpdateRequestData? Type4732 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointType? Type4733 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationUpdateRequestDataType? Type4733 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointAttributes? Type4734 { get; set; } + public global::AppStoreConnect.GameCenterScoreModerationUpdateRequestDataAttributes? Type4734 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointRelationships? Type4735 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? Type4735 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointRelationshipsTerritory? Type4736 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotType? Type4736 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointRelationshipsTerritoryData? Type4737 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotAttributes? Type4737 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointRelationshipsTerritoryDataType? Type4738 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotRelationships? Type4738 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointRelationshipsEqualizations? Type4739 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotRelationshipsInAppPurchaseV2? Type4739 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointsResponse? Type4740 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotRelationshipsInAppPurchaseV2Data? Type4740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4741 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotRelationshipsInAppPurchaseV2DataType? Type4741 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedule? Type4742 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotResponse? Type4742 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleType? Type4743 { get; set; } + public global::System.Collections.Generic.IList? Type4743 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationships? Type4744 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2? Type4744 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsBaseTerritory? Type4745 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequest? Type4745 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsBaseTerritoryData? Type4746 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestData? Type4746 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsBaseTerritoryDataType? Type4747 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataType? Type4747 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsManualPrices? Type4748 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataAttributes? Type4748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4749 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataRelationships? Type4749 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsManualPricesDataItem? Type4750 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataRelationshipsInAppPurchaseV2? Type4750 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsManualPricesDataItemType? Type4751 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataRelationshipsInAppPurchaseV2Data? Type4751 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsAutomaticPrices? Type4752 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotCreateRequestDataRelationshipsInAppPurchaseV2DataType? Type4752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4753 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotUpdateRequest? Type4753 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsAutomaticPricesDataItem? Type4754 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotUpdateRequestData? Type4754 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsAutomaticPricesDataItemType? Type4755 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotUpdateRequestDataType? Type4755 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleResponse? Type4756 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotUpdateRequestDataAttributes? Type4756 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4757 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailability? Type4757 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem139? Type4758 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityType? Type4758 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePrice? Type4759 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityAttributes? Type4759 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminator? Type4760 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityRelationships? Type4760 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType? Type4761 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityRelationshipsAvailableTerritories? Type4761 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequest? Type4762 { get; set; } + public global::System.Collections.Generic.IList? Type4762 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestData? Type4763 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityRelationshipsAvailableTerritoriesDataItem? Type4763 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataType? Type4764 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityRelationshipsAvailableTerritoriesDataItemType? Type4764 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationships? Type4765 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityResponse? Type4765 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsInAppPurchase? Type4766 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequest? Type4766 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsInAppPurchaseData? Type4767 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestData? Type4767 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsInAppPurchaseDataType? Type4768 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataType? Type4768 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsBaseTerritory? Type4769 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataAttributes? Type4769 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsBaseTerritoryData? Type4770 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationships? Type4770 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsBaseTerritoryDataType? Type4771 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsInAppPurchase? Type4771 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsManualPrices? Type4772 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsInAppPurchaseData? Type4772 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4773 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsInAppPurchaseDataType? Type4773 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsManualPricesDataItem? Type4774 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsAvailableTerritories? Type4774 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsManualPricesDataItemType? Type4775 { get; set; } + public global::System.Collections.Generic.IList? Type4775 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4776 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItem? Type4776 { get; set; } /// /// /// - public global::AppStoreConnect.OneOf? Type4777 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItemType? Type4777 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreate? Type4778 { get; set; } + public global::AppStoreConnect.InAppPurchaseContent? Type4778 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceType? Type4779 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentType? Type4779 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceAttributes? Type4780 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentAttributes? Type4780 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceRelationships? Type4781 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentRelationships? Type4781 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceRelationshipsInAppPurchasePricePoint? Type4782 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentRelationshipsInAppPurchaseV2? Type4782 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceRelationshipsInAppPurchasePricePointData? Type4783 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentRelationshipsInAppPurchaseV2Data? Type4783 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceRelationshipsInAppPurchasePricePointDataType? Type4784 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentRelationshipsInAppPurchaseV2DataType? Type4784 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceRelationshipsTerritory? Type4785 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentResponse? Type4785 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceRelationshipsTerritoryData? Type4786 { get; set; } + public global::AppStoreConnect.InAppPurchaseImage? Type4786 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceRelationshipsTerritoryDataType? Type4787 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageType? Type4787 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreateType? Type4788 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageAttributes? Type4788 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreateAttributes? Type4789 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageAttributesState? Type4789 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationships? Type4790 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageRelationships? Type4790 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchaseV2? Type4791 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageRelationshipsInAppPurchase? Type4791 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchaseV2Data? Type4792 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageRelationshipsInAppPurchaseData? Type4792 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchaseV2DataType? Type4793 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageRelationshipsInAppPurchaseDataType? Type4793 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchasePricePoint? Type4794 { get; set; } + public global::AppStoreConnect.InAppPurchaseImagesResponse? Type4794 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchasePricePointData? Type4795 { get; set; } + public global::System.Collections.Generic.IList? Type4795 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchasePricePointDataType? Type4796 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageResponse? Type4796 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricesResponse? Type4797 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageCreateRequest? Type4797 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4798 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageCreateRequestData? Type4798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4799 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataType? Type4799 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem141? Type4800 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataAttributes? Type4800 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminator? Type4801 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataRelationships? Type4801 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType? Type4802 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataRelationshipsInAppPurchase? Type4802 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmission? Type4803 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataRelationshipsInAppPurchaseData? Type4803 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionType? Type4804 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageCreateRequestDataRelationshipsInAppPurchaseDataType? Type4804 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionRelationships? Type4805 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageUpdateRequest? Type4805 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionRelationshipsInAppPurchaseV2? Type4806 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageUpdateRequestData? Type4806 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionRelationshipsInAppPurchaseV2Data? Type4807 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageUpdateRequestDataType? Type4807 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionRelationshipsInAppPurchaseV2DataType? Type4808 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageUpdateRequestDataAttributes? Type4808 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionResponse? Type4809 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2? Type4809 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequest? Type4810 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2Type? Type4810 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestData? Type4811 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2Attributes? Type4811 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataType? Type4812 { get; set; } + public global::AppStoreConnect.InAppPurchaseImagesV2Response? Type4812 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataRelationships? Type4813 { get; set; } + public global::System.Collections.Generic.IList? Type4813 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataRelationshipsInAppPurchaseV2? Type4814 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2Response? Type4814 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataRelationshipsInAppPurchaseV2Data? Type4815 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2CreateRequest? Type4815 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataRelationshipsInAppPurchaseV2DataType? Type4816 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestData? Type4816 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionType? Type4817 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataType? Type4817 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionAttributes? Type4818 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataAttributes? Type4818 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionAttributesState? Type4819 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataRelationships? Type4819 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationships? Type4820 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataRelationshipsVersion? Type4820 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsInAppPurchase? Type4821 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataRelationshipsVersionData? Type4821 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsInAppPurchaseData? Type4822 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2CreateRequestDataRelationshipsVersionDataType? Type4822 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsInAppPurchaseDataType? Type4823 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2UpdateRequest? Type4823 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImage? Type4824 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2UpdateRequestData? Type4824 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImageData? Type4825 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2UpdateRequestDataType? Type4825 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImageDataType? Type4826 { get; set; } + public global::AppStoreConnect.InAppPurchaseImageV2UpdateRequestDataAttributes? Type4826 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImages? Type4827 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalization? Type4827 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4828 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationType? Type4828 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImagesDataItem? Type4829 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationAttributes? Type4829 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImagesDataItemType? Type4830 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationAttributesState? Type4830 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsLocalizations? Type4831 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationRelationships? Type4831 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4832 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationRelationshipsInAppPurchaseV2? Type4832 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsLocalizationsDataItem? Type4833 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationRelationshipsInAppPurchaseV2Data? Type4833 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionRelationshipsLocalizationsDataItemType? Type4834 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationRelationshipsInAppPurchaseV2DataType? Type4834 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsResponse? Type4835 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationsResponse? Type4835 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4836 { get; set; } + public global::System.Collections.Generic.IList? Type4836 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem142? Type4837 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationResponse? Type4837 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminator? Type4838 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequest? Type4838 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType? Type4839 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestData? Type4839 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionResponse? Type4840 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataType? Type4840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4841 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataAttributes? Type4841 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem143? Type4842 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataRelationships? Type4842 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminator? Type4843 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataRelationshipsInAppPurchaseV2? Type4843 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType? Type4844 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataRelationshipsInAppPurchaseV2Data? Type4844 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionCreateRequest? Type4845 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationCreateRequestDataRelationshipsInAppPurchaseV2DataType? Type4845 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionCreateRequestData? Type4846 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationUpdateRequest? Type4846 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataType? Type4847 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationUpdateRequestData? Type4847 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataRelationships? Type4848 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationUpdateRequestDataType? Type4848 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataRelationshipsInAppPurchase? Type4849 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationUpdateRequestDataAttributes? Type4849 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataRelationshipsInAppPurchaseData? Type4850 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2? Type4850 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataRelationshipsInAppPurchaseDataType? Type4851 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2Type? Type4851 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseType? Type4852 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2Attributes? Type4852 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAttributes? Type4853 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2Relationships? Type4853 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAttributesInAppPurchaseType? Type4854 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2RelationshipsVersion? Type4854 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAttributesState? Type4855 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2RelationshipsVersionData? Type4855 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseRelationships? Type4856 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2RelationshipsVersionDataType? Type4856 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseRelationshipsApps? Type4857 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationsV2Response? Type4857 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4858 { get; set; } + public global::System.Collections.Generic.IList? Type4858 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseRelationshipsAppsDataItem? Type4859 { get; set; } + public global::System.Collections.Generic.IList? Type4859 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseRelationshipsAppsDataItemType? Type4860 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersion? Type4860 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesResponse? Type4861 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2Response? Type4861 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4862 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequest? Type4862 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseResponse? Type4863 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestData? Type4863 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2Type? Type4864 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataType? Type4864 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2Attributes? Type4865 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataAttributes? Type4865 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseType2? Type4866 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataRelationships? Type4866 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseState? Type4867 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataRelationshipsVersion? Type4867 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2Relationships? Type4868 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataRelationshipsVersionData? Type4868 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseLocalizations? Type4869 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type4869 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4870 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2UpdateRequest? Type4870 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseLocalizationsDataItem? Type4871 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2UpdateRequestData? Type4871 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseLocalizationsDataItemType? Type4872 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2UpdateRequestDataType? Type4872 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsPricePoints? Type4873 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2UpdateRequestDataAttributes? Type4873 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4874 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? Type4874 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsPricePointsDataItem? Type4875 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeType? Type4875 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsPricePointsDataItemType? Type4876 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeAttributes? Type4876 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsContent? Type4877 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationships? Type4877 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsContentData? Type4878 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsCreatedByActor? Type4878 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsContentDataType? Type4879 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsCreatedByActorData? Type4879 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsAppStoreReviewScreenshot? Type4880 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsCreatedByActorDataType? Type4880 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsAppStoreReviewScreenshotData? Type4881 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsDeactivatedByActor? Type4881 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsAppStoreReviewScreenshotDataType? Type4882 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsDeactivatedByActorData? Type4882 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsPromotedPurchase? Type4883 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeRelationshipsDeactivatedByActorDataType? Type4883 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsPromotedPurchaseData? Type4884 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesResponse? Type4884 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsPromotedPurchaseDataType? Type4885 { get; set; } + public global::System.Collections.Generic.IList? Type4885 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsIapPriceSchedule? Type4886 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeResponse? Type4886 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsIapPriceScheduleData? Type4887 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequest? Type4887 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsIapPriceScheduleDataType? Type4888 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestData? Type4888 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseAvailability? Type4889 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataType? Type4889 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseAvailabilityData? Type4890 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataAttributes? Type4890 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseAvailabilityDataType? Type4891 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataRelationships? Type4891 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsImages? Type4892 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCode? Type4892 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4893 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCodeData? Type4893 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsImagesDataItem? Type4894 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCodeDataType? Type4894 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsImagesDataItemType? Type4895 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeUpdateRequest? Type4895 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsOfferCodes? Type4896 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeUpdateRequestData? Type4896 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4897 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeUpdateRequestDataType? Type4897 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsOfferCodesDataItem? Type4898 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodeUpdateRequestDataAttributes? Type4898 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsOfferCodesDataItemType? Type4899 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValue? Type4899 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsVersions? Type4900 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValueType? Type4900 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4901 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? Type4901 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsVersionsDataItem? Type4902 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeType? Type4902 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2RelationshipsVersionsDataItemType? Type4903 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeAttributes? Type4903 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2Response? Type4904 { get; set; } + public global::AppStoreConnect.OfferCodeEnvironment? Type4904 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4905 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationships? Type4905 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem144? Type4906 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsValues? Type4906 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminator? Type4907 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsCreatedByActor? Type4907 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType? Type4908 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsCreatedByActorData? Type4908 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2Response? Type4909 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsCreatedByActorDataType? Type4909 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4910 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsDeactivatedByActor? Type4910 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem145? Type4911 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsDeactivatedByActorData? Type4911 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminator? Type4912 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeRelationshipsDeactivatedByActorDataType? Type4912 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType? Type4913 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesResponse? Type4913 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2CreateRequest? Type4914 { get; set; } + public global::System.Collections.Generic.IList? Type4914 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2CreateRequestData? Type4915 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeResponse? Type4915 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataType? Type4916 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest? Type4916 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataAttributes? Type4917 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestData? Type4917 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataRelationships? Type4918 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataType? Type4918 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataRelationshipsApp? Type4919 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataAttributes? Type4919 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataRelationshipsAppData? Type4920 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataRelationships? Type4920 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataRelationshipsAppDataType? Type4921 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCode? Type4921 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2UpdateRequest? Type4922 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCodeData? Type4922 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2UpdateRequestData? Type4923 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCodeDataType? Type4923 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2UpdateRequestDataType? Type4924 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest? Type4924 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2UpdateRequestDataAttributes? Type4925 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequestData? Type4925 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetail? Type4926 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequestDataType? Type4926 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailType? Type4927 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequestDataAttributes? Type4927 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailAttributes? Type4928 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCode? Type4928 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailResponse? Type4929 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeType? Type4929 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailCreateRequest? Type4930 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeAttributes? Type4930 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestData? Type4931 { get; set; } + public global::System.Collections.Generic.IList? Type4931 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataType? Type4932 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeAttributesCustomerEligibilitie? Type4932 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataAttributes? Type4933 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationships? Type4933 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataRelationships? Type4934 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsOneTimeUseCodes? Type4934 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataRelationshipsApp? Type4935 { get; set; } + public global::System.Collections.Generic.IList? Type4935 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataRelationshipsAppData? Type4936 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsOneTimeUseCodesDataItem? Type4936 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataRelationshipsAppDataType? Type4937 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsOneTimeUseCodesDataItemType? Type4937 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailUpdateRequest? Type4938 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsCustomCodes? Type4938 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailUpdateRequestData? Type4939 { get; set; } + public global::System.Collections.Generic.IList? Type4939 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailUpdateRequestDataType? Type4940 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsCustomCodesDataItem? Type4940 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceSearchDetailUpdateRequestDataAttributes? Type4941 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsCustomCodesDataItemType? Type4941 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhook? Type4942 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsPrices? Type4942 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookType? Type4943 { get; set; } + public global::System.Collections.Generic.IList? Type4943 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookAttributes? Type4944 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsPricesDataItem? Type4944 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhooksResponse? Type4945 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsPricesDataItemType? Type4945 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4946 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodesResponse? Type4946 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookResponse? Type4947 { get; set; } + public global::System.Collections.Generic.IList? Type4947 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookCreateRequest? Type4948 { get; set; } + public global::System.Collections.Generic.IList? Type4948 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookCreateRequestData? Type4949 { get; set; } + public global::AppStoreConnect.IncludedItem138? Type4949 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookCreateRequestDataType? Type4950 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPrice? Type4950 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookCreateRequestDataAttributes? Type4951 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminator? Type4951 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookUpdateRequest? Type4952 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType? Type4952 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookUpdateRequestData? Type4953 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeResponse? Type4953 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookUpdateRequestDataType? Type4954 { get; set; } + public global::System.Collections.Generic.IList? Type4954 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhookUpdateRequestDataAttributes? Type4955 { get; set; } + public global::AppStoreConnect.IncludedItem139? Type4955 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantId? Type4956 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminator? Type4956 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdType? Type4957 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType? Type4957 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdAttributes? Type4958 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequest? Type4958 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdRelationships? Type4959 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestData? Type4959 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdRelationshipsCertificates? Type4960 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataType? Type4960 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4961 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataAttributes? Type4961 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdRelationshipsCertificatesDataItem? Type4962 { get; set; } + public global::System.Collections.Generic.IList? Type4962 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdRelationshipsCertificatesDataItemType? Type4963 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataAttributesCustomerEligibilitie? Type4963 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsResponse? Type4964 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationships? Type4964 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4965 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsInAppPurchase? Type4965 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdResponse? Type4966 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsInAppPurchaseData? Type4966 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdCreateRequest? Type4967 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsInAppPurchaseDataType? Type4967 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdCreateRequestData? Type4968 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsPrices? Type4968 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdCreateRequestDataType? Type4969 { get; set; } + public global::System.Collections.Generic.IList? Type4969 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdCreateRequestDataAttributes? Type4970 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsPricesDataItem? Type4970 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdUpdateRequest? Type4971 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCreateRequestDataRelationshipsPricesDataItemType? Type4971 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdUpdateRequestData? Type4972 { get; set; } + public global::System.Collections.Generic.IList? Type4972 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdUpdateRequestDataType? Type4973 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreate? Type4973 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdUpdateRequestDataAttributes? Type4974 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeUpdateRequest? Type4974 { get; set; } /// /// /// - public global::AppStoreConnect.Nomination? Type4975 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeUpdateRequestData? Type4975 { get; set; } /// /// /// - public global::AppStoreConnect.NominationType? Type4976 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeUpdateRequestDataType? Type4976 { get; set; } /// /// /// - public global::AppStoreConnect.NominationAttributes? Type4977 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeUpdateRequestDataAttributes? Type4977 { get; set; } /// /// /// - public global::AppStoreConnect.NominationAttributesType? Type4978 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceType? Type4978 { get; set; } /// /// /// - public global::AppStoreConnect.NominationAttributesState? Type4979 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceRelationships? Type4979 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4980 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsTerritory? Type4980 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationships? Type4981 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsTerritoryData? Type4981 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsRelatedApps? Type4982 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsTerritoryDataType? Type4982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4983 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsPricePoint? Type4983 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsRelatedAppsDataItem? Type4984 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsPricePointData? Type4984 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsRelatedAppsDataItemType? Type4985 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsPricePointDataType? Type4985 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsCreatedByActor? Type4986 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateType? Type4986 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsCreatedByActorData? Type4987 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationships? Type4987 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsCreatedByActorDataType? Type4988 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsTerritory? Type4988 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsLastModifiedByActor? Type4989 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsTerritoryData? Type4989 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsLastModifiedByActorData? Type4990 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsTerritoryDataType? Type4990 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsLastModifiedByActorDataType? Type4991 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsPricePoint? Type4991 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsSubmittedByActor? Type4992 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsPricePointData? Type4992 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsSubmittedByActorData? Type4993 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPriceInlineCreateRelationshipsPricePointDataType? Type4993 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsSubmittedByActorDataType? Type4994 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPricesResponse? Type4994 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsInAppEvents? Type4995 { get; set; } + public global::System.Collections.Generic.IList? Type4995 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4996 { get; set; } + public global::System.Collections.Generic.IList? Type4996 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsInAppEventsDataItem? Type4997 { get; set; } + public global::AppStoreConnect.IncludedItem140? Type4997 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsInAppEventsDataItemType? Type4998 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePoint? Type4998 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsSupportedTerritories? Type4999 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminator? Type4999 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5000 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType? Type5000 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsSupportedTerritoriesDataItem? Type5001 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointType? Type5001 { get; set; } /// /// /// - public global::AppStoreConnect.NominationRelationshipsSupportedTerritoriesDataItemType? Type5002 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointAttributes? Type5002 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsResponse? Type5003 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointRelationships? Type5003 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5004 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointRelationshipsTerritory? Type5004 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5005 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointRelationshipsTerritoryData? Type5005 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem146? Type5006 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointRelationshipsTerritoryDataType? Type5006 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsResponseIncludedItemDiscriminator? Type5007 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointRelationshipsEqualizations? Type5007 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType? Type5008 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointsResponse? Type5008 { get; set; } /// /// /// - public global::AppStoreConnect.NominationResponse? Type5009 { get; set; } + public global::System.Collections.Generic.IList? Type5009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5010 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceSchedule? Type5010 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem147? Type5011 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleType? Type5011 { get; set; } /// /// /// - public global::AppStoreConnect.NominationResponseIncludedItemDiscriminator? Type5012 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationships? Type5012 { get; set; } /// /// /// - public global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType? Type5013 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsBaseTerritory? Type5013 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequest? Type5014 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsBaseTerritoryData? Type5014 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestData? Type5015 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsBaseTerritoryDataType? Type5015 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataType? Type5016 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsManualPrices? Type5016 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataAttributes? Type5017 { get; set; } + public global::System.Collections.Generic.IList? Type5017 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataAttributesType? Type5018 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsManualPricesDataItem? Type5018 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationships? Type5019 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsManualPricesDataItemType? Type5019 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationshipsRelatedApps? Type5020 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsAutomaticPrices? Type5020 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5021 { get; set; } + public global::System.Collections.Generic.IList? Type5021 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationshipsRelatedAppsDataItem? Type5022 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsAutomaticPricesDataItem? Type5022 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationshipsRelatedAppsDataItemType? Type5023 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsAutomaticPricesDataItemType? Type5023 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationshipsInAppEvents? Type5024 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleResponse? Type5024 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5025 { get; set; } + public global::System.Collections.Generic.IList? Type5025 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationshipsInAppEventsDataItem? Type5026 { get; set; } + public global::AppStoreConnect.IncludedItem141? Type5026 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationshipsInAppEventsDataItemType? Type5027 { get; set; } + public global::AppStoreConnect.InAppPurchasePrice? Type5027 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationshipsSupportedTerritories? Type5028 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminator? Type5028 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5029 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType? Type5029 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationshipsSupportedTerritoriesDataItem? Type5030 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequest? Type5030 { get; set; } /// /// /// - public global::AppStoreConnect.NominationCreateRequestDataRelationshipsSupportedTerritoriesDataItemType? Type5031 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestData? Type5031 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequest? Type5032 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataType? Type5032 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestData? Type5033 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationships? Type5033 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataType? Type5034 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsInAppPurchase? Type5034 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataAttributes? Type5035 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsInAppPurchaseData? Type5035 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataAttributesType? Type5036 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsInAppPurchaseDataType? Type5036 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationships? Type5037 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsBaseTerritory? Type5037 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsRelatedApps? Type5038 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsBaseTerritoryData? Type5038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5039 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsBaseTerritoryDataType? Type5039 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsRelatedAppsDataItem? Type5040 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsManualPrices? Type5040 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsRelatedAppsDataItemType? Type5041 { get; set; } + public global::System.Collections.Generic.IList? Type5041 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsInAppEvents? Type5042 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsManualPricesDataItem? Type5042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5043 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleCreateRequestDataRelationshipsManualPricesDataItemType? Type5043 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsInAppEventsDataItem? Type5044 { get; set; } + public global::System.Collections.Generic.IList>? Type5044 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsInAppEventsDataItemType? Type5045 { get; set; } + public global::AppStoreConnect.OneOf? Type5045 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsSupportedTerritories? Type5046 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreate? Type5046 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5047 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceType? Type5047 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsSupportedTerritoriesDataItem? Type5048 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceAttributes? Type5048 { get; set; } /// /// /// - public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsSupportedTerritoriesDataItemType? Type5049 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceRelationships? Type5049 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdType? Type5050 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceRelationshipsInAppPurchasePricePoint? Type5050 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdAttributes? Type5051 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceRelationshipsInAppPurchasePricePointData? Type5051 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdRelationships? Type5052 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceRelationshipsInAppPurchasePricePointDataType? Type5052 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdRelationshipsCertificates? Type5053 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceRelationshipsTerritory? Type5053 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5054 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceRelationshipsTerritoryData? Type5054 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdRelationshipsCertificatesDataItem? Type5055 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceRelationshipsTerritoryDataType? Type5055 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdRelationshipsCertificatesDataItemType? Type5056 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreateType? Type5056 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsResponse? Type5057 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreateAttributes? Type5057 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdResponse? Type5058 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationships? Type5058 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdCreateRequest? Type5059 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchaseV2? Type5059 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdCreateRequestData? Type5060 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchaseV2Data? Type5060 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdCreateRequestDataType? Type5061 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchaseV2DataType? Type5061 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdCreateRequestDataAttributes? Type5062 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchasePricePoint? Type5062 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdUpdateRequest? Type5063 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchasePricePointData? Type5063 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdUpdateRequestData? Type5064 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceInlineCreateRelationshipsInAppPurchasePricePointDataType? Type5064 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdUpdateRequestDataType? Type5065 { get; set; } + public global::AppStoreConnect.InAppPurchasePricesResponse? Type5065 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdUpdateRequestDataAttributes? Type5066 { get; set; } + public global::System.Collections.Generic.IList? Type5066 { get; set; } /// /// /// - public global::AppStoreConnect.PerfPowerMetric? Type5067 { get; set; } + public global::System.Collections.Generic.IList? Type5067 { get; set; } /// /// /// - public global::AppStoreConnect.PerfPowerMetricType? Type5068 { get; set; } + public global::AppStoreConnect.IncludedItem143? Type5068 { get; set; } /// /// /// - public global::AppStoreConnect.PerfPowerMetricAttributes? Type5069 { get; set; } + public global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminator? Type5069 { get; set; } /// /// /// - public global::AppStoreConnect.PerfPowerMetricAttributesPlatform? Type5070 { get; set; } + public global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType? Type5070 { get; set; } /// /// /// - public global::AppStoreConnect.PerfPowerMetricAttributesMetricType? Type5071 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmission? Type5071 { get; set; } /// /// /// - public global::AppStoreConnect.PerformanceOverview? Type5072 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionType? Type5072 { get; set; } /// /// /// - public global::AppStoreConnect.PerformanceOverviewType? Type5073 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionRelationships? Type5073 { get; set; } /// /// /// - public global::AppStoreConnect.PerformanceOverviewAttributes? Type5074 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionRelationshipsInAppPurchaseV2? Type5074 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionType? Type5075 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionRelationshipsInAppPurchaseV2Data? Type5075 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionAttributes? Type5076 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionRelationshipsInAppPurchaseV2DataType? Type5076 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionRelationships? Type5077 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionResponse? Type5077 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionRelationshipsBuilds? Type5078 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequest? Type5078 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5079 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestData? Type5079 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionRelationshipsBuildsDataItem? Type5080 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataType? Type5080 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionRelationshipsBuildsDataItemType? Type5081 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataRelationships? Type5081 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionRelationshipsApp? Type5082 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataRelationshipsInAppPurchaseV2? Type5082 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionRelationshipsAppData? Type5083 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataRelationshipsInAppPurchaseV2Data? Type5083 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionRelationshipsAppDataType? Type5084 { get; set; } + public global::AppStoreConnect.InAppPurchaseSubmissionCreateRequestDataRelationshipsInAppPurchaseV2DataType? Type5084 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsResponse? Type5085 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionType? Type5085 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5086 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionAttributes? Type5086 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5087 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionAttributesState? Type5087 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem148? Type5088 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationships? Type5088 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminator? Type5089 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsInAppPurchase? Type5089 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType? Type5090 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsInAppPurchaseData? Type5090 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionResponse? Type5091 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsInAppPurchaseDataType? Type5091 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5092 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImage? Type5092 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem149? Type5093 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImageData? Type5093 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminator? Type5094 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImageDataType? Type5094 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType? Type5095 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImages? Type5095 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileType? Type5096 { get; set; } + public global::System.Collections.Generic.IList? Type5096 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileAttributes? Type5097 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImagesDataItem? Type5097 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileAttributesProfileType? Type5098 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsImagesDataItemType? Type5098 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileAttributesProfileState? Type5099 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsLocalizations? Type5099 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationships? Type5100 { get; set; } + public global::System.Collections.Generic.IList? Type5100 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationshipsBundleId? Type5101 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsLocalizationsDataItem? Type5101 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationshipsBundleIdData? Type5102 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionRelationshipsLocalizationsDataItemType? Type5102 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationshipsBundleIdDataType? Type5103 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionsResponse? Type5103 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationshipsDevices? Type5104 { get; set; } + public global::System.Collections.Generic.IList? Type5104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5105 { get; set; } + public global::AppStoreConnect.IncludedItem144? Type5105 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationshipsDevicesDataItem? Type5106 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminator? Type5106 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationshipsDevicesDataItemType? Type5107 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType? Type5107 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationshipsCertificates? Type5108 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionResponse? Type5108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5109 { get; set; } + public global::System.Collections.Generic.IList? Type5109 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationshipsCertificatesDataItem? Type5110 { get; set; } + public global::AppStoreConnect.IncludedItem145? Type5110 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileRelationshipsCertificatesDataItemType? Type5111 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminator? Type5111 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesResponse? Type5112 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType? Type5112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5113 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionCreateRequest? Type5113 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5114 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionCreateRequestData? Type5114 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem150? Type5115 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataType? Type5115 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminator? Type5116 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataRelationships? Type5116 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType? Type5117 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataRelationshipsInAppPurchase? Type5117 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileResponse? Type5118 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataRelationshipsInAppPurchaseData? Type5118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5119 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionCreateRequestDataRelationshipsInAppPurchaseDataType? Type5119 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem151? Type5120 { get; set; } + public global::AppStoreConnect.InAppPurchaseType? Type5120 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileResponseIncludedItemDiscriminator? Type5121 { get; set; } + public global::AppStoreConnect.InAppPurchaseAttributes? Type5121 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType? Type5122 { get; set; } + public global::AppStoreConnect.InAppPurchaseAttributesInAppPurchaseType? Type5122 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequest? Type5123 { get; set; } + public global::AppStoreConnect.InAppPurchaseAttributesState? Type5123 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestData? Type5124 { get; set; } + public global::AppStoreConnect.InAppPurchaseRelationships? Type5124 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataType? Type5125 { get; set; } + public global::AppStoreConnect.InAppPurchaseRelationshipsApps? Type5125 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataAttributes? Type5126 { get; set; } + public global::System.Collections.Generic.IList? Type5126 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataAttributesProfileType? Type5127 { get; set; } + public global::AppStoreConnect.InAppPurchaseRelationshipsAppsDataItem? Type5127 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationships? Type5128 { get; set; } + public global::AppStoreConnect.InAppPurchaseRelationshipsAppsDataItemType? Type5128 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsBundleId? Type5129 { get; set; } + public global::AppStoreConnect.InAppPurchasesResponse? Type5129 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsBundleIdData? Type5130 { get; set; } + public global::System.Collections.Generic.IList? Type5130 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsBundleIdDataType? Type5131 { get; set; } + public global::AppStoreConnect.InAppPurchaseResponse? Type5131 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsDevices? Type5132 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2Type? Type5132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5133 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2Attributes? Type5133 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsDevicesDataItem? Type5134 { get; set; } + public global::AppStoreConnect.InAppPurchaseType2? Type5134 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsDevicesDataItemType? Type5135 { get; set; } + public global::AppStoreConnect.InAppPurchaseState? Type5135 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsCertificates? Type5136 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2Relationships? Type5136 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5137 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseLocalizations? Type5137 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsCertificatesDataItem? Type5138 { get; set; } + public global::System.Collections.Generic.IList? Type5138 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsCertificatesDataItemType? Type5139 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseLocalizationsDataItem? Type5139 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseType? Type5140 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseLocalizationsDataItemType? Type5140 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseAttributes? Type5141 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsPricePoints? Type5141 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseAttributesState? Type5142 { get; set; } + public global::System.Collections.Generic.IList? Type5142 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseRelationships? Type5143 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsPricePointsDataItem? Type5143 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseRelationshipsInAppPurchaseV2? Type5144 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsPricePointsDataItemType? Type5144 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseRelationshipsInAppPurchaseV2Data? Type5145 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsContent? Type5145 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseRelationshipsInAppPurchaseV2DataType? Type5146 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsContentData? Type5146 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseRelationshipsSubscription? Type5147 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsContentDataType? Type5147 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseRelationshipsSubscriptionData? Type5148 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsAppStoreReviewScreenshot? Type5148 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseRelationshipsSubscriptionDataType? Type5149 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsAppStoreReviewScreenshotData? Type5149 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchasesResponse? Type5150 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsAppStoreReviewScreenshotDataType? Type5150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5151 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsPromotedPurchase? Type5151 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5152 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsPromotedPurchaseData? Type5152 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem152? Type5153 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsPromotedPurchaseDataType? Type5153 { get; set; } /// /// /// - public global::AppStoreConnect.Subscription? Type5154 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsIapPriceSchedule? Type5154 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminator? Type5155 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsIapPriceScheduleData? Type5155 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType? Type5156 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsIapPriceScheduleDataType? Type5156 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseResponse? Type5157 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseAvailability? Type5157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5158 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseAvailabilityData? Type5158 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem153? Type5159 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsInAppPurchaseAvailabilityDataType? Type5159 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminator? Type5160 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsImages? Type5160 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType? Type5161 { get; set; } + public global::System.Collections.Generic.IList? Type5161 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequest? Type5162 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsImagesDataItem? Type5162 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestData? Type5163 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsImagesDataItemType? Type5163 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataType? Type5164 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsOfferCodes? Type5164 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataAttributes? Type5165 { get; set; } + public global::System.Collections.Generic.IList? Type5165 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationships? Type5166 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsOfferCodesDataItem? Type5166 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsApp? Type5167 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsOfferCodesDataItemType? Type5167 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsAppData? Type5168 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsVersions? Type5168 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsAppDataType? Type5169 { get; set; } + public global::System.Collections.Generic.IList? Type5169 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsInAppPurchaseV2? Type5170 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsVersionsDataItem? Type5170 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsInAppPurchaseV2Data? Type5171 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2RelationshipsVersionsDataItemType? Type5171 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsInAppPurchaseV2DataType? Type5172 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2Response? Type5172 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsSubscription? Type5173 { get; set; } + public global::System.Collections.Generic.IList? Type5173 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsSubscriptionData? Type5174 { get; set; } + public global::AppStoreConnect.IncludedItem146? Type5174 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsSubscriptionDataType? Type5175 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminator? Type5175 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseUpdateRequest? Type5176 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType? Type5176 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseUpdateRequestData? Type5177 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2Response? Type5177 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseUpdateRequestDataType? Type5178 { get; set; } + public global::System.Collections.Generic.IList? Type5178 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchaseUpdateRequestDataAttributes? Type5179 { get; set; } + public global::AppStoreConnect.IncludedItem147? Type5179 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItem? Type5180 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminator? Type5180 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemType? Type5181 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType? Type5181 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemAttributes? Type5182 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2CreateRequest? Type5182 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemAttributesState? Type5183 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2CreateRequestData? Type5183 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationships? Type5184 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataType? Type5184 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersion? Type5185 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataAttributes? Type5185 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionData? Type5186 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataRelationships? Type5186 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionDataType? Type5187 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataRelationshipsApp? Type5187 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppCustomProductPageVersion? Type5188 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataRelationshipsAppData? Type5188 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppCustomProductPageVersionData? Type5189 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2CreateRequestDataRelationshipsAppDataType? Type5189 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppCustomProductPageVersionDataType? Type5190 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2UpdateRequest? Type5190 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperiment? Type5191 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2UpdateRequestData? Type5191 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentData? Type5192 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2UpdateRequestDataType? Type5192 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentDataType? Type5193 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2UpdateRequestDataAttributes? Type5193 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentV2? Type5194 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetail? Type5194 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentV2Data? Type5195 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailType? Type5195 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentV2DataType? Type5196 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailAttributes? Type5196 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEvent? Type5197 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailResponse? Type5197 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEventData? Type5198 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailCreateRequest? Type5198 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEventDataType? Type5199 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestData? Type5199 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersion? Type5200 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataType? Type5200 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionData? Type5201 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataAttributes? Type5201 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType? Type5202 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataRelationships? Type5202 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterAchievementVersion? Type5203 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataRelationshipsApp? Type5203 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterAchievementVersionData? Type5204 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataRelationshipsAppData? Type5204 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterAchievementVersionDataType? Type5205 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailCreateRequestDataRelationshipsAppDataType? Type5205 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterActivityVersion? Type5206 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailUpdateRequest? Type5206 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterActivityVersionData? Type5207 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailUpdateRequestData? Type5207 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterActivityVersionDataType? Type5208 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailUpdateRequestDataType? Type5208 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterChallengeVersion? Type5209 { get; set; } + public global::AppStoreConnect.MarketplaceSearchDetailUpdateRequestDataAttributes? Type5209 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterChallengeVersionData? Type5210 { get; set; } + public global::AppStoreConnect.MarketplaceWebhook? Type5210 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterChallengeVersionDataType? Type5211 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookType? Type5211 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardSetVersion? Type5212 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookAttributes? Type5212 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardSetVersionData? Type5213 { get; set; } + public global::AppStoreConnect.MarketplaceWebhooksResponse? Type5213 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardSetVersionDataType? Type5214 { get; set; } + public global::System.Collections.Generic.IList? Type5214 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardVersion? Type5215 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookResponse? Type5215 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardVersionData? Type5216 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookCreateRequest? Type5216 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardVersionDataType? Type5217 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookCreateRequestData? Type5217 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsInAppPurchaseVersion? Type5218 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookCreateRequestDataType? Type5218 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsInAppPurchaseVersionData? Type5219 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookCreateRequestDataAttributes? Type5219 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsInAppPurchaseVersionDataType? Type5220 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookUpdateRequest? Type5220 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionVersion? Type5221 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookUpdateRequestData? Type5221 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionVersionData? Type5222 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookUpdateRequestDataType? Type5222 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionVersionDataType? Type5223 { get; set; } + public global::AppStoreConnect.MarketplaceWebhookUpdateRequestDataAttributes? Type5223 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionGroupVersion? Type5224 { get; set; } + public global::AppStoreConnect.MerchantId? Type5224 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionGroupVersionData? Type5225 { get; set; } + public global::AppStoreConnect.MerchantIdType? Type5225 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionGroupVersionDataType? Type5226 { get; set; } + public global::AppStoreConnect.MerchantIdAttributes? Type5226 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemsResponse? Type5227 { get; set; } + public global::AppStoreConnect.MerchantIdRelationships? Type5227 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5228 { get; set; } + public global::AppStoreConnect.MerchantIdRelationshipsCertificates? Type5228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5229 { get; set; } + public global::System.Collections.Generic.IList? Type5229 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem154? Type5230 { get; set; } + public global::AppStoreConnect.MerchantIdRelationshipsCertificatesDataItem? Type5230 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersion? Type5231 { get; set; } + public global::AppStoreConnect.MerchantIdRelationshipsCertificatesDataItemType? Type5231 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersion? Type5232 { get; set; } + public global::AppStoreConnect.MerchantIdsResponse? Type5232 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminator? Type5233 { get; set; } + public global::System.Collections.Generic.IList? Type5233 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType? Type5234 { get; set; } + public global::AppStoreConnect.MerchantIdResponse? Type5234 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemResponse? Type5235 { get; set; } + public global::AppStoreConnect.MerchantIdCreateRequest? Type5235 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5236 { get; set; } + public global::AppStoreConnect.MerchantIdCreateRequestData? Type5236 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem155? Type5237 { get; set; } + public global::AppStoreConnect.MerchantIdCreateRequestDataType? Type5237 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminator? Type5238 { get; set; } + public global::AppStoreConnect.MerchantIdCreateRequestDataAttributes? Type5238 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType? Type5239 { get; set; } + public global::AppStoreConnect.MerchantIdUpdateRequest? Type5239 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequest? Type5240 { get; set; } + public global::AppStoreConnect.MerchantIdUpdateRequestData? Type5240 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestData? Type5241 { get; set; } + public global::AppStoreConnect.MerchantIdUpdateRequestDataType? Type5241 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataType? Type5242 { get; set; } + public global::AppStoreConnect.MerchantIdUpdateRequestDataAttributes? Type5242 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationships? Type5243 { get; set; } + public global::AppStoreConnect.Nomination? Type5243 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsReviewSubmission? Type5244 { get; set; } + public global::AppStoreConnect.NominationType? Type5244 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsReviewSubmissionData? Type5245 { get; set; } + public global::AppStoreConnect.NominationAttributes? Type5245 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsReviewSubmissionDataType? Type5246 { get; set; } + public global::AppStoreConnect.NominationAttributesType? Type5246 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersion? Type5247 { get; set; } + public global::AppStoreConnect.NominationAttributesState? Type5247 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionData? Type5248 { get; set; } + public global::System.Collections.Generic.IList? Type5248 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionDataType? Type5249 { get; set; } + public global::AppStoreConnect.NominationRelationships? Type5249 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppCustomProductPageVersion? Type5250 { get; set; } + public global::AppStoreConnect.NominationRelationshipsRelatedApps? Type5250 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppCustomProductPageVersionData? Type5251 { get; set; } + public global::System.Collections.Generic.IList? Type5251 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppCustomProductPageVersionDataType? Type5252 { get; set; } + public global::AppStoreConnect.NominationRelationshipsRelatedAppsDataItem? Type5252 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperiment? Type5253 { get; set; } + public global::AppStoreConnect.NominationRelationshipsRelatedAppsDataItemType? Type5253 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentData? Type5254 { get; set; } + public global::AppStoreConnect.NominationRelationshipsCreatedByActor? Type5254 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentDataType? Type5255 { get; set; } + public global::AppStoreConnect.NominationRelationshipsCreatedByActorData? Type5255 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentV2? Type5256 { get; set; } + public global::AppStoreConnect.NominationRelationshipsCreatedByActorDataType? Type5256 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentV2Data? Type5257 { get; set; } + public global::AppStoreConnect.NominationRelationshipsLastModifiedByActor? Type5257 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentV2DataType? Type5258 { get; set; } + public global::AppStoreConnect.NominationRelationshipsLastModifiedByActorData? Type5258 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEvent? Type5259 { get; set; } + public global::AppStoreConnect.NominationRelationshipsLastModifiedByActorDataType? Type5259 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventData? Type5260 { get; set; } + public global::AppStoreConnect.NominationRelationshipsSubmittedByActor? Type5260 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataType? Type5261 { get; set; } + public global::AppStoreConnect.NominationRelationshipsSubmittedByActorData? Type5261 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersion? Type5262 { get; set; } + public global::AppStoreConnect.NominationRelationshipsSubmittedByActorDataType? Type5262 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionData? Type5263 { get; set; } + public global::AppStoreConnect.NominationRelationshipsInAppEvents? Type5263 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType? Type5264 { get; set; } + public global::System.Collections.Generic.IList? Type5264 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterAchievementVersion? Type5265 { get; set; } + public global::AppStoreConnect.NominationRelationshipsInAppEventsDataItem? Type5265 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterAchievementVersionData? Type5266 { get; set; } + public global::AppStoreConnect.NominationRelationshipsInAppEventsDataItemType? Type5266 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterAchievementVersionDataType? Type5267 { get; set; } + public global::AppStoreConnect.NominationRelationshipsSupportedTerritories? Type5267 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterActivityVersion? Type5268 { get; set; } + public global::System.Collections.Generic.IList? Type5268 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterActivityVersionData? Type5269 { get; set; } + public global::AppStoreConnect.NominationRelationshipsSupportedTerritoriesDataItem? Type5269 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterActivityVersionDataType? Type5270 { get; set; } + public global::AppStoreConnect.NominationRelationshipsSupportedTerritoriesDataItemType? Type5270 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterChallengeVersion? Type5271 { get; set; } + public global::AppStoreConnect.NominationsResponse? Type5271 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterChallengeVersionData? Type5272 { get; set; } + public global::System.Collections.Generic.IList? Type5272 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterChallengeVersionDataType? Type5273 { get; set; } + public global::System.Collections.Generic.IList? Type5273 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardSetVersion? Type5274 { get; set; } + public global::AppStoreConnect.IncludedItem148? Type5274 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardSetVersionData? Type5275 { get; set; } + public global::AppStoreConnect.NominationsResponseIncludedItemDiscriminator? Type5275 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardSetVersionDataType? Type5276 { get; set; } + public global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType? Type5276 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardVersion? Type5277 { get; set; } + public global::AppStoreConnect.NominationResponse? Type5277 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardVersionData? Type5278 { get; set; } + public global::System.Collections.Generic.IList? Type5278 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardVersionDataType? Type5279 { get; set; } + public global::AppStoreConnect.IncludedItem149? Type5279 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsInAppPurchaseVersion? Type5280 { get; set; } + public global::AppStoreConnect.NominationResponseIncludedItemDiscriminator? Type5280 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsInAppPurchaseVersionData? Type5281 { get; set; } + public global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType? Type5281 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsInAppPurchaseVersionDataType? Type5282 { get; set; } + public global::AppStoreConnect.NominationCreateRequest? Type5282 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionVersion? Type5283 { get; set; } + public global::AppStoreConnect.NominationCreateRequestData? Type5283 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionVersionData? Type5284 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataType? Type5284 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionVersionDataType? Type5285 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataAttributes? Type5285 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionGroupVersion? Type5286 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataAttributesType? Type5286 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionGroupVersionData? Type5287 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationships? Type5287 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionGroupVersionDataType? Type5288 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationshipsRelatedApps? Type5288 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemUpdateRequest? Type5289 { get; set; } + public global::System.Collections.Generic.IList? Type5289 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemUpdateRequestData? Type5290 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationshipsRelatedAppsDataItem? Type5290 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemUpdateRequestDataType? Type5291 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationshipsRelatedAppsDataItemType? Type5291 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemUpdateRequestDataAttributes? Type5292 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationshipsInAppEvents? Type5292 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionType? Type5293 { get; set; } + public global::System.Collections.Generic.IList? Type5293 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionAttributes? Type5294 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationshipsInAppEventsDataItem? Type5294 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionAttributesState? Type5295 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationshipsInAppEventsDataItemType? Type5295 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationships? Type5296 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationshipsSupportedTerritories? Type5296 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsApp? Type5297 { get; set; } + public global::System.Collections.Generic.IList? Type5297 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsAppData? Type5298 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationshipsSupportedTerritoriesDataItem? Type5298 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsAppDataType? Type5299 { get; set; } + public global::AppStoreConnect.NominationCreateRequestDataRelationshipsSupportedTerritoriesDataItemType? Type5299 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsItems? Type5300 { get; set; } + public global::AppStoreConnect.NominationUpdateRequest? Type5300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5301 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestData? Type5301 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsItemsDataItem? Type5302 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataType? Type5302 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsItemsDataItemType? Type5303 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataAttributes? Type5303 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsAppStoreVersionForReview? Type5304 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataAttributesType? Type5304 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsAppStoreVersionForReviewData? Type5305 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationships? Type5305 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsAppStoreVersionForReviewDataType? Type5306 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsRelatedApps? Type5306 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsSubmittedByActor? Type5307 { get; set; } + public global::System.Collections.Generic.IList? Type5307 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsSubmittedByActorData? Type5308 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsRelatedAppsDataItem? Type5308 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsSubmittedByActorDataType? Type5309 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsRelatedAppsDataItemType? Type5309 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsLastUpdatedByActor? Type5310 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsInAppEvents? Type5310 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsLastUpdatedByActorData? Type5311 { get; set; } + public global::System.Collections.Generic.IList? Type5311 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionRelationshipsLastUpdatedByActorDataType? Type5312 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsInAppEventsDataItem? Type5312 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsResponse? Type5313 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsInAppEventsDataItemType? Type5313 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5314 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsSupportedTerritories? Type5314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5315 { get; set; } + public global::System.Collections.Generic.IList? Type5315 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem156? Type5316 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsSupportedTerritoriesDataItem? Type5316 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminator? Type5317 { get; set; } + public global::AppStoreConnect.NominationUpdateRequestDataRelationshipsSupportedTerritoriesDataItemType? Type5317 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType? Type5318 { get; set; } + public global::AppStoreConnect.PassTypeIdType? Type5318 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionResponse? Type5319 { get; set; } + public global::AppStoreConnect.PassTypeIdAttributes? Type5319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5320 { get; set; } + public global::AppStoreConnect.PassTypeIdRelationships? Type5320 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem157? Type5321 { get; set; } + public global::AppStoreConnect.PassTypeIdRelationshipsCertificates? Type5321 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminator? Type5322 { get; set; } + public global::System.Collections.Generic.IList? Type5322 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType? Type5323 { get; set; } + public global::AppStoreConnect.PassTypeIdRelationshipsCertificatesDataItem? Type5323 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionCreateRequest? Type5324 { get; set; } + public global::AppStoreConnect.PassTypeIdRelationshipsCertificatesDataItemType? Type5324 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionCreateRequestData? Type5325 { get; set; } + public global::AppStoreConnect.PassTypeIdsResponse? Type5325 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionCreateRequestDataType? Type5326 { get; set; } + public global::AppStoreConnect.PassTypeIdResponse? Type5326 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionCreateRequestDataAttributes? Type5327 { get; set; } + public global::AppStoreConnect.PassTypeIdCreateRequest? Type5327 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionCreateRequestDataRelationships? Type5328 { get; set; } + public global::AppStoreConnect.PassTypeIdCreateRequestData? Type5328 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionCreateRequestDataRelationshipsApp? Type5329 { get; set; } + public global::AppStoreConnect.PassTypeIdCreateRequestDataType? Type5329 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionCreateRequestDataRelationshipsAppData? Type5330 { get; set; } + public global::AppStoreConnect.PassTypeIdCreateRequestDataAttributes? Type5330 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionCreateRequestDataRelationshipsAppDataType? Type5331 { get; set; } + public global::AppStoreConnect.PassTypeIdUpdateRequest? Type5331 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionUpdateRequest? Type5332 { get; set; } + public global::AppStoreConnect.PassTypeIdUpdateRequestData? Type5332 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionUpdateRequestData? Type5333 { get; set; } + public global::AppStoreConnect.PassTypeIdUpdateRequestDataType? Type5333 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionUpdateRequestDataType? Type5334 { get; set; } + public global::AppStoreConnect.PassTypeIdUpdateRequestDataAttributes? Type5334 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionUpdateRequestDataAttributes? Type5335 { get; set; } + public global::AppStoreConnect.PerfPowerMetric? Type5335 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageType? Type5336 { get; set; } + public global::AppStoreConnect.PerfPowerMetricType? Type5336 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageAttributes? Type5337 { get; set; } + public global::AppStoreConnect.PerfPowerMetricAttributes? Type5337 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageRelationships? Type5338 { get; set; } + public global::AppStoreConnect.PerfPowerMetricAttributesPlatform? Type5338 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageRelationshipsAppStoreVersion? Type5339 { get; set; } + public global::AppStoreConnect.PerfPowerMetricAttributesMetricType? Type5339 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageRelationshipsAppStoreVersionData? Type5340 { get; set; } + public global::AppStoreConnect.PerformanceOverview? Type5340 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageRelationshipsAppStoreVersionDataType? Type5341 { get; set; } + public global::AppStoreConnect.PerformanceOverviewType? Type5341 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageResponse? Type5342 { get; set; } + public global::AppStoreConnect.PerformanceOverviewAttributes? Type5342 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageCreateRequest? Type5343 { get; set; } + public global::AppStoreConnect.PrereleaseVersionType? Type5343 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageCreateRequestData? Type5344 { get; set; } + public global::AppStoreConnect.PrereleaseVersionAttributes? Type5344 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataType? Type5345 { get; set; } + public global::AppStoreConnect.PrereleaseVersionRelationships? Type5345 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataAttributes? Type5346 { get; set; } + public global::AppStoreConnect.PrereleaseVersionRelationshipsBuilds? Type5346 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataRelationships? Type5347 { get; set; } + public global::System.Collections.Generic.IList? Type5347 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataRelationshipsAppStoreVersion? Type5348 { get; set; } + public global::AppStoreConnect.PrereleaseVersionRelationshipsBuildsDataItem? Type5348 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataRelationshipsAppStoreVersionData? Type5349 { get; set; } + public global::AppStoreConnect.PrereleaseVersionRelationshipsBuildsDataItemType? Type5349 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataRelationshipsAppStoreVersionDataType? Type5350 { get; set; } + public global::AppStoreConnect.PrereleaseVersionRelationshipsApp? Type5350 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageUpdateRequest? Type5351 { get; set; } + public global::AppStoreConnect.PrereleaseVersionRelationshipsAppData? Type5351 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageUpdateRequestData? Type5352 { get; set; } + public global::AppStoreConnect.PrereleaseVersionRelationshipsAppDataType? Type5352 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageUpdateRequestDataType? Type5353 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsResponse? Type5353 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoverageUpdateRequestDataAttributes? Type5354 { get; set; } + public global::System.Collections.Generic.IList? Type5354 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2? Type5355 { get; set; } + public global::System.Collections.Generic.IList? Type5355 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2Type? Type5356 { get; set; } + public global::AppStoreConnect.IncludedItem150? Type5356 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2Attributes? Type5357 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminator? Type5357 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2AttributesSubscriptionRenewalRate? Type5358 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType? Type5358 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersV2Response? Type5359 { get; set; } + public global::AppStoreConnect.PrereleaseVersionResponse? Type5359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5360 { get; set; } + public global::System.Collections.Generic.IList? Type5360 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2Response? Type5361 { get; set; } + public global::AppStoreConnect.IncludedItem151? Type5361 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2UpdateRequest? Type5362 { get; set; } + public global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminator? Type5362 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2UpdateRequestData? Type5363 { get; set; } + public global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType? Type5363 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2UpdateRequestDataType? Type5364 { get; set; } + public global::AppStoreConnect.ProfileType? Type5364 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2UpdateRequestDataAttributes? Type5365 { get; set; } + public global::AppStoreConnect.ProfileAttributes? Type5365 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTesterV2UpdateRequestDataAttributesSubscriptionRenewalRate? Type5366 { get; set; } + public global::AppStoreConnect.ProfileAttributesProfileType? Type5366 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2? Type5367 { get; set; } + public global::AppStoreConnect.ProfileAttributesProfileState? Type5367 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2Type? Type5368 { get; set; } + public global::AppStoreConnect.ProfileRelationships? Type5368 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2Response? Type5369 { get; set; } + public global::AppStoreConnect.ProfileRelationshipsBundleId? Type5369 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequest? Type5370 { get; set; } + public global::AppStoreConnect.ProfileRelationshipsBundleIdData? Type5370 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestData? Type5371 { get; set; } + public global::AppStoreConnect.ProfileRelationshipsBundleIdDataType? Type5371 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataType? Type5372 { get; set; } + public global::AppStoreConnect.ProfileRelationshipsDevices? Type5372 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataRelationships? Type5373 { get; set; } + public global::System.Collections.Generic.IList? Type5373 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataRelationshipsSandboxTesters? Type5374 { get; set; } + public global::AppStoreConnect.ProfileRelationshipsDevicesDataItem? Type5374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5375 { get; set; } + public global::AppStoreConnect.ProfileRelationshipsDevicesDataItemType? Type5375 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataRelationshipsSandboxTestersDataItem? Type5376 { get; set; } + public global::AppStoreConnect.ProfileRelationshipsCertificates? Type5376 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataRelationshipsSandboxTestersDataItemType? Type5377 { get; set; } + public global::System.Collections.Generic.IList? Type5377 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferenceType? Type5378 { get; set; } + public global::AppStoreConnect.ProfileRelationshipsCertificatesDataItem? Type5378 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferenceAttributes? Type5379 { get; set; } + public global::AppStoreConnect.ProfileRelationshipsCertificatesDataItemType? Type5379 { get; set; } /// /// /// - public global::AppStoreConnect.CiGitRefKind? Type5380 { get; set; } + public global::AppStoreConnect.ProfilesResponse? Type5380 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferenceRelationships? Type5381 { get; set; } + public global::System.Collections.Generic.IList? Type5381 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferenceRelationshipsRepository? Type5382 { get; set; } + public global::System.Collections.Generic.IList? Type5382 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferenceRelationshipsRepositoryData? Type5383 { get; set; } + public global::AppStoreConnect.IncludedItem152? Type5383 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferenceRelationshipsRepositoryDataType? Type5384 { get; set; } + public global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminator? Type5384 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferencesResponse? Type5385 { get; set; } + public global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType? Type5385 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5386 { get; set; } + public global::AppStoreConnect.ProfileResponse? Type5386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5387 { get; set; } + public global::System.Collections.Generic.IList? Type5387 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferenceResponse? Type5388 { get; set; } + public global::AppStoreConnect.IncludedItem153? Type5388 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProvider? Type5389 { get; set; } + public global::AppStoreConnect.ProfileResponseIncludedItemDiscriminator? Type5389 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderType? Type5390 { get; set; } + public global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType? Type5390 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderAttributes? Type5391 { get; set; } + public global::AppStoreConnect.ProfileCreateRequest? Type5391 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderType2? Type5392 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestData? Type5392 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderRelationships? Type5393 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataType? Type5393 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderRelationshipsRepositories? Type5394 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataAttributes? Type5394 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProvidersResponse? Type5395 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataAttributesProfileType? Type5395 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5396 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationships? Type5396 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderResponse? Type5397 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsBundleId? Type5397 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestType? Type5398 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsBundleIdData? Type5398 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestAttributes? Type5399 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsBundleIdDataType? Type5399 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestRelationships? Type5400 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsDevices? Type5400 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestRelationshipsRepository? Type5401 { get; set; } + public global::System.Collections.Generic.IList? Type5401 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestRelationshipsRepositoryData? Type5402 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsDevicesDataItem? Type5402 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestRelationshipsRepositoryDataType? Type5403 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsDevicesDataItemType? Type5403 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestsResponse? Type5404 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsCertificates? Type5404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5405 { get; set; } + public global::System.Collections.Generic.IList? Type5405 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestResponse? Type5406 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsCertificatesDataItem? Type5406 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryType? Type5407 { get; set; } + public global::AppStoreConnect.ProfileCreateRequestDataRelationshipsCertificatesDataItemType? Type5407 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryAttributes? Type5408 { get; set; } + public global::AppStoreConnect.PromotedPurchaseType? Type5408 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryRelationships? Type5409 { get; set; } + public global::AppStoreConnect.PromotedPurchaseAttributes? Type5409 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryRelationshipsScmProvider? Type5410 { get; set; } + public global::AppStoreConnect.PromotedPurchaseAttributesState? Type5410 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryRelationshipsScmProviderData? Type5411 { get; set; } + public global::AppStoreConnect.PromotedPurchaseRelationships? Type5411 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryRelationshipsScmProviderDataType? Type5412 { get; set; } + public global::AppStoreConnect.PromotedPurchaseRelationshipsInAppPurchaseV2? Type5412 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryRelationshipsDefaultBranch? Type5413 { get; set; } + public global::AppStoreConnect.PromotedPurchaseRelationshipsInAppPurchaseV2Data? Type5413 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryRelationshipsDefaultBranchData? Type5414 { get; set; } + public global::AppStoreConnect.PromotedPurchaseRelationshipsInAppPurchaseV2DataType? Type5414 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryRelationshipsDefaultBranchDataType? Type5415 { get; set; } + public global::AppStoreConnect.PromotedPurchaseRelationshipsSubscription? Type5415 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryRelationshipsGitReferences? Type5416 { get; set; } + public global::AppStoreConnect.PromotedPurchaseRelationshipsSubscriptionData? Type5416 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryRelationshipsPullRequests? Type5417 { get; set; } + public global::AppStoreConnect.PromotedPurchaseRelationshipsSubscriptionDataType? Type5417 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesResponse? Type5418 { get; set; } + public global::AppStoreConnect.PromotedPurchasesResponse? Type5418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5419 { get; set; } + public global::System.Collections.Generic.IList? Type5419 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem158? Type5420 { get; set; } + public global::System.Collections.Generic.IList? Type5420 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminator? Type5421 { get; set; } + public global::AppStoreConnect.IncludedItem154? Type5421 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType? Type5422 { get; set; } + public global::AppStoreConnect.Subscription? Type5422 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryResponse? Type5423 { get; set; } + public global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminator? Type5423 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5424 { get; set; } + public global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType? Type5424 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem159? Type5425 { get; set; } + public global::AppStoreConnect.PromotedPurchaseResponse? Type5425 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminator? Type5426 { get; set; } + public global::System.Collections.Generic.IList? Type5426 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType? Type5427 { get; set; } + public global::AppStoreConnect.IncludedItem155? Type5427 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? Type5428 { get; set; } + public global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminator? Type5428 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotType? Type5429 { get; set; } + public global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType? Type5429 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotAttributes? Type5430 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequest? Type5430 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotRelationships? Type5431 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestData? Type5431 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotRelationshipsSubscription? Type5432 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataType? Type5432 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotRelationshipsSubscriptionData? Type5433 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataAttributes? Type5433 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotRelationshipsSubscriptionDataType? Type5434 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationships? Type5434 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotResponse? Type5435 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsApp? Type5435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5436 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsAppData? Type5436 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequest? Type5437 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsAppDataType? Type5437 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestData? Type5438 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsInAppPurchaseV2? Type5438 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataType? Type5439 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsInAppPurchaseV2Data? Type5439 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataAttributes? Type5440 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsInAppPurchaseV2DataType? Type5440 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataRelationships? Type5441 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsSubscription? Type5441 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataRelationshipsSubscription? Type5442 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsSubscriptionData? Type5442 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataRelationshipsSubscriptionData? Type5443 { get; set; } + public global::AppStoreConnect.PromotedPurchaseCreateRequestDataRelationshipsSubscriptionDataType? Type5443 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataRelationshipsSubscriptionDataType? Type5444 { get; set; } + public global::AppStoreConnect.PromotedPurchaseUpdateRequest? Type5444 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotUpdateRequest? Type5445 { get; set; } + public global::AppStoreConnect.PromotedPurchaseUpdateRequestData? Type5445 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotUpdateRequestData? Type5446 { get; set; } + public global::AppStoreConnect.PromotedPurchaseUpdateRequestDataType? Type5446 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotUpdateRequestDataType? Type5447 { get; set; } + public global::AppStoreConnect.PromotedPurchaseUpdateRequestDataAttributes? Type5447 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotUpdateRequestDataAttributes? Type5448 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItem? Type5448 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailability? Type5449 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemType? Type5449 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityType? Type5450 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemAttributes? Type5450 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityAttributes? Type5451 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemAttributesState? Type5451 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityRelationships? Type5452 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationships? Type5452 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityRelationshipsAvailableTerritories? Type5453 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersion? Type5453 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5454 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionData? Type5454 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityRelationshipsAvailableTerritoriesDataItem? Type5455 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionDataType? Type5455 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityRelationshipsAvailableTerritoriesDataItemType? Type5456 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppCustomProductPageVersion? Type5456 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityResponse? Type5457 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppCustomProductPageVersionData? Type5457 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequest? Type5458 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppCustomProductPageVersionDataType? Type5458 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestData? Type5459 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperiment? Type5459 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataType? Type5460 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentData? Type5460 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataAttributes? Type5461 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentDataType? Type5461 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationships? Type5462 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentV2? Type5462 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsSubscription? Type5463 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentV2Data? Type5463 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsSubscriptionData? Type5464 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentV2DataType? Type5464 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsSubscriptionDataType? Type5465 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEvent? Type5465 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsAvailableTerritories? Type5466 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEventData? Type5466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5467 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEventDataType? Type5467 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItem? Type5468 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage? Type5468 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItemType? Type5469 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData? Type5469 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodType? Type5470 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType? Type5470 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodAttributes? Type5471 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo? Type5471 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodDuration? Type5472 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData? Type5472 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodAttributesRenewalType? Type5473 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType? Type5473 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodResponse? Type5474 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersion? Type5474 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequest? Type5475 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionData? Type5475 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequestData? Type5476 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType? Type5476 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequestDataType? Type5477 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterAchievementVersion? Type5477 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequestDataAttributes? Type5478 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterAchievementVersionData? Type5478 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequestDataAttributesRenewalType? Type5479 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterAchievementVersionDataType? Type5479 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2? Type5480 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterActivityVersion? Type5480 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2Type? Type5481 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterActivityVersionData? Type5481 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2Attributes? Type5482 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterActivityVersionDataType? Type5482 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2Relationships? Type5483 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterChallengeVersion? Type5483 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2RelationshipsVersion? Type5484 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterChallengeVersionData? Type5484 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2RelationshipsVersionData? Type5485 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterChallengeVersionDataType? Type5485 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2RelationshipsVersionDataType? Type5486 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardSetVersion? Type5486 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationsV2Response? Type5487 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardSetVersionData? Type5487 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5488 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardSetVersionDataType? Type5488 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5489 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardVersion? Type5489 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2Response? Type5490 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardVersionData? Type5490 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequest? Type5491 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterLeaderboardVersionDataType? Type5491 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestData? Type5492 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsInAppPurchaseVersion? Type5492 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataType? Type5493 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsInAppPurchaseVersionData? Type5493 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataAttributes? Type5494 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsInAppPurchaseVersionDataType? Type5494 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataRelationships? Type5495 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionVersion? Type5495 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataRelationshipsVersion? Type5496 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionVersionData? Type5496 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataRelationshipsVersionData? Type5497 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionVersionDataType? Type5497 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type5498 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionGroupVersion? Type5498 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2UpdateRequest? Type5499 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionGroupVersionData? Type5499 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2UpdateRequestData? Type5500 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionGroupVersionDataType? Type5500 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2UpdateRequestDataType? Type5501 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemsResponse? Type5501 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2UpdateRequestDataAttributes? Type5502 { get; set; } + public global::System.Collections.Generic.IList? Type5502 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalization? Type5503 { get; set; } + public global::System.Collections.Generic.IList? Type5503 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationType? Type5504 { get; set; } + public global::AppStoreConnect.IncludedItem156? Type5504 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationAttributes? Type5505 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersion? Type5505 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationAttributesState? Type5506 { get; set; } + public global::AppStoreConnect.SubscriptionVersion? Type5506 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationRelationships? Type5507 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminator? Type5507 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationRelationshipsSubscriptionGroup? Type5508 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType? Type5508 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationRelationshipsSubscriptionGroupData? Type5509 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemResponse? Type5509 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationRelationshipsSubscriptionGroupDataType? Type5510 { get; set; } + public global::System.Collections.Generic.IList? Type5510 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationsResponse? Type5511 { get; set; } + public global::AppStoreConnect.IncludedItem157? Type5511 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5512 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminator? Type5512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5513 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType? Type5513 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationResponse? Type5514 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequest? Type5514 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequest? Type5515 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestData? Type5515 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestData? Type5516 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataType? Type5516 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataType? Type5517 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationships? Type5517 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataAttributes? Type5518 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsReviewSubmission? Type5518 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataRelationships? Type5519 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsReviewSubmissionData? Type5519 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataRelationshipsSubscriptionGroup? Type5520 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsReviewSubmissionDataType? Type5520 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataRelationshipsSubscriptionGroupData? Type5521 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersion? Type5521 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataRelationshipsSubscriptionGroupDataType? Type5522 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionData? Type5522 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationUpdateRequest? Type5523 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionDataType? Type5523 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationUpdateRequestData? Type5524 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppCustomProductPageVersion? Type5524 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationUpdateRequestDataType? Type5525 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppCustomProductPageVersionData? Type5525 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationUpdateRequestDataAttributes? Type5526 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppCustomProductPageVersionDataType? Type5526 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmission? Type5527 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperiment? Type5527 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmissionType? Type5528 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentData? Type5528 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmissionResponse? Type5529 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentDataType? Type5529 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequest? Type5530 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentV2? Type5530 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestData? Type5531 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentV2Data? Type5531 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataType? Type5532 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentV2DataType? Type5532 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataRelationships? Type5533 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEvent? Type5533 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataRelationshipsSubscriptionGroup? Type5534 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventData? Type5534 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataRelationshipsSubscriptionGroupData? Type5535 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataType? Type5535 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataRelationshipsSubscriptionGroupDataType? Type5536 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage? Type5536 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionType? Type5537 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData? Type5537 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionAttributes? Type5538 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType? Type5538 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionAttributesState? Type5539 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo? Type5539 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionRelationships? Type5540 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData? Type5540 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsSubscriptionGroup? Type5541 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType? Type5541 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsSubscriptionGroupData? Type5542 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersion? Type5542 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsSubscriptionGroupDataType? Type5543 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionData? Type5543 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsLocalizations? Type5544 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType? Type5544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5545 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterAchievementVersion? Type5545 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsLocalizationsDataItem? Type5546 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterAchievementVersionData? Type5546 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsLocalizationsDataItemType? Type5547 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterAchievementVersionDataType? Type5547 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsResponse? Type5548 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterActivityVersion? Type5548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5549 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterActivityVersionData? Type5549 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem160? Type5550 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterActivityVersionDataType? Type5550 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminator? Type5551 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterChallengeVersion? Type5551 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType? Type5552 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterChallengeVersionData? Type5552 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionResponse? Type5553 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterChallengeVersionDataType? Type5553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5554 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardSetVersion? Type5554 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem161? Type5555 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardSetVersionData? Type5555 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminator? Type5556 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardSetVersionDataType? Type5556 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType? Type5557 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardVersion? Type5557 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionCreateRequest? Type5558 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardVersionData? Type5558 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestData? Type5559 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterLeaderboardVersionDataType? Type5559 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataType? Type5560 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsInAppPurchaseVersion? Type5560 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataRelationships? Type5561 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsInAppPurchaseVersionData? Type5561 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataRelationshipsSubscriptionGroup? Type5562 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsInAppPurchaseVersionDataType? Type5562 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataRelationshipsSubscriptionGroupData? Type5563 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionVersion? Type5563 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataRelationshipsSubscriptionGroupDataType? Type5564 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionVersionData? Type5564 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupType? Type5565 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionVersionDataType? Type5565 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupAttributes? Type5566 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionGroupVersion? Type5566 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationships? Type5567 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionGroupVersionData? Type5567 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptions? Type5568 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsSubscriptionGroupVersionDataType? Type5568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5569 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemUpdateRequest? Type5569 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionsDataItem? Type5570 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemUpdateRequestData? Type5570 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionsDataItemType? Type5571 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemUpdateRequestDataType? Type5571 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionGroupLocalizations? Type5572 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemUpdateRequestDataAttributes? Type5572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5573 { get; set; } + public global::AppStoreConnect.ReviewSubmissionType? Type5573 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionGroupLocalizationsDataItem? Type5574 { get; set; } + public global::AppStoreConnect.ReviewSubmissionAttributes? Type5574 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionGroupLocalizationsDataItemType? Type5575 { get; set; } + public global::AppStoreConnect.ReviewSubmissionAttributesState? Type5575 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationshipsVersions? Type5576 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationships? Type5576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5577 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsApp? Type5577 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationshipsVersionsDataItem? Type5578 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsAppData? Type5578 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupRelationshipsVersionsDataItemType? Type5579 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsAppDataType? Type5579 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsResponse? Type5580 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsItems? Type5580 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5581 { get; set; } + public global::System.Collections.Generic.IList? Type5581 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem162? Type5582 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsItemsDataItem? Type5582 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminator? Type5583 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsItemsDataItemType? Type5583 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType? Type5584 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsAppStoreVersionForReview? Type5584 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupResponse? Type5585 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsAppStoreVersionForReviewData? Type5585 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5586 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsAppStoreVersionForReviewDataType? Type5586 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem163? Type5587 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsSubmittedByActor? Type5587 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminator? Type5588 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsSubmittedByActorData? Type5588 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType? Type5589 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsSubmittedByActorDataType? Type5589 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupCreateRequest? Type5590 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsLastUpdatedByActor? Type5590 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupCreateRequestData? Type5591 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsLastUpdatedByActorData? Type5591 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupCreateRequestDataType? Type5592 { get; set; } + public global::AppStoreConnect.ReviewSubmissionRelationshipsLastUpdatedByActorDataType? Type5592 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupCreateRequestDataAttributes? Type5593 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsResponse? Type5593 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupCreateRequestDataRelationships? Type5594 { get; set; } + public global::System.Collections.Generic.IList? Type5594 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupCreateRequestDataRelationshipsApp? Type5595 { get; set; } + public global::System.Collections.Generic.IList? Type5595 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupCreateRequestDataRelationshipsAppData? Type5596 { get; set; } + public global::AppStoreConnect.IncludedItem158? Type5596 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupCreateRequestDataRelationshipsAppDataType? Type5597 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminator? Type5597 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupUpdateRequest? Type5598 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType? Type5598 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupUpdateRequestData? Type5599 { get; set; } + public global::AppStoreConnect.ReviewSubmissionResponse? Type5599 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupUpdateRequestDataType? Type5600 { get; set; } + public global::System.Collections.Generic.IList? Type5600 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupUpdateRequestDataAttributes? Type5601 { get; set; } + public global::AppStoreConnect.IncludedItem159? Type5601 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImage? Type5602 { get; set; } + public global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminator? Type5602 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageType? Type5603 { get; set; } + public global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType? Type5603 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageAttributes? Type5604 { get; set; } + public global::AppStoreConnect.ReviewSubmissionCreateRequest? Type5604 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageAttributesState? Type5605 { get; set; } + public global::AppStoreConnect.ReviewSubmissionCreateRequestData? Type5605 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageRelationships? Type5606 { get; set; } + public global::AppStoreConnect.ReviewSubmissionCreateRequestDataType? Type5606 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageRelationshipsSubscription? Type5607 { get; set; } + public global::AppStoreConnect.ReviewSubmissionCreateRequestDataAttributes? Type5607 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageRelationshipsSubscriptionData? Type5608 { get; set; } + public global::AppStoreConnect.ReviewSubmissionCreateRequestDataRelationships? Type5608 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageRelationshipsSubscriptionDataType? Type5609 { get; set; } + public global::AppStoreConnect.ReviewSubmissionCreateRequestDataRelationshipsApp? Type5609 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImagesResponse? Type5610 { get; set; } + public global::AppStoreConnect.ReviewSubmissionCreateRequestDataRelationshipsAppData? Type5610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5611 { get; set; } + public global::AppStoreConnect.ReviewSubmissionCreateRequestDataRelationshipsAppDataType? Type5611 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageResponse? Type5612 { get; set; } + public global::AppStoreConnect.ReviewSubmissionUpdateRequest? Type5612 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageCreateRequest? Type5613 { get; set; } + public global::AppStoreConnect.ReviewSubmissionUpdateRequestData? Type5613 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageCreateRequestData? Type5614 { get; set; } + public global::AppStoreConnect.ReviewSubmissionUpdateRequestDataType? Type5614 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageCreateRequestDataType? Type5615 { get; set; } + public global::AppStoreConnect.ReviewSubmissionUpdateRequestDataAttributes? Type5615 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageCreateRequestDataAttributes? Type5616 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageType? Type5616 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageCreateRequestDataRelationships? Type5617 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageAttributes? Type5617 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageCreateRequestDataRelationshipsSubscription? Type5618 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageRelationships? Type5618 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageCreateRequestDataRelationshipsSubscriptionData? Type5619 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageRelationshipsAppStoreVersion? Type5619 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageCreateRequestDataRelationshipsSubscriptionDataType? Type5620 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageRelationshipsAppStoreVersionData? Type5620 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageUpdateRequest? Type5621 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageRelationshipsAppStoreVersionDataType? Type5621 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageUpdateRequestData? Type5622 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageResponse? Type5622 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageUpdateRequestDataType? Type5623 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageCreateRequest? Type5623 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageUpdateRequestDataAttributes? Type5624 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageCreateRequestData? Type5624 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2? Type5625 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataType? Type5625 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2Type? Type5626 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataAttributes? Type5626 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2Attributes? Type5627 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataRelationships? Type5627 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImagesV2Response? Type5628 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataRelationshipsAppStoreVersion? Type5628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5629 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataRelationshipsAppStoreVersionData? Type5629 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2Response? Type5630 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageCreateRequestDataRelationshipsAppStoreVersionDataType? Type5630 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2CreateRequest? Type5631 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageUpdateRequest? Type5631 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2CreateRequestData? Type5632 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageUpdateRequestData? Type5632 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataType? Type5633 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageUpdateRequestDataType? Type5633 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataAttributes? Type5634 { get; set; } + public global::AppStoreConnect.RoutingAppCoverageUpdateRequestDataAttributes? Type5634 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataRelationships? Type5635 { get; set; } + public global::AppStoreConnect.SandboxTesterV2? Type5635 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataRelationshipsVersion? Type5636 { get; set; } + public global::AppStoreConnect.SandboxTesterV2Type? Type5636 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataRelationshipsVersionData? Type5637 { get; set; } + public global::AppStoreConnect.SandboxTesterV2Attributes? Type5637 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataRelationshipsVersionDataType? Type5638 { get; set; } + public global::AppStoreConnect.SandboxTesterV2AttributesSubscriptionRenewalRate? Type5638 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2UpdateRequest? Type5639 { get; set; } + public global::AppStoreConnect.SandboxTestersV2Response? Type5639 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2UpdateRequestData? Type5640 { get; set; } + public global::System.Collections.Generic.IList? Type5640 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2UpdateRequestDataType? Type5641 { get; set; } + public global::AppStoreConnect.SandboxTesterV2Response? Type5641 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2UpdateRequestDataAttributes? Type5642 { get; set; } + public global::AppStoreConnect.SandboxTesterV2UpdateRequest? Type5642 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffer? Type5643 { get; set; } + public global::AppStoreConnect.SandboxTesterV2UpdateRequestData? Type5643 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferType? Type5644 { get; set; } + public global::AppStoreConnect.SandboxTesterV2UpdateRequestDataType? Type5644 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferAttributes? Type5645 { get; set; } + public global::AppStoreConnect.SandboxTesterV2UpdateRequestDataAttributes? Type5645 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferDuration? Type5646 { get; set; } + public global::AppStoreConnect.SandboxTesterV2UpdateRequestDataAttributesSubscriptionRenewalRate? Type5646 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferMode? Type5647 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2? Type5647 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanType? Type5648 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2Type? Type5648 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationships? Type5649 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2Response? Type5649 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscription? Type5650 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequest? Type5650 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionData? Type5651 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestData? Type5651 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionDataType? Type5652 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataType? Type5652 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsTerritory? Type5653 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataRelationships? Type5653 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsTerritoryData? Type5654 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataRelationshipsSandboxTesters? Type5654 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsTerritoryDataType? Type5655 { get; set; } + public global::System.Collections.Generic.IList? Type5655 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePoint? Type5656 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataRelationshipsSandboxTestersDataItem? Type5656 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePointData? Type5657 { get; set; } + public global::AppStoreConnect.SandboxTestersClearPurchaseHistoryRequestV2CreateRequestDataRelationshipsSandboxTestersDataItemType? Type5657 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePointDataType? Type5658 { get; set; } + public global::AppStoreConnect.ScmGitReferenceType? Type5658 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreate? Type5659 { get; set; } + public global::AppStoreConnect.ScmGitReferenceAttributes? Type5659 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateType? Type5660 { get; set; } + public global::AppStoreConnect.CiGitRefKind? Type5660 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateAttributes? Type5661 { get; set; } + public global::AppStoreConnect.ScmGitReferenceRelationships? Type5661 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationships? Type5662 { get; set; } + public global::AppStoreConnect.ScmGitReferenceRelationshipsRepository? Type5662 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscription? Type5663 { get; set; } + public global::AppStoreConnect.ScmGitReferenceRelationshipsRepositoryData? Type5663 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionData? Type5664 { get; set; } + public global::AppStoreConnect.ScmGitReferenceRelationshipsRepositoryDataType? Type5664 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionDataType? Type5665 { get; set; } + public global::AppStoreConnect.ScmGitReferencesResponse? Type5665 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsTerritory? Type5666 { get; set; } + public global::System.Collections.Generic.IList? Type5666 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsTerritoryData? Type5667 { get; set; } + public global::System.Collections.Generic.IList? Type5667 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsTerritoryDataType? Type5668 { get; set; } + public global::AppStoreConnect.ScmGitReferenceResponse? Type5668 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionPricePoint? Type5669 { get; set; } + public global::AppStoreConnect.ScmProvider? Type5669 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionPricePointData? Type5670 { get; set; } + public global::AppStoreConnect.ScmProviderType? Type5670 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionPricePointDataType? Type5671 { get; set; } + public global::AppStoreConnect.ScmProviderAttributes? Type5671 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersResponse? Type5672 { get; set; } + public global::AppStoreConnect.ScmProviderType2? Type5672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5673 { get; set; } + public global::AppStoreConnect.ScmProviderRelationships? Type5673 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5674 { get; set; } + public global::AppStoreConnect.ScmProviderRelationshipsRepositories? Type5674 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem164? Type5675 { get; set; } + public global::AppStoreConnect.ScmProvidersResponse? Type5675 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePoint? Type5676 { get; set; } + public global::System.Collections.Generic.IList? Type5676 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminator? Type5677 { get; set; } + public global::AppStoreConnect.ScmProviderResponse? Type5677 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType? Type5678 { get; set; } + public global::AppStoreConnect.ScmPullRequestType? Type5678 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferResponse? Type5679 { get; set; } + public global::AppStoreConnect.ScmPullRequestAttributes? Type5679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5680 { get; set; } + public global::AppStoreConnect.ScmPullRequestRelationships? Type5680 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem165? Type5681 { get; set; } + public global::AppStoreConnect.ScmPullRequestRelationshipsRepository? Type5681 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminator? Type5682 { get; set; } + public global::AppStoreConnect.ScmPullRequestRelationshipsRepositoryData? Type5682 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType? Type5683 { get; set; } + public global::AppStoreConnect.ScmPullRequestRelationshipsRepositoryDataType? Type5683 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequest? Type5684 { get; set; } + public global::AppStoreConnect.ScmPullRequestsResponse? Type5684 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestData? Type5685 { get; set; } + public global::System.Collections.Generic.IList? Type5685 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataType? Type5686 { get; set; } + public global::AppStoreConnect.ScmPullRequestResponse? Type5686 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataAttributes? Type5687 { get; set; } + public global::AppStoreConnect.ScmRepositoryType? Type5687 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationships? Type5688 { get; set; } + public global::AppStoreConnect.ScmRepositoryAttributes? Type5688 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscription? Type5689 { get; set; } + public global::AppStoreConnect.ScmRepositoryRelationships? Type5689 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionData? Type5690 { get; set; } + public global::AppStoreConnect.ScmRepositoryRelationshipsScmProvider? Type5690 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionDataType? Type5691 { get; set; } + public global::AppStoreConnect.ScmRepositoryRelationshipsScmProviderData? Type5691 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsTerritory? Type5692 { get; set; } + public global::AppStoreConnect.ScmRepositoryRelationshipsScmProviderDataType? Type5692 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsTerritoryData? Type5693 { get; set; } + public global::AppStoreConnect.ScmRepositoryRelationshipsDefaultBranch? Type5693 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsTerritoryDataType? Type5694 { get; set; } + public global::AppStoreConnect.ScmRepositoryRelationshipsDefaultBranchData? Type5694 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionPricePoint? Type5695 { get; set; } + public global::AppStoreConnect.ScmRepositoryRelationshipsDefaultBranchDataType? Type5695 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionPricePointData? Type5696 { get; set; } + public global::AppStoreConnect.ScmRepositoryRelationshipsGitReferences? Type5696 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionPricePointDataType? Type5697 { get; set; } + public global::AppStoreConnect.ScmRepositoryRelationshipsPullRequests? Type5697 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5698 { get; set; } + public global::AppStoreConnect.ScmRepositoriesResponse? Type5698 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointInlineCreate? Type5699 { get; set; } + public global::System.Collections.Generic.IList? Type5699 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferUpdateRequest? Type5700 { get; set; } + public global::AppStoreConnect.IncludedItem160? Type5700 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferUpdateRequestData? Type5701 { get; set; } + public global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminator? Type5701 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferUpdateRequestDataType? Type5702 { get; set; } + public global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType? Type5702 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferUpdateRequestDataAttributes? Type5703 { get; set; } + public global::AppStoreConnect.ScmRepositoryResponse? Type5703 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2? Type5704 { get; set; } + public global::System.Collections.Generic.IList? Type5704 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2Type? Type5705 { get; set; } + public global::AppStoreConnect.IncludedItem161? Type5705 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2Attributes? Type5706 { get; set; } + public global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminator? Type5706 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2Relationships? Type5707 { get; set; } + public global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType? Type5707 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2RelationshipsVersion? Type5708 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? Type5708 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2RelationshipsVersionData? Type5709 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotType? Type5709 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2RelationshipsVersionDataType? Type5710 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotAttributes? Type5710 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationsV2Response? Type5711 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotRelationships? Type5711 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5712 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotRelationshipsSubscription? Type5712 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5713 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotRelationshipsSubscriptionData? Type5713 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2Response? Type5714 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotRelationshipsSubscriptionDataType? Type5714 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequest? Type5715 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotResponse? Type5715 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestData? Type5716 { get; set; } + public global::System.Collections.Generic.IList? Type5716 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataType? Type5717 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequest? Type5717 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataAttributes? Type5718 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestData? Type5718 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataRelationships? Type5719 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataType? Type5719 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataRelationshipsVersion? Type5720 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataAttributes? Type5720 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataRelationshipsVersionData? Type5721 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataRelationships? Type5721 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type5722 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataRelationshipsSubscription? Type5722 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2UpdateRequest? Type5723 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataRelationshipsSubscriptionData? Type5723 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2UpdateRequestData? Type5724 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotCreateRequestDataRelationshipsSubscriptionDataType? Type5724 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2UpdateRequestDataType? Type5725 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotUpdateRequest? Type5725 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationV2UpdateRequestDataAttributes? Type5726 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotUpdateRequestData? Type5726 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalization? Type5727 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotUpdateRequestDataType? Type5727 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationType? Type5728 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotUpdateRequestDataAttributes? Type5728 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationAttributes? Type5729 { get; set; } + public global::AppStoreConnect.SubscriptionAvailability? Type5729 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationAttributesState? Type5730 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityType? Type5730 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationRelationships? Type5731 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityAttributes? Type5731 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationRelationshipsSubscription? Type5732 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityRelationships? Type5732 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationRelationshipsSubscriptionData? Type5733 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityRelationshipsAvailableTerritories? Type5733 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationRelationshipsSubscriptionDataType? Type5734 { get; set; } + public global::System.Collections.Generic.IList? Type5734 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationsResponse? Type5735 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityRelationshipsAvailableTerritoriesDataItem? Type5735 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5736 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityRelationshipsAvailableTerritoriesDataItemType? Type5736 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationResponse? Type5737 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityResponse? Type5737 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationCreateRequest? Type5738 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequest? Type5738 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationCreateRequestData? Type5739 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestData? Type5739 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataType? Type5740 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataType? Type5740 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataAttributes? Type5741 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataAttributes? Type5741 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataRelationships? Type5742 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationships? Type5742 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataRelationshipsSubscription? Type5743 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsSubscription? Type5743 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataRelationshipsSubscriptionData? Type5744 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsSubscriptionData? Type5744 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataRelationshipsSubscriptionDataType? Type5745 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsSubscriptionDataType? Type5745 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationUpdateRequest? Type5746 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsAvailableTerritories? Type5746 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationUpdateRequestData? Type5747 { get; set; } + public global::System.Collections.Generic.IList? Type5747 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationUpdateRequestDataType? Type5748 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItem? Type5748 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationUpdateRequestDataAttributes? Type5749 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItemType? Type5749 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? Type5750 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodType? Type5750 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeType? Type5751 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodAttributes? Type5751 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeAttributes? Type5752 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodDuration? Type5752 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeRelationships? Type5753 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodAttributesRenewalType? Type5753 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeRelationshipsOfferCode? Type5754 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodResponse? Type5754 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeRelationshipsOfferCodeData? Type5755 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequest? Type5755 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeRelationshipsOfferCodeDataType? Type5756 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequestData? Type5756 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesResponse? Type5757 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequestDataType? Type5757 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5758 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequestDataAttributes? Type5758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5759 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodUpdateRequestDataAttributesRenewalType? Type5759 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCode? Type5760 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2? Type5760 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeResponse? Type5761 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2Type? Type5761 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequest? Type5762 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2Attributes? Type5762 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestData? Type5763 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2Relationships? Type5763 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataType? Type5764 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2RelationshipsVersion? Type5764 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataAttributes? Type5765 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2RelationshipsVersionData? Type5765 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataRelationships? Type5766 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2RelationshipsVersionDataType? Type5766 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCode? Type5767 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationsV2Response? Type5767 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCodeData? Type5768 { get; set; } + public global::System.Collections.Generic.IList? Type5768 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCodeDataType? Type5769 { get; set; } + public global::System.Collections.Generic.IList? Type5769 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeUpdateRequest? Type5770 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2Response? Type5770 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeUpdateRequestData? Type5771 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequest? Type5771 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeUpdateRequestDataType? Type5772 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestData? Type5772 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeUpdateRequestDataAttributes? Type5773 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataType? Type5773 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValue? Type5774 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataAttributes? Type5774 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValueType? Type5775 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataRelationships? Type5775 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? Type5776 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataRelationshipsVersion? Type5776 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeType? Type5777 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataRelationshipsVersionData? Type5777 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeAttributes? Type5778 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type5778 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationships? Type5779 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2UpdateRequest? Type5779 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationshipsOfferCode? Type5780 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2UpdateRequestData? Type5780 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationshipsOfferCodeData? Type5781 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2UpdateRequestDataType? Type5781 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationshipsOfferCodeDataType? Type5782 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2UpdateRequestDataAttributes? Type5782 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationshipsValues? Type5783 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalization? Type5783 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesResponse? Type5784 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationType? Type5784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5785 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationAttributes? Type5785 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeResponse? Type5786 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationAttributesState? Type5786 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequest? Type5787 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationRelationships? Type5787 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestData? Type5788 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationRelationshipsSubscriptionGroup? Type5788 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataType? Type5789 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationRelationshipsSubscriptionGroupData? Type5789 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataAttributes? Type5790 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationRelationshipsSubscriptionGroupDataType? Type5790 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataRelationships? Type5791 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationsResponse? Type5791 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCode? Type5792 { get; set; } + public global::System.Collections.Generic.IList? Type5792 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCodeData? Type5793 { get; set; } + public global::System.Collections.Generic.IList? Type5793 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCodeDataType? Type5794 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationResponse? Type5794 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeUpdateRequest? Type5795 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequest? Type5795 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeUpdateRequestData? Type5796 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestData? Type5796 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeUpdateRequestDataType? Type5797 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataType? Type5797 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeUpdateRequestDataAttributes? Type5798 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataAttributes? Type5798 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePrice? Type5799 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataRelationships? Type5799 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceType? Type5800 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataRelationshipsSubscriptionGroup? Type5800 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceRelationships? Type5801 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataRelationshipsSubscriptionGroupData? Type5801 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsTerritory? Type5802 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationCreateRequestDataRelationshipsSubscriptionGroupDataType? Type5802 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsTerritoryData? Type5803 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationUpdateRequest? Type5803 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsTerritoryDataType? Type5804 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationUpdateRequestData? Type5804 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsSubscriptionPricePoint? Type5805 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationUpdateRequestDataType? Type5805 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsSubscriptionPricePointData? Type5806 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationUpdateRequestDataAttributes? Type5806 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsSubscriptionPricePointDataType? Type5807 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmission? Type5807 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreate? Type5808 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmissionType? Type5808 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateType? Type5809 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmissionResponse? Type5809 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationships? Type5810 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequest? Type5810 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsTerritory? Type5811 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestData? Type5811 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsTerritoryData? Type5812 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataType? Type5812 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsTerritoryDataType? Type5813 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataRelationships? Type5813 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsSubscriptionPricePoint? Type5814 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataRelationshipsSubscriptionGroup? Type5814 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsSubscriptionPricePointData? Type5815 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataRelationshipsSubscriptionGroupData? Type5815 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsSubscriptionPricePointDataType? Type5816 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubmissionCreateRequestDataRelationshipsSubscriptionGroupDataType? Type5816 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePricesResponse? Type5817 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionType? Type5817 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5818 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionAttributes? Type5818 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5819 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionAttributesState? Type5819 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem166? Type5820 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionRelationships? Type5820 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminator? Type5821 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsSubscriptionGroup? Type5821 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType? Type5822 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsSubscriptionGroupData? Type5822 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeType? Type5823 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsSubscriptionGroupDataType? Type5823 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeAttributes? Type5824 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsLocalizations? Type5824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5825 { get; set; } + public global::System.Collections.Generic.IList? Type5825 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCustomerEligibility? Type5826 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsLocalizationsDataItem? Type5826 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferEligibility? Type5827 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionRelationshipsLocalizationsDataItemType? Type5827 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationships? Type5828 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsResponse? Type5828 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsSubscription? Type5829 { get; set; } + public global::System.Collections.Generic.IList? Type5829 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsSubscriptionData? Type5830 { get; set; } + public global::AppStoreConnect.IncludedItem162? Type5830 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsSubscriptionDataType? Type5831 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminator? Type5831 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsOneTimeUseCodes? Type5832 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType? Type5832 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5833 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionResponse? Type5833 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsOneTimeUseCodesDataItem? Type5834 { get; set; } + public global::System.Collections.Generic.IList? Type5834 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsOneTimeUseCodesDataItemType? Type5835 { get; set; } + public global::AppStoreConnect.IncludedItem163? Type5835 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsCustomCodes? Type5836 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminator? Type5836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5837 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType? Type5837 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsCustomCodesDataItem? Type5838 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionCreateRequest? Type5838 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsCustomCodesDataItemType? Type5839 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestData? Type5839 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsPrices? Type5840 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataType? Type5840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5841 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataRelationships? Type5841 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsPricesDataItem? Type5842 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataRelationshipsSubscriptionGroup? Type5842 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsPricesDataItemType? Type5843 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataRelationshipsSubscriptionGroupData? Type5843 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesResponse? Type5844 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionCreateRequestDataRelationshipsSubscriptionGroupDataType? Type5844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5845 { get; set; } + public global::AppStoreConnect.SubscriptionGroupType? Type5845 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem167? Type5846 { get; set; } + public global::AppStoreConnect.SubscriptionGroupAttributes? Type5846 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminator? Type5847 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationships? Type5847 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType? Type5848 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptions? Type5848 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeResponse? Type5849 { get; set; } + public global::System.Collections.Generic.IList? Type5849 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5850 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionsDataItem? Type5850 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem168? Type5851 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionsDataItemType? Type5851 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminator? Type5852 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionGroupLocalizations? Type5852 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType? Type5853 { get; set; } + public global::System.Collections.Generic.IList? Type5853 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequest? Type5854 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionGroupLocalizationsDataItem? Type5854 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestData? Type5855 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionGroupLocalizationsDataItemType? Type5855 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataType? Type5856 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationshipsVersions? Type5856 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataAttributes? Type5857 { get; set; } + public global::System.Collections.Generic.IList? Type5857 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationships? Type5858 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationshipsVersionsDataItem? Type5858 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsSubscription? Type5859 { get; set; } + public global::AppStoreConnect.SubscriptionGroupRelationshipsVersionsDataItemType? Type5859 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsSubscriptionData? Type5860 { get; set; } + public global::AppStoreConnect.SubscriptionGroupsResponse? Type5860 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsSubscriptionDataType? Type5861 { get; set; } + public global::System.Collections.Generic.IList? Type5861 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsPrices? Type5862 { get; set; } + public global::AppStoreConnect.IncludedItem164? Type5862 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5863 { get; set; } + public global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminator? Type5863 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsPricesDataItem? Type5864 { get; set; } + public global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType? Type5864 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsPricesDataItemType? Type5865 { get; set; } + public global::AppStoreConnect.SubscriptionGroupResponse? Type5865 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5866 { get; set; } + public global::System.Collections.Generic.IList? Type5866 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeUpdateRequest? Type5867 { get; set; } + public global::AppStoreConnect.IncludedItem165? Type5867 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeUpdateRequestData? Type5868 { get; set; } + public global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminator? Type5868 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeUpdateRequestDataType? Type5869 { get; set; } + public global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType? Type5869 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeUpdateRequestDataAttributes? Type5870 { get; set; } + public global::AppStoreConnect.SubscriptionGroupCreateRequest? Type5870 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailability? Type5871 { get; set; } + public global::AppStoreConnect.SubscriptionGroupCreateRequestData? Type5871 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityType? Type5872 { get; set; } + public global::AppStoreConnect.SubscriptionGroupCreateRequestDataType? Type5872 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityAttributes? Type5873 { get; set; } + public global::AppStoreConnect.SubscriptionGroupCreateRequestDataAttributes? Type5873 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityRelationships? Type5874 { get; set; } + public global::AppStoreConnect.SubscriptionGroupCreateRequestDataRelationships? Type5874 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityRelationshipsAvailableTerritories? Type5875 { get; set; } + public global::AppStoreConnect.SubscriptionGroupCreateRequestDataRelationshipsApp? Type5875 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5876 { get; set; } + public global::AppStoreConnect.SubscriptionGroupCreateRequestDataRelationshipsAppData? Type5876 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityRelationshipsAvailableTerritoriesDataItem? Type5877 { get; set; } + public global::AppStoreConnect.SubscriptionGroupCreateRequestDataRelationshipsAppDataType? Type5877 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityRelationshipsAvailableTerritoriesDataItemType? Type5878 { get; set; } + public global::AppStoreConnect.SubscriptionGroupUpdateRequest? Type5878 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilitiesResponse? Type5879 { get; set; } + public global::AppStoreConnect.SubscriptionGroupUpdateRequestData? Type5879 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5880 { get; set; } + public global::AppStoreConnect.SubscriptionGroupUpdateRequestDataType? Type5880 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityResponse? Type5881 { get; set; } + public global::AppStoreConnect.SubscriptionGroupUpdateRequestDataAttributes? Type5881 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequest? Type5882 { get; set; } + public global::AppStoreConnect.SubscriptionImage? Type5882 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestData? Type5883 { get; set; } + public global::AppStoreConnect.SubscriptionImageType? Type5883 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataType? Type5884 { get; set; } + public global::AppStoreConnect.SubscriptionImageAttributes? Type5884 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataAttributes? Type5885 { get; set; } + public global::AppStoreConnect.SubscriptionImageAttributesState? Type5885 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationships? Type5886 { get; set; } + public global::AppStoreConnect.SubscriptionImageRelationships? Type5886 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsAvailableTerritories? Type5887 { get; set; } + public global::AppStoreConnect.SubscriptionImageRelationshipsSubscription? Type5887 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5888 { get; set; } + public global::AppStoreConnect.SubscriptionImageRelationshipsSubscriptionData? Type5888 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItem? Type5889 { get; set; } + public global::AppStoreConnect.SubscriptionImageRelationshipsSubscriptionDataType? Type5889 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItemType? Type5890 { get; set; } + public global::AppStoreConnect.SubscriptionImagesResponse? Type5890 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsSubscription? Type5891 { get; set; } + public global::System.Collections.Generic.IList? Type5891 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsSubscriptionData? Type5892 { get; set; } + public global::AppStoreConnect.SubscriptionImageResponse? Type5892 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsSubscriptionDataType? Type5893 { get; set; } + public global::AppStoreConnect.SubscriptionImageCreateRequest? Type5893 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequest? Type5894 { get; set; } + public global::AppStoreConnect.SubscriptionImageCreateRequestData? Type5894 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestData? Type5895 { get; set; } + public global::AppStoreConnect.SubscriptionImageCreateRequestDataType? Type5895 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataType? Type5896 { get; set; } + public global::AppStoreConnect.SubscriptionImageCreateRequestDataAttributes? Type5896 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataAttributes? Type5897 { get; set; } + public global::AppStoreConnect.SubscriptionImageCreateRequestDataRelationships? Type5897 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataRelationships? Type5898 { get; set; } + public global::AppStoreConnect.SubscriptionImageCreateRequestDataRelationshipsSubscription? Type5898 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataRelationshipsAvailableTerritories? Type5899 { get; set; } + public global::AppStoreConnect.SubscriptionImageCreateRequestDataRelationshipsSubscriptionData? Type5899 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5900 { get; set; } + public global::AppStoreConnect.SubscriptionImageCreateRequestDataRelationshipsSubscriptionDataType? Type5900 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataRelationshipsAvailableTerritoriesDataItem? Type5901 { get; set; } + public global::AppStoreConnect.SubscriptionImageUpdateRequest? Type5901 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataRelationshipsAvailableTerritoriesDataItemType? Type5902 { get; set; } + public global::AppStoreConnect.SubscriptionImageUpdateRequestData? Type5902 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointType? Type5903 { get; set; } + public global::AppStoreConnect.SubscriptionImageUpdateRequestDataType? Type5903 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointAttributes? Type5904 { get; set; } + public global::AppStoreConnect.SubscriptionImageUpdateRequestDataAttributes? Type5904 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointRelationships? Type5905 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2? Type5905 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointRelationshipsTerritory? Type5906 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2Type? Type5906 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointRelationshipsTerritoryData? Type5907 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2Attributes? Type5907 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointRelationshipsTerritoryDataType? Type5908 { get; set; } + public global::AppStoreConnect.SubscriptionImagesV2Response? Type5908 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointRelationshipsEqualizations? Type5909 { get; set; } + public global::System.Collections.Generic.IList? Type5909 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointRelationshipsAdjustedEqualizations? Type5910 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2Response? Type5910 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointInlineCreateType? Type5911 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2CreateRequest? Type5911 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsResponse? Type5912 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2CreateRequestData? Type5912 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5913 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataType? Type5913 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointResponse? Type5914 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataAttributes? Type5914 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPrice? Type5915 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataRelationships? Type5915 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceType? Type5916 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataRelationshipsVersion? Type5916 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceAttributes? Type5917 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataRelationshipsVersionData? Type5917 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceRelationships? Type5918 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2CreateRequestDataRelationshipsVersionDataType? Type5918 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceRelationshipsTerritory? Type5919 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2UpdateRequest? Type5919 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceRelationshipsTerritoryData? Type5920 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2UpdateRequestData? Type5920 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceRelationshipsTerritoryDataType? Type5921 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2UpdateRequestDataType? Type5921 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceRelationshipsSubscriptionPricePoint? Type5922 { get; set; } + public global::AppStoreConnect.SubscriptionImageV2UpdateRequestDataAttributes? Type5922 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceRelationshipsSubscriptionPricePointData? Type5923 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffer? Type5923 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceRelationshipsSubscriptionPricePointDataType? Type5924 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferType? Type5924 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreate? Type5925 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferAttributes? Type5925 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateType? Type5926 { get; set; } + public global::AppStoreConnect.SubscriptionOfferDuration? Type5926 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateAttributes? Type5927 { get; set; } + public global::AppStoreConnect.SubscriptionOfferMode? Type5927 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationships? Type5928 { get; set; } + public global::AppStoreConnect.SubscriptionPlanType? Type5928 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscription? Type5929 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationships? Type5929 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionData? Type5930 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscription? Type5930 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionDataType? Type5931 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionData? Type5931 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsTerritory? Type5932 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionDataType? Type5932 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsTerritoryData? Type5933 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsTerritory? Type5933 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsTerritoryDataType? Type5934 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsTerritoryData? Type5934 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionPricePoint? Type5935 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsTerritoryDataType? Type5935 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionPricePointData? Type5936 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePoint? Type5936 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionPricePointDataType? Type5937 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePointData? Type5937 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricesResponse? Type5938 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePointDataType? Type5938 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5939 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreate? Type5939 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5940 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateType? Type5940 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem169? Type5941 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateAttributes? Type5941 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminator? Type5942 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationships? Type5942 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType? Type5943 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscription? Type5943 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceResponse? Type5944 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionData? Type5944 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5945 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionDataType? Type5945 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem170? Type5946 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsTerritory? Type5946 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminator? Type5947 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsTerritoryData? Type5947 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType? Type5948 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsTerritoryDataType? Type5948 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequest? Type5949 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionPricePoint? Type5949 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestData? Type5950 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionPricePointData? Type5950 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataType? Type5951 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferInlineCreateRelationshipsSubscriptionPricePointDataType? Type5951 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataAttributes? Type5952 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersResponse? Type5952 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationships? Type5953 { get; set; } + public global::System.Collections.Generic.IList? Type5953 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscription? Type5954 { get; set; } + public global::System.Collections.Generic.IList? Type5954 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionData? Type5955 { get; set; } + public global::AppStoreConnect.IncludedItem166? Type5955 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionDataType? Type5956 { get; set; } + public global::AppStoreConnect.SubscriptionPricePoint? Type5956 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsTerritory? Type5957 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminator? Type5957 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsTerritoryData? Type5958 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType? Type5958 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsTerritoryDataType? Type5959 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferResponse? Type5959 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionPricePoint? Type5960 { get; set; } + public global::System.Collections.Generic.IList? Type5960 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionPricePointData? Type5961 { get; set; } + public global::AppStoreConnect.IncludedItem167? Type5961 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionPricePointDataType? Type5962 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminator? Type5962 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? Type5963 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType? Type5963 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceType? Type5964 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequest? Type5964 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationships? Type5965 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestData? Type5965 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsTerritory? Type5966 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataType? Type5966 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsTerritoryData? Type5967 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataAttributes? Type5967 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsTerritoryDataType? Type5968 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationships? Type5968 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePoint? Type5969 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscription? Type5969 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePointData? Type5970 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionData? Type5970 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePointDataType? Type5971 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionDataType? Type5971 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreate? Type5972 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsTerritory? Type5972 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateType? Type5973 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsTerritoryData? Type5973 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationships? Type5974 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsTerritoryDataType? Type5974 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsTerritory? Type5975 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionPricePoint? Type5975 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsTerritoryData? Type5976 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionPricePointData? Type5976 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsTerritoryDataType? Type5977 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferCreateRequestDataRelationshipsSubscriptionPricePointDataType? Type5977 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsSubscriptionPricePoint? Type5978 { get; set; } + public global::System.Collections.Generic.IList? Type5978 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsSubscriptionPricePointData? Type5979 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointInlineCreate? Type5979 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsSubscriptionPricePointDataType? Type5980 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferUpdateRequest? Type5980 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponse? Type5981 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferUpdateRequestData? Type5981 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5982 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferUpdateRequestDataType? Type5982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5983 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferUpdateRequestDataAttributes? Type5983 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem171? Type5984 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2? Type5984 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminator? Type5985 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2Type? Type5985 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType? Type5986 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2Attributes? Type5986 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffer? Type5987 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2Relationships? Type5987 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferType? Type5988 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2RelationshipsVersion? Type5988 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferAttributes? Type5989 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2RelationshipsVersionData? Type5989 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferRelationships? Type5990 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2RelationshipsVersionDataType? Type5990 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsSubscription? Type5991 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationsV2Response? Type5991 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsSubscriptionData? Type5992 { get; set; } + public global::System.Collections.Generic.IList? Type5992 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsSubscriptionDataType? Type5993 { get; set; } + public global::System.Collections.Generic.IList? Type5993 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsPrices? Type5994 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2Response? Type5994 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5995 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequest? Type5995 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsPricesDataItem? Type5996 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestData? Type5996 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsPricesDataItemType? Type5997 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataType? Type5997 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreate? Type5998 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataAttributes? Type5998 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateType? Type5999 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataRelationships? Type5999 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateAttributes? Type6000 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataRelationshipsVersion? Type6000 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationships? Type6001 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataRelationshipsVersionData? Type6001 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsSubscription? Type6002 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2CreateRequestDataRelationshipsVersionDataType? Type6002 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsSubscriptionData? Type6003 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2UpdateRequest? Type6003 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsSubscriptionDataType? Type6004 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2UpdateRequestData? Type6004 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsPrices? Type6005 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2UpdateRequestDataType? Type6005 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6006 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationV2UpdateRequestDataAttributes? Type6006 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsPricesDataItem? Type6007 { get; set; } + public global::AppStoreConnect.SubscriptionLocalization? Type6007 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsPricesDataItemType? Type6008 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationType? Type6008 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersResponse? Type6009 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationAttributes? Type6009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6010 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationAttributesState? Type6010 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6011 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationRelationships? Type6011 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem172? Type6012 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationRelationshipsSubscription? Type6012 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminator? Type6013 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationRelationshipsSubscriptionData? Type6013 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType? Type6014 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationRelationshipsSubscriptionDataType? Type6014 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferResponse? Type6015 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationsResponse? Type6015 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6016 { get; set; } + public global::System.Collections.Generic.IList? Type6016 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem173? Type6017 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationResponse? Type6017 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminator? Type6018 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationCreateRequest? Type6018 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType? Type6019 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationCreateRequestData? Type6019 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequest? Type6020 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataType? Type6020 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestData? Type6021 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataAttributes? Type6021 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataType? Type6022 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataRelationships? Type6022 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataAttributes? Type6023 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataRelationshipsSubscription? Type6023 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationships? Type6024 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataRelationshipsSubscriptionData? Type6024 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsSubscription? Type6025 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationCreateRequestDataRelationshipsSubscriptionDataType? Type6025 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsSubscriptionData? Type6026 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationUpdateRequest? Type6026 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsSubscriptionDataType? Type6027 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationUpdateRequestData? Type6027 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsPrices? Type6028 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationUpdateRequestDataType? Type6028 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6029 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationUpdateRequestDataAttributes? Type6029 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsPricesDataItem? Type6030 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? Type6030 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsPricesDataItemType? Type6031 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeType? Type6031 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6032 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeAttributes? Type6032 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequest? Type6033 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeRelationships? Type6033 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestData? Type6034 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeRelationshipsOfferCode? Type6034 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataType? Type6035 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeRelationshipsOfferCodeData? Type6035 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataRelationships? Type6036 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeRelationshipsOfferCodeDataType? Type6036 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataRelationshipsPrices? Type6037 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesResponse? Type6037 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6038 { get; set; } + public global::System.Collections.Generic.IList? Type6038 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataRelationshipsPricesDataItem? Type6039 { get; set; } + public global::System.Collections.Generic.IList? Type6039 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataRelationshipsPricesDataItemType? Type6040 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCode? Type6040 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmission? Type6041 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeResponse? Type6041 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionType? Type6042 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequest? Type6042 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionRelationships? Type6043 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestData? Type6043 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionRelationshipsSubscription? Type6044 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataType? Type6044 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionRelationshipsSubscriptionData? Type6045 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataAttributes? Type6045 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionRelationshipsSubscriptionDataType? Type6046 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataRelationships? Type6046 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionResponse? Type6047 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCode? Type6047 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionCreateRequest? Type6048 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCodeData? Type6048 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionCreateRequestData? Type6049 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeCreateRequestDataRelationshipsOfferCodeDataType? Type6049 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataType? Type6050 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeUpdateRequest? Type6050 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataRelationships? Type6051 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeUpdateRequestData? Type6051 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataRelationshipsSubscription? Type6052 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeUpdateRequestDataType? Type6052 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataRelationshipsSubscriptionData? Type6053 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodeUpdateRequestDataAttributes? Type6053 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataRelationshipsSubscriptionDataType? Type6054 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValue? Type6054 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionType? Type6055 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValueType? Type6055 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionAttributes? Type6056 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? Type6056 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionAttributesState? Type6057 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeType? Type6057 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationships? Type6058 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeAttributes? Type6058 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsSubscription? Type6059 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationships? Type6059 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsSubscriptionData? Type6060 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationshipsOfferCode? Type6060 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsSubscriptionDataType? Type6061 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationshipsOfferCodeData? Type6061 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsImage? Type6062 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationshipsOfferCodeDataType? Type6062 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsImageData? Type6063 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeRelationshipsValues? Type6063 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsImageDataType? Type6064 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesResponse? Type6064 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsImages? Type6065 { get; set; } + public global::System.Collections.Generic.IList? Type6065 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6066 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeResponse? Type6066 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsImagesDataItem? Type6067 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequest? Type6067 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsImagesDataItemType? Type6068 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestData? Type6068 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsLocalizations? Type6069 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataType? Type6069 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6070 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataAttributes? Type6070 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsLocalizationsDataItem? Type6071 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataRelationships? Type6071 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionRelationshipsLocalizationsDataItemType? Type6072 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCode? Type6072 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsResponse? Type6073 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCodeData? Type6073 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6074 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeCreateRequestDataRelationshipsOfferCodeDataType? Type6074 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem174? Type6075 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeUpdateRequest? Type6075 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminator? Type6076 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeUpdateRequestData? Type6076 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType? Type6077 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeUpdateRequestDataType? Type6077 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionResponse? Type6078 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeUpdateRequestDataAttributes? Type6078 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6079 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePrice? Type6079 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem175? Type6080 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceType? Type6080 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminator? Type6081 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceRelationships? Type6081 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType? Type6082 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsTerritory? Type6082 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionCreateRequest? Type6083 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsTerritoryData? Type6083 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionCreateRequestData? Type6084 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsTerritoryDataType? Type6084 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionCreateRequestDataType? Type6085 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsSubscriptionPricePoint? Type6085 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionCreateRequestDataRelationships? Type6086 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsSubscriptionPricePointData? Type6086 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionCreateRequestDataRelationshipsSubscription? Type6087 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsSubscriptionPricePointDataType? Type6087 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionCreateRequestDataRelationshipsSubscriptionData? Type6088 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreate? Type6088 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionCreateRequestDataRelationshipsSubscriptionDataType? Type6089 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateType? Type6089 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionType? Type6090 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationships? Type6090 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAttributes? Type6091 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsTerritory? Type6091 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAttributesState? Type6092 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsTerritoryData? Type6092 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAttributesSubscriptionPeriod? Type6093 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsTerritoryDataType? Type6093 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAttributesMultiSeatStatus? Type6094 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsSubscriptionPricePoint? Type6094 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6095 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsSubscriptionPricePointData? Type6095 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAttributesMarketSetting? Type6096 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePriceInlineCreateRelationshipsSubscriptionPricePointDataType? Type6096 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationships? Type6097 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePricesResponse? Type6097 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionLocalizations? Type6098 { get; set; } + public global::System.Collections.Generic.IList? Type6098 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6099 { get; set; } + public global::System.Collections.Generic.IList? Type6099 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionLocalizationsDataItem? Type6100 { get; set; } + public global::AppStoreConnect.IncludedItem168? Type6100 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionLocalizationsDataItemType? Type6101 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminator? Type6101 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsAppStoreReviewScreenshot? Type6102 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType? Type6102 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsAppStoreReviewScreenshotData? Type6103 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeType? Type6103 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsAppStoreReviewScreenshotDataType? Type6104 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeAttributes? Type6104 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsGroup? Type6105 { get; set; } + public global::System.Collections.Generic.IList? Type6105 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsGroupData? Type6106 { get; set; } + public global::AppStoreConnect.SubscriptionCustomerEligibility? Type6106 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsGroupDataType? Type6107 { get; set; } + public global::AppStoreConnect.SubscriptionOfferEligibility? Type6107 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsIntroductoryOffers? Type6108 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationships? Type6108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6109 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsSubscription? Type6109 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsIntroductoryOffersDataItem? Type6110 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsSubscriptionData? Type6110 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsIntroductoryOffersDataItemType? Type6111 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsSubscriptionDataType? Type6111 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPromotionalOffers? Type6112 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsOneTimeUseCodes? Type6112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6113 { get; set; } + public global::System.Collections.Generic.IList? Type6113 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPromotionalOffersDataItem? Type6114 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsOneTimeUseCodesDataItem? Type6114 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPromotionalOffersDataItemType? Type6115 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsOneTimeUseCodesDataItemType? Type6115 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsOfferCodes? Type6116 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsCustomCodes? Type6116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6117 { get; set; } + public global::System.Collections.Generic.IList? Type6117 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsOfferCodesDataItem? Type6118 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsCustomCodesDataItem? Type6118 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsOfferCodesDataItemType? Type6119 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsCustomCodesDataItemType? Type6119 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPrices? Type6120 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsPrices? Type6120 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6121 { get; set; } + public global::System.Collections.Generic.IList? Type6121 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPricesDataItem? Type6122 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsPricesDataItem? Type6122 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPricesDataItemType? Type6123 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeRelationshipsPricesDataItemType? Type6123 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPricePoints? Type6124 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesResponse? Type6124 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPromotedPurchase? Type6125 { get; set; } + public global::System.Collections.Generic.IList? Type6125 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPromotedPurchaseData? Type6126 { get; set; } + public global::AppStoreConnect.IncludedItem169? Type6126 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPromotedPurchaseDataType? Type6127 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminator? Type6127 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionAvailability? Type6128 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType? Type6128 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionAvailabilityData? Type6129 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeResponse? Type6129 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionAvailabilityDataType? Type6130 { get; set; } + public global::System.Collections.Generic.IList? Type6130 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsWinBackOffers? Type6131 { get; set; } + public global::AppStoreConnect.IncludedItem170? Type6131 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6132 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminator? Type6132 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsWinBackOffersDataItem? Type6133 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType? Type6133 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsWinBackOffersDataItemType? Type6134 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequest? Type6134 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsImages? Type6135 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestData? Type6135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6136 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataType? Type6136 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsImagesDataItem? Type6137 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataAttributes? Type6137 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsImagesDataItemType? Type6138 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationships? Type6138 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPlanAvailabilities? Type6139 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsSubscription? Type6139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6140 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsSubscriptionData? Type6140 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPlanAvailabilitiesDataItem? Type6141 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsSubscriptionDataType? Type6141 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsPlanAvailabilitiesDataItemType? Type6142 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsPrices? Type6142 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsVersions? Type6143 { get; set; } + public global::System.Collections.Generic.IList? Type6143 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6144 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsPricesDataItem? Type6144 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsVersionsDataItem? Type6145 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCreateRequestDataRelationshipsPricesDataItemType? Type6145 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionRelationshipsVersionsDataItemType? Type6146 { get; set; } + public global::System.Collections.Generic.IList? Type6146 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsResponse? Type6147 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeUpdateRequest? Type6147 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6148 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeUpdateRequestData? Type6148 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem176? Type6149 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeUpdateRequestDataType? Type6149 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOffer? Type6150 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeUpdateRequestDataAttributes? Type6150 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminator? Type6151 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailability? Type6151 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType? Type6152 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityType? Type6152 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionResponse? Type6153 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityAttributes? Type6153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6154 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityRelationships? Type6154 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem177? Type6155 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityRelationshipsAvailableTerritories? Type6155 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminator? Type6156 { get; set; } + public global::System.Collections.Generic.IList? Type6156 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType? Type6157 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityRelationshipsAvailableTerritoriesDataItem? Type6157 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCreateRequest? Type6158 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityRelationshipsAvailableTerritoriesDataItemType? Type6158 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCreateRequestData? Type6159 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilitiesResponse? Type6159 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCreateRequestDataType? Type6160 { get; set; } + public global::System.Collections.Generic.IList? Type6160 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCreateRequestDataAttributes? Type6161 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityResponse? Type6161 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCreateRequestDataAttributesSubscriptionPeriod? Type6162 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequest? Type6162 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCreateRequestDataRelationships? Type6163 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestData? Type6163 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCreateRequestDataRelationshipsGroup? Type6164 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataType? Type6164 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCreateRequestDataRelationshipsGroupData? Type6165 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataAttributes? Type6165 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionCreateRequestDataRelationshipsGroupDataType? Type6166 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationships? Type6166 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequest? Type6167 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsAvailableTerritories? Type6167 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestData? Type6168 { get; set; } + public global::System.Collections.Generic.IList? Type6168 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataType? Type6169 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItem? Type6169 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataAttributes? Type6170 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsAvailableTerritoriesDataItemType? Type6170 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataAttributesSubscriptionPeriod? Type6171 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsSubscription? Type6171 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataAttributesMultiSeatStatus? Type6172 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsSubscriptionData? Type6172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6173 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityCreateRequestDataRelationshipsSubscriptionDataType? Type6173 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataAttributesMarketSetting? Type6174 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequest? Type6174 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationships? Type6175 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestData? Type6175 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsIntroductoryOffers? Type6176 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataType? Type6176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6177 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataAttributes? Type6177 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsIntroductoryOffersDataItem? Type6178 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataRelationships? Type6178 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsIntroductoryOffersDataItemType? Type6179 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataRelationshipsAvailableTerritories? Type6179 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPromotionalOffers? Type6180 { get; set; } + public global::System.Collections.Generic.IList? Type6180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6181 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataRelationshipsAvailableTerritoriesDataItem? Type6181 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPromotionalOffersDataItem? Type6182 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityUpdateRequestDataRelationshipsAvailableTerritoriesDataItemType? Type6182 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPromotionalOffersDataItemType? Type6183 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointType? Type6183 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPrices? Type6184 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointAttributes? Type6184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6185 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointRelationships? Type6185 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPricesDataItem? Type6186 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointRelationshipsTerritory? Type6186 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPricesDataItemType? Type6187 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointRelationshipsTerritoryData? Type6187 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryType? Type6188 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointRelationshipsTerritoryDataType? Type6188 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAttributes? Type6189 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointRelationshipsEqualizations? Type6189 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryInlineCreateType? Type6190 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointRelationshipsAdjustedEqualizations? Type6190 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoriesResponse? Type6191 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointInlineCreateType? Type6191 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryResponse? Type6192 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointsResponse? Type6192 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAgeRating? Type6193 { get; set; } + public global::System.Collections.Generic.IList? Type6193 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAgeRatingType? Type6194 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointResponse? Type6194 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAgeRatingAttributes? Type6195 { get; set; } + public global::AppStoreConnect.SubscriptionPrice? Type6195 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAgeRatingRelationships? Type6196 { get; set; } + public global::AppStoreConnect.SubscriptionPriceType? Type6196 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAgeRatingRelationshipsTerritory? Type6197 { get; set; } + public global::AppStoreConnect.SubscriptionPriceAttributes? Type6197 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAgeRatingRelationshipsTerritoryData? Type6198 { get; set; } + public global::AppStoreConnect.SubscriptionPriceRelationships? Type6198 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAgeRatingRelationshipsTerritoryDataType? Type6199 { get; set; } + public global::AppStoreConnect.SubscriptionPriceRelationshipsTerritory? Type6199 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAgeRatingsResponse? Type6200 { get; set; } + public global::AppStoreConnect.SubscriptionPriceRelationshipsTerritoryData? Type6200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6201 { get; set; } + public global::AppStoreConnect.SubscriptionPriceRelationshipsTerritoryDataType? Type6201 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityType? Type6202 { get; set; } + public global::AppStoreConnect.SubscriptionPriceRelationshipsSubscriptionPricePoint? Type6202 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityAttributes? Type6203 { get; set; } + public global::AppStoreConnect.SubscriptionPriceRelationshipsSubscriptionPricePointData? Type6203 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6204 { get; set; } + public global::AppStoreConnect.SubscriptionPriceRelationshipsSubscriptionPricePointDataType? Type6204 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityAttributesContentStatuse? Type6205 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreate? Type6205 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityRelationships? Type6206 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateType? Type6206 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityRelationshipsTerritory? Type6207 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateAttributes? Type6207 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityRelationshipsTerritoryData? Type6208 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationships? Type6208 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityRelationshipsTerritoryDataType? Type6209 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscription? Type6209 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityInlineCreateType? Type6210 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionData? Type6210 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityInlineCreateAttributes? Type6211 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionDataType? Type6211 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityInlineCreateRelationships? Type6212 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsTerritory? Type6212 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityInlineCreateRelationshipsTerritory? Type6213 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsTerritoryData? Type6213 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityInlineCreateRelationshipsTerritoryData? Type6214 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsTerritoryDataType? Type6214 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityInlineCreateRelationshipsTerritoryDataType? Type6215 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionPricePoint? Type6215 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilitiesResponse? Type6216 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionPricePointData? Type6216 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityResponse? Type6217 { get; set; } + public global::AppStoreConnect.SubscriptionPriceInlineCreateRelationshipsSubscriptionPricePointDataType? Type6217 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityUpdateRequest? Type6218 { get; set; } + public global::AppStoreConnect.SubscriptionPricesResponse? Type6218 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityUpdateRequestData? Type6219 { get; set; } + public global::System.Collections.Generic.IList? Type6219 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityUpdateRequestDataType? Type6220 { get; set; } + public global::System.Collections.Generic.IList? Type6220 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoryAvailabilityUpdateRequestDataAttributes? Type6221 { get; set; } + public global::AppStoreConnect.IncludedItem171? Type6221 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitation? Type6222 { get; set; } + public global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminator? Type6222 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationType? Type6223 { get; set; } + public global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType? Type6223 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationAttributes? Type6224 { get; set; } + public global::AppStoreConnect.SubscriptionPriceResponse? Type6224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6225 { get; set; } + public global::System.Collections.Generic.IList? Type6225 { get; set; } /// /// /// - public global::AppStoreConnect.UserRole? Type6226 { get; set; } + public global::AppStoreConnect.IncludedItem172? Type6226 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationRelationships? Type6227 { get; set; } + public global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminator? Type6227 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationRelationshipsVisibleApps? Type6228 { get; set; } + public global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType? Type6228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6229 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequest? Type6229 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationRelationshipsVisibleAppsDataItem? Type6230 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestData? Type6230 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationRelationshipsVisibleAppsDataItemType? Type6231 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataType? Type6231 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsResponse? Type6232 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataAttributes? Type6232 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6233 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationships? Type6233 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationResponse? Type6234 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscription? Type6234 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationCreateRequest? Type6235 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionData? Type6235 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationCreateRequestData? Type6236 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionDataType? Type6236 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationCreateRequestDataType? Type6237 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsTerritory? Type6237 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationCreateRequestDataAttributes? Type6238 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsTerritoryData? Type6238 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationCreateRequestDataRelationships? Type6239 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsTerritoryDataType? Type6239 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationCreateRequestDataRelationshipsVisibleApps? Type6240 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionPricePoint? Type6240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6241 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionPricePointData? Type6241 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationCreateRequestDataRelationshipsVisibleAppsDataItem? Type6242 { get; set; } + public global::AppStoreConnect.SubscriptionPriceCreateRequestDataRelationshipsSubscriptionPricePointDataType? Type6242 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationCreateRequestDataRelationshipsVisibleAppsDataItemType? Type6243 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? Type6243 { get; set; } /// /// /// - public global::AppStoreConnect.User? Type6244 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceType? Type6244 { get; set; } /// /// /// - public global::AppStoreConnect.UserType? Type6245 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationships? Type6245 { get; set; } /// /// /// - public global::AppStoreConnect.UserAttributes? Type6246 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsTerritory? Type6246 { get; set; } /// /// /// - public global::AppStoreConnect.UserRelationships? Type6247 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsTerritoryData? Type6247 { get; set; } /// /// /// - public global::AppStoreConnect.UserRelationshipsVisibleApps? Type6248 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsTerritoryDataType? Type6248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6249 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePoint? Type6249 { get; set; } /// /// /// - public global::AppStoreConnect.UserRelationshipsVisibleAppsDataItem? Type6250 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePointData? Type6250 { get; set; } /// /// /// - public global::AppStoreConnect.UserRelationshipsVisibleAppsDataItemType? Type6251 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePointDataType? Type6251 { get; set; } /// /// /// - public global::AppStoreConnect.UsersResponse? Type6252 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreate? Type6252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6253 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateType? Type6253 { get; set; } /// /// /// - public global::AppStoreConnect.UserResponse? Type6254 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationships? Type6254 { get; set; } /// /// /// - public global::AppStoreConnect.UserUpdateRequest? Type6255 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsTerritory? Type6255 { get; set; } /// /// /// - public global::AppStoreConnect.UserUpdateRequestData? Type6256 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsTerritoryData? Type6256 { get; set; } /// /// /// - public global::AppStoreConnect.UserUpdateRequestDataType? Type6257 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsTerritoryDataType? Type6257 { get; set; } /// /// /// - public global::AppStoreConnect.UserUpdateRequestDataAttributes? Type6258 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsSubscriptionPricePoint? Type6258 { get; set; } /// /// /// - public global::AppStoreConnect.UserUpdateRequestDataRelationships? Type6259 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsSubscriptionPricePointData? Type6259 { get; set; } /// /// /// - public global::AppStoreConnect.UserUpdateRequestDataRelationshipsVisibleApps? Type6260 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPriceInlineCreateRelationshipsSubscriptionPricePointDataType? Type6260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6261 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponse? Type6261 { get; set; } /// /// /// - public global::AppStoreConnect.UserUpdateRequestDataRelationshipsVisibleAppsDataItem? Type6262 { get; set; } + public global::System.Collections.Generic.IList? Type6262 { get; set; } /// /// /// - public global::AppStoreConnect.UserUpdateRequestDataRelationshipsVisibleAppsDataItemType? Type6263 { get; set; } + public global::System.Collections.Generic.IList? Type6263 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDelivery? Type6264 { get; set; } + public global::AppStoreConnect.IncludedItem173? Type6264 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryType? Type6265 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminator? Type6265 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryAttributes? Type6266 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType? Type6266 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryAttributesDeliveryState? Type6267 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffer? Type6267 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryAttributesRequest? Type6268 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferType? Type6268 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryAttributesResponse? Type6269 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferAttributes? Type6269 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryRelationships? Type6270 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferRelationships? Type6270 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryRelationshipsEvent? Type6271 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsSubscription? Type6271 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryRelationshipsEventData? Type6272 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsSubscriptionData? Type6272 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryRelationshipsEventDataType? Type6273 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsSubscriptionDataType? Type6273 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveriesResponse? Type6274 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsPrices? Type6274 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6275 { get; set; } + public global::System.Collections.Generic.IList? Type6275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6276 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsPricesDataItem? Type6276 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookEvent? Type6277 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsPricesDataItemType? Type6277 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryResponse? Type6278 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreate? Type6278 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryCreateRequest? Type6279 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateType? Type6279 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryCreateRequestData? Type6280 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateAttributes? Type6280 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryCreateRequestDataType? Type6281 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationships? Type6281 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryCreateRequestDataRelationships? Type6282 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsSubscription? Type6282 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryCreateRequestDataRelationshipsTemplate? Type6283 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsSubscriptionData? Type6283 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryCreateRequestDataRelationshipsTemplateData? Type6284 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsSubscriptionDataType? Type6284 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveryCreateRequestDataRelationshipsTemplateDataType? Type6285 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsPrices? Type6285 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookEventType? Type6286 { get; set; } + public global::System.Collections.Generic.IList? Type6286 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookEventAttributes? Type6287 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsPricesDataItem? Type6287 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookEventType2? Type6288 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferInlineCreateRelationshipsPricesDataItemType? Type6288 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPing? Type6289 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersResponse? Type6289 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPingType? Type6290 { get; set; } + public global::System.Collections.Generic.IList? Type6290 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPingResponse? Type6291 { get; set; } + public global::System.Collections.Generic.IList? Type6291 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPingCreateRequest? Type6292 { get; set; } + public global::AppStoreConnect.IncludedItem174? Type6292 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPingCreateRequestData? Type6293 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminator? Type6293 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPingCreateRequestDataType? Type6294 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType? Type6294 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPingCreateRequestDataRelationships? Type6295 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferResponse? Type6295 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPingCreateRequestDataRelationshipsWebhook? Type6296 { get; set; } + public global::System.Collections.Generic.IList? Type6296 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPingCreateRequestDataRelationshipsWebhookData? Type6297 { get; set; } + public global::AppStoreConnect.IncludedItem175? Type6297 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookPingCreateRequestDataRelationshipsWebhookDataType? Type6298 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminator? Type6298 { get; set; } /// /// /// - public global::AppStoreConnect.Webhook? Type6299 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType? Type6299 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookType? Type6300 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequest? Type6300 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookAttributes? Type6301 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestData? Type6301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6302 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataType? Type6302 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookRelationships? Type6303 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataAttributes? Type6303 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookRelationshipsApp? Type6304 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationships? Type6304 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookRelationshipsAppData? Type6305 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsSubscription? Type6305 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookRelationshipsAppDataType? Type6306 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsSubscriptionData? Type6306 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookRelationshipsDeliveries? Type6307 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsSubscriptionDataType? Type6307 { get; set; } /// /// /// - public global::AppStoreConnect.WebhooksResponse? Type6308 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsPrices? Type6308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6309 { get; set; } + public global::System.Collections.Generic.IList? Type6309 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookResponse? Type6310 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsPricesDataItem? Type6310 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookCreateRequest? Type6311 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferCreateRequestDataRelationshipsPricesDataItemType? Type6311 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookCreateRequestData? Type6312 { get; set; } + public global::System.Collections.Generic.IList? Type6312 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookCreateRequestDataType? Type6313 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequest? Type6313 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookCreateRequestDataAttributes? Type6314 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestData? Type6314 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookCreateRequestDataRelationships? Type6315 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataType? Type6315 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookCreateRequestDataRelationshipsApp? Type6316 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataRelationships? Type6316 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookCreateRequestDataRelationshipsAppData? Type6317 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataRelationshipsPrices? Type6317 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookCreateRequestDataRelationshipsAppDataType? Type6318 { get; set; } + public global::System.Collections.Generic.IList? Type6318 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookUpdateRequest? Type6319 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataRelationshipsPricesDataItem? Type6319 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookUpdateRequestData? Type6320 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferUpdateRequestDataRelationshipsPricesDataItemType? Type6320 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookUpdateRequestDataType? Type6321 { get; set; } + public global::AppStoreConnect.SubscriptionSubmission? Type6321 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookUpdateRequestDataAttributes? Type6322 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionType? Type6322 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPrice? Type6323 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionRelationships? Type6323 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceType? Type6324 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionRelationshipsSubscription? Type6324 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceRelationships? Type6325 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionRelationshipsSubscriptionData? Type6325 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceRelationshipsTerritory? Type6326 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionRelationshipsSubscriptionDataType? Type6326 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceRelationshipsTerritoryData? Type6327 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionResponse? Type6327 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceRelationshipsTerritoryDataType? Type6328 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionCreateRequest? Type6328 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceRelationshipsSubscriptionPricePoint? Type6329 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionCreateRequestData? Type6329 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceRelationshipsSubscriptionPricePointData? Type6330 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataType? Type6330 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceRelationshipsSubscriptionPricePointDataType? Type6331 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataRelationships? Type6331 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceInlineCreate? Type6332 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataRelationshipsSubscription? Type6332 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPriceInlineCreateType? Type6333 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataRelationshipsSubscriptionData? Type6333 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPricesResponse? Type6334 { get; set; } + public global::AppStoreConnect.SubscriptionSubmissionCreateRequestDataRelationshipsSubscriptionDataType? Type6334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6335 { get; set; } + public global::AppStoreConnect.SubscriptionVersionType? Type6335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6336 { get; set; } + public global::AppStoreConnect.SubscriptionVersionAttributes? Type6336 { get; set; } /// /// /// - public global::AppStoreConnect.IncludedItem179? Type6337 { get; set; } + public global::AppStoreConnect.SubscriptionVersionAttributesState? Type6337 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminator? Type6338 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationships? Type6338 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType? Type6339 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsSubscription? Type6339 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferType? Type6340 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsSubscriptionData? Type6340 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferAttributes? Type6341 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsSubscriptionDataType? Type6341 { get; set; } /// /// /// - public global::AppStoreConnect.IntegerRange? Type6342 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsImage? Type6342 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferAttributesPriority? Type6343 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsImageData? Type6343 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferAttributesPromotionIntent? Type6344 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsImageDataType? Type6344 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferRelationships? Type6345 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsImages? Type6345 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferRelationshipsPrices? Type6346 { get; set; } + public global::System.Collections.Generic.IList? Type6346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6347 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsImagesDataItem? Type6347 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferRelationshipsPricesDataItem? Type6348 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsImagesDataItemType? Type6348 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferRelationshipsPricesDataItemType? Type6349 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsLocalizations? Type6349 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOffersResponse? Type6350 { get; set; } + public global::System.Collections.Generic.IList? Type6350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6351 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsLocalizationsDataItem? Type6351 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferResponse? Type6352 { get; set; } + public global::AppStoreConnect.SubscriptionVersionRelationshipsLocalizationsDataItemType? Type6352 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequest? Type6353 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsResponse? Type6353 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestData? Type6354 { get; set; } + public global::System.Collections.Generic.IList? Type6354 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataType? Type6355 { get; set; } + public global::AppStoreConnect.IncludedItem176? Type6355 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataAttributes? Type6356 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminator? Type6356 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataAttributesPriority? Type6357 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType? Type6357 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataAttributesPromotionIntent? Type6358 { get; set; } + public global::AppStoreConnect.SubscriptionVersionResponse? Type6358 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationships? Type6359 { get; set; } + public global::System.Collections.Generic.IList? Type6359 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsSubscription? Type6360 { get; set; } + public global::AppStoreConnect.IncludedItem177? Type6360 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsSubscriptionData? Type6361 { get; set; } + public global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminator? Type6361 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsSubscriptionDataType? Type6362 { get; set; } + public global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType? Type6362 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsPrices? Type6363 { get; set; } + public global::AppStoreConnect.SubscriptionVersionCreateRequest? Type6363 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6364 { get; set; } + public global::AppStoreConnect.SubscriptionVersionCreateRequestData? Type6364 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsPricesDataItem? Type6365 { get; set; } + public global::AppStoreConnect.SubscriptionVersionCreateRequestDataType? Type6365 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsPricesDataItemType? Type6366 { get; set; } + public global::AppStoreConnect.SubscriptionVersionCreateRequestDataRelationships? Type6366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6367 { get; set; } + public global::AppStoreConnect.SubscriptionVersionCreateRequestDataRelationshipsSubscription? Type6367 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferUpdateRequest? Type6368 { get; set; } + public global::AppStoreConnect.SubscriptionVersionCreateRequestDataRelationshipsSubscriptionData? Type6368 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferUpdateRequestData? Type6369 { get; set; } + public global::AppStoreConnect.SubscriptionVersionCreateRequestDataRelationshipsSubscriptionDataType? Type6369 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferUpdateRequestDataType? Type6370 { get; set; } + public global::AppStoreConnect.SubscriptionType? Type6370 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferUpdateRequestDataAttributes? Type6371 { get; set; } + public global::AppStoreConnect.SubscriptionAttributes? Type6371 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferUpdateRequestDataAttributesPriority? Type6372 { get; set; } + public global::AppStoreConnect.SubscriptionAttributesState? Type6372 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferUpdateRequestDataAttributesPromotionIntent? Type6373 { get; set; } + public global::AppStoreConnect.SubscriptionAttributesSubscriptionPeriod? Type6373 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionDeltasLinkagesResponse? Type6374 { get; set; } + public global::AppStoreConnect.SubscriptionAttributesMultiSeatStatus? Type6374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6375 { get; set; } + public global::System.Collections.Generic.IList? Type6375 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionDeltasLinkagesResponseDataItem? Type6376 { get; set; } + public global::AppStoreConnect.SubscriptionAttributesMarketSetting? Type6376 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionDeltasLinkagesResponseDataItemType? Type6377 { get; set; } + public global::AppStoreConnect.SubscriptionRelationships? Type6377 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionVariantsLinkagesResponse? Type6378 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionLocalizations? Type6378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6379 { get; set; } + public global::System.Collections.Generic.IList? Type6379 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionVariantsLinkagesResponseDataItem? Type6380 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionLocalizationsDataItem? Type6380 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionVariantsLinkagesResponseDataItemType? Type6381 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionLocalizationsDataItemType? Type6381 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsLinkagesResponse? Type6382 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsAppStoreReviewScreenshot? Type6382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6383 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsAppStoreReviewScreenshotData? Type6383 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsLinkagesResponseDataItem? Type6384 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsAppStoreReviewScreenshotDataType? Type6384 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsLinkagesResponseDataItemType? Type6385 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsGroup? Type6385 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportInstanceSegmentsLinkagesResponse? Type6386 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsGroupData? Type6386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6387 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsGroupDataType? Type6387 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportInstanceSegmentsLinkagesResponseDataItem? Type6388 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsIntroductoryOffers? Type6388 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportInstanceSegmentsLinkagesResponseDataItemType? Type6389 { get; set; } + public global::System.Collections.Generic.IList? Type6389 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportRequestReportsLinkagesResponse? Type6390 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsIntroductoryOffersDataItem? Type6390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6391 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsIntroductoryOffersDataItemType? Type6391 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportRequestReportsLinkagesResponseDataItem? Type6392 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPromotionalOffers? Type6392 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportRequestReportsLinkagesResponseDataItemType? Type6393 { get; set; } + public global::System.Collections.Generic.IList? Type6393 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportInstancesLinkagesResponse? Type6394 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPromotionalOffersDataItem? Type6394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6395 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPromotionalOffersDataItemType? Type6395 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportInstancesLinkagesResponseDataItem? Type6396 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsOfferCodes? Type6396 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportInstancesLinkagesResponseDataItemType? Type6397 { get; set; } + public global::System.Collections.Generic.IList? Type6397 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponse? Type6398 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsOfferCodesDataItem? Type6398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6399 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsOfferCodesDataItemType? Type6399 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponseDataItem? Type6400 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPrices? Type6400 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponseDataItemType? Type6401 { get; set; } + public global::System.Collections.Generic.IList? Type6401 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryWithoutIncludesResponse? Type6402 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPricesDataItem? Type6402 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryParentLinkageResponse? Type6403 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPricesDataItemType? Type6403 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryParentLinkageResponseData? Type6404 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPricePoints? Type6404 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoryParentLinkageResponseDataType? Type6405 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPromotedPurchase? Type6405 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoriesWithoutIncludesResponse? Type6406 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPromotedPurchaseData? Type6406 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategorySubcategoriesLinkagesResponse? Type6407 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPromotedPurchaseDataType? Type6407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6408 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionAvailability? Type6408 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategorySubcategoriesLinkagesResponseDataItem? Type6409 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionAvailabilityData? Type6409 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategorySubcategoriesLinkagesResponseDataItemType? Type6410 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsSubscriptionAvailabilityDataType? Type6410 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponse? Type6411 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsWinBackOffers? Type6411 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponseData? Type6412 { get; set; } + public global::System.Collections.Generic.IList? Type6412 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponseDataType? Type6413 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsWinBackOffersDataItem? Type6413 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponse? Type6414 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsWinBackOffersDataItemType? Type6414 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponseData? Type6415 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsImages? Type6415 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponseDataType? Type6416 { get; set; } + public global::System.Collections.Generic.IList? Type6416 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceAppClipDefaultExperienceLocalizationsLinkagesResponse? Type6417 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsImagesDataItem? Type6417 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6418 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsImagesDataItemType? Type6418 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceAppClipDefaultExperienceLocalizationsLinkagesResponseDataItem? Type6419 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPlanAvailabilities? Type6419 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceAppClipDefaultExperienceLocalizationsLinkagesResponseDataItemType? Type6420 { get; set; } + public global::System.Collections.Generic.IList? Type6420 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse? Type6421 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPlanAvailabilitiesDataItem? Type6421 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponseData? Type6422 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsPlanAvailabilitiesDataItemType? Type6422 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponseDataType? Type6423 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsVersions? Type6423 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest? Type6424 { get; set; } + public global::System.Collections.Generic.IList? Type6424 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequestData? Type6425 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsVersionsDataItem? Type6425 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequestDataType? Type6426 { get; set; } + public global::AppStoreConnect.SubscriptionRelationshipsVersionsDataItemType? Type6426 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppClipAdvancedExperiencesLinkagesResponse? Type6427 { get; set; } + public global::AppStoreConnect.SubscriptionsResponse? Type6427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6428 { get; set; } + public global::System.Collections.Generic.IList? Type6428 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppClipAdvancedExperiencesLinkagesResponseDataItem? Type6429 { get; set; } + public global::AppStoreConnect.IncludedItem178? Type6429 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppClipAdvancedExperiencesLinkagesResponseDataItemType? Type6430 { get; set; } + public global::AppStoreConnect.WinBackOffer? Type6430 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppClipDefaultExperiencesLinkagesResponse? Type6431 { get; set; } + public global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminator? Type6431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6432 { get; set; } + public global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType? Type6432 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppClipDefaultExperiencesLinkagesResponseDataItem? Type6433 { get; set; } + public global::AppStoreConnect.SubscriptionResponse? Type6433 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppClipDefaultExperiencesLinkagesResponseDataItemType? Type6434 { get; set; } + public global::System.Collections.Generic.IList? Type6434 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationAppPreviewSetsLinkagesResponse? Type6435 { get; set; } + public global::AppStoreConnect.IncludedItem179? Type6435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6436 { get; set; } + public global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminator? Type6436 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationAppPreviewSetsLinkagesResponseDataItem? Type6437 { get; set; } + public global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType? Type6437 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationAppPreviewSetsLinkagesResponseDataItemType? Type6438 { get; set; } + public global::AppStoreConnect.SubscriptionCreateRequest? Type6438 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponse? Type6439 { get; set; } + public global::AppStoreConnect.SubscriptionCreateRequestData? Type6439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6440 { get; set; } + public global::AppStoreConnect.SubscriptionCreateRequestDataType? Type6440 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItem? Type6441 { get; set; } + public global::AppStoreConnect.SubscriptionCreateRequestDataAttributes? Type6441 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemType? Type6442 { get; set; } + public global::AppStoreConnect.SubscriptionCreateRequestDataAttributesSubscriptionPeriod? Type6442 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponse? Type6443 { get; set; } + public global::AppStoreConnect.SubscriptionCreateRequestDataRelationships? Type6443 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6444 { get; set; } + public global::AppStoreConnect.SubscriptionCreateRequestDataRelationshipsGroup? Type6444 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItem? Type6445 { get; set; } + public global::AppStoreConnect.SubscriptionCreateRequestDataRelationshipsGroupData? Type6445 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType? Type6446 { get; set; } + public global::AppStoreConnect.SubscriptionCreateRequestDataRelationshipsGroupDataType? Type6446 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesRequest? Type6447 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequest? Type6447 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6448 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestData? Type6448 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesRequestDataItem? Type6449 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataType? Type6449 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesRequestDataItemType? Type6450 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataAttributes? Type6450 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionAppCustomProductPageLocalizationsLinkagesResponse? Type6451 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataAttributesSubscriptionPeriod? Type6451 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6452 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataAttributesMultiSeatStatus? Type6452 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionAppCustomProductPageLocalizationsLinkagesResponseDataItem? Type6453 { get; set; } + public global::System.Collections.Generic.IList? Type6453 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionAppCustomProductPageLocalizationsLinkagesResponseDataItemType? Type6454 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataAttributesMarketSetting? Type6454 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageAppCustomProductPageVersionsLinkagesResponse? Type6455 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationships? Type6455 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6456 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsIntroductoryOffers? Type6456 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageAppCustomProductPageVersionsLinkagesResponseDataItem? Type6457 { get; set; } + public global::System.Collections.Generic.IList? Type6457 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageAppCustomProductPageVersionsLinkagesResponseDataItemType? Type6458 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsIntroductoryOffersDataItem? Type6458 { get; set; } /// /// /// - public global::AppStoreConnect.AppWithoutIncludesResponse? Type6459 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsIntroductoryOffersDataItemType? Type6459 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationAppLinkageResponse? Type6460 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPromotionalOffers? Type6460 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationAppLinkageResponseData? Type6461 { get; set; } + public global::System.Collections.Generic.IList? Type6461 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationAppLinkageResponseDataType? Type6462 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPromotionalOffersDataItem? Type6462 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationAppEncryptionDeclarationDocumentLinkageResponse? Type6463 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPromotionalOffersDataItemType? Type6463 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationAppEncryptionDeclarationDocumentLinkageResponseData? Type6464 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPrices? Type6464 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationAppEncryptionDeclarationDocumentLinkageResponseDataType? Type6465 { get; set; } + public global::System.Collections.Generic.IList? Type6465 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationBuildsLinkagesRequest? Type6466 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPricesDataItem? Type6466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6467 { get; set; } + public global::AppStoreConnect.SubscriptionUpdateRequestDataRelationshipsPricesDataItemType? Type6467 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationBuildsLinkagesRequestDataItem? Type6468 { get; set; } + public global::AppStoreConnect.TerritoryType? Type6468 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationBuildsLinkagesRequestDataItemType? Type6469 { get; set; } + public global::AppStoreConnect.TerritoryAttributes? Type6469 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationAppEventScreenshotsLinkagesResponse? Type6470 { get; set; } + public global::AppStoreConnect.TerritoryInlineCreateType? Type6470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6471 { get; set; } + public global::AppStoreConnect.TerritoriesResponse? Type6471 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationAppEventScreenshotsLinkagesResponseDataItem? Type6472 { get; set; } + public global::AppStoreConnect.TerritoryResponse? Type6472 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationAppEventScreenshotsLinkagesResponseDataItemType? Type6473 { get; set; } + public global::AppStoreConnect.TerritoryAgeRating? Type6473 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponse? Type6474 { get; set; } + public global::AppStoreConnect.TerritoryAgeRatingType? Type6474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6475 { get; set; } + public global::AppStoreConnect.TerritoryAgeRatingAttributes? Type6475 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItem? Type6476 { get; set; } + public global::AppStoreConnect.TerritoryAgeRatingRelationships? Type6476 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemType? Type6477 { get; set; } + public global::AppStoreConnect.TerritoryAgeRatingRelationshipsTerritory? Type6477 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsLinkagesResponse? Type6478 { get; set; } + public global::AppStoreConnect.TerritoryAgeRatingRelationshipsTerritoryData? Type6478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6479 { get; set; } + public global::AppStoreConnect.TerritoryAgeRatingRelationshipsTerritoryDataType? Type6479 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsLinkagesResponseDataItem? Type6480 { get; set; } + public global::AppStoreConnect.TerritoryAgeRatingsResponse? Type6480 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsLinkagesResponseDataItemType? Type6481 { get; set; } + public global::System.Collections.Generic.IList? Type6481 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAgeRatingDeclarationLinkageResponse? Type6482 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityType? Type6482 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAgeRatingDeclarationLinkageResponseData? Type6483 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityAttributes? Type6483 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAgeRatingDeclarationLinkageResponseDataType? Type6484 { get; set; } + public global::System.Collections.Generic.IList? Type6484 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAppInfoLocalizationsLinkagesResponse? Type6485 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityAttributesContentStatuse? Type6485 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6486 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityRelationships? Type6486 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAppInfoLocalizationsLinkagesResponseDataItem? Type6487 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityRelationshipsTerritory? Type6487 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoAppInfoLocalizationsLinkagesResponseDataItemType? Type6488 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityRelationshipsTerritoryData? Type6488 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoPrimaryCategoryLinkageResponse? Type6489 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityRelationshipsTerritoryDataType? Type6489 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoPrimaryCategoryLinkageResponseData? Type6490 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityInlineCreateType? Type6490 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoPrimaryCategoryLinkageResponseDataType? Type6491 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityInlineCreateAttributes? Type6491 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoPrimarySubcategoryOneLinkageResponse? Type6492 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityInlineCreateRelationships? Type6492 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoPrimarySubcategoryOneLinkageResponseData? Type6493 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityInlineCreateRelationshipsTerritory? Type6493 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoPrimarySubcategoryOneLinkageResponseDataType? Type6494 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityInlineCreateRelationshipsTerritoryData? Type6494 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoPrimarySubcategoryTwoLinkageResponse? Type6495 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityInlineCreateRelationshipsTerritoryDataType? Type6495 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoPrimarySubcategoryTwoLinkageResponseData? Type6496 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilitiesResponse? Type6496 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoPrimarySubcategoryTwoLinkageResponseDataType? Type6497 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityResponse? Type6497 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoSecondaryCategoryLinkageResponse? Type6498 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityUpdateRequest? Type6498 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoSecondaryCategoryLinkageResponseData? Type6499 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityUpdateRequestData? Type6499 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoSecondaryCategoryLinkageResponseDataType? Type6500 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityUpdateRequestDataType? Type6500 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoSecondarySubcategoryOneLinkageResponse? Type6501 { get; set; } + public global::AppStoreConnect.TerritoryAvailabilityUpdateRequestDataAttributes? Type6501 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoSecondarySubcategoryOneLinkageResponseData? Type6502 { get; set; } + public global::AppStoreConnect.UserInvitation? Type6502 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoSecondarySubcategoryOneLinkageResponseDataType? Type6503 { get; set; } + public global::AppStoreConnect.UserInvitationType? Type6503 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoSecondarySubcategoryTwoLinkageResponse? Type6504 { get; set; } + public global::AppStoreConnect.UserInvitationAttributes? Type6504 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoSecondarySubcategoryTwoLinkageResponseData? Type6505 { get; set; } + public global::System.Collections.Generic.IList? Type6505 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoSecondarySubcategoryTwoLinkageResponseDataType? Type6506 { get; set; } + public global::AppStoreConnect.UserRole? Type6506 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoTerritoryAgeRatingsLinkagesResponse? Type6507 { get; set; } + public global::AppStoreConnect.UserInvitationRelationships? Type6507 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6508 { get; set; } + public global::AppStoreConnect.UserInvitationRelationshipsVisibleApps? Type6508 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoTerritoryAgeRatingsLinkagesResponseDataItem? Type6509 { get; set; } + public global::System.Collections.Generic.IList? Type6509 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoTerritoryAgeRatingsLinkagesResponseDataItemType? Type6510 { get; set; } + public global::AppStoreConnect.UserInvitationRelationshipsVisibleAppsDataItem? Type6510 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesResponse? Type6511 { get; set; } + public global::AppStoreConnect.UserInvitationRelationshipsVisibleAppsDataItemType? Type6511 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6512 { get; set; } + public global::AppStoreConnect.UserInvitationsResponse? Type6512 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesResponseDataItem? Type6513 { get; set; } + public global::System.Collections.Generic.IList? Type6513 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesResponseDataItemType? Type6514 { get; set; } + public global::AppStoreConnect.UserInvitationResponse? Type6514 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesRequest? Type6515 { get; set; } + public global::AppStoreConnect.UserInvitationCreateRequest? Type6515 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6516 { get; set; } + public global::AppStoreConnect.UserInvitationCreateRequestData? Type6516 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesRequestDataItem? Type6517 { get; set; } + public global::AppStoreConnect.UserInvitationCreateRequestDataType? Type6517 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesRequestDataItemType? Type6518 { get; set; } + public global::AppStoreConnect.UserInvitationCreateRequestDataAttributes? Type6518 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3EqualizationsLinkagesResponse? Type6519 { get; set; } + public global::AppStoreConnect.UserInvitationCreateRequestDataRelationships? Type6519 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6520 { get; set; } + public global::AppStoreConnect.UserInvitationCreateRequestDataRelationshipsVisibleApps? Type6520 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3EqualizationsLinkagesResponseDataItem? Type6521 { get; set; } + public global::System.Collections.Generic.IList? Type6521 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointV3EqualizationsLinkagesResponseDataItemType? Type6522 { get; set; } + public global::AppStoreConnect.UserInvitationCreateRequestDataRelationshipsVisibleAppsDataItem? Type6522 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleAutomaticPricesLinkagesResponse? Type6523 { get; set; } + public global::AppStoreConnect.UserInvitationCreateRequestDataRelationshipsVisibleAppsDataItemType? Type6523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6524 { get; set; } + public global::AppStoreConnect.User? Type6524 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleAutomaticPricesLinkagesResponseDataItem? Type6525 { get; set; } + public global::AppStoreConnect.UserType? Type6525 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleAutomaticPricesLinkagesResponseDataItemType? Type6526 { get; set; } + public global::AppStoreConnect.UserAttributes? Type6526 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleBaseTerritoryLinkageResponse? Type6527 { get; set; } + public global::AppStoreConnect.UserRelationships? Type6527 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleBaseTerritoryLinkageResponseData? Type6528 { get; set; } + public global::AppStoreConnect.UserRelationshipsVisibleApps? Type6528 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleBaseTerritoryLinkageResponseDataType? Type6529 { get; set; } + public global::System.Collections.Generic.IList? Type6529 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleManualPricesLinkagesResponse? Type6530 { get; set; } + public global::AppStoreConnect.UserRelationshipsVisibleAppsDataItem? Type6530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6531 { get; set; } + public global::AppStoreConnect.UserRelationshipsVisibleAppsDataItemType? Type6531 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleManualPricesLinkagesResponseDataItem? Type6532 { get; set; } + public global::AppStoreConnect.UsersResponse? Type6532 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceScheduleManualPricesLinkagesResponseDataItemType? Type6533 { get; set; } + public global::System.Collections.Generic.IList? Type6533 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesResponse? Type6534 { get; set; } + public global::AppStoreConnect.UserResponse? Type6534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6535 { get; set; } + public global::AppStoreConnect.UserUpdateRequest? Type6535 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesResponseDataItem? Type6536 { get; set; } + public global::AppStoreConnect.UserUpdateRequestData? Type6536 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesResponseDataItemType? Type6537 { get; set; } + public global::AppStoreConnect.UserUpdateRequestDataType? Type6537 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesRequest? Type6538 { get; set; } + public global::AppStoreConnect.UserUpdateRequestDataAttributes? Type6538 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6539 { get; set; } + public global::AppStoreConnect.UserUpdateRequestDataRelationships? Type6539 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesRequestDataItem? Type6540 { get; set; } + public global::AppStoreConnect.UserUpdateRequestDataRelationshipsVisibleApps? Type6540 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesRequestDataItemType? Type6541 { get; set; } + public global::System.Collections.Generic.IList? Type6541 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponse? Type6542 { get; set; } + public global::AppStoreConnect.UserUpdateRequestDataRelationshipsVisibleAppsDataItem? Type6542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6543 { get; set; } + public global::AppStoreConnect.UserUpdateRequestDataRelationshipsVisibleAppsDataItemType? Type6543 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponseDataItem? Type6544 { get; set; } + public global::AppStoreConnect.WebhookDelivery? Type6544 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponseDataItemType? Type6545 { get; set; } + public global::AppStoreConnect.WebhookDeliveryType? Type6545 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponse? Type6546 { get; set; } + public global::AppStoreConnect.WebhookDeliveryAttributes? Type6546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6547 { get; set; } + public global::AppStoreConnect.WebhookDeliveryAttributesDeliveryState? Type6547 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItem? Type6548 { get; set; } + public global::AppStoreConnect.WebhookDeliveryAttributesRequest? Type6548 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItemType? Type6549 { get; set; } + public global::AppStoreConnect.WebhookDeliveryAttributesResponse? Type6549 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponse? Type6550 { get; set; } + public global::AppStoreConnect.WebhookDeliveryRelationships? Type6550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6551 { get; set; } + public global::AppStoreConnect.WebhookDeliveryRelationshipsEvent? Type6551 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItem? Type6552 { get; set; } + public global::AppStoreConnect.WebhookDeliveryRelationshipsEventData? Type6552 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemType? Type6553 { get; set; } + public global::AppStoreConnect.WebhookDeliveryRelationshipsEventDataType? Type6553 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponse? Type6554 { get; set; } + public global::AppStoreConnect.WebhookDeliveriesResponse? Type6554 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6555 { get; set; } + public global::System.Collections.Generic.IList? Type6555 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponseDataItem? Type6556 { get; set; } + public global::System.Collections.Generic.IList? Type6556 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponseDataItemType? Type6557 { get; set; } + public global::AppStoreConnect.WebhookEvent? Type6557 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponse? Type6558 { get; set; } + public global::AppStoreConnect.WebhookDeliveryResponse? Type6558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6559 { get; set; } + public global::AppStoreConnect.WebhookDeliveryCreateRequest? Type6559 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponseDataItem? Type6560 { get; set; } + public global::AppStoreConnect.WebhookDeliveryCreateRequestData? Type6560 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponseDataItemType? Type6561 { get; set; } + public global::AppStoreConnect.WebhookDeliveryCreateRequestDataType? Type6561 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponse? Type6562 { get; set; } + public global::AppStoreConnect.WebhookDeliveryCreateRequestDataRelationships? Type6562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6563 { get; set; } + public global::AppStoreConnect.WebhookDeliveryCreateRequestDataRelationshipsTemplate? Type6563 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponseDataItem? Type6564 { get; set; } + public global::AppStoreConnect.WebhookDeliveryCreateRequestDataRelationshipsTemplateData? Type6564 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponseDataItemType? Type6565 { get; set; } + public global::AppStoreConnect.WebhookDeliveryCreateRequestDataRelationshipsTemplateDataType? Type6565 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationAppPreviewSetsLinkagesResponse? Type6566 { get; set; } + public global::AppStoreConnect.WebhookEventType? Type6566 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6567 { get; set; } + public global::AppStoreConnect.WebhookEventAttributes? Type6567 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationAppPreviewSetsLinkagesResponseDataItem? Type6568 { get; set; } + public global::AppStoreConnect.WebhookEventType2? Type6568 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationAppPreviewSetsLinkagesResponseDataItemType? Type6569 { get; set; } + public global::AppStoreConnect.WebhookPing? Type6569 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponse? Type6570 { get; set; } + public global::AppStoreConnect.WebhookPingType? Type6570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6571 { get; set; } + public global::AppStoreConnect.WebhookPingResponse? Type6571 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItem? Type6572 { get; set; } + public global::AppStoreConnect.WebhookPingCreateRequest? Type6572 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemType? Type6573 { get; set; } + public global::AppStoreConnect.WebhookPingCreateRequestData? Type6573 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponse? Type6574 { get; set; } + public global::AppStoreConnect.WebhookPingCreateRequestDataType? Type6574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6575 { get; set; } + public global::AppStoreConnect.WebhookPingCreateRequestDataRelationships? Type6575 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItem? Type6576 { get; set; } + public global::AppStoreConnect.WebhookPingCreateRequestDataRelationshipsWebhook? Type6576 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType? Type6577 { get; set; } + public global::AppStoreConnect.WebhookPingCreateRequestDataRelationshipsWebhookData? Type6577 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesRequest? Type6578 { get; set; } + public global::AppStoreConnect.WebhookPingCreateRequestDataRelationshipsWebhookDataType? Type6578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6579 { get; set; } + public global::AppStoreConnect.Webhook? Type6579 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesRequestDataItem? Type6580 { get; set; } + public global::AppStoreConnect.WebhookType? Type6580 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesRequestDataItemType? Type6581 { get; set; } + public global::AppStoreConnect.WebhookAttributes? Type6581 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAlternativeDistributionPackageLinkageResponse? Type6582 { get; set; } + public global::System.Collections.Generic.IList? Type6582 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAlternativeDistributionPackageLinkageResponseData? Type6583 { get; set; } + public global::AppStoreConnect.WebhookRelationships? Type6583 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAlternativeDistributionPackageLinkageResponseDataType? Type6584 { get; set; } + public global::AppStoreConnect.WebhookRelationshipsApp? Type6584 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageResponse? Type6585 { get; set; } + public global::AppStoreConnect.WebhookRelationshipsAppData? Type6585 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageResponseData? Type6586 { get; set; } + public global::AppStoreConnect.WebhookRelationshipsAppDataType? Type6586 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageResponseDataType? Type6587 { get; set; } + public global::AppStoreConnect.WebhookRelationshipsDeliveries? Type6587 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageRequest? Type6588 { get; set; } + public global::AppStoreConnect.WebhooksResponse? Type6588 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageRequestData? Type6589 { get; set; } + public global::System.Collections.Generic.IList? Type6589 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageRequestDataType? Type6590 { get; set; } + public global::AppStoreConnect.WebhookResponse? Type6590 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreReviewDetailLinkageResponse? Type6591 { get; set; } + public global::AppStoreConnect.WebhookCreateRequest? Type6591 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreReviewDetailLinkageResponseData? Type6592 { get; set; } + public global::AppStoreConnect.WebhookCreateRequestData? Type6592 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreReviewDetailLinkageResponseDataType? Type6593 { get; set; } + public global::AppStoreConnect.WebhookCreateRequestDataType? Type6593 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsLinkagesResponse? Type6594 { get; set; } + public global::AppStoreConnect.WebhookCreateRequestDataAttributes? Type6594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6595 { get; set; } + public global::AppStoreConnect.WebhookCreateRequestDataRelationships? Type6595 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsLinkagesResponseDataItem? Type6596 { get; set; } + public global::AppStoreConnect.WebhookCreateRequestDataRelationshipsApp? Type6596 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsLinkagesResponseDataItemType? Type6597 { get; set; } + public global::AppStoreConnect.WebhookCreateRequestDataRelationshipsAppData? Type6597 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsV2LinkagesResponse? Type6598 { get; set; } + public global::AppStoreConnect.WebhookCreateRequestDataRelationshipsAppDataType? Type6598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6599 { get; set; } + public global::AppStoreConnect.WebhookUpdateRequest? Type6599 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsV2LinkagesResponseDataItem? Type6600 { get; set; } + public global::AppStoreConnect.WebhookUpdateRequestData? Type6600 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsV2LinkagesResponseDataItemType? Type6601 { get; set; } + public global::AppStoreConnect.WebhookUpdateRequestDataType? Type6601 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionLocalizationsLinkagesResponse? Type6602 { get; set; } + public global::AppStoreConnect.WebhookUpdateRequestDataAttributes? Type6602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6603 { get; set; } + public global::AppStoreConnect.WinBackOfferPrice? Type6603 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionLocalizationsLinkagesResponseDataItem? Type6604 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceType? Type6604 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionLocalizationsLinkagesResponseDataItemType? Type6605 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceRelationships? Type6605 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionPhasedReleaseWithoutIncludesResponse? Type6606 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceRelationshipsTerritory? Type6606 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionPhasedReleaseLinkageResponse? Type6607 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceRelationshipsTerritoryData? Type6607 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionPhasedReleaseLinkageResponseData? Type6608 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceRelationshipsTerritoryDataType? Type6608 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionPhasedReleaseLinkageResponseDataType? Type6609 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceRelationshipsSubscriptionPricePoint? Type6609 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionSubmissionLinkageResponse? Type6610 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceRelationshipsSubscriptionPricePointData? Type6610 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionSubmissionLinkageResponseData? Type6611 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceRelationshipsSubscriptionPricePointDataType? Type6611 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionAppStoreVersionSubmissionLinkageResponseDataType? Type6612 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceInlineCreate? Type6612 { get; set; } /// /// /// - public global::AppStoreConnect.BuildWithoutIncludesResponse? Type6613 { get; set; } + public global::AppStoreConnect.WinBackOfferPriceInlineCreateType? Type6613 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionBuildLinkageResponse? Type6614 { get; set; } + public global::AppStoreConnect.WinBackOfferPricesResponse? Type6614 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionBuildLinkageResponseData? Type6615 { get; set; } + public global::System.Collections.Generic.IList? Type6615 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionBuildLinkageResponseDataType? Type6616 { get; set; } + public global::System.Collections.Generic.IList? Type6616 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionBuildLinkageRequest? Type6617 { get; set; } + public global::AppStoreConnect.IncludedItem181? Type6617 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionBuildLinkageRequestData? Type6618 { get; set; } + public global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminator? Type6618 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionBuildLinkageRequestDataType? Type6619 { get; set; } + public global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType? Type6619 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCustomerReviewsLinkagesResponse? Type6620 { get; set; } + public global::AppStoreConnect.WinBackOfferType? Type6620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6621 { get; set; } + public global::AppStoreConnect.WinBackOfferAttributes? Type6621 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCustomerReviewsLinkagesResponseDataItem? Type6622 { get; set; } + public global::AppStoreConnect.IntegerRange? Type6622 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionCustomerReviewsLinkagesResponseDataItemType? Type6623 { get; set; } + public global::AppStoreConnect.WinBackOfferAttributesPriority? Type6623 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionGameCenterAppVersionLinkageResponse? Type6624 { get; set; } + public global::AppStoreConnect.WinBackOfferAttributesPromotionIntent? Type6624 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionGameCenterAppVersionLinkageResponseData? Type6625 { get; set; } + public global::AppStoreConnect.WinBackOfferRelationships? Type6625 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionGameCenterAppVersionLinkageResponseDataType? Type6626 { get; set; } + public global::AppStoreConnect.WinBackOfferRelationshipsPrices? Type6626 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRoutingAppCoverageLinkageResponse? Type6627 { get; set; } + public global::System.Collections.Generic.IList? Type6627 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRoutingAppCoverageLinkageResponseData? Type6628 { get; set; } + public global::AppStoreConnect.WinBackOfferRelationshipsPricesDataItem? Type6628 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionRoutingAppCoverageLinkageResponseDataType? Type6629 { get; set; } + public global::AppStoreConnect.WinBackOfferRelationshipsPricesDataItemType? Type6629 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagTerritoriesLinkagesResponse? Type6630 { get; set; } + public global::AppStoreConnect.WinBackOffersResponse? Type6630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6631 { get; set; } + public global::System.Collections.Generic.IList? Type6631 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagTerritoriesLinkagesResponseDataItem? Type6632 { get; set; } + public global::AppStoreConnect.WinBackOfferResponse? Type6632 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagTerritoriesLinkagesResponseDataItemType? Type6633 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequest? Type6633 { get; set; } /// /// /// - public global::AppStoreConnect.AppAccessibilityDeclarationsLinkagesResponse? Type6634 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestData? Type6634 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6635 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataType? Type6635 { get; set; } /// /// /// - public global::AppStoreConnect.AppAccessibilityDeclarationsLinkagesResponseDataItem? Type6636 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataAttributes? Type6636 { get; set; } /// /// /// - public global::AppStoreConnect.AppAccessibilityDeclarationsLinkagesResponseDataItemType? Type6637 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataAttributesPriority? Type6637 { get; set; } /// /// /// - public global::AppStoreConnect.AppAlternativeDistributionKeyLinkageResponse? Type6638 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataAttributesPromotionIntent? Type6638 { get; set; } /// /// /// - public global::AppStoreConnect.AppAlternativeDistributionKeyLinkageResponseData? Type6639 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationships? Type6639 { get; set; } /// /// /// - public global::AppStoreConnect.AppAlternativeDistributionKeyLinkageResponseDataType? Type6640 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsSubscription? Type6640 { get; set; } /// /// /// - public global::AppStoreConnect.AppAnalyticsReportRequestsLinkagesResponse? Type6641 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsSubscriptionData? Type6641 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6642 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsSubscriptionDataType? Type6642 { get; set; } /// /// /// - public global::AppStoreConnect.AppAnalyticsReportRequestsLinkagesResponseDataItem? Type6643 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsPrices? Type6643 { get; set; } /// /// /// - public global::AppStoreConnect.AppAnalyticsReportRequestsLinkagesResponseDataItemType? Type6644 { get; set; } + public global::System.Collections.Generic.IList? Type6644 { get; set; } /// /// /// - public global::AppStoreConnect.AppAndroidToIosAppMappingDetailsLinkagesResponse? Type6645 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsPricesDataItem? Type6645 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6646 { get; set; } + public global::AppStoreConnect.WinBackOfferCreateRequestDataRelationshipsPricesDataItemType? Type6646 { get; set; } /// /// /// - public global::AppStoreConnect.AppAndroidToIosAppMappingDetailsLinkagesResponseDataItem? Type6647 { get; set; } + public global::System.Collections.Generic.IList? Type6647 { get; set; } /// /// /// - public global::AppStoreConnect.AppAndroidToIosAppMappingDetailsLinkagesResponseDataItemType? Type6648 { get; set; } + public global::AppStoreConnect.WinBackOfferUpdateRequest? Type6648 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppAvailabilityV2LinkageResponse? Type6649 { get; set; } + public global::AppStoreConnect.WinBackOfferUpdateRequestData? Type6649 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppAvailabilityV2LinkageResponseData? Type6650 { get; set; } + public global::AppStoreConnect.WinBackOfferUpdateRequestDataType? Type6650 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppAvailabilityV2LinkageResponseDataType? Type6651 { get; set; } + public global::AppStoreConnect.WinBackOfferUpdateRequestDataAttributes? Type6651 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppClipsLinkagesResponse? Type6652 { get; set; } + public global::AppStoreConnect.WinBackOfferUpdateRequestDataAttributesPriority? Type6652 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6653 { get; set; } + public global::AppStoreConnect.WinBackOfferUpdateRequestDataAttributesPromotionIntent? Type6653 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppClipsLinkagesResponseDataItem? Type6654 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionDeltasLinkagesResponse? Type6654 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppClipsLinkagesResponseDataItemType? Type6655 { get; set; } + public global::System.Collections.Generic.IList? Type6655 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppCustomProductPagesLinkagesResponse? Type6656 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionDeltasLinkagesResponseDataItem? Type6656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6657 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionDeltasLinkagesResponseDataItemType? Type6657 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppCustomProductPagesLinkagesResponseDataItem? Type6658 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionVariantsLinkagesResponse? Type6658 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppCustomProductPagesLinkagesResponseDataItemType? Type6659 { get; set; } + public global::System.Collections.Generic.IList? Type6659 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppEncryptionDeclarationsLinkagesResponse? Type6660 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionVariantsLinkagesResponseDataItem? Type6660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6661 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionVariantsLinkagesResponseDataItemType? Type6661 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppEncryptionDeclarationsLinkagesResponseDataItem? Type6662 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsLinkagesResponse? Type6662 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppEncryptionDeclarationsLinkagesResponseDataItemType? Type6663 { get; set; } + public global::System.Collections.Generic.IList? Type6663 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppEventsLinkagesResponse? Type6664 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsLinkagesResponseDataItem? Type6664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6665 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsLinkagesResponseDataItemType? Type6665 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppEventsLinkagesResponseDataItem? Type6666 { get; set; } + public global::AppStoreConnect.AnalyticsReportInstanceSegmentsLinkagesResponse? Type6666 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppEventsLinkagesResponseDataItemType? Type6667 { get; set; } + public global::System.Collections.Generic.IList? Type6667 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppInfosLinkagesResponse? Type6668 { get; set; } + public global::AppStoreConnect.AnalyticsReportInstanceSegmentsLinkagesResponseDataItem? Type6668 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6669 { get; set; } + public global::AppStoreConnect.AnalyticsReportInstanceSegmentsLinkagesResponseDataItemType? Type6669 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppInfosLinkagesResponseDataItem? Type6670 { get; set; } + public global::AppStoreConnect.AnalyticsReportRequestReportsLinkagesResponse? Type6670 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppInfosLinkagesResponseDataItemType? Type6671 { get; set; } + public global::System.Collections.Generic.IList? Type6671 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppPricePointsLinkagesResponse? Type6672 { get; set; } + public global::AppStoreConnect.AnalyticsReportRequestReportsLinkagesResponseDataItem? Type6672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6673 { get; set; } + public global::AppStoreConnect.AnalyticsReportRequestReportsLinkagesResponseDataItemType? Type6673 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppPricePointsLinkagesResponseDataItem? Type6674 { get; set; } + public global::AppStoreConnect.AnalyticsReportInstancesLinkagesResponse? Type6674 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppPricePointsLinkagesResponseDataItemType? Type6675 { get; set; } + public global::System.Collections.Generic.IList? Type6675 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppPriceScheduleLinkageResponse? Type6676 { get; set; } + public global::AppStoreConnect.AnalyticsReportInstancesLinkagesResponseDataItem? Type6676 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppPriceScheduleLinkageResponseData? Type6677 { get; set; } + public global::AppStoreConnect.AnalyticsReportInstancesLinkagesResponseDataItemType? Type6677 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppPriceScheduleLinkageResponseDataType? Type6678 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse? Type6678 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppStoreVersionExperimentsV2LinkagesResponse? Type6679 { get; set; } + public global::System.Collections.Generic.IList? Type6679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6680 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem? Type6680 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppStoreVersionExperimentsV2LinkagesResponseDataItem? Type6681 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType? Type6681 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppStoreVersionExperimentsV2LinkagesResponseDataItemType? Type6682 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse? Type6682 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppStoreVersionsLinkagesResponse? Type6683 { get; set; } + public global::System.Collections.Generic.IList? Type6683 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6684 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem? Type6684 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppStoreVersionsLinkagesResponseDataItem? Type6685 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType? Type6685 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppStoreVersionsLinkagesResponseDataItemType? Type6686 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse? Type6686 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppTagsLinkagesResponse? Type6687 { get; set; } + public global::System.Collections.Generic.IList? Type6687 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6688 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem? Type6688 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppTagsLinkagesResponseDataItem? Type6689 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType? Type6689 { get; set; } /// /// /// - public global::AppStoreConnect.AppAppTagsLinkagesResponseDataItemType? Type6690 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse? Type6690 { get; set; } /// /// /// - public global::AppStoreConnect.AppBackgroundAssetsLinkagesResponse? Type6691 { get; set; } + public global::System.Collections.Generic.IList? Type6691 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6692 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem? Type6692 { get; set; } /// /// /// - public global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItem? Type6693 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType? Type6693 { get; set; } /// /// /// - public global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItemType? Type6694 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponse? Type6694 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationsWithoutIncludesResponse? Type6695 { get; set; } + public global::System.Collections.Generic.IList? Type6695 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaAppLocalizationsLinkagesResponse? Type6696 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponseDataItem? Type6696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6697 { get; set; } + public global::AppStoreConnect.AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponseDataItemType? Type6697 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaAppLocalizationsLinkagesResponseDataItem? Type6698 { get; set; } + public global::AppStoreConnect.AppCategoryWithoutIncludesResponse? Type6698 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaAppLocalizationsLinkagesResponseDataItemType? Type6699 { get; set; } + public global::AppStoreConnect.AppCategoryParentLinkageResponse? Type6699 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailWithoutIncludesResponse? Type6700 { get; set; } + public global::AppStoreConnect.AppCategoryParentLinkageResponseData? Type6700 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaAppReviewDetailLinkageResponse? Type6701 { get; set; } + public global::AppStoreConnect.AppCategoryParentLinkageResponseDataType? Type6701 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaAppReviewDetailLinkageResponseData? Type6702 { get; set; } + public global::AppStoreConnect.AppCategoriesWithoutIncludesResponse? Type6702 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaAppReviewDetailLinkageResponseDataType? Type6703 { get; set; } + public global::AppStoreConnect.AppCategorySubcategoriesLinkagesResponse? Type6703 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaFeedbackCrashSubmissionsLinkagesResponse? Type6704 { get; set; } + public global::System.Collections.Generic.IList? Type6704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6705 { get; set; } + public global::AppStoreConnect.AppCategorySubcategoriesLinkagesResponseDataItem? Type6705 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaFeedbackCrashSubmissionsLinkagesResponseDataItem? Type6706 { get; set; } + public global::AppStoreConnect.AppCategorySubcategoriesLinkagesResponseDataItemType? Type6706 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaFeedbackCrashSubmissionsLinkagesResponseDataItemType? Type6707 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponse? Type6707 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaFeedbackScreenshotSubmissionsLinkagesResponse? Type6708 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponseData? Type6708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6709 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponseDataType? Type6709 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaFeedbackScreenshotSubmissionsLinkagesResponseDataItem? Type6710 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponse? Type6710 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaFeedbackScreenshotSubmissionsLinkagesResponseDataItemType? Type6711 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponseData? Type6711 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsWithoutIncludesResponse? Type6712 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponseDataType? Type6712 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaGroupsLinkagesResponse? Type6713 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceAppClipDefaultExperienceLocalizationsLinkagesResponse? Type6713 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6714 { get; set; } + public global::System.Collections.Generic.IList? Type6714 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaGroupsLinkagesResponseDataItem? Type6715 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceAppClipDefaultExperienceLocalizationsLinkagesResponseDataItem? Type6715 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaGroupsLinkagesResponseDataItemType? Type6716 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceAppClipDefaultExperienceLocalizationsLinkagesResponseDataItemType? Type6716 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementWithoutIncludesResponse? Type6717 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse? Type6717 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaLicenseAgreementLinkageResponse? Type6718 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponseData? Type6718 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaLicenseAgreementLinkageResponseData? Type6719 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponseDataType? Type6719 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaLicenseAgreementLinkageResponseDataType? Type6720 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest? Type6720 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaTestersLinkagesRequest? Type6721 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequestData? Type6721 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6722 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequestDataType? Type6722 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaTestersLinkagesRequestDataItem? Type6723 { get; set; } + public global::AppStoreConnect.AppClipAppClipAdvancedExperiencesLinkagesResponse? Type6723 { get; set; } /// /// /// - public global::AppStoreConnect.AppBetaTestersLinkagesRequestDataItemType? Type6724 { get; set; } + public global::System.Collections.Generic.IList? Type6724 { get; set; } /// /// /// - public global::AppStoreConnect.AppBuildUploadsLinkagesResponse? Type6725 { get; set; } + public global::AppStoreConnect.AppClipAppClipAdvancedExperiencesLinkagesResponseDataItem? Type6725 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6726 { get; set; } + public global::AppStoreConnect.AppClipAppClipAdvancedExperiencesLinkagesResponseDataItemType? Type6726 { get; set; } /// /// /// - public global::AppStoreConnect.AppBuildUploadsLinkagesResponseDataItem? Type6727 { get; set; } + public global::AppStoreConnect.AppClipAppClipDefaultExperiencesLinkagesResponse? Type6727 { get; set; } /// /// /// - public global::AppStoreConnect.AppBuildUploadsLinkagesResponseDataItemType? Type6728 { get; set; } + public global::System.Collections.Generic.IList? Type6728 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsWithoutIncludesResponse? Type6729 { get; set; } + public global::AppStoreConnect.AppClipAppClipDefaultExperiencesLinkagesResponseDataItem? Type6729 { get; set; } /// /// /// - public global::AppStoreConnect.AppBuildsLinkagesResponse? Type6730 { get; set; } + public global::AppStoreConnect.AppClipAppClipDefaultExperiencesLinkagesResponseDataItemType? Type6730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6731 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationAppPreviewSetsLinkagesResponse? Type6731 { get; set; } /// /// /// - public global::AppStoreConnect.AppBuildsLinkagesResponseDataItem? Type6732 { get; set; } + public global::System.Collections.Generic.IList? Type6732 { get; set; } /// /// /// - public global::AppStoreConnect.AppBuildsLinkagesResponseDataItemType? Type6733 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationAppPreviewSetsLinkagesResponseDataItem? Type6733 { get; set; } /// /// /// - public global::AppStoreConnect.AppCiProductLinkageResponse? Type6734 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationAppPreviewSetsLinkagesResponseDataItemType? Type6734 { get; set; } /// /// /// - public global::AppStoreConnect.AppCiProductLinkageResponseData? Type6735 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponse? Type6735 { get; set; } /// /// /// - public global::AppStoreConnect.AppCiProductLinkageResponseDataType? Type6736 { get; set; } + public global::System.Collections.Generic.IList? Type6736 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomerReviewsLinkagesResponse? Type6737 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItem? Type6737 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6738 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponseDataItemType? Type6738 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomerReviewsLinkagesResponseDataItem? Type6739 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse? Type6739 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomerReviewsLinkagesResponseDataItemType? Type6740 { get; set; } + public global::System.Collections.Generic.IList? Type6740 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementWithoutIncludesResponse? Type6741 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem? Type6741 { get; set; } /// /// /// - public global::AppStoreConnect.AppEndUserLicenseAgreementLinkageResponse? Type6742 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType? Type6742 { get; set; } /// /// /// - public global::AppStoreConnect.AppEndUserLicenseAgreementLinkageResponseData? Type6743 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponse? Type6743 { get; set; } /// /// /// - public global::AppStoreConnect.AppEndUserLicenseAgreementLinkageResponseDataType? Type6744 { get; set; } + public global::System.Collections.Generic.IList? Type6744 { get; set; } /// /// /// - public global::AppStoreConnect.AppGameCenterDetailLinkageResponse? Type6745 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItem? Type6745 { get; set; } /// /// /// - public global::AppStoreConnect.AppGameCenterDetailLinkageResponseData? Type6746 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesResponseDataItemType? Type6746 { get; set; } /// /// /// - public global::AppStoreConnect.AppGameCenterDetailLinkageResponseDataType? Type6747 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesRequest? Type6747 { get; set; } /// /// /// - public global::AppStoreConnect.AppGameCenterEnabledVersionsLinkagesResponse? Type6748 { get; set; } + public global::System.Collections.Generic.IList? Type6748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6749 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesRequestDataItem? Type6749 { get; set; } /// /// /// - public global::AppStoreConnect.AppGameCenterEnabledVersionsLinkagesResponseDataItem? Type6750 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationSearchKeywordsLinkagesRequestDataItemType? Type6750 { get; set; } /// /// /// - public global::AppStoreConnect.AppGameCenterEnabledVersionsLinkagesResponseDataItemType? Type6751 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionAppCustomProductPageLocalizationsLinkagesResponse? Type6751 { get; set; } /// /// /// - public global::AppStoreConnect.AppInAppPurchasesLinkagesResponse? Type6752 { get; set; } + public global::System.Collections.Generic.IList? Type6752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6753 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionAppCustomProductPageLocalizationsLinkagesResponseDataItem? Type6753 { get; set; } /// /// /// - public global::AppStoreConnect.AppInAppPurchasesLinkagesResponseDataItem? Type6754 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionAppCustomProductPageLocalizationsLinkagesResponseDataItemType? Type6754 { get; set; } /// /// /// - public global::AppStoreConnect.AppInAppPurchasesLinkagesResponseDataItemType? Type6755 { get; set; } + public global::AppStoreConnect.AppCustomProductPageAppCustomProductPageVersionsLinkagesResponse? Type6755 { get; set; } /// /// /// - public global::AppStoreConnect.AppInAppPurchasesV2LinkagesResponse? Type6756 { get; set; } + public global::System.Collections.Generic.IList? Type6756 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6757 { get; set; } + public global::AppStoreConnect.AppCustomProductPageAppCustomProductPageVersionsLinkagesResponseDataItem? Type6757 { get; set; } /// /// /// - public global::AppStoreConnect.AppInAppPurchasesV2LinkagesResponseDataItem? Type6758 { get; set; } + public global::AppStoreConnect.AppCustomProductPageAppCustomProductPageVersionsLinkagesResponseDataItemType? Type6758 { get; set; } /// /// /// - public global::AppStoreConnect.AppInAppPurchasesV2LinkagesResponseDataItemType? Type6759 { get; set; } + public global::AppStoreConnect.AppWithoutIncludesResponse? Type6759 { get; set; } /// /// /// - public global::AppStoreConnect.AppMarketplaceSearchDetailLinkageResponse? Type6760 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationAppLinkageResponse? Type6760 { get; set; } /// /// /// - public global::AppStoreConnect.AppMarketplaceSearchDetailLinkageResponseData? Type6761 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationAppLinkageResponseData? Type6761 { get; set; } /// /// /// - public global::AppStoreConnect.AppMarketplaceSearchDetailLinkageResponseDataType? Type6762 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationAppLinkageResponseDataType? Type6762 { get; set; } /// /// /// - public global::AppStoreConnect.AppPerfPowerMetricsLinkagesResponse? Type6763 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationAppEncryptionDeclarationDocumentLinkageResponse? Type6763 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6764 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationAppEncryptionDeclarationDocumentLinkageResponseData? Type6764 { get; set; } /// /// /// - public global::AppStoreConnect.AppPerfPowerMetricsLinkagesResponseDataItem? Type6765 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationAppEncryptionDeclarationDocumentLinkageResponseDataType? Type6765 { get; set; } /// /// /// - public global::AppStoreConnect.AppPerfPowerMetricsLinkagesResponseDataItemType? Type6766 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationBuildsLinkagesRequest? Type6766 { get; set; } /// /// /// - public global::AppStoreConnect.AppPerformanceOverviewsLinkagesResponse? Type6767 { get; set; } + public global::System.Collections.Generic.IList? Type6767 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6768 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationBuildsLinkagesRequestDataItem? Type6768 { get; set; } /// /// /// - public global::AppStoreConnect.AppPerformanceOverviewsLinkagesResponseDataItem? Type6769 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationBuildsLinkagesRequestDataItemType? Type6769 { get; set; } /// /// /// - public global::AppStoreConnect.AppPerformanceOverviewsLinkagesResponseDataItemType? Type6770 { get; set; } + public global::AppStoreConnect.AppEventLocalizationAppEventScreenshotsLinkagesResponse? Type6770 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsWithoutIncludesResponse? Type6771 { get; set; } + public global::System.Collections.Generic.IList? Type6771 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreReleaseVersionsLinkagesResponse? Type6772 { get; set; } + public global::AppStoreConnect.AppEventLocalizationAppEventScreenshotsLinkagesResponseDataItem? Type6772 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6773 { get; set; } + public global::AppStoreConnect.AppEventLocalizationAppEventScreenshotsLinkagesResponseDataItemType? Type6773 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreReleaseVersionsLinkagesResponseDataItem? Type6774 { get; set; } + public global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponse? Type6774 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreReleaseVersionsLinkagesResponseDataItemType? Type6775 { get; set; } + public global::System.Collections.Generic.IList? Type6775 { get; set; } /// /// /// - public global::AppStoreConnect.AppPromotedPurchasesLinkagesResponse? Type6776 { get; set; } + public global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItem? Type6776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6777 { get; set; } + public global::AppStoreConnect.AppEventLocalizationAppEventVideoClipsLinkagesResponseDataItemType? Type6777 { get; set; } /// /// /// - public global::AppStoreConnect.AppPromotedPurchasesLinkagesResponseDataItem? Type6778 { get; set; } + public global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse? Type6778 { get; set; } /// /// /// - public global::AppStoreConnect.AppPromotedPurchasesLinkagesResponseDataItemType? Type6779 { get; set; } + public global::System.Collections.Generic.IList? Type6779 { get; set; } /// /// /// - public global::AppStoreConnect.AppPromotedPurchasesLinkagesRequest? Type6780 { get; set; } + public global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem? Type6780 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6781 { get; set; } + public global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType? Type6781 { get; set; } /// /// /// - public global::AppStoreConnect.AppPromotedPurchasesLinkagesRequestDataItem? Type6782 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsLinkagesResponse? Type6782 { get; set; } /// /// /// - public global::AppStoreConnect.AppPromotedPurchasesLinkagesRequestDataItemType? Type6783 { get; set; } + public global::System.Collections.Generic.IList? Type6783 { get; set; } /// /// /// - public global::AppStoreConnect.AppReviewSubmissionsLinkagesResponse? Type6784 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsLinkagesResponseDataItem? Type6784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6785 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsLinkagesResponseDataItemType? Type6785 { get; set; } /// /// /// - public global::AppStoreConnect.AppReviewSubmissionsLinkagesResponseDataItem? Type6786 { get; set; } + public global::AppStoreConnect.AppInfoAgeRatingDeclarationLinkageResponse? Type6786 { get; set; } /// /// /// - public global::AppStoreConnect.AppReviewSubmissionsLinkagesResponseDataItemType? Type6787 { get; set; } + public global::AppStoreConnect.AppInfoAgeRatingDeclarationLinkageResponseData? Type6787 { get; set; } /// /// /// - public global::AppStoreConnect.AppSearchKeywordsLinkagesResponse? Type6788 { get; set; } + public global::AppStoreConnect.AppInfoAgeRatingDeclarationLinkageResponseDataType? Type6788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6789 { get; set; } + public global::AppStoreConnect.AppInfoAppInfoLocalizationsLinkagesResponse? Type6789 { get; set; } /// /// /// - public global::AppStoreConnect.AppSearchKeywordsLinkagesResponseDataItem? Type6790 { get; set; } + public global::System.Collections.Generic.IList? Type6790 { get; set; } /// /// /// - public global::AppStoreConnect.AppSearchKeywordsLinkagesResponseDataItemType? Type6791 { get; set; } + public global::AppStoreConnect.AppInfoAppInfoLocalizationsLinkagesResponseDataItem? Type6791 { get; set; } /// /// /// - public global::AppStoreConnect.AppSubscriptionGracePeriodLinkageResponse? Type6792 { get; set; } + public global::AppStoreConnect.AppInfoAppInfoLocalizationsLinkagesResponseDataItemType? Type6792 { get; set; } /// /// /// - public global::AppStoreConnect.AppSubscriptionGracePeriodLinkageResponseData? Type6793 { get; set; } + public global::AppStoreConnect.AppInfoPrimaryCategoryLinkageResponse? Type6793 { get; set; } /// /// /// - public global::AppStoreConnect.AppSubscriptionGracePeriodLinkageResponseDataType? Type6794 { get; set; } + public global::AppStoreConnect.AppInfoPrimaryCategoryLinkageResponseData? Type6794 { get; set; } /// /// /// - public global::AppStoreConnect.AppSubscriptionGroupsLinkagesResponse? Type6795 { get; set; } + public global::AppStoreConnect.AppInfoPrimaryCategoryLinkageResponseDataType? Type6795 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6796 { get; set; } + public global::AppStoreConnect.AppInfoPrimarySubcategoryOneLinkageResponse? Type6796 { get; set; } /// /// /// - public global::AppStoreConnect.AppSubscriptionGroupsLinkagesResponseDataItem? Type6797 { get; set; } + public global::AppStoreConnect.AppInfoPrimarySubcategoryOneLinkageResponseData? Type6797 { get; set; } /// /// /// - public global::AppStoreConnect.AppSubscriptionGroupsLinkagesResponseDataItemType? Type6798 { get; set; } + public global::AppStoreConnect.AppInfoPrimarySubcategoryOneLinkageResponseDataType? Type6798 { get; set; } /// /// /// - public global::AppStoreConnect.AppWebhooksLinkagesResponse? Type6799 { get; set; } + public global::AppStoreConnect.AppInfoPrimarySubcategoryTwoLinkageResponse? Type6799 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6800 { get; set; } + public global::AppStoreConnect.AppInfoPrimarySubcategoryTwoLinkageResponseData? Type6800 { get; set; } /// /// /// - public global::AppStoreConnect.AppWebhooksLinkagesResponseDataItem? Type6801 { get; set; } + public global::AppStoreConnect.AppInfoPrimarySubcategoryTwoLinkageResponseDataType? Type6801 { get; set; } /// /// /// - public global::AppStoreConnect.AppWebhooksLinkagesResponseDataItemType? Type6802 { get; set; } + public global::AppStoreConnect.AppInfoSecondaryCategoryLinkageResponse? Type6802 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionBackgroundAssetUploadFilesLinkagesResponse? Type6803 { get; set; } + public global::AppStoreConnect.AppInfoSecondaryCategoryLinkageResponseData? Type6803 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6804 { get; set; } + public global::AppStoreConnect.AppInfoSecondaryCategoryLinkageResponseDataType? Type6804 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionBackgroundAssetUploadFilesLinkagesResponseDataItem? Type6805 { get; set; } + public global::AppStoreConnect.AppInfoSecondarySubcategoryOneLinkageResponse? Type6805 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionBackgroundAssetUploadFilesLinkagesResponseDataItemType? Type6806 { get; set; } + public global::AppStoreConnect.AppInfoSecondarySubcategoryOneLinkageResponseData? Type6806 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsLinkagesResponse? Type6807 { get; set; } + public global::AppStoreConnect.AppInfoSecondarySubcategoryOneLinkageResponseDataType? Type6807 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6808 { get; set; } + public global::AppStoreConnect.AppInfoSecondarySubcategoryTwoLinkageResponse? Type6808 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsLinkagesResponseDataItem? Type6809 { get; set; } + public global::AppStoreConnect.AppInfoSecondarySubcategoryTwoLinkageResponseData? Type6809 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsLinkagesResponseDataItemType? Type6810 { get; set; } + public global::AppStoreConnect.AppInfoSecondarySubcategoryTwoLinkageResponseDataType? Type6810 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationAppLinkageResponse? Type6811 { get; set; } + public global::AppStoreConnect.AppInfoTerritoryAgeRatingsLinkagesResponse? Type6811 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationAppLinkageResponseData? Type6812 { get; set; } + public global::System.Collections.Generic.IList? Type6812 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationAppLinkageResponseDataType? Type6813 { get; set; } + public global::AppStoreConnect.AppInfoTerritoryAgeRatingsLinkagesResponseDataItem? Type6813 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailAppLinkageResponse? Type6814 { get; set; } + public global::AppStoreConnect.AppInfoTerritoryAgeRatingsLinkagesResponseDataItemType? Type6814 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailAppLinkageResponseData? Type6815 { get; set; } + public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesResponse? Type6815 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailAppLinkageResponseDataType? Type6816 { get; set; } + public global::System.Collections.Generic.IList? Type6816 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionBuildLinkageResponse? Type6817 { get; set; } + public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesResponseDataItem? Type6817 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionBuildLinkageResponseData? Type6818 { get; set; } + public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesResponseDataItemType? Type6818 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionBuildLinkageResponseDataType? Type6819 { get; set; } + public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesRequest? Type6819 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationBuildLinkageResponse? Type6820 { get; set; } + public global::System.Collections.Generic.IList? Type6820 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationBuildLinkageResponseData? Type6821 { get; set; } + public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesRequestDataItem? Type6821 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationBuildLinkageResponseDataType? Type6822 { get; set; } + public global::AppStoreConnect.AppPreviewSetAppPreviewsLinkagesRequestDataItemType? Type6822 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionCrashLogLinkageResponse? Type6823 { get; set; } + public global::AppStoreConnect.AppPricePointV3EqualizationsLinkagesResponse? Type6823 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionCrashLogLinkageResponseData? Type6824 { get; set; } + public global::System.Collections.Generic.IList? Type6824 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionCrashLogLinkageResponseDataType? Type6825 { get; set; } + public global::AppStoreConnect.AppPricePointV3EqualizationsLinkagesResponseDataItem? Type6825 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupAppLinkageResponse? Type6826 { get; set; } + public global::AppStoreConnect.AppPricePointV3EqualizationsLinkagesResponseDataItemType? Type6826 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupAppLinkageResponseData? Type6827 { get; set; } + public global::AppStoreConnect.AppPriceScheduleAutomaticPricesLinkagesResponse? Type6827 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupAppLinkageResponseDataType? Type6828 { get; set; } + public global::System.Collections.Generic.IList? Type6828 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaRecruitmentCriteriaLinkageResponse? Type6829 { get; set; } + public global::AppStoreConnect.AppPriceScheduleAutomaticPricesLinkagesResponseDataItem? Type6829 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaRecruitmentCriteriaLinkageResponseData? Type6830 { get; set; } + public global::AppStoreConnect.AppPriceScheduleAutomaticPricesLinkagesResponseDataItemType? Type6830 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaRecruitmentCriteriaLinkageResponseDataType? Type6831 { get; set; } + public global::AppStoreConnect.AppPriceScheduleBaseTerritoryLinkageResponse? Type6831 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponse? Type6832 { get; set; } + public global::AppStoreConnect.AppPriceScheduleBaseTerritoryLinkageResponseData? Type6832 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponseData? Type6833 { get; set; } + public global::AppStoreConnect.AppPriceScheduleBaseTerritoryLinkageResponseDataType? Type6833 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponseDataType? Type6834 { get; set; } + public global::AppStoreConnect.AppPriceScheduleManualPricesLinkagesResponse? Type6834 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersWithoutIncludesResponse? Type6835 { get; set; } + public global::System.Collections.Generic.IList? Type6835 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaTestersLinkagesResponse? Type6836 { get; set; } + public global::AppStoreConnect.AppPriceScheduleManualPricesLinkagesResponseDataItem? Type6836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6837 { get; set; } + public global::AppStoreConnect.AppPriceScheduleManualPricesLinkagesResponseDataItemType? Type6837 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaTestersLinkagesResponseDataItem? Type6838 { get; set; } + public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesResponse? Type6838 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaTestersLinkagesResponseDataItemType? Type6839 { get; set; } + public global::System.Collections.Generic.IList? Type6839 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaTestersLinkagesRequest? Type6840 { get; set; } + public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesResponseDataItem? Type6840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6841 { get; set; } + public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesResponseDataItemType? Type6841 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaTestersLinkagesRequestDataItem? Type6842 { get; set; } + public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesRequest? Type6842 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBetaTestersLinkagesRequestDataItemType? Type6843 { get; set; } + public global::System.Collections.Generic.IList? Type6843 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBuildsLinkagesResponse? Type6844 { get; set; } + public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesRequestDataItem? Type6844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6845 { get; set; } + public global::AppStoreConnect.AppScreenshotSetAppScreenshotsLinkagesRequestDataItemType? Type6845 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBuildsLinkagesResponseDataItem? Type6846 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponse? Type6846 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBuildsLinkagesResponseDataItemType? Type6847 { get; set; } + public global::System.Collections.Generic.IList? Type6847 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBuildsLinkagesRequest? Type6848 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponseDataItem? Type6848 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6849 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponseDataItemType? Type6849 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBuildsLinkagesRequestDataItem? Type6850 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponse? Type6850 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupBuildsLinkagesRequestDataItemType? Type6851 { get; set; } + public global::System.Collections.Generic.IList? Type6851 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementAppLinkageResponse? Type6852 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItem? Type6852 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementAppLinkageResponseData? Type6853 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponseDataItemType? Type6853 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementAppLinkageResponseDataType? Type6854 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponse? Type6854 { get; set; } /// /// /// - public global::AppStoreConnect.AppsWithoutIncludesResponse? Type6855 { get; set; } + public global::System.Collections.Generic.IList? Type6855 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterAppsLinkagesResponse? Type6856 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItem? Type6856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6857 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponseDataItemType? Type6857 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterAppsLinkagesResponseDataItem? Type6858 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse? Type6858 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterAppsLinkagesResponseDataItemType? Type6859 { get; set; } + public global::System.Collections.Generic.IList? Type6859 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterAppsLinkagesRequest? Type6860 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem? Type6860 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6861 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType? Type6861 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterAppsLinkagesRequestDataItem? Type6862 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponse? Type6862 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterAppsLinkagesRequestDataItemType? Type6863 { get; set; } + public global::System.Collections.Generic.IList? Type6863 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesResponse? Type6864 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponseDataItem? Type6864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6865 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponseDataItemType? Type6865 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesResponseDataItem? Type6866 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponse? Type6866 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesResponseDataItemType? Type6867 { get; set; } + public global::System.Collections.Generic.IList? Type6867 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesRequest? Type6868 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponseDataItem? Type6868 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6869 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponseDataItemType? Type6869 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesRequestDataItem? Type6870 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponse? Type6870 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesRequestDataItemType? Type6871 { get; set; } + public global::System.Collections.Generic.IList? Type6871 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBuildsLinkagesResponse? Type6872 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponseDataItem? Type6872 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6873 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponseDataItemType? Type6873 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBuildsLinkagesResponseDataItem? Type6874 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationAppPreviewSetsLinkagesResponse? Type6874 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBuildsLinkagesResponseDataItemType? Type6875 { get; set; } + public global::System.Collections.Generic.IList? Type6875 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBuildsLinkagesRequest? Type6876 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationAppPreviewSetsLinkagesResponseDataItem? Type6876 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6877 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationAppPreviewSetsLinkagesResponseDataItemType? Type6877 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBuildsLinkagesRequestDataItem? Type6878 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponse? Type6878 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterBuildsLinkagesRequestDataItemType? Type6879 { get; set; } + public global::System.Collections.Generic.IList? Type6879 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailBuildLinkageResponse? Type6880 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItem? Type6880 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailBuildLinkageResponseData? Type6881 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponseDataItemType? Type6881 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailBuildLinkageResponseDataType? Type6882 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse? Type6882 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleAppClipDomainCacheStatusLinkageResponse? Type6883 { get; set; } + public global::System.Collections.Generic.IList? Type6883 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleAppClipDomainCacheStatusLinkageResponseData? Type6884 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem? Type6884 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleAppClipDomainCacheStatusLinkageResponseDataType? Type6885 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType? Type6885 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleAppClipDomainDebugStatusLinkageResponse? Type6886 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponse? Type6886 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleAppClipDomainDebugStatusLinkageResponseData? Type6887 { get; set; } + public global::System.Collections.Generic.IList? Type6887 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleAppClipDomainDebugStatusLinkageResponseDataType? Type6888 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItem? Type6888 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleBetaAppClipInvocationsLinkagesResponse? Type6889 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesResponseDataItemType? Type6889 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6890 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesRequest? Type6890 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleBetaAppClipInvocationsLinkagesResponseDataItem? Type6891 { get; set; } + public global::System.Collections.Generic.IList? Type6891 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleBetaAppClipInvocationsLinkagesResponseDataItemType? Type6892 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesRequestDataItem? Type6892 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleBuildBundleFileSizesLinkagesResponse? Type6893 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationSearchKeywordsLinkagesRequestDataItemType? Type6893 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6894 { get; set; } + public global::AppStoreConnect.AppStoreVersionAlternativeDistributionPackageLinkageResponse? Type6894 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleBuildBundleFileSizesLinkagesResponseDataItem? Type6895 { get; set; } + public global::AppStoreConnect.AppStoreVersionAlternativeDistributionPackageLinkageResponseData? Type6895 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundleBuildBundleFileSizesLinkagesResponseDataItemType? Type6896 { get; set; } + public global::AppStoreConnect.AppStoreVersionAlternativeDistributionPackageLinkageResponseDataType? Type6896 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadBuildUploadFilesLinkagesResponse? Type6897 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageResponse? Type6897 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6898 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageResponseData? Type6898 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadBuildUploadFilesLinkagesResponseDataItem? Type6899 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageResponseDataType? Type6899 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadBuildUploadFilesLinkagesResponseDataItemType? Type6900 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageRequest? Type6900 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppLinkageResponse? Type6901 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageRequestData? Type6901 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppLinkageResponseData? Type6902 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppClipDefaultExperienceLinkageRequestDataType? Type6902 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppLinkageResponseDataType? Type6903 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreReviewDetailLinkageResponse? Type6903 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationWithoutIncludesResponse? Type6904 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreReviewDetailLinkageResponseData? Type6904 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageResponse? Type6905 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreReviewDetailLinkageResponseDataType? Type6905 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageResponseData? Type6906 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsLinkagesResponse? Type6906 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageResponseDataType? Type6907 { get; set; } + public global::System.Collections.Generic.IList? Type6907 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageRequest? Type6908 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsLinkagesResponseDataItem? Type6908 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageRequestData? Type6909 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsLinkagesResponseDataItemType? Type6909 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageRequestDataType? Type6910 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsV2LinkagesResponse? Type6910 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppStoreVersionLinkageResponse? Type6911 { get; set; } + public global::System.Collections.Generic.IList? Type6911 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppStoreVersionLinkageResponseData? Type6912 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsV2LinkagesResponseDataItem? Type6912 { get; set; } /// /// /// - public global::AppStoreConnect.BuildAppStoreVersionLinkageResponseDataType? Type6913 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionExperimentsV2LinkagesResponseDataItemType? Type6913 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionWithoutIncludesResponse? Type6914 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionLocalizationsLinkagesResponse? Type6914 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaAppReviewSubmissionLinkageResponse? Type6915 { get; set; } + public global::System.Collections.Generic.IList? Type6915 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaAppReviewSubmissionLinkageResponseData? Type6916 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionLocalizationsLinkagesResponseDataItem? Type6916 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaAppReviewSubmissionLinkageResponseDataType? Type6917 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionLocalizationsLinkagesResponseDataItemType? Type6917 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationsWithoutIncludesResponse? Type6918 { get; set; } + public global::AppStoreConnect.AppStoreVersionPhasedReleaseWithoutIncludesResponse? Type6918 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaBuildLocalizationsLinkagesResponse? Type6919 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionPhasedReleaseLinkageResponse? Type6919 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6920 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionPhasedReleaseLinkageResponseData? Type6920 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaBuildLocalizationsLinkagesResponseDataItem? Type6921 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionPhasedReleaseLinkageResponseDataType? Type6921 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaBuildLocalizationsLinkagesResponseDataItemType? Type6922 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionSubmissionLinkageResponse? Type6922 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaGroupsLinkagesRequest? Type6923 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionSubmissionLinkageResponseData? Type6923 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6924 { get; set; } + public global::AppStoreConnect.AppStoreVersionAppStoreVersionSubmissionLinkageResponseDataType? Type6924 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaGroupsLinkagesRequestDataItem? Type6925 { get; set; } + public global::AppStoreConnect.BuildWithoutIncludesResponse? Type6925 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaGroupsLinkagesRequestDataItemType? Type6926 { get; set; } + public global::AppStoreConnect.AppStoreVersionBuildLinkageResponse? Type6926 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBuildBetaDetailLinkageResponse? Type6927 { get; set; } + public global::AppStoreConnect.AppStoreVersionBuildLinkageResponseData? Type6927 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBuildBetaDetailLinkageResponseData? Type6928 { get; set; } + public global::AppStoreConnect.AppStoreVersionBuildLinkageResponseDataType? Type6928 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBuildBetaDetailLinkageResponseDataType? Type6929 { get; set; } + public global::AppStoreConnect.AppStoreVersionBuildLinkageRequest? Type6929 { get; set; } /// /// /// - public global::AppStoreConnect.BuildDiagnosticSignaturesLinkagesResponse? Type6930 { get; set; } + public global::AppStoreConnect.AppStoreVersionBuildLinkageRequestData? Type6930 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6931 { get; set; } + public global::AppStoreConnect.AppStoreVersionBuildLinkageRequestDataType? Type6931 { get; set; } /// /// /// - public global::AppStoreConnect.BuildDiagnosticSignaturesLinkagesResponseDataItem? Type6932 { get; set; } + public global::AppStoreConnect.AppStoreVersionCustomerReviewsLinkagesResponse? Type6932 { get; set; } /// /// /// - public global::AppStoreConnect.BuildDiagnosticSignaturesLinkagesResponseDataItemType? Type6933 { get; set; } + public global::System.Collections.Generic.IList? Type6933 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIconsWithoutIncludesResponse? Type6934 { get; set; } + public global::AppStoreConnect.AppStoreVersionCustomerReviewsLinkagesResponseDataItem? Type6934 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIconsLinkagesResponse? Type6935 { get; set; } + public global::AppStoreConnect.AppStoreVersionCustomerReviewsLinkagesResponseDataItemType? Type6935 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6936 { get; set; } + public global::AppStoreConnect.AppStoreVersionGameCenterAppVersionLinkageResponse? Type6936 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIconsLinkagesResponseDataItem? Type6937 { get; set; } + public global::AppStoreConnect.AppStoreVersionGameCenterAppVersionLinkageResponseData? Type6937 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIconsLinkagesResponseDataItemType? Type6938 { get; set; } + public global::AppStoreConnect.AppStoreVersionGameCenterAppVersionLinkageResponseDataType? Type6938 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIndividualTestersLinkagesResponse? Type6939 { get; set; } + public global::AppStoreConnect.AppStoreVersionRoutingAppCoverageLinkageResponse? Type6939 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6940 { get; set; } + public global::AppStoreConnect.AppStoreVersionRoutingAppCoverageLinkageResponseData? Type6940 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIndividualTestersLinkagesResponseDataItem? Type6941 { get; set; } + public global::AppStoreConnect.AppStoreVersionRoutingAppCoverageLinkageResponseDataType? Type6941 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIndividualTestersLinkagesResponseDataItemType? Type6942 { get; set; } + public global::AppStoreConnect.AppTagTerritoriesLinkagesResponse? Type6942 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIndividualTestersLinkagesRequest? Type6943 { get; set; } + public global::System.Collections.Generic.IList? Type6943 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6944 { get; set; } + public global::AppStoreConnect.AppTagTerritoriesLinkagesResponseDataItem? Type6944 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIndividualTestersLinkagesRequestDataItem? Type6945 { get; set; } + public global::AppStoreConnect.AppTagTerritoriesLinkagesResponseDataItemType? Type6945 { get; set; } /// /// /// - public global::AppStoreConnect.BuildIndividualTestersLinkagesRequestDataItemType? Type6946 { get; set; } + public global::AppStoreConnect.AppAccessibilityDeclarationsLinkagesResponse? Type6946 { get; set; } /// /// /// - public global::AppStoreConnect.BuildPerfPowerMetricsLinkagesResponse? Type6947 { get; set; } + public global::System.Collections.Generic.IList? Type6947 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6948 { get; set; } + public global::AppStoreConnect.AppAccessibilityDeclarationsLinkagesResponseDataItem? Type6948 { get; set; } /// /// /// - public global::AppStoreConnect.BuildPerfPowerMetricsLinkagesResponseDataItem? Type6949 { get; set; } + public global::AppStoreConnect.AppAccessibilityDeclarationsLinkagesResponseDataItemType? Type6949 { get; set; } /// /// /// - public global::AppStoreConnect.BuildPerfPowerMetricsLinkagesResponseDataItemType? Type6950 { get; set; } + public global::AppStoreConnect.AppAlternativeDistributionKeyLinkageResponse? Type6950 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionWithoutIncludesResponse? Type6951 { get; set; } + public global::AppStoreConnect.AppAlternativeDistributionKeyLinkageResponseData? Type6951 { get; set; } /// /// /// - public global::AppStoreConnect.BuildPreReleaseVersionLinkageResponse? Type6952 { get; set; } + public global::AppStoreConnect.AppAlternativeDistributionKeyLinkageResponseDataType? Type6952 { get; set; } /// /// /// - public global::AppStoreConnect.BuildPreReleaseVersionLinkageResponseData? Type6953 { get; set; } + public global::AppStoreConnect.AppAnalyticsReportRequestsLinkagesResponse? Type6953 { get; set; } /// /// /// - public global::AppStoreConnect.BuildPreReleaseVersionLinkageResponseDataType? Type6954 { get; set; } + public global::System.Collections.Generic.IList? Type6954 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdAppLinkageResponse? Type6955 { get; set; } + public global::AppStoreConnect.AppAnalyticsReportRequestsLinkagesResponseDataItem? Type6955 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdAppLinkageResponseData? Type6956 { get; set; } + public global::AppStoreConnect.AppAnalyticsReportRequestsLinkagesResponseDataItemType? Type6956 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdAppLinkageResponseDataType? Type6957 { get; set; } + public global::AppStoreConnect.AppAndroidToIosAppMappingDetailsLinkagesResponse? Type6957 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdCapabilitiesWithoutIncludesResponse? Type6958 { get; set; } + public global::System.Collections.Generic.IList? Type6958 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdBundleIdCapabilitiesLinkagesResponse? Type6959 { get; set; } + public global::AppStoreConnect.AppAndroidToIosAppMappingDetailsLinkagesResponseDataItem? Type6959 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6960 { get; set; } + public global::AppStoreConnect.AppAndroidToIosAppMappingDetailsLinkagesResponseDataItemType? Type6960 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdBundleIdCapabilitiesLinkagesResponseDataItem? Type6961 { get; set; } + public global::AppStoreConnect.AppAppAvailabilityV2LinkageResponse? Type6961 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdBundleIdCapabilitiesLinkagesResponseDataItemType? Type6962 { get; set; } + public global::AppStoreConnect.AppAppAvailabilityV2LinkageResponseData? Type6962 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesWithoutIncludesResponse? Type6963 { get; set; } + public global::AppStoreConnect.AppAppAvailabilityV2LinkageResponseDataType? Type6963 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdProfilesLinkagesResponse? Type6964 { get; set; } + public global::AppStoreConnect.AppAppClipsLinkagesResponse? Type6964 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6965 { get; set; } + public global::System.Collections.Generic.IList? Type6965 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdProfilesLinkagesResponseDataItem? Type6966 { get; set; } + public global::AppStoreConnect.AppAppClipsLinkagesResponseDataItem? Type6966 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdProfilesLinkagesResponseDataItemType? Type6967 { get; set; } + public global::AppStoreConnect.AppAppClipsLinkagesResponseDataItemType? Type6967 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatePassTypeIdLinkageResponse? Type6968 { get; set; } + public global::AppStoreConnect.AppAppCustomProductPagesLinkagesResponse? Type6968 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatePassTypeIdLinkageResponseData? Type6969 { get; set; } + public global::System.Collections.Generic.IList? Type6969 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatePassTypeIdLinkageResponseDataType? Type6970 { get; set; } + public global::AppStoreConnect.AppAppCustomProductPagesLinkagesResponseDataItem? Type6970 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionArtifactsLinkagesResponse? Type6971 { get; set; } + public global::AppStoreConnect.AppAppCustomProductPagesLinkagesResponseDataItemType? Type6971 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6972 { get; set; } + public global::AppStoreConnect.AppAppEncryptionDeclarationsLinkagesResponse? Type6972 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionArtifactsLinkagesResponseDataItem? Type6973 { get; set; } + public global::System.Collections.Generic.IList? Type6973 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionArtifactsLinkagesResponseDataItemType? Type6974 { get; set; } + public global::AppStoreConnect.AppAppEncryptionDeclarationsLinkagesResponseDataItem? Type6974 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionBuildRunLinkageResponse? Type6975 { get; set; } + public global::AppStoreConnect.AppAppEncryptionDeclarationsLinkagesResponseDataItemType? Type6975 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionBuildRunLinkageResponseData? Type6976 { get; set; } + public global::AppStoreConnect.AppAppEventsLinkagesResponse? Type6976 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionBuildRunLinkageResponseDataType? Type6977 { get; set; } + public global::System.Collections.Generic.IList? Type6977 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionIssuesLinkagesResponse? Type6978 { get; set; } + public global::AppStoreConnect.AppAppEventsLinkagesResponseDataItem? Type6978 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6979 { get; set; } + public global::AppStoreConnect.AppAppEventsLinkagesResponseDataItemType? Type6979 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionIssuesLinkagesResponseDataItem? Type6980 { get; set; } + public global::AppStoreConnect.AppAppInfosLinkagesResponse? Type6980 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionIssuesLinkagesResponseDataItemType? Type6981 { get; set; } + public global::System.Collections.Generic.IList? Type6981 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionTestResultsLinkagesResponse? Type6982 { get; set; } + public global::AppStoreConnect.AppAppInfosLinkagesResponseDataItem? Type6982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6983 { get; set; } + public global::AppStoreConnect.AppAppInfosLinkagesResponseDataItemType? Type6983 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionTestResultsLinkagesResponseDataItem? Type6984 { get; set; } + public global::AppStoreConnect.AppAppPricePointsLinkagesResponse? Type6984 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionTestResultsLinkagesResponseDataItemType? Type6985 { get; set; } + public global::System.Collections.Generic.IList? Type6985 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunActionsLinkagesResponse? Type6986 { get; set; } + public global::AppStoreConnect.AppAppPricePointsLinkagesResponseDataItem? Type6986 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6987 { get; set; } + public global::AppStoreConnect.AppAppPricePointsLinkagesResponseDataItemType? Type6987 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunActionsLinkagesResponseDataItem? Type6988 { get; set; } + public global::AppStoreConnect.AppAppPriceScheduleLinkageResponse? Type6988 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunActionsLinkagesResponseDataItemType? Type6989 { get; set; } + public global::AppStoreConnect.AppAppPriceScheduleLinkageResponseData? Type6989 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunBuildsLinkagesResponse? Type6990 { get; set; } + public global::AppStoreConnect.AppAppPriceScheduleLinkageResponseDataType? Type6990 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6991 { get; set; } + public global::AppStoreConnect.AppAppStoreVersionExperimentsV2LinkagesResponse? Type6991 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunBuildsLinkagesResponseDataItem? Type6992 { get; set; } + public global::System.Collections.Generic.IList? Type6992 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunBuildsLinkagesResponseDataItemType? Type6993 { get; set; } + public global::AppStoreConnect.AppAppStoreVersionExperimentsV2LinkagesResponseDataItem? Type6993 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionXcodeVersionsLinkagesResponse? Type6994 { get; set; } + public global::AppStoreConnect.AppAppStoreVersionExperimentsV2LinkagesResponseDataItemType? Type6994 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6995 { get; set; } + public global::AppStoreConnect.AppAppStoreVersionsLinkagesResponse? Type6995 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionXcodeVersionsLinkagesResponseDataItem? Type6996 { get; set; } + public global::System.Collections.Generic.IList? Type6996 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionXcodeVersionsLinkagesResponseDataItemType? Type6997 { get; set; } + public global::AppStoreConnect.AppAppStoreVersionsLinkagesResponseDataItem? Type6997 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductAdditionalRepositoriesLinkagesResponse? Type6998 { get; set; } + public global::AppStoreConnect.AppAppStoreVersionsLinkagesResponseDataItemType? Type6998 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type6999 { get; set; } + public global::AppStoreConnect.AppAppTagsLinkagesResponse? Type6999 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductAdditionalRepositoriesLinkagesResponseDataItem? Type7000 { get; set; } + public global::System.Collections.Generic.IList? Type7000 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductAdditionalRepositoriesLinkagesResponseDataItemType? Type7001 { get; set; } + public global::AppStoreConnect.AppAppTagsLinkagesResponseDataItem? Type7001 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductAppLinkageResponse? Type7002 { get; set; } + public global::AppStoreConnect.AppAppTagsLinkagesResponseDataItemType? Type7002 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductAppLinkageResponseData? Type7003 { get; set; } + public global::AppStoreConnect.AppAssetLibraryLinkageResponse? Type7003 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductAppLinkageResponseDataType? Type7004 { get; set; } + public global::AppStoreConnect.AppAssetLibraryLinkageResponseData? Type7004 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductBuildRunsLinkagesResponse? Type7005 { get; set; } + public global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType? Type7005 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7006 { get; set; } + public global::AppStoreConnect.AppBackgroundAssetsLinkagesResponse? Type7006 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductBuildRunsLinkagesResponseDataItem? Type7007 { get; set; } + public global::System.Collections.Generic.IList? Type7007 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductBuildRunsLinkagesResponseDataItemType? Type7008 { get; set; } + public global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItem? Type7008 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductPrimaryRepositoriesLinkagesResponse? Type7009 { get; set; } + public global::AppStoreConnect.AppBackgroundAssetsLinkagesResponseDataItemType? Type7009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7010 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationsWithoutIncludesResponse? Type7010 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductPrimaryRepositoriesLinkagesResponseDataItem? Type7011 { get; set; } + public global::AppStoreConnect.AppBetaAppLocalizationsLinkagesResponse? Type7011 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductPrimaryRepositoriesLinkagesResponseDataItemType? Type7012 { get; set; } + public global::System.Collections.Generic.IList? Type7012 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductWorkflowsLinkagesResponse? Type7013 { get; set; } + public global::AppStoreConnect.AppBetaAppLocalizationsLinkagesResponseDataItem? Type7013 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7014 { get; set; } + public global::AppStoreConnect.AppBetaAppLocalizationsLinkagesResponseDataItemType? Type7014 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductWorkflowsLinkagesResponseDataItem? Type7015 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailWithoutIncludesResponse? Type7015 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductWorkflowsLinkagesResponseDataItemType? Type7016 { get; set; } + public global::AppStoreConnect.AppBetaAppReviewDetailLinkageResponse? Type7016 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowBuildRunsLinkagesResponse? Type7017 { get; set; } + public global::AppStoreConnect.AppBetaAppReviewDetailLinkageResponseData? Type7017 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7018 { get; set; } + public global::AppStoreConnect.AppBetaAppReviewDetailLinkageResponseDataType? Type7018 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowBuildRunsLinkagesResponseDataItem? Type7019 { get; set; } + public global::AppStoreConnect.AppBetaFeedbackCrashSubmissionsLinkagesResponse? Type7019 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowBuildRunsLinkagesResponseDataItemType? Type7020 { get; set; } + public global::System.Collections.Generic.IList? Type7020 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRepositoryLinkageResponse? Type7021 { get; set; } + public global::AppStoreConnect.AppBetaFeedbackCrashSubmissionsLinkagesResponseDataItem? Type7021 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRepositoryLinkageResponseData? Type7022 { get; set; } + public global::AppStoreConnect.AppBetaFeedbackCrashSubmissionsLinkagesResponseDataItemType? Type7022 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowRepositoryLinkageResponseDataType? Type7023 { get; set; } + public global::AppStoreConnect.AppBetaFeedbackScreenshotSubmissionsLinkagesResponse? Type7023 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionMacOsVersionsLinkagesResponse? Type7024 { get; set; } + public global::System.Collections.Generic.IList? Type7024 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7025 { get; set; } + public global::AppStoreConnect.AppBetaFeedbackScreenshotSubmissionsLinkagesResponseDataItem? Type7025 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionMacOsVersionsLinkagesResponseDataItem? Type7026 { get; set; } + public global::AppStoreConnect.AppBetaFeedbackScreenshotSubmissionsLinkagesResponseDataItemType? Type7026 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionMacOsVersionsLinkagesResponseDataItemType? Type7027 { get; set; } + public global::AppStoreConnect.BetaGroupsWithoutIncludesResponse? Type7027 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseLinkageResponse? Type7028 { get; set; } + public global::AppStoreConnect.AppBetaGroupsLinkagesResponse? Type7028 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseLinkageResponseData? Type7029 { get; set; } + public global::System.Collections.Generic.IList? Type7029 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseLinkageResponseDataType? Type7030 { get; set; } + public global::AppStoreConnect.AppBetaGroupsLinkagesResponseDataItem? Type7030 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignatureLogsLinkagesResponse? Type7031 { get; set; } + public global::AppStoreConnect.AppBetaGroupsLinkagesResponseDataItemType? Type7031 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7032 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementWithoutIncludesResponse? Type7032 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignatureLogsLinkagesResponseDataItem? Type7033 { get; set; } + public global::AppStoreConnect.AppBetaLicenseAgreementLinkageResponse? Type7033 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticSignatureLogsLinkagesResponseDataItemType? Type7034 { get; set; } + public global::AppStoreConnect.AppBetaLicenseAgreementLinkageResponseData? Type7034 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoriesWithoutIncludesResponse? Type7035 { get; set; } + public global::AppStoreConnect.AppBetaLicenseAgreementLinkageResponseDataType? Type7035 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementTerritoriesLinkagesResponse? Type7036 { get; set; } + public global::AppStoreConnect.AppBetaTestersLinkagesRequest? Type7036 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7037 { get; set; } + public global::System.Collections.Generic.IList? Type7037 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementTerritoriesLinkagesResponseDataItem? Type7038 { get; set; } + public global::AppStoreConnect.AppBetaTestersLinkagesRequestDataItem? Type7038 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementTerritoriesLinkagesResponseDataItemType? Type7039 { get; set; } + public global::AppStoreConnect.AppBetaTestersLinkagesRequestDataItemType? Type7039 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2ImageLinkageResponse? Type7040 { get; set; } + public global::AppStoreConnect.AppBuildUploadsLinkagesResponse? Type7040 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2ImageLinkageResponseData? Type7041 { get; set; } + public global::System.Collections.Generic.IList? Type7041 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2ImageLinkageResponseDataType? Type7042 { get; set; } + public global::AppStoreConnect.AppBuildUploadsLinkagesResponseDataItem? Type7042 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementLinkageResponse? Type7043 { get; set; } + public global::AppStoreConnect.AppBuildUploadsLinkagesResponseDataItemType? Type7043 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementLinkageResponseData? Type7044 { get; set; } + public global::AppStoreConnect.BuildsWithoutIncludesResponse? Type7044 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementLinkageResponseDataType? Type7045 { get; set; } + public global::AppStoreConnect.AppBuildsLinkagesResponse? Type7045 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementImageLinkageResponse? Type7046 { get; set; } + public global::System.Collections.Generic.IList? Type7046 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementImageLinkageResponseData? Type7047 { get; set; } + public global::AppStoreConnect.AppBuildsLinkagesResponseDataItem? Type7047 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementImageLinkageResponseDataType? Type7048 { get; set; } + public global::AppStoreConnect.AppBuildsLinkagesResponseDataItemType? Type7048 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2LocalizationsLinkagesResponse? Type7049 { get; set; } + public global::AppStoreConnect.AppCiProductLinkageResponse? Type7049 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7050 { get; set; } + public global::AppStoreConnect.AppCiProductLinkageResponseData? Type7050 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2LocalizationsLinkagesResponseDataItem? Type7051 { get; set; } + public global::AppStoreConnect.AppCiProductLinkageResponseDataType? Type7051 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2LocalizationsLinkagesResponseDataItemType? Type7052 { get; set; } + public global::AppStoreConnect.AppCustomerReviewsLinkagesResponse? Type7052 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2ActivityLinkageRequest? Type7053 { get; set; } + public global::System.Collections.Generic.IList? Type7053 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2ActivityLinkageRequestData? Type7054 { get; set; } + public global::AppStoreConnect.AppCustomerReviewsLinkagesResponseDataItem? Type7054 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2ActivityLinkageRequestDataType? Type7055 { get; set; } + public global::AppStoreConnect.AppCustomerReviewsLinkagesResponseDataItemType? Type7055 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2VersionsLinkagesResponse? Type7056 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementWithoutIncludesResponse? Type7056 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7057 { get; set; } + public global::AppStoreConnect.AppEndUserLicenseAgreementLinkageResponse? Type7057 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2VersionsLinkagesResponseDataItem? Type7058 { get; set; } + public global::AppStoreConnect.AppEndUserLicenseAgreementLinkageResponseData? Type7058 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2VersionsLinkagesResponseDataItemType? Type7059 { get; set; } + public global::AppStoreConnect.AppEndUserLicenseAgreementLinkageResponseDataType? Type7059 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementActivityLinkageRequest? Type7060 { get; set; } + public global::AppStoreConnect.AppGameCenterDetailLinkageResponse? Type7060 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementActivityLinkageRequestData? Type7061 { get; set; } + public global::AppStoreConnect.AppGameCenterDetailLinkageResponseData? Type7061 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementActivityLinkageRequestDataType? Type7062 { get; set; } + public global::AppStoreConnect.AppGameCenterDetailLinkageResponseDataType? Type7062 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageResponse? Type7063 { get; set; } + public global::AppStoreConnect.AppGameCenterEnabledVersionsLinkagesResponse? Type7063 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageResponseData? Type7064 { get; set; } + public global::System.Collections.Generic.IList? Type7064 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageResponseDataType? Type7065 { get; set; } + public global::AppStoreConnect.AppGameCenterEnabledVersionsLinkagesResponseDataItem? Type7065 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageRequest? Type7066 { get; set; } + public global::AppStoreConnect.AppGameCenterEnabledVersionsLinkagesResponseDataItemType? Type7066 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageRequestData? Type7067 { get; set; } + public global::AppStoreConnect.AppInAppPurchasesLinkagesResponse? Type7067 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageRequestDataType? Type7068 { get; set; } + public global::System.Collections.Generic.IList? Type7068 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsLinkagesResponse? Type7069 { get; set; } + public global::AppStoreConnect.AppInAppPurchasesLinkagesResponseDataItem? Type7069 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7070 { get; set; } + public global::AppStoreConnect.AppInAppPurchasesLinkagesResponseDataItemType? Type7070 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsLinkagesResponseDataItem? Type7071 { get; set; } + public global::AppStoreConnect.AppInAppPurchasesV2LinkagesResponse? Type7071 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsLinkagesResponseDataItemType? Type7072 { get; set; } + public global::System.Collections.Generic.IList? Type7072 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesLinkagesResponse? Type7073 { get; set; } + public global::AppStoreConnect.AppInAppPurchasesV2LinkagesResponseDataItem? Type7073 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7074 { get; set; } + public global::AppStoreConnect.AppInAppPurchasesV2LinkagesResponseDataItemType? Type7074 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesLinkagesResponseDataItem? Type7075 { get; set; } + public global::AppStoreConnect.AppMarketplaceSearchDetailLinkageResponse? Type7075 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesLinkagesResponseDataItemType? Type7076 { get; set; } + public global::AppStoreConnect.AppMarketplaceSearchDetailLinkageResponseData? Type7076 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityAchievementsLinkagesRequest? Type7077 { get; set; } + public global::AppStoreConnect.AppMarketplaceSearchDetailLinkageResponseDataType? Type7077 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7078 { get; set; } + public global::AppStoreConnect.AppPerfPowerMetricsLinkagesResponse? Type7078 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityAchievementsLinkagesRequestDataItem? Type7079 { get; set; } + public global::System.Collections.Generic.IList? Type7079 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityAchievementsLinkagesRequestDataItemType? Type7080 { get; set; } + public global::AppStoreConnect.AppPerfPowerMetricsLinkagesResponseDataItem? Type7080 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityAchievementsV2LinkagesRequest? Type7081 { get; set; } + public global::AppStoreConnect.AppPerfPowerMetricsLinkagesResponseDataItemType? Type7081 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7082 { get; set; } + public global::AppStoreConnect.AppPerformanceOverviewsLinkagesResponse? Type7082 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityAchievementsV2LinkagesRequestDataItem? Type7083 { get; set; } + public global::System.Collections.Generic.IList? Type7083 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityAchievementsV2LinkagesRequestDataItemType? Type7084 { get; set; } + public global::AppStoreConnect.AppPerformanceOverviewsLinkagesResponseDataItem? Type7084 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLeaderboardsLinkagesRequest? Type7085 { get; set; } + public global::AppStoreConnect.AppPerformanceOverviewsLinkagesResponseDataItemType? Type7085 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7086 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsWithoutIncludesResponse? Type7086 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLeaderboardsLinkagesRequestDataItem? Type7087 { get; set; } + public global::AppStoreConnect.AppPreReleaseVersionsLinkagesResponse? Type7087 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLeaderboardsLinkagesRequestDataItemType? Type7088 { get; set; } + public global::System.Collections.Generic.IList? Type7088 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLeaderboardsV2LinkagesRequest? Type7089 { get; set; } + public global::AppStoreConnect.AppPreReleaseVersionsLinkagesResponseDataItem? Type7089 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7090 { get; set; } + public global::AppStoreConnect.AppPreReleaseVersionsLinkagesResponseDataItemType? Type7090 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLeaderboardsV2LinkagesRequestDataItem? Type7091 { get; set; } + public global::AppStoreConnect.AppPromotedPurchasesLinkagesResponse? Type7091 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLeaderboardsV2LinkagesRequestDataItemType? Type7092 { get; set; } + public global::System.Collections.Generic.IList? Type7092 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsLinkagesResponse? Type7093 { get; set; } + public global::AppStoreConnect.AppPromotedPurchasesLinkagesResponseDataItem? Type7093 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7094 { get; set; } + public global::AppStoreConnect.AppPromotedPurchasesLinkagesResponseDataItemType? Type7094 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsLinkagesResponseDataItem? Type7095 { get; set; } + public global::AppStoreConnect.AppPromotedPurchasesLinkagesRequest? Type7095 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsLinkagesResponseDataItemType? Type7096 { get; set; } + public global::System.Collections.Generic.IList? Type7096 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationImageLinkageResponse? Type7097 { get; set; } + public global::AppStoreConnect.AppPromotedPurchasesLinkagesRequestDataItem? Type7097 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationImageLinkageResponseData? Type7098 { get; set; } + public global::AppStoreConnect.AppPromotedPurchasesLinkagesRequestDataItemType? Type7098 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationImageLinkageResponseDataType? Type7099 { get; set; } + public global::AppStoreConnect.AppReviewSubmissionsLinkagesResponse? Type7099 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionDefaultImageLinkageResponse? Type7100 { get; set; } + public global::System.Collections.Generic.IList? Type7100 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionDefaultImageLinkageResponseData? Type7101 { get; set; } + public global::AppStoreConnect.AppReviewSubmissionsLinkagesResponseDataItem? Type7101 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionDefaultImageLinkageResponseDataType? Type7102 { get; set; } + public global::AppStoreConnect.AppReviewSubmissionsLinkagesResponseDataItemType? Type7102 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionLocalizationsLinkagesResponse? Type7103 { get; set; } + public global::AppStoreConnect.AppSearchKeywordsLinkagesResponse? Type7103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7104 { get; set; } + public global::System.Collections.Generic.IList? Type7104 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionLocalizationsLinkagesResponseDataItem? Type7105 { get; set; } + public global::AppStoreConnect.AppSearchKeywordsLinkagesResponseDataItem? Type7105 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionLocalizationsLinkagesResponseDataItemType? Type7106 { get; set; } + public global::AppStoreConnect.AppSearchKeywordsLinkagesResponseDataItemType? Type7106 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionAppStoreVersionLinkageResponse? Type7107 { get; set; } + public global::AppStoreConnect.AppSubscriptionGracePeriodLinkageResponse? Type7107 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionAppStoreVersionLinkageResponseData? Type7108 { get; set; } + public global::AppStoreConnect.AppSubscriptionGracePeriodLinkageResponseData? Type7108 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionAppStoreVersionLinkageResponseDataType? Type7109 { get; set; } + public global::AppStoreConnect.AppSubscriptionGracePeriodLinkageResponseDataType? Type7109 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesResponse? Type7110 { get; set; } + public global::AppStoreConnect.AppSubscriptionGroupsLinkagesResponse? Type7110 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7111 { get; set; } + public global::System.Collections.Generic.IList? Type7111 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesResponseDataItem? Type7112 { get; set; } + public global::AppStoreConnect.AppSubscriptionGroupsLinkagesResponseDataItem? Type7112 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesResponseDataItemType? Type7113 { get; set; } + public global::AppStoreConnect.AppSubscriptionGroupsLinkagesResponseDataItemType? Type7113 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesRequest? Type7114 { get; set; } + public global::AppStoreConnect.AppWebhooksLinkagesResponse? Type7114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7115 { get; set; } + public global::System.Collections.Generic.IList? Type7115 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesRequestDataItem? Type7116 { get; set; } + public global::AppStoreConnect.AppWebhooksLinkagesResponseDataItem? Type7116 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesRequestDataItemType? Type7117 { get; set; } + public global::AppStoreConnect.AppWebhooksLinkagesResponseDataItemType? Type7117 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationImageLinkageResponse? Type7118 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionBackgroundAssetUploadFilesLinkagesResponse? Type7118 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationImageLinkageResponseData? Type7119 { get; set; } + public global::System.Collections.Generic.IList? Type7119 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationImageLinkageResponseDataType? Type7120 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionBackgroundAssetUploadFilesLinkagesResponseDataItem? Type7120 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionDefaultImageLinkageResponse? Type7121 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionBackgroundAssetUploadFilesLinkagesResponseDataItemType? Type7121 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionDefaultImageLinkageResponseData? Type7122 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsLinkagesResponse? Type7122 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionDefaultImageLinkageResponseDataType? Type7123 { get; set; } + public global::System.Collections.Generic.IList? Type7123 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionLocalizationsLinkagesResponse? Type7124 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsLinkagesResponseDataItem? Type7124 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7125 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsLinkagesResponseDataItemType? Type7125 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionLocalizationsLinkagesResponseDataItem? Type7126 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationAppLinkageResponse? Type7126 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionLocalizationsLinkagesResponseDataItemType? Type7127 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationAppLinkageResponseData? Type7127 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLeaderboardLinkageRequest? Type7128 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationAppLinkageResponseDataType? Type7128 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLeaderboardLinkageRequestData? Type7129 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailAppLinkageResponse? Type7129 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLeaderboardLinkageRequestDataType? Type7130 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailAppLinkageResponseData? Type7130 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLeaderboardV2LinkageRequest? Type7131 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailAppLinkageResponseDataType? Type7131 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLeaderboardV2LinkageRequestData? Type7132 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionBuildLinkageResponse? Type7132 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLeaderboardV2LinkageRequestDataType? Type7133 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionBuildLinkageResponseData? Type7133 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsLinkagesResponse? Type7134 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionBuildLinkageResponseDataType? Type7134 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7135 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationBuildLinkageResponse? Type7135 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsLinkagesResponseDataItem? Type7136 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationBuildLinkageResponseData? Type7136 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsLinkagesResponseDataItemType? Type7137 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationBuildLinkageResponseDataType? Type7137 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailAchievementReleasesLinkagesResponse? Type7138 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionCrashLogLinkageResponse? Type7138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7139 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionCrashLogLinkageResponseData? Type7139 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailAchievementReleasesLinkagesResponseDataItem? Type7140 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionCrashLogLinkageResponseDataType? Type7140 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailAchievementReleasesLinkagesResponseDataItemType? Type7141 { get; set; } + public global::AppStoreConnect.BetaGroupAppLinkageResponse? Type7141 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailActivityReleasesLinkagesResponse? Type7142 { get; set; } + public global::AppStoreConnect.BetaGroupAppLinkageResponseData? Type7142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7143 { get; set; } + public global::AppStoreConnect.BetaGroupAppLinkageResponseDataType? Type7143 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailActivityReleasesLinkagesResponseDataItem? Type7144 { get; set; } + public global::AppStoreConnect.BetaGroupBetaRecruitmentCriteriaLinkageResponse? Type7144 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailActivityReleasesLinkagesResponseDataItemType? Type7145 { get; set; } + public global::AppStoreConnect.BetaGroupBetaRecruitmentCriteriaLinkageResponseData? Type7145 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailBlockedPlayersLinkagesResponse? Type7146 { get; set; } + public global::AppStoreConnect.BetaGroupBetaRecruitmentCriteriaLinkageResponseDataType? Type7146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7147 { get; set; } + public global::AppStoreConnect.BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponse? Type7147 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailBlockedPlayersLinkagesResponseDataItem? Type7148 { get; set; } + public global::AppStoreConnect.BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponseData? Type7148 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailBlockedPlayersLinkagesResponseDataItemType? Type7149 { get; set; } + public global::AppStoreConnect.BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponseDataType? Type7149 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailChallengeReleasesLinkagesResponse? Type7150 { get; set; } + public global::AppStoreConnect.BetaTestersWithoutIncludesResponse? Type7150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7151 { get; set; } + public global::AppStoreConnect.BetaGroupBetaTestersLinkagesResponse? Type7151 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailChallengeReleasesLinkagesResponseDataItem? Type7152 { get; set; } + public global::System.Collections.Generic.IList? Type7152 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailChallengeReleasesLinkagesResponseDataItemType? Type7153 { get; set; } + public global::AppStoreConnect.BetaGroupBetaTestersLinkagesResponseDataItem? Type7153 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailChallengesMinimumPlatformVersionsLinkagesRequest? Type7154 { get; set; } + public global::AppStoreConnect.BetaGroupBetaTestersLinkagesResponseDataItemType? Type7154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7155 { get; set; } + public global::AppStoreConnect.BetaGroupBetaTestersLinkagesRequest? Type7155 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailChallengesMinimumPlatformVersionsLinkagesRequestDataItem? Type7156 { get; set; } + public global::System.Collections.Generic.IList? Type7156 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailChallengesMinimumPlatformVersionsLinkagesRequestDataItemType? Type7157 { get; set; } + public global::AppStoreConnect.BetaGroupBetaTestersLinkagesRequestDataItem? Type7157 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesResponse? Type7158 { get; set; } + public global::AppStoreConnect.BetaGroupBetaTestersLinkagesRequestDataItemType? Type7158 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7159 { get; set; } + public global::AppStoreConnect.BetaGroupBuildsLinkagesResponse? Type7159 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesResponseDataItem? Type7160 { get; set; } + public global::System.Collections.Generic.IList? Type7160 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesResponseDataItemType? Type7161 { get; set; } + public global::AppStoreConnect.BetaGroupBuildsLinkagesResponseDataItem? Type7161 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesRequest? Type7162 { get; set; } + public global::AppStoreConnect.BetaGroupBuildsLinkagesResponseDataItemType? Type7162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7163 { get; set; } + public global::AppStoreConnect.BetaGroupBuildsLinkagesRequest? Type7163 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesRequestDataItem? Type7164 { get; set; } + public global::System.Collections.Generic.IList? Type7164 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesRequestDataItemType? Type7165 { get; set; } + public global::AppStoreConnect.BetaGroupBuildsLinkagesRequestDataItem? Type7165 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesResponse? Type7166 { get; set; } + public global::AppStoreConnect.BetaGroupBuildsLinkagesRequestDataItemType? Type7166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7167 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementAppLinkageResponse? Type7167 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesResponseDataItem? Type7168 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementAppLinkageResponseData? Type7168 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesResponseDataItemType? Type7169 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementAppLinkageResponseDataType? Type7169 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesRequest? Type7170 { get; set; } + public global::AppStoreConnect.AppsWithoutIncludesResponse? Type7170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7171 { get; set; } + public global::AppStoreConnect.BetaTesterAppsLinkagesResponse? Type7171 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesRequestDataItem? Type7172 { get; set; } + public global::System.Collections.Generic.IList? Type7172 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesRequestDataItemType? Type7173 { get; set; } + public global::AppStoreConnect.BetaTesterAppsLinkagesResponseDataItem? Type7173 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterActivitiesLinkagesResponse? Type7174 { get; set; } + public global::AppStoreConnect.BetaTesterAppsLinkagesResponseDataItemType? Type7174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7175 { get; set; } + public global::AppStoreConnect.BetaTesterAppsLinkagesRequest? Type7175 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterActivitiesLinkagesResponseDataItem? Type7176 { get; set; } + public global::System.Collections.Generic.IList? Type7176 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterActivitiesLinkagesResponseDataItemType? Type7177 { get; set; } + public global::AppStoreConnect.BetaTesterAppsLinkagesRequestDataItem? Type7177 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAppVersionsLinkagesResponse? Type7178 { get; set; } + public global::AppStoreConnect.BetaTesterAppsLinkagesRequestDataItemType? Type7178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7179 { get; set; } + public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesResponse? Type7179 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAppVersionsLinkagesResponseDataItem? Type7180 { get; set; } + public global::System.Collections.Generic.IList? Type7180 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterAppVersionsLinkagesResponseDataItemType? Type7181 { get; set; } + public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesResponseDataItem? Type7181 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterChallengesLinkagesResponse? Type7182 { get; set; } + public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesResponseDataItemType? Type7182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7183 { get; set; } + public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesRequest? Type7183 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterChallengesLinkagesResponseDataItem? Type7184 { get; set; } + public global::System.Collections.Generic.IList? Type7184 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterChallengesLinkagesResponseDataItemType? Type7185 { get; set; } + public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesRequestDataItem? Type7185 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterGroupLinkageResponse? Type7186 { get; set; } + public global::AppStoreConnect.BetaTesterBetaGroupsLinkagesRequestDataItemType? Type7186 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterGroupLinkageResponseData? Type7187 { get; set; } + public global::AppStoreConnect.BetaTesterBuildsLinkagesResponse? Type7187 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterGroupLinkageResponseDataType? Type7188 { get; set; } + public global::System.Collections.Generic.IList? Type7188 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse? Type7189 { get; set; } + public global::AppStoreConnect.BetaTesterBuildsLinkagesResponseDataItem? Type7189 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7190 { get; set; } + public global::AppStoreConnect.BetaTesterBuildsLinkagesResponseDataItemType? Type7190 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesResponseDataItem? Type7191 { get; set; } + public global::AppStoreConnect.BetaTesterBuildsLinkagesRequest? Type7191 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesResponseDataItemType? Type7192 { get; set; } + public global::System.Collections.Generic.IList? Type7192 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest? Type7193 { get; set; } + public global::AppStoreConnect.BetaTesterBuildsLinkagesRequestDataItem? Type7193 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7194 { get; set; } + public global::AppStoreConnect.BetaTesterBuildsLinkagesRequestDataItemType? Type7194 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesRequestDataItem? Type7195 { get; set; } + public global::AppStoreConnect.BuildBetaDetailBuildLinkageResponse? Type7195 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesRequestDataItemType? Type7196 { get; set; } + public global::AppStoreConnect.BuildBetaDetailBuildLinkageResponseData? Type7196 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesResponse? Type7197 { get; set; } + public global::AppStoreConnect.BuildBetaDetailBuildLinkageResponseDataType? Type7197 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7198 { get; set; } + public global::AppStoreConnect.BuildBundleAppClipDomainCacheStatusLinkageResponse? Type7198 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesResponseDataItem? Type7199 { get; set; } + public global::AppStoreConnect.BuildBundleAppClipDomainCacheStatusLinkageResponseData? Type7199 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesResponseDataItemType? Type7200 { get; set; } + public global::AppStoreConnect.BuildBundleAppClipDomainCacheStatusLinkageResponseDataType? Type7200 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesRequest? Type7201 { get; set; } + public global::AppStoreConnect.BuildBundleAppClipDomainDebugStatusLinkageResponse? Type7201 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7202 { get; set; } + public global::AppStoreConnect.BuildBundleAppClipDomainDebugStatusLinkageResponseData? Type7202 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesRequestDataItem? Type7203 { get; set; } + public global::AppStoreConnect.BuildBundleAppClipDomainDebugStatusLinkageResponseDataType? Type7203 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesRequestDataItemType? Type7204 { get; set; } + public global::AppStoreConnect.BuildBundleBetaAppClipInvocationsLinkagesResponse? Type7204 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesResponse? Type7205 { get; set; } + public global::System.Collections.Generic.IList? Type7205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7206 { get; set; } + public global::AppStoreConnect.BuildBundleBetaAppClipInvocationsLinkagesResponseDataItem? Type7206 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesResponseDataItem? Type7207 { get; set; } + public global::AppStoreConnect.BuildBundleBetaAppClipInvocationsLinkagesResponseDataItemType? Type7207 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesResponseDataItemType? Type7208 { get; set; } + public global::AppStoreConnect.BuildBundleBuildBundleFileSizesLinkagesResponse? Type7208 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesRequest? Type7209 { get; set; } + public global::System.Collections.Generic.IList? Type7209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7210 { get; set; } + public global::AppStoreConnect.BuildBundleBuildBundleFileSizesLinkagesResponseDataItem? Type7210 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesRequestDataItem? Type7211 { get; set; } + public global::AppStoreConnect.BuildBundleBuildBundleFileSizesLinkagesResponseDataItemType? Type7211 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesRequestDataItemType? Type7212 { get; set; } + public global::AppStoreConnect.BuildUploadBuildUploadFilesLinkagesResponse? Type7212 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesResponse? Type7213 { get; set; } + public global::System.Collections.Generic.IList? Type7213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7214 { get; set; } + public global::AppStoreConnect.BuildUploadBuildUploadFilesLinkagesResponseDataItem? Type7214 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesResponseDataItem? Type7215 { get; set; } + public global::AppStoreConnect.BuildUploadBuildUploadFilesLinkagesResponseDataItemType? Type7215 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesResponseDataItemType? Type7216 { get; set; } + public global::AppStoreConnect.BuildAppLinkageResponse? Type7216 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesRequest? Type7217 { get; set; } + public global::AppStoreConnect.BuildAppLinkageResponseData? Type7217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7218 { get; set; } + public global::AppStoreConnect.BuildAppLinkageResponseDataType? Type7218 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesRequestDataItem? Type7219 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationWithoutIncludesResponse? Type7219 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesRequestDataItemType? Type7220 { get; set; } + public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageResponse? Type7220 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailLeaderboardReleasesLinkagesResponse? Type7221 { get; set; } + public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageResponseData? Type7221 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7222 { get; set; } + public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageResponseDataType? Type7222 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailLeaderboardReleasesLinkagesResponseDataItem? Type7223 { get; set; } + public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageRequest? Type7223 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailLeaderboardReleasesLinkagesResponseDataItemType? Type7224 { get; set; } + public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageRequestData? Type7224 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailLeaderboardSetReleasesLinkagesResponse? Type7225 { get; set; } + public global::AppStoreConnect.BuildAppEncryptionDeclarationLinkageRequestDataType? Type7225 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7226 { get; set; } + public global::AppStoreConnect.BuildAppStoreVersionLinkageResponse? Type7226 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailLeaderboardSetReleasesLinkagesResponseDataItem? Type7227 { get; set; } + public global::AppStoreConnect.BuildAppStoreVersionLinkageResponseData? Type7227 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailLeaderboardSetReleasesLinkagesResponseDataItemType? Type7228 { get; set; } + public global::AppStoreConnect.BuildAppStoreVersionLinkageResponseDataType? Type7228 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesResponse? Type7229 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionWithoutIncludesResponse? Type7229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7230 { get; set; } + public global::AppStoreConnect.BuildBetaAppReviewSubmissionLinkageResponse? Type7230 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesResponseDataItem? Type7231 { get; set; } + public global::AppStoreConnect.BuildBetaAppReviewSubmissionLinkageResponseData? Type7231 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesResponseDataItemType? Type7232 { get; set; } + public global::AppStoreConnect.BuildBetaAppReviewSubmissionLinkageResponseDataType? Type7232 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesRequest? Type7233 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationsWithoutIncludesResponse? Type7233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7234 { get; set; } + public global::AppStoreConnect.BuildBetaBuildLocalizationsLinkagesResponse? Type7234 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesRequestDataItem? Type7235 { get; set; } + public global::System.Collections.Generic.IList? Type7235 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesRequestDataItemType? Type7236 { get; set; } + public global::AppStoreConnect.BuildBetaBuildLocalizationsLinkagesResponseDataItem? Type7236 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesResponse? Type7237 { get; set; } + public global::AppStoreConnect.BuildBetaBuildLocalizationsLinkagesResponseDataItemType? Type7237 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7238 { get; set; } + public global::AppStoreConnect.BuildBetaGroupsLinkagesRequest? Type7238 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesResponseDataItem? Type7239 { get; set; } + public global::System.Collections.Generic.IList? Type7239 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesResponseDataItemType? Type7240 { get; set; } + public global::AppStoreConnect.BuildBetaGroupsLinkagesRequestDataItem? Type7240 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesRequest? Type7241 { get; set; } + public global::AppStoreConnect.BuildBetaGroupsLinkagesRequestDataItemType? Type7241 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7242 { get; set; } + public global::AppStoreConnect.BuildBuildBetaDetailLinkageResponse? Type7242 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesRequestDataItem? Type7243 { get; set; } + public global::AppStoreConnect.BuildBuildBetaDetailLinkageResponseData? Type7243 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesRequestDataItemType? Type7244 { get; set; } + public global::AppStoreConnect.BuildBuildBetaDetailLinkageResponseDataType? Type7244 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesResponse? Type7245 { get; set; } + public global::AppStoreConnect.BuildDiagnosticSignaturesLinkagesResponse? Type7245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7246 { get; set; } + public global::System.Collections.Generic.IList? Type7246 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesResponseDataItem? Type7247 { get; set; } + public global::AppStoreConnect.BuildDiagnosticSignaturesLinkagesResponseDataItem? Type7247 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesResponseDataItemType? Type7248 { get; set; } + public global::AppStoreConnect.BuildDiagnosticSignaturesLinkagesResponseDataItemType? Type7248 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesRequest? Type7249 { get; set; } + public global::AppStoreConnect.BuildIconsWithoutIncludesResponse? Type7249 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7250 { get; set; } + public global::AppStoreConnect.BuildIconsLinkagesResponse? Type7250 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesRequestDataItem? Type7251 { get; set; } + public global::System.Collections.Generic.IList? Type7251 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesRequestDataItemType? Type7252 { get; set; } + public global::AppStoreConnect.BuildIconsLinkagesResponseDataItem? Type7252 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterActivitiesLinkagesResponse? Type7253 { get; set; } + public global::AppStoreConnect.BuildIconsLinkagesResponseDataItemType? Type7253 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7254 { get; set; } + public global::AppStoreConnect.BuildIndividualTestersLinkagesResponse? Type7254 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterActivitiesLinkagesResponseDataItem? Type7255 { get; set; } + public global::System.Collections.Generic.IList? Type7255 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterActivitiesLinkagesResponseDataItemType? Type7256 { get; set; } + public global::AppStoreConnect.BuildIndividualTestersLinkagesResponseDataItem? Type7256 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterChallengesLinkagesResponse? Type7257 { get; set; } + public global::AppStoreConnect.BuildIndividualTestersLinkagesResponseDataItemType? Type7257 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7258 { get; set; } + public global::AppStoreConnect.BuildIndividualTestersLinkagesRequest? Type7258 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterChallengesLinkagesResponseDataItem? Type7259 { get; set; } + public global::System.Collections.Generic.IList? Type7259 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterChallengesLinkagesResponseDataItemType? Type7260 { get; set; } + public global::AppStoreConnect.BuildIndividualTestersLinkagesRequestDataItem? Type7260 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterDetailsLinkagesResponse? Type7261 { get; set; } + public global::AppStoreConnect.BuildIndividualTestersLinkagesRequestDataItemType? Type7261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7262 { get; set; } + public global::AppStoreConnect.BuildPerfPowerMetricsLinkagesResponse? Type7262 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterDetailsLinkagesResponseDataItem? Type7263 { get; set; } + public global::System.Collections.Generic.IList? Type7263 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterDetailsLinkagesResponseDataItemType? Type7264 { get; set; } + public global::AppStoreConnect.BuildPerfPowerMetricsLinkagesResponseDataItem? Type7264 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse? Type7265 { get; set; } + public global::AppStoreConnect.BuildPerfPowerMetricsLinkagesResponseDataItemType? Type7265 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7266 { get; set; } + public global::AppStoreConnect.PrereleaseVersionWithoutIncludesResponse? Type7266 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesResponseDataItem? Type7267 { get; set; } + public global::AppStoreConnect.BuildPreReleaseVersionLinkageResponse? Type7267 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesResponseDataItemType? Type7268 { get; set; } + public global::AppStoreConnect.BuildPreReleaseVersionLinkageResponseData? Type7268 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest? Type7269 { get; set; } + public global::AppStoreConnect.BuildPreReleaseVersionLinkageResponseDataType? Type7269 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7270 { get; set; } + public global::AppStoreConnect.BundleIdAppLinkageResponse? Type7270 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesRequestDataItem? Type7271 { get; set; } + public global::AppStoreConnect.BundleIdAppLinkageResponseData? Type7271 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesRequestDataItemType? Type7272 { get; set; } + public global::AppStoreConnect.BundleIdAppLinkageResponseDataType? Type7272 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesResponse? Type7273 { get; set; } + public global::AppStoreConnect.BundleIdCapabilitiesWithoutIncludesResponse? Type7273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7274 { get; set; } + public global::AppStoreConnect.BundleIdBundleIdCapabilitiesLinkagesResponse? Type7274 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesResponseDataItem? Type7275 { get; set; } + public global::System.Collections.Generic.IList? Type7275 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesResponseDataItemType? Type7276 { get; set; } + public global::AppStoreConnect.BundleIdBundleIdCapabilitiesLinkagesResponseDataItem? Type7276 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesRequest? Type7277 { get; set; } + public global::AppStoreConnect.BundleIdBundleIdCapabilitiesLinkagesResponseDataItemType? Type7277 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7278 { get; set; } + public global::AppStoreConnect.ProfilesWithoutIncludesResponse? Type7278 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesRequestDataItem? Type7279 { get; set; } + public global::AppStoreConnect.BundleIdProfilesLinkagesResponse? Type7279 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesRequestDataItemType? Type7280 { get; set; } + public global::System.Collections.Generic.IList? Type7280 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesResponse? Type7281 { get; set; } + public global::AppStoreConnect.BundleIdProfilesLinkagesResponseDataItem? Type7281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7282 { get; set; } + public global::AppStoreConnect.BundleIdProfilesLinkagesResponseDataItemType? Type7282 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesResponseDataItem? Type7283 { get; set; } + public global::AppStoreConnect.CertificatePassTypeIdLinkageResponse? Type7283 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesResponseDataItemType? Type7284 { get; set; } + public global::AppStoreConnect.CertificatePassTypeIdLinkageResponseData? Type7284 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesRequest? Type7285 { get; set; } + public global::AppStoreConnect.CertificatePassTypeIdLinkageResponseDataType? Type7285 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7286 { get; set; } + public global::AppStoreConnect.CiBuildActionArtifactsLinkagesResponse? Type7286 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesRequestDataItem? Type7287 { get; set; } + public global::System.Collections.Generic.IList? Type7287 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesRequestDataItemType? Type7288 { get; set; } + public global::AppStoreConnect.CiBuildActionArtifactsLinkagesResponseDataItem? Type7288 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesResponse? Type7289 { get; set; } + public global::AppStoreConnect.CiBuildActionArtifactsLinkagesResponseDataItemType? Type7289 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7290 { get; set; } + public global::AppStoreConnect.CiBuildActionBuildRunLinkageResponse? Type7290 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesResponseDataItem? Type7291 { get; set; } + public global::AppStoreConnect.CiBuildActionBuildRunLinkageResponseData? Type7291 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesResponseDataItemType? Type7292 { get; set; } + public global::AppStoreConnect.CiBuildActionBuildRunLinkageResponseDataType? Type7292 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesRequest? Type7293 { get; set; } + public global::AppStoreConnect.CiBuildActionIssuesLinkagesResponse? Type7293 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7294 { get; set; } + public global::System.Collections.Generic.IList? Type7294 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesRequestDataItem? Type7295 { get; set; } + public global::AppStoreConnect.CiBuildActionIssuesLinkagesResponseDataItem? Type7295 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesRequestDataItemType? Type7296 { get; set; } + public global::AppStoreConnect.CiBuildActionIssuesLinkagesResponseDataItemType? Type7296 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationGameCenterLeaderboardImageLinkageResponse? Type7297 { get; set; } + public global::AppStoreConnect.CiBuildActionTestResultsLinkagesResponse? Type7297 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationGameCenterLeaderboardImageLinkageResponseData? Type7298 { get; set; } + public global::System.Collections.Generic.IList? Type7298 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationGameCenterLeaderboardImageLinkageResponseDataType? Type7299 { get; set; } + public global::AppStoreConnect.CiBuildActionTestResultsLinkagesResponseDataItem? Type7299 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ImageLinkageResponse? Type7300 { get; set; } + public global::AppStoreConnect.CiBuildActionTestResultsLinkagesResponseDataItemType? Type7300 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ImageLinkageResponseData? Type7301 { get; set; } + public global::AppStoreConnect.CiBuildRunActionsLinkagesResponse? Type7301 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ImageLinkageResponseDataType? Type7302 { get; set; } + public global::System.Collections.Generic.IList? Type7302 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationGameCenterLeaderboardSetImageLinkageResponse? Type7303 { get; set; } + public global::AppStoreConnect.CiBuildRunActionsLinkagesResponseDataItem? Type7303 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationGameCenterLeaderboardSetImageLinkageResponseData? Type7304 { get; set; } + public global::AppStoreConnect.CiBuildRunActionsLinkagesResponseDataItemType? Type7304 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationGameCenterLeaderboardSetImageLinkageResponseDataType? Type7305 { get; set; } + public global::AppStoreConnect.CiBuildRunBuildsLinkagesResponse? Type7305 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ImageLinkageResponse? Type7306 { get; set; } + public global::System.Collections.Generic.IList? Type7306 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ImageLinkageResponseData? Type7307 { get; set; } + public global::AppStoreConnect.CiBuildRunBuildsLinkagesResponseDataItem? Type7307 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ImageLinkageResponseDataType? Type7308 { get; set; } + public global::AppStoreConnect.CiBuildRunBuildsLinkagesResponseDataItemType? Type7308 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardLinkageResponse? Type7309 { get; set; } + public global::AppStoreConnect.CiMacOsVersionXcodeVersionsLinkagesResponse? Type7309 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardLinkageResponseData? Type7310 { get; set; } + public global::System.Collections.Generic.IList? Type7310 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardLinkageResponseDataType? Type7311 { get; set; } + public global::AppStoreConnect.CiMacOsVersionXcodeVersionsLinkagesResponseDataItem? Type7311 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardSetLinkageResponse? Type7312 { get; set; } + public global::AppStoreConnect.CiMacOsVersionXcodeVersionsLinkagesResponseDataItemType? Type7312 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardSetLinkageResponseData? Type7313 { get; set; } + public global::AppStoreConnect.CiProductAdditionalRepositoriesLinkagesResponse? Type7313 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardSetLinkageResponseDataType? Type7314 { get; set; } + public global::System.Collections.Generic.IList? Type7314 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2LocalizationsLinkagesResponse? Type7315 { get; set; } + public global::AppStoreConnect.CiProductAdditionalRepositoriesLinkagesResponseDataItem? Type7315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7316 { get; set; } + public global::AppStoreConnect.CiProductAdditionalRepositoriesLinkagesResponseDataItemType? Type7316 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2LocalizationsLinkagesResponseDataItem? Type7317 { get; set; } + public global::AppStoreConnect.CiProductAppLinkageResponse? Type7317 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2LocalizationsLinkagesResponseDataItemType? Type7318 { get; set; } + public global::AppStoreConnect.CiProductAppLinkageResponseData? Type7318 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesResponse? Type7319 { get; set; } + public global::AppStoreConnect.CiProductAppLinkageResponseDataType? Type7319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7320 { get; set; } + public global::AppStoreConnect.CiProductBuildRunsLinkagesResponse? Type7320 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesResponseDataItem? Type7321 { get; set; } + public global::System.Collections.Generic.IList? Type7321 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesResponseDataItemType? Type7322 { get; set; } + public global::AppStoreConnect.CiProductBuildRunsLinkagesResponseDataItem? Type7322 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequest? Type7323 { get; set; } + public global::AppStoreConnect.CiProductBuildRunsLinkagesResponseDataItemType? Type7323 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7324 { get; set; } + public global::AppStoreConnect.CiProductPrimaryRepositoriesLinkagesResponse? Type7324 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequestDataItem? Type7325 { get; set; } + public global::System.Collections.Generic.IList? Type7325 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequestDataItemType? Type7326 { get; set; } + public global::AppStoreConnect.CiProductPrimaryRepositoriesLinkagesResponseDataItem? Type7326 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2VersionsLinkagesResponse? Type7327 { get; set; } + public global::AppStoreConnect.CiProductPrimaryRepositoriesLinkagesResponseDataItemType? Type7327 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7328 { get; set; } + public global::AppStoreConnect.CiProductWorkflowsLinkagesResponse? Type7328 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2VersionsLinkagesResponseDataItem? Type7329 { get; set; } + public global::System.Collections.Generic.IList? Type7329 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2VersionsLinkagesResponseDataItemType? Type7330 { get; set; } + public global::AppStoreConnect.CiProductWorkflowsLinkagesResponseDataItem? Type7330 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse? Type7331 { get; set; } + public global::AppStoreConnect.CiProductWorkflowsLinkagesResponseDataItemType? Type7331 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7332 { get; set; } + public global::AppStoreConnect.CiWorkflowBuildRunsLinkagesResponse? Type7332 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponseDataItem? Type7333 { get; set; } + public global::System.Collections.Generic.IList? Type7333 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponseDataItemType? Type7334 { get; set; } + public global::AppStoreConnect.CiWorkflowBuildRunsLinkagesResponseDataItem? Type7334 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest? Type7335 { get; set; } + public global::AppStoreConnect.CiWorkflowBuildRunsLinkagesResponseDataItemType? Type7335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7336 { get; set; } + public global::AppStoreConnect.CiWorkflowRepositoryLinkageResponse? Type7336 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequestDataItem? Type7337 { get; set; } + public global::AppStoreConnect.CiWorkflowRepositoryLinkageResponseData? Type7337 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequestDataItemType? Type7338 { get; set; } + public global::AppStoreConnect.CiWorkflowRepositoryLinkageResponseDataType? Type7338 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse? Type7339 { get; set; } + public global::AppStoreConnect.CiXcodeVersionMacOsVersionsLinkagesResponse? Type7339 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponseData? Type7340 { get; set; } + public global::System.Collections.Generic.IList? Type7340 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponseDataType? Type7341 { get; set; } + public global::AppStoreConnect.CiXcodeVersionMacOsVersionsLinkagesResponseDataItem? Type7341 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest? Type7342 { get; set; } + public global::AppStoreConnect.CiXcodeVersionMacOsVersionsLinkagesResponseDataItemType? Type7342 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequestData? Type7343 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseLinkageResponse? Type7343 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequestDataType? Type7344 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseLinkageResponseData? Type7344 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsLinkagesResponse? Type7345 { get; set; } + public global::AppStoreConnect.CustomerReviewResponseLinkageResponseDataType? Type7345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7346 { get; set; } + public global::AppStoreConnect.DiagnosticSignatureLogsLinkagesResponse? Type7346 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsLinkagesResponseDataItem? Type7347 { get; set; } + public global::System.Collections.Generic.IList? Type7347 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsLinkagesResponseDataItemType? Type7348 { get; set; } + public global::AppStoreConnect.DiagnosticSignatureLogsLinkagesResponseDataItem? Type7348 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesLinkagesResponse? Type7349 { get; set; } + public global::AppStoreConnect.DiagnosticSignatureLogsLinkagesResponseDataItemType? Type7349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7350 { get; set; } + public global::AppStoreConnect.TerritoriesWithoutIncludesResponse? Type7350 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesLinkagesResponseDataItem? Type7351 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementTerritoriesLinkagesResponse? Type7351 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesLinkagesResponseDataItemType? Type7352 { get; set; } + public global::System.Collections.Generic.IList? Type7352 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2LocalizationsLinkagesResponse? Type7353 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementTerritoriesLinkagesResponseDataItem? Type7353 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7354 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementTerritoriesLinkagesResponseDataItemType? Type7354 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2LocalizationsLinkagesResponseDataItem? Type7355 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2ImageLinkageResponse? Type7355 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2LocalizationsLinkagesResponseDataItemType? Type7356 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2ImageLinkageResponseData? Type7356 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardActivityLinkageRequest? Type7357 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2ImageLinkageResponseDataType? Type7357 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardActivityLinkageRequestData? Type7358 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementLinkageResponse? Type7358 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardActivityLinkageRequestDataType? Type7359 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementLinkageResponseData? Type7359 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardChallengeLinkageRequest? Type7360 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementLinkageResponseDataType? Type7360 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardChallengeLinkageRequestData? Type7361 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementImageLinkageResponse? Type7361 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardChallengeLinkageRequestDataType? Type7362 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementImageLinkageResponseData? Type7362 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageResponse? Type7363 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationGameCenterAchievementImageLinkageResponseDataType? Type7363 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageResponseData? Type7364 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2LocalizationsLinkagesResponse? Type7364 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageResponseDataType? Type7365 { get; set; } + public global::System.Collections.Generic.IList? Type7365 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageRequest? Type7366 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2LocalizationsLinkagesResponseDataItem? Type7366 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageRequestData? Type7367 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionV2LocalizationsLinkagesResponseDataItemType? Type7367 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageRequestDataType? Type7368 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2ActivityLinkageRequest? Type7368 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsLinkagesResponse? Type7369 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2ActivityLinkageRequestData? Type7369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7370 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2ActivityLinkageRequestDataType? Type7370 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsLinkagesResponseDataItem? Type7371 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2VersionsLinkagesResponse? Type7371 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsLinkagesResponseDataItemType? Type7372 { get; set; } + public global::System.Collections.Generic.IList? Type7372 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesLinkagesResponse? Type7373 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2VersionsLinkagesResponseDataItem? Type7373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7374 { get; set; } + public global::AppStoreConnect.GameCenterAchievementV2VersionsLinkagesResponseDataItemType? Type7374 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesLinkagesResponseDataItem? Type7375 { get; set; } + public global::AppStoreConnect.GameCenterAchievementActivityLinkageRequest? Type7375 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesLinkagesResponseDataItemType? Type7376 { get; set; } + public global::AppStoreConnect.GameCenterAchievementActivityLinkageRequestData? Type7376 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2ActivityLinkageRequest? Type7377 { get; set; } + public global::AppStoreConnect.GameCenterAchievementActivityLinkageRequestDataType? Type7377 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2ActivityLinkageRequestData? Type7378 { get; set; } + public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageResponse? Type7378 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2ActivityLinkageRequestDataType? Type7379 { get; set; } + public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageResponseData? Type7379 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2ChallengeLinkageRequest? Type7380 { get; set; } + public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageResponseDataType? Type7380 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2ChallengeLinkageRequestData? Type7381 { get; set; } + public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageRequest? Type7381 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2ChallengeLinkageRequestDataType? Type7382 { get; set; } + public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageRequestData? Type7382 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2GameCenterScoreModerationsLinkagesResponse? Type7383 { get; set; } + public global::AppStoreConnect.GameCenterAchievementGroupAchievementLinkageRequestDataType? Type7383 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7384 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsLinkagesResponse? Type7384 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2GameCenterScoreModerationsLinkagesResponseDataItem? Type7385 { get; set; } + public global::System.Collections.Generic.IList? Type7385 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2GameCenterScoreModerationsLinkagesResponseDataItemType? Type7386 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsLinkagesResponseDataItem? Type7386 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2VersionsLinkagesResponse? Type7387 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsLinkagesResponseDataItemType? Type7387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7388 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesLinkagesResponse? Type7388 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2VersionsLinkagesResponseDataItem? Type7389 { get; set; } + public global::System.Collections.Generic.IList? Type7389 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2VersionsLinkagesResponseDataItemType? Type7390 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesLinkagesResponseDataItem? Type7390 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetMatchmakingQueuesLinkagesResponse? Type7391 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesLinkagesResponseDataItemType? Type7391 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7392 { get; set; } + public global::AppStoreConnect.GameCenterActivityAchievementsLinkagesRequest? Type7392 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetMatchmakingQueuesLinkagesResponseDataItem? Type7393 { get; set; } + public global::System.Collections.Generic.IList? Type7393 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetMatchmakingQueuesLinkagesResponseDataItemType? Type7394 { get; set; } + public global::AppStoreConnect.GameCenterActivityAchievementsLinkagesRequestDataItem? Type7394 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRulesLinkagesResponse? Type7395 { get; set; } + public global::AppStoreConnect.GameCenterActivityAchievementsLinkagesRequestDataItemType? Type7395 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7396 { get; set; } + public global::AppStoreConnect.GameCenterActivityAchievementsV2LinkagesRequest? Type7396 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRulesLinkagesResponseDataItem? Type7397 { get; set; } + public global::System.Collections.Generic.IList? Type7397 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetRulesLinkagesResponseDataItemType? Type7398 { get; set; } + public global::AppStoreConnect.GameCenterActivityAchievementsV2LinkagesRequestDataItem? Type7398 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTeamsLinkagesResponse? Type7399 { get; set; } + public global::AppStoreConnect.GameCenterActivityAchievementsV2LinkagesRequestDataItemType? Type7399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7400 { get; set; } + public global::AppStoreConnect.GameCenterActivityLeaderboardsLinkagesRequest? Type7400 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTeamsLinkagesResponseDataItem? Type7401 { get; set; } + public global::System.Collections.Generic.IList? Type7401 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTeamsLinkagesResponseDataItemType? Type7402 { get; set; } + public global::AppStoreConnect.GameCenterActivityLeaderboardsLinkagesRequestDataItem? Type7402 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityAvailableTerritoriesLinkagesResponse? Type7403 { get; set; } + public global::AppStoreConnect.GameCenterActivityLeaderboardsLinkagesRequestDataItemType? Type7403 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7404 { get; set; } + public global::AppStoreConnect.GameCenterActivityLeaderboardsV2LinkagesRequest? Type7404 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityAvailableTerritoriesLinkagesResponseDataItem? Type7405 { get; set; } + public global::System.Collections.Generic.IList? Type7405 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilityAvailableTerritoriesLinkagesResponseDataItemType? Type7406 { get; set; } + public global::AppStoreConnect.GameCenterActivityLeaderboardsV2LinkagesRequestDataItem? Type7406 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValuesLinkageResponse? Type7407 { get; set; } + public global::AppStoreConnect.GameCenterActivityLeaderboardsV2LinkagesRequestDataItemType? Type7407 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValuesLinkageResponseData? Type7408 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsLinkagesResponse? Type7408 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValuesLinkageResponseDataType? Type7409 { get; set; } + public global::System.Collections.Generic.IList? Type7409 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesLinkagesResponse? Type7410 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsLinkagesResponseDataItem? Type7410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7411 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsLinkagesResponseDataItemType? Type7411 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesLinkagesResponseDataItem? Type7412 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationImageLinkageResponse? Type7412 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesLinkagesResponseDataItemType? Type7413 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationImageLinkageResponseData? Type7413 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesLinkagesResponse? Type7414 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationImageLinkageResponseDataType? Type7414 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7415 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionDefaultImageLinkageResponse? Type7415 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesLinkagesResponseDataItem? Type7416 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionDefaultImageLinkageResponseData? Type7416 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesLinkagesResponseDataItemType? Type7417 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionDefaultImageLinkageResponseDataType? Type7417 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodePricesLinkagesResponse? Type7418 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionLocalizationsLinkagesResponse? Type7418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7419 { get; set; } + public global::System.Collections.Generic.IList? Type7419 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodePricesLinkagesResponseDataItem? Type7420 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionLocalizationsLinkagesResponseDataItem? Type7420 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodePricesLinkagesResponseDataItemType? Type7421 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionLocalizationsLinkagesResponseDataItemType? Type7421 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointEqualizationsLinkagesResponse? Type7422 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionAppStoreVersionLinkageResponse? Type7422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7423 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionAppStoreVersionLinkageResponseData? Type7423 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointEqualizationsLinkagesResponseDataItem? Type7424 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionAppStoreVersionLinkageResponseDataType? Type7424 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointEqualizationsLinkagesResponseDataItemType? Type7425 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesResponse? Type7425 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleAutomaticPricesLinkagesResponse? Type7426 { get; set; } + public global::System.Collections.Generic.IList? Type7426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7427 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesResponseDataItem? Type7427 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleAutomaticPricesLinkagesResponseDataItem? Type7428 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesResponseDataItemType? Type7428 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleAutomaticPricesLinkagesResponseDataItemType? Type7429 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesRequest? Type7429 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleBaseTerritoryLinkageResponse? Type7430 { get; set; } + public global::System.Collections.Generic.IList? Type7430 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleBaseTerritoryLinkageResponseData? Type7431 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesRequestDataItem? Type7431 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleBaseTerritoryLinkageResponseDataType? Type7432 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionCompatibilityVersionsLinkagesRequestDataItemType? Type7432 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleManualPricesLinkagesResponse? Type7433 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationImageLinkageResponse? Type7433 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7434 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationImageLinkageResponseData? Type7434 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleManualPricesLinkagesResponseDataItem? Type7435 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationImageLinkageResponseDataType? Type7435 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleManualPricesLinkagesResponseDataItemType? Type7436 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionDefaultImageLinkageResponse? Type7436 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionImageLinkageResponse? Type7437 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionDefaultImageLinkageResponseData? Type7437 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionImageLinkageResponseData? Type7438 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionDefaultImageLinkageResponseDataType? Type7438 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionImageLinkageResponseDataType? Type7439 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionLocalizationsLinkagesResponse? Type7439 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionImagesLinkagesResponse? Type7440 { get; set; } + public global::System.Collections.Generic.IList? Type7440 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7441 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionLocalizationsLinkagesResponseDataItem? Type7441 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionImagesLinkagesResponseDataItem? Type7442 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionLocalizationsLinkagesResponseDataItemType? Type7442 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionImagesLinkagesResponseDataItemType? Type7443 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLeaderboardLinkageRequest? Type7443 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionLocalizationsLinkagesResponse? Type7444 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLeaderboardLinkageRequestData? Type7444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7445 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLeaderboardLinkageRequestDataType? Type7445 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionLocalizationsLinkagesResponseDataItem? Type7446 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLeaderboardV2LinkageRequest? Type7446 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionLocalizationsLinkagesResponseDataItemType? Type7447 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLeaderboardV2LinkageRequestData? Type7447 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2AppStoreReviewScreenshotLinkageResponse? Type7448 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLeaderboardV2LinkageRequestDataType? Type7448 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2AppStoreReviewScreenshotLinkageResponseData? Type7449 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsLinkagesResponse? Type7449 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2AppStoreReviewScreenshotLinkageResponseDataType? Type7450 { get; set; } + public global::System.Collections.Generic.IList? Type7450 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2ContentLinkageResponse? Type7451 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsLinkagesResponseDataItem? Type7451 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2ContentLinkageResponseData? Type7452 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsLinkagesResponseDataItemType? Type7452 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2ContentLinkageResponseDataType? Type7453 { get; set; } + public global::AppStoreConnect.GameCenterDetailAchievementReleasesLinkagesResponse? Type7453 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2IapPriceScheduleLinkageResponse? Type7454 { get; set; } + public global::System.Collections.Generic.IList? Type7454 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2IapPriceScheduleLinkageResponseData? Type7455 { get; set; } + public global::AppStoreConnect.GameCenterDetailAchievementReleasesLinkagesResponseDataItem? Type7455 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2IapPriceScheduleLinkageResponseDataType? Type7456 { get; set; } + public global::AppStoreConnect.GameCenterDetailAchievementReleasesLinkagesResponseDataItemType? Type7456 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2ImagesLinkagesResponse? Type7457 { get; set; } + public global::AppStoreConnect.GameCenterDetailActivityReleasesLinkagesResponse? Type7457 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7458 { get; set; } + public global::System.Collections.Generic.IList? Type7458 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2ImagesLinkagesResponseDataItem? Type7459 { get; set; } + public global::AppStoreConnect.GameCenterDetailActivityReleasesLinkagesResponseDataItem? Type7459 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2ImagesLinkagesResponseDataItemType? Type7460 { get; set; } + public global::AppStoreConnect.GameCenterDetailActivityReleasesLinkagesResponseDataItemType? Type7460 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseAvailabilityLinkageResponse? Type7461 { get; set; } + public global::AppStoreConnect.GameCenterDetailBlockedPlayersLinkagesResponse? Type7461 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseAvailabilityLinkageResponseData? Type7462 { get; set; } + public global::System.Collections.Generic.IList? Type7462 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseAvailabilityLinkageResponseDataType? Type7463 { get; set; } + public global::AppStoreConnect.GameCenterDetailBlockedPlayersLinkagesResponseDataItem? Type7463 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseLocalizationsLinkagesResponse? Type7464 { get; set; } + public global::AppStoreConnect.GameCenterDetailBlockedPlayersLinkagesResponseDataItemType? Type7464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7465 { get; set; } + public global::AppStoreConnect.GameCenterDetailChallengeReleasesLinkagesResponse? Type7465 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseLocalizationsLinkagesResponseDataItem? Type7466 { get; set; } + public global::System.Collections.Generic.IList? Type7466 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseLocalizationsLinkagesResponseDataItemType? Type7467 { get; set; } + public global::AppStoreConnect.GameCenterDetailChallengeReleasesLinkagesResponseDataItem? Type7467 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2OfferCodesLinkagesResponse? Type7468 { get; set; } + public global::AppStoreConnect.GameCenterDetailChallengeReleasesLinkagesResponseDataItemType? Type7468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7469 { get; set; } + public global::AppStoreConnect.GameCenterDetailChallengesMinimumPlatformVersionsLinkagesRequest? Type7469 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2OfferCodesLinkagesResponseDataItem? Type7470 { get; set; } + public global::System.Collections.Generic.IList? Type7470 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2OfferCodesLinkagesResponseDataItemType? Type7471 { get; set; } + public global::AppStoreConnect.GameCenterDetailChallengesMinimumPlatformVersionsLinkagesRequestDataItem? Type7471 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2PricePointsLinkagesResponse? Type7472 { get; set; } + public global::AppStoreConnect.GameCenterDetailChallengesMinimumPlatformVersionsLinkagesRequestDataItemType? Type7472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7473 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesResponse? Type7473 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2PricePointsLinkagesResponseDataItem? Type7474 { get; set; } + public global::System.Collections.Generic.IList? Type7474 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2PricePointsLinkagesResponseDataItemType? Type7475 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesResponseDataItem? Type7475 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2PromotedPurchaseLinkageResponse? Type7476 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesResponseDataItemType? Type7476 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2PromotedPurchaseLinkageResponseData? Type7477 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesRequest? Type7477 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2PromotedPurchaseLinkageResponseDataType? Type7478 { get; set; } + public global::System.Collections.Generic.IList? Type7478 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2VersionsLinkagesResponse? Type7479 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesRequestDataItem? Type7479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7480 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsLinkagesRequestDataItemType? Type7480 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2VersionsLinkagesResponseDataItem? Type7481 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesResponse? Type7481 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2VersionsLinkagesResponseDataItemType? Type7482 { get; set; } + public global::System.Collections.Generic.IList? Type7482 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdCertificatesLinkagesResponse? Type7483 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesResponseDataItem? Type7483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7484 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesResponseDataItemType? Type7484 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdCertificatesLinkagesResponseDataItem? Type7485 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesRequest? Type7485 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdCertificatesLinkagesResponseDataItemType? Type7486 { get; set; } + public global::System.Collections.Generic.IList? Type7486 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdCertificatesLinkagesResponse? Type7487 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesRequestDataItem? Type7487 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7488 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAchievementsV2LinkagesRequestDataItemType? Type7488 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdCertificatesLinkagesResponseDataItem? Type7489 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterActivitiesLinkagesResponse? Type7489 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdCertificatesLinkagesResponseDataItemType? Type7490 { get; set; } + public global::System.Collections.Generic.IList? Type7490 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionAppLinkageResponse? Type7491 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterActivitiesLinkagesResponseDataItem? Type7491 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionAppLinkageResponseData? Type7492 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterActivitiesLinkagesResponseDataItemType? Type7492 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionAppLinkageResponseDataType? Type7493 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAppVersionsLinkagesResponse? Type7493 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionBuildsLinkagesResponse? Type7494 { get; set; } + public global::System.Collections.Generic.IList? Type7494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7495 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAppVersionsLinkagesResponseDataItem? Type7495 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionBuildsLinkagesResponseDataItem? Type7496 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterAppVersionsLinkagesResponseDataItemType? Type7496 { get; set; } /// /// /// - public global::AppStoreConnect.PrereleaseVersionBuildsLinkagesResponseDataItemType? Type7497 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterChallengesLinkagesResponse? Type7497 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdWithoutIncludesResponse? Type7498 { get; set; } + public global::System.Collections.Generic.IList? Type7498 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileBundleIdLinkageResponse? Type7499 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterChallengesLinkagesResponseDataItem? Type7499 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileBundleIdLinkageResponseData? Type7500 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterChallengesLinkagesResponseDataItemType? Type7500 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileBundleIdLinkageResponseDataType? Type7501 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterGroupLinkageResponse? Type7501 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesWithoutIncludesResponse? Type7502 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterGroupLinkageResponseData? Type7502 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCertificatesLinkagesResponse? Type7503 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterGroupLinkageResponseDataType? Type7503 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7504 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse? Type7504 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCertificatesLinkagesResponseDataItem? Type7505 { get; set; } + public global::System.Collections.Generic.IList? Type7505 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileCertificatesLinkagesResponseDataItemType? Type7506 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesResponseDataItem? Type7506 { get; set; } /// /// /// - public global::AppStoreConnect.DevicesWithoutIncludesResponse? Type7507 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesResponseDataItemType? Type7507 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileDevicesLinkagesResponse? Type7508 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest? Type7508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7509 { get; set; } + public global::System.Collections.Generic.IList? Type7509 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileDevicesLinkagesResponseDataItem? Type7510 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesRequestDataItem? Type7510 { get; set; } /// /// /// - public global::AppStoreConnect.ProfileDevicesLinkagesResponseDataItemType? Type7511 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsLinkagesRequestDataItemType? Type7511 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemsLinkagesResponse? Type7512 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesResponse? Type7512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7513 { get; set; } + public global::System.Collections.Generic.IList? Type7513 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemsLinkagesResponseDataItem? Type7514 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesResponseDataItem? Type7514 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemsLinkagesResponseDataItemType? Type7515 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesResponseDataItemType? Type7515 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderRepositoriesLinkagesResponse? Type7516 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesRequest? Type7516 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7517 { get; set; } + public global::System.Collections.Generic.IList? Type7517 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderRepositoriesLinkagesResponseDataItem? Type7518 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesRequestDataItem? Type7518 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderRepositoriesLinkagesResponseDataItemType? Type7519 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardSetsV2LinkagesRequestDataItemType? Type7519 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryGitReferencesLinkagesResponse? Type7520 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesResponse? Type7520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7521 { get; set; } + public global::System.Collections.Generic.IList? Type7521 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryGitReferencesLinkagesResponseDataItem? Type7522 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesResponseDataItem? Type7522 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryGitReferencesLinkagesResponseDataItemType? Type7523 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesResponseDataItemType? Type7523 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryPullRequestsLinkagesResponse? Type7524 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesRequest? Type7524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7525 { get; set; } + public global::System.Collections.Generic.IList? Type7525 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryPullRequestsLinkagesResponseDataItem? Type7526 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesRequestDataItem? Type7526 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoryPullRequestsLinkagesResponseDataItemType? Type7527 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsLinkagesRequestDataItemType? Type7527 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityAvailableTerritoriesLinkagesResponse? Type7528 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesResponse? Type7528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7529 { get; set; } + public global::System.Collections.Generic.IList? Type7529 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityAvailableTerritoriesLinkagesResponseDataItem? Type7530 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesResponseDataItem? Type7530 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilityAvailableTerritoriesLinkagesResponseDataItemType? Type7531 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesResponseDataItemType? Type7531 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionLocalizationsLinkagesResponse? Type7532 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesRequest? Type7532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7533 { get; set; } + public global::System.Collections.Generic.IList? Type7533 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionLocalizationsLinkagesResponseDataItem? Type7534 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesRequestDataItem? Type7534 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionLocalizationsLinkagesResponseDataItemType? Type7535 { get; set; } + public global::AppStoreConnect.GameCenterDetailGameCenterLeaderboardsV2LinkagesRequestDataItemType? Type7535 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubscriptionGroupLocalizationsLinkagesResponse? Type7536 { get; set; } + public global::AppStoreConnect.GameCenterDetailLeaderboardReleasesLinkagesResponse? Type7536 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7537 { get; set; } + public global::System.Collections.Generic.IList? Type7537 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubscriptionGroupLocalizationsLinkagesResponseDataItem? Type7538 { get; set; } + public global::AppStoreConnect.GameCenterDetailLeaderboardReleasesLinkagesResponseDataItem? Type7538 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubscriptionGroupLocalizationsLinkagesResponseDataItemType? Type7539 { get; set; } + public global::AppStoreConnect.GameCenterDetailLeaderboardReleasesLinkagesResponseDataItemType? Type7539 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubscriptionsLinkagesResponse? Type7540 { get; set; } + public global::AppStoreConnect.GameCenterDetailLeaderboardSetReleasesLinkagesResponse? Type7540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7541 { get; set; } + public global::System.Collections.Generic.IList? Type7541 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubscriptionsLinkagesResponseDataItem? Type7542 { get; set; } + public global::AppStoreConnect.GameCenterDetailLeaderboardSetReleasesLinkagesResponseDataItem? Type7542 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupSubscriptionsLinkagesResponseDataItemType? Type7543 { get; set; } + public global::AppStoreConnect.GameCenterDetailLeaderboardSetReleasesLinkagesResponseDataItemType? Type7543 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsLinkagesResponse? Type7544 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesResponse? Type7544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7545 { get; set; } + public global::System.Collections.Generic.IList? Type7545 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsLinkagesResponseDataItem? Type7546 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesResponseDataItem? Type7546 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsLinkagesResponseDataItemType? Type7547 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesResponseDataItemType? Type7547 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValuesLinkageResponse? Type7548 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesRequest? Type7548 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValuesLinkageResponseData? Type7549 { get; set; } + public global::System.Collections.Generic.IList? Type7549 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValuesLinkageResponseDataType? Type7550 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesRequestDataItem? Type7550 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesLinkagesResponse? Type7551 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionCompatibleVersionsLinkagesRequestDataItemType? Type7551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7552 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesResponse? Type7552 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesLinkagesResponseDataItem? Type7553 { get; set; } + public global::System.Collections.Generic.IList? Type7553 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesLinkagesResponseDataItemType? Type7554 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesResponseDataItem? Type7554 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesLinkagesResponse? Type7555 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesResponseDataItemType? Type7555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7556 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesRequest? Type7556 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesLinkagesResponseDataItem? Type7557 { get; set; } + public global::System.Collections.Generic.IList? Type7557 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesLinkagesResponseDataItemType? Type7558 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesRequestDataItem? Type7558 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePricesLinkagesResponse? Type7559 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsLinkagesRequestDataItemType? Type7559 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7560 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesResponse? Type7560 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePricesLinkagesResponseDataItem? Type7561 { get; set; } + public global::System.Collections.Generic.IList? Type7561 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePricesLinkagesResponseDataItemType? Type7562 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesResponseDataItem? Type7562 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesResponse? Type7563 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesResponseDataItemType? Type7563 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7564 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesRequest? Type7564 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesResponseDataItem? Type7565 { get; set; } + public global::System.Collections.Generic.IList? Type7565 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesResponseDataItemType? Type7566 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesRequestDataItem? Type7566 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesRequest? Type7567 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterAchievementsV2LinkagesRequestDataItemType? Type7567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7568 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterActivitiesLinkagesResponse? Type7568 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesRequestDataItem? Type7569 { get; set; } + public global::System.Collections.Generic.IList? Type7569 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesRequestDataItemType? Type7570 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterActivitiesLinkagesResponseDataItem? Type7570 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointEqualizationsLinkagesResponse? Type7571 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterActivitiesLinkagesResponseDataItemType? Type7571 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7572 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterChallengesLinkagesResponse? Type7572 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointEqualizationsLinkagesResponseDataItem? Type7573 { get; set; } + public global::System.Collections.Generic.IList? Type7573 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointEqualizationsLinkagesResponseDataItemType? Type7574 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterChallengesLinkagesResponseDataItem? Type7574 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPricesLinkagesResponse? Type7575 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterChallengesLinkagesResponseDataItemType? Type7575 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7576 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterDetailsLinkagesResponse? Type7576 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPricesLinkagesResponseDataItem? Type7577 { get; set; } + public global::System.Collections.Generic.IList? Type7577 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPricesLinkagesResponseDataItemType? Type7578 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterDetailsLinkagesResponseDataItem? Type7578 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionImageLinkageResponse? Type7579 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterDetailsLinkagesResponseDataItemType? Type7579 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionImageLinkageResponseData? Type7580 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse? Type7580 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionImageLinkageResponseDataType? Type7581 { get; set; } + public global::System.Collections.Generic.IList? Type7581 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionImagesLinkagesResponse? Type7582 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesResponseDataItem? Type7582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7583 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesResponseDataItemType? Type7583 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionImagesLinkagesResponseDataItem? Type7584 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest? Type7584 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionImagesLinkagesResponseDataItemType? Type7585 { get; set; } + public global::System.Collections.Generic.IList? Type7585 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionLocalizationsLinkagesResponse? Type7586 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesRequestDataItem? Type7586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7587 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsLinkagesRequestDataItemType? Type7587 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionLocalizationsLinkagesResponseDataItem? Type7588 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesResponse? Type7588 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionLocalizationsLinkagesResponseDataItemType? Type7589 { get; set; } + public global::System.Collections.Generic.IList? Type7589 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotLinkageResponse? Type7590 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesResponseDataItem? Type7590 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotLinkageResponseData? Type7591 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesResponseDataItemType? Type7591 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotLinkageResponseDataType? Type7592 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesRequest? Type7592 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImagesLinkagesResponse? Type7593 { get; set; } + public global::System.Collections.Generic.IList? Type7593 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7594 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesRequestDataItem? Type7594 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImagesLinkagesResponseDataItem? Type7595 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardSetsV2LinkagesRequestDataItemType? Type7595 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImagesLinkagesResponseDataItemType? Type7596 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesResponse? Type7596 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesResponse? Type7597 { get; set; } + public global::System.Collections.Generic.IList? Type7597 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7598 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesResponseDataItem? Type7598 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesResponseDataItem? Type7599 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesResponseDataItemType? Type7599 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesResponseDataItemType? Type7600 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesRequest? Type7600 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesRequest? Type7601 { get; set; } + public global::System.Collections.Generic.IList? Type7601 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7602 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesRequestDataItem? Type7602 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesRequestDataItem? Type7603 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsLinkagesRequestDataItemType? Type7603 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesRequestDataItemType? Type7604 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesResponse? Type7604 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesLinkagesResponse? Type7605 { get; set; } + public global::System.Collections.Generic.IList? Type7605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7606 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesResponseDataItem? Type7606 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesLinkagesResponseDataItem? Type7607 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesResponseDataItemType? Type7607 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesLinkagesResponseDataItemType? Type7608 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesRequest? Type7608 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilitiesLinkagesResponse? Type7609 { get; set; } + public global::System.Collections.Generic.IList? Type7609 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7610 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesRequestDataItem? Type7610 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilitiesLinkagesResponseDataItem? Type7611 { get; set; } + public global::AppStoreConnect.GameCenterGroupGameCenterLeaderboardsV2LinkagesRequestDataItemType? Type7611 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilitiesLinkagesResponseDataItemType? Type7612 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationGameCenterLeaderboardImageLinkageResponse? Type7612 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsLinkagesResponse? Type7613 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationGameCenterLeaderboardImageLinkageResponseData? Type7613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7614 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationGameCenterLeaderboardImageLinkageResponseDataType? Type7614 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsLinkagesResponseDataItem? Type7615 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ImageLinkageResponse? Type7615 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsLinkagesResponseDataItemType? Type7616 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ImageLinkageResponseData? Type7616 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricesLinkagesResponse? Type7617 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ImageLinkageResponseDataType? Type7617 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7618 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationGameCenterLeaderboardSetImageLinkageResponse? Type7618 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricesLinkagesResponseDataItem? Type7619 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationGameCenterLeaderboardSetImageLinkageResponseData? Type7619 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricesLinkagesResponseDataItemType? Type7620 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationGameCenterLeaderboardSetImageLinkageResponseDataType? Type7620 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricesLinkagesRequest? Type7621 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ImageLinkageResponse? Type7621 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7622 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ImageLinkageResponseData? Type7622 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricesLinkagesRequestDataItem? Type7623 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ImageLinkageResponseDataType? Type7623 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricesLinkagesRequestDataItemType? Type7624 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardLinkageResponse? Type7624 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotedPurchaseLinkageResponse? Type7625 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardLinkageResponseData? Type7625 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotedPurchaseLinkageResponseData? Type7626 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardLinkageResponseDataType? Type7626 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotedPurchaseLinkageResponseDataType? Type7627 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardSetLinkageResponse? Type7627 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersLinkagesResponse? Type7628 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardSetLinkageResponseData? Type7628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7629 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardSetLinkageResponseDataType? Type7629 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersLinkagesResponseDataItem? Type7630 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2LocalizationsLinkagesResponse? Type7630 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersLinkagesResponseDataItemType? Type7631 { get; set; } + public global::System.Collections.Generic.IList? Type7631 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubscriptionAvailabilityLinkageResponse? Type7632 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2LocalizationsLinkagesResponseDataItem? Type7632 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubscriptionAvailabilityLinkageResponseData? Type7633 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2LocalizationsLinkagesResponseDataItemType? Type7633 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubscriptionAvailabilityLinkageResponseDataType? Type7634 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesResponse? Type7634 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubscriptionLocalizationsLinkagesResponse? Type7635 { get; set; } + public global::System.Collections.Generic.IList? Type7635 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7636 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesResponseDataItem? Type7636 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubscriptionLocalizationsLinkagesResponseDataItem? Type7637 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesResponseDataItemType? Type7637 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionSubscriptionLocalizationsLinkagesResponseDataItemType? Type7638 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequest? Type7638 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsLinkagesResponse? Type7639 { get; set; } + public global::System.Collections.Generic.IList? Type7639 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7640 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequestDataItem? Type7640 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsLinkagesResponseDataItem? Type7641 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequestDataItemType? Type7641 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsLinkagesResponseDataItemType? Type7642 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2VersionsLinkagesResponse? Type7642 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionWinBackOffersLinkagesResponse? Type7643 { get; set; } + public global::System.Collections.Generic.IList? Type7643 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7644 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2VersionsLinkagesResponseDataItem? Type7644 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionWinBackOffersLinkagesResponseDataItem? Type7645 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2VersionsLinkagesResponseDataItemType? Type7645 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionWinBackOffersLinkagesResponseDataItemType? Type7646 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse? Type7646 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationVisibleAppsLinkagesResponse? Type7647 { get; set; } + public global::System.Collections.Generic.IList? Type7647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7648 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponseDataItem? Type7648 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationVisibleAppsLinkagesResponseDataItem? Type7649 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponseDataItemType? Type7649 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationVisibleAppsLinkagesResponseDataItemType? Type7650 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest? Type7650 { get; set; } /// /// /// - public global::AppStoreConnect.UserVisibleAppsLinkagesResponse? Type7651 { get; set; } + public global::System.Collections.Generic.IList? Type7651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7652 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequestDataItem? Type7652 { get; set; } /// /// /// - public global::AppStoreConnect.UserVisibleAppsLinkagesResponseDataItem? Type7653 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequestDataItemType? Type7653 { get; set; } /// /// /// - public global::AppStoreConnect.UserVisibleAppsLinkagesResponseDataItemType? Type7654 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse? Type7654 { get; set; } /// /// /// - public global::AppStoreConnect.UserVisibleAppsLinkagesRequest? Type7655 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponseData? Type7655 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7656 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponseDataType? Type7656 { get; set; } /// /// /// - public global::AppStoreConnect.UserVisibleAppsLinkagesRequestDataItem? Type7657 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest? Type7657 { get; set; } /// /// /// - public global::AppStoreConnect.UserVisibleAppsLinkagesRequestDataItemType? Type7658 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequestData? Type7658 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveriesLinkagesResponse? Type7659 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequestDataType? Type7659 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7660 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsLinkagesResponse? Type7660 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveriesLinkagesResponseDataItem? Type7661 { get; set; } + public global::System.Collections.Generic.IList? Type7661 { get; set; } /// /// /// - public global::AppStoreConnect.WebhookDeliveriesLinkagesResponseDataItemType? Type7662 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsLinkagesResponseDataItem? Type7662 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPricesLinkagesResponse? Type7663 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsLinkagesResponseDataItemType? Type7663 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7664 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesLinkagesResponse? Type7664 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPricesLinkagesResponseDataItem? Type7665 { get; set; } + public global::System.Collections.Generic.IList? Type7665 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOfferPricesLinkagesResponseDataItemType? Type7666 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesLinkagesResponseDataItem? Type7666 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponse? Type7667 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesLinkagesResponseDataItemType? Type7667 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7668 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2LocalizationsLinkagesResponse? Type7668 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItem? Type7669 { get; set; } + public global::System.Collections.Generic.IList? Type7669 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7670 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2LocalizationsLinkagesResponseDataItem? Type7670 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDataPoint? Type7671 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2LocalizationsLinkagesResponseDataItemType? Type7671 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDataPointValues? Type7672 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardActivityLinkageRequest? Type7672 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDimensions? Type7673 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardActivityLinkageRequestData? Type7673 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDimensionsBetaTesters? Type7674 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardActivityLinkageRequestDataType? Type7674 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDimensionsBetaTestersLinks? Type7675 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardChallengeLinkageRequest? Type7675 { get; set; } /// /// /// - public global::AppStoreConnect.BetaPublicLinkUsagesV1MetricResponse? Type7676 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardChallengeLinkageRequestData? Type7676 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7677 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardChallengeLinkageRequestDataType? Type7677 { get; set; } /// /// /// - public global::AppStoreConnect.BetaPublicLinkUsagesV1MetricResponseDataItem? Type7678 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageResponse? Type7678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7679 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageResponseData? Type7679 { get; set; } /// /// /// - public global::AppStoreConnect.BetaPublicLinkUsagesV1MetricResponseDataItemDataPoint? Type7680 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageResponseDataType? Type7680 { get; set; } /// /// /// - public global::AppStoreConnect.BetaPublicLinkUsagesV1MetricResponseDataItemDataPointValues? Type7681 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageRequest? Type7681 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterUsagesV1MetricResponse? Type7682 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageRequestData? Type7682 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7683 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardGroupLeaderboardLinkageRequestDataType? Type7683 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItem? Type7684 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsLinkagesResponse? Type7684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7685 { get; set; } + public global::System.Collections.Generic.IList? Type7685 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDataPoint? Type7686 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsLinkagesResponseDataItem? Type7686 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDataPointValues? Type7687 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsLinkagesResponseDataItemType? Type7687 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDimensions? Type7688 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesLinkagesResponse? Type7688 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDimensionsApps? Type7689 { get; set; } + public global::System.Collections.Generic.IList? Type7689 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDimensionsAppsLinks? Type7690 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesLinkagesResponseDataItem? Type7690 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildUsagesV1MetricResponse? Type7691 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesLinkagesResponseDataItemType? Type7691 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7692 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2ActivityLinkageRequest? Type7692 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildUsagesV1MetricResponseDataItem? Type7693 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2ActivityLinkageRequestData? Type7693 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7694 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2ActivityLinkageRequestDataType? Type7694 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildUsagesV1MetricResponseDataItemDataPoint? Type7695 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2ChallengeLinkageRequest? Type7695 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildUsagesV1MetricResponseDataItemDataPointValues? Type7696 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2ChallengeLinkageRequestData? Type7696 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponse? Type7697 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2ChallengeLinkageRequestDataType? Type7697 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7698 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2GameCenterScoreModerationsLinkagesResponse? Type7698 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItem? Type7699 { get; set; } + public global::System.Collections.Generic.IList? Type7699 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7700 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2GameCenterScoreModerationsLinkagesResponseDataItem? Type7700 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDataPoint? Type7701 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2GameCenterScoreModerationsLinkagesResponseDataItemType? Type7701 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDataPointValues? Type7702 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2VersionsLinkagesResponse? Type7702 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDimensions? Type7703 { get; set; } + public global::System.Collections.Generic.IList? Type7703 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDimensionsResult? Type7704 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2VersionsLinkagesResponseDataItem? Type7704 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDimensionsResultLinks? Type7705 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardV2VersionsLinkagesResponseDataItemType? Type7705 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDimensionsResultData? Type7706 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetMatchmakingQueuesLinkagesResponse? Type7706 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemGranularity? Type7707 { get; set; } + public global::System.Collections.Generic.IList? Type7707 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponse? Type7708 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetMatchmakingQueuesLinkagesResponseDataItem? Type7708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7709 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetMatchmakingQueuesLinkagesResponseDataItemType? Type7709 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItem? Type7710 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRulesLinkagesResponse? Type7710 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7711 { get; set; } + public global::System.Collections.Generic.IList? Type7711 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItemDataPoint? Type7712 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRulesLinkagesResponseDataItem? Type7712 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItemDataPointValues? Type7713 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetRulesLinkagesResponseDataItemType? Type7713 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItemGranularity? Type7714 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTeamsLinkagesResponse? Type7714 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponse? Type7715 { get; set; } + public global::System.Collections.Generic.IList? Type7715 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7716 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTeamsLinkagesResponseDataItem? Type7716 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItem? Type7717 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTeamsLinkagesResponseDataItemType? Type7717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7718 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityAvailableTerritoriesLinkagesResponse? Type7718 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDataPoint? Type7719 { get; set; } + public global::System.Collections.Generic.IList? Type7719 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDataPointValues? Type7720 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityAvailableTerritoriesLinkagesResponseDataItem? Type7720 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensions? Type7721 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilityAvailableTerritoriesLinkagesResponseDataItemType? Type7721 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsResult? Type7722 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValuesLinkageResponse? Type7722 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsResultLinks? Type7723 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValuesLinkageResponseData? Type7723 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsResultData? Type7724 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodeValuesLinkageResponseDataType? Type7724 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsGameCenterDetail? Type7725 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesLinkagesResponse? Type7725 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsGameCenterDetailLinks? Type7726 { get; set; } + public global::System.Collections.Generic.IList? Type7726 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemGranularity? Type7727 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesLinkagesResponseDataItem? Type7727 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponse? Type7728 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesLinkagesResponseDataItemType? Type7728 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7729 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesLinkagesResponse? Type7729 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponseDataItem? Type7730 { get; set; } + public global::System.Collections.Generic.IList? Type7730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7731 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesLinkagesResponseDataItem? Type7731 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponseDataItemDataPoint? Type7732 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesLinkagesResponseDataItemType? Type7732 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponseDataItemDataPointValues? Type7733 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodePricesLinkagesResponse? Type7733 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponseDataItemGranularity? Type7734 { get; set; } + public global::System.Collections.Generic.IList? Type7734 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponse? Type7735 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodePricesLinkagesResponseDataItem? Type7735 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7736 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodePricesLinkagesResponseDataItemType? Type7736 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItem? Type7737 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointEqualizationsLinkagesResponse? Type7737 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7738 { get; set; } + public global::System.Collections.Generic.IList? Type7738 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDataPoint? Type7739 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointEqualizationsLinkagesResponseDataItem? Type7739 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDataPointValues? Type7740 { get; set; } + public global::AppStoreConnect.InAppPurchasePricePointEqualizationsLinkagesResponseDataItemType? Type7740 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensions? Type7741 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleAutomaticPricesLinkagesResponse? Type7741 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensionsResult? Type7742 { get; set; } + public global::System.Collections.Generic.IList? Type7742 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensionsResultLinks? Type7743 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleAutomaticPricesLinkagesResponseDataItem? Type7743 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueue? Type7744 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleAutomaticPricesLinkagesResponseDataItemType? Type7744 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueueLinks? Type7745 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleBaseTerritoryLinkageResponse? Type7745 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemGranularity? Type7746 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleBaseTerritoryLinkageResponseData? Type7746 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponse? Type7747 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleBaseTerritoryLinkageResponseDataType? Type7747 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7748 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleManualPricesLinkagesResponse? Type7748 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItem? Type7749 { get; set; } + public global::System.Collections.Generic.IList? Type7749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7750 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleManualPricesLinkagesResponseDataItem? Type7750 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDataPoint? Type7751 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceScheduleManualPricesLinkagesResponseDataItemType? Type7751 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDataPointValues? Type7752 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionImageLinkageResponse? Type7752 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDimensions? Type7753 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionImageLinkageResponseData? Type7753 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueue? Type7754 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionImageLinkageResponseDataType? Type7754 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueueLinks? Type7755 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionImagesLinkagesResponse? Type7755 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemGranularity? Type7756 { get; set; } + public global::System.Collections.Generic.IList? Type7756 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponse? Type7757 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionImagesLinkagesResponseDataItem? Type7757 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7758 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionImagesLinkagesResponseDataItemType? Type7758 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItem? Type7759 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionLocalizationsLinkagesResponse? Type7759 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7760 { get; set; } + public global::System.Collections.Generic.IList? Type7760 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDataPoint? Type7761 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionLocalizationsLinkagesResponseDataItem? Type7761 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDataPointValues? Type7762 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionLocalizationsLinkagesResponseDataItemType? Type7762 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDimensions? Type7763 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2AppStoreReviewScreenshotLinkageResponse? Type7763 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueue? Type7764 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2AppStoreReviewScreenshotLinkageResponseData? Type7764 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueueLinks? Type7765 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2AppStoreReviewScreenshotLinkageResponseDataType? Type7765 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemGranularity? Type7766 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2ContentLinkageResponse? Type7766 { get; set; } /// /// /// - public global::AppStoreConnect.ErrorResponse? Type7767 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2ContentLinkageResponseData? Type7767 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7768 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2ContentLinkageResponseDataType? Type7768 { get; set; } /// /// /// - public global::AppStoreConnect.ErrorResponseError? Type7769 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2IapPriceScheduleLinkageResponse? Type7769 { get; set; } /// /// /// - public global::AppStoreConnect.OneOf? Type7770 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2IapPriceScheduleLinkageResponseData? Type7770 { get; set; } /// /// /// - public global::AppStoreConnect.ErrorSourcePointer? Type7771 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2IapPriceScheduleLinkageResponseDataType? Type7771 { get; set; } /// /// /// - public global::AppStoreConnect.ErrorSourceParameter? Type7772 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2ImagesLinkagesResponse? Type7772 { get; set; } /// /// /// - public global::AppStoreConnect.ErrorLinks? Type7773 { get; set; } + public global::System.Collections.Generic.IList? Type7773 { get; set; } /// /// /// - public object? Type7774 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2ImagesLinkagesResponseDataItem? Type7774 { get; set; } /// /// /// - public global::AppStoreConnect.OneOf? Type7775 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2ImagesLinkagesResponseDataItemType? Type7775 { get; set; } /// /// /// - public global::AppStoreConnect.ErrorLinksAssociated? Type7776 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseAvailabilityLinkageResponse? Type7776 { get; set; } /// /// /// - public global::AppStoreConnect.ErrorLinksAssociatedMeta? Type7777 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseAvailabilityLinkageResponseData? Type7777 { get; set; } /// /// /// - public global::AppStoreConnect.PagingInformationPaging? Type7778 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseAvailabilityLinkageResponseDataType? Type7778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7779 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseLocalizationsLinkagesResponse? Type7779 { get; set; } /// /// /// - public global::AppStoreConnect.AppMediaStateError? Type7780 { get; set; } + public global::System.Collections.Generic.IList? Type7780 { get; set; } /// /// /// - public global::AppStoreConnect.AppMediaAssetStateState? Type7781 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseLocalizationsLinkagesResponseDataItem? Type7781 { get; set; } /// /// /// - public global::AppStoreConnect.AppMediaPreviewFrameImageState? Type7782 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2InAppPurchaseLocalizationsLinkagesResponseDataItemType? Type7782 { get; set; } /// /// /// - public global::AppStoreConnect.AppMediaPreviewFrameImageStateState? Type7783 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2OfferCodesLinkagesResponse? Type7783 { get; set; } /// /// /// - public global::AppStoreConnect.AppMediaVideoStateState? Type7784 { get; set; } + public global::System.Collections.Generic.IList? Type7784 { get; set; } /// /// /// - public global::AppStoreConnect.CapabilityOption? Type7785 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2OfferCodesLinkagesResponseDataItem? Type7785 { get; set; } /// /// /// - public global::AppStoreConnect.CapabilityOptionKey? Type7786 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2OfferCodesLinkagesResponseDataItemType? Type7786 { get; set; } /// /// /// - public global::AppStoreConnect.CapabilitySettingKey? Type7787 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2PricePointsLinkagesResponse? Type7787 { get; set; } /// /// /// - public global::AppStoreConnect.CapabilitySettingAllowedInstances? Type7788 { get; set; } + public global::System.Collections.Generic.IList? Type7788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7789 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2PricePointsLinkagesResponseDataItem? Type7789 { get; set; } /// /// /// - public global::AppStoreConnect.ChecksumAlgorithm? Type7790 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2PricePointsLinkagesResponseDataItemType? Type7790 { get; set; } /// /// /// - public global::AppStoreConnect.ChecksumsFile? Type7791 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2PromotedPurchaseLinkageResponse? Type7791 { get; set; } /// /// /// - public global::AppStoreConnect.ChecksumsComposite? Type7792 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2PromotedPurchaseLinkageResponseData? Type7792 { get; set; } /// /// /// - public global::AppStoreConnect.ChecksumsCompositeAlgorithm? Type7793 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2PromotedPurchaseLinkageResponseDataType? Type7793 { get; set; } /// /// /// - public global::AppStoreConnect.CiActionDestination? Type7794 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2VersionsLinkagesResponse? Type7794 { get; set; } /// /// /// - public global::AppStoreConnect.CiActionTestConfiguration? Type7795 { get; set; } + public global::System.Collections.Generic.IList? Type7795 { get; set; } /// /// /// - public global::AppStoreConnect.CiActionTestConfigurationKind? Type7796 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2VersionsLinkagesResponseDataItem? Type7796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7797 { get; set; } + public global::AppStoreConnect.InAppPurchaseV2VersionsLinkagesResponseDataItemType? Type7797 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestDestination? Type7798 { get; set; } + public global::AppStoreConnect.MerchantIdCertificatesLinkagesResponse? Type7798 { get; set; } /// /// /// - public global::AppStoreConnect.CiActionPlatform? Type7799 { get; set; } + public global::System.Collections.Generic.IList? Type7799 { get; set; } /// /// /// - public global::AppStoreConnect.CiBranchPatterns? Type7800 { get; set; } + public global::AppStoreConnect.MerchantIdCertificatesLinkagesResponseDataItem? Type7800 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7801 { get; set; } + public global::AppStoreConnect.MerchantIdCertificatesLinkagesResponseDataItemType? Type7801 { get; set; } /// /// /// - public global::AppStoreConnect.CiBranchPatternsPattern? Type7802 { get; set; } + public global::AppStoreConnect.PassTypeIdCertificatesLinkagesResponse? Type7802 { get; set; } /// /// /// - public global::AppStoreConnect.CiFilesAndFoldersRule? Type7803 { get; set; } + public global::System.Collections.Generic.IList? Type7803 { get; set; } /// /// /// - public global::AppStoreConnect.CiFilesAndFoldersRuleMode? Type7804 { get; set; } + public global::AppStoreConnect.PassTypeIdCertificatesLinkagesResponseDataItem? Type7804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7805 { get; set; } + public global::AppStoreConnect.PassTypeIdCertificatesLinkagesResponseDataItemType? Type7805 { get; set; } /// /// /// - public global::AppStoreConnect.CiStartConditionFileMatcher? Type7806 { get; set; } + public global::AppStoreConnect.PrereleaseVersionAppLinkageResponse? Type7806 { get; set; } /// /// /// - public global::AppStoreConnect.CiTagPatterns? Type7807 { get; set; } + public global::AppStoreConnect.PrereleaseVersionAppLinkageResponseData? Type7807 { get; set; } /// /// /// - public global::AppStoreConnect.CiScheduledStartConditionSchedule? Type7808 { get; set; } + public global::AppStoreConnect.PrereleaseVersionAppLinkageResponseDataType? Type7808 { get; set; } /// /// /// - public global::AppStoreConnect.CiScheduledStartConditionScheduleFrequency? Type7809 { get; set; } + public global::AppStoreConnect.PrereleaseVersionBuildsLinkagesResponse? Type7809 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7810 { get; set; } + public global::System.Collections.Generic.IList? Type7810 { get; set; } /// /// /// - public global::AppStoreConnect.CiScheduledStartConditionScheduleDay? Type7811 { get; set; } + public global::AppStoreConnect.PrereleaseVersionBuildsLinkagesResponseDataItem? Type7811 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7812 { get; set; } + public global::AppStoreConnect.PrereleaseVersionBuildsLinkagesResponseDataItemType? Type7812 { get; set; } /// /// /// - public global::AppStoreConnect.CiTagPatternsPattern? Type7813 { get; set; } + public global::AppStoreConnect.BundleIdWithoutIncludesResponse? Type7813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7814 { get; set; } + public global::AppStoreConnect.ProfileBundleIdLinkageResponse? Type7814 { get; set; } /// /// /// - public global::AppStoreConnect.HttpHeader? Type7815 { get; set; } + public global::AppStoreConnect.ProfileBundleIdLinkageResponseData? Type7815 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticInsightType? Type7816 { get; set; } + public global::AppStoreConnect.ProfileBundleIdLinkageResponseDataType? Type7816 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticInsightDirection? Type7817 { get; set; } + public global::AppStoreConnect.CertificatesWithoutIncludesResponse? Type7817 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7818 { get; set; } + public global::AppStoreConnect.ProfileCertificatesLinkagesResponse? Type7818 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticInsightReferenceVersion? Type7819 { get; set; } + public global::System.Collections.Generic.IList? Type7819 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLogCallStackNode? Type7820 { get; set; } + public global::AppStoreConnect.ProfileCertificatesLinkagesResponseDataItem? Type7820 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7821 { get; set; } + public global::AppStoreConnect.ProfileCertificatesLinkagesResponseDataItemType? Type7821 { get; set; } /// /// /// - public global::AppStoreConnect.MetricCategory? Type7822 { get; set; } + public global::AppStoreConnect.DevicesWithoutIncludesResponse? Type7822 { get; set; } /// /// /// - public global::AppStoreConnect.MetricsInsight? Type7823 { get; set; } + public global::AppStoreConnect.ProfileDevicesLinkagesResponse? Type7823 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7824 { get; set; } + public global::System.Collections.Generic.IList? Type7824 { get; set; } /// /// /// - public global::AppStoreConnect.MetricsInsightPopulation? Type7825 { get; set; } + public global::AppStoreConnect.ProfileDevicesLinkagesResponseDataItem? Type7825 { get; set; } /// /// /// - public global::AppStoreConnect.PerformanceSignature? Type7826 { get; set; } + public global::AppStoreConnect.ProfileDevicesLinkagesResponseDataItemType? Type7826 { get; set; } /// /// /// - public global::AppStoreConnect.PerformanceSignatureMetricsSummary? Type7827 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemsLinkagesResponse? Type7827 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7828 { get; set; } + public global::System.Collections.Generic.IList? Type7828 { get; set; } /// /// /// - public global::AppStoreConnect.PerformanceSignatureMetricsSummaryReferenceVersion? Type7829 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemsLinkagesResponseDataItem? Type7829 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProviderTypeKind? Type7830 { get; set; } + public global::AppStoreConnect.ReviewSubmissionItemsLinkagesResponseDataItemType? Type7830 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLogs? Type7831 { get; set; } + public global::AppStoreConnect.ScmProviderRepositoriesLinkagesResponse? Type7831 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7832 { get; set; } + public global::System.Collections.Generic.IList? Type7832 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLogsProductDataItem? Type7833 { get; set; } + public global::AppStoreConnect.ScmProviderRepositoriesLinkagesResponseDataItem? Type7833 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7834 { get; set; } + public global::AppStoreConnect.ScmProviderRepositoriesLinkagesResponseDataItemType? Type7834 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticInsight? Type7835 { get; set; } + public global::AppStoreConnect.ScmRepositoryGitReferencesLinkagesResponse? Type7835 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7836 { get; set; } + public global::System.Collections.Generic.IList? Type7836 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticLog? Type7837 { get; set; } + public global::AppStoreConnect.ScmRepositoryGitReferencesLinkagesResponseDataItem? Type7837 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7838 { get; set; } + public global::AppStoreConnect.ScmRepositoryGitReferencesLinkagesResponseDataItemType? Type7838 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticLogCallStackTreeItem? Type7839 { get; set; } + public global::AppStoreConnect.ScmRepositoryPullRequestsLinkagesResponse? Type7839 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7840 { get; set; } + public global::System.Collections.Generic.IList? Type7840 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticLogCallStackTreeItemCallStack? Type7841 { get; set; } + public global::AppStoreConnect.ScmRepositoryPullRequestsLinkagesResponseDataItem? Type7841 { get; set; } /// /// /// - public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticLogDiagnosticMetaData? Type7842 { get; set; } + public global::AppStoreConnect.ScmRepositoryPullRequestsLinkagesResponseDataItemType? Type7842 { get; set; } /// /// /// - public byte[]? Type7843 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityAvailableTerritoriesLinkagesResponse? Type7843 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetrics? Type7844 { get; set; } + public global::System.Collections.Generic.IList? Type7844 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsInsights? Type7845 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityAvailableTerritoriesLinkagesResponseDataItem? Type7845 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7846 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilityAvailableTerritoriesLinkagesResponseDataItemType? Type7846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7847 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionLocalizationsLinkagesResponse? Type7847 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItem? Type7848 { get; set; } + public global::System.Collections.Generic.IList? Type7848 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7849 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionLocalizationsLinkagesResponseDataItem? Type7849 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorie? Type7850 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionLocalizationsLinkagesResponseDataItemType? Type7850 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7851 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubscriptionGroupLocalizationsLinkagesResponse? Type7851 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetric? Type7852 { get; set; } + public global::System.Collections.Generic.IList? Type7852 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7853 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubscriptionGroupLocalizationsLinkagesResponseDataItem? Type7853 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricGoalKey? Type7854 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubscriptionGroupLocalizationsLinkagesResponseDataItemType? Type7854 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricUnit? Type7855 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubscriptionsLinkagesResponse? Type7855 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7856 { get; set; } + public global::System.Collections.Generic.IList? Type7856 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDataset? Type7857 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubscriptionsLinkagesResponseDataItem? Type7857 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDatasetFilterCriteria? Type7858 { get; set; } + public global::AppStoreConnect.SubscriptionGroupSubscriptionsLinkagesResponseDataItemType? Type7858 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7859 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsLinkagesResponse? Type7859 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDatasetPoint? Type7860 { get; set; } + public global::System.Collections.Generic.IList? Type7860 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDatasetPointPercentageBreakdown? Type7861 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsLinkagesResponseDataItem? Type7861 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDatasetRecommendedMetricGoal? Type7862 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsLinkagesResponseDataItemType? Type7862 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverview? Type7863 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValuesLinkageResponse? Type7863 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewAppMetadata? Type7864 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValuesLinkageResponseData? Type7864 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewInsights? Type7865 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodeValuesLinkageResponseDataType? Type7865 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7866 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesLinkagesResponse? Type7866 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewCategorie? Type7867 { get; set; } + public global::System.Collections.Generic.IList? Type7867 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7868 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesLinkagesResponseDataItem? Type7868 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewCategorieSection? Type7869 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesLinkagesResponseDataItemType? Type7869 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewCategorieSectionUnit? Type7870 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesLinkagesResponse? Type7870 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7871 { get; set; } + public global::System.Collections.Generic.IList? Type7871 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewCategorieSectionDataset? Type7872 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesLinkagesResponseDataItem? Type7872 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewCategorieSectionDatasetFilterCriteria? Type7873 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesLinkagesResponseDataItemType? Type7873 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7874 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePricesLinkagesResponse? Type7874 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewCategorieSectionDatasetPoint? Type7875 { get; set; } + public global::System.Collections.Generic.IList? Type7875 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewCategorieSectionDatasetPointPercentageBreakdown? Type7876 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePricesLinkagesResponseDataItem? Type7876 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewCategorieSectionDatasetRecommendedMetricGoal? Type7877 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodePricesLinkagesResponseDataItemType? Type7877 { get; set; } /// /// /// - public global::AppStoreConnect.XcodeOverviewSignatures? Type7878 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesResponse? Type7878 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7879 { get; set; } + public global::System.Collections.Generic.IList? Type7879 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7880 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesResponseDataItem? Type7880 { get; set; } /// /// /// - public global::AppStoreConnect.AccessibilityDeclarationsGetInstanceFieldsAccessibilityDeclaration? Type7881 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesResponseDataItemType? Type7881 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7882 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesRequest? Type7882 { get; set; } /// /// /// - public global::AppStoreConnect.ActorsGetCollectionFieldsActor? Type7883 { get; set; } + public global::System.Collections.Generic.IList? Type7883 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7884 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesRequestDataItem? Type7884 { get; set; } /// /// /// - public global::AppStoreConnect.ActorsGetInstanceFieldsActor? Type7885 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesRequestDataItemType? Type7885 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7886 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointEqualizationsLinkagesResponse? Type7886 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionDomainsGetCollectionFieldsAlternativeDistributionDomain? Type7887 { get; set; } + public global::System.Collections.Generic.IList? Type7887 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7888 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointEqualizationsLinkagesResponseDataItem? Type7888 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionDomainsGetInstanceFieldsAlternativeDistributionDomain? Type7889 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointEqualizationsLinkagesResponseDataItemType? Type7889 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7890 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPricesLinkagesResponse? Type7890 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionKeysGetCollectionFieldsAlternativeDistributionKey? Type7891 { get; set; } + public global::System.Collections.Generic.IList? Type7891 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7892 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPricesLinkagesResponseDataItem? Type7892 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionKeysGetInstanceFieldsAlternativeDistributionKey? Type7893 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPricesLinkagesResponseDataItemType? Type7893 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7894 { get; set; } + public global::AppStoreConnect.SubscriptionVersionImageLinkageResponse? Type7894 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageDeltasGetInstanceFieldsAlternativeDistributionPackageDelta? Type7895 { get; set; } + public global::AppStoreConnect.SubscriptionVersionImageLinkageResponseData? Type7895 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7896 { get; set; } + public global::AppStoreConnect.SubscriptionVersionImageLinkageResponseDataType? Type7896 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVariantsGetInstanceFieldsAlternativeDistributionPackageVariant? Type7897 { get; set; } + public global::AppStoreConnect.SubscriptionVersionImagesLinkagesResponse? Type7897 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7898 { get; set; } + public global::System.Collections.Generic.IList? Type7898 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceFieldsAlternativeDistributionPackageVersion? Type7899 { get; set; } + public global::AppStoreConnect.SubscriptionVersionImagesLinkagesResponseDataItem? Type7899 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7900 { get; set; } + public global::AppStoreConnect.SubscriptionVersionImagesLinkagesResponseDataItemType? Type7900 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceFieldsAlternativeDistributionPackageVariant? Type7901 { get; set; } + public global::AppStoreConnect.SubscriptionVersionLocalizationsLinkagesResponse? Type7901 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7902 { get; set; } + public global::System.Collections.Generic.IList? Type7902 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceFieldsAlternativeDistributionPackageDelta? Type7903 { get; set; } + public global::AppStoreConnect.SubscriptionVersionLocalizationsLinkagesResponseDataItem? Type7903 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7904 { get; set; } + public global::AppStoreConnect.SubscriptionVersionLocalizationsLinkagesResponseDataItemType? Type7904 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceFieldsAlternativeDistributionPackage? Type7905 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotLinkageResponse? Type7905 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7906 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotLinkageResponseData? Type7906 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceIncludeItem? Type7907 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotLinkageResponseDataType? Type7907 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7908 { get; set; } + public global::AppStoreConnect.SubscriptionImagesLinkagesResponse? Type7908 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackagesGetInstanceFieldsAlternativeDistributionPackage? Type7909 { get; set; } + public global::System.Collections.Generic.IList? Type7909 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7910 { get; set; } + public global::AppStoreConnect.SubscriptionImagesLinkagesResponseDataItem? Type7910 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackagesGetInstanceFieldsAlternativeDistributionPackageVersion? Type7911 { get; set; } + public global::AppStoreConnect.SubscriptionImagesLinkagesResponseDataItemType? Type7911 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7912 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesResponse? Type7912 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackagesGetInstanceIncludeItem? Type7913 { get; set; } + public global::System.Collections.Generic.IList? Type7913 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7914 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesResponseDataItem? Type7914 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportInstancesGetInstanceFieldsAnalyticsReportInstance? Type7915 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesResponseDataItemType? Type7915 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7916 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesRequest? Type7916 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportRequestsGetInstanceFieldsAnalyticsReportRequest? Type7917 { get; set; } + public global::System.Collections.Generic.IList? Type7917 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7918 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesRequestDataItem? Type7918 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportRequestsGetInstanceFieldsAnalyticsReport? Type7919 { get; set; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersLinkagesRequestDataItemType? Type7919 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7920 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesLinkagesResponse? Type7920 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportRequestsGetInstanceIncludeItem? Type7921 { get; set; } + public global::System.Collections.Generic.IList? Type7921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7922 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesLinkagesResponseDataItem? Type7922 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportSegmentsGetInstanceFieldsAnalyticsReportSegment? Type7923 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesLinkagesResponseDataItemType? Type7923 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7924 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilitiesLinkagesResponse? Type7924 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportsGetInstanceFieldsAnalyticsReport? Type7925 { get; set; } + public global::System.Collections.Generic.IList? Type7925 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7926 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilitiesLinkagesResponseDataItem? Type7926 { get; set; } /// /// /// - public global::AppStoreConnect.AndroidToIosAppMappingDetailsGetInstanceFieldsAndroidToIosAppMappingDetail? Type7927 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilitiesLinkagesResponseDataItemType? Type7927 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7928 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointsLinkagesResponse? Type7928 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilitiesV2GetInstanceFieldsAppAvailabilitie? Type7929 { get; set; } + public global::System.Collections.Generic.IList? Type7929 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7930 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointsLinkagesResponseDataItem? Type7930 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilitiesV2GetInstanceFieldsTerritoryAvailabilitie? Type7931 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointsLinkagesResponseDataItemType? Type7931 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7932 { get; set; } + public global::AppStoreConnect.SubscriptionPricesLinkagesResponse? Type7932 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilitiesV2GetInstanceIncludeItem? Type7933 { get; set; } + public global::System.Collections.Generic.IList? Type7933 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7934 { get; set; } + public global::AppStoreConnect.SubscriptionPricesLinkagesResponseDataItem? Type7934 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoriesGetCollectionFilterPlatform? Type7935 { get; set; } + public global::AppStoreConnect.SubscriptionPricesLinkagesResponseDataItemType? Type7935 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7936 { get; set; } + public global::AppStoreConnect.SubscriptionPricesLinkagesRequest? Type7936 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoriesGetCollectionFieldsAppCategorie? Type7937 { get; set; } + public global::System.Collections.Generic.IList? Type7937 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7938 { get; set; } + public global::AppStoreConnect.SubscriptionPricesLinkagesRequestDataItem? Type7938 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoriesGetCollectionIncludeItem? Type7939 { get; set; } + public global::AppStoreConnect.SubscriptionPricesLinkagesRequestDataItemType? Type7939 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7940 { get; set; } + public global::AppStoreConnect.SubscriptionPromotedPurchaseLinkageResponse? Type7940 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoriesGetInstanceFieldsAppCategorie? Type7941 { get; set; } + public global::AppStoreConnect.SubscriptionPromotedPurchaseLinkageResponseData? Type7941 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7942 { get; set; } + public global::AppStoreConnect.SubscriptionPromotedPurchaseLinkageResponseDataType? Type7942 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoriesGetInstanceIncludeItem? Type7943 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersLinkagesResponse? Type7943 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7944 { get; set; } + public global::System.Collections.Generic.IList? Type7944 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImagesGetInstanceFieldsAppClipAdvancedExperienceImage? Type7945 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersLinkagesResponseDataItem? Type7945 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7946 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersLinkagesResponseDataItemType? Type7946 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceFieldsAppClipAdvancedExperience? Type7947 { get; set; } + public global::AppStoreConnect.SubscriptionSubscriptionAvailabilityLinkageResponse? Type7947 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7948 { get; set; } + public global::AppStoreConnect.SubscriptionSubscriptionAvailabilityLinkageResponseData? Type7948 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceFieldsAppClip? Type7949 { get; set; } + public global::AppStoreConnect.SubscriptionSubscriptionAvailabilityLinkageResponseDataType? Type7949 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7950 { get; set; } + public global::AppStoreConnect.SubscriptionSubscriptionLocalizationsLinkagesResponse? Type7950 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceFieldsAppClipAdvancedExperienceImage? Type7951 { get; set; } + public global::System.Collections.Generic.IList? Type7951 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7952 { get; set; } + public global::AppStoreConnect.SubscriptionSubscriptionLocalizationsLinkagesResponseDataItem? Type7952 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceFieldsAppClipAdvancedExperienceLocalization? Type7953 { get; set; } + public global::AppStoreConnect.SubscriptionSubscriptionLocalizationsLinkagesResponseDataItemType? Type7953 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7954 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsLinkagesResponse? Type7954 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceIncludeItem? Type7955 { get; set; } + public global::System.Collections.Generic.IList? Type7955 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7956 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsLinkagesResponseDataItem? Type7956 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailsGetInstanceFieldsAppClipAppStoreReviewDetail? Type7957 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsLinkagesResponseDataItemType? Type7957 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7958 { get; set; } + public global::AppStoreConnect.SubscriptionWinBackOffersLinkagesResponse? Type7958 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailsGetInstanceFieldsAppClipDefaultExperience? Type7959 { get; set; } + public global::System.Collections.Generic.IList? Type7959 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7960 { get; set; } + public global::AppStoreConnect.SubscriptionWinBackOffersLinkagesResponseDataItem? Type7960 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetailsGetInstanceIncludeItem? Type7961 { get; set; } + public global::AppStoreConnect.SubscriptionWinBackOffersLinkagesResponseDataItemType? Type7961 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7962 { get; set; } + public global::AppStoreConnect.UserInvitationVisibleAppsLinkagesResponse? Type7962 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsGetInstanceFieldsAppClipDefaultExperienceLocalization? Type7963 { get; set; } + public global::System.Collections.Generic.IList? Type7963 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7964 { get; set; } + public global::AppStoreConnect.UserInvitationVisibleAppsLinkagesResponseDataItem? Type7964 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsGetInstanceFieldsAppClipDefaultExperience? Type7965 { get; set; } + public global::AppStoreConnect.UserInvitationVisibleAppsLinkagesResponseDataItemType? Type7965 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7966 { get; set; } + public global::AppStoreConnect.UserVisibleAppsLinkagesResponse? Type7966 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsGetInstanceFieldsAppClipHeaderImage? Type7967 { get; set; } + public global::System.Collections.Generic.IList? Type7967 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7968 { get; set; } + public global::AppStoreConnect.UserVisibleAppsLinkagesResponseDataItem? Type7968 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsGetInstanceIncludeItem? Type7969 { get; set; } + public global::AppStoreConnect.UserVisibleAppsLinkagesResponseDataItemType? Type7969 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7970 { get; set; } + public global::AppStoreConnect.UserVisibleAppsLinkagesRequest? Type7970 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppClipDefaultExperience? Type7971 { get; set; } + public global::System.Collections.Generic.IList? Type7971 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7972 { get; set; } + public global::AppStoreConnect.UserVisibleAppsLinkagesRequestDataItem? Type7972 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppClip? Type7973 { get; set; } + public global::AppStoreConnect.UserVisibleAppsLinkagesRequestDataItemType? Type7973 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7974 { get; set; } + public global::AppStoreConnect.WebhookDeliveriesLinkagesResponse? Type7974 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppStoreVersion? Type7975 { get; set; } + public global::System.Collections.Generic.IList? Type7975 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7976 { get; set; } + public global::AppStoreConnect.WebhookDeliveriesLinkagesResponseDataItem? Type7976 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppClipDefaultExperienceLocalization? Type7977 { get; set; } + public global::AppStoreConnect.WebhookDeliveriesLinkagesResponseDataItemType? Type7977 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7978 { get; set; } + public global::AppStoreConnect.WinBackOfferPricesLinkagesResponse? Type7978 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppClipAppStoreReviewDetail? Type7979 { get; set; } + public global::System.Collections.Generic.IList? Type7979 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7980 { get; set; } + public global::AppStoreConnect.WinBackOfferPricesLinkagesResponseDataItem? Type7980 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceIncludeItem? Type7981 { get; set; } + public global::AppStoreConnect.WinBackOfferPricesLinkagesResponseDataItemType? Type7981 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7982 { get; set; } + public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponse? Type7982 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImagesGetInstanceFieldsAppClipHeaderImage? Type7983 { get; set; } + public global::System.Collections.Generic.IList? Type7983 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7984 { get; set; } + public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItem? Type7984 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImagesGetInstanceFieldsAppClipDefaultExperienceLocalization? Type7985 { get; set; } + public global::System.Collections.Generic.IList? Type7985 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7986 { get; set; } + public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDataPoint? Type7986 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImagesGetInstanceIncludeItem? Type7987 { get; set; } + public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDataPointValues? Type7987 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7988 { get; set; } + public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDimensions? Type7988 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsGetInstanceFieldsAppClip? Type7989 { get; set; } + public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDimensionsBetaTesters? Type7989 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7990 { get; set; } + public global::AppStoreConnect.AppsBetaTesterUsagesV1MetricResponseDataItemDimensionsBetaTestersLinks? Type7990 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsGetInstanceFieldsApp? Type7991 { get; set; } + public global::AppStoreConnect.BetaPublicLinkUsagesV1MetricResponse? Type7991 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7992 { get; set; } + public global::System.Collections.Generic.IList? Type7992 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsGetInstanceFieldsAppClipDefaultExperience? Type7993 { get; set; } + public global::AppStoreConnect.BetaPublicLinkUsagesV1MetricResponseDataItem? Type7993 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7994 { get; set; } + public global::System.Collections.Generic.IList? Type7994 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsGetInstanceIncludeItem? Type7995 { get; set; } + public global::AppStoreConnect.BetaPublicLinkUsagesV1MetricResponseDataItemDataPoint? Type7995 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7996 { get; set; } + public global::AppStoreConnect.BetaPublicLinkUsagesV1MetricResponseDataItemDataPointValues? Type7996 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization? Type7997 { get; set; } + public global::AppStoreConnect.BetaTesterUsagesV1MetricResponse? Type7997 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type7998 { get; set; } + public global::System.Collections.Generic.IList? Type7998 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageVersion? Type7999 { get; set; } + public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItem? Type7999 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8000 { get; set; } + public global::System.Collections.Generic.IList? Type8000 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppScreenshotSet? Type8001 { get; set; } + public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDataPoint? Type8001 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8002 { get; set; } + public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDataPointValues? Type8002 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSet? Type8003 { get; set; } + public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDimensions? Type8003 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8004 { get; set; } + public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDimensionsApps? Type8004 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem? Type8005 { get; set; } + public global::AppStoreConnect.BetaTesterUsagesV1MetricResponseDataItemDimensionsAppsLinks? Type8005 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8006 { get; set; } + public global::AppStoreConnect.BetaBuildUsagesV1MetricResponse? Type8006 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageVersion? Type8007 { get; set; } + public global::System.Collections.Generic.IList? Type8007 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8008 { get; set; } + public global::AppStoreConnect.BetaBuildUsagesV1MetricResponseDataItem? Type8008 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPage? Type8009 { get; set; } + public global::System.Collections.Generic.IList? Type8009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8010 { get; set; } + public global::AppStoreConnect.BetaBuildUsagesV1MetricResponseDataItemDataPoint? Type8010 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization? Type8011 { get; set; } + public global::AppStoreConnect.BetaBuildUsagesV1MetricResponseDataItemDataPointValues? Type8011 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8012 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponse? Type8012 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsGetInstanceIncludeItem? Type8013 { get; set; } + public global::System.Collections.Generic.IList? Type8013 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8014 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItem? Type8014 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesGetInstanceFieldsAppCustomProductPage? Type8015 { get; set; } + public global::System.Collections.Generic.IList? Type8015 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8016 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDataPoint? Type8016 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesGetInstanceFieldsApp? Type8017 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDataPointValues? Type8017 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8018 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDimensions? Type8018 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesGetInstanceFieldsAppCustomProductPageVersion? Type8019 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDimensionsResult? Type8019 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8020 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDimensionsResultLinks? Type8020 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesGetInstanceIncludeItem? Type8021 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemDimensionsResultData? Type8021 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8022 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingAppRequestsV1MetricResponseDataItemGranularity? Type8022 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocumentsGetInstanceFieldsAppEncryptionDeclarationDocument? Type8023 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponse? Type8023 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8024 { get; set; } + public global::System.Collections.Generic.IList? Type8024 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFilterPlatformItem? Type8025 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItem? Type8025 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8026 { get; set; } + public global::System.Collections.Generic.IList? Type8026 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFieldsAppEncryptionDeclaration? Type8027 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItemDataPoint? Type8027 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8028 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItemDataPointValues? Type8028 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFieldsApp? Type8029 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItemGranularity? Type8029 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8030 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponse? Type8030 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFieldsBuild? Type8031 { get; set; } + public global::System.Collections.Generic.IList? Type8031 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8032 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItem? Type8032 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFieldsAppEncryptionDeclarationDocument? Type8033 { get; set; } + public global::System.Collections.Generic.IList? Type8033 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8034 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDataPoint? Type8034 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionIncludeItem? Type8035 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDataPointValues? Type8035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8036 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensions? Type8036 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceFieldsAppEncryptionDeclaration? Type8037 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsResult? Type8037 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8038 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsResultLinks? Type8038 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceFieldsApp? Type8039 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsResultData? Type8039 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8040 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsGameCenterDetail? Type8040 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceFieldsBuild? Type8041 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemDimensionsGameCenterDetailLinks? Type8041 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8042 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItemGranularity? Type8042 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceFieldsAppEncryptionDeclarationDocument? Type8043 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponse? Type8043 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8044 { get; set; } + public global::System.Collections.Generic.IList? Type8044 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceIncludeItem? Type8045 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponseDataItem? Type8045 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8046 { get; set; } + public global::System.Collections.Generic.IList? Type8046 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventLocalization? Type8047 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponseDataItemDataPoint? Type8047 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8048 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponseDataItemDataPointValues? Type8048 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEvent? Type8049 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingSessionsV1MetricResponseDataItemGranularity? Type8049 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8050 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponse? Type8050 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventScreenshot? Type8051 { get; set; } + public global::System.Collections.Generic.IList? Type8051 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8052 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItem? Type8052 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventVideoClip? Type8053 { get; set; } + public global::System.Collections.Generic.IList? Type8053 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8054 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDataPoint? Type8054 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem? Type8055 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDataPointValues? Type8055 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8056 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensions? Type8056 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotsGetInstanceFieldsAppEventScreenshot? Type8057 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensionsResult? Type8057 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8058 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensionsResultLinks? Type8058 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotsGetInstanceFieldsAppEventLocalization? Type8059 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueue? Type8059 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8060 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueueLinks? Type8060 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventScreenshotsGetInstanceIncludeItem? Type8061 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingBooleanRuleResultsV1MetricResponseDataItemGranularity? Type8061 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8062 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponse? Type8062 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipsGetInstanceFieldsAppEventVideoClip? Type8063 { get; set; } + public global::System.Collections.Generic.IList? Type8063 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8064 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItem? Type8064 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipsGetInstanceFieldsAppEventLocalization? Type8065 { get; set; } + public global::System.Collections.Generic.IList? Type8065 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8066 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDataPoint? Type8066 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventVideoClipsGetInstanceIncludeItem? Type8067 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDataPointValues? Type8067 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8068 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDimensions? Type8068 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventsGetInstanceFieldsAppEvent? Type8069 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueue? Type8069 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8070 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueueLinks? Type8070 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventsGetInstanceFieldsAppEventLocalization? Type8071 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingNumberRuleResultsV1MetricResponseDataItemGranularity? Type8071 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8072 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponse? Type8072 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventsGetInstanceIncludeItem? Type8073 { get; set; } + public global::System.Collections.Generic.IList? Type8073 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8074 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItem? Type8074 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationsGetInstanceFieldsAppInfoLocalization? Type8075 { get; set; } + public global::System.Collections.Generic.IList? Type8075 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8076 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDataPoint? Type8076 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationsGetInstanceFieldsAppInfo? Type8077 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDataPointValues? Type8077 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8078 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDimensions? Type8078 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfoLocalizationsGetInstanceIncludeItem? Type8079 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueue? Type8079 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8080 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemDimensionsGameCenterMatchmakingQueueLinks? Type8080 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosGetInstanceFieldsAppInfo? Type8081 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemGranularity? Type8081 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8082 { get; set; } + public global::AppStoreConnect.ErrorResponse? Type8082 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosGetInstanceFieldsApp? Type8083 { get; set; } + public global::System.Collections.Generic.IList? Type8083 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8084 { get; set; } + public global::AppStoreConnect.ErrorResponseError? Type8084 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosGetInstanceFieldsAgeRatingDeclaration? Type8085 { get; set; } + public global::AppStoreConnect.OneOf? Type8085 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8086 { get; set; } + public global::AppStoreConnect.ErrorSourcePointer? Type8086 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosGetInstanceFieldsAppInfoLocalization? Type8087 { get; set; } + public global::AppStoreConnect.ErrorSourceParameter? Type8087 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8088 { get; set; } + public global::AppStoreConnect.ErrorLinks? Type8088 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosGetInstanceFieldsAppCategorie? Type8089 { get; set; } + public global::AppStoreConnect.OneOf? Type8089 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8090 { get; set; } + public global::AppStoreConnect.ErrorLinksAssociated? Type8090 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosGetInstanceIncludeItem? Type8091 { get; set; } + public global::AppStoreConnect.ErrorLinksAssociatedMeta? Type8091 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8092 { get; set; } + public global::AppStoreConnect.PagingInformationPaging? Type8092 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppPreviewSet? Type8093 { get; set; } + public global::System.Collections.Generic.IList? Type8093 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8094 { get; set; } + public global::AppStoreConnect.AppMediaStateError? Type8094 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization? Type8095 { get; set; } + public global::AppStoreConnect.AppMediaAssetStateState? Type8095 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8096 { get; set; } + public global::AppStoreConnect.AppMediaPreviewFrameImageState? Type8096 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization? Type8097 { get; set; } + public global::AppStoreConnect.AppMediaPreviewFrameImageStateState? Type8097 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8098 { get; set; } + public global::AppStoreConnect.AppMediaVideoStateState? Type8098 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Type8099 { get; set; } + public global::AppStoreConnect.CapabilityOption? Type8099 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8100 { get; set; } + public global::AppStoreConnect.CapabilityOptionKey? Type8100 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppPreview? Type8101 { get; set; } + public global::AppStoreConnect.CapabilitySettingKey? Type8101 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8102 { get; set; } + public global::AppStoreConnect.CapabilitySettingAllowedInstances? Type8102 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsGetInstanceIncludeItem? Type8103 { get; set; } + public global::System.Collections.Generic.IList? Type8103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8104 { get; set; } + public global::AppStoreConnect.ChecksumAlgorithm? Type8104 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewsGetInstanceFieldsAppPreview? Type8105 { get; set; } + public global::AppStoreConnect.ChecksumsFile? Type8105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8106 { get; set; } + public global::AppStoreConnect.ChecksumsComposite? Type8106 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewsGetInstanceFieldsAppPreviewSet? Type8107 { get; set; } + public global::AppStoreConnect.ChecksumsCompositeAlgorithm? Type8107 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8108 { get; set; } + public global::AppStoreConnect.CiActionDestination? Type8108 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewsGetInstanceIncludeItem? Type8109 { get; set; } + public global::AppStoreConnect.CiActionTestConfiguration? Type8109 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8110 { get; set; } + public global::AppStoreConnect.CiActionTestConfigurationKind? Type8110 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3GetInstanceFieldsAppPricePoint? Type8111 { get; set; } + public global::System.Collections.Generic.IList? Type8111 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8112 { get; set; } + public global::AppStoreConnect.CiTestDestination? Type8112 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3GetInstanceFieldsApp? Type8113 { get; set; } + public global::AppStoreConnect.CiActionPlatform? Type8113 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8114 { get; set; } + public global::AppStoreConnect.CiBranchPatterns? Type8114 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3GetInstanceFieldsTerritorie? Type8115 { get; set; } + public global::System.Collections.Generic.IList? Type8115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8116 { get; set; } + public global::AppStoreConnect.CiBranchPatternsPattern? Type8116 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3GetInstanceIncludeItem? Type8117 { get; set; } + public global::AppStoreConnect.CiFilesAndFoldersRule? Type8117 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8118 { get; set; } + public global::AppStoreConnect.CiFilesAndFoldersRuleMode? Type8118 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesGetInstanceFieldsAppPriceSchedule? Type8119 { get; set; } + public global::System.Collections.Generic.IList? Type8119 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8120 { get; set; } + public global::AppStoreConnect.CiStartConditionFileMatcher? Type8120 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesGetInstanceFieldsApp? Type8121 { get; set; } + public global::AppStoreConnect.CiTagPatterns? Type8121 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8122 { get; set; } + public global::AppStoreConnect.CiScheduledStartConditionSchedule? Type8122 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesGetInstanceFieldsTerritorie? Type8123 { get; set; } + public global::AppStoreConnect.CiScheduledStartConditionScheduleFrequency? Type8123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8124 { get; set; } + public global::System.Collections.Generic.IList? Type8124 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesGetInstanceFieldsAppPrice? Type8125 { get; set; } + public global::AppStoreConnect.CiScheduledStartConditionScheduleDay? Type8125 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8126 { get; set; } + public global::System.Collections.Generic.IList? Type8126 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesGetInstanceIncludeItem? Type8127 { get; set; } + public global::AppStoreConnect.CiTagPatternsPattern? Type8127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8128 { get; set; } + public global::System.Collections.Generic.IList? Type8128 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppScreenshotSet? Type8129 { get; set; } + public global::AppStoreConnect.HttpHeader? Type8129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8130 { get; set; } + public global::AppStoreConnect.DiagnosticInsightType? Type8130 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization? Type8131 { get; set; } + public global::AppStoreConnect.DiagnosticInsightDirection? Type8131 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8132 { get; set; } + public global::System.Collections.Generic.IList? Type8132 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization? Type8133 { get; set; } + public global::AppStoreConnect.DiagnosticInsightReferenceVersion? Type8133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8134 { get; set; } + public global::AppStoreConnect.DiagnosticLogCallStackNode? Type8134 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Type8135 { get; set; } + public global::System.Collections.Generic.IList? Type8135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8136 { get; set; } + public global::AppStoreConnect.MetricCategory? Type8136 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppScreenshot? Type8137 { get; set; } + public global::AppStoreConnect.MetricsInsight? Type8137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8138 { get; set; } + public global::System.Collections.Generic.IList? Type8138 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsGetInstanceIncludeItem? Type8139 { get; set; } + public global::AppStoreConnect.MetricsInsightPopulation? Type8139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8140 { get; set; } + public global::AppStoreConnect.PerformanceSignature? Type8140 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotsGetInstanceFieldsAppScreenshot? Type8141 { get; set; } + public global::AppStoreConnect.PerformanceSignatureMetricsSummary? Type8141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8142 { get; set; } + public global::System.Collections.Generic.IList? Type8142 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotsGetInstanceFieldsAppScreenshotSet? Type8143 { get; set; } + public global::AppStoreConnect.PerformanceSignatureMetricsSummaryReferenceVersion? Type8143 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8144 { get; set; } + public global::AppStoreConnect.ScmProviderTypeKind? Type8144 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotsGetInstanceIncludeItem? Type8145 { get; set; } + public global::AppStoreConnect.DiagnosticLogs? Type8145 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8146 { get; set; } + public global::System.Collections.Generic.IList? Type8146 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentsGetInstanceFieldsAppStoreReviewAttachment? Type8147 { get; set; } + public global::AppStoreConnect.DiagnosticLogsProductDataItem? Type8147 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8148 { get; set; } + public global::System.Collections.Generic.IList? Type8148 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentsGetInstanceFieldsAppStoreReviewDetail? Type8149 { get; set; } + public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticInsight? Type8149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8150 { get; set; } + public global::System.Collections.Generic.IList? Type8150 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachmentsGetInstanceIncludeItem? Type8151 { get; set; } + public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticLog? Type8151 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8152 { get; set; } + public global::System.Collections.Generic.IList? Type8152 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailsGetInstanceFieldsAppStoreReviewDetail? Type8153 { get; set; } + public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticLogCallStackTreeItem? Type8153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8154 { get; set; } + public global::System.Collections.Generic.IList? Type8154 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailsGetInstanceFieldsAppStoreVersion? Type8155 { get; set; } + public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticLogCallStackTreeItemCallStack? Type8155 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8156 { get; set; } + public global::AppStoreConnect.DiagnosticLogsProductDataItemDiagnosticLogDiagnosticMetaData? Type8156 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailsGetInstanceFieldsAppStoreReviewAttachment? Type8157 { get; set; } + public byte[]? Type8157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8158 { get; set; } + public global::AppStoreConnect.XcodeMetrics? Type8158 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailsGetInstanceIncludeItem? Type8159 { get; set; } + public global::AppStoreConnect.XcodeMetricsInsights? Type8159 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Type8160 { get; set; } + public global::System.Collections.Generic.IList? Type8160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8161 { get; set; } + public global::System.Collections.Generic.IList? Type8161 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatment? Type8162 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItem? Type8162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8163 { get; set; } + public global::System.Collections.Generic.IList? Type8163 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppScreenshotSet? Type8164 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorie? Type8164 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8165 { get; set; } + public global::System.Collections.Generic.IList? Type8165 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSet? Type8166 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetric? Type8166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8167 { get; set; } + public global::System.Collections.Generic.IList? Type8167 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem? Type8168 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricGoalKey? Type8168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8169 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricUnit? Type8169 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatment? Type8170 { get; set; } + public global::System.Collections.Generic.IList? Type8170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8171 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDataset? Type8171 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperiment? Type8172 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDatasetFilterCriteria? Type8172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8173 { get; set; } + public global::System.Collections.Generic.IList? Type8173 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Type8174 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDatasetPoint? Type8174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8175 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDatasetPointPercentageBreakdown? Type8175 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsGetInstanceIncludeItem? Type8176 { get; set; } + public global::AppStoreConnect.XcodeMetricsProductDataItemMetricCategorieMetricDatasetRecommendedMetricGoal? Type8176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8177 { get; set; } + public global::AppStoreConnect.XcodeOverview? Type8177 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceFieldsAppStoreVersionExperiment? Type8178 { get; set; } + public global::AppStoreConnect.XcodeOverviewAppMetadata? Type8178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8179 { get; set; } + public global::AppStoreConnect.XcodeOverviewInsights? Type8179 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceFieldsApp? Type8180 { get; set; } + public global::System.Collections.Generic.IList? Type8180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8181 { get; set; } + public global::AppStoreConnect.XcodeOverviewCategorie? Type8181 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceFieldsAppStoreVersion? Type8182 { get; set; } + public global::System.Collections.Generic.IList? Type8182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8183 { get; set; } + public global::AppStoreConnect.XcodeOverviewCategorieSection? Type8183 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceFieldsAppStoreVersionExperimentTreatment? Type8184 { get; set; } + public global::AppStoreConnect.XcodeOverviewCategorieSectionUnit? Type8184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8185 { get; set; } + public global::System.Collections.Generic.IList? Type8185 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceIncludeItem? Type8186 { get; set; } + public global::AppStoreConnect.XcodeOverviewCategorieSectionDataset? Type8186 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8187 { get; set; } + public global::AppStoreConnect.XcodeOverviewCategorieSectionDatasetFilterCriteria? Type8187 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsGetInstanceFieldsAppStoreVersionExperiment? Type8188 { get; set; } + public global::System.Collections.Generic.IList? Type8188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8189 { get; set; } + public global::AppStoreConnect.XcodeOverviewCategorieSectionDatasetPoint? Type8189 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsGetInstanceFieldsAppStoreVersion? Type8190 { get; set; } + public global::AppStoreConnect.XcodeOverviewCategorieSectionDatasetPointPercentageBreakdown? Type8190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8191 { get; set; } + public global::AppStoreConnect.XcodeOverviewCategorieSectionDatasetRecommendedMetricGoal? Type8191 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsGetInstanceFieldsAppStoreVersionExperimentTreatment? Type8192 { get; set; } + public global::AppStoreConnect.XcodeOverviewSignatures? Type8192 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8193 { get; set; } + public global::System.Collections.Generic.IList? Type8193 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsGetInstanceIncludeItem? Type8194 { get; set; } + public global::System.Collections.Generic.IList? Type8194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8195 { get; set; } + public global::AppStoreConnect.AccessibilityDeclarationsGetInstanceFieldsAccessibilityDeclaration? Type8195 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization? Type8196 { get; set; } + public global::System.Collections.Generic.IList? Type8196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8197 { get; set; } + public global::AppStoreConnect.ActorsGetCollectionFieldsActor? Type8197 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersion? Type8198 { get; set; } + public global::System.Collections.Generic.IList? Type8198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8199 { get; set; } + public global::AppStoreConnect.ActorsGetInstanceFieldsActor? Type8199 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppScreenshotSet? Type8200 { get; set; } + public global::System.Collections.Generic.IList? Type8200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8201 { get; set; } + public global::AppStoreConnect.AlternativeDistributionDomainsGetCollectionFieldsAlternativeDistributionDomain? Type8201 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSet? Type8202 { get; set; } + public global::System.Collections.Generic.IList? Type8202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8203 { get; set; } + public global::AppStoreConnect.AlternativeDistributionDomainsGetInstanceFieldsAlternativeDistributionDomain? Type8203 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem? Type8204 { get; set; } + public global::System.Collections.Generic.IList? Type8204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8205 { get; set; } + public global::AppStoreConnect.AlternativeDistributionKeysGetCollectionFieldsAlternativeDistributionKey? Type8205 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersion? Type8206 { get; set; } + public global::System.Collections.Generic.IList? Type8206 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8207 { get; set; } + public global::AppStoreConnect.AlternativeDistributionKeysGetInstanceFieldsAlternativeDistributionKey? Type8207 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsApp? Type8208 { get; set; } + public global::System.Collections.Generic.IList? Type8208 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8209 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageDeltasGetInstanceFieldsAlternativeDistributionPackageDelta? Type8209 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization? Type8210 { get; set; } + public global::System.Collections.Generic.IList? Type8210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8211 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVariantsGetInstanceFieldsAlternativeDistributionPackageVariant? Type8211 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsBuild? Type8212 { get; set; } + public global::System.Collections.Generic.IList? Type8212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8213 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceFieldsAlternativeDistributionPackageVersion? Type8213 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersionPhasedRelease? Type8214 { get; set; } + public global::System.Collections.Generic.IList? Type8214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8215 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceFieldsAlternativeDistributionPackageVariant? Type8215 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsGameCenterAppVersion? Type8216 { get; set; } + public global::System.Collections.Generic.IList? Type8216 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8217 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceFieldsAlternativeDistributionPackageDelta? Type8217 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsRoutingAppCoverage? Type8218 { get; set; } + public global::System.Collections.Generic.IList? Type8218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8219 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceFieldsAlternativeDistributionPackage? Type8219 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreReviewDetail? Type8220 { get; set; } + public global::System.Collections.Generic.IList? Type8220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8221 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsGetInstanceIncludeItem? Type8221 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersionSubmission? Type8222 { get; set; } + public global::System.Collections.Generic.IList? Type8222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8223 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackagesGetInstanceFieldsAlternativeDistributionPackage? Type8223 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppClipDefaultExperience? Type8224 { get; set; } + public global::System.Collections.Generic.IList? Type8224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8225 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackagesGetInstanceFieldsAlternativeDistributionPackageVersion? Type8225 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersionExperiment? Type8226 { get; set; } + public global::System.Collections.Generic.IList? Type8226 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8227 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackagesGetInstanceIncludeItem? Type8227 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAlternativeDistributionPackage? Type8228 { get; set; } + public global::System.Collections.Generic.IList? Type8228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8229 { get; set; } + public global::AppStoreConnect.AnalyticsReportInstancesGetInstanceFieldsAnalyticsReportInstance? Type8229 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGetInstanceIncludeItem? Type8230 { get; set; } + public global::System.Collections.Generic.IList? Type8230 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8231 { get; set; } + public global::AppStoreConnect.AnalyticsReportRequestsGetInstanceFieldsAnalyticsReportRequest? Type8231 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFilterAppStoreVersionsAppStoreStateItem? Type8232 { get; set; } + public global::System.Collections.Generic.IList? Type8232 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8233 { get; set; } + public global::AppStoreConnect.AnalyticsReportRequestsGetInstanceFieldsAnalyticsReport? Type8233 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFilterAppStoreVersionsPlatformItem? Type8234 { get; set; } + public global::System.Collections.Generic.IList? Type8234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8235 { get; set; } + public global::AppStoreConnect.AnalyticsReportRequestsGetInstanceIncludeItem? Type8235 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFilterAppStoreVersionsAppVersionStateItem? Type8236 { get; set; } + public global::System.Collections.Generic.IList? Type8236 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8237 { get; set; } + public global::AppStoreConnect.AnalyticsReportSegmentsGetInstanceFieldsAnalyticsReportSegment? Type8237 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFilterReviewSubmissionsStateItem? Type8238 { get; set; } + public global::System.Collections.Generic.IList? Type8238 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8239 { get; set; } + public global::AppStoreConnect.AnalyticsReportsGetInstanceFieldsAnalyticsReport? Type8239 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFilterReviewSubmissionsPlatformItem? Type8240 { get; set; } + public global::System.Collections.Generic.IList? Type8240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8241 { get; set; } + public global::AppStoreConnect.AndroidToIosAppMappingDetailsGetInstanceFieldsAndroidToIosAppMappingDetail? Type8241 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionSortItem? Type8242 { get; set; } + public global::System.Collections.Generic.IList? Type8242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8243 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie? Type8243 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsApp? Type8244 { get; set; } + public global::System.Collections.Generic.IList? Type8244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8245 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage? Type8245 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsAppEncryptionDeclaration? Type8246 { get; set; } + public global::System.Collections.Generic.IList? Type8246 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8247 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement? Type8247 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsBuildIcon? Type8248 { get; set; } + public global::System.Collections.Generic.IList? Type8248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8249 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesGetInstanceIncludeItem? Type8249 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsCiProduct? Type8250 { get; set; } + public global::System.Collections.Generic.IList? Type8250 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8251 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement? Type8251 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsBetaGroup? Type8252 { get; set; } + public global::System.Collections.Generic.IList? Type8252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8253 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem? Type8253 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsAppStoreVersion? Type8254 { get; set; } + public global::System.Collections.Generic.IList? Type8254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8255 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest? Type8255 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsPreReleaseVersion? Type8256 { get; set; } + public global::System.Collections.Generic.IList? Type8256 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8257 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement? Type8257 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsBetaAppLocalization? Type8258 { get; set; } + public global::System.Collections.Generic.IList? Type8258 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8259 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage? Type8259 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsBuild? Type8260 { get; set; } + public global::System.Collections.Generic.IList? Type8260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8261 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo? Type8261 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsBetaLicenseAgreement? Type8262 { get; set; } + public global::System.Collections.Generic.IList? Type8262 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8263 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization? Type8263 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsBetaAppReviewDetail? Type8264 { get; set; } + public global::System.Collections.Generic.IList? Type8264 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8265 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization? Type8265 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsAppInfo? Type8266 { get; set; } + public global::System.Collections.Generic.IList? Type8266 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8267 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization? Type8267 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsAppClip? Type8268 { get; set; } + public global::System.Collections.Generic.IList? Type8268 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8269 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Type8269 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsEndUserLicenseAgreement? Type8270 { get; set; } + public global::System.Collections.Generic.IList? Type8270 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8271 { get; set; } + public global::AppStoreConnect.AppAssetLibraryPlacementsGetInstanceIncludeItem? Type8271 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsInAppPurchase? Type8272 { get; set; } + public global::System.Collections.Generic.IList? Type8272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8273 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem? Type8273 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsSubscriptionGroup? Type8274 { get; set; } + public global::System.Collections.Generic.IList? Type8274 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8275 { get; set; } + public global::AppStoreConnect.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem? Type8275 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsGameCenterEnabledVersion? Type8276 { get; set; } + public global::System.Collections.Generic.IList? Type8276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8277 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo? Type8277 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsAppCustomProductPage? Type8278 { get; set; } + public global::System.Collections.Generic.IList? Type8278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8279 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement? Type8279 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsPromotedPurchase? Type8280 { get; set; } + public global::System.Collections.Generic.IList? Type8280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8281 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosGetInstanceIncludeItem? Type8281 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsAppEvent? Type8282 { get; set; } + public global::System.Collections.Generic.IList? Type8282 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8283 { get; set; } + public global::AppStoreConnect.AppAvailabilitiesV2GetInstanceFieldsAppAvailabilitie? Type8283 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsReviewSubmission? Type8284 { get; set; } + public global::System.Collections.Generic.IList? Type8284 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8285 { get; set; } + public global::AppStoreConnect.AppAvailabilitiesV2GetInstanceFieldsTerritoryAvailabilitie? Type8285 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsSubscriptionGracePeriod? Type8286 { get; set; } + public global::System.Collections.Generic.IList? Type8286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8287 { get; set; } + public global::AppStoreConnect.AppAvailabilitiesV2GetInstanceIncludeItem? Type8287 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsGameCenterDetail? Type8288 { get; set; } + public global::System.Collections.Generic.IList? Type8288 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8289 { get; set; } + public global::AppStoreConnect.AppCategoriesGetCollectionFilterPlatform? Type8289 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsAppStoreVersionExperiment? Type8290 { get; set; } + public global::System.Collections.Generic.IList? Type8290 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8291 { get; set; } + public global::AppStoreConnect.AppCategoriesGetCollectionFieldsAppCategorie? Type8291 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionFieldsAndroidToIosAppMappingDetail? Type8292 { get; set; } + public global::System.Collections.Generic.IList? Type8292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8293 { get; set; } + public global::AppStoreConnect.AppCategoriesGetCollectionIncludeItem? Type8293 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetCollectionIncludeItem? Type8294 { get; set; } + public global::System.Collections.Generic.IList? Type8294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8295 { get; set; } + public global::AppStoreConnect.AppCategoriesGetInstanceFieldsAppCategorie? Type8295 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsApp? Type8296 { get; set; } + public global::System.Collections.Generic.IList? Type8296 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8297 { get; set; } + public global::AppStoreConnect.AppCategoriesGetInstanceIncludeItem? Type8297 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsAppEncryptionDeclaration? Type8298 { get; set; } + public global::System.Collections.Generic.IList? Type8298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8299 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperienceImagesGetInstanceFieldsAppClipAdvancedExperienceImage? Type8299 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsBuildIcon? Type8300 { get; set; } + public global::System.Collections.Generic.IList? Type8300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8301 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceFieldsAppClipAdvancedExperience? Type8301 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsCiProduct? Type8302 { get; set; } + public global::System.Collections.Generic.IList? Type8302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8303 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceFieldsAppClip? Type8303 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsBetaGroup? Type8304 { get; set; } + public global::System.Collections.Generic.IList? Type8304 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8305 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceFieldsAppClipAdvancedExperienceImage? Type8305 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsAppStoreVersion? Type8306 { get; set; } + public global::System.Collections.Generic.IList? Type8306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8307 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceFieldsAppClipAdvancedExperienceLocalization? Type8307 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsPreReleaseVersion? Type8308 { get; set; } + public global::System.Collections.Generic.IList? Type8308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8309 { get; set; } + public global::AppStoreConnect.AppClipAdvancedExperiencesGetInstanceIncludeItem? Type8309 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsBetaAppLocalization? Type8310 { get; set; } + public global::System.Collections.Generic.IList? Type8310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8311 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailsGetInstanceFieldsAppClipAppStoreReviewDetail? Type8311 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsBuild? Type8312 { get; set; } + public global::System.Collections.Generic.IList? Type8312 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8313 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailsGetInstanceFieldsAppClipDefaultExperience? Type8313 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsBetaLicenseAgreement? Type8314 { get; set; } + public global::System.Collections.Generic.IList? Type8314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8315 { get; set; } + public global::AppStoreConnect.AppClipAppStoreReviewDetailsGetInstanceIncludeItem? Type8315 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsBetaAppReviewDetail? Type8316 { get; set; } + public global::System.Collections.Generic.IList? Type8316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8317 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsGetInstanceFieldsAppClipDefaultExperienceLocalization? Type8317 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsAppInfo? Type8318 { get; set; } + public global::System.Collections.Generic.IList? Type8318 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8319 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsGetInstanceFieldsAppClipDefaultExperience? Type8319 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsAppClip? Type8320 { get; set; } + public global::System.Collections.Generic.IList? Type8320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8321 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsGetInstanceFieldsAppClipHeaderImage? Type8321 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsEndUserLicenseAgreement? Type8322 { get; set; } + public global::System.Collections.Generic.IList? Type8322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8323 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsGetInstanceIncludeItem? Type8323 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsInAppPurchase? Type8324 { get; set; } + public global::System.Collections.Generic.IList? Type8324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8325 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppClipDefaultExperience? Type8325 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsSubscriptionGroup? Type8326 { get; set; } + public global::System.Collections.Generic.IList? Type8326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8327 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppClip? Type8327 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsGameCenterEnabledVersion? Type8328 { get; set; } + public global::System.Collections.Generic.IList? Type8328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8329 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppStoreVersion? Type8329 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsAppCustomProductPage? Type8330 { get; set; } + public global::System.Collections.Generic.IList? Type8330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8331 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppClipDefaultExperienceLocalization? Type8331 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsPromotedPurchase? Type8332 { get; set; } + public global::System.Collections.Generic.IList? Type8332 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8333 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceFieldsAppClipAppStoreReviewDetail? Type8333 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsAppEvent? Type8334 { get; set; } + public global::System.Collections.Generic.IList? Type8334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8335 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesGetInstanceIncludeItem? Type8335 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsReviewSubmission? Type8336 { get; set; } + public global::System.Collections.Generic.IList? Type8336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8337 { get; set; } + public global::AppStoreConnect.AppClipHeaderImagesGetInstanceFieldsAppClipHeaderImage? Type8337 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsSubscriptionGracePeriod? Type8338 { get; set; } + public global::System.Collections.Generic.IList? Type8338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8339 { get; set; } + public global::AppStoreConnect.AppClipHeaderImagesGetInstanceFieldsAppClipDefaultExperienceLocalization? Type8339 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsGameCenterDetail? Type8340 { get; set; } + public global::System.Collections.Generic.IList? Type8340 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8341 { get; set; } + public global::AppStoreConnect.AppClipHeaderImagesGetInstanceIncludeItem? Type8341 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsAppStoreVersionExperiment? Type8342 { get; set; } + public global::System.Collections.Generic.IList? Type8342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8343 { get; set; } + public global::AppStoreConnect.AppClipsGetInstanceFieldsAppClip? Type8343 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceFieldsAndroidToIosAppMappingDetail? Type8344 { get; set; } + public global::System.Collections.Generic.IList? Type8344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8345 { get; set; } + public global::AppStoreConnect.AppClipsGetInstanceFieldsApp? Type8345 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGetInstanceIncludeItem? Type8346 { get; set; } + public global::System.Collections.Generic.IList? Type8346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8347 { get; set; } + public global::AppStoreConnect.AppClipsGetInstanceFieldsAppClipDefaultExperience? Type8347 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFilesGetInstanceFieldsBackgroundAssetUploadFile? Type8348 { get; set; } + public global::System.Collections.Generic.IList? Type8348 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8349 { get; set; } + public global::AppStoreConnect.AppClipsGetInstanceIncludeItem? Type8349 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleasesGetInstanceFieldsBackgroundAssetVersionAppStoreRelease? Type8350 { get; set; } + public global::System.Collections.Generic.IList? Type8350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8351 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization? Type8351 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleasesGetInstanceFieldsBackgroundAssetVersion? Type8352 { get; set; } + public global::System.Collections.Generic.IList? Type8352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8353 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageVersion? Type8353 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleasesGetInstanceIncludeItem? Type8354 { get; set; } + public global::System.Collections.Generic.IList? Type8354 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8355 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppScreenshotSet? Type8355 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleasesGetInstanceFieldsBackgroundAssetVersionExternalBetaRelease? Type8356 { get; set; } + public global::System.Collections.Generic.IList? Type8356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8357 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppPreviewSet? Type8357 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleasesGetInstanceFieldsBackgroundAssetVersion? Type8358 { get; set; } + public global::System.Collections.Generic.IList? Type8358 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8359 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? Type8359 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleasesGetInstanceIncludeItem? Type8360 { get; set; } + public global::System.Collections.Generic.IList? Type8360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8361 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsGetInstanceIncludeItem? Type8361 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleasesGetInstanceFieldsBackgroundAssetVersionInternalBetaRelease? Type8362 { get; set; } + public global::System.Collections.Generic.IList? Type8362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8363 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageVersion? Type8363 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleasesGetInstanceFieldsBackgroundAssetVersion? Type8364 { get; set; } + public global::System.Collections.Generic.IList? Type8364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8365 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPage? Type8365 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleasesGetInstanceIncludeItem? Type8366 { get; set; } + public global::System.Collections.Generic.IList? Type8366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8367 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization? Type8367 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetVersion? Type8368 { get; set; } + public global::System.Collections.Generic.IList? Type8368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8369 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsGetInstanceIncludeItem? Type8369 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAsset? Type8370 { get; set; } + public global::System.Collections.Generic.IList? Type8370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8371 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesGetInstanceFieldsAppCustomProductPage? Type8371 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetVersionInternalBetaRelease? Type8372 { get; set; } + public global::System.Collections.Generic.IList? Type8372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8373 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesGetInstanceFieldsApp? Type8373 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetVersionExternalBetaRelease? Type8374 { get; set; } + public global::System.Collections.Generic.IList? Type8374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8375 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesGetInstanceFieldsAppCustomProductPageVersion? Type8375 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetVersionAppStoreRelease? Type8376 { get; set; } + public global::System.Collections.Generic.IList? Type8376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8377 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesGetInstanceIncludeItem? Type8377 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetUploadFile? Type8378 { get; set; } + public global::System.Collections.Generic.IList? Type8378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8379 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationDocumentsGetInstanceFieldsAppEncryptionDeclarationDocument? Type8379 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceIncludeItem? Type8380 { get; set; } + public global::System.Collections.Generic.IList? Type8380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8381 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFilterPlatformItem? Type8381 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsGetInstanceFieldsBackgroundAsset? Type8382 { get; set; } + public global::System.Collections.Generic.IList? Type8382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8383 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFieldsAppEncryptionDeclaration? Type8383 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsGetInstanceFieldsApp? Type8384 { get; set; } + public global::System.Collections.Generic.IList? Type8384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8385 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFieldsApp? Type8385 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsGetInstanceFieldsBackgroundAssetVersion? Type8386 { get; set; } + public global::System.Collections.Generic.IList? Type8386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8387 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFieldsBuild? Type8387 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsGetInstanceIncludeItem? Type8388 { get; set; } + public global::System.Collections.Generic.IList? Type8388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8389 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionFieldsAppEncryptionDeclarationDocument? Type8389 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationsGetInstanceFieldsBetaAppClipInvocation? Type8390 { get; set; } + public global::System.Collections.Generic.IList? Type8390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8391 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetCollectionIncludeItem? Type8391 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationsGetInstanceFieldsBetaAppClipInvocationLocalization? Type8392 { get; set; } + public global::System.Collections.Generic.IList? Type8392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8393 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceFieldsAppEncryptionDeclaration? Type8393 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppClipInvocationsGetInstanceIncludeItem? Type8394 { get; set; } + public global::System.Collections.Generic.IList? Type8394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8395 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceFieldsApp? Type8395 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationsGetCollectionFieldsBetaAppLocalization? Type8396 { get; set; } + public global::System.Collections.Generic.IList? Type8396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8397 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceFieldsBuild? Type8397 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationsGetCollectionFieldsApp? Type8398 { get; set; } + public global::System.Collections.Generic.IList? Type8398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8399 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceFieldsAppEncryptionDeclarationDocument? Type8399 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationsGetCollectionIncludeItem? Type8400 { get; set; } + public global::System.Collections.Generic.IList? Type8400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8401 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsGetInstanceIncludeItem? Type8401 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationsGetInstanceFieldsBetaAppLocalization? Type8402 { get; set; } + public global::System.Collections.Generic.IList? Type8402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8403 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventLocalization? Type8403 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationsGetInstanceFieldsApp? Type8404 { get; set; } + public global::System.Collections.Generic.IList? Type8404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8405 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEvent? Type8405 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationsGetInstanceIncludeItem? Type8406 { get; set; } + public global::System.Collections.Generic.IList? Type8406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8407 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventScreenshot? Type8407 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailsGetCollectionFieldsBetaAppReviewDetail? Type8408 { get; set; } + public global::System.Collections.Generic.IList? Type8408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8409 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppEventVideoClip? Type8409 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailsGetCollectionFieldsApp? Type8410 { get; set; } + public global::System.Collections.Generic.IList? Type8410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8411 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? Type8411 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailsGetCollectionIncludeItem? Type8412 { get; set; } + public global::System.Collections.Generic.IList? Type8412 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8413 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsGetInstanceIncludeItem? Type8413 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailsGetInstanceFieldsBetaAppReviewDetail? Type8414 { get; set; } + public global::System.Collections.Generic.IList? Type8414 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8415 { get; set; } + public global::AppStoreConnect.AppEventScreenshotsGetInstanceFieldsAppEventScreenshot? Type8415 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailsGetInstanceFieldsApp? Type8416 { get; set; } + public global::System.Collections.Generic.IList? Type8416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8417 { get; set; } + public global::AppStoreConnect.AppEventScreenshotsGetInstanceFieldsAppEventLocalization? Type8417 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailsGetInstanceIncludeItem? Type8418 { get; set; } + public global::System.Collections.Generic.IList? Type8418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8419 { get; set; } + public global::AppStoreConnect.AppEventScreenshotsGetInstanceIncludeItem? Type8419 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionsGetCollectionFilterBetaReviewStateItem? Type8420 { get; set; } + public global::System.Collections.Generic.IList? Type8420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8421 { get; set; } + public global::AppStoreConnect.AppEventVideoClipsGetInstanceFieldsAppEventVideoClip? Type8421 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionsGetCollectionFieldsBetaAppReviewSubmission? Type8422 { get; set; } + public global::System.Collections.Generic.IList? Type8422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8423 { get; set; } + public global::AppStoreConnect.AppEventVideoClipsGetInstanceFieldsAppEventLocalization? Type8423 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionsGetCollectionFieldsBuild? Type8424 { get; set; } + public global::System.Collections.Generic.IList? Type8424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8425 { get; set; } + public global::AppStoreConnect.AppEventVideoClipsGetInstanceIncludeItem? Type8425 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionsGetCollectionIncludeItem? Type8426 { get; set; } + public global::System.Collections.Generic.IList? Type8426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8427 { get; set; } + public global::AppStoreConnect.AppEventsGetInstanceFieldsAppEvent? Type8427 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionsGetInstanceFieldsBetaAppReviewSubmission? Type8428 { get; set; } + public global::System.Collections.Generic.IList? Type8428 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8429 { get; set; } + public global::AppStoreConnect.AppEventsGetInstanceFieldsAppEventLocalization? Type8429 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionsGetInstanceFieldsBuild? Type8430 { get; set; } + public global::System.Collections.Generic.IList? Type8430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8431 { get; set; } + public global::AppStoreConnect.AppEventsGetInstanceIncludeItem? Type8431 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionsGetInstanceIncludeItem? Type8432 { get; set; } + public global::System.Collections.Generic.IList? Type8432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8433 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationsGetInstanceFieldsAppInfoLocalization? Type8433 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationsGetCollectionFieldsBetaBuildLocalization? Type8434 { get; set; } + public global::System.Collections.Generic.IList? Type8434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8435 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationsGetInstanceFieldsAppInfo? Type8435 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationsGetCollectionFieldsBuild? Type8436 { get; set; } + public global::System.Collections.Generic.IList? Type8436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8437 { get; set; } + public global::AppStoreConnect.AppInfoLocalizationsGetInstanceIncludeItem? Type8437 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationsGetCollectionIncludeItem? Type8438 { get; set; } + public global::System.Collections.Generic.IList? Type8438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8439 { get; set; } + public global::AppStoreConnect.AppInfosGetInstanceFieldsAppInfo? Type8439 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationsGetInstanceFieldsBetaBuildLocalization? Type8440 { get; set; } + public global::System.Collections.Generic.IList? Type8440 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8441 { get; set; } + public global::AppStoreConnect.AppInfosGetInstanceFieldsApp? Type8441 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationsGetInstanceFieldsBuild? Type8442 { get; set; } + public global::System.Collections.Generic.IList? Type8442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8443 { get; set; } + public global::AppStoreConnect.AppInfosGetInstanceFieldsAgeRatingDeclaration? Type8443 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationsGetInstanceIncludeItem? Type8444 { get; set; } + public global::System.Collections.Generic.IList? Type8444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8445 { get; set; } + public global::AppStoreConnect.AppInfosGetInstanceFieldsAppInfoLocalization? Type8445 { get; set; } /// /// /// - public global::AppStoreConnect.BetaCrashLogsGetInstanceFieldsBetaCrashLog? Type8446 { get; set; } + public global::System.Collections.Generic.IList? Type8446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8447 { get; set; } + public global::AppStoreConnect.AppInfosGetInstanceFieldsAppCategorie? Type8447 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionsGetInstanceFieldsBetaFeedbackCrashSubmission? Type8448 { get; set; } + public global::System.Collections.Generic.IList? Type8448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8449 { get; set; } + public global::AppStoreConnect.AppInfosGetInstanceIncludeItem? Type8449 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionsGetInstanceFieldsBuild? Type8450 { get; set; } + public global::System.Collections.Generic.IList? Type8450 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8451 { get; set; } + public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppPreviewSet? Type8451 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionsGetInstanceFieldsBetaTester? Type8452 { get; set; } + public global::System.Collections.Generic.IList? Type8452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8453 { get; set; } + public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization? Type8453 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionsGetInstanceIncludeItem? Type8454 { get; set; } + public global::System.Collections.Generic.IList? Type8454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8455 { get; set; } + public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization? Type8455 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsGetInstanceFieldsBetaFeedbackScreenshotSubmission? Type8456 { get; set; } + public global::System.Collections.Generic.IList? Type8456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8457 { get; set; } + public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Type8457 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsGetInstanceFieldsBuild? Type8458 { get; set; } + public global::System.Collections.Generic.IList? Type8458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8459 { get; set; } + public global::AppStoreConnect.AppPreviewSetsGetInstanceFieldsAppPreview? Type8459 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsGetInstanceFieldsBetaTester? Type8460 { get; set; } + public global::System.Collections.Generic.IList? Type8460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8461 { get; set; } + public global::AppStoreConnect.AppPreviewSetsGetInstanceIncludeItem? Type8461 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsGetInstanceIncludeItem? Type8462 { get; set; } + public global::System.Collections.Generic.IList? Type8462 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8463 { get; set; } + public global::AppStoreConnect.AppPreviewsGetInstanceFieldsAppPreview? Type8463 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetCollectionSortItem? Type8464 { get; set; } + public global::System.Collections.Generic.IList? Type8464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8465 { get; set; } + public global::AppStoreConnect.AppPreviewsGetInstanceFieldsAppPreviewSet? Type8465 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetCollectionFieldsBetaGroup? Type8466 { get; set; } + public global::System.Collections.Generic.IList? Type8466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8467 { get; set; } + public global::AppStoreConnect.AppPreviewsGetInstanceIncludeItem? Type8467 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetCollectionFieldsApp? Type8468 { get; set; } + public global::System.Collections.Generic.IList? Type8468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8469 { get; set; } + public global::AppStoreConnect.AppPricePointsV3GetInstanceFieldsAppPricePoint? Type8469 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetCollectionFieldsBuild? Type8470 { get; set; } + public global::System.Collections.Generic.IList? Type8470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8471 { get; set; } + public global::AppStoreConnect.AppPricePointsV3GetInstanceFieldsApp? Type8471 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetCollectionFieldsBetaTester? Type8472 { get; set; } + public global::System.Collections.Generic.IList? Type8472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8473 { get; set; } + public global::AppStoreConnect.AppPricePointsV3GetInstanceFieldsTerritorie? Type8473 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetCollectionFieldsBetaRecruitmentCriteriaItem? Type8474 { get; set; } + public global::System.Collections.Generic.IList? Type8474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8475 { get; set; } + public global::AppStoreConnect.AppPricePointsV3GetInstanceIncludeItem? Type8475 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetCollectionIncludeItem? Type8476 { get; set; } + public global::System.Collections.Generic.IList? Type8476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8477 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesGetInstanceFieldsAppPriceSchedule? Type8477 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetInstanceFieldsBetaGroup? Type8478 { get; set; } + public global::System.Collections.Generic.IList? Type8478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8479 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesGetInstanceFieldsApp? Type8479 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetInstanceFieldsApp? Type8480 { get; set; } + public global::System.Collections.Generic.IList? Type8480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8481 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesGetInstanceFieldsTerritorie? Type8481 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetInstanceFieldsBuild? Type8482 { get; set; } + public global::System.Collections.Generic.IList? Type8482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8483 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesGetInstanceFieldsAppPrice? Type8483 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetInstanceFieldsBetaTester? Type8484 { get; set; } + public global::System.Collections.Generic.IList? Type8484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8485 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesGetInstanceIncludeItem? Type8485 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetInstanceFieldsBetaRecruitmentCriteriaItem? Type8486 { get; set; } + public global::System.Collections.Generic.IList? Type8486 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8487 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppScreenshotSet? Type8487 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsGetInstanceIncludeItem? Type8488 { get; set; } + public global::System.Collections.Generic.IList? Type8488 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8489 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization? Type8489 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementsGetCollectionFieldsBetaLicenseAgreement? Type8490 { get; set; } + public global::System.Collections.Generic.IList? Type8490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8491 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization? Type8491 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementsGetCollectionFieldsApp? Type8492 { get; set; } + public global::System.Collections.Generic.IList? Type8492 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8493 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Type8493 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementsGetCollectionIncludeItem? Type8494 { get; set; } + public global::System.Collections.Generic.IList? Type8494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8495 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsGetInstanceFieldsAppScreenshot? Type8495 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementsGetInstanceFieldsBetaLicenseAgreement? Type8496 { get; set; } + public global::System.Collections.Generic.IList? Type8496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8497 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsGetInstanceIncludeItem? Type8497 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementsGetInstanceFieldsApp? Type8498 { get; set; } + public global::System.Collections.Generic.IList? Type8498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8499 { get; set; } + public global::AppStoreConnect.AppScreenshotsGetInstanceFieldsAppScreenshot? Type8499 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementsGetInstanceIncludeItem? Type8500 { get; set; } + public global::System.Collections.Generic.IList? Type8500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8501 { get; set; } + public global::AppStoreConnect.AppScreenshotsGetInstanceFieldsAppScreenshotSet? Type8501 { get; set; } /// /// /// - public global::AppStoreConnect.BetaRecruitmentCriterionOptionsGetCollectionFieldsBetaRecruitmentCriterionOption? Type8502 { get; set; } + public global::System.Collections.Generic.IList? Type8502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8503 { get; set; } + public global::AppStoreConnect.AppScreenshotsGetInstanceIncludeItem? Type8503 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetCollectionFilterInviteTypeItem? Type8504 { get; set; } + public global::System.Collections.Generic.IList? Type8504 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8505 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentsGetInstanceFieldsAppStoreReviewAttachment? Type8505 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetCollectionSortItem? Type8506 { get; set; } + public global::System.Collections.Generic.IList? Type8506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8507 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentsGetInstanceFieldsAppStoreReviewDetail? Type8507 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetCollectionFieldsBetaTester? Type8508 { get; set; } + public global::System.Collections.Generic.IList? Type8508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8509 { get; set; } + public global::AppStoreConnect.AppStoreReviewAttachmentsGetInstanceIncludeItem? Type8509 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetCollectionFieldsApp? Type8510 { get; set; } + public global::System.Collections.Generic.IList? Type8510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8511 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailsGetInstanceFieldsAppStoreReviewDetail? Type8511 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetCollectionFieldsBetaGroup? Type8512 { get; set; } + public global::System.Collections.Generic.IList? Type8512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8513 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailsGetInstanceFieldsAppStoreVersion? Type8513 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetCollectionFieldsBuild? Type8514 { get; set; } + public global::System.Collections.Generic.IList? Type8514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8515 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailsGetInstanceFieldsAppStoreReviewAttachment? Type8515 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetCollectionIncludeItem? Type8516 { get; set; } + public global::System.Collections.Generic.IList? Type8516 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8517 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailsGetInstanceIncludeItem? Type8517 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetInstanceFieldsBetaTester? Type8518 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Type8518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8519 { get; set; } + public global::System.Collections.Generic.IList? Type8519 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetInstanceFieldsApp? Type8520 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatment? Type8520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8521 { get; set; } + public global::System.Collections.Generic.IList? Type8521 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetInstanceFieldsBetaGroup? Type8522 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppScreenshotSet? Type8522 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8523 { get; set; } + public global::System.Collections.Generic.IList? Type8523 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetInstanceFieldsBuild? Type8524 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppPreviewSet? Type8524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8525 { get; set; } + public global::System.Collections.Generic.IList? Type8525 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersGetInstanceIncludeItem? Type8526 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? Type8526 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8527 { get; set; } + public global::System.Collections.Generic.IList? Type8527 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsGetCollectionFieldsBuildBetaDetail? Type8528 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem? Type8528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8529 { get; set; } + public global::System.Collections.Generic.IList? Type8529 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsGetCollectionFieldsBuild? Type8530 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatment? Type8530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8531 { get; set; } + public global::System.Collections.Generic.IList? Type8531 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsGetCollectionIncludeItem? Type8532 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperiment? Type8532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8533 { get; set; } + public global::System.Collections.Generic.IList? Type8533 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsGetInstanceFieldsBuildBetaDetail? Type8534 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? Type8534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8535 { get; set; } + public global::System.Collections.Generic.IList? Type8535 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsGetInstanceFieldsBuild? Type8536 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsGetInstanceIncludeItem? Type8536 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8537 { get; set; } + public global::System.Collections.Generic.IList? Type8537 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsGetInstanceIncludeItem? Type8538 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceFieldsAppStoreVersionExperiment? Type8538 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8539 { get; set; } + public global::System.Collections.Generic.IList? Type8539 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadFilesGetInstanceFieldsBuildUploadFile? Type8540 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceFieldsApp? Type8540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8541 { get; set; } + public global::System.Collections.Generic.IList? Type8541 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadsGetInstanceFieldsBuildUpload? Type8542 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceFieldsAppStoreVersion? Type8542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8543 { get; set; } + public global::System.Collections.Generic.IList? Type8543 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadsGetInstanceFieldsBuild? Type8544 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceFieldsAppStoreVersionExperimentTreatment? Type8544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8545 { get; set; } + public global::System.Collections.Generic.IList? Type8545 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadsGetInstanceFieldsBuildUploadFile? Type8546 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2GetInstanceIncludeItem? Type8546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8547 { get; set; } + public global::System.Collections.Generic.IList? Type8547 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadsGetInstanceIncludeItem? Type8548 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsGetInstanceFieldsAppStoreVersionExperiment? Type8548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8549 { get; set; } + public global::System.Collections.Generic.IList? Type8549 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFilterProcessingStateItem? Type8550 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsGetInstanceFieldsAppStoreVersion? Type8550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8551 { get; set; } + public global::System.Collections.Generic.IList? Type8551 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFilterBetaAppReviewSubmissionBetaReviewStateItem? Type8552 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsGetInstanceFieldsAppStoreVersionExperimentTreatment? Type8552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8553 { get; set; } + public global::System.Collections.Generic.IList? Type8553 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFilterPreReleaseVersionPlatformItem? Type8554 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsGetInstanceIncludeItem? Type8554 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8555 { get; set; } + public global::System.Collections.Generic.IList? Type8555 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFilterBuildAudienceTypeItem? Type8556 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization? Type8556 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8557 { get; set; } + public global::System.Collections.Generic.IList? Type8557 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionSortItem? Type8558 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersion? Type8558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8559 { get; set; } + public global::System.Collections.Generic.IList? Type8559 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsBuild? Type8560 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppScreenshotSet? Type8560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8561 { get; set; } + public global::System.Collections.Generic.IList? Type8561 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsPreReleaseVersion? Type8562 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppPreviewSet? Type8562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8563 { get; set; } + public global::System.Collections.Generic.IList? Type8563 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsBetaTester? Type8564 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? Type8564 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8565 { get; set; } + public global::System.Collections.Generic.IList? Type8565 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsBetaGroup? Type8566 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsGetInstanceIncludeItem? Type8566 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8567 { get; set; } + public global::System.Collections.Generic.IList? Type8567 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsBetaBuildLocalization? Type8568 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersion? Type8568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8569 { get; set; } + public global::System.Collections.Generic.IList? Type8569 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsAppEncryptionDeclaration? Type8570 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsApp? Type8570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8571 { get; set; } + public global::System.Collections.Generic.IList? Type8571 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsBetaAppReviewSubmission? Type8572 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization? Type8572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8573 { get; set; } + public global::System.Collections.Generic.IList? Type8573 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsApp? Type8574 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsBuild? Type8574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8575 { get; set; } + public global::System.Collections.Generic.IList? Type8575 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsBuildBetaDetail? Type8576 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersionPhasedRelease? Type8576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8577 { get; set; } + public global::System.Collections.Generic.IList? Type8577 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsAppStoreVersion? Type8578 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsGameCenterAppVersion? Type8578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8579 { get; set; } + public global::System.Collections.Generic.IList? Type8579 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsBuildIcon? Type8580 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsRoutingAppCoverage? Type8580 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8581 { get; set; } + public global::System.Collections.Generic.IList? Type8581 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsBuildBundle? Type8582 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreReviewDetail? Type8582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8583 { get; set; } + public global::System.Collections.Generic.IList? Type8583 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionFieldsBuildUpload? Type8584 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersionSubmission? Type8584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8585 { get; set; } + public global::System.Collections.Generic.IList? Type8585 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetCollectionIncludeItem? Type8586 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppClipDefaultExperience? Type8586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8587 { get; set; } + public global::System.Collections.Generic.IList? Type8587 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsBuild? Type8588 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAppStoreVersionExperiment? Type8588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8589 { get; set; } + public global::System.Collections.Generic.IList? Type8589 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsPreReleaseVersion? Type8590 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceFieldsAlternativeDistributionPackage? Type8590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8591 { get; set; } + public global::System.Collections.Generic.IList? Type8591 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsBetaTester? Type8592 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGetInstanceIncludeItem? Type8592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8593 { get; set; } + public global::System.Collections.Generic.IList? Type8593 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsBetaGroup? Type8594 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFilterAppStoreVersionsAppStoreStateItem? Type8594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8595 { get; set; } + public global::System.Collections.Generic.IList? Type8595 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsBetaBuildLocalization? Type8596 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFilterAppStoreVersionsPlatformItem? Type8596 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8597 { get; set; } + public global::System.Collections.Generic.IList? Type8597 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsAppEncryptionDeclaration? Type8598 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFilterAppStoreVersionsAppVersionStateItem? Type8598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8599 { get; set; } + public global::System.Collections.Generic.IList? Type8599 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsBetaAppReviewSubmission? Type8600 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFilterReviewSubmissionsStateItem? Type8600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8601 { get; set; } + public global::System.Collections.Generic.IList? Type8601 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsApp? Type8602 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFilterReviewSubmissionsPlatformItem? Type8602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8603 { get; set; } + public global::System.Collections.Generic.IList? Type8603 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsBuildBetaDetail? Type8604 { get; set; } + public global::AppStoreConnect.AppsGetCollectionSortItem? Type8604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8605 { get; set; } + public global::System.Collections.Generic.IList? Type8605 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsAppStoreVersion? Type8606 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsApp? Type8606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8607 { get; set; } + public global::System.Collections.Generic.IList? Type8607 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsBuildIcon? Type8608 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsAppEncryptionDeclaration? Type8608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8609 { get; set; } + public global::System.Collections.Generic.IList? Type8609 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsBuildBundle? Type8610 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsBuildIcon? Type8610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8611 { get; set; } + public global::System.Collections.Generic.IList? Type8611 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceFieldsBuildUpload? Type8612 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsCiProduct? Type8612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8613 { get; set; } + public global::System.Collections.Generic.IList? Type8613 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsGetInstanceIncludeItem? Type8614 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsBetaGroup? Type8614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8615 { get; set; } + public global::System.Collections.Generic.IList? Type8615 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetCollectionFilterPlatformItem? Type8616 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsAppStoreVersion? Type8616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8617 { get; set; } + public global::System.Collections.Generic.IList? Type8617 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetCollectionSortItem? Type8618 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsPreReleaseVersion? Type8618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8619 { get; set; } + public global::System.Collections.Generic.IList? Type8619 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetCollectionFieldsBundleId? Type8620 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsBetaAppLocalization? Type8620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8621 { get; set; } + public global::System.Collections.Generic.IList? Type8621 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetCollectionFieldsProfile? Type8622 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsBuild? Type8622 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8623 { get; set; } + public global::System.Collections.Generic.IList? Type8623 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetCollectionFieldsBundleIdCapabilitie? Type8624 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsBetaLicenseAgreement? Type8624 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8625 { get; set; } + public global::System.Collections.Generic.IList? Type8625 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetCollectionFieldsApp? Type8626 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsBetaAppReviewDetail? Type8626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8627 { get; set; } + public global::System.Collections.Generic.IList? Type8627 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetCollectionIncludeItem? Type8628 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsAppInfo? Type8628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8629 { get; set; } + public global::System.Collections.Generic.IList? Type8629 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetInstanceFieldsBundleId? Type8630 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsAppClip? Type8630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8631 { get; set; } + public global::System.Collections.Generic.IList? Type8631 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetInstanceFieldsProfile? Type8632 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsEndUserLicenseAgreement? Type8632 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8633 { get; set; } + public global::System.Collections.Generic.IList? Type8633 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetInstanceFieldsBundleIdCapabilitie? Type8634 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsInAppPurchase? Type8634 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8635 { get; set; } + public global::System.Collections.Generic.IList? Type8635 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetInstanceFieldsApp? Type8636 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsSubscriptionGroup? Type8636 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8637 { get; set; } + public global::System.Collections.Generic.IList? Type8637 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsGetInstanceIncludeItem? Type8638 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsGameCenterEnabledVersion? Type8638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8639 { get; set; } + public global::System.Collections.Generic.IList? Type8639 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesGetCollectionFilterCertificateTypeItem? Type8640 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsAppCustomProductPage? Type8640 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8641 { get; set; } + public global::System.Collections.Generic.IList? Type8641 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesGetCollectionSortItem? Type8642 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsPromotedPurchase? Type8642 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8643 { get; set; } + public global::System.Collections.Generic.IList? Type8643 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesGetCollectionFieldsCertificate? Type8644 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsAppEvent? Type8644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8645 { get; set; } + public global::System.Collections.Generic.IList? Type8645 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesGetCollectionFieldsPassTypeId? Type8646 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsReviewSubmission? Type8646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8647 { get; set; } + public global::System.Collections.Generic.IList? Type8647 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesGetCollectionIncludeItem? Type8648 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsSubscriptionGracePeriod? Type8648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8649 { get; set; } + public global::System.Collections.Generic.IList? Type8649 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesGetInstanceFieldsCertificate? Type8650 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsGameCenterDetail? Type8650 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8651 { get; set; } + public global::System.Collections.Generic.IList? Type8651 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesGetInstanceFieldsPassTypeId? Type8652 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsAppStoreVersionExperiment? Type8652 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8653 { get; set; } + public global::System.Collections.Generic.IList? Type8653 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesGetInstanceIncludeItem? Type8654 { get; set; } + public global::AppStoreConnect.AppsGetCollectionFieldsAndroidToIosAppMappingDetail? Type8654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8655 { get; set; } + public global::System.Collections.Generic.IList? Type8655 { get; set; } /// /// /// - public global::AppStoreConnect.CiArtifactsGetInstanceFieldsCiArtifact? Type8656 { get; set; } + public global::AppStoreConnect.AppsGetCollectionIncludeItem? Type8656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8657 { get; set; } + public global::System.Collections.Generic.IList? Type8657 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsGetInstanceFieldsCiBuildAction? Type8658 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsApp? Type8658 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8659 { get; set; } + public global::System.Collections.Generic.IList? Type8659 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsGetInstanceFieldsCiBuildRun? Type8660 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsAppEncryptionDeclaration? Type8660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8661 { get; set; } + public global::System.Collections.Generic.IList? Type8661 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsGetInstanceIncludeItem? Type8662 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsBuildIcon? Type8662 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8663 { get; set; } + public global::System.Collections.Generic.IList? Type8663 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsCiBuildRun? Type8664 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsCiProduct? Type8664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8665 { get; set; } + public global::System.Collections.Generic.IList? Type8665 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsBuild? Type8666 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsBetaGroup? Type8666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8667 { get; set; } + public global::System.Collections.Generic.IList? Type8667 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsCiWorkflow? Type8668 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsAppStoreVersion? Type8668 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8669 { get; set; } + public global::System.Collections.Generic.IList? Type8669 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsCiProduct? Type8670 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsPreReleaseVersion? Type8670 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8671 { get; set; } + public global::System.Collections.Generic.IList? Type8671 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsScmGitReference? Type8672 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsBetaAppLocalization? Type8672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8673 { get; set; } + public global::System.Collections.Generic.IList? Type8673 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsScmPullRequest? Type8674 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsBuild? Type8674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8675 { get; set; } + public global::System.Collections.Generic.IList? Type8675 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsGetInstanceIncludeItem? Type8676 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsBetaLicenseAgreement? Type8676 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8677 { get; set; } + public global::System.Collections.Generic.IList? Type8677 { get; set; } /// /// /// - public global::AppStoreConnect.CiIssuesGetInstanceFieldsCiIssue? Type8678 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsBetaAppReviewDetail? Type8678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8679 { get; set; } + public global::System.Collections.Generic.IList? Type8679 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsGetCollectionFieldsCiMacOsVersion? Type8680 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsAppInfo? Type8680 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8681 { get; set; } + public global::System.Collections.Generic.IList? Type8681 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsGetCollectionFieldsCiXcodeVersion? Type8682 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsAppClip? Type8682 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8683 { get; set; } + public global::System.Collections.Generic.IList? Type8683 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsGetCollectionIncludeItem? Type8684 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsEndUserLicenseAgreement? Type8684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8685 { get; set; } + public global::System.Collections.Generic.IList? Type8685 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsGetInstanceFieldsCiMacOsVersion? Type8686 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsInAppPurchase? Type8686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8687 { get; set; } + public global::System.Collections.Generic.IList? Type8687 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsGetInstanceFieldsCiXcodeVersion? Type8688 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsSubscriptionGroup? Type8688 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8689 { get; set; } + public global::System.Collections.Generic.IList? Type8689 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsGetInstanceIncludeItem? Type8690 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsGameCenterEnabledVersion? Type8690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8691 { get; set; } + public global::System.Collections.Generic.IList? Type8691 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetCollectionFilterProductTypeItem? Type8692 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsAppCustomProductPage? Type8692 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8693 { get; set; } + public global::System.Collections.Generic.IList? Type8693 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetCollectionFieldsCiProduct? Type8694 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsPromotedPurchase? Type8694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8695 { get; set; } + public global::System.Collections.Generic.IList? Type8695 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetCollectionFieldsApp? Type8696 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsAppEvent? Type8696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8697 { get; set; } + public global::System.Collections.Generic.IList? Type8697 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetCollectionFieldsBundleId? Type8698 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsReviewSubmission? Type8698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8699 { get; set; } + public global::System.Collections.Generic.IList? Type8699 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetCollectionFieldsScmRepositorie? Type8700 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsSubscriptionGracePeriod? Type8700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8701 { get; set; } + public global::System.Collections.Generic.IList? Type8701 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetCollectionIncludeItem? Type8702 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsGameCenterDetail? Type8702 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8703 { get; set; } + public global::System.Collections.Generic.IList? Type8703 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetInstanceFieldsCiProduct? Type8704 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsAppStoreVersionExperiment? Type8704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8705 { get; set; } + public global::System.Collections.Generic.IList? Type8705 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetInstanceFieldsApp? Type8706 { get; set; } + public global::AppStoreConnect.AppsGetInstanceFieldsAndroidToIosAppMappingDetail? Type8706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8707 { get; set; } + public global::System.Collections.Generic.IList? Type8707 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetInstanceFieldsBundleId? Type8708 { get; set; } + public global::AppStoreConnect.AppsGetInstanceIncludeItem? Type8708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8709 { get; set; } + public global::System.Collections.Generic.IList? Type8709 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetInstanceFieldsScmRepositorie? Type8710 { get; set; } + public global::AppStoreConnect.BackgroundAssetUploadFilesGetInstanceFieldsBackgroundAssetUploadFile? Type8710 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8711 { get; set; } + public global::System.Collections.Generic.IList? Type8711 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsGetInstanceIncludeItem? Type8712 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleasesGetInstanceFieldsBackgroundAssetVersionAppStoreRelease? Type8712 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8713 { get; set; } + public global::System.Collections.Generic.IList? Type8713 { get; set; } /// /// /// - public global::AppStoreConnect.CiTestResultsGetInstanceFieldsCiTestResult? Type8714 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleasesGetInstanceFieldsBackgroundAssetVersion? Type8714 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8715 { get; set; } + public global::System.Collections.Generic.IList? Type8715 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsCiWorkflow? Type8716 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreReleasesGetInstanceIncludeItem? Type8716 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8717 { get; set; } + public global::System.Collections.Generic.IList? Type8717 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsCiProduct? Type8718 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleasesGetInstanceFieldsBackgroundAssetVersionExternalBetaRelease? Type8718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8719 { get; set; } + public global::System.Collections.Generic.IList? Type8719 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsScmRepositorie? Type8720 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleasesGetInstanceFieldsBackgroundAssetVersion? Type8720 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8721 { get; set; } + public global::System.Collections.Generic.IList? Type8721 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsCiXcodeVersion? Type8722 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaReleasesGetInstanceIncludeItem? Type8722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8723 { get; set; } + public global::System.Collections.Generic.IList? Type8723 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsCiMacOsVersion? Type8724 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleasesGetInstanceFieldsBackgroundAssetVersionInternalBetaRelease? Type8724 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8725 { get; set; } + public global::System.Collections.Generic.IList? Type8725 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsGetInstanceIncludeItem? Type8726 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleasesGetInstanceFieldsBackgroundAssetVersion? Type8726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8727 { get; set; } + public global::System.Collections.Generic.IList? Type8727 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsGetCollectionFieldsCiXcodeVersion? Type8728 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaReleasesGetInstanceIncludeItem? Type8728 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8729 { get; set; } + public global::System.Collections.Generic.IList? Type8729 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsGetCollectionFieldsCiMacOsVersion? Type8730 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetVersion? Type8730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8731 { get; set; } + public global::System.Collections.Generic.IList? Type8731 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsGetCollectionIncludeItem? Type8732 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAsset? Type8732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8733 { get; set; } + public global::System.Collections.Generic.IList? Type8733 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsGetInstanceFieldsCiXcodeVersion? Type8734 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetVersionInternalBetaRelease? Type8734 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8735 { get; set; } + public global::System.Collections.Generic.IList? Type8735 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsGetInstanceFieldsCiMacOsVersion? Type8736 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetVersionExternalBetaRelease? Type8736 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8737 { get; set; } + public global::System.Collections.Generic.IList? Type8737 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsGetInstanceIncludeItem? Type8738 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetVersionAppStoreRelease? Type8738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8739 { get; set; } + public global::System.Collections.Generic.IList? Type8739 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponsesGetInstanceFieldsCustomerReviewResponse? Type8740 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceFieldsBackgroundAssetUploadFile? Type8740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8741 { get; set; } + public global::System.Collections.Generic.IList? Type8741 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponsesGetInstanceFieldsCustomerReview? Type8742 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsGetInstanceIncludeItem? Type8742 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8743 { get; set; } + public global::System.Collections.Generic.IList? Type8743 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponsesGetInstanceIncludeItem? Type8744 { get; set; } + public global::AppStoreConnect.BackgroundAssetsGetInstanceFieldsBackgroundAsset? Type8744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8745 { get; set; } + public global::System.Collections.Generic.IList? Type8745 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsGetInstanceFieldsCustomerReview? Type8746 { get; set; } + public global::AppStoreConnect.BackgroundAssetsGetInstanceFieldsApp? Type8746 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8747 { get; set; } + public global::System.Collections.Generic.IList? Type8747 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsGetInstanceFieldsCustomerReviewResponse? Type8748 { get; set; } + public global::AppStoreConnect.BackgroundAssetsGetInstanceFieldsBackgroundAssetVersion? Type8748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8749 { get; set; } + public global::System.Collections.Generic.IList? Type8749 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsGetInstanceFieldsTerritorie? Type8750 { get; set; } + public global::AppStoreConnect.BackgroundAssetsGetInstanceIncludeItem? Type8750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8751 { get; set; } + public global::System.Collections.Generic.IList? Type8751 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsGetInstanceIncludeItem? Type8752 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationsGetInstanceFieldsBetaAppClipInvocation? Type8752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8753 { get; set; } + public global::System.Collections.Generic.IList? Type8753 { get; set; } /// /// /// - public global::AppStoreConnect.DevicesGetCollectionFilterPlatformItem? Type8754 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationsGetInstanceFieldsBetaAppClipInvocationLocalization? Type8754 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8755 { get; set; } + public global::System.Collections.Generic.IList? Type8755 { get; set; } /// /// /// - public global::AppStoreConnect.DevicesGetCollectionFilterStatu? Type8756 { get; set; } + public global::AppStoreConnect.BetaAppClipInvocationsGetInstanceIncludeItem? Type8756 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8757 { get; set; } + public global::System.Collections.Generic.IList? Type8757 { get; set; } /// /// /// - public global::AppStoreConnect.DevicesGetCollectionSortItem? Type8758 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationsGetCollectionFieldsBetaAppLocalization? Type8758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8759 { get; set; } + public global::System.Collections.Generic.IList? Type8759 { get; set; } /// /// /// - public global::AppStoreConnect.DevicesGetCollectionFieldsDevice? Type8760 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationsGetCollectionFieldsApp? Type8760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8761 { get; set; } + public global::System.Collections.Generic.IList? Type8761 { get; set; } /// /// /// - public global::AppStoreConnect.DevicesGetInstanceFieldsDevice? Type8762 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationsGetCollectionIncludeItem? Type8762 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8763 { get; set; } + public global::System.Collections.Generic.IList? Type8763 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementsGetInstanceFieldsEndUserLicenseAgreement? Type8764 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationsGetInstanceFieldsBetaAppLocalization? Type8764 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8765 { get; set; } + public global::System.Collections.Generic.IList? Type8765 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementsGetInstanceFieldsApp? Type8766 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationsGetInstanceFieldsApp? Type8766 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8767 { get; set; } + public global::System.Collections.Generic.IList? Type8767 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementsGetInstanceFieldsTerritorie? Type8768 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationsGetInstanceIncludeItem? Type8768 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8769 { get; set; } + public global::System.Collections.Generic.IList? Type8769 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementsGetInstanceIncludeItem? Type8770 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailsGetCollectionFieldsBetaAppReviewDetail? Type8770 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8771 { get; set; } + public global::System.Collections.Generic.IList? Type8771 { get; set; } /// /// /// - public global::AppStoreConnect.FinanceReportsGetCollectionFilterReportTypeItem? Type8772 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailsGetCollectionFieldsApp? Type8772 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8773 { get; set; } + public global::System.Collections.Generic.IList? Type8773 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImagesGetInstanceFieldsGameCenterAchievementImage? Type8774 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailsGetCollectionIncludeItem? Type8774 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8775 { get; set; } + public global::System.Collections.Generic.IList? Type8775 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImagesGetInstanceFieldsGameCenterAchievementLocalization? Type8776 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailsGetInstanceFieldsBetaAppReviewDetail? Type8776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8777 { get; set; } + public global::System.Collections.Generic.IList? Type8777 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImagesGetInstanceIncludeItem? Type8778 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailsGetInstanceFieldsApp? Type8778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8779 { get; set; } + public global::System.Collections.Generic.IList? Type8779 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImagesV2GetInstanceFieldsGameCenterAchievementImage? Type8780 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailsGetInstanceIncludeItem? Type8780 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8781 { get; set; } + public global::System.Collections.Generic.IList? Type8781 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImagesV2GetInstanceFieldsGameCenterAchievementLocalization? Type8782 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionsGetCollectionFilterBetaReviewStateItem? Type8782 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8783 { get; set; } + public global::System.Collections.Generic.IList? Type8783 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImagesV2GetInstanceIncludeItem? Type8784 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionsGetCollectionFieldsBetaAppReviewSubmission? Type8784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8785 { get; set; } + public global::System.Collections.Generic.IList? Type8785 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2GetInstanceFieldsGameCenterAchievementLocalization? Type8786 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionsGetCollectionFieldsBuild? Type8786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8787 { get; set; } + public global::System.Collections.Generic.IList? Type8787 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2GetInstanceFieldsGameCenterAchievementVersion? Type8788 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionsGetCollectionIncludeItem? Type8788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8789 { get; set; } + public global::System.Collections.Generic.IList? Type8789 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2GetInstanceFieldsGameCenterAchievementImage? Type8790 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionsGetInstanceFieldsBetaAppReviewSubmission? Type8790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8791 { get; set; } + public global::System.Collections.Generic.IList? Type8791 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2GetInstanceIncludeItem? Type8792 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionsGetInstanceFieldsBuild? Type8792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8793 { get; set; } + public global::System.Collections.Generic.IList? Type8793 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGetInstanceFieldsGameCenterAchievementLocalization? Type8794 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionsGetInstanceIncludeItem? Type8794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8795 { get; set; } + public global::System.Collections.Generic.IList? Type8795 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGetInstanceFieldsGameCenterAchievement? Type8796 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationsGetCollectionFieldsBetaBuildLocalization? Type8796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8797 { get; set; } + public global::System.Collections.Generic.IList? Type8797 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGetInstanceFieldsGameCenterAchievementImage? Type8798 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationsGetCollectionFieldsBuild? Type8798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8799 { get; set; } + public global::System.Collections.Generic.IList? Type8799 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGetInstanceIncludeItem? Type8800 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationsGetCollectionIncludeItem? Type8800 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8801 { get; set; } + public global::System.Collections.Generic.IList? Type8801 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesGetInstanceFieldsGameCenterAchievementRelease? Type8802 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationsGetInstanceFieldsBetaBuildLocalization? Type8802 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8803 { get; set; } + public global::System.Collections.Generic.IList? Type8803 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesGetInstanceFieldsGameCenterDetail? Type8804 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationsGetInstanceFieldsBuild? Type8804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8805 { get; set; } + public global::System.Collections.Generic.IList? Type8805 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesGetInstanceFieldsGameCenterAchievement? Type8806 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationsGetInstanceIncludeItem? Type8806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8807 { get; set; } + public global::System.Collections.Generic.IList? Type8807 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesGetInstanceIncludeItem? Type8808 { get; set; } + public global::AppStoreConnect.BetaCrashLogsGetInstanceFieldsBetaCrashLog? Type8808 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8809 { get; set; } + public global::System.Collections.Generic.IList? Type8809 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2GetInstanceFieldsGameCenterAchievementVersion? Type8810 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionsGetInstanceFieldsBetaFeedbackCrashSubmission? Type8810 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8811 { get; set; } + public global::System.Collections.Generic.IList? Type8811 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2GetInstanceFieldsGameCenterAchievement? Type8812 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionsGetInstanceFieldsBuild? Type8812 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8813 { get; set; } + public global::System.Collections.Generic.IList? Type8813 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2GetInstanceFieldsGameCenterAchievementLocalization? Type8814 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionsGetInstanceFieldsBetaTester? Type8814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8815 { get; set; } + public global::System.Collections.Generic.IList? Type8815 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2GetInstanceIncludeItem? Type8816 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionsGetInstanceIncludeItem? Type8816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8817 { get; set; } + public global::System.Collections.Generic.IList? Type8817 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterAchievement? Type8818 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsGetInstanceFieldsBetaFeedbackScreenshotSubmission? Type8818 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8819 { get; set; } + public global::System.Collections.Generic.IList? Type8819 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterDetail? Type8820 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsGetInstanceFieldsBuild? Type8820 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8821 { get; set; } + public global::System.Collections.Generic.IList? Type8821 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterGroup? Type8822 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsGetInstanceFieldsBetaTester? Type8822 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8823 { get; set; } + public global::System.Collections.Generic.IList? Type8823 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterActivitie? Type8824 { get; set; } + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsGetInstanceIncludeItem? Type8824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8825 { get; set; } + public global::System.Collections.Generic.IList? Type8825 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterAchievementVersion? Type8826 { get; set; } + public global::AppStoreConnect.BetaGroupsGetCollectionSortItem? Type8826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8827 { get; set; } + public global::System.Collections.Generic.IList? Type8827 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceIncludeItem? Type8828 { get; set; } + public global::AppStoreConnect.BetaGroupsGetCollectionFieldsBetaGroup? Type8828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8829 { get; set; } + public global::System.Collections.Generic.IList? Type8829 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterAchievement? Type8830 { get; set; } + public global::AppStoreConnect.BetaGroupsGetCollectionFieldsApp? Type8830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8831 { get; set; } + public global::System.Collections.Generic.IList? Type8831 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterDetail? Type8832 { get; set; } + public global::AppStoreConnect.BetaGroupsGetCollectionFieldsBuild? Type8832 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8833 { get; set; } + public global::System.Collections.Generic.IList? Type8833 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterGroup? Type8834 { get; set; } + public global::AppStoreConnect.BetaGroupsGetCollectionFieldsBetaTester? Type8834 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8835 { get; set; } + public global::System.Collections.Generic.IList? Type8835 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterAchievementLocalization? Type8836 { get; set; } + public global::AppStoreConnect.BetaGroupsGetCollectionFieldsBetaRecruitmentCriteriaItem? Type8836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8837 { get; set; } + public global::System.Collections.Generic.IList? Type8837 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterAchievementRelease? Type8838 { get; set; } + public global::AppStoreConnect.BetaGroupsGetCollectionIncludeItem? Type8838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8839 { get; set; } + public global::System.Collections.Generic.IList? Type8839 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterActivitie? Type8840 { get; set; } + public global::AppStoreConnect.BetaGroupsGetInstanceFieldsBetaGroup? Type8840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8841 { get; set; } + public global::System.Collections.Generic.IList? Type8841 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGetInstanceIncludeItem? Type8842 { get; set; } + public global::AppStoreConnect.BetaGroupsGetInstanceFieldsApp? Type8842 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8843 { get; set; } + public global::System.Collections.Generic.IList? Type8843 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterActivitie? Type8844 { get; set; } + public global::AppStoreConnect.BetaGroupsGetInstanceFieldsBuild? Type8844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8845 { get; set; } + public global::System.Collections.Generic.IList? Type8845 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterDetail? Type8846 { get; set; } + public global::AppStoreConnect.BetaGroupsGetInstanceFieldsBetaTester? Type8846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8847 { get; set; } + public global::System.Collections.Generic.IList? Type8847 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterGroup? Type8848 { get; set; } + public global::AppStoreConnect.BetaGroupsGetInstanceFieldsBetaRecruitmentCriteriaItem? Type8848 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8849 { get; set; } + public global::System.Collections.Generic.IList? Type8849 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterAchievement? Type8850 { get; set; } + public global::AppStoreConnect.BetaGroupsGetInstanceIncludeItem? Type8850 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8851 { get; set; } + public global::System.Collections.Generic.IList? Type8851 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterLeaderboard? Type8852 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementsGetCollectionFieldsBetaLicenseAgreement? Type8852 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8853 { get; set; } + public global::System.Collections.Generic.IList? Type8853 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterActivityVersion? Type8854 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementsGetCollectionFieldsApp? Type8854 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8855 { get; set; } + public global::System.Collections.Generic.IList? Type8855 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesGetInstanceIncludeItem? Type8856 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementsGetCollectionIncludeItem? Type8856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8857 { get; set; } + public global::System.Collections.Generic.IList? Type8857 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImagesGetInstanceFieldsGameCenterActivityImage? Type8858 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementsGetInstanceFieldsBetaLicenseAgreement? Type8858 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8859 { get; set; } + public global::System.Collections.Generic.IList? Type8859 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationsGetInstanceFieldsGameCenterActivityLocalization? Type8860 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementsGetInstanceFieldsApp? Type8860 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8861 { get; set; } + public global::System.Collections.Generic.IList? Type8861 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationsGetInstanceFieldsGameCenterActivityVersion? Type8862 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementsGetInstanceIncludeItem? Type8862 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8863 { get; set; } + public global::System.Collections.Generic.IList? Type8863 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationsGetInstanceFieldsGameCenterActivityImage? Type8864 { get; set; } + public global::AppStoreConnect.BetaRecruitmentCriterionOptionsGetCollectionFieldsBetaRecruitmentCriterionOption? Type8864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8865 { get; set; } + public global::System.Collections.Generic.IList? Type8865 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationsGetInstanceIncludeItem? Type8866 { get; set; } + public global::AppStoreConnect.BetaTestersGetCollectionFilterInviteTypeItem? Type8866 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8867 { get; set; } + public global::System.Collections.Generic.IList? Type8867 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleasesGetInstanceFieldsGameCenterActivityVersionRelease? Type8868 { get; set; } + public global::AppStoreConnect.BetaTestersGetCollectionSortItem? Type8868 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8869 { get; set; } + public global::System.Collections.Generic.IList? Type8869 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleasesGetInstanceFieldsGameCenterActivityVersion? Type8870 { get; set; } + public global::AppStoreConnect.BetaTestersGetCollectionFieldsBetaTester? Type8870 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8871 { get; set; } + public global::System.Collections.Generic.IList? Type8871 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionReleasesGetInstanceIncludeItem? Type8872 { get; set; } + public global::AppStoreConnect.BetaTestersGetCollectionFieldsApp? Type8872 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8873 { get; set; } + public global::System.Collections.Generic.IList? Type8873 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivityVersion? Type8874 { get; set; } + public global::AppStoreConnect.BetaTestersGetCollectionFieldsBetaGroup? Type8874 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8875 { get; set; } + public global::System.Collections.Generic.IList? Type8875 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivitie? Type8876 { get; set; } + public global::AppStoreConnect.BetaTestersGetCollectionFieldsBuild? Type8876 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8877 { get; set; } + public global::System.Collections.Generic.IList? Type8877 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivityLocalization? Type8878 { get; set; } + public global::AppStoreConnect.BetaTestersGetCollectionIncludeItem? Type8878 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8879 { get; set; } + public global::System.Collections.Generic.IList? Type8879 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivityImage? Type8880 { get; set; } + public global::AppStoreConnect.BetaTestersGetInstanceFieldsBetaTester? Type8880 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8881 { get; set; } + public global::System.Collections.Generic.IList? Type8881 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivityVersionRelease? Type8882 { get; set; } + public global::AppStoreConnect.BetaTestersGetInstanceFieldsApp? Type8882 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8883 { get; set; } + public global::System.Collections.Generic.IList? Type8883 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceIncludeItem? Type8884 { get; set; } + public global::AppStoreConnect.BetaTestersGetInstanceFieldsBetaGroup? Type8884 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8885 { get; set; } + public global::System.Collections.Generic.IList? Type8885 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsGetInstanceFieldsGameCenterAppVersion? Type8886 { get; set; } + public global::AppStoreConnect.BetaTestersGetInstanceFieldsBuild? Type8886 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8887 { get; set; } + public global::System.Collections.Generic.IList? Type8887 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsGetInstanceFieldsAppStoreVersion? Type8888 { get; set; } + public global::AppStoreConnect.BetaTestersGetInstanceIncludeItem? Type8888 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8889 { get; set; } + public global::System.Collections.Generic.IList? Type8889 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsGetInstanceIncludeItem? Type8890 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsGetCollectionFieldsBuildBetaDetail? Type8890 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8891 { get; set; } + public global::System.Collections.Generic.IList? Type8891 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImagesGetInstanceFieldsGameCenterChallengeImage? Type8892 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsGetCollectionFieldsBuild? Type8892 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8893 { get; set; } + public global::System.Collections.Generic.IList? Type8893 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationsGetInstanceFieldsGameCenterChallengeLocalization? Type8894 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsGetCollectionIncludeItem? Type8894 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8895 { get; set; } + public global::System.Collections.Generic.IList? Type8895 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationsGetInstanceFieldsGameCenterChallengeVersion? Type8896 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsGetInstanceFieldsBuildBetaDetail? Type8896 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8897 { get; set; } + public global::System.Collections.Generic.IList? Type8897 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationsGetInstanceFieldsGameCenterChallengeImage? Type8898 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsGetInstanceFieldsBuild? Type8898 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8899 { get; set; } + public global::System.Collections.Generic.IList? Type8899 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationsGetInstanceIncludeItem? Type8900 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsGetInstanceIncludeItem? Type8900 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8901 { get; set; } + public global::System.Collections.Generic.IList? Type8901 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleasesGetInstanceFieldsGameCenterChallengeVersionRelease? Type8902 { get; set; } + public global::AppStoreConnect.BuildUploadFilesGetInstanceFieldsBuildUploadFile? Type8902 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8903 { get; set; } + public global::System.Collections.Generic.IList? Type8903 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleasesGetInstanceFieldsGameCenterChallengeVersion? Type8904 { get; set; } + public global::AppStoreConnect.BuildUploadsGetInstanceFieldsBuildUpload? Type8904 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8905 { get; set; } + public global::System.Collections.Generic.IList? Type8905 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionReleasesGetInstanceIncludeItem? Type8906 { get; set; } + public global::AppStoreConnect.BuildUploadsGetInstanceFieldsBuild? Type8906 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8907 { get; set; } + public global::System.Collections.Generic.IList? Type8907 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallengeVersion? Type8908 { get; set; } + public global::AppStoreConnect.BuildUploadsGetInstanceFieldsBuildUploadFile? Type8908 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8909 { get; set; } + public global::System.Collections.Generic.IList? Type8909 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallenge? Type8910 { get; set; } + public global::AppStoreConnect.BuildUploadsGetInstanceIncludeItem? Type8910 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8911 { get; set; } + public global::System.Collections.Generic.IList? Type8911 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallengeLocalization? Type8912 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFilterProcessingStateItem? Type8912 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8913 { get; set; } + public global::System.Collections.Generic.IList? Type8913 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallengeVersionRelease? Type8914 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFilterBetaAppReviewSubmissionBetaReviewStateItem? Type8914 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8915 { get; set; } + public global::System.Collections.Generic.IList? Type8915 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallengeImage? Type8916 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFilterPreReleaseVersionPlatformItem? Type8916 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8917 { get; set; } + public global::System.Collections.Generic.IList? Type8917 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceIncludeItem? Type8918 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFilterBuildAudienceTypeItem? Type8918 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8919 { get; set; } + public global::System.Collections.Generic.IList? Type8919 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterChallenge? Type8920 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionSortItem? Type8920 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8921 { get; set; } + public global::System.Collections.Generic.IList? Type8921 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterDetail? Type8922 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsBuild? Type8922 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8923 { get; set; } + public global::System.Collections.Generic.IList? Type8923 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterGroup? Type8924 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsPreReleaseVersion? Type8924 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8925 { get; set; } + public global::System.Collections.Generic.IList? Type8925 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterChallengeVersion? Type8926 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsBetaTester? Type8926 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8927 { get; set; } + public global::System.Collections.Generic.IList? Type8927 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterLeaderboard? Type8928 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsBetaGroup? Type8928 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8929 { get; set; } + public global::System.Collections.Generic.IList? Type8929 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesGetInstanceIncludeItem? Type8930 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsBetaBuildLocalization? Type8930 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8931 { get; set; } + public global::System.Collections.Generic.IList? Type8931 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterDetail? Type8932 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsAppEncryptionDeclaration? Type8932 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8933 { get; set; } + public global::System.Collections.Generic.IList? Type8933 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsApp? Type8934 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsBetaAppReviewSubmission? Type8934 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8935 { get; set; } + public global::System.Collections.Generic.IList? Type8935 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterAppVersion? Type8936 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsApp? Type8936 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8937 { get; set; } + public global::System.Collections.Generic.IList? Type8937 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterGroup? Type8938 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsBuildBetaDetail? Type8938 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8939 { get; set; } + public global::System.Collections.Generic.IList? Type8939 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterLeaderboard? Type8940 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsAppStoreVersion? Type8940 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8941 { get; set; } + public global::System.Collections.Generic.IList? Type8941 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterLeaderboardSet? Type8942 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsBuildIcon? Type8942 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8943 { get; set; } + public global::System.Collections.Generic.IList? Type8943 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterAchievement? Type8944 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsBuildBundle? Type8944 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8945 { get; set; } + public global::System.Collections.Generic.IList? Type8945 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterActivitie? Type8946 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionFieldsBuildUpload? Type8946 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8947 { get; set; } + public global::System.Collections.Generic.IList? Type8947 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterChallenge? Type8948 { get; set; } + public global::AppStoreConnect.BuildsGetCollectionIncludeItem? Type8948 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8949 { get; set; } + public global::System.Collections.Generic.IList? Type8949 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterAchievementRelease? Type8950 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsBuild? Type8950 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8951 { get; set; } + public global::System.Collections.Generic.IList? Type8951 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterActivityVersionRelease? Type8952 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsPreReleaseVersion? Type8952 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8953 { get; set; } + public global::System.Collections.Generic.IList? Type8953 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterChallengeVersionRelease? Type8954 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsBetaTester? Type8954 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8955 { get; set; } + public global::System.Collections.Generic.IList? Type8955 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterLeaderboardRelease? Type8956 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsBetaGroup? Type8956 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8957 { get; set; } + public global::System.Collections.Generic.IList? Type8957 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterLeaderboardSetRelease? Type8958 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsBetaBuildLocalization? Type8958 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8959 { get; set; } + public global::System.Collections.Generic.IList? Type8959 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsAppStoreVersion? Type8960 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsAppEncryptionDeclaration? Type8960 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8961 { get; set; } + public global::System.Collections.Generic.IList? Type8961 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGetInstanceIncludeItem? Type8962 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsBetaAppReviewSubmission? Type8962 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8963 { get; set; } + public global::System.Collections.Generic.IList? Type8963 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterGroup? Type8964 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsApp? Type8964 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8965 { get; set; } + public global::System.Collections.Generic.IList? Type8965 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterDetail? Type8966 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsBuildBetaDetail? Type8966 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8967 { get; set; } + public global::System.Collections.Generic.IList? Type8967 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterLeaderboard? Type8968 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsAppStoreVersion? Type8968 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8969 { get; set; } + public global::System.Collections.Generic.IList? Type8969 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterLeaderboardSet? Type8970 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsBuildIcon? Type8970 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8971 { get; set; } + public global::System.Collections.Generic.IList? Type8971 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterAchievement? Type8972 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsBuildBundle? Type8972 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8973 { get; set; } + public global::System.Collections.Generic.IList? Type8973 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterActivitie? Type8974 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceFieldsBuildUpload? Type8974 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8975 { get; set; } + public global::System.Collections.Generic.IList? Type8975 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterChallenge? Type8976 { get; set; } + public global::AppStoreConnect.BuildsGetInstanceIncludeItem? Type8976 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8977 { get; set; } + public global::System.Collections.Generic.IList? Type8977 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetCollectionIncludeItem? Type8978 { get; set; } + public global::AppStoreConnect.BundleIdsGetCollectionFilterPlatformItem? Type8978 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8979 { get; set; } + public global::System.Collections.Generic.IList? Type8979 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterGroup? Type8980 { get; set; } + public global::AppStoreConnect.BundleIdsGetCollectionSortItem? Type8980 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8981 { get; set; } + public global::System.Collections.Generic.IList? Type8981 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterDetail? Type8982 { get; set; } + public global::AppStoreConnect.BundleIdsGetCollectionFieldsBundleId? Type8982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8983 { get; set; } + public global::System.Collections.Generic.IList? Type8983 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterLeaderboard? Type8984 { get; set; } + public global::AppStoreConnect.BundleIdsGetCollectionFieldsProfile? Type8984 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8985 { get; set; } + public global::System.Collections.Generic.IList? Type8985 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterLeaderboardSet? Type8986 { get; set; } + public global::AppStoreConnect.BundleIdsGetCollectionFieldsBundleIdCapabilitie? Type8986 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8987 { get; set; } + public global::System.Collections.Generic.IList? Type8987 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterAchievement? Type8988 { get; set; } + public global::AppStoreConnect.BundleIdsGetCollectionFieldsApp? Type8988 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8989 { get; set; } + public global::System.Collections.Generic.IList? Type8989 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterActivitie? Type8990 { get; set; } + public global::AppStoreConnect.BundleIdsGetCollectionIncludeItem? Type8990 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8991 { get; set; } + public global::System.Collections.Generic.IList? Type8991 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterChallenge? Type8992 { get; set; } + public global::AppStoreConnect.BundleIdsGetInstanceFieldsBundleId? Type8992 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8993 { get; set; } + public global::System.Collections.Generic.IList? Type8993 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGetInstanceIncludeItem? Type8994 { get; set; } + public global::AppStoreConnect.BundleIdsGetInstanceFieldsProfile? Type8994 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8995 { get; set; } + public global::System.Collections.Generic.IList? Type8995 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImagesGetInstanceFieldsGameCenterLeaderboardImage? Type8996 { get; set; } + public global::AppStoreConnect.BundleIdsGetInstanceFieldsBundleIdCapabilitie? Type8996 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8997 { get; set; } + public global::System.Collections.Generic.IList? Type8997 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImagesGetInstanceFieldsGameCenterLeaderboardLocalization? Type8998 { get; set; } + public global::AppStoreConnect.BundleIdsGetInstanceFieldsApp? Type8998 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8999 { get; set; } + public global::System.Collections.Generic.IList? Type8999 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImagesGetInstanceIncludeItem? Type9000 { get; set; } + public global::AppStoreConnect.BundleIdsGetInstanceIncludeItem? Type9000 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9001 { get; set; } + public global::System.Collections.Generic.IList? Type9001 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImagesV2GetInstanceFieldsGameCenterLeaderboardImage? Type9002 { get; set; } + public global::AppStoreConnect.CertificatesGetCollectionFilterCertificateTypeItem? Type9002 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9003 { get; set; } + public global::System.Collections.Generic.IList? Type9003 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImagesV2GetInstanceFieldsGameCenterLeaderboardLocalization? Type9004 { get; set; } + public global::AppStoreConnect.CertificatesGetCollectionSortItem? Type9004 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9005 { get; set; } + public global::System.Collections.Generic.IList? Type9005 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImagesV2GetInstanceIncludeItem? Type9006 { get; set; } + public global::AppStoreConnect.CertificatesGetCollectionFieldsCertificate? Type9006 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9007 { get; set; } + public global::System.Collections.Generic.IList? Type9007 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGetInstanceFieldsGameCenterLeaderboardLocalization? Type9008 { get; set; } + public global::AppStoreConnect.CertificatesGetCollectionFieldsPassTypeId? Type9008 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9009 { get; set; } + public global::System.Collections.Generic.IList? Type9009 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGetInstanceFieldsGameCenterLeaderboard? Type9010 { get; set; } + public global::AppStoreConnect.CertificatesGetCollectionIncludeItem? Type9010 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9011 { get; set; } + public global::System.Collections.Generic.IList? Type9011 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGetInstanceFieldsGameCenterLeaderboardImage? Type9012 { get; set; } + public global::AppStoreConnect.CertificatesGetInstanceFieldsCertificate? Type9012 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9013 { get; set; } + public global::System.Collections.Generic.IList? Type9013 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGetInstanceIncludeItem? Type9014 { get; set; } + public global::AppStoreConnect.CertificatesGetInstanceFieldsPassTypeId? Type9014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9015 { get; set; } + public global::System.Collections.Generic.IList? Type9015 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2GetInstanceFieldsGameCenterLeaderboardLocalization? Type9016 { get; set; } + public global::AppStoreConnect.CertificatesGetInstanceIncludeItem? Type9016 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9017 { get; set; } + public global::System.Collections.Generic.IList? Type9017 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2GetInstanceFieldsGameCenterLeaderboardVersion? Type9018 { get; set; } + public global::AppStoreConnect.CiArtifactsGetInstanceFieldsCiArtifact? Type9018 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9019 { get; set; } + public global::System.Collections.Generic.IList? Type9019 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2GetInstanceFieldsGameCenterLeaderboardImage? Type9020 { get; set; } + public global::AppStoreConnect.CiBuildActionsGetInstanceFieldsCiBuildAction? Type9020 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9021 { get; set; } + public global::System.Collections.Generic.IList? Type9021 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2GetInstanceIncludeItem? Type9022 { get; set; } + public global::AppStoreConnect.CiBuildActionsGetInstanceFieldsCiBuildRun? Type9022 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9023 { get; set; } + public global::System.Collections.Generic.IList? Type9023 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesGetInstanceFieldsGameCenterLeaderboardRelease? Type9024 { get; set; } + public global::AppStoreConnect.CiBuildActionsGetInstanceIncludeItem? Type9024 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9025 { get; set; } + public global::System.Collections.Generic.IList? Type9025 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesGetInstanceFieldsGameCenterDetail? Type9026 { get; set; } + public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsCiBuildRun? Type9026 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9027 { get; set; } + public global::System.Collections.Generic.IList? Type9027 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesGetInstanceFieldsGameCenterLeaderboard? Type9028 { get; set; } + public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsBuild? Type9028 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9029 { get; set; } + public global::System.Collections.Generic.IList? Type9029 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesGetInstanceIncludeItem? Type9030 { get; set; } + public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsCiWorkflow? Type9030 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9031 { get; set; } + public global::System.Collections.Generic.IList? Type9031 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImagesGetInstanceFieldsGameCenterLeaderboardSetImage? Type9032 { get; set; } + public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsCiProduct? Type9032 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9033 { get; set; } + public global::System.Collections.Generic.IList? Type9033 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImagesGetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9034 { get; set; } + public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsScmGitReference? Type9034 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9035 { get; set; } + public global::System.Collections.Generic.IList? Type9035 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImagesGetInstanceIncludeItem? Type9036 { get; set; } + public global::AppStoreConnect.CiBuildRunsGetInstanceFieldsScmPullRequest? Type9036 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9037 { get; set; } + public global::System.Collections.Generic.IList? Type9037 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImagesV2GetInstanceFieldsGameCenterLeaderboardSetImage? Type9038 { get; set; } + public global::AppStoreConnect.CiBuildRunsGetInstanceIncludeItem? Type9038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9039 { get; set; } + public global::System.Collections.Generic.IList? Type9039 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImagesV2GetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9040 { get; set; } + public global::AppStoreConnect.CiIssuesGetInstanceFieldsCiIssue? Type9040 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9041 { get; set; } + public global::System.Collections.Generic.IList? Type9041 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImagesV2GetInstanceIncludeItem? Type9042 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsGetCollectionFieldsCiMacOsVersion? Type9042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9043 { get; set; } + public global::System.Collections.Generic.IList? Type9043 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9044 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsGetCollectionFieldsCiXcodeVersion? Type9044 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9045 { get; set; } + public global::System.Collections.Generic.IList? Type9045 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGetInstanceFieldsGameCenterLeaderboardSet? Type9046 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsGetCollectionIncludeItem? Type9046 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9047 { get; set; } + public global::System.Collections.Generic.IList? Type9047 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGetInstanceFieldsGameCenterLeaderboardSetImage? Type9048 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsGetInstanceFieldsCiMacOsVersion? Type9048 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9049 { get; set; } + public global::System.Collections.Generic.IList? Type9049 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGetInstanceIncludeItem? Type9050 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsGetInstanceFieldsCiXcodeVersion? Type9050 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9051 { get; set; } + public global::System.Collections.Generic.IList? Type9051 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2GetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9052 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsGetInstanceIncludeItem? Type9052 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9053 { get; set; } + public global::System.Collections.Generic.IList? Type9053 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2GetInstanceFieldsGameCenterLeaderboardSetVersion? Type9054 { get; set; } + public global::AppStoreConnect.CiProductsGetCollectionFilterProductTypeItem? Type9054 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9055 { get; set; } + public global::System.Collections.Generic.IList? Type9055 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2GetInstanceFieldsGameCenterLeaderboardSetImage? Type9056 { get; set; } + public global::AppStoreConnect.CiProductsGetCollectionFieldsCiProduct? Type9056 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9057 { get; set; } + public global::System.Collections.Generic.IList? Type9057 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2GetInstanceIncludeItem? Type9058 { get; set; } + public global::AppStoreConnect.CiProductsGetCollectionFieldsApp? Type9058 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9059 { get; set; } + public global::System.Collections.Generic.IList? Type9059 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGetCollectionFieldsGameCenterLeaderboardSetMemberLocalization? Type9060 { get; set; } + public global::AppStoreConnect.CiProductsGetCollectionFieldsBundleId? Type9060 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9061 { get; set; } + public global::System.Collections.Generic.IList? Type9061 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGetCollectionFieldsGameCenterLeaderboardSet? Type9062 { get; set; } + public global::AppStoreConnect.CiProductsGetCollectionFieldsScmRepositorie? Type9062 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9063 { get; set; } + public global::System.Collections.Generic.IList? Type9063 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGetCollectionFieldsGameCenterLeaderboard? Type9064 { get; set; } + public global::AppStoreConnect.CiProductsGetCollectionIncludeItem? Type9064 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9065 { get; set; } + public global::System.Collections.Generic.IList? Type9065 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGetCollectionIncludeItem? Type9066 { get; set; } + public global::AppStoreConnect.CiProductsGetInstanceFieldsCiProduct? Type9066 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9067 { get; set; } + public global::System.Collections.Generic.IList? Type9067 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesGetInstanceFieldsGameCenterLeaderboardSetRelease? Type9068 { get; set; } + public global::AppStoreConnect.CiProductsGetInstanceFieldsApp? Type9068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9069 { get; set; } + public global::System.Collections.Generic.IList? Type9069 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesGetInstanceFieldsGameCenterDetail? Type9070 { get; set; } + public global::AppStoreConnect.CiProductsGetInstanceFieldsBundleId? Type9070 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9071 { get; set; } + public global::System.Collections.Generic.IList? Type9071 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesGetInstanceFieldsGameCenterLeaderboardSet? Type9072 { get; set; } + public global::AppStoreConnect.CiProductsGetInstanceFieldsScmRepositorie? Type9072 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9073 { get; set; } + public global::System.Collections.Generic.IList? Type9073 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesGetInstanceIncludeItem? Type9074 { get; set; } + public global::AppStoreConnect.CiProductsGetInstanceIncludeItem? Type9074 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9075 { get; set; } + public global::System.Collections.Generic.IList? Type9075 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2GetInstanceFieldsGameCenterLeaderboardSetVersion? Type9076 { get; set; } + public global::AppStoreConnect.CiTestResultsGetInstanceFieldsCiTestResult? Type9076 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9077 { get; set; } + public global::System.Collections.Generic.IList? Type9077 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2GetInstanceFieldsGameCenterLeaderboardSet? Type9078 { get; set; } + public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsCiWorkflow? Type9078 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9079 { get; set; } + public global::System.Collections.Generic.IList? Type9079 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2GetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9080 { get; set; } + public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsCiProduct? Type9080 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9081 { get; set; } + public global::System.Collections.Generic.IList? Type9081 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2GetInstanceIncludeItem? Type9082 { get; set; } + public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsScmRepositorie? Type9082 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9083 { get; set; } + public global::System.Collections.Generic.IList? Type9083 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterLeaderboardSet? Type9084 { get; set; } + public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsCiXcodeVersion? Type9084 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9085 { get; set; } + public global::System.Collections.Generic.IList? Type9085 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterDetail? Type9086 { get; set; } + public global::AppStoreConnect.CiWorkflowsGetInstanceFieldsCiMacOsVersion? Type9086 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9087 { get; set; } + public global::System.Collections.Generic.IList? Type9087 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterGroup? Type9088 { get; set; } + public global::AppStoreConnect.CiWorkflowsGetInstanceIncludeItem? Type9088 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9089 { get; set; } + public global::System.Collections.Generic.IList? Type9089 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterLeaderboard? Type9090 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsGetCollectionFieldsCiXcodeVersion? Type9090 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9091 { get; set; } + public global::System.Collections.Generic.IList? Type9091 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterLeaderboardSetVersion? Type9092 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsGetCollectionFieldsCiMacOsVersion? Type9092 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9093 { get; set; } + public global::System.Collections.Generic.IList? Type9093 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceIncludeItem? Type9094 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsGetCollectionIncludeItem? Type9094 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9095 { get; set; } + public global::System.Collections.Generic.IList? Type9095 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterLeaderboardSet? Type9096 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsGetInstanceFieldsCiXcodeVersion? Type9096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9097 { get; set; } + public global::System.Collections.Generic.IList? Type9097 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterDetail? Type9098 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsGetInstanceFieldsCiMacOsVersion? Type9098 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9099 { get; set; } + public global::System.Collections.Generic.IList? Type9099 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterGroup? Type9100 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsGetInstanceIncludeItem? Type9100 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9101 { get; set; } + public global::System.Collections.Generic.IList? Type9101 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9102 { get; set; } + public global::AppStoreConnect.CustomerReviewResponsesGetInstanceFieldsCustomerReviewResponse? Type9102 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9103 { get; set; } + public global::System.Collections.Generic.IList? Type9103 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterLeaderboard? Type9104 { get; set; } + public global::AppStoreConnect.CustomerReviewResponsesGetInstanceFieldsCustomerReview? Type9104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9105 { get; set; } + public global::System.Collections.Generic.IList? Type9105 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterLeaderboardSetRelease? Type9106 { get; set; } + public global::AppStoreConnect.CustomerReviewResponsesGetInstanceIncludeItem? Type9106 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9107 { get; set; } + public global::System.Collections.Generic.IList? Type9107 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceIncludeItem? Type9108 { get; set; } + public global::AppStoreConnect.CustomerReviewsGetInstanceFieldsCustomerReview? Type9108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9109 { get; set; } + public global::System.Collections.Generic.IList? Type9109 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2GetInstanceFieldsGameCenterLeaderboardVersion? Type9110 { get; set; } + public global::AppStoreConnect.CustomerReviewsGetInstanceFieldsCustomerReviewResponse? Type9110 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9111 { get; set; } + public global::System.Collections.Generic.IList? Type9111 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2GetInstanceFieldsGameCenterLeaderboard? Type9112 { get; set; } + public global::AppStoreConnect.CustomerReviewsGetInstanceFieldsTerritorie? Type9112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9113 { get; set; } + public global::System.Collections.Generic.IList? Type9113 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2GetInstanceFieldsGameCenterLeaderboardLocalization? Type9114 { get; set; } + public global::AppStoreConnect.CustomerReviewsGetInstanceIncludeItem? Type9114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9115 { get; set; } + public global::System.Collections.Generic.IList? Type9115 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2GetInstanceIncludeItem? Type9116 { get; set; } + public global::AppStoreConnect.DevicesGetCollectionFilterPlatformItem? Type9116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9117 { get; set; } + public global::System.Collections.Generic.IList? Type9117 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterLeaderboard? Type9118 { get; set; } + public global::AppStoreConnect.DevicesGetCollectionFilterStatu? Type9118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9119 { get; set; } + public global::System.Collections.Generic.IList? Type9119 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterDetail? Type9120 { get; set; } + public global::AppStoreConnect.DevicesGetCollectionSortItem? Type9120 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9121 { get; set; } + public global::System.Collections.Generic.IList? Type9121 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterGroup? Type9122 { get; set; } + public global::AppStoreConnect.DevicesGetCollectionFieldsDevice? Type9122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9123 { get; set; } + public global::System.Collections.Generic.IList? Type9123 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterLeaderboardSet? Type9124 { get; set; } + public global::AppStoreConnect.DevicesGetInstanceFieldsDevice? Type9124 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9125 { get; set; } + public global::System.Collections.Generic.IList? Type9125 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterLeaderboardLocalization? Type9126 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementsGetInstanceFieldsEndUserLicenseAgreement? Type9126 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9127 { get; set; } + public global::System.Collections.Generic.IList? Type9127 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterLeaderboardRelease? Type9128 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementsGetInstanceFieldsApp? Type9128 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9129 { get; set; } + public global::System.Collections.Generic.IList? Type9129 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterActivitie? Type9130 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementsGetInstanceFieldsTerritorie? Type9130 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9131 { get; set; } + public global::System.Collections.Generic.IList? Type9131 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterChallenge? Type9132 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementsGetInstanceIncludeItem? Type9132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9133 { get; set; } + public global::System.Collections.Generic.IList? Type9133 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceIncludeItem? Type9134 { get; set; } + public global::AppStoreConnect.FinanceReportsGetCollectionFilterReportTypeItem? Type9134 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9135 { get; set; } + public global::System.Collections.Generic.IList? Type9135 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterLeaderboard? Type9136 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImagesGetInstanceFieldsGameCenterAchievementImage? Type9136 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9137 { get; set; } + public global::System.Collections.Generic.IList? Type9137 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterDetail? Type9138 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImagesGetInstanceFieldsGameCenterAchievementLocalization? Type9138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9139 { get; set; } + public global::System.Collections.Generic.IList? Type9139 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterGroup? Type9140 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImagesGetInstanceIncludeItem? Type9140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9141 { get; set; } + public global::System.Collections.Generic.IList? Type9141 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterLeaderboardSet? Type9142 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImagesV2GetInstanceFieldsGameCenterAchievementImage? Type9142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9143 { get; set; } + public global::System.Collections.Generic.IList? Type9143 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterActivitie? Type9144 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImagesV2GetInstanceFieldsGameCenterAchievementLocalization? Type9144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9145 { get; set; } + public global::System.Collections.Generic.IList? Type9145 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterChallenge? Type9146 { get; set; } + public global::AppStoreConnect.GameCenterAchievementImagesV2GetInstanceIncludeItem? Type9146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9147 { get; set; } + public global::System.Collections.Generic.IList? Type9147 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterLeaderboardVersion? Type9148 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2GetInstanceFieldsGameCenterAchievementLocalization? Type9148 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9149 { get; set; } + public global::System.Collections.Generic.IList? Type9149 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceIncludeItem? Type9150 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2GetInstanceFieldsGameCenterAchievementVersion? Type9150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9151 { get; set; } + public global::System.Collections.Generic.IList? Type9151 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesGetCollectionFieldsGameCenterMatchmakingQueue? Type9152 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2GetInstanceFieldsGameCenterAchievementImage? Type9152 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9153 { get; set; } + public global::System.Collections.Generic.IList? Type9153 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesGetCollectionFieldsGameCenterMatchmakingRuleSet? Type9154 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2GetInstanceIncludeItem? Type9154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9155 { get; set; } + public global::System.Collections.Generic.IList? Type9155 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesGetCollectionIncludeItem? Type9156 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGetInstanceFieldsGameCenterAchievementLocalization? Type9156 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9157 { get; set; } + public global::System.Collections.Generic.IList? Type9157 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesGetInstanceFieldsGameCenterMatchmakingQueue? Type9158 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGetInstanceFieldsGameCenterAchievement? Type9158 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9159 { get; set; } + public global::System.Collections.Generic.IList? Type9159 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesGetInstanceFieldsGameCenterMatchmakingRuleSet? Type9160 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGetInstanceFieldsGameCenterAchievementImage? Type9160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9161 { get; set; } + public global::System.Collections.Generic.IList? Type9161 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesGetInstanceIncludeItem? Type9162 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGetInstanceIncludeItem? Type9162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9163 { get; set; } + public global::System.Collections.Generic.IList? Type9163 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionFieldsGameCenterMatchmakingRuleSet? Type9164 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesGetInstanceFieldsGameCenterAchievementRelease? Type9164 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9165 { get; set; } + public global::System.Collections.Generic.IList? Type9165 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionFieldsGameCenterMatchmakingTeam? Type9166 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesGetInstanceFieldsGameCenterDetail? Type9166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9167 { get; set; } + public global::System.Collections.Generic.IList? Type9167 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionFieldsGameCenterMatchmakingRule? Type9168 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesGetInstanceFieldsGameCenterAchievement? Type9168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9169 { get; set; } + public global::System.Collections.Generic.IList? Type9169 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionFieldsGameCenterMatchmakingQueue? Type9170 { get; set; } + public global::AppStoreConnect.GameCenterAchievementReleasesGetInstanceIncludeItem? Type9170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9171 { get; set; } + public global::System.Collections.Generic.IList? Type9171 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionIncludeItem? Type9172 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2GetInstanceFieldsGameCenterAchievementVersion? Type9172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9173 { get; set; } + public global::System.Collections.Generic.IList? Type9173 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceFieldsGameCenterMatchmakingRuleSet? Type9174 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2GetInstanceFieldsGameCenterAchievement? Type9174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9175 { get; set; } + public global::System.Collections.Generic.IList? Type9175 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceFieldsGameCenterMatchmakingTeam? Type9176 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2GetInstanceFieldsGameCenterAchievementLocalization? Type9176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9177 { get; set; } + public global::System.Collections.Generic.IList? Type9177 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceFieldsGameCenterMatchmakingRule? Type9178 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2GetInstanceIncludeItem? Type9178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9179 { get; set; } + public global::System.Collections.Generic.IList? Type9179 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceFieldsGameCenterMatchmakingQueue? Type9180 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterAchievement? Type9180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9181 { get; set; } + public global::System.Collections.Generic.IList? Type9181 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceIncludeItem? Type9182 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterDetail? Type9182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9183 { get; set; } + public global::System.Collections.Generic.IList? Type9183 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotsGetInstanceFieldsInAppPurchaseAppStoreReviewScreenshot? Type9184 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterGroup? Type9184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9185 { get; set; } + public global::System.Collections.Generic.IList? Type9185 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotsGetInstanceFieldsInAppPurchase? Type9186 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterActivitie? Type9186 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9187 { get; set; } + public global::System.Collections.Generic.IList? Type9187 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotsGetInstanceIncludeItem? Type9188 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceFieldsGameCenterAchievementVersion? Type9188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9189 { get; set; } + public global::System.Collections.Generic.IList? Type9189 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilitiesGetInstanceFieldsInAppPurchaseAvailabilitie? Type9190 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2GetInstanceIncludeItem? Type9190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9191 { get; set; } + public global::System.Collections.Generic.IList? Type9191 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilitiesGetInstanceFieldsTerritorie? Type9192 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterAchievement? Type9192 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9193 { get; set; } + public global::System.Collections.Generic.IList? Type9193 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilitiesGetInstanceIncludeItem? Type9194 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterDetail? Type9194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9195 { get; set; } + public global::System.Collections.Generic.IList? Type9195 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentsGetInstanceFieldsInAppPurchaseContent? Type9196 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterGroup? Type9196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9197 { get; set; } + public global::System.Collections.Generic.IList? Type9197 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentsGetInstanceFieldsInAppPurchase? Type9198 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterAchievementLocalization? Type9198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9199 { get; set; } + public global::System.Collections.Generic.IList? Type9199 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseContentsGetInstanceIncludeItem? Type9200 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterAchievementRelease? Type9200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9201 { get; set; } + public global::System.Collections.Generic.IList? Type9201 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImagesGetInstanceFieldsInAppPurchaseImage? Type9202 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGetInstanceFieldsGameCenterActivitie? Type9202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9203 { get; set; } + public global::System.Collections.Generic.IList? Type9203 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImagesGetInstanceFieldsInAppPurchase? Type9204 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGetInstanceIncludeItem? Type9204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9205 { get; set; } + public global::System.Collections.Generic.IList? Type9205 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImagesGetInstanceIncludeItem? Type9206 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterActivitie? Type9206 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9207 { get; set; } + public global::System.Collections.Generic.IList? Type9207 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImagesV2GetInstanceFieldsInAppPurchaseImage? Type9208 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterDetail? Type9208 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9209 { get; set; } + public global::System.Collections.Generic.IList? Type9209 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationsGetInstanceFieldsInAppPurchaseLocalization? Type9210 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterGroup? Type9210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9211 { get; set; } + public global::System.Collections.Generic.IList? Type9211 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationsGetInstanceFieldsInAppPurchase? Type9212 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterAchievement? Type9212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9213 { get; set; } + public global::System.Collections.Generic.IList? Type9213 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationsGetInstanceIncludeItem? Type9214 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterLeaderboard? Type9214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9215 { get; set; } + public global::System.Collections.Generic.IList? Type9215 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationsV2GetInstanceFieldsInAppPurchaseLocalization? Type9216 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesGetInstanceFieldsGameCenterActivityVersion? Type9216 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9217 { get; set; } + public global::System.Collections.Generic.IList? Type9217 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationsV2GetInstanceFieldsInAppPurchaseVersion? Type9218 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesGetInstanceIncludeItem? Type9218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9219 { get; set; } + public global::System.Collections.Generic.IList? Type9219 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationsV2GetInstanceIncludeItem? Type9220 { get; set; } + public global::AppStoreConnect.GameCenterActivityImagesGetInstanceFieldsGameCenterActivityImage? Type9220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9221 { get; set; } + public global::System.Collections.Generic.IList? Type9221 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesGetInstanceFieldsInAppPurchaseOfferCodeCustomCode? Type9222 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationsGetInstanceFieldsGameCenterActivityLocalization? Type9222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9223 { get; set; } + public global::System.Collections.Generic.IList? Type9223 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesGetInstanceFieldsActor? Type9224 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationsGetInstanceFieldsGameCenterActivityVersion? Type9224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9225 { get; set; } + public global::System.Collections.Generic.IList? Type9225 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesGetInstanceIncludeItem? Type9226 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationsGetInstanceFieldsGameCenterActivityImage? Type9226 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9227 { get; set; } + public global::System.Collections.Generic.IList? Type9227 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesGetInstanceFieldsInAppPurchaseOfferCodeOneTimeUseCode? Type9228 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationsGetInstanceIncludeItem? Type9228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9229 { get; set; } + public global::System.Collections.Generic.IList? Type9229 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesGetInstanceFieldsActor? Type9230 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleasesGetInstanceFieldsGameCenterActivityVersionRelease? Type9230 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9231 { get; set; } + public global::System.Collections.Generic.IList? Type9231 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesGetInstanceIncludeItem? Type9232 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleasesGetInstanceFieldsGameCenterActivityVersion? Type9232 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9233 { get; set; } + public global::System.Collections.Generic.IList? Type9233 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceFieldsInAppPurchaseOfferCode? Type9234 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionReleasesGetInstanceIncludeItem? Type9234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9235 { get; set; } + public global::System.Collections.Generic.IList? Type9235 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceFieldsInAppPurchaseOfferCodeOneTimeUseCode? Type9236 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivityVersion? Type9236 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9237 { get; set; } + public global::System.Collections.Generic.IList? Type9237 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceFieldsInAppPurchaseOfferCodeCustomCode? Type9238 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivitie? Type9238 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9239 { get; set; } + public global::System.Collections.Generic.IList? Type9239 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceFieldsInAppPurchaseOfferPrice? Type9240 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivityLocalization? Type9240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9241 { get; set; } + public global::System.Collections.Generic.IList? Type9241 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceIncludeItem? Type9242 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivityImage? Type9242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9243 { get; set; } + public global::System.Collections.Generic.IList? Type9243 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesGetInstanceFieldsInAppPurchasePriceSchedule? Type9244 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceFieldsGameCenterActivityVersionRelease? Type9244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9245 { get; set; } + public global::System.Collections.Generic.IList? Type9245 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesGetInstanceFieldsTerritorie? Type9246 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsGetInstanceIncludeItem? Type9246 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9247 { get; set; } + public global::System.Collections.Generic.IList? Type9247 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesGetInstanceFieldsInAppPurchasePrice? Type9248 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsGetInstanceFieldsGameCenterAppVersion? Type9248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9249 { get; set; } + public global::System.Collections.Generic.IList? Type9249 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesGetInstanceIncludeItem? Type9250 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsGetInstanceFieldsAppStoreVersion? Type9250 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9251 { get; set; } + public global::System.Collections.Generic.IList? Type9251 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceFieldsInAppPurchaseVersion? Type9252 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsGetInstanceIncludeItem? Type9252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9253 { get; set; } + public global::System.Collections.Generic.IList? Type9253 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceFieldsInAppPurchase? Type9254 { get; set; } + public global::AppStoreConnect.GameCenterChallengeImagesGetInstanceFieldsGameCenterChallengeImage? Type9254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9255 { get; set; } + public global::System.Collections.Generic.IList? Type9255 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceFieldsInAppPurchaseImage? Type9256 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationsGetInstanceFieldsGameCenterChallengeLocalization? Type9256 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9257 { get; set; } + public global::System.Collections.Generic.IList? Type9257 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceFieldsInAppPurchaseLocalization? Type9258 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationsGetInstanceFieldsGameCenterChallengeVersion? Type9258 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9259 { get; set; } + public global::System.Collections.Generic.IList? Type9259 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceIncludeItem? Type9260 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationsGetInstanceFieldsGameCenterChallengeImage? Type9260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9261 { get; set; } + public global::System.Collections.Generic.IList? Type9261 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesGetInstanceFieldsInAppPurchase? Type9262 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationsGetInstanceIncludeItem? Type9262 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9263 { get; set; } + public global::System.Collections.Generic.IList? Type9263 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesGetInstanceFieldsApp? Type9264 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleasesGetInstanceFieldsGameCenterChallengeVersionRelease? Type9264 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9265 { get; set; } + public global::System.Collections.Generic.IList? Type9265 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesGetInstanceIncludeItem? Type9266 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleasesGetInstanceFieldsGameCenterChallengeVersion? Type9266 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9267 { get; set; } + public global::System.Collections.Generic.IList? Type9267 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchase? Type9268 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionReleasesGetInstanceIncludeItem? Type9268 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9269 { get; set; } + public global::System.Collections.Generic.IList? Type9269 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseLocalization? Type9270 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallengeVersion? Type9270 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9271 { get; set; } + public global::System.Collections.Generic.IList? Type9271 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchasePricePoint? Type9272 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallenge? Type9272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9273 { get; set; } + public global::System.Collections.Generic.IList? Type9273 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseContent? Type9274 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallengeLocalization? Type9274 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9275 { get; set; } + public global::System.Collections.Generic.IList? Type9275 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseAppStoreReviewScreenshot? Type9276 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallengeVersionRelease? Type9276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9277 { get; set; } + public global::System.Collections.Generic.IList? Type9277 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsPromotedPurchase? Type9278 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceFieldsGameCenterChallengeImage? Type9278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9279 { get; set; } + public global::System.Collections.Generic.IList? Type9279 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchasePriceSchedule? Type9280 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsGetInstanceIncludeItem? Type9280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9281 { get; set; } + public global::System.Collections.Generic.IList? Type9281 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseAvailabilitie? Type9282 { get; set; } + public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterChallenge? Type9282 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9283 { get; set; } + public global::System.Collections.Generic.IList? Type9283 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseImage? Type9284 { get; set; } + public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterDetail? Type9284 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9285 { get; set; } + public global::System.Collections.Generic.IList? Type9285 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseOfferCode? Type9286 { get; set; } + public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterGroup? Type9286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9287 { get; set; } + public global::System.Collections.Generic.IList? Type9287 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseVersion? Type9288 { get; set; } + public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterChallengeVersion? Type9288 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9289 { get; set; } + public global::System.Collections.Generic.IList? Type9289 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2GetInstanceIncludeItem? Type9290 { get; set; } + public global::AppStoreConnect.GameCenterChallengesGetInstanceFieldsGameCenterLeaderboard? Type9290 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9291 { get; set; } + public global::System.Collections.Generic.IList? Type9291 { get; set; } /// /// /// - public global::AppStoreConnect.MarketplaceWebhooksGetCollectionFieldsMarketplaceWebhook? Type9292 { get; set; } + public global::AppStoreConnect.GameCenterChallengesGetInstanceIncludeItem? Type9292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9293 { get; set; } + public global::System.Collections.Generic.IList? Type9293 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsGetCollectionSortItem? Type9294 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterDetail? Type9294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9295 { get; set; } + public global::System.Collections.Generic.IList? Type9295 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsGetCollectionFieldsMerchantId? Type9296 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsApp? Type9296 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9297 { get; set; } + public global::System.Collections.Generic.IList? Type9297 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsGetCollectionFieldsCertificate? Type9298 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterAppVersion? Type9298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9299 { get; set; } + public global::System.Collections.Generic.IList? Type9299 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsGetCollectionIncludeItem? Type9300 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterGroup? Type9300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9301 { get; set; } + public global::System.Collections.Generic.IList? Type9301 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsGetInstanceFieldsMerchantId? Type9302 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterLeaderboard? Type9302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9303 { get; set; } + public global::System.Collections.Generic.IList? Type9303 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsGetInstanceFieldsCertificate? Type9304 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterLeaderboardSet? Type9304 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9305 { get; set; } + public global::System.Collections.Generic.IList? Type9305 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsGetInstanceIncludeItem? Type9306 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterAchievement? Type9306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9307 { get; set; } + public global::System.Collections.Generic.IList? Type9307 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetCollectionFilterTypeItem? Type9308 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterActivitie? Type9308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9309 { get; set; } + public global::System.Collections.Generic.IList? Type9309 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetCollectionFilterStateItem? Type9310 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterChallenge? Type9310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9311 { get; set; } + public global::System.Collections.Generic.IList? Type9311 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetCollectionSortItem? Type9312 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterAchievementRelease? Type9312 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9313 { get; set; } + public global::System.Collections.Generic.IList? Type9313 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetCollectionFieldsNomination? Type9314 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterActivityVersionRelease? Type9314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9315 { get; set; } + public global::System.Collections.Generic.IList? Type9315 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetCollectionFieldsApp? Type9316 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterChallengeVersionRelease? Type9316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9317 { get; set; } + public global::System.Collections.Generic.IList? Type9317 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetCollectionFieldsActor? Type9318 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterLeaderboardRelease? Type9318 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9319 { get; set; } + public global::System.Collections.Generic.IList? Type9319 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetCollectionFieldsAppEvent? Type9320 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsGameCenterLeaderboardSetRelease? Type9320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9321 { get; set; } + public global::System.Collections.Generic.IList? Type9321 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetCollectionFieldsTerritorie? Type9322 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceFieldsAppStoreVersion? Type9322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9323 { get; set; } + public global::System.Collections.Generic.IList? Type9323 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetCollectionIncludeItem? Type9324 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGetInstanceIncludeItem? Type9324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9325 { get; set; } + public global::System.Collections.Generic.IList? Type9325 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetInstanceFieldsNomination? Type9326 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterGroup? Type9326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9327 { get; set; } + public global::System.Collections.Generic.IList? Type9327 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetInstanceFieldsApp? Type9328 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterDetail? Type9328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9329 { get; set; } + public global::System.Collections.Generic.IList? Type9329 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetInstanceFieldsActor? Type9330 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterLeaderboard? Type9330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9331 { get; set; } + public global::System.Collections.Generic.IList? Type9331 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetInstanceFieldsAppEvent? Type9332 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterLeaderboardSet? Type9332 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9333 { get; set; } + public global::System.Collections.Generic.IList? Type9333 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetInstanceFieldsTerritorie? Type9334 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterAchievement? Type9334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9335 { get; set; } + public global::System.Collections.Generic.IList? Type9335 { get; set; } /// /// /// - public global::AppStoreConnect.NominationsGetInstanceIncludeItem? Type9336 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterActivitie? Type9336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9337 { get; set; } + public global::System.Collections.Generic.IList? Type9337 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsGetCollectionSortItem? Type9338 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetCollectionFieldsGameCenterChallenge? Type9338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9339 { get; set; } + public global::System.Collections.Generic.IList? Type9339 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsGetCollectionFieldsPassTypeId? Type9340 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetCollectionIncludeItem? Type9340 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9341 { get; set; } + public global::System.Collections.Generic.IList? Type9341 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsGetCollectionFieldsCertificate? Type9342 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterGroup? Type9342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9343 { get; set; } + public global::System.Collections.Generic.IList? Type9343 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsGetCollectionIncludeItem? Type9344 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterDetail? Type9344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9345 { get; set; } + public global::System.Collections.Generic.IList? Type9345 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsGetInstanceFieldsPassTypeId? Type9346 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterLeaderboard? Type9346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9347 { get; set; } + public global::System.Collections.Generic.IList? Type9347 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsGetInstanceFieldsCertificate? Type9348 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterLeaderboardSet? Type9348 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9349 { get; set; } + public global::System.Collections.Generic.IList? Type9349 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsGetInstanceIncludeItem? Type9350 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterAchievement? Type9350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9351 { get; set; } + public global::System.Collections.Generic.IList? Type9351 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetCollectionFilterBuildsBuildAudienceTypeItem? Type9352 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterActivitie? Type9352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9353 { get; set; } + public global::System.Collections.Generic.IList? Type9353 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetCollectionFilterBuildsProcessingStateItem? Type9354 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetInstanceFieldsGameCenterChallenge? Type9354 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9355 { get; set; } + public global::System.Collections.Generic.IList? Type9355 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetCollectionFilterPlatformItem? Type9356 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGetInstanceIncludeItem? Type9356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9357 { get; set; } + public global::System.Collections.Generic.IList? Type9357 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetCollectionSortItem? Type9358 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImagesGetInstanceFieldsGameCenterLeaderboardImage? Type9358 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9359 { get; set; } + public global::System.Collections.Generic.IList? Type9359 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetCollectionFieldsPreReleaseVersion? Type9360 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImagesGetInstanceFieldsGameCenterLeaderboardLocalization? Type9360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9361 { get; set; } + public global::System.Collections.Generic.IList? Type9361 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetCollectionFieldsBuild? Type9362 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImagesGetInstanceIncludeItem? Type9362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9363 { get; set; } + public global::System.Collections.Generic.IList? Type9363 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetCollectionFieldsApp? Type9364 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImagesV2GetInstanceFieldsGameCenterLeaderboardImage? Type9364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9365 { get; set; } + public global::System.Collections.Generic.IList? Type9365 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetCollectionIncludeItem? Type9366 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImagesV2GetInstanceFieldsGameCenterLeaderboardLocalization? Type9366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9367 { get; set; } + public global::System.Collections.Generic.IList? Type9367 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetInstanceFieldsPreReleaseVersion? Type9368 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardImagesV2GetInstanceIncludeItem? Type9368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9369 { get; set; } + public global::System.Collections.Generic.IList? Type9369 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetInstanceFieldsBuild? Type9370 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGetInstanceFieldsGameCenterLeaderboardLocalization? Type9370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9371 { get; set; } + public global::System.Collections.Generic.IList? Type9371 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetInstanceFieldsApp? Type9372 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGetInstanceFieldsGameCenterLeaderboard? Type9372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9373 { get; set; } + public global::System.Collections.Generic.IList? Type9373 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsGetInstanceIncludeItem? Type9374 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGetInstanceFieldsGameCenterLeaderboardImage? Type9374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9375 { get; set; } + public global::System.Collections.Generic.IList? Type9375 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetCollectionFilterProfileTypeItem? Type9376 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGetInstanceIncludeItem? Type9376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9377 { get; set; } + public global::System.Collections.Generic.IList? Type9377 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetCollectionFilterProfileStateItem? Type9378 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2GetInstanceFieldsGameCenterLeaderboardLocalization? Type9378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9379 { get; set; } + public global::System.Collections.Generic.IList? Type9379 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetCollectionSortItem? Type9380 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2GetInstanceFieldsGameCenterLeaderboardVersion? Type9380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9381 { get; set; } + public global::System.Collections.Generic.IList? Type9381 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetCollectionFieldsProfile? Type9382 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2GetInstanceFieldsGameCenterLeaderboardImage? Type9382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9383 { get; set; } + public global::System.Collections.Generic.IList? Type9383 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetCollectionFieldsBundleId? Type9384 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2GetInstanceIncludeItem? Type9384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9385 { get; set; } + public global::System.Collections.Generic.IList? Type9385 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetCollectionFieldsDevice? Type9386 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesGetInstanceFieldsGameCenterLeaderboardRelease? Type9386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9387 { get; set; } + public global::System.Collections.Generic.IList? Type9387 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetCollectionFieldsCertificate? Type9388 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesGetInstanceFieldsGameCenterDetail? Type9388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9389 { get; set; } + public global::System.Collections.Generic.IList? Type9389 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetCollectionIncludeItem? Type9390 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesGetInstanceFieldsGameCenterLeaderboard? Type9390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9391 { get; set; } + public global::System.Collections.Generic.IList? Type9391 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetInstanceFieldsProfile? Type9392 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesGetInstanceIncludeItem? Type9392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9393 { get; set; } + public global::System.Collections.Generic.IList? Type9393 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetInstanceFieldsBundleId? Type9394 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImagesGetInstanceFieldsGameCenterLeaderboardSetImage? Type9394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9395 { get; set; } + public global::System.Collections.Generic.IList? Type9395 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetInstanceFieldsDevice? Type9396 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImagesGetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9397 { get; set; } + public global::System.Collections.Generic.IList? Type9397 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetInstanceFieldsCertificate? Type9398 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImagesGetInstanceIncludeItem? Type9398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9399 { get; set; } + public global::System.Collections.Generic.IList? Type9399 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesGetInstanceIncludeItem? Type9400 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImagesV2GetInstanceFieldsGameCenterLeaderboardSetImage? Type9400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9401 { get; set; } + public global::System.Collections.Generic.IList? Type9401 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchasesGetInstanceFieldsPromotedPurchase? Type9402 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImagesV2GetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9403 { get; set; } + public global::System.Collections.Generic.IList? Type9403 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchasesGetInstanceFieldsInAppPurchase? Type9404 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetImagesV2GetInstanceIncludeItem? Type9404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9405 { get; set; } + public global::System.Collections.Generic.IList? Type9405 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchasesGetInstanceFieldsSubscription? Type9406 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9407 { get; set; } + public global::System.Collections.Generic.IList? Type9407 { get; set; } /// /// /// - public global::AppStoreConnect.PromotedPurchasesGetInstanceIncludeItem? Type9408 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGetInstanceFieldsGameCenterLeaderboardSet? Type9408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9409 { get; set; } + public global::System.Collections.Generic.IList? Type9409 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetCollectionFilterPlatformItem? Type9410 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGetInstanceFieldsGameCenterLeaderboardSetImage? Type9410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9411 { get; set; } + public global::System.Collections.Generic.IList? Type9411 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetCollectionFilterStateItem? Type9412 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGetInstanceIncludeItem? Type9412 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9413 { get; set; } + public global::System.Collections.Generic.IList? Type9413 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsReviewSubmission? Type9414 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2GetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9414 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9415 { get; set; } + public global::System.Collections.Generic.IList? Type9415 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsApp? Type9416 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2GetInstanceFieldsGameCenterLeaderboardSetVersion? Type9416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9417 { get; set; } + public global::System.Collections.Generic.IList? Type9417 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem? Type9418 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2GetInstanceFieldsGameCenterLeaderboardSetImage? Type9418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9419 { get; set; } + public global::System.Collections.Generic.IList? Type9419 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsAppStoreVersion? Type9420 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2GetInstanceIncludeItem? Type9420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9421 { get; set; } + public global::System.Collections.Generic.IList? Type9421 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsActor? Type9422 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGetCollectionFieldsGameCenterLeaderboardSetMemberLocalization? Type9422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9423 { get; set; } + public global::System.Collections.Generic.IList? Type9423 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetCollectionIncludeItem? Type9424 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGetCollectionFieldsGameCenterLeaderboardSet? Type9424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9425 { get; set; } + public global::System.Collections.Generic.IList? Type9425 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsReviewSubmission? Type9426 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGetCollectionFieldsGameCenterLeaderboard? Type9426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9427 { get; set; } + public global::System.Collections.Generic.IList? Type9427 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsApp? Type9428 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGetCollectionIncludeItem? Type9428 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9429 { get; set; } + public global::System.Collections.Generic.IList? Type9429 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem? Type9430 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesGetInstanceFieldsGameCenterLeaderboardSetRelease? Type9430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9431 { get; set; } + public global::System.Collections.Generic.IList? Type9431 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsAppStoreVersion? Type9432 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesGetInstanceFieldsGameCenterDetail? Type9432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9433 { get; set; } + public global::System.Collections.Generic.IList? Type9433 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsActor? Type9434 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesGetInstanceFieldsGameCenterLeaderboardSet? Type9434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9435 { get; set; } + public global::System.Collections.Generic.IList? Type9435 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsGetInstanceIncludeItem? Type9436 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesGetInstanceIncludeItem? Type9436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9437 { get; set; } + public global::System.Collections.Generic.IList? Type9437 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoveragesGetInstanceFieldsRoutingAppCoverage? Type9438 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2GetInstanceFieldsGameCenterLeaderboardSetVersion? Type9438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9439 { get; set; } + public global::System.Collections.Generic.IList? Type9439 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoveragesGetInstanceFieldsAppStoreVersion? Type9440 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2GetInstanceFieldsGameCenterLeaderboardSet? Type9440 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9441 { get; set; } + public global::System.Collections.Generic.IList? Type9441 { get; set; } /// /// /// - public global::AppStoreConnect.RoutingAppCoveragesGetInstanceIncludeItem? Type9442 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2GetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9443 { get; set; } + public global::System.Collections.Generic.IList? Type9443 { get; set; } /// /// /// - public global::AppStoreConnect.SalesReportsGetCollectionFilterReportTypeItem? Type9444 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2GetInstanceIncludeItem? Type9444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9445 { get; set; } + public global::System.Collections.Generic.IList? Type9445 { get; set; } /// /// /// - public global::AppStoreConnect.SalesReportsGetCollectionFilterReportSubTypeItem? Type9446 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterLeaderboardSet? Type9446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9447 { get; set; } + public global::System.Collections.Generic.IList? Type9447 { get; set; } /// /// /// - public global::AppStoreConnect.SalesReportsGetCollectionFilterFrequencyItem? Type9448 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterDetail? Type9448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9449 { get; set; } + public global::System.Collections.Generic.IList? Type9449 { get; set; } /// /// /// - public global::AppStoreConnect.SandboxTestersV2GetCollectionFieldsSandboxTester? Type9450 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterGroup? Type9450 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9451 { get; set; } + public global::System.Collections.Generic.IList? Type9451 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferencesGetInstanceFieldsScmGitReference? Type9452 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterLeaderboard? Type9452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9453 { get; set; } + public global::System.Collections.Generic.IList? Type9453 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferencesGetInstanceFieldsScmRepositorie? Type9454 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceFieldsGameCenterLeaderboardSetVersion? Type9454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9455 { get; set; } + public global::System.Collections.Generic.IList? Type9455 { get; set; } /// /// /// - public global::AppStoreConnect.ScmGitReferencesGetInstanceIncludeItem? Type9456 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GetInstanceIncludeItem? Type9456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9457 { get; set; } + public global::System.Collections.Generic.IList? Type9457 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProvidersGetCollectionFieldsScmProvider? Type9458 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterLeaderboardSet? Type9458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9459 { get; set; } + public global::System.Collections.Generic.IList? Type9459 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProvidersGetInstanceFieldsScmProvider? Type9460 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterDetail? Type9460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9461 { get; set; } + public global::System.Collections.Generic.IList? Type9461 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestsGetInstanceFieldsScmPullRequest? Type9462 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterGroup? Type9462 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9463 { get; set; } + public global::System.Collections.Generic.IList? Type9463 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestsGetInstanceFieldsScmRepositorie? Type9464 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterLeaderboardSetLocalization? Type9464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9465 { get; set; } + public global::System.Collections.Generic.IList? Type9465 { get; set; } /// /// /// - public global::AppStoreConnect.ScmPullRequestsGetInstanceIncludeItem? Type9466 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterLeaderboard? Type9466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9467 { get; set; } + public global::System.Collections.Generic.IList? Type9467 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGetCollectionFieldsScmRepositorie? Type9468 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceFieldsGameCenterLeaderboardSetRelease? Type9468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9469 { get; set; } + public global::System.Collections.Generic.IList? Type9469 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGetCollectionFieldsScmProvider? Type9470 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGetInstanceIncludeItem? Type9470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9471 { get; set; } + public global::System.Collections.Generic.IList? Type9471 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGetCollectionFieldsScmGitReference? Type9472 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2GetInstanceFieldsGameCenterLeaderboardVersion? Type9472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9473 { get; set; } + public global::System.Collections.Generic.IList? Type9473 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGetCollectionIncludeItem? Type9474 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2GetInstanceFieldsGameCenterLeaderboard? Type9474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9475 { get; set; } + public global::System.Collections.Generic.IList? Type9475 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGetInstanceFieldsScmRepositorie? Type9476 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2GetInstanceFieldsGameCenterLeaderboardLocalization? Type9476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9477 { get; set; } + public global::System.Collections.Generic.IList? Type9477 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGetInstanceFieldsScmProvider? Type9478 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2GetInstanceIncludeItem? Type9478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9479 { get; set; } + public global::System.Collections.Generic.IList? Type9479 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGetInstanceFieldsScmGitReference? Type9480 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterLeaderboard? Type9480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9481 { get; set; } + public global::System.Collections.Generic.IList? Type9481 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGetInstanceIncludeItem? Type9482 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterDetail? Type9482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9483 { get; set; } + public global::System.Collections.Generic.IList? Type9483 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotsGetInstanceFieldsSubscriptionAppStoreReviewScreenshot? Type9484 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterGroup? Type9484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9485 { get; set; } + public global::System.Collections.Generic.IList? Type9485 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotsGetInstanceFieldsSubscription? Type9486 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterLeaderboardSet? Type9486 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9487 { get; set; } + public global::System.Collections.Generic.IList? Type9487 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotsGetInstanceIncludeItem? Type9488 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterLeaderboardLocalization? Type9488 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9489 { get; set; } + public global::System.Collections.Generic.IList? Type9489 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilitiesGetInstanceFieldsSubscriptionAvailabilitie? Type9490 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterLeaderboardRelease? Type9490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9491 { get; set; } + public global::System.Collections.Generic.IList? Type9491 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilitiesGetInstanceFieldsTerritorie? Type9492 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterActivitie? Type9492 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9493 { get; set; } + public global::System.Collections.Generic.IList? Type9493 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilitiesGetInstanceIncludeItem? Type9494 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceFieldsGameCenterChallenge? Type9494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9495 { get; set; } + public global::System.Collections.Generic.IList? Type9495 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGracePeriodsGetInstanceFieldsSubscriptionGracePeriod? Type9496 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGetInstanceIncludeItem? Type9496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9497 { get; set; } + public global::System.Collections.Generic.IList? Type9497 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationsV2GetInstanceFieldsSubscriptionGroupLocalization? Type9498 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterLeaderboard? Type9498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9499 { get; set; } + public global::System.Collections.Generic.IList? Type9499 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationsV2GetInstanceFieldsSubscriptionGroupVersion? Type9500 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterDetail? Type9500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9501 { get; set; } + public global::System.Collections.Generic.IList? Type9501 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationsV2GetInstanceIncludeItem? Type9502 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterGroup? Type9502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9503 { get; set; } + public global::System.Collections.Generic.IList? Type9503 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationsGetInstanceFieldsSubscriptionGroupLocalization? Type9504 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterLeaderboardSet? Type9504 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9505 { get; set; } + public global::System.Collections.Generic.IList? Type9505 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationsGetInstanceFieldsSubscriptionGroup? Type9506 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterActivitie? Type9506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9507 { get; set; } + public global::System.Collections.Generic.IList? Type9507 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationsGetInstanceIncludeItem? Type9508 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterChallenge? Type9508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9509 { get; set; } + public global::System.Collections.Generic.IList? Type9509 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsGetInstanceFieldsSubscriptionGroupVersion? Type9510 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceFieldsGameCenterLeaderboardVersion? Type9510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9511 { get; set; } + public global::System.Collections.Generic.IList? Type9511 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsGetInstanceFieldsSubscriptionGroup? Type9512 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsV2GetInstanceIncludeItem? Type9512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9513 { get; set; } + public global::System.Collections.Generic.IList? Type9513 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsGetInstanceFieldsSubscriptionGroupLocalization? Type9514 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueuesGetCollectionFieldsGameCenterMatchmakingQueue? Type9514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9515 { get; set; } + public global::System.Collections.Generic.IList? Type9515 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsGetInstanceIncludeItem? Type9516 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueuesGetCollectionFieldsGameCenterMatchmakingRuleSet? Type9516 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9517 { get; set; } + public global::System.Collections.Generic.IList? Type9517 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsGetInstanceFieldsSubscriptionGroup? Type9518 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueuesGetCollectionIncludeItem? Type9518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9519 { get; set; } + public global::System.Collections.Generic.IList? Type9519 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsGetInstanceFieldsSubscription? Type9520 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueuesGetInstanceFieldsGameCenterMatchmakingQueue? Type9520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9521 { get; set; } + public global::System.Collections.Generic.IList? Type9521 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsGetInstanceFieldsSubscriptionGroupLocalization? Type9522 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueuesGetInstanceFieldsGameCenterMatchmakingRuleSet? Type9522 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9523 { get; set; } + public global::System.Collections.Generic.IList? Type9523 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsGetInstanceFieldsSubscriptionGroupVersion? Type9524 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingQueuesGetInstanceIncludeItem? Type9524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9525 { get; set; } + public global::System.Collections.Generic.IList? Type9525 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsGetInstanceIncludeItem? Type9526 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionFieldsGameCenterMatchmakingRuleSet? Type9526 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9527 { get; set; } + public global::System.Collections.Generic.IList? Type9527 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImagesGetInstanceFieldsSubscriptionImage? Type9528 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionFieldsGameCenterMatchmakingTeam? Type9528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9529 { get; set; } + public global::System.Collections.Generic.IList? Type9529 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImagesGetInstanceFieldsSubscription? Type9530 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionFieldsGameCenterMatchmakingRule? Type9530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9531 { get; set; } + public global::System.Collections.Generic.IList? Type9531 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImagesGetInstanceIncludeItem? Type9532 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionFieldsGameCenterMatchmakingQueue? Type9532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9533 { get; set; } + public global::System.Collections.Generic.IList? Type9533 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionImagesV2GetInstanceFieldsSubscriptionImage? Type9534 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetCollectionIncludeItem? Type9534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9535 { get; set; } + public global::System.Collections.Generic.IList? Type9535 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationsV2GetInstanceFieldsSubscriptionLocalization? Type9536 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceFieldsGameCenterMatchmakingRuleSet? Type9536 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9537 { get; set; } + public global::System.Collections.Generic.IList? Type9537 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationsV2GetInstanceFieldsSubscriptionVersion? Type9538 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceFieldsGameCenterMatchmakingTeam? Type9538 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9539 { get; set; } + public global::System.Collections.Generic.IList? Type9539 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationsV2GetInstanceIncludeItem? Type9540 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceFieldsGameCenterMatchmakingRule? Type9540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9541 { get; set; } + public global::System.Collections.Generic.IList? Type9541 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationsGetInstanceFieldsSubscriptionLocalization? Type9542 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceFieldsGameCenterMatchmakingQueue? Type9542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9543 { get; set; } + public global::System.Collections.Generic.IList? Type9543 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationsGetInstanceFieldsSubscription? Type9544 { get; set; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsGetInstanceIncludeItem? Type9544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9545 { get; set; } + public global::System.Collections.Generic.IList? Type9545 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionLocalizationsGetInstanceIncludeItem? Type9546 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotsGetInstanceFieldsInAppPurchaseAppStoreReviewScreenshot? Type9546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9547 { get; set; } + public global::System.Collections.Generic.IList? Type9547 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesGetInstanceFieldsSubscriptionOfferCodeCustomCode? Type9548 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotsGetInstanceFieldsInAppPurchase? Type9548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9549 { get; set; } + public global::System.Collections.Generic.IList? Type9549 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesGetInstanceFieldsSubscriptionOfferCode? Type9550 { get; set; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshotsGetInstanceIncludeItem? Type9550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9551 { get; set; } + public global::System.Collections.Generic.IList? Type9551 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesGetInstanceIncludeItem? Type9552 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilitiesGetInstanceFieldsInAppPurchaseAvailabilitie? Type9552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9553 { get; set; } + public global::System.Collections.Generic.IList? Type9553 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesGetInstanceFieldsSubscriptionOfferCodeOneTimeUseCode? Type9554 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilitiesGetInstanceFieldsTerritorie? Type9554 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9555 { get; set; } + public global::System.Collections.Generic.IList? Type9555 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesGetInstanceFieldsSubscriptionOfferCode? Type9556 { get; set; } + public global::AppStoreConnect.InAppPurchaseAvailabilitiesGetInstanceIncludeItem? Type9556 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9557 { get; set; } + public global::System.Collections.Generic.IList? Type9557 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesGetInstanceIncludeItem? Type9558 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentsGetInstanceFieldsInAppPurchaseContent? Type9558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9559 { get; set; } + public global::System.Collections.Generic.IList? Type9559 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscriptionOfferCode? Type9560 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentsGetInstanceFieldsInAppPurchase? Type9560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9561 { get; set; } + public global::System.Collections.Generic.IList? Type9561 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscription? Type9562 { get; set; } + public global::AppStoreConnect.InAppPurchaseContentsGetInstanceIncludeItem? Type9562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9563 { get; set; } + public global::System.Collections.Generic.IList? Type9563 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscriptionOfferCodeOneTimeUseCode? Type9564 { get; set; } + public global::AppStoreConnect.InAppPurchaseImagesGetInstanceFieldsInAppPurchaseImage? Type9564 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9565 { get; set; } + public global::System.Collections.Generic.IList? Type9565 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscriptionOfferCodeCustomCode? Type9566 { get; set; } + public global::AppStoreConnect.InAppPurchaseImagesGetInstanceFieldsInAppPurchase? Type9566 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9567 { get; set; } + public global::System.Collections.Generic.IList? Type9567 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscriptionOfferCodePrice? Type9568 { get; set; } + public global::AppStoreConnect.InAppPurchaseImagesGetInstanceIncludeItem? Type9568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9569 { get; set; } + public global::System.Collections.Generic.IList? Type9569 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceIncludeItem? Type9570 { get; set; } + public global::AppStoreConnect.InAppPurchaseImagesV2GetInstanceFieldsInAppPurchaseImage? Type9570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9571 { get; set; } + public global::System.Collections.Generic.IList? Type9571 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilitiesGetInstanceFieldsSubscriptionPlanAvailabilitie? Type9572 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationsGetInstanceFieldsInAppPurchaseLocalization? Type9572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9573 { get; set; } + public global::System.Collections.Generic.IList? Type9573 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilitiesGetInstanceFieldsTerritorie? Type9574 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationsGetInstanceFieldsInAppPurchase? Type9574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9575 { get; set; } + public global::System.Collections.Generic.IList? Type9575 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilitiesGetInstanceIncludeItem? Type9576 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationsGetInstanceIncludeItem? Type9576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9577 { get; set; } + public global::System.Collections.Generic.IList? Type9577 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsGetInstanceFieldsSubscriptionPricePoint? Type9578 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationsV2GetInstanceFieldsInAppPurchaseLocalization? Type9578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9579 { get; set; } + public global::System.Collections.Generic.IList? Type9579 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsGetInstanceFieldsTerritorie? Type9580 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationsV2GetInstanceFieldsInAppPurchaseVersion? Type9580 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9581 { get; set; } + public global::System.Collections.Generic.IList? Type9581 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsGetInstanceIncludeItem? Type9582 { get; set; } + public global::AppStoreConnect.InAppPurchaseLocalizationsV2GetInstanceIncludeItem? Type9582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9583 { get; set; } + public global::System.Collections.Generic.IList? Type9583 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersGetInstanceFieldsSubscriptionPromotionalOffer? Type9584 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesGetInstanceFieldsInAppPurchaseOfferCodeCustomCode? Type9584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9585 { get; set; } + public global::System.Collections.Generic.IList? Type9585 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersGetInstanceFieldsSubscription? Type9586 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesGetInstanceFieldsActor? Type9586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9587 { get; set; } + public global::System.Collections.Generic.IList? Type9587 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersGetInstanceFieldsSubscriptionPromotionalOfferPrice? Type9588 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCodesGetInstanceIncludeItem? Type9588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9589 { get; set; } + public global::System.Collections.Generic.IList? Type9589 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersGetInstanceIncludeItem? Type9590 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesGetInstanceFieldsInAppPurchaseOfferCodeOneTimeUseCode? Type9590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9591 { get; set; } + public global::System.Collections.Generic.IList? Type9591 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsGetInstanceFieldsSubscriptionVersion? Type9592 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesGetInstanceFieldsActor? Type9592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9593 { get; set; } + public global::System.Collections.Generic.IList? Type9593 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsGetInstanceFieldsSubscription? Type9594 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCodesGetInstanceIncludeItem? Type9594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9595 { get; set; } + public global::System.Collections.Generic.IList? Type9595 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsGetInstanceFieldsSubscriptionImage? Type9596 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceFieldsInAppPurchaseOfferCode? Type9596 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9597 { get; set; } + public global::System.Collections.Generic.IList? Type9597 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsGetInstanceFieldsSubscriptionLocalization? Type9598 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceFieldsInAppPurchaseOfferCodeOneTimeUseCode? Type9598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9599 { get; set; } + public global::System.Collections.Generic.IList? Type9599 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsGetInstanceIncludeItem? Type9600 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceFieldsInAppPurchaseOfferCodeCustomCode? Type9600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9601 { get; set; } + public global::System.Collections.Generic.IList? Type9601 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscription? Type9602 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceFieldsInAppPurchaseOfferPrice? Type9602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9603 { get; set; } + public global::System.Collections.Generic.IList? Type9603 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionLocalization? Type9604 { get; set; } + public global::AppStoreConnect.InAppPurchaseOfferCodesGetInstanceIncludeItem? Type9604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9605 { get; set; } + public global::System.Collections.Generic.IList? Type9605 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionAppStoreReviewScreenshot? Type9606 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceSchedulesGetInstanceFieldsInAppPurchasePriceSchedule? Type9606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9607 { get; set; } + public global::System.Collections.Generic.IList? Type9607 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionGroup? Type9608 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceSchedulesGetInstanceFieldsTerritorie? Type9608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9609 { get; set; } + public global::System.Collections.Generic.IList? Type9609 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionIntroductoryOffer? Type9610 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceSchedulesGetInstanceFieldsInAppPurchasePrice? Type9610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9611 { get; set; } + public global::System.Collections.Generic.IList? Type9611 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionPromotionalOffer? Type9612 { get; set; } + public global::AppStoreConnect.InAppPurchasePriceSchedulesGetInstanceIncludeItem? Type9612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9613 { get; set; } + public global::System.Collections.Generic.IList? Type9613 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionOfferCode? Type9614 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceFieldsInAppPurchaseVersion? Type9614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9615 { get; set; } + public global::System.Collections.Generic.IList? Type9615 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionPrice? Type9616 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceFieldsInAppPurchase? Type9616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9617 { get; set; } + public global::System.Collections.Generic.IList? Type9617 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsPromotedPurchase? Type9618 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceFieldsInAppPurchaseImage? Type9618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9619 { get; set; } + public global::System.Collections.Generic.IList? Type9619 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionAvailabilitie? Type9620 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceFieldsInAppPurchaseLocalization? Type9620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9621 { get; set; } + public global::System.Collections.Generic.IList? Type9621 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsWinBackOffer? Type9622 { get; set; } + public global::AppStoreConnect.InAppPurchaseVersionsGetInstanceIncludeItem? Type9622 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9623 { get; set; } + public global::System.Collections.Generic.IList? Type9623 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionImage? Type9624 { get; set; } + public global::AppStoreConnect.InAppPurchasesGetInstanceFieldsInAppPurchase? Type9624 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9625 { get; set; } + public global::System.Collections.Generic.IList? Type9625 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionPlanAvailabilitie? Type9626 { get; set; } + public global::AppStoreConnect.InAppPurchasesGetInstanceFieldsApp? Type9626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9627 { get; set; } + public global::System.Collections.Generic.IList? Type9627 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionVersion? Type9628 { get; set; } + public global::AppStoreConnect.InAppPurchasesGetInstanceIncludeItem? Type9628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9629 { get; set; } + public global::System.Collections.Generic.IList? Type9629 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsGetInstanceIncludeItem? Type9630 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchase? Type9630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9631 { get; set; } + public global::System.Collections.Generic.IList? Type9631 { get; set; } /// /// /// - public global::AppStoreConnect.TerritoriesGetCollectionFieldsTerritorie? Type9632 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseLocalization? Type9632 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9633 { get; set; } + public global::System.Collections.Generic.IList? Type9633 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsGetCollectionFilterRole? Type9634 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchasePricePoint? Type9634 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9635 { get; set; } + public global::System.Collections.Generic.IList? Type9635 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsGetCollectionSortItem? Type9636 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseContent? Type9636 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9637 { get; set; } + public global::System.Collections.Generic.IList? Type9637 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsGetCollectionFieldsUserInvitation? Type9638 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseAppStoreReviewScreenshot? Type9638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9639 { get; set; } + public global::System.Collections.Generic.IList? Type9639 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsGetCollectionFieldsApp? Type9640 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsPromotedPurchase? Type9640 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9641 { get; set; } + public global::System.Collections.Generic.IList? Type9641 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsGetCollectionIncludeItem? Type9642 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchasePriceSchedule? Type9642 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9643 { get; set; } + public global::System.Collections.Generic.IList? Type9643 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsGetInstanceFieldsUserInvitation? Type9644 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseAvailabilitie? Type9644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9645 { get; set; } + public global::System.Collections.Generic.IList? Type9645 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsGetInstanceFieldsApp? Type9646 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseImage? Type9646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9647 { get; set; } + public global::System.Collections.Generic.IList? Type9647 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsGetInstanceIncludeItem? Type9648 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseOfferCode? Type9648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9649 { get; set; } + public global::System.Collections.Generic.IList? Type9649 { get; set; } /// /// /// - public global::AppStoreConnect.UsersGetCollectionFilterRole? Type9650 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceFieldsInAppPurchaseVersion? Type9650 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9651 { get; set; } + public global::System.Collections.Generic.IList? Type9651 { get; set; } /// /// /// - public global::AppStoreConnect.UsersGetCollectionSortItem? Type9652 { get; set; } + public global::AppStoreConnect.InAppPurchasesV2GetInstanceIncludeItem? Type9652 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9653 { get; set; } + public global::System.Collections.Generic.IList? Type9653 { get; set; } /// /// /// - public global::AppStoreConnect.UsersGetCollectionFieldsUser? Type9654 { get; set; } + public global::AppStoreConnect.MarketplaceWebhooksGetCollectionFieldsMarketplaceWebhook? Type9654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9655 { get; set; } + public global::System.Collections.Generic.IList? Type9655 { get; set; } /// /// /// - public global::AppStoreConnect.UsersGetCollectionFieldsApp? Type9656 { get; set; } + public global::AppStoreConnect.MerchantIdsGetCollectionSortItem? Type9656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9657 { get; set; } + public global::System.Collections.Generic.IList? Type9657 { get; set; } /// /// /// - public global::AppStoreConnect.UsersGetCollectionIncludeItem? Type9658 { get; set; } + public global::AppStoreConnect.MerchantIdsGetCollectionFieldsMerchantId? Type9658 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9659 { get; set; } + public global::System.Collections.Generic.IList? Type9659 { get; set; } /// /// /// - public global::AppStoreConnect.UsersGetInstanceFieldsUser? Type9660 { get; set; } + public global::AppStoreConnect.MerchantIdsGetCollectionFieldsCertificate? Type9660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9661 { get; set; } + public global::System.Collections.Generic.IList? Type9661 { get; set; } /// /// /// - public global::AppStoreConnect.UsersGetInstanceFieldsApp? Type9662 { get; set; } + public global::AppStoreConnect.MerchantIdsGetCollectionIncludeItem? Type9662 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9663 { get; set; } + public global::System.Collections.Generic.IList? Type9663 { get; set; } /// /// /// - public global::AppStoreConnect.UsersGetInstanceIncludeItem? Type9664 { get; set; } + public global::AppStoreConnect.MerchantIdsGetInstanceFieldsMerchantId? Type9664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9665 { get; set; } + public global::System.Collections.Generic.IList? Type9665 { get; set; } /// /// /// - public global::AppStoreConnect.WebhooksGetInstanceFieldsWebhook? Type9666 { get; set; } + public global::AppStoreConnect.MerchantIdsGetInstanceFieldsCertificate? Type9666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9667 { get; set; } + public global::System.Collections.Generic.IList? Type9667 { get; set; } /// /// /// - public global::AppStoreConnect.WebhooksGetInstanceFieldsApp? Type9668 { get; set; } + public global::AppStoreConnect.MerchantIdsGetInstanceIncludeItem? Type9668 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9669 { get; set; } + public global::System.Collections.Generic.IList? Type9669 { get; set; } /// /// /// - public global::AppStoreConnect.WebhooksGetInstanceIncludeItem? Type9670 { get; set; } + public global::AppStoreConnect.NominationsGetCollectionFilterTypeItem? Type9670 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9671 { get; set; } + public global::System.Collections.Generic.IList? Type9671 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOffersGetInstanceFieldsWinBackOffer? Type9672 { get; set; } + public global::AppStoreConnect.NominationsGetCollectionFilterStateItem? Type9672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9673 { get; set; } + public global::System.Collections.Generic.IList? Type9673 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOffersGetInstanceFieldsWinBackOfferPrice? Type9674 { get; set; } + public global::AppStoreConnect.NominationsGetCollectionSortItem? Type9674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9675 { get; set; } + public global::System.Collections.Generic.IList? Type9675 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOffersGetInstanceIncludeItem? Type9676 { get; set; } + public global::AppStoreConnect.NominationsGetCollectionFieldsNomination? Type9676 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9677 { get; set; } + public global::System.Collections.Generic.IList? Type9677 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsDeltasGetToManyRelatedFieldsAlternativeDistributionPackageDelta? Type9678 { get; set; } + public global::AppStoreConnect.NominationsGetCollectionFieldsApp? Type9678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9679 { get; set; } + public global::System.Collections.Generic.IList? Type9679 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackageVersionsVariantsGetToManyRelatedFieldsAlternativeDistributionPackageVariant? Type9680 { get; set; } + public global::AppStoreConnect.NominationsGetCollectionFieldsActor? Type9680 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9681 { get; set; } + public global::System.Collections.Generic.IList? Type9681 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFilterStateItem? Type9682 { get; set; } + public global::AppStoreConnect.NominationsGetCollectionFieldsAppEvent? Type9682 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9683 { get; set; } + public global::System.Collections.Generic.IList? Type9683 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFieldsAlternativeDistributionPackageVersion? Type9684 { get; set; } + public global::AppStoreConnect.NominationsGetCollectionFieldsTerritorie? Type9684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9685 { get; set; } + public global::System.Collections.Generic.IList? Type9685 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFieldsAlternativeDistributionPackageVariant? Type9686 { get; set; } + public global::AppStoreConnect.NominationsGetCollectionIncludeItem? Type9686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9687 { get; set; } + public global::System.Collections.Generic.IList? Type9687 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFieldsAlternativeDistributionPackageDelta? Type9688 { get; set; } + public global::AppStoreConnect.NominationsGetInstanceFieldsNomination? Type9688 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9689 { get; set; } + public global::System.Collections.Generic.IList? Type9689 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFieldsAlternativeDistributionPackage? Type9690 { get; set; } + public global::AppStoreConnect.NominationsGetInstanceFieldsApp? Type9690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9691 { get; set; } + public global::System.Collections.Generic.IList? Type9691 { get; set; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedIncludeItem? Type9692 { get; set; } + public global::AppStoreConnect.NominationsGetInstanceFieldsActor? Type9692 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9693 { get; set; } + public global::System.Collections.Generic.IList? Type9693 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportInstancesSegmentsGetToManyRelatedFieldsAnalyticsReportSegment? Type9694 { get; set; } + public global::AppStoreConnect.NominationsGetInstanceFieldsAppEvent? Type9694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9695 { get; set; } + public global::System.Collections.Generic.IList? Type9695 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportRequestsReportsGetToManyRelatedFilterCategoryItem? Type9696 { get; set; } + public global::AppStoreConnect.NominationsGetInstanceFieldsTerritorie? Type9696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9697 { get; set; } + public global::System.Collections.Generic.IList? Type9697 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportRequestsReportsGetToManyRelatedFieldsAnalyticsReport? Type9698 { get; set; } + public global::AppStoreConnect.NominationsGetInstanceIncludeItem? Type9698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9699 { get; set; } + public global::System.Collections.Generic.IList? Type9699 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportsInstancesGetToManyRelatedFilterGranularityItem? Type9700 { get; set; } + public global::AppStoreConnect.PassTypeIdsGetCollectionSortItem? Type9700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9701 { get; set; } + public global::System.Collections.Generic.IList? Type9701 { get; set; } /// /// /// - public global::AppStoreConnect.AnalyticsReportsInstancesGetToManyRelatedFieldsAnalyticsReportInstance? Type9702 { get; set; } + public global::AppStoreConnect.PassTypeIdsGetCollectionFieldsPassTypeId? Type9702 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9703 { get; set; } + public global::System.Collections.Generic.IList? Type9703 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedFieldsTerritoryAvailabilitie? Type9704 { get; set; } + public global::AppStoreConnect.PassTypeIdsGetCollectionFieldsCertificate? Type9704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9705 { get; set; } + public global::System.Collections.Generic.IList? Type9705 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedFieldsTerritorie? Type9706 { get; set; } + public global::AppStoreConnect.PassTypeIdsGetCollectionIncludeItem? Type9706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9707 { get; set; } + public global::System.Collections.Generic.IList? Type9707 { get; set; } /// /// /// - public global::AppStoreConnect.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedIncludeItem? Type9708 { get; set; } + public global::AppStoreConnect.PassTypeIdsGetInstanceFieldsPassTypeId? Type9708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9709 { get; set; } + public global::System.Collections.Generic.IList? Type9709 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoriesParentGetToOneRelatedFieldsAppCategorie? Type9710 { get; set; } + public global::AppStoreConnect.PassTypeIdsGetInstanceFieldsCertificate? Type9710 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9711 { get; set; } + public global::System.Collections.Generic.IList? Type9711 { get; set; } /// /// /// - public global::AppStoreConnect.AppCategoriesSubcategoriesGetToManyRelatedFieldsAppCategorie? Type9712 { get; set; } + public global::AppStoreConnect.PassTypeIdsGetInstanceIncludeItem? Type9712 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9713 { get; set; } + public global::System.Collections.Generic.IList? Type9713 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsAppClipHeaderImageGetToOneRelatedFieldsAppClipHeaderImage? Type9714 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetCollectionFilterBuildsBuildAudienceTypeItem? Type9714 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsAppClipHeaderImageGetToOneRelatedFieldsAppClipDefaultExperienceLocalization? Type9715 { get; set; } + public global::System.Collections.Generic.IList? Type9715 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9716 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetCollectionFilterBuildsProcessingStateItem? Type9716 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsAppClipHeaderImageGetToOneRelatedIncludeItem? Type9717 { get; set; } + public global::System.Collections.Generic.IList? Type9717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9718 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetCollectionFilterPlatformItem? Type9718 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesAppClipAppStoreReviewDetailGetToOneRelatedFieldsAppClipAppStoreReviewDetail? Type9719 { get; set; } + public global::System.Collections.Generic.IList? Type9719 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9720 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetCollectionSortItem? Type9720 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesAppClipAppStoreReviewDetailGetToOneRelatedFieldsAppClipDefaultExperience? Type9721 { get; set; } + public global::System.Collections.Generic.IList? Type9721 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9722 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetCollectionFieldsPreReleaseVersion? Type9722 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesAppClipAppStoreReviewDetailGetToOneRelatedIncludeItem? Type9723 { get; set; } + public global::System.Collections.Generic.IList? Type9723 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesAppClipDefaultExperienceLocalizationsGetToManyRelatedFieldsAppClipDefaultExperience? Type9724 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetCollectionFieldsBuild? Type9724 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9725 { get; set; } + public global::System.Collections.Generic.IList? Type9725 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesAppClipDefaultExperienceLocalizationsGetToManyRelatedFieldsAppClipHeaderImage? Type9726 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetCollectionFieldsApp? Type9726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9727 { get; set; } + public global::System.Collections.Generic.IList? Type9727 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesAppClipDefaultExperienceLocalizationsGetToManyRelatedIncludeItem? Type9728 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetCollectionIncludeItem? Type9728 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9729 { get; set; } + public global::System.Collections.Generic.IList? Type9729 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersion? Type9730 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetInstanceFieldsPreReleaseVersion? Type9730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9731 { get; set; } + public global::System.Collections.Generic.IList? Type9731 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp? Type9732 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetInstanceFieldsBuild? Type9732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9733 { get; set; } + public global::System.Collections.Generic.IList? Type9733 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization? Type9734 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetInstanceFieldsApp? Type9734 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9735 { get; set; } + public global::System.Collections.Generic.IList? Type9735 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsBuild? Type9736 { get; set; } + public global::AppStoreConnect.PreReleaseVersionsGetInstanceIncludeItem? Type9736 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9737 { get; set; } + public global::System.Collections.Generic.IList? Type9737 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionPhasedRelease? Type9738 { get; set; } + public global::AppStoreConnect.ProfilesGetCollectionFilterProfileTypeItem? Type9738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9739 { get; set; } + public global::System.Collections.Generic.IList? Type9739 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsGameCenterAppVersion? Type9740 { get; set; } + public global::AppStoreConnect.ProfilesGetCollectionFilterProfileStateItem? Type9740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9741 { get; set; } + public global::System.Collections.Generic.IList? Type9741 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsRoutingAppCoverage? Type9742 { get; set; } + public global::AppStoreConnect.ProfilesGetCollectionSortItem? Type9742 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9743 { get; set; } + public global::System.Collections.Generic.IList? Type9743 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreReviewDetail? Type9744 { get; set; } + public global::AppStoreConnect.ProfilesGetCollectionFieldsProfile? Type9744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9745 { get; set; } + public global::System.Collections.Generic.IList? Type9745 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionSubmission? Type9746 { get; set; } + public global::AppStoreConnect.ProfilesGetCollectionFieldsBundleId? Type9746 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9747 { get; set; } + public global::System.Collections.Generic.IList? Type9747 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppClipDefaultExperience? Type9748 { get; set; } + public global::AppStoreConnect.ProfilesGetCollectionFieldsDevice? Type9748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9749 { get; set; } + public global::System.Collections.Generic.IList? Type9749 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionExperiment? Type9750 { get; set; } + public global::AppStoreConnect.ProfilesGetCollectionFieldsCertificate? Type9750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9751 { get; set; } + public global::System.Collections.Generic.IList? Type9751 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAlternativeDistributionPackage? Type9752 { get; set; } + public global::AppStoreConnect.ProfilesGetCollectionIncludeItem? Type9752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9753 { get; set; } + public global::System.Collections.Generic.IList? Type9753 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedIncludeItem? Type9754 { get; set; } + public global::AppStoreConnect.ProfilesGetInstanceFieldsProfile? Type9754 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9755 { get; set; } + public global::System.Collections.Generic.IList? Type9755 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFilterStatu? Type9756 { get; set; } + public global::AppStoreConnect.ProfilesGetInstanceFieldsBundleId? Type9756 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9757 { get; set; } + public global::System.Collections.Generic.IList? Type9757 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFilterPlaceStatu? Type9758 { get; set; } + public global::AppStoreConnect.ProfilesGetInstanceFieldsDevice? Type9758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9759 { get; set; } + public global::System.Collections.Generic.IList? Type9759 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFilterActionItem? Type9760 { get; set; } + public global::AppStoreConnect.ProfilesGetInstanceFieldsCertificate? Type9760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9761 { get; set; } + public global::System.Collections.Generic.IList? Type9761 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFieldsAppClipAdvancedExperience? Type9762 { get; set; } + public global::AppStoreConnect.ProfilesGetInstanceIncludeItem? Type9762 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9763 { get; set; } + public global::System.Collections.Generic.IList? Type9763 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFieldsAppClip? Type9764 { get; set; } + public global::AppStoreConnect.PromotedPurchasesGetInstanceFieldsPromotedPurchase? Type9764 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9765 { get; set; } + public global::System.Collections.Generic.IList? Type9765 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFieldsAppClipAdvancedExperienceImage? Type9766 { get; set; } + public global::AppStoreConnect.PromotedPurchasesGetInstanceFieldsInAppPurchase? Type9766 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9767 { get; set; } + public global::System.Collections.Generic.IList? Type9767 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFieldsAppClipAdvancedExperienceLocalization? Type9768 { get; set; } + public global::AppStoreConnect.PromotedPurchasesGetInstanceFieldsSubscription? Type9768 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9769 { get; set; } + public global::System.Collections.Generic.IList? Type9769 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedIncludeItem? Type9770 { get; set; } + public global::AppStoreConnect.PromotedPurchasesGetInstanceIncludeItem? Type9770 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9771 { get; set; } + public global::System.Collections.Generic.IList? Type9771 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppClipDefaultExperience? Type9772 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetCollectionFilterPlatformItem? Type9772 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9773 { get; set; } + public global::System.Collections.Generic.IList? Type9773 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppClip? Type9774 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetCollectionFilterStateItem? Type9774 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9775 { get; set; } + public global::System.Collections.Generic.IList? Type9775 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppStoreVersion? Type9776 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsReviewSubmission? Type9776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9777 { get; set; } + public global::System.Collections.Generic.IList? Type9777 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppClipDefaultExperienceLocalization? Type9778 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsApp? Type9778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9779 { get; set; } + public global::System.Collections.Generic.IList? Type9779 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppClipAppStoreReviewDetail? Type9780 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem? Type9780 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9781 { get; set; } + public global::System.Collections.Generic.IList? Type9781 { get; set; } /// /// /// - public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedIncludeItem? Type9782 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsAppStoreVersion? Type9782 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9783 { get; set; } + public global::System.Collections.Generic.IList? Type9783 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem? Type9784 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetCollectionFieldsActor? Type9784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9785 { get; set; } + public global::System.Collections.Generic.IList? Type9785 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet? Type9786 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetCollectionIncludeItem? Type9786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9787 { get; set; } + public global::System.Collections.Generic.IList? Type9787 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type9788 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsReviewSubmission? Type9788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9789 { get; set; } + public global::System.Collections.Generic.IList? Type9789 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type9790 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsApp? Type9790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9791 { get; set; } + public global::System.Collections.Generic.IList? Type9791 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreview? Type9792 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem? Type9792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9793 { get; set; } + public global::System.Collections.Generic.IList? Type9793 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedIncludeItem? Type9794 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsAppStoreVersion? Type9794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9795 { get; set; } + public global::System.Collections.Generic.IList? Type9795 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFilterScreenshotDisplayTypeItem? Type9796 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetInstanceFieldsActor? Type9796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9797 { get; set; } + public global::System.Collections.Generic.IList? Type9797 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshotSet? Type9798 { get; set; } + public global::AppStoreConnect.ReviewSubmissionsGetInstanceIncludeItem? Type9798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9799 { get; set; } + public global::System.Collections.Generic.IList? Type9799 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type9800 { get; set; } + public global::AppStoreConnect.RoutingAppCoveragesGetInstanceFieldsRoutingAppCoverage? Type9800 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9801 { get; set; } + public global::System.Collections.Generic.IList? Type9801 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type9802 { get; set; } + public global::AppStoreConnect.RoutingAppCoveragesGetInstanceFieldsAppStoreVersion? Type9802 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9803 { get; set; } + public global::System.Collections.Generic.IList? Type9803 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot? Type9804 { get; set; } + public global::AppStoreConnect.RoutingAppCoveragesGetInstanceIncludeItem? Type9804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9805 { get; set; } + public global::System.Collections.Generic.IList? Type9805 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem? Type9806 { get; set; } + public global::AppStoreConnect.SalesReportsGetCollectionFilterReportTypeItem? Type9806 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageVersion? Type9807 { get; set; } + public global::System.Collections.Generic.IList? Type9807 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9808 { get; set; } + public global::AppStoreConnect.SalesReportsGetCollectionFilterReportSubTypeItem? Type9808 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppScreenshotSet? Type9809 { get; set; } + public global::System.Collections.Generic.IList? Type9809 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9810 { get; set; } + public global::AppStoreConnect.SalesReportsGetCollectionFilterFrequencyItem? Type9810 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSet? Type9811 { get; set; } + public global::System.Collections.Generic.IList? Type9811 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9812 { get; set; } + public global::AppStoreConnect.SandboxTestersV2GetCollectionFieldsSandboxTester? Type9812 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem? Type9813 { get; set; } + public global::System.Collections.Generic.IList? Type9813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9814 { get; set; } + public global::AppStoreConnect.ScmGitReferencesGetInstanceFieldsScmGitReference? Type9814 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFilterStateItem? Type9815 { get; set; } + public global::System.Collections.Generic.IList? Type9815 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9816 { get; set; } + public global::AppStoreConnect.ScmGitReferencesGetInstanceFieldsScmRepositorie? Type9816 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageVersion? Type9817 { get; set; } + public global::System.Collections.Generic.IList? Type9817 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9818 { get; set; } + public global::AppStoreConnect.ScmGitReferencesGetInstanceIncludeItem? Type9818 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPage? Type9819 { get; set; } + public global::System.Collections.Generic.IList? Type9819 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9820 { get; set; } + public global::AppStoreConnect.ScmProvidersGetCollectionFieldsScmProvider? Type9820 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type9821 { get; set; } + public global::System.Collections.Generic.IList? Type9821 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9822 { get; set; } + public global::AppStoreConnect.ScmProvidersGetInstanceFieldsScmProvider? Type9822 { get; set; } /// /// /// - public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedIncludeItem? Type9823 { get; set; } + public global::System.Collections.Generic.IList? Type9823 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9824 { get; set; } + public global::AppStoreConnect.ScmPullRequestsGetInstanceFieldsScmPullRequest? Type9824 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp? Type9825 { get; set; } + public global::System.Collections.Generic.IList? Type9825 { get; set; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsAppEncryptionDeclarationDocumentGetToOneRelatedFieldsAppEncryptionDeclarationDocument? Type9826 { get; set; } + public global::AppStoreConnect.ScmPullRequestsGetInstanceFieldsScmRepositorie? Type9826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9827 { get; set; } + public global::System.Collections.Generic.IList? Type9827 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventScreenshot? Type9828 { get; set; } + public global::AppStoreConnect.ScmPullRequestsGetInstanceIncludeItem? Type9828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9829 { get; set; } + public global::System.Collections.Generic.IList? Type9829 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization? Type9830 { get; set; } + public global::AppStoreConnect.ScmRepositoriesGetCollectionFieldsScmRepositorie? Type9830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9831 { get; set; } + public global::System.Collections.Generic.IList? Type9831 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedIncludeItem? Type9832 { get; set; } + public global::AppStoreConnect.ScmRepositoriesGetCollectionFieldsScmProvider? Type9832 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9833 { get; set; } + public global::System.Collections.Generic.IList? Type9833 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventVideoClip? Type9834 { get; set; } + public global::AppStoreConnect.ScmRepositoriesGetCollectionFieldsScmGitReference? Type9834 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9835 { get; set; } + public global::System.Collections.Generic.IList? Type9835 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization? Type9836 { get; set; } + public global::AppStoreConnect.ScmRepositoriesGetCollectionIncludeItem? Type9836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9837 { get; set; } + public global::System.Collections.Generic.IList? Type9837 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem? Type9838 { get; set; } + public global::AppStoreConnect.ScmRepositoriesGetInstanceFieldsScmRepositorie? Type9838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9839 { get; set; } + public global::System.Collections.Generic.IList? Type9839 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization? Type9840 { get; set; } + public global::AppStoreConnect.ScmRepositoriesGetInstanceFieldsScmProvider? Type9840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9841 { get; set; } + public global::System.Collections.Generic.IList? Type9841 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEvent? Type9842 { get; set; } + public global::AppStoreConnect.ScmRepositoriesGetInstanceFieldsScmGitReference? Type9842 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9843 { get; set; } + public global::System.Collections.Generic.IList? Type9843 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventScreenshot? Type9844 { get; set; } + public global::AppStoreConnect.ScmRepositoriesGetInstanceIncludeItem? Type9844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9845 { get; set; } + public global::System.Collections.Generic.IList? Type9845 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClip? Type9846 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotsGetInstanceFieldsSubscriptionAppStoreReviewScreenshot? Type9846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9847 { get; set; } + public global::System.Collections.Generic.IList? Type9847 { get; set; } /// /// /// - public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem? Type9848 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotsGetInstanceFieldsSubscription? Type9848 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9849 { get; set; } + public global::System.Collections.Generic.IList? Type9849 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosAgeRatingDeclarationGetToOneRelatedFieldsAgeRatingDeclaration? Type9850 { get; set; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotsGetInstanceIncludeItem? Type9850 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9851 { get; set; } + public global::System.Collections.Generic.IList? Type9851 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosAppInfoLocalizationsGetToManyRelatedFieldsAppInfoLocalization? Type9852 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilitiesGetInstanceFieldsSubscriptionAvailabilitie? Type9852 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9853 { get; set; } + public global::System.Collections.Generic.IList? Type9853 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosAppInfoLocalizationsGetToManyRelatedFieldsAppInfo? Type9854 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilitiesGetInstanceFieldsTerritorie? Type9854 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9855 { get; set; } + public global::System.Collections.Generic.IList? Type9855 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosAppInfoLocalizationsGetToManyRelatedIncludeItem? Type9856 { get; set; } + public global::AppStoreConnect.SubscriptionAvailabilitiesGetInstanceIncludeItem? Type9856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9857 { get; set; } + public global::System.Collections.Generic.IList? Type9857 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosPrimaryCategoryGetToOneRelatedFieldsAppCategorie? Type9858 { get; set; } + public global::AppStoreConnect.SubscriptionGracePeriodsGetInstanceFieldsSubscriptionGracePeriod? Type9858 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9859 { get; set; } + public global::System.Collections.Generic.IList? Type9859 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosPrimaryCategoryGetToOneRelatedIncludeItem? Type9860 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationsV2GetInstanceFieldsSubscriptionGroupLocalization? Type9860 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9861 { get; set; } + public global::System.Collections.Generic.IList? Type9861 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosPrimarySubcategoryOneGetToOneRelatedFieldsAppCategorie? Type9862 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationsV2GetInstanceFieldsSubscriptionGroupVersion? Type9862 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9863 { get; set; } + public global::System.Collections.Generic.IList? Type9863 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosPrimarySubcategoryOneGetToOneRelatedIncludeItem? Type9864 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationsV2GetInstanceIncludeItem? Type9864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9865 { get; set; } + public global::System.Collections.Generic.IList? Type9865 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosPrimarySubcategoryTwoGetToOneRelatedFieldsAppCategorie? Type9866 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationsGetInstanceFieldsSubscriptionGroupLocalization? Type9866 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9867 { get; set; } + public global::System.Collections.Generic.IList? Type9867 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosPrimarySubcategoryTwoGetToOneRelatedIncludeItem? Type9868 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationsGetInstanceFieldsSubscriptionGroup? Type9868 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9869 { get; set; } + public global::System.Collections.Generic.IList? Type9869 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosSecondaryCategoryGetToOneRelatedFieldsAppCategorie? Type9870 { get; set; } + public global::AppStoreConnect.SubscriptionGroupLocalizationsGetInstanceIncludeItem? Type9870 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9871 { get; set; } + public global::System.Collections.Generic.IList? Type9871 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosSecondaryCategoryGetToOneRelatedIncludeItem? Type9872 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsGetInstanceFieldsSubscriptionGroupVersion? Type9872 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9873 { get; set; } + public global::System.Collections.Generic.IList? Type9873 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosSecondarySubcategoryOneGetToOneRelatedFieldsAppCategorie? Type9874 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsGetInstanceFieldsSubscriptionGroup? Type9874 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9875 { get; set; } + public global::System.Collections.Generic.IList? Type9875 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosSecondarySubcategoryOneGetToOneRelatedIncludeItem? Type9876 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsGetInstanceFieldsSubscriptionGroupLocalization? Type9876 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9877 { get; set; } + public global::System.Collections.Generic.IList? Type9877 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosSecondarySubcategoryTwoGetToOneRelatedFieldsAppCategorie? Type9878 { get; set; } + public global::AppStoreConnect.SubscriptionGroupVersionsGetInstanceIncludeItem? Type9878 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9879 { get; set; } + public global::System.Collections.Generic.IList? Type9879 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosSecondarySubcategoryTwoGetToOneRelatedIncludeItem? Type9880 { get; set; } + public global::AppStoreConnect.SubscriptionGroupsGetInstanceFieldsSubscriptionGroup? Type9880 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9881 { get; set; } + public global::System.Collections.Generic.IList? Type9881 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosTerritoryAgeRatingsGetToManyRelatedFieldsTerritoryAgeRating? Type9882 { get; set; } + public global::AppStoreConnect.SubscriptionGroupsGetInstanceFieldsSubscription? Type9882 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9883 { get; set; } + public global::System.Collections.Generic.IList? Type9883 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosTerritoryAgeRatingsGetToManyRelatedFieldsTerritorie? Type9884 { get; set; } + public global::AppStoreConnect.SubscriptionGroupsGetInstanceFieldsSubscriptionGroupLocalization? Type9884 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9885 { get; set; } + public global::System.Collections.Generic.IList? Type9885 { get; set; } /// /// /// - public global::AppStoreConnect.AppInfosTerritoryAgeRatingsGetToManyRelatedIncludeItem? Type9886 { get; set; } + public global::AppStoreConnect.SubscriptionGroupsGetInstanceFieldsSubscriptionGroupVersion? Type9886 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9887 { get; set; } + public global::System.Collections.Generic.IList? Type9887 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsAppPreviewsGetToManyRelatedFieldsAppPreview? Type9888 { get; set; } + public global::AppStoreConnect.SubscriptionGroupsGetInstanceIncludeItem? Type9888 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9889 { get; set; } + public global::System.Collections.Generic.IList? Type9889 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsAppPreviewsGetToManyRelatedFieldsAppPreviewSet? Type9890 { get; set; } + public global::AppStoreConnect.SubscriptionImagesGetInstanceFieldsSubscriptionImage? Type9890 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9891 { get; set; } + public global::System.Collections.Generic.IList? Type9891 { get; set; } /// /// /// - public global::AppStoreConnect.AppPreviewSetsAppPreviewsGetToManyRelatedIncludeItem? Type9892 { get; set; } + public global::AppStoreConnect.SubscriptionImagesGetInstanceFieldsSubscription? Type9892 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9893 { get; set; } + public global::System.Collections.Generic.IList? Type9893 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3EqualizationsGetToManyRelatedFieldsAppPricePoint? Type9894 { get; set; } + public global::AppStoreConnect.SubscriptionImagesGetInstanceIncludeItem? Type9894 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9895 { get; set; } + public global::System.Collections.Generic.IList? Type9895 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp? Type9896 { get; set; } + public global::AppStoreConnect.SubscriptionImagesV2GetInstanceFieldsSubscriptionImage? Type9896 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9897 { get; set; } + public global::System.Collections.Generic.IList? Type9897 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3EqualizationsGetToManyRelatedFieldsTerritorie? Type9898 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationsV2GetInstanceFieldsSubscriptionLocalization? Type9898 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9899 { get; set; } + public global::System.Collections.Generic.IList? Type9899 { get; set; } /// /// /// - public global::AppStoreConnect.AppPricePointsV3EqualizationsGetToManyRelatedIncludeItem? Type9900 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationsV2GetInstanceFieldsSubscriptionVersion? Type9900 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9901 { get; set; } + public global::System.Collections.Generic.IList? Type9901 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesAutomaticPricesGetToManyRelatedFieldsAppPrice? Type9902 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationsV2GetInstanceIncludeItem? Type9902 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9903 { get; set; } + public global::System.Collections.Generic.IList? Type9903 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesAutomaticPricesGetToManyRelatedFieldsAppPricePoint? Type9904 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationsGetInstanceFieldsSubscriptionLocalization? Type9904 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9905 { get; set; } + public global::System.Collections.Generic.IList? Type9905 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesAutomaticPricesGetToManyRelatedFieldsTerritorie? Type9906 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationsGetInstanceFieldsSubscription? Type9906 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9907 { get; set; } + public global::System.Collections.Generic.IList? Type9907 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesAutomaticPricesGetToManyRelatedIncludeItem? Type9908 { get; set; } + public global::AppStoreConnect.SubscriptionLocalizationsGetInstanceIncludeItem? Type9908 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9909 { get; set; } + public global::System.Collections.Generic.IList? Type9909 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesBaseTerritoryGetToOneRelatedFieldsTerritorie? Type9910 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesGetInstanceFieldsSubscriptionOfferCodeCustomCode? Type9910 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9911 { get; set; } + public global::System.Collections.Generic.IList? Type9911 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesManualPricesGetToManyRelatedFieldsAppPrice? Type9912 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesGetInstanceFieldsSubscriptionOfferCode? Type9912 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9913 { get; set; } + public global::System.Collections.Generic.IList? Type9913 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesManualPricesGetToManyRelatedFieldsAppPricePoint? Type9914 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCodesGetInstanceIncludeItem? Type9914 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9915 { get; set; } + public global::System.Collections.Generic.IList? Type9915 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesManualPricesGetToManyRelatedFieldsTerritorie? Type9916 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesGetInstanceFieldsSubscriptionOfferCodeOneTimeUseCode? Type9916 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9917 { get; set; } + public global::System.Collections.Generic.IList? Type9917 { get; set; } /// /// /// - public global::AppStoreConnect.AppPriceSchedulesManualPricesGetToManyRelatedIncludeItem? Type9918 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesGetInstanceFieldsSubscriptionOfferCode? Type9918 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9919 { get; set; } + public global::System.Collections.Generic.IList? Type9919 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsAppScreenshotsGetToManyRelatedFieldsAppScreenshot? Type9920 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCodesGetInstanceIncludeItem? Type9920 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9921 { get; set; } + public global::System.Collections.Generic.IList? Type9921 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsAppScreenshotsGetToManyRelatedFieldsAppScreenshotSet? Type9922 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscriptionOfferCode? Type9922 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9923 { get; set; } + public global::System.Collections.Generic.IList? Type9923 { get; set; } /// /// /// - public global::AppStoreConnect.AppScreenshotSetsAppScreenshotsGetToManyRelatedIncludeItem? Type9924 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscription? Type9924 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9925 { get; set; } + public global::System.Collections.Generic.IList? Type9925 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailsAppStoreReviewAttachmentsGetToManyRelatedFieldsAppStoreReviewAttachment? Type9926 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscriptionOfferCodeOneTimeUseCode? Type9926 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9927 { get; set; } + public global::System.Collections.Generic.IList? Type9927 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailsAppStoreReviewAttachmentsGetToManyRelatedFieldsAppStoreReviewDetail? Type9928 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscriptionOfferCodeCustomCode? Type9928 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9929 { get; set; } + public global::System.Collections.Generic.IList? Type9929 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailsAppStoreReviewAttachmentsGetToManyRelatedIncludeItem? Type9930 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceFieldsSubscriptionOfferCodePrice? Type9930 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9931 { get; set; } + public global::System.Collections.Generic.IList? Type9931 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem? Type9932 { get; set; } + public global::AppStoreConnect.SubscriptionOfferCodesGetInstanceIncludeItem? Type9932 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9933 { get; set; } + public global::System.Collections.Generic.IList? Type9933 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet? Type9934 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilitiesGetInstanceFieldsSubscriptionPlanAvailabilitie? Type9934 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type9935 { get; set; } + public global::System.Collections.Generic.IList? Type9935 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9936 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilitiesGetInstanceFieldsTerritorie? Type9936 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreview? Type9937 { get; set; } + public global::System.Collections.Generic.IList? Type9937 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9938 { get; set; } + public global::AppStoreConnect.SubscriptionPlanAvailabilitiesGetInstanceIncludeItem? Type9938 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedIncludeItem? Type9939 { get; set; } + public global::System.Collections.Generic.IList? Type9939 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFilterScreenshotDisplayTypeItem? Type9940 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointsGetInstanceFieldsSubscriptionPricePoint? Type9940 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9941 { get; set; } + public global::System.Collections.Generic.IList? Type9941 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshotSet? Type9942 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointsGetInstanceFieldsTerritorie? Type9942 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9943 { get; set; } + public global::System.Collections.Generic.IList? Type9943 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot? Type9944 { get; set; } + public global::AppStoreConnect.SubscriptionPricePointsGetInstanceIncludeItem? Type9944 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9945 { get; set; } + public global::System.Collections.Generic.IList? Type9945 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem? Type9946 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersGetInstanceFieldsSubscriptionPromotionalOffer? Type9946 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem? Type9947 { get; set; } + public global::System.Collections.Generic.IList? Type9947 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperiment? Type9948 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersGetInstanceFieldsSubscription? Type9948 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9949 { get; set; } + public global::System.Collections.Generic.IList? Type9949 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedIncludeItem? Type9950 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersGetInstanceFieldsSubscriptionPromotionalOfferPrice? Type9950 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperiment? Type9951 { get; set; } + public global::System.Collections.Generic.IList? Type9951 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9952 { get; set; } + public global::AppStoreConnect.SubscriptionPromotionalOffersGetInstanceIncludeItem? Type9952 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedIncludeItem? Type9953 { get; set; } + public global::System.Collections.Generic.IList? Type9953 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9954 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsGetInstanceFieldsSubscriptionVersion? Type9954 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem? Type9955 { get; set; } + public global::System.Collections.Generic.IList? Type9955 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9956 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsGetInstanceFieldsSubscription? Type9956 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet? Type9957 { get; set; } + public global::System.Collections.Generic.IList? Type9957 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9958 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsGetInstanceFieldsSubscriptionImage? Type9958 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type9959 { get; set; } + public global::System.Collections.Generic.IList? Type9959 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9960 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsGetInstanceFieldsSubscriptionLocalization? Type9960 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type9961 { get; set; } + public global::System.Collections.Generic.IList? Type9961 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Type9962 { get; set; } + public global::AppStoreConnect.SubscriptionVersionsGetInstanceIncludeItem? Type9962 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9963 { get; set; } + public global::System.Collections.Generic.IList? Type9963 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreview? Type9964 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscription? Type9964 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9965 { get; set; } + public global::System.Collections.Generic.IList? Type9965 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedIncludeItem? Type9966 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionLocalization? Type9966 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9967 { get; set; } + public global::System.Collections.Generic.IList? Type9967 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFilterScreenshotDisplayTypeItem? Type9968 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionAppStoreReviewScreenshot? Type9968 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9969 { get; set; } + public global::System.Collections.Generic.IList? Type9969 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshotSet? Type9970 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionGroup? Type9970 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9971 { get; set; } + public global::System.Collections.Generic.IList? Type9971 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type9972 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionIntroductoryOffer? Type9972 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9973 { get; set; } + public global::System.Collections.Generic.IList? Type9973 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type9974 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionPromotionalOffer? Type9974 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9975 { get; set; } + public global::System.Collections.Generic.IList? Type9975 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot? Type9976 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionOfferCode? Type9976 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9977 { get; set; } + public global::System.Collections.Generic.IList? Type9977 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem? Type9978 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionPrice? Type9978 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9979 { get; set; } + public global::System.Collections.Generic.IList? Type9979 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedFieldsAlternativeDistributionPackage? Type9980 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsPromotedPurchase? Type9980 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9981 { get; set; } + public global::System.Collections.Generic.IList? Type9981 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedFieldsAlternativeDistributionPackageVersion? Type9982 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionAvailabilitie? Type9982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9983 { get; set; } + public global::System.Collections.Generic.IList? Type9983 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedIncludeItem? Type9984 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsWinBackOffer? Type9984 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9985 { get; set; } + public global::System.Collections.Generic.IList? Type9985 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppClipDefaultExperience? Type9986 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionImage? Type9986 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9987 { get; set; } + public global::System.Collections.Generic.IList? Type9987 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppClip? Type9988 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionPlanAvailabilitie? Type9988 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9989 { get; set; } + public global::System.Collections.Generic.IList? Type9989 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppStoreVersion? Type9990 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceFieldsSubscriptionVersion? Type9990 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9991 { get; set; } + public global::System.Collections.Generic.IList? Type9991 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppClipDefaultExperienceLocalization? Type9992 { get; set; } + public global::AppStoreConnect.SubscriptionsGetInstanceIncludeItem? Type9992 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9993 { get; set; } + public global::System.Collections.Generic.IList? Type9993 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppClipAppStoreReviewDetail? Type9994 { get; set; } + public global::AppStoreConnect.TerritoriesGetCollectionFieldsTerritorie? Type9994 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9995 { get; set; } + public global::System.Collections.Generic.IList? Type9995 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedIncludeItem? Type9996 { get; set; } + public global::AppStoreConnect.UserInvitationsGetCollectionFilterRole? Type9996 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9997 { get; set; } + public global::System.Collections.Generic.IList? Type9997 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreReviewDetailGetToOneRelatedFieldsAppStoreReviewDetail? Type9998 { get; set; } + public global::AppStoreConnect.UserInvitationsGetCollectionSortItem? Type9998 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type9999 { get; set; } + public global::System.Collections.Generic.IList? Type9999 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreReviewDetailGetToOneRelatedFieldsAppStoreVersion? Type10000 { get; set; } + public global::AppStoreConnect.UserInvitationsGetCollectionFieldsUserInvitation? Type10000 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10001 { get; set; } + public global::System.Collections.Generic.IList? Type10001 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreReviewDetailGetToOneRelatedFieldsAppStoreReviewAttachment? Type10002 { get; set; } + public global::AppStoreConnect.UserInvitationsGetCollectionFieldsApp? Type10002 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10003 { get; set; } + public global::System.Collections.Generic.IList? Type10003 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreReviewDetailGetToOneRelatedIncludeItem? Type10004 { get; set; } + public global::AppStoreConnect.UserInvitationsGetCollectionIncludeItem? Type10004 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10005 { get; set; } + public global::System.Collections.Generic.IList? Type10005 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedFilterStateItem? Type10006 { get; set; } + public global::AppStoreConnect.UserInvitationsGetInstanceFieldsUserInvitation? Type10006 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10007 { get; set; } + public global::System.Collections.Generic.IList? Type10007 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedFieldsAppStoreVersionExperiment? Type10008 { get; set; } + public global::AppStoreConnect.UserInvitationsGetInstanceFieldsApp? Type10008 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10009 { get; set; } + public global::System.Collections.Generic.IList? Type10009 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedFieldsAppStoreVersion? Type10010 { get; set; } + public global::AppStoreConnect.UserInvitationsGetInstanceIncludeItem? Type10010 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10011 { get; set; } + public global::System.Collections.Generic.IList? Type10011 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatment? Type10012 { get; set; } + public global::AppStoreConnect.UsersGetCollectionFilterRole? Type10012 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10013 { get; set; } + public global::System.Collections.Generic.IList? Type10013 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedIncludeItem? Type10014 { get; set; } + public global::AppStoreConnect.UsersGetCollectionSortItem? Type10014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10015 { get; set; } + public global::System.Collections.Generic.IList? Type10015 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFilterStateItem? Type10016 { get; set; } + public global::AppStoreConnect.UsersGetCollectionFieldsUser? Type10016 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10017 { get; set; } + public global::System.Collections.Generic.IList? Type10017 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersionExperiment? Type10018 { get; set; } + public global::AppStoreConnect.UsersGetCollectionFieldsApp? Type10018 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10019 { get; set; } + public global::System.Collections.Generic.IList? Type10019 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp? Type10020 { get; set; } + public global::AppStoreConnect.UsersGetCollectionIncludeItem? Type10020 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10021 { get; set; } + public global::System.Collections.Generic.IList? Type10021 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersion? Type10022 { get; set; } + public global::AppStoreConnect.UsersGetInstanceFieldsUser? Type10022 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10023 { get; set; } + public global::System.Collections.Generic.IList? Type10023 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersionExperimentTreatment? Type10024 { get; set; } + public global::AppStoreConnect.UsersGetInstanceFieldsApp? Type10024 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10025 { get; set; } + public global::System.Collections.Generic.IList? Type10025 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedIncludeItem? Type10026 { get; set; } + public global::AppStoreConnect.UsersGetInstanceIncludeItem? Type10026 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10027 { get; set; } + public global::System.Collections.Generic.IList? Type10027 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10028 { get; set; } + public global::AppStoreConnect.WebhooksGetInstanceFieldsWebhook? Type10028 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10029 { get; set; } + public global::System.Collections.Generic.IList? Type10029 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersion? Type10030 { get; set; } + public global::AppStoreConnect.WebhooksGetInstanceFieldsApp? Type10030 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10031 { get; set; } + public global::System.Collections.Generic.IList? Type10031 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppScreenshotSet? Type10032 { get; set; } + public global::AppStoreConnect.WebhooksGetInstanceIncludeItem? Type10032 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10033 { get; set; } + public global::System.Collections.Generic.IList? Type10033 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSet? Type10034 { get; set; } + public global::AppStoreConnect.WinBackOffersGetInstanceFieldsWinBackOffer? Type10034 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10035 { get; set; } + public global::System.Collections.Generic.IList? Type10035 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem? Type10036 { get; set; } + public global::AppStoreConnect.WinBackOffersGetInstanceFieldsWinBackOfferPrice? Type10036 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10037 { get; set; } + public global::System.Collections.Generic.IList? Type10037 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionPhasedReleaseGetToOneRelatedFieldsAppStoreVersionPhasedRelease? Type10038 { get; set; } + public global::AppStoreConnect.WinBackOffersGetInstanceIncludeItem? Type10038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10039 { get; set; } + public global::System.Collections.Generic.IList? Type10039 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionSubmissionGetToOneRelatedFieldsAppStoreVersionSubmission? Type10040 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsDeltasGetToManyRelatedFieldsAlternativeDistributionPackageDelta? Type10040 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10041 { get; set; } + public global::System.Collections.Generic.IList? Type10041 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionSubmissionGetToOneRelatedFieldsAppStoreVersion? Type10042 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackageVersionsVariantsGetToManyRelatedFieldsAlternativeDistributionPackageVariant? Type10042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10043 { get; set; } + public global::System.Collections.Generic.IList? Type10043 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsAppStoreVersionSubmissionGetToOneRelatedIncludeItem? Type10044 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFilterStateItem? Type10044 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10045 { get; set; } + public global::System.Collections.Generic.IList? Type10045 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsBuildGetToOneRelatedFieldsBuild? Type10046 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFieldsAlternativeDistributionPackageVersion? Type10046 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10047 { get; set; } + public global::System.Collections.Generic.IList? Type10047 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedFilterTerritoryItem? Type10048 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFieldsAlternativeDistributionPackageVariant? Type10048 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10049 { get; set; } + public global::System.Collections.Generic.IList? Type10049 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedSortItem? Type10050 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFieldsAlternativeDistributionPackageDelta? Type10050 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10051 { get; set; } + public global::System.Collections.Generic.IList? Type10051 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedFieldsCustomerReview? Type10052 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedFieldsAlternativeDistributionPackage? Type10052 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10053 { get; set; } + public global::System.Collections.Generic.IList? Type10053 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedFieldsCustomerReviewResponse? Type10054 { get; set; } + public global::AppStoreConnect.AlternativeDistributionPackagesVersionsGetToManyRelatedIncludeItem? Type10054 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10055 { get; set; } + public global::System.Collections.Generic.IList? Type10055 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedFieldsTerritorie? Type10056 { get; set; } + public global::AppStoreConnect.AnalyticsReportInstancesSegmentsGetToManyRelatedFieldsAnalyticsReportSegment? Type10056 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10057 { get; set; } + public global::System.Collections.Generic.IList? Type10057 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedIncludeItem? Type10058 { get; set; } + public global::AppStoreConnect.AnalyticsReportRequestsReportsGetToManyRelatedFilterCategoryItem? Type10058 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10059 { get; set; } + public global::System.Collections.Generic.IList? Type10059 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGameCenterAppVersionGetToOneRelatedFieldsGameCenterAppVersion? Type10060 { get; set; } + public global::AppStoreConnect.AnalyticsReportRequestsReportsGetToManyRelatedFieldsAnalyticsReport? Type10060 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10061 { get; set; } + public global::System.Collections.Generic.IList? Type10061 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGameCenterAppVersionGetToOneRelatedFieldsAppStoreVersion? Type10062 { get; set; } + public global::AppStoreConnect.AnalyticsReportsInstancesGetToManyRelatedFilterGranularityItem? Type10062 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10063 { get; set; } + public global::System.Collections.Generic.IList? Type10063 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsGameCenterAppVersionGetToOneRelatedIncludeItem? Type10064 { get; set; } + public global::AppStoreConnect.AnalyticsReportsInstancesGetToManyRelatedFieldsAnalyticsReportInstance? Type10064 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10065 { get; set; } + public global::System.Collections.Generic.IList? Type10065 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsRoutingAppCoverageGetToOneRelatedFieldsRoutingAppCoverage? Type10066 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem? Type10066 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10067 { get; set; } + public global::System.Collections.Generic.IList? Type10067 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsRoutingAppCoverageGetToOneRelatedFieldsAppStoreVersion? Type10068 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem? Type10068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10069 { get; set; } + public global::System.Collections.Generic.IList? Type10069 { get; set; } /// /// /// - public global::AppStoreConnect.AppStoreVersionsRoutingAppCoverageGetToOneRelatedIncludeItem? Type10070 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedSortItem? Type10070 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10071 { get; set; } + public global::System.Collections.Generic.IList? Type10071 { get; set; } /// /// /// - public global::AppStoreConnect.AppTagsTerritoriesGetToManyRelatedFieldsTerritorie? Type10072 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage? Type10072 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10073 { get; set; } + public global::System.Collections.Generic.IList? Type10073 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAccessibilityDeclarationsGetToManyRelatedFilterDeviceFamilyItem? Type10074 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10074 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10075 { get; set; } + public global::System.Collections.Generic.IList? Type10075 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAccessibilityDeclarationsGetToManyRelatedFilterStateItem? Type10076 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesImagesGetToManyRelatedIncludeItem? Type10076 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10077 { get; set; } + public global::System.Collections.Generic.IList? Type10077 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAccessibilityDeclarationsGetToManyRelatedFieldsAccessibilityDeclaration? Type10078 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem? Type10078 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10079 { get; set; } + public global::System.Collections.Generic.IList? Type10079 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAlternativeDistributionKeyGetToOneRelatedFieldsAlternativeDistributionKey? Type10080 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem? Type10080 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10081 { get; set; } + public global::System.Collections.Generic.IList? Type10081 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAnalyticsReportRequestsGetToManyRelatedFilterAccessTypeItem? Type10082 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedSortItem? Type10082 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10083 { get; set; } + public global::System.Collections.Generic.IList? Type10083 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAnalyticsReportRequestsGetToManyRelatedFieldsAnalyticsReportRequest? Type10084 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo? Type10084 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10085 { get; set; } + public global::System.Collections.Generic.IList? Type10085 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAnalyticsReportRequestsGetToManyRelatedFieldsAnalyticsReport? Type10086 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10086 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10087 { get; set; } + public global::System.Collections.Generic.IList? Type10087 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAnalyticsReportRequestsGetToManyRelatedIncludeItem? Type10088 { get; set; } + public global::AppStoreConnect.AppAssetLibrariesVideosGetToManyRelatedIncludeItem? Type10088 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10089 { get; set; } + public global::System.Collections.Generic.IList? Type10089 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAndroidToIosAppMappingDetailsGetToManyRelatedFieldsAndroidToIosAppMappingDetail? Type10090 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem? Type10090 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10091 { get; set; } + public global::System.Collections.Generic.IList? Type10091 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppAvailabilityV2GetToOneRelatedFieldsAppAvailabilitie? Type10092 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem? Type10092 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10093 { get; set; } + public global::System.Collections.Generic.IList? Type10093 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppAvailabilityV2GetToOneRelatedFieldsTerritoryAvailabilitie? Type10094 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem? Type10094 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10095 { get; set; } + public global::System.Collections.Generic.IList? Type10095 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppAvailabilityV2GetToOneRelatedIncludeItem? Type10096 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10097 { get; set; } + public global::System.Collections.Generic.IList? Type10097 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppClipsGetToManyRelatedFieldsAppClip? Type10098 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Type10098 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10099 { get; set; } + public global::System.Collections.Generic.IList? Type10099 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppClipsGetToManyRelatedFieldsApp? Type10100 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Type10100 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10101 { get; set; } + public global::System.Collections.Generic.IList? Type10101 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppClipsGetToManyRelatedFieldsAppClipDefaultExperience? Type10102 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization? Type10102 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10103 { get; set; } + public global::System.Collections.Generic.IList? Type10103 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppClipsGetToManyRelatedIncludeItem? Type10104 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10105 { get; set; } + public global::System.Collections.Generic.IList? Type10105 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppCustomProductPagesGetToManyRelatedFieldsAppCustomProductPage? Type10106 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10106 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10107 { get; set; } + public global::System.Collections.Generic.IList? Type10107 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppCustomProductPagesGetToManyRelatedFieldsApp? Type10108 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Type10108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10109 { get; set; } + public global::System.Collections.Generic.IList? Type10109 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppCustomProductPagesGetToManyRelatedFieldsAppCustomProductPageVersion? Type10110 { get; set; } + public global::AppStoreConnect.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem? Type10110 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10111 { get; set; } + public global::System.Collections.Generic.IList? Type10111 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppCustomProductPagesGetToManyRelatedIncludeItem? Type10112 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem? Type10112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10113 { get; set; } + public global::System.Collections.Generic.IList? Type10113 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFilterPlatformItem? Type10114 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem? Type10114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10115 { get; set; } + public global::System.Collections.Generic.IList? Type10115 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsAppEncryptionDeclaration? Type10116 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem? Type10116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10117 { get; set; } + public global::System.Collections.Generic.IList? Type10117 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp? Type10118 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10119 { get; set; } + public global::System.Collections.Generic.IList? Type10119 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsBuild? Type10120 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Type10120 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10121 { get; set; } + public global::System.Collections.Generic.IList? Type10121 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsAppEncryptionDeclarationDocument? Type10122 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Type10122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10123 { get; set; } + public global::System.Collections.Generic.IList? Type10123 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedIncludeItem? Type10124 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization? Type10124 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10125 { get; set; } + public global::System.Collections.Generic.IList? Type10125 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEventsGetToManyRelatedFilterEventStateItem? Type10126 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10126 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10127 { get; set; } + public global::System.Collections.Generic.IList? Type10127 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEventsGetToManyRelatedFieldsAppEvent? Type10128 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10128 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10129 { get; set; } + public global::System.Collections.Generic.IList? Type10129 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEventsGetToManyRelatedFieldsAppEventLocalization? Type10130 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Type10130 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10131 { get; set; } + public global::System.Collections.Generic.IList? Type10131 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppEventsGetToManyRelatedIncludeItem? Type10132 { get; set; } + public global::AppStoreConnect.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem? Type10132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10133 { get; set; } + public global::System.Collections.Generic.IList? Type10133 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsAppInfo? Type10134 { get; set; } + public global::AppStoreConnect.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedFieldsTerritoryAvailabilitie? Type10134 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10135 { get; set; } + public global::System.Collections.Generic.IList? Type10135 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsApp? Type10136 { get; set; } + public global::AppStoreConnect.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedFieldsTerritorie? Type10136 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10137 { get; set; } + public global::System.Collections.Generic.IList? Type10137 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsAgeRatingDeclaration? Type10138 { get; set; } + public global::AppStoreConnect.AppAvailabilitiesV2TerritoryAvailabilitiesGetToManyRelatedIncludeItem? Type10138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10139 { get; set; } + public global::System.Collections.Generic.IList? Type10139 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsAppInfoLocalization? Type10140 { get; set; } + public global::AppStoreConnect.AppCategoriesParentGetToOneRelatedFieldsAppCategorie? Type10140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10141 { get; set; } + public global::System.Collections.Generic.IList? Type10141 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsAppCategorie? Type10142 { get; set; } + public global::AppStoreConnect.AppCategoriesSubcategoriesGetToManyRelatedFieldsAppCategorie? Type10142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10143 { get; set; } + public global::System.Collections.Generic.IList? Type10143 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppInfosGetToManyRelatedIncludeItem? Type10144 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsAppClipHeaderImageGetToOneRelatedFieldsAppClipHeaderImage? Type10144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10145 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsAppClipHeaderImageGetToOneRelatedFieldsAppClipDefaultExperienceLocalization? Type10145 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppPricePointsGetToManyRelatedFieldsAppPricePoint? Type10146 { get; set; } + public global::System.Collections.Generic.IList? Type10146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10147 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsAppClipHeaderImageGetToOneRelatedIncludeItem? Type10147 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppPricePointsGetToManyRelatedFieldsApp? Type10148 { get; set; } + public global::System.Collections.Generic.IList? Type10148 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10149 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesAppClipAppStoreReviewDetailGetToOneRelatedFieldsAppClipAppStoreReviewDetail? Type10149 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppPricePointsGetToManyRelatedFieldsTerritorie? Type10150 { get; set; } + public global::System.Collections.Generic.IList? Type10150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10151 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesAppClipAppStoreReviewDetailGetToOneRelatedFieldsAppClipDefaultExperience? Type10151 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppPricePointsGetToManyRelatedIncludeItem? Type10152 { get; set; } + public global::System.Collections.Generic.IList? Type10152 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10153 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesAppClipAppStoreReviewDetailGetToOneRelatedIncludeItem? Type10153 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedFieldsAppPriceSchedule? Type10154 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesAppClipDefaultExperienceLocalizationsGetToManyRelatedFieldsAppClipDefaultExperience? Type10154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10155 { get; set; } + public global::System.Collections.Generic.IList? Type10155 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedFieldsApp? Type10156 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesAppClipDefaultExperienceLocalizationsGetToManyRelatedFieldsAppClipHeaderImage? Type10156 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10157 { get; set; } + public global::System.Collections.Generic.IList? Type10157 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedFieldsTerritorie? Type10158 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesAppClipDefaultExperienceLocalizationsGetToManyRelatedIncludeItem? Type10158 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10159 { get; set; } + public global::System.Collections.Generic.IList? Type10159 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedFieldsAppPrice? Type10160 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersion? Type10160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10161 { get; set; } + public global::System.Collections.Generic.IList? Type10161 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedIncludeItem? Type10162 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp? Type10162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10163 { get; set; } + public global::System.Collections.Generic.IList? Type10163 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFilterStateItem? Type10164 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization? Type10164 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10165 { get; set; } + public global::System.Collections.Generic.IList? Type10165 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersionExperiment? Type10166 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsBuild? Type10166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10167 { get; set; } + public global::System.Collections.Generic.IList? Type10167 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp? Type10168 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionPhasedRelease? Type10168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10169 { get; set; } + public global::System.Collections.Generic.IList? Type10169 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersion? Type10170 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsGameCenterAppVersion? Type10170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10171 { get; set; } + public global::System.Collections.Generic.IList? Type10171 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersionExperimentTreatment? Type10172 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsRoutingAppCoverage? Type10172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10173 { get; set; } + public global::System.Collections.Generic.IList? Type10173 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedIncludeItem? Type10174 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreReviewDetail? Type10174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10175 { get; set; } + public global::System.Collections.Generic.IList? Type10175 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFilterPlatformItem? Type10176 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionSubmission? Type10176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10177 { get; set; } + public global::System.Collections.Generic.IList? Type10177 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFilterAppStoreStateItem? Type10178 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppClipDefaultExperience? Type10178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10179 { get; set; } + public global::System.Collections.Generic.IList? Type10179 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFilterAppVersionStateItem? Type10180 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionExperiment? Type10180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10181 { get; set; } + public global::System.Collections.Generic.IList? Type10181 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersion? Type10182 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAlternativeDistributionPackage? Type10182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10183 { get; set; } + public global::System.Collections.Generic.IList? Type10183 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsApp? Type10184 { get; set; } + public global::AppStoreConnect.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedIncludeItem? Type10184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10185 { get; set; } + public global::System.Collections.Generic.IList? Type10185 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10186 { get; set; } + public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFilterStatu? Type10186 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10187 { get; set; } + public global::System.Collections.Generic.IList? Type10187 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsBuild? Type10188 { get; set; } + public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFilterPlaceStatu? Type10188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10189 { get; set; } + public global::System.Collections.Generic.IList? Type10189 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionPhasedRelease? Type10190 { get; set; } + public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFilterActionItem? Type10190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10191 { get; set; } + public global::System.Collections.Generic.IList? Type10191 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsGameCenterAppVersion? Type10192 { get; set; } + public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFieldsAppClipAdvancedExperience? Type10192 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10193 { get; set; } + public global::System.Collections.Generic.IList? Type10193 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsRoutingAppCoverage? Type10194 { get; set; } + public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFieldsAppClip? Type10194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10195 { get; set; } + public global::System.Collections.Generic.IList? Type10195 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreReviewDetail? Type10196 { get; set; } + public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFieldsAppClipAdvancedExperienceImage? Type10196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10197 { get; set; } + public global::System.Collections.Generic.IList? Type10197 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionSubmission? Type10198 { get; set; } + public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedFieldsAppClipAdvancedExperienceLocalization? Type10198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10199 { get; set; } + public global::System.Collections.Generic.IList? Type10199 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppClipDefaultExperience? Type10200 { get; set; } + public global::AppStoreConnect.AppClipsAppClipAdvancedExperiencesGetToManyRelatedIncludeItem? Type10200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10201 { get; set; } + public global::System.Collections.Generic.IList? Type10201 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionExperiment? Type10202 { get; set; } + public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppClipDefaultExperience? Type10202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10203 { get; set; } + public global::System.Collections.Generic.IList? Type10203 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAlternativeDistributionPackage? Type10204 { get; set; } + public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppClip? Type10204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10205 { get; set; } + public global::System.Collections.Generic.IList? Type10205 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedIncludeItem? Type10206 { get; set; } + public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppStoreVersion? Type10206 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10207 { get; set; } + public global::System.Collections.Generic.IList? Type10207 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppTagsGetToManyRelatedSortItem? Type10208 { get; set; } + public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppClipDefaultExperienceLocalization? Type10208 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10209 { get; set; } + public global::System.Collections.Generic.IList? Type10209 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppTagsGetToManyRelatedFieldsAppTag? Type10210 { get; set; } + public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedFieldsAppClipAppStoreReviewDetail? Type10210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10211 { get; set; } + public global::System.Collections.Generic.IList? Type10211 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppTagsGetToManyRelatedFieldsTerritorie? Type10212 { get; set; } + public global::AppStoreConnect.AppClipsAppClipDefaultExperiencesGetToManyRelatedIncludeItem? Type10212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10213 { get; set; } + public global::System.Collections.Generic.IList? Type10213 { get; set; } /// /// /// - public global::AppStoreConnect.AppsAppTagsGetToManyRelatedIncludeItem? Type10214 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem? Type10214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10215 { get; set; } + public global::System.Collections.Generic.IList? Type10215 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform? Type10216 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet? Type10216 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10217 { get; set; } + public global::System.Collections.Generic.IList? Type10217 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedSortItem? Type10218 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10219 { get; set; } + public global::System.Collections.Generic.IList? Type10219 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFieldsBackgroundAsset? Type10220 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10221 { get; set; } + public global::System.Collections.Generic.IList? Type10221 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFieldsApp? Type10222 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreview? Type10222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10223 { get; set; } + public global::System.Collections.Generic.IList? Type10223 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFieldsBackgroundAssetVersion? Type10224 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedIncludeItem? Type10224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10225 { get; set; } + public global::System.Collections.Generic.IList? Type10225 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedIncludeItem? Type10226 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFilterScreenshotDisplayTypeItem? Type10226 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10227 { get; set; } + public global::System.Collections.Generic.IList? Type10227 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaAppLocalizationsGetToManyRelatedFieldsBetaAppLocalization? Type10228 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshotSet? Type10228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10229 { get; set; } + public global::System.Collections.Generic.IList? Type10229 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaAppReviewDetailGetToOneRelatedFieldsBetaAppReviewDetail? Type10230 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10230 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10231 { get; set; } + public global::System.Collections.Generic.IList? Type10231 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFilterAppPlatformItem? Type10232 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10232 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10233 { get; set; } + public global::System.Collections.Generic.IList? Type10233 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFilterDevicePlatformItem? Type10234 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot? Type10234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10235 { get; set; } + public global::System.Collections.Generic.IList? Type10235 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedSortItem? Type10236 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem? Type10236 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10237 { get; set; } + public global::System.Collections.Generic.IList? Type10237 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFieldsBetaFeedbackCrashSubmission? Type10238 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? Type10238 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10239 { get; set; } + public global::System.Collections.Generic.IList? Type10239 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFieldsBuild? Type10240 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem? Type10240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10241 { get; set; } + public global::System.Collections.Generic.IList? Type10241 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFieldsBetaTester? Type10242 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem? Type10242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10243 { get; set; } + public global::System.Collections.Generic.IList? Type10243 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedIncludeItem? Type10244 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10245 { get; set; } + public global::System.Collections.Generic.IList? Type10245 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFilterAppPlatformItem? Type10246 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Type10246 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10247 { get; set; } + public global::System.Collections.Generic.IList? Type10247 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFilterDevicePlatformItem? Type10248 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Type10248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10249 { get; set; } + public global::System.Collections.Generic.IList? Type10249 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedSortItem? Type10250 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? Type10250 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10251 { get; set; } + public global::System.Collections.Generic.IList? Type10251 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFieldsBetaFeedbackScreenshotSubmission? Type10252 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10253 { get; set; } + public global::System.Collections.Generic.IList? Type10253 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFieldsBuild? Type10254 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10255 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Type10255 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFieldsBetaTester? Type10256 { get; set; } + public global::System.Collections.Generic.IList? Type10256 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10257 { get; set; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem? Type10257 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedIncludeItem? Type10258 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageVersion? Type10258 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10259 { get; set; } + public global::System.Collections.Generic.IList? Type10259 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaGroupsGetToManyRelatedFieldsBetaGroup? Type10260 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppScreenshotSet? Type10260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10261 { get; set; } + public global::System.Collections.Generic.IList? Type10261 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaLicenseAgreementGetToOneRelatedFieldsBetaLicenseAgreement? Type10262 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppPreviewSet? Type10262 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10263 { get; set; } + public global::System.Collections.Generic.IList? Type10263 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedFilterPlatformItem? Type10264 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10264 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10265 { get; set; } + public global::System.Collections.Generic.IList? Type10265 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedSortItem? Type10266 { get; set; } + public global::AppStoreConnect.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem? Type10266 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10267 { get; set; } + public global::System.Collections.Generic.IList? Type10267 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedFieldsBuildUpload? Type10268 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFilterStateItem? Type10268 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10269 { get; set; } + public global::System.Collections.Generic.IList? Type10269 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedFieldsBuild? Type10270 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageVersion? Type10270 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10271 { get; set; } + public global::System.Collections.Generic.IList? Type10271 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedFieldsBuildUploadFile? Type10272 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPage? Type10272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10273 { get; set; } + public global::System.Collections.Generic.IList? Type10273 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedIncludeItem? Type10274 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10274 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10275 { get; set; } + public global::System.Collections.Generic.IList? Type10275 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBuildsGetToManyRelatedFieldsBuild? Type10276 { get; set; } + public global::AppStoreConnect.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedIncludeItem? Type10276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10277 { get; set; } + public global::System.Collections.Generic.IList? Type10277 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCiProductGetToOneRelatedFieldsCiProduct? Type10278 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp? Type10278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10279 { get; set; } + public global::AppStoreConnect.AppEncryptionDeclarationsAppEncryptionDeclarationDocumentGetToOneRelatedFieldsAppEncryptionDeclarationDocument? Type10279 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCiProductGetToOneRelatedFieldsApp? Type10280 { get; set; } + public global::System.Collections.Generic.IList? Type10280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10281 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventScreenshot? Type10281 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCiProductGetToOneRelatedFieldsBundleId? Type10282 { get; set; } + public global::System.Collections.Generic.IList? Type10282 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10283 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization? Type10283 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCiProductGetToOneRelatedFieldsScmRepositorie? Type10284 { get; set; } + public global::System.Collections.Generic.IList? Type10284 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10285 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedIncludeItem? Type10285 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCiProductGetToOneRelatedIncludeItem? Type10286 { get; set; } + public global::System.Collections.Generic.IList? Type10286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10287 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventVideoClip? Type10287 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewSummarizationsGetToManyRelatedFilterPlatformItem? Type10288 { get; set; } + public global::System.Collections.Generic.IList? Type10288 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10289 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization? Type10289 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewSummarizationsGetToManyRelatedFieldsCustomerReviewSummarization? Type10290 { get; set; } + public global::System.Collections.Generic.IList? Type10290 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10291 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedIncludeItem? Type10291 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewSummarizationsGetToManyRelatedFieldsTerritorie? Type10292 { get; set; } + public global::System.Collections.Generic.IList? Type10292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10293 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? Type10293 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewSummarizationsGetToManyRelatedIncludeItem? Type10294 { get; set; } + public global::System.Collections.Generic.IList? Type10294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10295 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem? Type10295 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedFilterTerritoryItem? Type10296 { get; set; } + public global::System.Collections.Generic.IList? Type10296 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10297 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedSortItem? Type10297 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedSortItem? Type10298 { get; set; } + public global::System.Collections.Generic.IList? Type10298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10299 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10299 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedFieldsCustomerReview? Type10300 { get; set; } + public global::System.Collections.Generic.IList? Type10300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10301 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Type10301 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedFieldsCustomerReviewResponse? Type10302 { get; set; } + public global::System.Collections.Generic.IList? Type10302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10303 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Type10303 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedFieldsTerritorie? Type10304 { get; set; } + public global::System.Collections.Generic.IList? Type10304 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10305 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? Type10305 { get; set; } /// /// /// - public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedIncludeItem? Type10306 { get; set; } + public global::System.Collections.Generic.IList? Type10306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10307 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10307 { get; set; } /// /// /// - public global::AppStoreConnect.AppsEndUserLicenseAgreementGetToOneRelatedFieldsEndUserLicenseAgreement? Type10308 { get; set; } + public global::System.Collections.Generic.IList? Type10308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10309 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10309 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterDetail? Type10310 { get; set; } + public global::System.Collections.Generic.IList? Type10310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10311 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Type10311 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsApp? Type10312 { get; set; } + public global::System.Collections.Generic.IList? Type10312 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10313 { get; set; } + public global::AppStoreConnect.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem? Type10313 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterAppVersion? Type10314 { get; set; } + public global::System.Collections.Generic.IList? Type10314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10315 { get; set; } + public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization? Type10315 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterGroup? Type10316 { get; set; } + public global::System.Collections.Generic.IList? Type10316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10317 { get; set; } + public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEvent? Type10317 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterLeaderboard? Type10318 { get; set; } + public global::System.Collections.Generic.IList? Type10318 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10319 { get; set; } + public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventScreenshot? Type10319 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterLeaderboardSet? Type10320 { get; set; } + public global::System.Collections.Generic.IList? Type10320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10321 { get; set; } + public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppEventVideoClip? Type10321 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterAchievement? Type10322 { get; set; } + public global::System.Collections.Generic.IList? Type10322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10323 { get; set; } + public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10323 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterActivitie? Type10324 { get; set; } + public global::System.Collections.Generic.IList? Type10324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10325 { get; set; } + public global::AppStoreConnect.AppEventsLocalizationsGetToManyRelatedIncludeItem? Type10325 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterChallenge? Type10326 { get; set; } + public global::System.Collections.Generic.IList? Type10326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10327 { get; set; } + public global::AppStoreConnect.AppInfosAgeRatingDeclarationGetToOneRelatedFieldsAgeRatingDeclaration? Type10327 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterAchievementRelease? Type10328 { get; set; } + public global::System.Collections.Generic.IList? Type10328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10329 { get; set; } + public global::AppStoreConnect.AppInfosAppInfoLocalizationsGetToManyRelatedFieldsAppInfoLocalization? Type10329 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterActivityVersionRelease? Type10330 { get; set; } + public global::System.Collections.Generic.IList? Type10330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10331 { get; set; } + public global::AppStoreConnect.AppInfosAppInfoLocalizationsGetToManyRelatedFieldsAppInfo? Type10331 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterChallengeVersionRelease? Type10332 { get; set; } + public global::System.Collections.Generic.IList? Type10332 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10333 { get; set; } + public global::AppStoreConnect.AppInfosAppInfoLocalizationsGetToManyRelatedIncludeItem? Type10333 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterLeaderboardRelease? Type10334 { get; set; } + public global::System.Collections.Generic.IList? Type10334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10335 { get; set; } + public global::AppStoreConnect.AppInfosPrimaryCategoryGetToOneRelatedFieldsAppCategorie? Type10335 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterLeaderboardSetRelease? Type10336 { get; set; } + public global::System.Collections.Generic.IList? Type10336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10337 { get; set; } + public global::AppStoreConnect.AppInfosPrimaryCategoryGetToOneRelatedIncludeItem? Type10337 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsAppStoreVersion? Type10338 { get; set; } + public global::System.Collections.Generic.IList? Type10338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10339 { get; set; } + public global::AppStoreConnect.AppInfosPrimarySubcategoryOneGetToOneRelatedFieldsAppCategorie? Type10339 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedIncludeItem? Type10340 { get; set; } + public global::System.Collections.Generic.IList? Type10340 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10341 { get; set; } + public global::AppStoreConnect.AppInfosPrimarySubcategoryOneGetToOneRelatedIncludeItem? Type10341 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedFilterPlatformItem? Type10342 { get; set; } + public global::System.Collections.Generic.IList? Type10342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10343 { get; set; } + public global::AppStoreConnect.AppInfosPrimarySubcategoryTwoGetToOneRelatedFieldsAppCategorie? Type10343 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedSortItem? Type10344 { get; set; } + public global::System.Collections.Generic.IList? Type10344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10345 { get; set; } + public global::AppStoreConnect.AppInfosPrimarySubcategoryTwoGetToOneRelatedIncludeItem? Type10345 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedFieldsGameCenterEnabledVersion? Type10346 { get; set; } + public global::System.Collections.Generic.IList? Type10346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10347 { get; set; } + public global::AppStoreConnect.AppInfosSecondaryCategoryGetToOneRelatedFieldsAppCategorie? Type10347 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp? Type10348 { get; set; } + public global::System.Collections.Generic.IList? Type10348 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10349 { get; set; } + public global::AppStoreConnect.AppInfosSecondaryCategoryGetToOneRelatedIncludeItem? Type10349 { get; set; } /// /// /// - public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedIncludeItem? Type10350 { get; set; } + public global::System.Collections.Generic.IList? Type10350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10351 { get; set; } + public global::AppStoreConnect.AppInfosSecondarySubcategoryOneGetToOneRelatedFieldsAppCategorie? Type10351 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedFilterInAppPurchaseTypeItem? Type10352 { get; set; } + public global::System.Collections.Generic.IList? Type10352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10353 { get; set; } + public global::AppStoreConnect.AppInfosSecondarySubcategoryOneGetToOneRelatedIncludeItem? Type10353 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedSortItem? Type10354 { get; set; } + public global::System.Collections.Generic.IList? Type10354 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10355 { get; set; } + public global::AppStoreConnect.AppInfosSecondarySubcategoryTwoGetToOneRelatedFieldsAppCategorie? Type10355 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedFieldsInAppPurchase? Type10356 { get; set; } + public global::System.Collections.Generic.IList? Type10356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10357 { get; set; } + public global::AppStoreConnect.AppInfosSecondarySubcategoryTwoGetToOneRelatedIncludeItem? Type10357 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedFieldsApp? Type10358 { get; set; } + public global::System.Collections.Generic.IList? Type10358 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10359 { get; set; } + public global::AppStoreConnect.AppInfosTerritoryAgeRatingsGetToManyRelatedFieldsTerritoryAgeRating? Type10359 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedIncludeItem? Type10360 { get; set; } + public global::System.Collections.Generic.IList? Type10360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10361 { get; set; } + public global::AppStoreConnect.AppInfosTerritoryAgeRatingsGetToManyRelatedFieldsTerritorie? Type10361 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFilterStateItem? Type10362 { get; set; } + public global::System.Collections.Generic.IList? Type10362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10363 { get; set; } + public global::AppStoreConnect.AppInfosTerritoryAgeRatingsGetToManyRelatedIncludeItem? Type10363 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFilterInAppPurchaseTypeItem? Type10364 { get; set; } + public global::System.Collections.Generic.IList? Type10364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10365 { get; set; } + public global::AppStoreConnect.AppPreviewSetsAppPreviewsGetToManyRelatedFieldsAppPreview? Type10365 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedSortItem? Type10366 { get; set; } + public global::System.Collections.Generic.IList? Type10366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10367 { get; set; } + public global::AppStoreConnect.AppPreviewSetsAppPreviewsGetToManyRelatedFieldsAppPreviewSet? Type10367 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchase? Type10368 { get; set; } + public global::System.Collections.Generic.IList? Type10368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10369 { get; set; } + public global::AppStoreConnect.AppPreviewSetsAppPreviewsGetToManyRelatedIncludeItem? Type10369 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseLocalization? Type10370 { get; set; } + public global::System.Collections.Generic.IList? Type10370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10371 { get; set; } + public global::AppStoreConnect.AppPricePointsV3EqualizationsGetToManyRelatedFieldsAppPricePoint? Type10371 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseContent? Type10372 { get; set; } + public global::System.Collections.Generic.IList? Type10372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10373 { get; set; } + public global::AppStoreConnect.AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp? Type10373 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAppStoreReviewScreenshot? Type10374 { get; set; } + public global::System.Collections.Generic.IList? Type10374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10375 { get; set; } + public global::AppStoreConnect.AppPricePointsV3EqualizationsGetToManyRelatedFieldsTerritorie? Type10375 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsPromotedPurchase? Type10376 { get; set; } + public global::System.Collections.Generic.IList? Type10376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10377 { get; set; } + public global::AppStoreConnect.AppPricePointsV3EqualizationsGetToManyRelatedIncludeItem? Type10377 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchasePriceSchedule? Type10378 { get; set; } + public global::System.Collections.Generic.IList? Type10378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10379 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesAutomaticPricesGetToManyRelatedFieldsAppPrice? Type10379 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAvailabilitie? Type10380 { get; set; } + public global::System.Collections.Generic.IList? Type10380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10381 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesAutomaticPricesGetToManyRelatedFieldsAppPricePoint? Type10381 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseImage? Type10382 { get; set; } + public global::System.Collections.Generic.IList? Type10382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10383 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesAutomaticPricesGetToManyRelatedFieldsTerritorie? Type10383 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseOfferCode? Type10384 { get; set; } + public global::System.Collections.Generic.IList? Type10384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10385 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesAutomaticPricesGetToManyRelatedIncludeItem? Type10385 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseVersion? Type10386 { get; set; } + public global::System.Collections.Generic.IList? Type10386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10387 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesBaseTerritoryGetToOneRelatedFieldsTerritorie? Type10387 { get; set; } /// /// /// - public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedIncludeItem? Type10388 { get; set; } + public global::System.Collections.Generic.IList? Type10388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10389 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesManualPricesGetToManyRelatedFieldsAppPrice? Type10389 { get; set; } /// /// /// - public global::AppStoreConnect.AppsMarketplaceSearchDetailGetToOneRelatedFieldsMarketplaceSearchDetail? Type10390 { get; set; } + public global::System.Collections.Generic.IList? Type10390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10391 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesManualPricesGetToManyRelatedFieldsAppPricePoint? Type10391 { get; set; } /// /// /// - public global::AppStoreConnect.AppsPerfPowerMetricsGetToManyRelatedFilterPlatformItem? Type10392 { get; set; } + public global::System.Collections.Generic.IList? Type10392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10393 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesManualPricesGetToManyRelatedFieldsTerritorie? Type10393 { get; set; } /// /// /// - public global::AppStoreConnect.AppsPerfPowerMetricsGetToManyRelatedFilterMetricTypeItem? Type10394 { get; set; } + public global::System.Collections.Generic.IList? Type10394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10395 { get; set; } + public global::AppStoreConnect.AppPriceSchedulesManualPricesGetToManyRelatedIncludeItem? Type10395 { get; set; } /// /// /// - public global::AppStoreConnect.AppsPreReleaseVersionsGetToManyRelatedFieldsPreReleaseVersion? Type10396 { get; set; } + public global::System.Collections.Generic.IList? Type10396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10397 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsAppScreenshotsGetToManyRelatedFieldsAppScreenshot? Type10397 { get; set; } /// /// /// - public global::AppStoreConnect.AppsPromotedPurchasesGetToManyRelatedFieldsPromotedPurchase? Type10398 { get; set; } + public global::System.Collections.Generic.IList? Type10398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10399 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsAppScreenshotsGetToManyRelatedFieldsAppScreenshotSet? Type10399 { get; set; } /// /// /// - public global::AppStoreConnect.AppsPromotedPurchasesGetToManyRelatedFieldsInAppPurchase? Type10400 { get; set; } + public global::System.Collections.Generic.IList? Type10400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10401 { get; set; } + public global::AppStoreConnect.AppScreenshotSetsAppScreenshotsGetToManyRelatedIncludeItem? Type10401 { get; set; } /// /// /// - public global::AppStoreConnect.AppsPromotedPurchasesGetToManyRelatedFieldsSubscription? Type10402 { get; set; } + public global::System.Collections.Generic.IList? Type10402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10403 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailsAppStoreReviewAttachmentsGetToManyRelatedFieldsAppStoreReviewAttachment? Type10403 { get; set; } /// /// /// - public global::AppStoreConnect.AppsPromotedPurchasesGetToManyRelatedIncludeItem? Type10404 { get; set; } + public global::System.Collections.Generic.IList? Type10404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10405 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailsAppStoreReviewAttachmentsGetToManyRelatedFieldsAppStoreReviewDetail? Type10405 { get; set; } /// /// /// - public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFilterPlatformItem? Type10406 { get; set; } + public global::System.Collections.Generic.IList? Type10406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10407 { get; set; } + public global::AppStoreConnect.AppStoreReviewDetailsAppStoreReviewAttachmentsGetToManyRelatedIncludeItem? Type10407 { get; set; } /// /// /// - public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFilterStateItem? Type10408 { get; set; } + public global::System.Collections.Generic.IList? Type10408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10409 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem? Type10409 { get; set; } /// /// /// - public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmission? Type10410 { get; set; } + public global::System.Collections.Generic.IList? Type10410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10411 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet? Type10411 { get; set; } /// /// /// - public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsApp? Type10412 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10412 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10413 { get; set; } + public global::System.Collections.Generic.IList? Type10413 { get; set; } /// /// /// - public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem? Type10414 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreview? Type10414 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10415 { get; set; } + public global::System.Collections.Generic.IList? Type10415 { get; set; } /// /// /// - public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsAppStoreVersion? Type10416 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedIncludeItem? Type10416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10417 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFilterScreenshotDisplayTypeItem? Type10417 { get; set; } /// /// /// - public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsActor? Type10418 { get; set; } + public global::System.Collections.Generic.IList? Type10418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10419 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshotSet? Type10419 { get; set; } /// /// /// - public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedIncludeItem? Type10420 { get; set; } + public global::System.Collections.Generic.IList? Type10420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10421 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot? Type10421 { get; set; } /// /// /// - public global::AppStoreConnect.AppsSubscriptionGracePeriodGetToOneRelatedFieldsSubscriptionGracePeriod? Type10422 { get; set; } + public global::System.Collections.Generic.IList? Type10422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10423 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem? Type10423 { get; set; } /// /// /// - public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFilterSubscriptionsStateItem? Type10424 { get; set; } + public global::System.Collections.Generic.IList? Type10424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10425 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? Type10425 { get; set; } /// /// /// - public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedSortItem? Type10426 { get; set; } + public global::System.Collections.Generic.IList? Type10426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10427 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem? Type10427 { get; set; } /// /// /// - public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFieldsSubscriptionGroup? Type10428 { get; set; } + public global::System.Collections.Generic.IList? Type10428 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10429 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem? Type10429 { get; set; } /// /// /// - public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFieldsSubscription? Type10430 { get; set; } + public global::System.Collections.Generic.IList? Type10430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10431 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10431 { get; set; } /// /// /// - public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFieldsSubscriptionGroupLocalization? Type10432 { get; set; } + public global::System.Collections.Generic.IList? Type10432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10433 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Type10433 { get; set; } /// /// /// - public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFieldsSubscriptionGroupVersion? Type10434 { get; set; } + public global::System.Collections.Generic.IList? Type10434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10435 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Type10435 { get; set; } /// /// /// - public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedIncludeItem? Type10436 { get; set; } + public global::System.Collections.Generic.IList? Type10436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10437 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? Type10437 { get; set; } /// /// /// - public global::AppStoreConnect.AppsWebhooksGetToManyRelatedFieldsWebhook? Type10438 { get; set; } + public global::System.Collections.Generic.IList? Type10438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10439 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10439 { get; set; } /// /// /// - public global::AppStoreConnect.AppsWebhooksGetToManyRelatedFieldsApp? Type10440 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10440 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10441 { get; set; } + public global::System.Collections.Generic.IList? Type10441 { get; set; } /// /// /// - public global::AppStoreConnect.AppsWebhooksGetToManyRelatedIncludeItem? Type10442 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem? Type10442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10443 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem? Type10443 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsBackgroundAssetUploadFilesGetToManyRelatedFieldsBackgroundAssetUploadFile? Type10444 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperiment? Type10444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10445 { get; set; } + public global::System.Collections.Generic.IList? Type10445 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterPlatform? Type10446 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedIncludeItem? Type10446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10447 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperiment? Type10447 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterStateItem? Type10448 { get; set; } + public global::System.Collections.Generic.IList? Type10448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10449 { get; set; } + public global::AppStoreConnect.AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedIncludeItem? Type10449 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterInternalBetaReleaseStateItem? Type10450 { get; set; } + public global::System.Collections.Generic.IList? Type10450 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10451 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFilterPreviewTypeItem? Type10451 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterExternalBetaReleaseStateItem? Type10452 { get; set; } + public global::System.Collections.Generic.IList? Type10452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10453 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreviewSet? Type10453 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterAppStoreReleaseStateItem? Type10454 { get; set; } + public global::System.Collections.Generic.IList? Type10454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10455 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10455 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedSortItem? Type10456 { get; set; } + public global::System.Collections.Generic.IList? Type10456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10457 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10457 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetVersion? Type10458 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Type10458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10459 { get; set; } + public global::System.Collections.Generic.IList? Type10459 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAsset? Type10460 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppPreview? Type10460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10461 { get; set; } + public global::System.Collections.Generic.IList? Type10461 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetVersionInternalBetaRelease? Type10462 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedIncludeItem? Type10462 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10463 { get; set; } + public global::System.Collections.Generic.IList? Type10463 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetVersionExternalBetaRelease? Type10464 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFilterScreenshotDisplayTypeItem? Type10464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10465 { get; set; } + public global::System.Collections.Generic.IList? Type10465 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetVersionAppStoreRelease? Type10466 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshotSet? Type10466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10467 { get; set; } + public global::System.Collections.Generic.IList? Type10467 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetUploadFile? Type10468 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10469 { get; set; } + public global::System.Collections.Generic.IList? Type10469 { get; set; } /// /// /// - public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedIncludeItem? Type10470 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10471 { get; set; } + public global::System.Collections.Generic.IList? Type10471 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppLocalizationsAppGetToOneRelatedFieldsApp? Type10472 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppScreenshot? Type10472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10473 { get; set; } + public global::System.Collections.Generic.IList? Type10473 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewDetailsAppGetToOneRelatedFieldsApp? Type10474 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedIncludeItem? Type10474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10475 { get; set; } + public global::System.Collections.Generic.IList? Type10475 { get; set; } /// /// /// - public global::AppStoreConnect.BetaAppReviewSubmissionsBuildGetToOneRelatedFieldsBuild? Type10476 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? Type10476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10477 { get; set; } + public global::System.Collections.Generic.IList? Type10477 { get; set; } /// /// /// - public global::AppStoreConnect.BetaBuildLocalizationsBuildGetToOneRelatedFieldsBuild? Type10478 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem? Type10478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10479 { get; set; } + public global::System.Collections.Generic.IList? Type10479 { get; set; } /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionsCrashLogGetToOneRelatedFieldsBetaCrashLog? Type10480 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem? Type10480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10481 { get; set; } + public global::System.Collections.Generic.IList? Type10481 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsAppGetToOneRelatedFieldsApp? Type10482 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10483 { get; set; } + public global::System.Collections.Generic.IList? Type10483 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsBetaRecruitmentCriteriaGetToOneRelatedFieldsBetaRecruitmentCriteriaItem? Type10484 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? Type10484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10485 { get; set; } + public global::System.Collections.Generic.IList? Type10485 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsBetaTestersGetToManyRelatedFieldsBetaTester? Type10486 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? Type10486 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10487 { get; set; } + public global::System.Collections.Generic.IList? Type10487 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsBuildsGetToManyRelatedFieldsBuild? Type10488 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? Type10488 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10489 { get; set; } + public global::System.Collections.Generic.IList? Type10489 { get; set; } /// /// /// - public global::AppStoreConnect.BetaLicenseAgreementsAppGetToOneRelatedFieldsApp? Type10490 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10491 { get; set; } + public global::System.Collections.Generic.IList? Type10491 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersAppsGetToManyRelatedFieldsApp? Type10492 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? Type10492 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10493 { get; set; } + public global::System.Collections.Generic.IList? Type10493 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersBetaGroupsGetToManyRelatedFieldsBetaGroup? Type10494 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? Type10494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10495 { get; set; } + public global::System.Collections.Generic.IList? Type10495 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersBuildsGetToManyRelatedFieldsBuild? Type10496 { get; set; } + public global::AppStoreConnect.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem? Type10496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10497 { get; set; } + public global::System.Collections.Generic.IList? Type10497 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuild? Type10498 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedFieldsAlternativeDistributionPackage? Type10498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10499 { get; set; } + public global::System.Collections.Generic.IList? Type10499 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsPreReleaseVersion? Type10500 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedFieldsAlternativeDistributionPackageVersion? Type10500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10501 { get; set; } + public global::System.Collections.Generic.IList? Type10501 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBetaTester? Type10502 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAlternativeDistributionPackageGetToOneRelatedIncludeItem? Type10502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10503 { get; set; } + public global::System.Collections.Generic.IList? Type10503 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBetaGroup? Type10504 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppClipDefaultExperience? Type10504 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10505 { get; set; } + public global::System.Collections.Generic.IList? Type10505 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBetaBuildLocalization? Type10506 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppClip? Type10506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10507 { get; set; } + public global::System.Collections.Generic.IList? Type10507 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsAppEncryptionDeclaration? Type10508 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppStoreVersion? Type10508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10509 { get; set; } + public global::System.Collections.Generic.IList? Type10509 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBetaAppReviewSubmission? Type10510 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppClipDefaultExperienceLocalization? Type10510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10511 { get; set; } + public global::System.Collections.Generic.IList? Type10511 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsApp? Type10512 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedFieldsAppClipAppStoreReviewDetail? Type10512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10513 { get; set; } + public global::System.Collections.Generic.IList? Type10513 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuildBetaDetail? Type10514 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppClipDefaultExperienceGetToOneRelatedIncludeItem? Type10514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10515 { get; set; } + public global::System.Collections.Generic.IList? Type10515 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsAppStoreVersion? Type10516 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreReviewDetailGetToOneRelatedFieldsAppStoreReviewDetail? Type10516 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10517 { get; set; } + public global::System.Collections.Generic.IList? Type10517 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuildIcon? Type10518 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreReviewDetailGetToOneRelatedFieldsAppStoreVersion? Type10518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10519 { get; set; } + public global::System.Collections.Generic.IList? Type10519 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuildBundle? Type10520 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreReviewDetailGetToOneRelatedFieldsAppStoreReviewAttachment? Type10520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10521 { get; set; } + public global::System.Collections.Generic.IList? Type10521 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuildUpload? Type10522 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreReviewDetailGetToOneRelatedIncludeItem? Type10522 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10523 { get; set; } + public global::System.Collections.Generic.IList? Type10523 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedIncludeItem? Type10524 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedFilterStateItem? Type10524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10525 { get; set; } + public global::System.Collections.Generic.IList? Type10525 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundlesAppClipDomainCacheStatusGetToOneRelatedFieldsAppClipDomainStatuse? Type10526 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedFieldsAppStoreVersionExperiment? Type10526 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10527 { get; set; } + public global::System.Collections.Generic.IList? Type10527 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundlesAppClipDomainDebugStatusGetToOneRelatedFieldsAppClipDomainStatuse? Type10528 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedFieldsAppStoreVersion? Type10528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10529 { get; set; } + public global::System.Collections.Generic.IList? Type10529 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundlesBetaAppClipInvocationsGetToManyRelatedFieldsBetaAppClipInvocation? Type10530 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatment? Type10530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10531 { get; set; } + public global::System.Collections.Generic.IList? Type10531 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundlesBetaAppClipInvocationsGetToManyRelatedFieldsBetaAppClipInvocationLocalization? Type10532 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsGetToManyRelatedIncludeItem? Type10532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10533 { get; set; } + public global::System.Collections.Generic.IList? Type10533 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundlesBetaAppClipInvocationsGetToManyRelatedIncludeItem? Type10534 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFilterStateItem? Type10534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10535 { get; set; } + public global::System.Collections.Generic.IList? Type10535 { get; set; } /// /// /// - public global::AppStoreConnect.BuildBundlesBuildBundleFileSizesGetToManyRelatedFieldsBuildBundleFileSize? Type10536 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersionExperiment? Type10536 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10537 { get; set; } + public global::System.Collections.Generic.IList? Type10537 { get; set; } /// /// /// - public global::AppStoreConnect.BuildUploadsBuildUploadFilesGetToManyRelatedFieldsBuildUploadFile? Type10538 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp? Type10538 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10539 { get; set; } + public global::System.Collections.Generic.IList? Type10539 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppGetToOneRelatedFieldsApp? Type10540 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersion? Type10540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10541 { get; set; } + public global::System.Collections.Generic.IList? Type10541 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppEncryptionDeclarationGetToOneRelatedFieldsAppEncryptionDeclaration? Type10542 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersionExperimentTreatment? Type10542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10543 { get; set; } + public global::System.Collections.Generic.IList? Type10543 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersion? Type10544 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedIncludeItem? Type10544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10545 { get; set; } + public global::System.Collections.Generic.IList? Type10545 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsApp? Type10546 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10547 { get; set; } + public global::System.Collections.Generic.IList? Type10547 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization? Type10548 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersion? Type10548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10549 { get; set; } + public global::System.Collections.Generic.IList? Type10549 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsBuild? Type10550 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppScreenshotSet? Type10550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10551 { get; set; } + public global::System.Collections.Generic.IList? Type10551 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionPhasedRelease? Type10552 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppPreviewSet? Type10552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10553 { get; set; } + public global::System.Collections.Generic.IList? Type10553 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsGameCenterAppVersion? Type10554 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? Type10554 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10555 { get; set; } + public global::System.Collections.Generic.IList? Type10555 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsRoutingAppCoverage? Type10556 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem? Type10556 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10557 { get; set; } + public global::System.Collections.Generic.IList? Type10557 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreReviewDetail? Type10558 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionPhasedReleaseGetToOneRelatedFieldsAppStoreVersionPhasedRelease? Type10558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10559 { get; set; } + public global::System.Collections.Generic.IList? Type10559 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionSubmission? Type10560 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionSubmissionGetToOneRelatedFieldsAppStoreVersionSubmission? Type10560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10561 { get; set; } + public global::System.Collections.Generic.IList? Type10561 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppClipDefaultExperience? Type10562 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionSubmissionGetToOneRelatedFieldsAppStoreVersion? Type10562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10563 { get; set; } + public global::System.Collections.Generic.IList? Type10563 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionExperiment? Type10564 { get; set; } + public global::AppStoreConnect.AppStoreVersionsAppStoreVersionSubmissionGetToOneRelatedIncludeItem? Type10564 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10565 { get; set; } + public global::System.Collections.Generic.IList? Type10565 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAlternativeDistributionPackage? Type10566 { get; set; } + public global::AppStoreConnect.AppStoreVersionsBuildGetToOneRelatedFieldsBuild? Type10566 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10567 { get; set; } + public global::System.Collections.Generic.IList? Type10567 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedIncludeItem? Type10568 { get; set; } + public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedFilterTerritoryItem? Type10568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10569 { get; set; } + public global::System.Collections.Generic.IList? Type10569 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsBetaAppReviewSubmissionGetToOneRelatedFieldsBetaAppReviewSubmission? Type10570 { get; set; } + public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedSortItem? Type10570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10571 { get; set; } + public global::System.Collections.Generic.IList? Type10571 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsBetaBuildLocalizationsGetToManyRelatedFieldsBetaBuildLocalization? Type10572 { get; set; } + public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedFieldsCustomerReview? Type10572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10573 { get; set; } + public global::System.Collections.Generic.IList? Type10573 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsBuildBetaDetailGetToOneRelatedFieldsBuildBetaDetail? Type10574 { get; set; } + public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedFieldsCustomerReviewResponse? Type10574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10575 { get; set; } + public global::System.Collections.Generic.IList? Type10575 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsBuildBetaDetailGetToOneRelatedFieldsBuild? Type10576 { get; set; } + public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedFieldsTerritorie? Type10576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10577 { get; set; } + public global::System.Collections.Generic.IList? Type10577 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsBuildBetaDetailGetToOneRelatedIncludeItem? Type10578 { get; set; } + public global::AppStoreConnect.AppStoreVersionsCustomerReviewsGetToManyRelatedIncludeItem? Type10578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10579 { get; set; } + public global::System.Collections.Generic.IList? Type10579 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsDiagnosticSignaturesGetToManyRelatedFilterDiagnosticTypeItem? Type10580 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGameCenterAppVersionGetToOneRelatedFieldsGameCenterAppVersion? Type10580 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10581 { get; set; } + public global::System.Collections.Generic.IList? Type10581 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsDiagnosticSignaturesGetToManyRelatedFieldsDiagnosticSignature? Type10582 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGameCenterAppVersionGetToOneRelatedFieldsAppStoreVersion? Type10582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10583 { get; set; } + public global::System.Collections.Generic.IList? Type10583 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsIconsGetToManyRelatedFieldsBuildIcon? Type10584 { get; set; } + public global::AppStoreConnect.AppStoreVersionsGameCenterAppVersionGetToOneRelatedIncludeItem? Type10584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10585 { get; set; } + public global::System.Collections.Generic.IList? Type10585 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsIndividualTestersGetToManyRelatedFieldsBetaTester? Type10586 { get; set; } + public global::AppStoreConnect.AppStoreVersionsRoutingAppCoverageGetToOneRelatedFieldsRoutingAppCoverage? Type10586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10587 { get; set; } + public global::System.Collections.Generic.IList? Type10587 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsPerfPowerMetricsGetToManyRelatedFilterPlatformItem? Type10588 { get; set; } + public global::AppStoreConnect.AppStoreVersionsRoutingAppCoverageGetToOneRelatedFieldsAppStoreVersion? Type10588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10589 { get; set; } + public global::System.Collections.Generic.IList? Type10589 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsPerfPowerMetricsGetToManyRelatedFilterMetricTypeItem? Type10590 { get; set; } + public global::AppStoreConnect.AppStoreVersionsRoutingAppCoverageGetToOneRelatedIncludeItem? Type10590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10591 { get; set; } + public global::System.Collections.Generic.IList? Type10591 { get; set; } /// /// /// - public global::AppStoreConnect.BuildsPreReleaseVersionGetToOneRelatedFieldsPreReleaseVersion? Type10592 { get; set; } + public global::AppStoreConnect.AppTagsTerritoriesGetToManyRelatedFieldsTerritorie? Type10592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10593 { get; set; } + public global::System.Collections.Generic.IList? Type10593 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsAppGetToOneRelatedFieldsApp? Type10594 { get; set; } + public global::AppStoreConnect.AppsAccessibilityDeclarationsGetToManyRelatedFilterDeviceFamilyItem? Type10594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10595 { get; set; } + public global::System.Collections.Generic.IList? Type10595 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsBundleIdCapabilitiesGetToManyRelatedFieldsBundleIdCapabilitie? Type10596 { get; set; } + public global::AppStoreConnect.AppsAccessibilityDeclarationsGetToManyRelatedFilterStateItem? Type10596 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10597 { get; set; } + public global::System.Collections.Generic.IList? Type10597 { get; set; } /// /// /// - public global::AppStoreConnect.BundleIdsProfilesGetToManyRelatedFieldsProfile? Type10598 { get; set; } + public global::AppStoreConnect.AppsAccessibilityDeclarationsGetToManyRelatedFieldsAccessibilityDeclaration? Type10598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10599 { get; set; } + public global::System.Collections.Generic.IList? Type10599 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesPassTypeIdGetToOneRelatedFieldsPassTypeId? Type10600 { get; set; } + public global::AppStoreConnect.AppsAlternativeDistributionKeyGetToOneRelatedFieldsAlternativeDistributionKey? Type10600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10601 { get; set; } + public global::System.Collections.Generic.IList? Type10601 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesPassTypeIdGetToOneRelatedFieldsCertificate? Type10602 { get; set; } + public global::AppStoreConnect.AppsAnalyticsReportRequestsGetToManyRelatedFilterAccessTypeItem? Type10602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10603 { get; set; } + public global::System.Collections.Generic.IList? Type10603 { get; set; } /// /// /// - public global::AppStoreConnect.CertificatesPassTypeIdGetToOneRelatedIncludeItem? Type10604 { get; set; } + public global::AppStoreConnect.AppsAnalyticsReportRequestsGetToManyRelatedFieldsAnalyticsReportRequest? Type10604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10605 { get; set; } + public global::System.Collections.Generic.IList? Type10605 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsArtifactsGetToManyRelatedFieldsCiArtifact? Type10606 { get; set; } + public global::AppStoreConnect.AppsAnalyticsReportRequestsGetToManyRelatedFieldsAnalyticsReport? Type10606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10607 { get; set; } + public global::System.Collections.Generic.IList? Type10607 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsCiBuildRun? Type10608 { get; set; } + public global::AppStoreConnect.AppsAnalyticsReportRequestsGetToManyRelatedIncludeItem? Type10608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10609 { get; set; } + public global::System.Collections.Generic.IList? Type10609 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsBuild? Type10610 { get; set; } + public global::AppStoreConnect.AppsAndroidToIosAppMappingDetailsGetToManyRelatedFieldsAndroidToIosAppMappingDetail? Type10610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10611 { get; set; } + public global::System.Collections.Generic.IList? Type10611 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsCiWorkflow? Type10612 { get; set; } + public global::AppStoreConnect.AppsAppAvailabilityV2GetToOneRelatedFieldsAppAvailabilitie? Type10612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10613 { get; set; } + public global::System.Collections.Generic.IList? Type10613 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsCiProduct? Type10614 { get; set; } + public global::AppStoreConnect.AppsAppAvailabilityV2GetToOneRelatedFieldsTerritoryAvailabilitie? Type10614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10615 { get; set; } + public global::System.Collections.Generic.IList? Type10615 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsScmGitReference? Type10616 { get; set; } + public global::AppStoreConnect.AppsAppAvailabilityV2GetToOneRelatedIncludeItem? Type10616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10617 { get; set; } + public global::System.Collections.Generic.IList? Type10617 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsScmPullRequest? Type10618 { get; set; } + public global::AppStoreConnect.AppsAppClipsGetToManyRelatedFieldsAppClip? Type10618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10619 { get; set; } + public global::System.Collections.Generic.IList? Type10619 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedIncludeItem? Type10620 { get; set; } + public global::AppStoreConnect.AppsAppClipsGetToManyRelatedFieldsApp? Type10620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10621 { get; set; } + public global::System.Collections.Generic.IList? Type10621 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsIssuesGetToManyRelatedFieldsCiIssue? Type10622 { get; set; } + public global::AppStoreConnect.AppsAppClipsGetToManyRelatedFieldsAppClipDefaultExperience? Type10622 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10623 { get; set; } + public global::System.Collections.Generic.IList? Type10623 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildActionsTestResultsGetToManyRelatedFieldsCiTestResult? Type10624 { get; set; } + public global::AppStoreConnect.AppsAppClipsGetToManyRelatedIncludeItem? Type10624 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10625 { get; set; } + public global::System.Collections.Generic.IList? Type10625 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsActionsGetToManyRelatedFieldsCiBuildAction? Type10626 { get; set; } + public global::AppStoreConnect.AppsAppCustomProductPagesGetToManyRelatedFieldsAppCustomProductPage? Type10626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10627 { get; set; } + public global::System.Collections.Generic.IList? Type10627 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsActionsGetToManyRelatedFieldsCiBuildRun? Type10628 { get; set; } + public global::AppStoreConnect.AppsAppCustomProductPagesGetToManyRelatedFieldsApp? Type10628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10629 { get; set; } + public global::System.Collections.Generic.IList? Type10629 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsActionsGetToManyRelatedIncludeItem? Type10630 { get; set; } + public global::AppStoreConnect.AppsAppCustomProductPagesGetToManyRelatedFieldsAppCustomProductPageVersion? Type10630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10631 { get; set; } + public global::System.Collections.Generic.IList? Type10631 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFilterProcessingStateItem? Type10632 { get; set; } + public global::AppStoreConnect.AppsAppCustomProductPagesGetToManyRelatedIncludeItem? Type10632 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10633 { get; set; } + public global::System.Collections.Generic.IList? Type10633 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFilterBetaAppReviewSubmissionBetaReviewStateItem? Type10634 { get; set; } + public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFilterPlatformItem? Type10634 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10635 { get; set; } + public global::System.Collections.Generic.IList? Type10635 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFilterPreReleaseVersionPlatformItem? Type10636 { get; set; } + public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsAppEncryptionDeclaration? Type10636 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10637 { get; set; } + public global::System.Collections.Generic.IList? Type10637 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFilterBuildAudienceTypeItem? Type10638 { get; set; } + public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp? Type10638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10639 { get; set; } + public global::System.Collections.Generic.IList? Type10639 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedSortItem? Type10640 { get; set; } + public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsBuild? Type10640 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10641 { get; set; } + public global::System.Collections.Generic.IList? Type10641 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuild? Type10642 { get; set; } + public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsAppEncryptionDeclarationDocument? Type10642 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10643 { get; set; } + public global::System.Collections.Generic.IList? Type10643 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsPreReleaseVersion? Type10644 { get; set; } + public global::AppStoreConnect.AppsAppEncryptionDeclarationsGetToManyRelatedIncludeItem? Type10644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10645 { get; set; } + public global::System.Collections.Generic.IList? Type10645 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBetaTester? Type10646 { get; set; } + public global::AppStoreConnect.AppsAppEventsGetToManyRelatedFilterEventStateItem? Type10646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10647 { get; set; } + public global::System.Collections.Generic.IList? Type10647 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBetaGroup? Type10648 { get; set; } + public global::AppStoreConnect.AppsAppEventsGetToManyRelatedFieldsAppEvent? Type10648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10649 { get; set; } + public global::System.Collections.Generic.IList? Type10649 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBetaBuildLocalization? Type10650 { get; set; } + public global::AppStoreConnect.AppsAppEventsGetToManyRelatedFieldsAppEventLocalization? Type10650 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10651 { get; set; } + public global::System.Collections.Generic.IList? Type10651 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsAppEncryptionDeclaration? Type10652 { get; set; } + public global::AppStoreConnect.AppsAppEventsGetToManyRelatedIncludeItem? Type10652 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10653 { get; set; } + public global::System.Collections.Generic.IList? Type10653 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBetaAppReviewSubmission? Type10654 { get; set; } + public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsAppInfo? Type10654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10655 { get; set; } + public global::System.Collections.Generic.IList? Type10655 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsApp? Type10656 { get; set; } + public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsApp? Type10656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10657 { get; set; } + public global::System.Collections.Generic.IList? Type10657 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuildBetaDetail? Type10658 { get; set; } + public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsAgeRatingDeclaration? Type10658 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10659 { get; set; } + public global::System.Collections.Generic.IList? Type10659 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsAppStoreVersion? Type10660 { get; set; } + public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsAppInfoLocalization? Type10660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10661 { get; set; } + public global::System.Collections.Generic.IList? Type10661 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuildIcon? Type10662 { get; set; } + public global::AppStoreConnect.AppsAppInfosGetToManyRelatedFieldsAppCategorie? Type10662 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10663 { get; set; } + public global::System.Collections.Generic.IList? Type10663 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuildBundle? Type10664 { get; set; } + public global::AppStoreConnect.AppsAppInfosGetToManyRelatedIncludeItem? Type10664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10665 { get; set; } + public global::System.Collections.Generic.IList? Type10665 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuildUpload? Type10666 { get; set; } + public global::AppStoreConnect.AppsAppPricePointsGetToManyRelatedFieldsAppPricePoint? Type10666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10667 { get; set; } + public global::System.Collections.Generic.IList? Type10667 { get; set; } /// /// /// - public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedIncludeItem? Type10668 { get; set; } + public global::AppStoreConnect.AppsAppPricePointsGetToManyRelatedFieldsApp? Type10668 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10669 { get; set; } + public global::System.Collections.Generic.IList? Type10669 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsXcodeVersionsGetToManyRelatedFieldsCiXcodeVersion? Type10670 { get; set; } + public global::AppStoreConnect.AppsAppPricePointsGetToManyRelatedFieldsTerritorie? Type10670 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10671 { get; set; } + public global::System.Collections.Generic.IList? Type10671 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsXcodeVersionsGetToManyRelatedFieldsCiMacOsVersion? Type10672 { get; set; } + public global::AppStoreConnect.AppsAppPricePointsGetToManyRelatedIncludeItem? Type10672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10673 { get; set; } + public global::System.Collections.Generic.IList? Type10673 { get; set; } /// /// /// - public global::AppStoreConnect.CiMacOsVersionsXcodeVersionsGetToManyRelatedIncludeItem? Type10674 { get; set; } + public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedFieldsAppPriceSchedule? Type10674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10675 { get; set; } + public global::System.Collections.Generic.IList? Type10675 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAdditionalRepositoriesGetToManyRelatedFieldsScmRepositorie? Type10676 { get; set; } + public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedFieldsApp? Type10676 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10677 { get; set; } + public global::System.Collections.Generic.IList? Type10677 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAdditionalRepositoriesGetToManyRelatedFieldsScmProvider? Type10678 { get; set; } + public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedFieldsTerritorie? Type10678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10679 { get; set; } + public global::System.Collections.Generic.IList? Type10679 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAdditionalRepositoriesGetToManyRelatedFieldsScmGitReference? Type10680 { get; set; } + public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedFieldsAppPrice? Type10680 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10681 { get; set; } + public global::System.Collections.Generic.IList? Type10681 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAdditionalRepositoriesGetToManyRelatedIncludeItem? Type10682 { get; set; } + public global::AppStoreConnect.AppsAppPriceScheduleGetToOneRelatedIncludeItem? Type10682 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10683 { get; set; } + public global::System.Collections.Generic.IList? Type10683 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsApp? Type10684 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFilterStateItem? Type10684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10685 { get; set; } + public global::System.Collections.Generic.IList? Type10685 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppEncryptionDeclaration? Type10686 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersionExperiment? Type10686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10687 { get; set; } + public global::System.Collections.Generic.IList? Type10687 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBuildIcon? Type10688 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp? Type10688 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10689 { get; set; } + public global::System.Collections.Generic.IList? Type10689 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsCiProduct? Type10690 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersion? Type10690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10691 { get; set; } + public global::System.Collections.Generic.IList? Type10691 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBetaGroup? Type10692 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAppStoreVersionExperimentTreatment? Type10692 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10693 { get; set; } + public global::System.Collections.Generic.IList? Type10693 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppStoreVersion? Type10694 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionExperimentsV2GetToManyRelatedIncludeItem? Type10694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10695 { get; set; } + public global::System.Collections.Generic.IList? Type10695 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsPreReleaseVersion? Type10696 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFilterPlatformItem? Type10696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10697 { get; set; } + public global::System.Collections.Generic.IList? Type10697 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBetaAppLocalization? Type10698 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFilterAppStoreStateItem? Type10698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10699 { get; set; } + public global::System.Collections.Generic.IList? Type10699 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBuild? Type10700 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFilterAppVersionStateItem? Type10700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10701 { get; set; } + public global::System.Collections.Generic.IList? Type10701 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBetaLicenseAgreement? Type10702 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersion? Type10702 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10703 { get; set; } + public global::System.Collections.Generic.IList? Type10703 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBetaAppReviewDetail? Type10704 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsApp? Type10704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10705 { get; set; } + public global::System.Collections.Generic.IList? Type10705 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppInfo? Type10706 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization? Type10706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10707 { get; set; } + public global::System.Collections.Generic.IList? Type10707 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppClip? Type10708 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsBuild? Type10708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10709 { get; set; } + public global::System.Collections.Generic.IList? Type10709 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsEndUserLicenseAgreement? Type10710 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionPhasedRelease? Type10710 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10711 { get; set; } + public global::System.Collections.Generic.IList? Type10711 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsInAppPurchase? Type10712 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsGameCenterAppVersion? Type10712 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10713 { get; set; } + public global::System.Collections.Generic.IList? Type10713 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsSubscriptionGroup? Type10714 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsRoutingAppCoverage? Type10714 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10715 { get; set; } + public global::System.Collections.Generic.IList? Type10715 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsGameCenterEnabledVersion? Type10716 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreReviewDetail? Type10716 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10717 { get; set; } + public global::System.Collections.Generic.IList? Type10717 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppCustomProductPage? Type10718 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionSubmission? Type10718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10719 { get; set; } + public global::System.Collections.Generic.IList? Type10719 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsPromotedPurchase? Type10720 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppClipDefaultExperience? Type10720 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10721 { get; set; } + public global::System.Collections.Generic.IList? Type10721 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppEvent? Type10722 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionExperiment? Type10722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10723 { get; set; } + public global::System.Collections.Generic.IList? Type10723 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsReviewSubmission? Type10724 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedFieldsAlternativeDistributionPackage? Type10724 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10725 { get; set; } + public global::System.Collections.Generic.IList? Type10725 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsSubscriptionGracePeriod? Type10726 { get; set; } + public global::AppStoreConnect.AppsAppStoreVersionsGetToManyRelatedIncludeItem? Type10726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10727 { get; set; } + public global::System.Collections.Generic.IList? Type10727 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsGameCenterDetail? Type10728 { get; set; } + public global::AppStoreConnect.AppsAppTagsGetToManyRelatedSortItem? Type10728 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10729 { get; set; } + public global::System.Collections.Generic.IList? Type10729 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppStoreVersionExperiment? Type10730 { get; set; } + public global::AppStoreConnect.AppsAppTagsGetToManyRelatedFieldsAppTag? Type10730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10731 { get; set; } + public global::System.Collections.Generic.IList? Type10731 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAndroidToIosAppMappingDetail? Type10732 { get; set; } + public global::AppStoreConnect.AppsAppTagsGetToManyRelatedFieldsTerritorie? Type10732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10733 { get; set; } + public global::System.Collections.Generic.IList? Type10733 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsAppGetToOneRelatedIncludeItem? Type10734 { get; set; } + public global::AppStoreConnect.AppsAppTagsGetToManyRelatedIncludeItem? Type10734 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10735 { get; set; } + public global::System.Collections.Generic.IList? Type10735 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedSortItem? Type10736 { get; set; } + public global::AppStoreConnect.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie? Type10736 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10737 { get; set; } + public global::System.Collections.Generic.IList? Type10737 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsCiBuildRun? Type10738 { get; set; } + public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFilterVersionsPlatform? Type10738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10739 { get; set; } + public global::System.Collections.Generic.IList? Type10739 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsBuild? Type10740 { get; set; } + public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedSortItem? Type10740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10741 { get; set; } + public global::System.Collections.Generic.IList? Type10741 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsCiWorkflow? Type10742 { get; set; } + public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFieldsBackgroundAsset? Type10742 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10743 { get; set; } + public global::System.Collections.Generic.IList? Type10743 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsCiProduct? Type10744 { get; set; } + public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFieldsApp? Type10744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10745 { get; set; } + public global::System.Collections.Generic.IList? Type10745 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsScmGitReference? Type10746 { get; set; } + public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedFieldsBackgroundAssetVersion? Type10746 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10747 { get; set; } + public global::System.Collections.Generic.IList? Type10747 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsScmPullRequest? Type10748 { get; set; } + public global::AppStoreConnect.AppsBackgroundAssetsGetToManyRelatedIncludeItem? Type10748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10749 { get; set; } + public global::System.Collections.Generic.IList? Type10749 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedIncludeItem? Type10750 { get; set; } + public global::AppStoreConnect.AppsBetaAppLocalizationsGetToManyRelatedFieldsBetaAppLocalization? Type10750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10751 { get; set; } + public global::System.Collections.Generic.IList? Type10751 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsPrimaryRepositoriesGetToManyRelatedFieldsScmRepositorie? Type10752 { get; set; } + public global::AppStoreConnect.AppsBetaAppReviewDetailGetToOneRelatedFieldsBetaAppReviewDetail? Type10752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10753 { get; set; } + public global::System.Collections.Generic.IList? Type10753 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsPrimaryRepositoriesGetToManyRelatedFieldsScmProvider? Type10754 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFilterAppPlatformItem? Type10754 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10755 { get; set; } + public global::System.Collections.Generic.IList? Type10755 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsPrimaryRepositoriesGetToManyRelatedFieldsScmGitReference? Type10756 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFilterDevicePlatformItem? Type10756 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10757 { get; set; } + public global::System.Collections.Generic.IList? Type10757 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsPrimaryRepositoriesGetToManyRelatedIncludeItem? Type10758 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedSortItem? Type10758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10759 { get; set; } + public global::System.Collections.Generic.IList? Type10759 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsCiWorkflow? Type10760 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFieldsBetaFeedbackCrashSubmission? Type10760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10761 { get; set; } + public global::System.Collections.Generic.IList? Type10761 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsCiProduct? Type10762 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFieldsBuild? Type10762 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10763 { get; set; } + public global::System.Collections.Generic.IList? Type10763 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsScmRepositorie? Type10764 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedFieldsBetaTester? Type10764 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10765 { get; set; } + public global::System.Collections.Generic.IList? Type10765 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsCiXcodeVersion? Type10766 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackCrashSubmissionsGetToManyRelatedIncludeItem? Type10766 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10767 { get; set; } + public global::System.Collections.Generic.IList? Type10767 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsCiMacOsVersion? Type10768 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFilterAppPlatformItem? Type10768 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10769 { get; set; } + public global::System.Collections.Generic.IList? Type10769 { get; set; } /// /// /// - public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedIncludeItem? Type10770 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFilterDevicePlatformItem? Type10770 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10771 { get; set; } + public global::System.Collections.Generic.IList? Type10771 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedSortItem? Type10772 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedSortItem? Type10772 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10773 { get; set; } + public global::System.Collections.Generic.IList? Type10773 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsCiBuildRun? Type10774 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFieldsBetaFeedbackScreenshotSubmission? Type10774 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10775 { get; set; } + public global::System.Collections.Generic.IList? Type10775 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsBuild? Type10776 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFieldsBuild? Type10776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10777 { get; set; } + public global::System.Collections.Generic.IList? Type10777 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsCiWorkflow? Type10778 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedFieldsBetaTester? Type10778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10779 { get; set; } + public global::System.Collections.Generic.IList? Type10779 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsCiProduct? Type10780 { get; set; } + public global::AppStoreConnect.AppsBetaFeedbackScreenshotSubmissionsGetToManyRelatedIncludeItem? Type10780 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10781 { get; set; } + public global::System.Collections.Generic.IList? Type10781 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsScmGitReference? Type10782 { get; set; } + public global::AppStoreConnect.AppsBetaGroupsGetToManyRelatedFieldsBetaGroup? Type10782 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10783 { get; set; } + public global::System.Collections.Generic.IList? Type10783 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsScmPullRequest? Type10784 { get; set; } + public global::AppStoreConnect.AppsBetaLicenseAgreementGetToOneRelatedFieldsBetaLicenseAgreement? Type10784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10785 { get; set; } + public global::System.Collections.Generic.IList? Type10785 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedIncludeItem? Type10786 { get; set; } + public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedFilterPlatformItem? Type10786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10787 { get; set; } + public global::System.Collections.Generic.IList? Type10787 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsRepositoryGetToOneRelatedFieldsScmRepositorie? Type10788 { get; set; } + public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedSortItem? Type10788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10789 { get; set; } + public global::System.Collections.Generic.IList? Type10789 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsRepositoryGetToOneRelatedFieldsScmProvider? Type10790 { get; set; } + public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedFieldsBuildUpload? Type10790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10791 { get; set; } + public global::System.Collections.Generic.IList? Type10791 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsRepositoryGetToOneRelatedFieldsScmGitReference? Type10792 { get; set; } + public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedFieldsBuild? Type10792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10793 { get; set; } + public global::System.Collections.Generic.IList? Type10793 { get; set; } /// /// /// - public global::AppStoreConnect.CiWorkflowsRepositoryGetToOneRelatedIncludeItem? Type10794 { get; set; } + public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedFieldsBuildUploadFile? Type10794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10795 { get; set; } + public global::System.Collections.Generic.IList? Type10795 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsMacOsVersionsGetToManyRelatedFieldsCiMacOsVersion? Type10796 { get; set; } + public global::AppStoreConnect.AppsBuildUploadsGetToManyRelatedIncludeItem? Type10796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10797 { get; set; } + public global::System.Collections.Generic.IList? Type10797 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsMacOsVersionsGetToManyRelatedFieldsCiXcodeVersion? Type10798 { get; set; } + public global::AppStoreConnect.AppsBuildsGetToManyRelatedFieldsBuild? Type10798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10799 { get; set; } + public global::System.Collections.Generic.IList? Type10799 { get; set; } /// /// /// - public global::AppStoreConnect.CiXcodeVersionsMacOsVersionsGetToManyRelatedIncludeItem? Type10800 { get; set; } + public global::AppStoreConnect.AppsCiProductGetToOneRelatedFieldsCiProduct? Type10800 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10801 { get; set; } + public global::System.Collections.Generic.IList? Type10801 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsResponseGetToOneRelatedFieldsCustomerReviewResponse? Type10802 { get; set; } + public global::AppStoreConnect.AppsCiProductGetToOneRelatedFieldsApp? Type10802 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10803 { get; set; } + public global::System.Collections.Generic.IList? Type10803 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsResponseGetToOneRelatedFieldsCustomerReview? Type10804 { get; set; } + public global::AppStoreConnect.AppsCiProductGetToOneRelatedFieldsBundleId? Type10804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10805 { get; set; } + public global::System.Collections.Generic.IList? Type10805 { get; set; } /// /// /// - public global::AppStoreConnect.CustomerReviewsResponseGetToOneRelatedIncludeItem? Type10806 { get; set; } + public global::AppStoreConnect.AppsCiProductGetToOneRelatedFieldsScmRepositorie? Type10806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10807 { get; set; } + public global::System.Collections.Generic.IList? Type10807 { get; set; } /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementsTerritoriesGetToManyRelatedFieldsTerritorie? Type10808 { get; set; } + public global::AppStoreConnect.AppsCiProductGetToOneRelatedIncludeItem? Type10808 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10809 { get; set; } + public global::System.Collections.Generic.IList? Type10809 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ImageGetToOneRelatedFieldsGameCenterAchievementImage? Type10810 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewSummarizationsGetToManyRelatedFilterPlatformItem? Type10810 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10811 { get; set; } + public global::System.Collections.Generic.IList? Type10811 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ImageGetToOneRelatedFieldsGameCenterAchievementLocalization? Type10812 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewSummarizationsGetToManyRelatedFieldsCustomerReviewSummarization? Type10812 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10813 { get; set; } + public global::System.Collections.Generic.IList? Type10813 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ImageGetToOneRelatedIncludeItem? Type10814 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewSummarizationsGetToManyRelatedFieldsTerritorie? Type10814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10815 { get; set; } + public global::System.Collections.Generic.IList? Type10815 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterAchievement? Type10816 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewSummarizationsGetToManyRelatedIncludeItem? Type10816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10817 { get; set; } + public global::System.Collections.Generic.IList? Type10817 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterDetail? Type10818 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedFilterTerritoryItem? Type10818 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10819 { get; set; } + public global::System.Collections.Generic.IList? Type10819 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterGroup? Type10820 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedSortItem? Type10820 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterAchievementLocalization? Type10821 { get; set; } + public global::System.Collections.Generic.IList? Type10821 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10822 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedFieldsCustomerReview? Type10822 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterAchievementRelease? Type10823 { get; set; } + public global::System.Collections.Generic.IList? Type10823 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10824 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedFieldsCustomerReviewResponse? Type10824 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterActivitie? Type10825 { get; set; } + public global::System.Collections.Generic.IList? Type10825 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10826 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedFieldsTerritorie? Type10826 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedIncludeItem? Type10827 { get; set; } + public global::System.Collections.Generic.IList? Type10827 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10828 { get; set; } + public global::AppStoreConnect.AppsCustomerReviewsGetToManyRelatedIncludeItem? Type10828 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementImageGetToOneRelatedFieldsGameCenterAchievementImage? Type10829 { get; set; } + public global::System.Collections.Generic.IList? Type10829 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10830 { get; set; } + public global::AppStoreConnect.AppsEndUserLicenseAgreementGetToOneRelatedFieldsEndUserLicenseAgreement? Type10830 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementImageGetToOneRelatedIncludeItem? Type10831 { get; set; } + public global::System.Collections.Generic.IList? Type10831 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10832 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterDetail? Type10832 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type10833 { get; set; } + public global::System.Collections.Generic.IList? Type10833 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10834 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsApp? Type10834 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterAchievementVersion? Type10835 { get; set; } + public global::System.Collections.Generic.IList? Type10835 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10836 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterAppVersion? Type10836 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterAchievementImage? Type10837 { get; set; } + public global::System.Collections.Generic.IList? Type10837 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10838 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterGroup? Type10838 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2LocalizationsGetToManyRelatedIncludeItem? Type10839 { get; set; } + public global::System.Collections.Generic.IList? Type10839 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10840 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterLeaderboard? Type10840 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2VersionsGetToManyRelatedFieldsGameCenterAchievementVersion? Type10841 { get; set; } + public global::System.Collections.Generic.IList? Type10841 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10842 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterLeaderboardSet? Type10842 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2VersionsGetToManyRelatedFieldsGameCenterAchievement? Type10843 { get; set; } + public global::System.Collections.Generic.IList? Type10843 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10844 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterAchievement? Type10844 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2VersionsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type10845 { get; set; } + public global::System.Collections.Generic.IList? Type10845 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10846 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterActivitie? Type10846 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2VersionsGetToManyRelatedIncludeItem? Type10847 { get; set; } + public global::System.Collections.Generic.IList? Type10847 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10848 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterChallenge? Type10848 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterAchievement? Type10849 { get; set; } + public global::System.Collections.Generic.IList? Type10849 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10850 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterAchievementRelease? Type10850 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterDetail? Type10851 { get; set; } + public global::System.Collections.Generic.IList? Type10851 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10852 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterActivityVersionRelease? Type10852 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterGroup? Type10853 { get; set; } + public global::System.Collections.Generic.IList? Type10853 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10854 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterChallengeVersionRelease? Type10854 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterAchievementLocalization? Type10855 { get; set; } + public global::System.Collections.Generic.IList? Type10855 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10856 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterLeaderboardRelease? Type10856 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterAchievementRelease? Type10857 { get; set; } + public global::System.Collections.Generic.IList? Type10857 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10858 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsGameCenterLeaderboardSetRelease? Type10858 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterActivitie? Type10859 { get; set; } + public global::System.Collections.Generic.IList? Type10859 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10860 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedFieldsAppStoreVersion? Type10860 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedIncludeItem? Type10861 { get; set; } + public global::System.Collections.Generic.IList? Type10861 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10862 { get; set; } + public global::AppStoreConnect.AppsGameCenterDetailGetToOneRelatedIncludeItem? Type10862 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsLocalizationsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type10863 { get; set; } + public global::System.Collections.Generic.IList? Type10863 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10864 { get; set; } + public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedFilterPlatformItem? Type10864 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsLocalizationsGetToManyRelatedFieldsGameCenterAchievement? Type10865 { get; set; } + public global::System.Collections.Generic.IList? Type10865 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10866 { get; set; } + public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedSortItem? Type10866 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsLocalizationsGetToManyRelatedFieldsGameCenterAchievementImage? Type10867 { get; set; } + public global::System.Collections.Generic.IList? Type10867 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10868 { get; set; } + public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedFieldsGameCenterEnabledVersion? Type10868 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsLocalizationsGetToManyRelatedIncludeItem? Type10869 { get; set; } + public global::System.Collections.Generic.IList? Type10869 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10870 { get; set; } + public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp? Type10870 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsReleasesGetToManyRelatedFieldsGameCenterAchievementRelease? Type10871 { get; set; } + public global::System.Collections.Generic.IList? Type10871 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10872 { get; set; } + public global::AppStoreConnect.AppsGameCenterEnabledVersionsGetToManyRelatedIncludeItem? Type10872 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsReleasesGetToManyRelatedFieldsGameCenterDetail? Type10873 { get; set; } + public global::System.Collections.Generic.IList? Type10873 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10874 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedFilterInAppPurchaseTypeItem? Type10874 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsReleasesGetToManyRelatedFieldsGameCenterAchievement? Type10875 { get; set; } + public global::System.Collections.Generic.IList? Type10875 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10876 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedSortItem? Type10876 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementsReleasesGetToManyRelatedIncludeItem? Type10877 { get; set; } + public global::System.Collections.Generic.IList? Type10877 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10878 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedFieldsInAppPurchase? Type10878 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivityVersion? Type10879 { get; set; } + public global::System.Collections.Generic.IList? Type10879 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10880 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedFieldsApp? Type10880 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivitie? Type10881 { get; set; } + public global::System.Collections.Generic.IList? Type10881 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10882 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesGetToManyRelatedIncludeItem? Type10882 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivityLocalization? Type10883 { get; set; } + public global::System.Collections.Generic.IList? Type10883 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10884 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFilterStateItem? Type10884 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivityImage? Type10885 { get; set; } + public global::System.Collections.Generic.IList? Type10885 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10886 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFilterInAppPurchaseTypeItem? Type10886 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivityVersionRelease? Type10887 { get; set; } + public global::System.Collections.Generic.IList? Type10887 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10888 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedSortItem? Type10888 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedIncludeItem? Type10889 { get; set; } + public global::System.Collections.Generic.IList? Type10889 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10890 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchase? Type10890 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationsImageGetToOneRelatedFieldsGameCenterActivityImage? Type10891 { get; set; } + public global::System.Collections.Generic.IList? Type10891 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10892 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseLocalization? Type10892 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsDefaultImageGetToOneRelatedFieldsGameCenterActivityImage? Type10893 { get; set; } + public global::System.Collections.Generic.IList? Type10893 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10894 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseContent? Type10894 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsLocalizationsGetToManyRelatedFieldsGameCenterActivityLocalization? Type10895 { get; set; } + public global::System.Collections.Generic.IList? Type10895 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10896 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAppStoreReviewScreenshot? Type10896 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsLocalizationsGetToManyRelatedFieldsGameCenterActivityVersion? Type10897 { get; set; } + public global::System.Collections.Generic.IList? Type10897 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10898 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsPromotedPurchase? Type10898 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsLocalizationsGetToManyRelatedFieldsGameCenterActivityImage? Type10899 { get; set; } + public global::System.Collections.Generic.IList? Type10899 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10900 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchasePriceSchedule? Type10900 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsLocalizationsGetToManyRelatedIncludeItem? Type10901 { get; set; } + public global::System.Collections.Generic.IList? Type10901 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10902 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseAvailabilitie? Type10902 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersion? Type10903 { get; set; } + public global::System.Collections.Generic.IList? Type10903 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10904 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseImage? Type10904 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp? Type10905 { get; set; } + public global::System.Collections.Generic.IList? Type10905 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10906 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseOfferCode? Type10906 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization? Type10907 { get; set; } + public global::System.Collections.Generic.IList? Type10907 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10908 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedFieldsInAppPurchaseVersion? Type10908 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsBuild? Type10909 { get; set; } + public global::System.Collections.Generic.IList? Type10909 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10910 { get; set; } + public global::AppStoreConnect.AppsInAppPurchasesV2GetToManyRelatedIncludeItem? Type10910 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionPhasedRelease? Type10911 { get; set; } + public global::System.Collections.Generic.IList? Type10911 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10912 { get; set; } + public global::AppStoreConnect.AppsMarketplaceSearchDetailGetToOneRelatedFieldsMarketplaceSearchDetail? Type10912 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsGameCenterAppVersion? Type10913 { get; set; } + public global::System.Collections.Generic.IList? Type10913 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10914 { get; set; } + public global::AppStoreConnect.AppsPerfPowerMetricsGetToManyRelatedFilterPlatformItem? Type10914 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsRoutingAppCoverage? Type10915 { get; set; } + public global::System.Collections.Generic.IList? Type10915 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10916 { get; set; } + public global::AppStoreConnect.AppsPerfPowerMetricsGetToManyRelatedFilterMetricTypeItem? Type10916 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreReviewDetail? Type10917 { get; set; } + public global::System.Collections.Generic.IList? Type10917 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10918 { get; set; } + public global::AppStoreConnect.AppsPreReleaseVersionsGetToManyRelatedFieldsPreReleaseVersion? Type10918 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionSubmission? Type10919 { get; set; } + public global::System.Collections.Generic.IList? Type10919 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10920 { get; set; } + public global::AppStoreConnect.AppsPromotedPurchasesGetToManyRelatedFieldsPromotedPurchase? Type10920 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppClipDefaultExperience? Type10921 { get; set; } + public global::System.Collections.Generic.IList? Type10921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10922 { get; set; } + public global::AppStoreConnect.AppsPromotedPurchasesGetToManyRelatedFieldsInAppPurchase? Type10922 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionExperiment? Type10923 { get; set; } + public global::System.Collections.Generic.IList? Type10923 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10924 { get; set; } + public global::AppStoreConnect.AppsPromotedPurchasesGetToManyRelatedFieldsSubscription? Type10924 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAlternativeDistributionPackage? Type10925 { get; set; } + public global::System.Collections.Generic.IList? Type10925 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10926 { get; set; } + public global::AppStoreConnect.AppsPromotedPurchasesGetToManyRelatedIncludeItem? Type10926 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedIncludeItem? Type10927 { get; set; } + public global::System.Collections.Generic.IList? Type10927 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10928 { get; set; } + public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFilterPlatformItem? Type10928 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsCompatibilityVersionsGetToManyRelatedFieldsGameCenterAppVersion? Type10929 { get; set; } + public global::System.Collections.Generic.IList? Type10929 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10930 { get; set; } + public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFilterStateItem? Type10930 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsCompatibilityVersionsGetToManyRelatedFieldsAppStoreVersion? Type10931 { get; set; } + public global::System.Collections.Generic.IList? Type10931 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10932 { get; set; } + public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmission? Type10932 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsCompatibilityVersionsGetToManyRelatedIncludeItem? Type10933 { get; set; } + public global::System.Collections.Generic.IList? Type10933 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10934 { get; set; } + public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsApp? Type10934 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationsImageGetToOneRelatedFieldsGameCenterChallengeImage? Type10935 { get; set; } + public global::System.Collections.Generic.IList? Type10935 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10936 { get; set; } + public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem? Type10936 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsDefaultImageGetToOneRelatedFieldsGameCenterChallengeImage? Type10937 { get; set; } + public global::System.Collections.Generic.IList? Type10937 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10938 { get; set; } + public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsAppStoreVersion? Type10938 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsLocalizationsGetToManyRelatedFieldsGameCenterChallengeLocalization? Type10939 { get; set; } + public global::System.Collections.Generic.IList? Type10939 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10940 { get; set; } + public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedFieldsActor? Type10940 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsLocalizationsGetToManyRelatedFieldsGameCenterChallengeVersion? Type10941 { get; set; } + public global::System.Collections.Generic.IList? Type10941 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10942 { get; set; } + public global::AppStoreConnect.AppsReviewSubmissionsGetToManyRelatedIncludeItem? Type10942 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsLocalizationsGetToManyRelatedFieldsGameCenterChallengeImage? Type10943 { get; set; } + public global::System.Collections.Generic.IList? Type10943 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10944 { get; set; } + public global::AppStoreConnect.AppsSubscriptionGracePeriodGetToOneRelatedFieldsSubscriptionGracePeriod? Type10944 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsLocalizationsGetToManyRelatedIncludeItem? Type10945 { get; set; } + public global::System.Collections.Generic.IList? Type10945 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10946 { get; set; } + public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFilterSubscriptionsStateItem? Type10946 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallengeVersion? Type10947 { get; set; } + public global::System.Collections.Generic.IList? Type10947 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10948 { get; set; } + public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedSortItem? Type10948 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallenge? Type10949 { get; set; } + public global::System.Collections.Generic.IList? Type10949 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10950 { get; set; } + public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFieldsSubscriptionGroup? Type10950 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallengeLocalization? Type10951 { get; set; } + public global::System.Collections.Generic.IList? Type10951 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10952 { get; set; } + public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFieldsSubscription? Type10952 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallengeVersionRelease? Type10953 { get; set; } + public global::System.Collections.Generic.IList? Type10953 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10954 { get; set; } + public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFieldsSubscriptionGroupLocalization? Type10954 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallengeImage? Type10955 { get; set; } + public global::System.Collections.Generic.IList? Type10955 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10956 { get; set; } + public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedFieldsSubscriptionGroupVersion? Type10956 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedIncludeItem? Type10957 { get; set; } + public global::System.Collections.Generic.IList? Type10957 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10958 { get; set; } + public global::AppStoreConnect.AppsSubscriptionGroupsGetToManyRelatedIncludeItem? Type10958 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsAchievementReleasesGetToManyRelatedFieldsGameCenterAchievementRelease? Type10959 { get; set; } + public global::System.Collections.Generic.IList? Type10959 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10960 { get; set; } + public global::AppStoreConnect.AppsWebhooksGetToManyRelatedFieldsWebhook? Type10960 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsAchievementReleasesGetToManyRelatedFieldsGameCenterDetail? Type10961 { get; set; } + public global::System.Collections.Generic.IList? Type10961 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10962 { get; set; } + public global::AppStoreConnect.AppsWebhooksGetToManyRelatedFieldsApp? Type10962 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsAchievementReleasesGetToManyRelatedFieldsGameCenterAchievement? Type10963 { get; set; } + public global::System.Collections.Generic.IList? Type10963 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10964 { get; set; } + public global::AppStoreConnect.AppsWebhooksGetToManyRelatedIncludeItem? Type10964 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsAchievementReleasesGetToManyRelatedIncludeItem? Type10965 { get; set; } + public global::System.Collections.Generic.IList? Type10965 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10966 { get; set; } + public global::AppStoreConnect.BackgroundAssetVersionsBackgroundAssetUploadFilesGetToManyRelatedFieldsBackgroundAssetUploadFile? Type10966 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsActivityReleasesGetToManyRelatedFieldsGameCenterActivityVersionRelease? Type10967 { get; set; } + public global::System.Collections.Generic.IList? Type10967 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10968 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterPlatform? Type10968 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsActivityReleasesGetToManyRelatedFieldsGameCenterActivityVersion? Type10969 { get; set; } + public global::System.Collections.Generic.IList? Type10969 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10970 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterStateItem? Type10970 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsActivityReleasesGetToManyRelatedIncludeItem? Type10971 { get; set; } + public global::System.Collections.Generic.IList? Type10971 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10972 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterInternalBetaReleaseStateItem? Type10972 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsBlockedPlayersGetToManyRelatedFieldsGameCenterDetailPlayer? Type10973 { get; set; } + public global::System.Collections.Generic.IList? Type10973 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10974 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterExternalBetaReleaseStateItem? Type10974 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsChallengeReleasesGetToManyRelatedFieldsGameCenterChallengeVersionRelease? Type10975 { get; set; } + public global::System.Collections.Generic.IList? Type10975 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10976 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFilterAppStoreReleaseStateItem? Type10976 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsChallengeReleasesGetToManyRelatedFieldsGameCenterChallengeVersion? Type10977 { get; set; } + public global::System.Collections.Generic.IList? Type10977 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10978 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedSortItem? Type10978 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsChallengeReleasesGetToManyRelatedIncludeItem? Type10979 { get; set; } + public global::System.Collections.Generic.IList? Type10979 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10980 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetVersion? Type10980 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievement? Type10981 { get; set; } + public global::System.Collections.Generic.IList? Type10981 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10982 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAsset? Type10982 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterDetail? Type10983 { get; set; } + public global::System.Collections.Generic.IList? Type10983 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10984 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetVersionInternalBetaRelease? Type10984 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterGroup? Type10985 { get; set; } + public global::System.Collections.Generic.IList? Type10985 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10986 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetVersionExternalBetaRelease? Type10986 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type10987 { get; set; } + public global::System.Collections.Generic.IList? Type10987 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10988 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetVersionAppStoreRelease? Type10988 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievementRelease? Type10989 { get; set; } + public global::System.Collections.Generic.IList? Type10989 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10990 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedFieldsBackgroundAssetUploadFile? Type10990 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterActivitie? Type10991 { get; set; } + public global::System.Collections.Generic.IList? Type10991 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10992 { get; set; } + public global::AppStoreConnect.BackgroundAssetsVersionsGetToManyRelatedIncludeItem? Type10992 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedIncludeItem? Type10993 { get; set; } + public global::System.Collections.Generic.IList? Type10993 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10994 { get; set; } + public global::AppStoreConnect.BetaAppLocalizationsAppGetToOneRelatedFieldsApp? Type10994 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterAchievement? Type10995 { get; set; } + public global::System.Collections.Generic.IList? Type10995 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10996 { get; set; } + public global::AppStoreConnect.BetaAppReviewDetailsAppGetToOneRelatedFieldsApp? Type10996 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterDetail? Type10997 { get; set; } + public global::System.Collections.Generic.IList? Type10997 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10998 { get; set; } + public global::AppStoreConnect.BetaAppReviewSubmissionsBuildGetToOneRelatedFieldsBuild? Type10998 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterGroup? Type10999 { get; set; } + public global::System.Collections.Generic.IList? Type10999 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11000 { get; set; } + public global::AppStoreConnect.BetaBuildLocalizationsBuildGetToOneRelatedFieldsBuild? Type11000 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterActivitie? Type11001 { get; set; } + public global::System.Collections.Generic.IList? Type11001 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11002 { get; set; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionsCrashLogGetToOneRelatedFieldsBetaCrashLog? Type11002 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterAchievementVersion? Type11003 { get; set; } + public global::System.Collections.Generic.IList? Type11003 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11004 { get; set; } + public global::AppStoreConnect.BetaGroupsAppGetToOneRelatedFieldsApp? Type11004 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedIncludeItem? Type11005 { get; set; } + public global::System.Collections.Generic.IList? Type11005 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11006 { get; set; } + public global::AppStoreConnect.BetaGroupsBetaRecruitmentCriteriaGetToOneRelatedFieldsBetaRecruitmentCriteriaItem? Type11006 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterActivitie? Type11007 { get; set; } + public global::System.Collections.Generic.IList? Type11007 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11008 { get; set; } + public global::AppStoreConnect.BetaGroupsBetaTestersGetToManyRelatedFieldsBetaTester? Type11008 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterDetail? Type11009 { get; set; } + public global::System.Collections.Generic.IList? Type11009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11010 { get; set; } + public global::AppStoreConnect.BetaGroupsBuildsGetToManyRelatedFieldsBuild? Type11010 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterGroup? Type11011 { get; set; } + public global::System.Collections.Generic.IList? Type11011 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11012 { get; set; } + public global::AppStoreConnect.BetaLicenseAgreementsAppGetToOneRelatedFieldsApp? Type11012 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterAchievement? Type11013 { get; set; } + public global::System.Collections.Generic.IList? Type11013 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11014 { get; set; } + public global::AppStoreConnect.BetaTestersAppsGetToManyRelatedFieldsApp? Type11014 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterLeaderboard? Type11015 { get; set; } + public global::System.Collections.Generic.IList? Type11015 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11016 { get; set; } + public global::AppStoreConnect.BetaTestersBetaGroupsGetToManyRelatedFieldsBetaGroup? Type11016 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterActivityVersion? Type11017 { get; set; } + public global::System.Collections.Generic.IList? Type11017 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11018 { get; set; } + public global::AppStoreConnect.BetaTestersBuildsGetToManyRelatedFieldsBuild? Type11018 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedIncludeItem? Type11019 { get; set; } + public global::System.Collections.Generic.IList? Type11019 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11020 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuild? Type11020 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAppVersionsGetToManyRelatedFieldsGameCenterAppVersion? Type11021 { get; set; } + public global::System.Collections.Generic.IList? Type11021 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11022 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsPreReleaseVersion? Type11022 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAppVersionsGetToManyRelatedFieldsAppStoreVersion? Type11023 { get; set; } + public global::System.Collections.Generic.IList? Type11023 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11024 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBetaTester? Type11024 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterAppVersionsGetToManyRelatedIncludeItem? Type11025 { get; set; } + public global::System.Collections.Generic.IList? Type11025 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11026 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBetaGroup? Type11026 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterChallenge? Type11027 { get; set; } + public global::System.Collections.Generic.IList? Type11027 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11028 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBetaBuildLocalization? Type11028 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterDetail? Type11029 { get; set; } + public global::System.Collections.Generic.IList? Type11029 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11030 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsAppEncryptionDeclaration? Type11030 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterGroup? Type11031 { get; set; } + public global::System.Collections.Generic.IList? Type11031 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11032 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBetaAppReviewSubmission? Type11032 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterChallengeVersion? Type11033 { get; set; } + public global::System.Collections.Generic.IList? Type11033 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11034 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsApp? Type11034 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterLeaderboard? Type11035 { get; set; } + public global::System.Collections.Generic.IList? Type11035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11036 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuildBetaDetail? Type11036 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedIncludeItem? Type11037 { get; set; } + public global::System.Collections.Generic.IList? Type11037 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11038 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsAppStoreVersion? Type11038 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterGroup? Type11039 { get; set; } + public global::System.Collections.Generic.IList? Type11039 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11040 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuildIcon? Type11040 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterDetail? Type11041 { get; set; } + public global::System.Collections.Generic.IList? Type11041 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11042 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuildBundle? Type11042 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterLeaderboard? Type11043 { get; set; } + public global::System.Collections.Generic.IList? Type11043 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11044 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedFieldsBuildUpload? Type11044 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11045 { get; set; } + public global::System.Collections.Generic.IList? Type11045 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11046 { get; set; } + public global::AppStoreConnect.BuildBetaDetailsBuildGetToOneRelatedIncludeItem? Type11046 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterAchievement? Type11047 { get; set; } + public global::System.Collections.Generic.IList? Type11047 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11048 { get; set; } + public global::AppStoreConnect.BuildBundlesAppClipDomainCacheStatusGetToOneRelatedFieldsAppClipDomainStatuse? Type11048 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterActivitie? Type11049 { get; set; } + public global::System.Collections.Generic.IList? Type11049 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11050 { get; set; } + public global::AppStoreConnect.BuildBundlesAppClipDomainDebugStatusGetToOneRelatedFieldsAppClipDomainStatuse? Type11050 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterChallenge? Type11051 { get; set; } + public global::System.Collections.Generic.IList? Type11051 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11052 { get; set; } + public global::AppStoreConnect.BuildBundlesBetaAppClipInvocationsGetToManyRelatedFieldsBetaAppClipInvocation? Type11052 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedIncludeItem? Type11053 { get; set; } + public global::System.Collections.Generic.IList? Type11053 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11054 { get; set; } + public global::AppStoreConnect.BuildBundlesBetaAppClipInvocationsGetToManyRelatedFieldsBetaAppClipInvocationLocalization? Type11054 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11055 { get; set; } + public global::System.Collections.Generic.IList? Type11055 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11056 { get; set; } + public global::AppStoreConnect.BuildBundlesBetaAppClipInvocationsGetToManyRelatedIncludeItem? Type11056 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterDetail? Type11057 { get; set; } + public global::System.Collections.Generic.IList? Type11057 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11058 { get; set; } + public global::AppStoreConnect.BuildBundlesBuildBundleFileSizesGetToManyRelatedFieldsBuildBundleFileSize? Type11058 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterGroup? Type11059 { get; set; } + public global::System.Collections.Generic.IList? Type11059 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11060 { get; set; } + public global::AppStoreConnect.BuildUploadsBuildUploadFilesGetToManyRelatedFieldsBuildUploadFile? Type11060 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11061 { get; set; } + public global::System.Collections.Generic.IList? Type11061 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11062 { get; set; } + public global::AppStoreConnect.BuildsAppGetToOneRelatedFieldsApp? Type11062 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboard? Type11063 { get; set; } + public global::System.Collections.Generic.IList? Type11063 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11064 { get; set; } + public global::AppStoreConnect.BuildsAppEncryptionDeclarationGetToOneRelatedFieldsAppEncryptionDeclaration? Type11064 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11065 { get; set; } + public global::System.Collections.Generic.IList? Type11065 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11066 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersion? Type11066 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedIncludeItem? Type11067 { get; set; } + public global::System.Collections.Generic.IList? Type11067 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11068 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsApp? Type11068 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboardSet? Type11069 { get; set; } + public global::System.Collections.Generic.IList? Type11069 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11070 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization? Type11070 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterDetail? Type11071 { get; set; } + public global::System.Collections.Generic.IList? Type11071 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11072 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsBuild? Type11072 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterGroup? Type11073 { get; set; } + public global::System.Collections.Generic.IList? Type11073 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11074 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionPhasedRelease? Type11074 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboard? Type11075 { get; set; } + public global::System.Collections.Generic.IList? Type11075 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11076 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsGameCenterAppVersion? Type11076 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type11077 { get; set; } + public global::System.Collections.Generic.IList? Type11077 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11078 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsRoutingAppCoverage? Type11078 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedIncludeItem? Type11079 { get; set; } + public global::System.Collections.Generic.IList? Type11079 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11080 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreReviewDetail? Type11080 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboard? Type11081 { get; set; } + public global::System.Collections.Generic.IList? Type11081 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11082 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionSubmission? Type11082 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterDetail? Type11083 { get; set; } + public global::System.Collections.Generic.IList? Type11083 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11084 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppClipDefaultExperience? Type11084 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterGroup? Type11085 { get; set; } + public global::System.Collections.Generic.IList? Type11085 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11086 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionExperiment? Type11086 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11087 { get; set; } + public global::System.Collections.Generic.IList? Type11087 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11088 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedFieldsAlternativeDistributionPackage? Type11088 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11089 { get; set; } + public global::System.Collections.Generic.IList? Type11089 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11090 { get; set; } + public global::AppStoreConnect.BuildsAppStoreVersionGetToOneRelatedIncludeItem? Type11090 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11091 { get; set; } + public global::System.Collections.Generic.IList? Type11091 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11092 { get; set; } + public global::AppStoreConnect.BuildsBetaAppReviewSubmissionGetToOneRelatedFieldsBetaAppReviewSubmission? Type11092 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterActivitie? Type11093 { get; set; } + public global::System.Collections.Generic.IList? Type11093 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11094 { get; set; } + public global::AppStoreConnect.BuildsBetaBuildLocalizationsGetToManyRelatedFieldsBetaBuildLocalization? Type11094 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterChallenge? Type11095 { get; set; } + public global::System.Collections.Generic.IList? Type11095 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11096 { get; set; } + public global::AppStoreConnect.BuildsBuildBetaDetailGetToOneRelatedFieldsBuildBetaDetail? Type11096 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedIncludeItem? Type11097 { get; set; } + public global::System.Collections.Generic.IList? Type11097 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11098 { get; set; } + public global::AppStoreConnect.BuildsBuildBetaDetailGetToOneRelatedFieldsBuild? Type11098 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboard? Type11099 { get; set; } + public global::System.Collections.Generic.IList? Type11099 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11100 { get; set; } + public global::AppStoreConnect.BuildsBuildBetaDetailGetToOneRelatedIncludeItem? Type11100 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterDetail? Type11101 { get; set; } + public global::System.Collections.Generic.IList? Type11101 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11102 { get; set; } + public global::AppStoreConnect.BuildsDiagnosticSignaturesGetToManyRelatedFilterDiagnosticTypeItem? Type11102 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterGroup? Type11103 { get; set; } + public global::System.Collections.Generic.IList? Type11103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11104 { get; set; } + public global::AppStoreConnect.BuildsDiagnosticSignaturesGetToManyRelatedFieldsDiagnosticSignature? Type11104 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboardSet? Type11105 { get; set; } + public global::System.Collections.Generic.IList? Type11105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11106 { get; set; } + public global::AppStoreConnect.BuildsIconsGetToManyRelatedFieldsBuildIcon? Type11106 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterActivitie? Type11107 { get; set; } + public global::System.Collections.Generic.IList? Type11107 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11108 { get; set; } + public global::AppStoreConnect.BuildsIndividualTestersGetToManyRelatedFieldsBetaTester? Type11108 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterChallenge? Type11109 { get; set; } + public global::System.Collections.Generic.IList? Type11109 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11110 { get; set; } + public global::AppStoreConnect.BuildsPerfPowerMetricsGetToManyRelatedFilterPlatformItem? Type11110 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11111 { get; set; } + public global::System.Collections.Generic.IList? Type11111 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11112 { get; set; } + public global::AppStoreConnect.BuildsPerfPowerMetricsGetToManyRelatedFilterMetricTypeItem? Type11112 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedIncludeItem? Type11113 { get; set; } + public global::System.Collections.Generic.IList? Type11113 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11114 { get; set; } + public global::AppStoreConnect.BuildsPreReleaseVersionGetToOneRelatedFieldsPreReleaseVersion? Type11114 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsLeaderboardReleasesGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11115 { get; set; } + public global::System.Collections.Generic.IList? Type11115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11116 { get; set; } + public global::AppStoreConnect.BundleIdsAppGetToOneRelatedFieldsApp? Type11116 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsLeaderboardReleasesGetToManyRelatedFieldsGameCenterDetail? Type11117 { get; set; } + public global::System.Collections.Generic.IList? Type11117 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11118 { get; set; } + public global::AppStoreConnect.BundleIdsBundleIdCapabilitiesGetToManyRelatedFieldsBundleIdCapabilitie? Type11118 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsLeaderboardReleasesGetToManyRelatedFieldsGameCenterLeaderboard? Type11119 { get; set; } + public global::System.Collections.Generic.IList? Type11119 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11120 { get; set; } + public global::AppStoreConnect.BundleIdsProfilesGetToManyRelatedFieldsProfile? Type11120 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsLeaderboardReleasesGetToManyRelatedIncludeItem? Type11121 { get; set; } + public global::System.Collections.Generic.IList? Type11121 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11122 { get; set; } + public global::AppStoreConnect.CertificatesPassTypeIdGetToOneRelatedFieldsPassTypeId? Type11122 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsLeaderboardSetReleasesGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11123 { get; set; } + public global::System.Collections.Generic.IList? Type11123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11124 { get; set; } + public global::AppStoreConnect.CertificatesPassTypeIdGetToOneRelatedFieldsCertificate? Type11124 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsLeaderboardSetReleasesGetToManyRelatedFieldsGameCenterDetail? Type11125 { get; set; } + public global::System.Collections.Generic.IList? Type11125 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11126 { get; set; } + public global::AppStoreConnect.CertificatesPassTypeIdGetToOneRelatedIncludeItem? Type11126 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsLeaderboardSetReleasesGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11127 { get; set; } + public global::System.Collections.Generic.IList? Type11127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11128 { get; set; } + public global::AppStoreConnect.CiBuildActionsArtifactsGetToManyRelatedFieldsCiArtifact? Type11128 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsLeaderboardSetReleasesGetToManyRelatedIncludeItem? Type11129 { get; set; } + public global::System.Collections.Generic.IList? Type11129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11130 { get; set; } + public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsCiBuildRun? Type11130 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFilterPlatformItem? Type11131 { get; set; } + public global::System.Collections.Generic.IList? Type11131 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11132 { get; set; } + public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsBuild? Type11132 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedSortItem? Type11133 { get; set; } + public global::System.Collections.Generic.IList? Type11133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11134 { get; set; } + public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsCiWorkflow? Type11134 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsGameCenterEnabledVersion? Type11135 { get; set; } + public global::System.Collections.Generic.IList? Type11135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11136 { get; set; } + public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsCiProduct? Type11136 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp? Type11137 { get; set; } + public global::System.Collections.Generic.IList? Type11137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11138 { get; set; } + public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsScmGitReference? Type11138 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedIncludeItem? Type11139 { get; set; } + public global::System.Collections.Generic.IList? Type11139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11140 { get; set; } + public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedFieldsScmPullRequest? Type11140 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievement? Type11141 { get; set; } + public global::System.Collections.Generic.IList? Type11141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11142 { get; set; } + public global::AppStoreConnect.CiBuildActionsBuildRunGetToOneRelatedIncludeItem? Type11142 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterDetail? Type11143 { get; set; } + public global::System.Collections.Generic.IList? Type11143 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11144 { get; set; } + public global::AppStoreConnect.CiBuildActionsIssuesGetToManyRelatedFieldsCiIssue? Type11144 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterGroup? Type11145 { get; set; } + public global::System.Collections.Generic.IList? Type11145 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11146 { get; set; } + public global::AppStoreConnect.CiBuildActionsTestResultsGetToManyRelatedFieldsCiTestResult? Type11146 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type11147 { get; set; } + public global::System.Collections.Generic.IList? Type11147 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11148 { get; set; } + public global::AppStoreConnect.CiBuildRunsActionsGetToManyRelatedFieldsCiBuildAction? Type11148 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievementRelease? Type11149 { get; set; } + public global::System.Collections.Generic.IList? Type11149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11150 { get; set; } + public global::AppStoreConnect.CiBuildRunsActionsGetToManyRelatedFieldsCiBuildRun? Type11150 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterActivitie? Type11151 { get; set; } + public global::System.Collections.Generic.IList? Type11151 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11152 { get; set; } + public global::AppStoreConnect.CiBuildRunsActionsGetToManyRelatedIncludeItem? Type11152 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedIncludeItem? Type11153 { get; set; } + public global::System.Collections.Generic.IList? Type11153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11154 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFilterProcessingStateItem? Type11154 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterAchievement? Type11155 { get; set; } + public global::System.Collections.Generic.IList? Type11155 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11156 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFilterBetaAppReviewSubmissionBetaReviewStateItem? Type11156 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterDetail? Type11157 { get; set; } + public global::System.Collections.Generic.IList? Type11157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11158 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFilterPreReleaseVersionPlatformItem? Type11158 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterGroup? Type11159 { get; set; } + public global::System.Collections.Generic.IList? Type11159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11160 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFilterBuildAudienceTypeItem? Type11160 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterActivitie? Type11161 { get; set; } + public global::System.Collections.Generic.IList? Type11161 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11162 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedSortItem? Type11162 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterAchievementVersion? Type11163 { get; set; } + public global::System.Collections.Generic.IList? Type11163 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11164 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuild? Type11164 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedIncludeItem? Type11165 { get; set; } + public global::System.Collections.Generic.IList? Type11165 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11166 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsPreReleaseVersion? Type11166 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterActivitie? Type11167 { get; set; } + public global::System.Collections.Generic.IList? Type11167 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11168 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBetaTester? Type11168 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterDetail? Type11169 { get; set; } + public global::System.Collections.Generic.IList? Type11169 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11170 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBetaGroup? Type11170 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterGroup? Type11171 { get; set; } + public global::System.Collections.Generic.IList? Type11171 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11172 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBetaBuildLocalization? Type11172 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterAchievement? Type11173 { get; set; } + public global::System.Collections.Generic.IList? Type11173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11174 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsAppEncryptionDeclaration? Type11174 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterLeaderboard? Type11175 { get; set; } + public global::System.Collections.Generic.IList? Type11175 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11176 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBetaAppReviewSubmission? Type11176 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterActivityVersion? Type11177 { get; set; } + public global::System.Collections.Generic.IList? Type11177 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11178 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsApp? Type11178 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedIncludeItem? Type11179 { get; set; } + public global::System.Collections.Generic.IList? Type11179 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11180 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuildBetaDetail? Type11180 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterChallenge? Type11181 { get; set; } + public global::System.Collections.Generic.IList? Type11181 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11182 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsAppStoreVersion? Type11182 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterDetail? Type11183 { get; set; } + public global::System.Collections.Generic.IList? Type11183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11184 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuildIcon? Type11184 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterGroup? Type11185 { get; set; } + public global::System.Collections.Generic.IList? Type11185 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11186 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuildBundle? Type11186 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterChallengeVersion? Type11187 { get; set; } + public global::System.Collections.Generic.IList? Type11187 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11188 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedFieldsBuildUpload? Type11188 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterLeaderboard? Type11189 { get; set; } + public global::System.Collections.Generic.IList? Type11189 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11190 { get; set; } + public global::AppStoreConnect.CiBuildRunsBuildsGetToManyRelatedIncludeItem? Type11190 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedIncludeItem? Type11191 { get; set; } + public global::System.Collections.Generic.IList? Type11191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11192 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsXcodeVersionsGetToManyRelatedFieldsCiXcodeVersion? Type11192 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterDetail? Type11193 { get; set; } + public global::System.Collections.Generic.IList? Type11193 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11194 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsXcodeVersionsGetToManyRelatedFieldsCiMacOsVersion? Type11194 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp? Type11195 { get; set; } + public global::System.Collections.Generic.IList? Type11195 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11196 { get; set; } + public global::AppStoreConnect.CiMacOsVersionsXcodeVersionsGetToManyRelatedIncludeItem? Type11196 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterAppVersion? Type11197 { get; set; } + public global::System.Collections.Generic.IList? Type11197 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11198 { get; set; } + public global::AppStoreConnect.CiProductsAdditionalRepositoriesGetToManyRelatedFieldsScmRepositorie? Type11198 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterGroup? Type11199 { get; set; } + public global::System.Collections.Generic.IList? Type11199 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11200 { get; set; } + public global::AppStoreConnect.CiProductsAdditionalRepositoriesGetToManyRelatedFieldsScmProvider? Type11200 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterLeaderboard? Type11201 { get; set; } + public global::System.Collections.Generic.IList? Type11201 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11202 { get; set; } + public global::AppStoreConnect.CiProductsAdditionalRepositoriesGetToManyRelatedFieldsScmGitReference? Type11202 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11203 { get; set; } + public global::System.Collections.Generic.IList? Type11203 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11204 { get; set; } + public global::AppStoreConnect.CiProductsAdditionalRepositoriesGetToManyRelatedIncludeItem? Type11204 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterAchievement? Type11205 { get; set; } + public global::System.Collections.Generic.IList? Type11205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11206 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsApp? Type11206 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterActivitie? Type11207 { get; set; } + public global::System.Collections.Generic.IList? Type11207 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11208 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppEncryptionDeclaration? Type11208 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterChallenge? Type11209 { get; set; } + public global::System.Collections.Generic.IList? Type11209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11210 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBuildIcon? Type11210 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterAchievementRelease? Type11211 { get; set; } + public global::System.Collections.Generic.IList? Type11211 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11212 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsCiProduct? Type11212 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterActivityVersionRelease? Type11213 { get; set; } + public global::System.Collections.Generic.IList? Type11213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11214 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBetaGroup? Type11214 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterChallengeVersionRelease? Type11215 { get; set; } + public global::System.Collections.Generic.IList? Type11215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11216 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppStoreVersion? Type11216 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11217 { get; set; } + public global::System.Collections.Generic.IList? Type11217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11218 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsPreReleaseVersion? Type11218 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11219 { get; set; } + public global::System.Collections.Generic.IList? Type11219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11220 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBetaAppLocalization? Type11220 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsAppStoreVersion? Type11221 { get; set; } + public global::System.Collections.Generic.IList? Type11221 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11222 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBuild? Type11222 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedIncludeItem? Type11223 { get; set; } + public global::System.Collections.Generic.IList? Type11223 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11224 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBetaLicenseAgreement? Type11224 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11225 { get; set; } + public global::System.Collections.Generic.IList? Type11225 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11226 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsBetaAppReviewDetail? Type11226 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterDetail? Type11227 { get; set; } + public global::System.Collections.Generic.IList? Type11227 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11228 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppInfo? Type11228 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterGroup? Type11229 { get; set; } + public global::System.Collections.Generic.IList? Type11229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11230 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppClip? Type11230 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11231 { get; set; } + public global::System.Collections.Generic.IList? Type11231 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11232 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsEndUserLicenseAgreement? Type11232 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboard? Type11233 { get; set; } + public global::System.Collections.Generic.IList? Type11233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11234 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsInAppPurchase? Type11234 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11235 { get; set; } + public global::System.Collections.Generic.IList? Type11235 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11236 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsSubscriptionGroup? Type11236 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedIncludeItem? Type11237 { get; set; } + public global::System.Collections.Generic.IList? Type11237 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11238 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsGameCenterEnabledVersion? Type11238 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboardSet? Type11239 { get; set; } + public global::System.Collections.Generic.IList? Type11239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11240 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppCustomProductPage? Type11240 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterDetail? Type11241 { get; set; } + public global::System.Collections.Generic.IList? Type11241 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11242 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsPromotedPurchase? Type11242 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterGroup? Type11243 { get; set; } + public global::System.Collections.Generic.IList? Type11243 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11244 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppEvent? Type11244 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboard? Type11245 { get; set; } + public global::System.Collections.Generic.IList? Type11245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11246 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsReviewSubmission? Type11246 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type11247 { get; set; } + public global::System.Collections.Generic.IList? Type11247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11248 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsSubscriptionGracePeriod? Type11248 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedIncludeItem? Type11249 { get; set; } + public global::System.Collections.Generic.IList? Type11249 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11250 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsGameCenterDetail? Type11250 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboard? Type11251 { get; set; } + public global::System.Collections.Generic.IList? Type11251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11252 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAppStoreVersionExperiment? Type11252 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterDetail? Type11253 { get; set; } + public global::System.Collections.Generic.IList? Type11253 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11254 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedFieldsAndroidToIosAppMappingDetail? Type11254 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterGroup? Type11255 { get; set; } + public global::System.Collections.Generic.IList? Type11255 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11256 { get; set; } + public global::AppStoreConnect.CiProductsAppGetToOneRelatedIncludeItem? Type11256 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11257 { get; set; } + public global::System.Collections.Generic.IList? Type11257 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11258 { get; set; } + public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedSortItem? Type11258 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11259 { get; set; } + public global::System.Collections.Generic.IList? Type11259 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11260 { get; set; } + public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsCiBuildRun? Type11260 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11261 { get; set; } + public global::System.Collections.Generic.IList? Type11261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11262 { get; set; } + public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsBuild? Type11262 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterActivitie? Type11263 { get; set; } + public global::System.Collections.Generic.IList? Type11263 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11264 { get; set; } + public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsCiWorkflow? Type11264 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterChallenge? Type11265 { get; set; } + public global::System.Collections.Generic.IList? Type11265 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11266 { get; set; } + public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsCiProduct? Type11266 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedIncludeItem? Type11267 { get; set; } + public global::System.Collections.Generic.IList? Type11267 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11268 { get; set; } + public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsScmGitReference? Type11268 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboard? Type11269 { get; set; } + public global::System.Collections.Generic.IList? Type11269 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11270 { get; set; } + public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedFieldsScmPullRequest? Type11270 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterDetail? Type11271 { get; set; } + public global::System.Collections.Generic.IList? Type11271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11272 { get; set; } + public global::AppStoreConnect.CiProductsBuildRunsGetToManyRelatedIncludeItem? Type11272 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterGroup? Type11273 { get; set; } + public global::System.Collections.Generic.IList? Type11273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11274 { get; set; } + public global::AppStoreConnect.CiProductsPrimaryRepositoriesGetToManyRelatedFieldsScmRepositorie? Type11274 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboardSet? Type11275 { get; set; } + public global::System.Collections.Generic.IList? Type11275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11276 { get; set; } + public global::AppStoreConnect.CiProductsPrimaryRepositoriesGetToManyRelatedFieldsScmProvider? Type11276 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterActivitie? Type11277 { get; set; } + public global::System.Collections.Generic.IList? Type11277 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11278 { get; set; } + public global::AppStoreConnect.CiProductsPrimaryRepositoriesGetToManyRelatedFieldsScmGitReference? Type11278 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterChallenge? Type11279 { get; set; } + public global::System.Collections.Generic.IList? Type11279 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11280 { get; set; } + public global::AppStoreConnect.CiProductsPrimaryRepositoriesGetToManyRelatedIncludeItem? Type11280 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11281 { get; set; } + public global::System.Collections.Generic.IList? Type11281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11282 { get; set; } + public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsCiWorkflow? Type11282 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedIncludeItem? Type11283 { get; set; } + public global::System.Collections.Generic.IList? Type11283 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11284 { get; set; } + public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsCiProduct? Type11284 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGameCenterLeaderboardImageGetToOneRelatedFieldsGameCenterLeaderboardImage? Type11285 { get; set; } + public global::System.Collections.Generic.IList? Type11285 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11286 { get; set; } + public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsScmRepositorie? Type11286 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGameCenterLeaderboardImageGetToOneRelatedIncludeItem? Type11287 { get; set; } + public global::System.Collections.Generic.IList? Type11287 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11288 { get; set; } + public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsCiXcodeVersion? Type11288 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ImageGetToOneRelatedFieldsGameCenterLeaderboardImage? Type11289 { get; set; } + public global::System.Collections.Generic.IList? Type11289 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11290 { get; set; } + public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedFieldsCiMacOsVersion? Type11290 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ImageGetToOneRelatedFieldsGameCenterLeaderboardLocalization? Type11291 { get; set; } + public global::System.Collections.Generic.IList? Type11291 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11292 { get; set; } + public global::AppStoreConnect.CiProductsWorkflowsGetToManyRelatedIncludeItem? Type11292 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ImageGetToOneRelatedIncludeItem? Type11293 { get; set; } + public global::System.Collections.Generic.IList? Type11293 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11294 { get; set; } + public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedSortItem? Type11294 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGameCenterLeaderboardSetImageGetToOneRelatedIncludeItem? Type11295 { get; set; } + public global::System.Collections.Generic.IList? Type11295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11296 { get; set; } + public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsCiBuildRun? Type11296 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ImageGetToOneRelatedFieldsGameCenterLeaderboardSetImage? Type11297 { get; set; } + public global::System.Collections.Generic.IList? Type11297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11298 { get; set; } + public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsBuild? Type11298 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ImageGetToOneRelatedFieldsGameCenterLeaderboardSetLocalization? Type11299 { get; set; } + public global::System.Collections.Generic.IList? Type11299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11300 { get; set; } + public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsCiWorkflow? Type11300 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ImageGetToOneRelatedIncludeItem? Type11301 { get; set; } + public global::System.Collections.Generic.IList? Type11301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11302 { get; set; } + public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsCiProduct? Type11302 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterLeaderboard? Type11303 { get; set; } + public global::System.Collections.Generic.IList? Type11303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11304 { get; set; } + public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsScmGitReference? Type11304 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterDetail? Type11305 { get; set; } + public global::System.Collections.Generic.IList? Type11305 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11306 { get; set; } + public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedFieldsScmPullRequest? Type11306 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterGroup? Type11307 { get; set; } + public global::System.Collections.Generic.IList? Type11307 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11308 { get; set; } + public global::AppStoreConnect.CiWorkflowsBuildRunsGetToManyRelatedIncludeItem? Type11308 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11309 { get; set; } + public global::System.Collections.Generic.IList? Type11309 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterActivitie? Type11310 { get; set; } + public global::AppStoreConnect.CiWorkflowsRepositoryGetToOneRelatedFieldsScmRepositorie? Type11310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11311 { get; set; } + public global::System.Collections.Generic.IList? Type11311 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterChallenge? Type11312 { get; set; } + public global::AppStoreConnect.CiWorkflowsRepositoryGetToOneRelatedFieldsScmProvider? Type11312 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11313 { get; set; } + public global::System.Collections.Generic.IList? Type11313 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedIncludeItem? Type11314 { get; set; } + public global::AppStoreConnect.CiWorkflowsRepositoryGetToOneRelatedFieldsScmGitReference? Type11314 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11315 { get; set; } + public global::System.Collections.Generic.IList? Type11315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11316 { get; set; } + public global::AppStoreConnect.CiWorkflowsRepositoryGetToOneRelatedIncludeItem? Type11316 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedFieldsGameCenterDetail? Type11317 { get; set; } + public global::System.Collections.Generic.IList? Type11317 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11318 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsMacOsVersionsGetToManyRelatedFieldsCiMacOsVersion? Type11318 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedFieldsGameCenterGroup? Type11319 { get; set; } + public global::System.Collections.Generic.IList? Type11319 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboard? Type11320 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsMacOsVersionsGetToManyRelatedFieldsCiXcodeVersion? Type11320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11321 { get; set; } + public global::System.Collections.Generic.IList? Type11321 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedIncludeItem? Type11322 { get; set; } + public global::AppStoreConnect.CiXcodeVersionsMacOsVersionsGetToManyRelatedIncludeItem? Type11322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11323 { get; set; } + public global::System.Collections.Generic.IList? Type11323 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11324 { get; set; } + public global::AppStoreConnect.CustomerReviewsResponseGetToOneRelatedFieldsCustomerReviewResponse? Type11324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11325 { get; set; } + public global::System.Collections.Generic.IList? Type11325 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type11326 { get; set; } + public global::AppStoreConnect.CustomerReviewsResponseGetToOneRelatedFieldsCustomerReview? Type11326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11327 { get; set; } + public global::System.Collections.Generic.IList? Type11327 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetImage? Type11328 { get; set; } + public global::AppStoreConnect.CustomerReviewsResponseGetToOneRelatedIncludeItem? Type11328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11329 { get; set; } + public global::System.Collections.Generic.IList? Type11329 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2LocalizationsGetToManyRelatedIncludeItem? Type11330 { get; set; } + public global::AppStoreConnect.EndUserLicenseAgreementsTerritoriesGetToManyRelatedFieldsTerritorie? Type11330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11331 { get; set; } + public global::System.Collections.Generic.IList? Type11331 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboard? Type11332 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ImageGetToOneRelatedFieldsGameCenterAchievementImage? Type11332 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11333 { get; set; } + public global::System.Collections.Generic.IList? Type11333 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterDetail? Type11334 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ImageGetToOneRelatedFieldsGameCenterAchievementLocalization? Type11334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11335 { get; set; } + public global::System.Collections.Generic.IList? Type11335 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterGroup? Type11336 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ImageGetToOneRelatedIncludeItem? Type11336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11337 { get; set; } + public global::System.Collections.Generic.IList? Type11337 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11338 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterAchievement? Type11338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11339 { get; set; } + public global::System.Collections.Generic.IList? Type11339 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterActivitie? Type11340 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterDetail? Type11340 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11341 { get; set; } + public global::System.Collections.Generic.IList? Type11341 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterChallenge? Type11342 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterGroup? Type11342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11343 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterAchievementLocalization? Type11343 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11344 { get; set; } + public global::System.Collections.Generic.IList? Type11344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11345 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterAchievementRelease? Type11345 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedIncludeItem? Type11346 { get; set; } + public global::System.Collections.Generic.IList? Type11346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11347 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedFieldsGameCenterActivitie? Type11347 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type11348 { get; set; } + public global::System.Collections.Generic.IList? Type11348 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11349 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementGetToOneRelatedIncludeItem? Type11349 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11350 { get; set; } + public global::System.Collections.Generic.IList? Type11350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11351 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementImageGetToOneRelatedFieldsGameCenterAchievementImage? Type11351 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11352 { get; set; } + public global::System.Collections.Generic.IList? Type11352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11353 { get; set; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsGameCenterAchievementImageGetToOneRelatedIncludeItem? Type11353 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2VersionsGetToManyRelatedIncludeItem? Type11354 { get; set; } + public global::System.Collections.Generic.IList? Type11354 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11355 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type11355 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboard? Type11356 { get; set; } + public global::System.Collections.Generic.IList? Type11356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11357 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterAchievementVersion? Type11357 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterDetail? Type11358 { get; set; } + public global::System.Collections.Generic.IList? Type11358 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11359 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterAchievementImage? Type11359 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterGroup? Type11360 { get; set; } + public global::System.Collections.Generic.IList? Type11360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11361 { get; set; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2LocalizationsGetToManyRelatedIncludeItem? Type11361 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11362 { get; set; } + public global::System.Collections.Generic.IList? Type11362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11363 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2VersionsGetToManyRelatedFieldsGameCenterAchievementVersion? Type11363 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11364 { get; set; } + public global::System.Collections.Generic.IList? Type11364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11365 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2VersionsGetToManyRelatedFieldsGameCenterAchievement? Type11365 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11366 { get; set; } + public global::System.Collections.Generic.IList? Type11366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11367 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2VersionsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type11367 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterActivitie? Type11368 { get; set; } + public global::System.Collections.Generic.IList? Type11368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11369 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsV2VersionsGetToManyRelatedIncludeItem? Type11369 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterChallenge? Type11370 { get; set; } + public global::System.Collections.Generic.IList? Type11370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11371 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterAchievement? Type11371 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedIncludeItem? Type11372 { get; set; } + public global::System.Collections.Generic.IList? Type11372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11373 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterDetail? Type11373 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11374 { get; set; } + public global::System.Collections.Generic.IList? Type11374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11375 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterGroup? Type11375 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterDetail? Type11376 { get; set; } + public global::System.Collections.Generic.IList? Type11376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11377 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterAchievementLocalization? Type11377 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterGroup? Type11378 { get; set; } + public global::System.Collections.Generic.IList? Type11378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11379 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterAchievementRelease? Type11379 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboardSetLocalization? Type11380 { get; set; } + public global::System.Collections.Generic.IList? Type11380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11381 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedFieldsGameCenterActivitie? Type11381 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboard? Type11382 { get; set; } + public global::System.Collections.Generic.IList? Type11382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11383 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsGroupAchievementGetToOneRelatedIncludeItem? Type11383 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboardSetRelease? Type11384 { get; set; } + public global::System.Collections.Generic.IList? Type11384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11385 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsLocalizationsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type11385 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedIncludeItem? Type11386 { get; set; } + public global::System.Collections.Generic.IList? Type11386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11387 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsLocalizationsGetToManyRelatedFieldsGameCenterAchievement? Type11387 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11388 { get; set; } + public global::System.Collections.Generic.IList? Type11388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11389 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsLocalizationsGetToManyRelatedFieldsGameCenterAchievementImage? Type11389 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11390 { get; set; } + public global::System.Collections.Generic.IList? Type11390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11391 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsLocalizationsGetToManyRelatedIncludeItem? Type11391 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetImage? Type11392 { get; set; } + public global::System.Collections.Generic.IList? Type11392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11393 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsReleasesGetToManyRelatedFieldsGameCenterAchievementRelease? Type11393 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsLocalizationsGetToManyRelatedIncludeItem? Type11394 { get; set; } + public global::System.Collections.Generic.IList? Type11394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11395 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsReleasesGetToManyRelatedFieldsGameCenterDetail? Type11395 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsReleasesGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11396 { get; set; } + public global::System.Collections.Generic.IList? Type11396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11397 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsReleasesGetToManyRelatedFieldsGameCenterAchievement? Type11397 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsReleasesGetToManyRelatedFieldsGameCenterDetail? Type11398 { get; set; } + public global::System.Collections.Generic.IList? Type11398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11399 { get; set; } + public global::AppStoreConnect.GameCenterAchievementsReleasesGetToManyRelatedIncludeItem? Type11399 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsReleasesGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11400 { get; set; } + public global::System.Collections.Generic.IList? Type11400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11401 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivityVersion? Type11401 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsReleasesGetToManyRelatedIncludeItem? Type11402 { get; set; } + public global::System.Collections.Generic.IList? Type11402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11403 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivitie? Type11403 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11404 { get; set; } + public global::System.Collections.Generic.IList? Type11404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11405 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivityLocalization? Type11405 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11406 { get; set; } + public global::System.Collections.Generic.IList? Type11406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11407 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivityImage? Type11407 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardImage? Type11408 { get; set; } + public global::System.Collections.Generic.IList? Type11408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11409 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedFieldsGameCenterActivityVersionRelease? Type11409 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2LocalizationsGetToManyRelatedIncludeItem? Type11410 { get; set; } + public global::System.Collections.Generic.IList? Type11410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11411 { get; set; } + public global::AppStoreConnect.GameCenterActivitiesVersionsGetToManyRelatedIncludeItem? Type11411 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterLeaderboard? Type11412 { get; set; } + public global::System.Collections.Generic.IList? Type11412 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11413 { get; set; } + public global::AppStoreConnect.GameCenterActivityLocalizationsImageGetToOneRelatedFieldsGameCenterActivityImage? Type11413 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterDetail? Type11414 { get; set; } + public global::System.Collections.Generic.IList? Type11414 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11415 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsDefaultImageGetToOneRelatedFieldsGameCenterActivityImage? Type11415 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterGroup? Type11416 { get; set; } + public global::System.Collections.Generic.IList? Type11416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11417 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsLocalizationsGetToManyRelatedFieldsGameCenterActivityLocalization? Type11417 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11418 { get; set; } + public global::System.Collections.Generic.IList? Type11418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11419 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsLocalizationsGetToManyRelatedFieldsGameCenterActivityVersion? Type11419 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterLeaderboardLocalization? Type11420 { get; set; } + public global::System.Collections.Generic.IList? Type11420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11421 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsLocalizationsGetToManyRelatedFieldsGameCenterActivityImage? Type11421 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterLeaderboardRelease? Type11422 { get; set; } + public global::System.Collections.Generic.IList? Type11422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11423 { get; set; } + public global::AppStoreConnect.GameCenterActivityVersionsLocalizationsGetToManyRelatedIncludeItem? Type11423 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterActivitie? Type11424 { get; set; } + public global::System.Collections.Generic.IList? Type11424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11425 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersion? Type11425 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterChallenge? Type11426 { get; set; } + public global::System.Collections.Generic.IList? Type11426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11427 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp? Type11427 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedIncludeItem? Type11428 { get; set; } + public global::System.Collections.Generic.IList? Type11428 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11429 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization? Type11429 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11430 { get; set; } + public global::System.Collections.Generic.IList? Type11430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11431 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsBuild? Type11431 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboard? Type11432 { get; set; } + public global::System.Collections.Generic.IList? Type11432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11433 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionPhasedRelease? Type11433 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardImage? Type11434 { get; set; } + public global::System.Collections.Generic.IList? Type11434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11435 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsGameCenterAppVersion? Type11435 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsLocalizationsGetToManyRelatedIncludeItem? Type11436 { get; set; } + public global::System.Collections.Generic.IList? Type11436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11437 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsRoutingAppCoverage? Type11437 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsReleasesGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11438 { get; set; } + public global::System.Collections.Generic.IList? Type11438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11439 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreReviewDetail? Type11439 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsReleasesGetToManyRelatedFieldsGameCenterDetail? Type11440 { get; set; } + public global::System.Collections.Generic.IList? Type11440 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11441 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionSubmission? Type11441 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsReleasesGetToManyRelatedFieldsGameCenterLeaderboard? Type11442 { get; set; } + public global::System.Collections.Generic.IList? Type11442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11443 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppClipDefaultExperience? Type11443 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsReleasesGetToManyRelatedIncludeItem? Type11444 { get; set; } + public global::System.Collections.Generic.IList? Type11444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11445 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionExperiment? Type11445 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GameCenterScoreModerationsGetToManyRelatedFieldsGameCenterScoreModeration? Type11446 { get; set; } + public global::System.Collections.Generic.IList? Type11446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11447 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAlternativeDistributionPackage? Type11447 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GameCenterScoreModerationsGetToManyRelatedFieldsGameCenterDetailPlayer? Type11448 { get; set; } + public global::System.Collections.Generic.IList? Type11448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11449 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsAppStoreVersionGetToOneRelatedIncludeItem? Type11449 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2GameCenterScoreModerationsGetToManyRelatedIncludeItem? Type11450 { get; set; } + public global::System.Collections.Generic.IList? Type11450 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11451 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsCompatibilityVersionsGetToManyRelatedFieldsGameCenterAppVersion? Type11451 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11452 { get; set; } + public global::System.Collections.Generic.IList? Type11452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11453 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsCompatibilityVersionsGetToManyRelatedFieldsAppStoreVersion? Type11453 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboard? Type11454 { get; set; } + public global::System.Collections.Generic.IList? Type11454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11455 { get; set; } + public global::AppStoreConnect.GameCenterAppVersionsCompatibilityVersionsGetToManyRelatedIncludeItem? Type11455 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11456 { get; set; } + public global::System.Collections.Generic.IList? Type11456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11457 { get; set; } + public global::AppStoreConnect.GameCenterChallengeLocalizationsImageGetToOneRelatedFieldsGameCenterChallengeImage? Type11457 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2VersionsGetToManyRelatedIncludeItem? Type11458 { get; set; } + public global::System.Collections.Generic.IList? Type11458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11459 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsDefaultImageGetToOneRelatedFieldsGameCenterChallengeImage? Type11459 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsMatchmakingQueuesGetToManyRelatedFieldsGameCenterMatchmakingQueue? Type11460 { get; set; } + public global::System.Collections.Generic.IList? Type11460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11461 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsLocalizationsGetToManyRelatedFieldsGameCenterChallengeLocalization? Type11461 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsMatchmakingQueuesGetToManyRelatedFieldsGameCenterMatchmakingRuleSet? Type11462 { get; set; } + public global::System.Collections.Generic.IList? Type11462 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11463 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsLocalizationsGetToManyRelatedFieldsGameCenterChallengeVersion? Type11463 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsMatchmakingQueuesGetToManyRelatedIncludeItem? Type11464 { get; set; } + public global::System.Collections.Generic.IList? Type11464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11465 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsLocalizationsGetToManyRelatedFieldsGameCenterChallengeImage? Type11465 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsRulesGetToManyRelatedFieldsGameCenterMatchmakingRule? Type11466 { get; set; } + public global::System.Collections.Generic.IList? Type11466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11467 { get; set; } + public global::AppStoreConnect.GameCenterChallengeVersionsLocalizationsGetToManyRelatedIncludeItem? Type11467 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsTeamsGetToManyRelatedFieldsGameCenterMatchmakingTeam? Type11468 { get; set; } + public global::System.Collections.Generic.IList? Type11468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11469 { get; set; } + public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallengeVersion? Type11469 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseAvailabilitiesAvailableTerritoriesGetToManyRelatedFieldsTerritorie? Type11470 { get; set; } + public global::System.Collections.Generic.IList? Type11470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11471 { get; set; } + public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallenge? Type11471 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesCustomCodesGetToManyRelatedFieldsInAppPurchaseOfferCodeCustomCode? Type11472 { get; set; } + public global::System.Collections.Generic.IList? Type11472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11473 { get; set; } + public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallengeLocalization? Type11473 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesCustomCodesGetToManyRelatedFieldsActor? Type11474 { get; set; } + public global::System.Collections.Generic.IList? Type11474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11475 { get; set; } + public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallengeVersionRelease? Type11475 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesCustomCodesGetToManyRelatedIncludeItem? Type11476 { get; set; } + public global::System.Collections.Generic.IList? Type11476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11477 { get; set; } + public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedFieldsGameCenterChallengeImage? Type11477 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesOneTimeUseCodesGetToManyRelatedFieldsInAppPurchaseOfferCodeOneTimeUseCode? Type11478 { get; set; } + public global::System.Collections.Generic.IList? Type11478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11479 { get; set; } + public global::AppStoreConnect.GameCenterChallengesVersionsGetToManyRelatedIncludeItem? Type11479 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesOneTimeUseCodesGetToManyRelatedFieldsActor? Type11480 { get; set; } + public global::System.Collections.Generic.IList? Type11480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11481 { get; set; } + public global::AppStoreConnect.GameCenterDetailsAchievementReleasesGetToManyRelatedFieldsGameCenterAchievementRelease? Type11481 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesOneTimeUseCodesGetToManyRelatedIncludeItem? Type11482 { get; set; } + public global::System.Collections.Generic.IList? Type11482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11483 { get; set; } + public global::AppStoreConnect.GameCenterDetailsAchievementReleasesGetToManyRelatedFieldsGameCenterDetail? Type11483 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesPricesGetToManyRelatedFieldsInAppPurchaseOfferPrice? Type11484 { get; set; } + public global::System.Collections.Generic.IList? Type11484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11485 { get; set; } + public global::AppStoreConnect.GameCenterDetailsAchievementReleasesGetToManyRelatedFieldsGameCenterAchievement? Type11485 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesPricesGetToManyRelatedFieldsTerritorie? Type11486 { get; set; } + public global::System.Collections.Generic.IList? Type11486 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11487 { get; set; } + public global::AppStoreConnect.GameCenterDetailsAchievementReleasesGetToManyRelatedIncludeItem? Type11487 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesPricesGetToManyRelatedFieldsInAppPurchasePricePoint? Type11488 { get; set; } + public global::System.Collections.Generic.IList? Type11488 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11489 { get; set; } + public global::AppStoreConnect.GameCenterDetailsActivityReleasesGetToManyRelatedFieldsGameCenterActivityVersionRelease? Type11489 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesPricesGetToManyRelatedIncludeItem? Type11490 { get; set; } + public global::System.Collections.Generic.IList? Type11490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11491 { get; set; } + public global::AppStoreConnect.GameCenterDetailsActivityReleasesGetToManyRelatedFieldsGameCenterActivityVersion? Type11491 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointsEqualizationsGetToManyRelatedFieldsInAppPurchasePricePoint? Type11492 { get; set; } + public global::System.Collections.Generic.IList? Type11492 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11493 { get; set; } + public global::AppStoreConnect.GameCenterDetailsActivityReleasesGetToManyRelatedIncludeItem? Type11493 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointsEqualizationsGetToManyRelatedFieldsTerritorie? Type11494 { get; set; } + public global::System.Collections.Generic.IList? Type11494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11495 { get; set; } + public global::AppStoreConnect.GameCenterDetailsBlockedPlayersGetToManyRelatedFieldsGameCenterDetailPlayer? Type11495 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePointsEqualizationsGetToManyRelatedIncludeItem? Type11496 { get; set; } + public global::System.Collections.Generic.IList? Type11496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11497 { get; set; } + public global::AppStoreConnect.GameCenterDetailsChallengeReleasesGetToManyRelatedFieldsGameCenterChallengeVersionRelease? Type11497 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesAutomaticPricesGetToManyRelatedFieldsInAppPurchasePrice? Type11498 { get; set; } + public global::System.Collections.Generic.IList? Type11498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11499 { get; set; } + public global::AppStoreConnect.GameCenterDetailsChallengeReleasesGetToManyRelatedFieldsGameCenterChallengeVersion? Type11499 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesAutomaticPricesGetToManyRelatedFieldsInAppPurchasePricePoint? Type11500 { get; set; } + public global::System.Collections.Generic.IList? Type11500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11501 { get; set; } + public global::AppStoreConnect.GameCenterDetailsChallengeReleasesGetToManyRelatedIncludeItem? Type11501 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesAutomaticPricesGetToManyRelatedFieldsTerritorie? Type11502 { get; set; } + public global::System.Collections.Generic.IList? Type11502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11503 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievement? Type11503 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesAutomaticPricesGetToManyRelatedIncludeItem? Type11504 { get; set; } + public global::System.Collections.Generic.IList? Type11504 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11505 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterDetail? Type11505 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesBaseTerritoryGetToOneRelatedFieldsTerritorie? Type11506 { get; set; } + public global::System.Collections.Generic.IList? Type11506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11507 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterGroup? Type11507 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesManualPricesGetToManyRelatedFieldsInAppPurchasePrice? Type11508 { get; set; } + public global::System.Collections.Generic.IList? Type11508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11509 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type11509 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesManualPricesGetToManyRelatedFieldsInAppPurchasePricePoint? Type11510 { get; set; } + public global::System.Collections.Generic.IList? Type11510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11511 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievementRelease? Type11511 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesManualPricesGetToManyRelatedFieldsTerritorie? Type11512 { get; set; } + public global::System.Collections.Generic.IList? Type11512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11513 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedFieldsGameCenterActivitie? Type11513 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasePriceSchedulesManualPricesGetToManyRelatedIncludeItem? Type11514 { get; set; } + public global::System.Collections.Generic.IList? Type11514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11515 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsGetToManyRelatedIncludeItem? Type11515 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsImageGetToOneRelatedFieldsInAppPurchaseImage? Type11516 { get; set; } + public global::System.Collections.Generic.IList? Type11516 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11517 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterAchievement? Type11517 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsImagesGetToManyRelatedFieldsInAppPurchaseImage? Type11518 { get; set; } + public global::System.Collections.Generic.IList? Type11518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11519 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterDetail? Type11519 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsLocalizationsGetToManyRelatedFieldsInAppPurchaseLocalization? Type11520 { get; set; } + public global::System.Collections.Generic.IList? Type11520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11521 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterGroup? Type11521 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsLocalizationsGetToManyRelatedFieldsInAppPurchaseVersion? Type11522 { get; set; } + public global::System.Collections.Generic.IList? Type11522 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11523 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterActivitie? Type11523 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionsLocalizationsGetToManyRelatedIncludeItem? Type11524 { get; set; } + public global::System.Collections.Generic.IList? Type11524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11525 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterAchievementVersion? Type11525 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2AppStoreReviewScreenshotGetToOneRelatedFieldsInAppPurchaseAppStoreReviewScreenshot? Type11526 { get; set; } + public global::System.Collections.Generic.IList? Type11526 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11527 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAchievementsV2GetToManyRelatedIncludeItem? Type11527 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2AppStoreReviewScreenshotGetToOneRelatedFieldsInAppPurchase? Type11528 { get; set; } + public global::System.Collections.Generic.IList? Type11528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11529 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterActivitie? Type11529 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2AppStoreReviewScreenshotGetToOneRelatedIncludeItem? Type11530 { get; set; } + public global::System.Collections.Generic.IList? Type11530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11531 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterDetail? Type11531 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2ContentGetToOneRelatedFieldsInAppPurchaseContent? Type11532 { get; set; } + public global::System.Collections.Generic.IList? Type11532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11533 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterGroup? Type11533 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2ContentGetToOneRelatedFieldsInAppPurchase? Type11534 { get; set; } + public global::System.Collections.Generic.IList? Type11534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11535 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterAchievement? Type11535 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2ContentGetToOneRelatedIncludeItem? Type11536 { get; set; } + public global::System.Collections.Generic.IList? Type11536 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11537 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterLeaderboard? Type11537 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2IapPriceScheduleGetToOneRelatedFieldsInAppPurchasePriceSchedule? Type11538 { get; set; } + public global::System.Collections.Generic.IList? Type11538 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11539 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedFieldsGameCenterActivityVersion? Type11539 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2IapPriceScheduleGetToOneRelatedFieldsTerritorie? Type11540 { get; set; } + public global::System.Collections.Generic.IList? Type11540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11541 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterActivitiesGetToManyRelatedIncludeItem? Type11541 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2IapPriceScheduleGetToOneRelatedFieldsInAppPurchasePrice? Type11542 { get; set; } + public global::System.Collections.Generic.IList? Type11542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11543 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAppVersionsGetToManyRelatedFieldsGameCenterAppVersion? Type11543 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2IapPriceScheduleGetToOneRelatedIncludeItem? Type11544 { get; set; } + public global::System.Collections.Generic.IList? Type11544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11545 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAppVersionsGetToManyRelatedFieldsAppStoreVersion? Type11545 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2ImagesGetToManyRelatedFieldsInAppPurchaseImage? Type11546 { get; set; } + public global::System.Collections.Generic.IList? Type11546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11547 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterAppVersionsGetToManyRelatedIncludeItem? Type11547 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2ImagesGetToManyRelatedFieldsInAppPurchase? Type11548 { get; set; } + public global::System.Collections.Generic.IList? Type11548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11549 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterChallenge? Type11549 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2ImagesGetToManyRelatedIncludeItem? Type11550 { get; set; } + public global::System.Collections.Generic.IList? Type11550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11551 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterDetail? Type11551 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseAvailabilityGetToOneRelatedFieldsInAppPurchaseAvailabilitie? Type11552 { get; set; } + public global::System.Collections.Generic.IList? Type11552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11553 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterGroup? Type11553 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseAvailabilityGetToOneRelatedFieldsTerritorie? Type11554 { get; set; } + public global::System.Collections.Generic.IList? Type11554 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11555 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterChallengeVersion? Type11555 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseAvailabilityGetToOneRelatedIncludeItem? Type11556 { get; set; } + public global::System.Collections.Generic.IList? Type11556 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11557 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedFieldsGameCenterLeaderboard? Type11557 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseLocalizationsGetToManyRelatedFieldsInAppPurchaseLocalization? Type11558 { get; set; } + public global::System.Collections.Generic.IList? Type11558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11559 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterChallengesGetToManyRelatedIncludeItem? Type11559 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseLocalizationsGetToManyRelatedFieldsInAppPurchase? Type11560 { get; set; } + public global::System.Collections.Generic.IList? Type11560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11561 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterGroup? Type11561 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseLocalizationsGetToManyRelatedIncludeItem? Type11562 { get; set; } + public global::System.Collections.Generic.IList? Type11562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11563 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterDetail? Type11563 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedFieldsInAppPurchaseOfferCode? Type11564 { get; set; } + public global::System.Collections.Generic.IList? Type11564 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11565 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterLeaderboard? Type11565 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedFieldsInAppPurchaseOfferCodeOneTimeUseCode? Type11566 { get; set; } + public global::System.Collections.Generic.IList? Type11566 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11567 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11567 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedFieldsInAppPurchaseOfferCodeCustomCode? Type11568 { get; set; } + public global::System.Collections.Generic.IList? Type11568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11569 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterAchievement? Type11569 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedFieldsInAppPurchaseOfferPrice? Type11570 { get; set; } + public global::System.Collections.Generic.IList? Type11570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11571 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterActivitie? Type11571 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedIncludeItem? Type11572 { get; set; } + public global::System.Collections.Generic.IList? Type11572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11573 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedFieldsGameCenterChallenge? Type11573 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2PricePointsGetToManyRelatedFieldsInAppPurchasePricePoint? Type11574 { get; set; } + public global::System.Collections.Generic.IList? Type11574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11575 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterGroupGetToOneRelatedIncludeItem? Type11575 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2PricePointsGetToManyRelatedFieldsTerritorie? Type11576 { get; set; } + public global::System.Collections.Generic.IList? Type11576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11577 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11577 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2PricePointsGetToManyRelatedIncludeItem? Type11578 { get; set; } + public global::System.Collections.Generic.IList? Type11578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11579 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterDetail? Type11579 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2PromotedPurchaseGetToOneRelatedFieldsPromotedPurchase? Type11580 { get; set; } + public global::System.Collections.Generic.IList? Type11580 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11581 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterGroup? Type11581 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2PromotedPurchaseGetToOneRelatedFieldsInAppPurchase? Type11582 { get; set; } + public global::System.Collections.Generic.IList? Type11582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11583 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11583 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2PromotedPurchaseGetToOneRelatedFieldsSubscription? Type11584 { get; set; } + public global::System.Collections.Generic.IList? Type11584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11585 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboard? Type11585 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2PromotedPurchaseGetToOneRelatedIncludeItem? Type11586 { get; set; } + public global::System.Collections.Generic.IList? Type11586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11587 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11587 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFilterStateItem? Type11588 { get; set; } + public global::System.Collections.Generic.IList? Type11588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11589 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsGetToManyRelatedIncludeItem? Type11589 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFieldsInAppPurchaseVersion? Type11590 { get; set; } + public global::System.Collections.Generic.IList? Type11590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11591 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboardSet? Type11591 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFieldsInAppPurchase? Type11592 { get; set; } + public global::System.Collections.Generic.IList? Type11592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11593 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterDetail? Type11593 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFieldsInAppPurchaseImage? Type11594 { get; set; } + public global::System.Collections.Generic.IList? Type11594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11595 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterGroup? Type11595 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFieldsInAppPurchaseLocalization? Type11596 { get; set; } + public global::System.Collections.Generic.IList? Type11596 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11597 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboard? Type11597 { get; set; } /// /// /// - public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedIncludeItem? Type11598 { get; set; } + public global::System.Collections.Generic.IList? Type11598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11599 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type11599 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedFilterCertificateTypeItem? Type11600 { get; set; } + public global::System.Collections.Generic.IList? Type11600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11601 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardSetsV2GetToManyRelatedIncludeItem? Type11601 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedSortItem? Type11602 { get; set; } + public global::System.Collections.Generic.IList? Type11602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11603 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboard? Type11603 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedFieldsCertificate? Type11604 { get; set; } + public global::System.Collections.Generic.IList? Type11604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11605 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterDetail? Type11605 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedFieldsPassTypeId? Type11606 { get; set; } + public global::System.Collections.Generic.IList? Type11606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11607 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterGroup? Type11607 { get; set; } /// /// /// - public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedIncludeItem? Type11608 { get; set; } + public global::System.Collections.Generic.IList? Type11608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11609 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11609 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedFilterCertificateTypeItem? Type11610 { get; set; } + public global::System.Collections.Generic.IList? Type11610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11611 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11611 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedSortItem? Type11612 { get; set; } + public global::System.Collections.Generic.IList? Type11612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11613 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11613 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedFieldsCertificate? Type11614 { get; set; } + public global::System.Collections.Generic.IList? Type11614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11615 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterActivitie? Type11615 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedFieldsPassTypeId? Type11616 { get; set; } + public global::System.Collections.Generic.IList? Type11616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11617 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterChallenge? Type11617 { get; set; } /// /// /// - public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedIncludeItem? Type11618 { get; set; } + public global::System.Collections.Generic.IList? Type11618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11619 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsGetToManyRelatedIncludeItem? Type11619 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsAppGetToOneRelatedFieldsApp? Type11620 { get; set; } + public global::System.Collections.Generic.IList? Type11620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11621 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboard? Type11621 { get; set; } /// /// /// - public global::AppStoreConnect.PreReleaseVersionsBuildsGetToManyRelatedFieldsBuild? Type11622 { get; set; } + public global::System.Collections.Generic.IList? Type11622 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11623 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterDetail? Type11623 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesBundleIdGetToOneRelatedFieldsBundleId? Type11624 { get; set; } + public global::System.Collections.Generic.IList? Type11624 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11625 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterGroup? Type11625 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesCertificatesGetToManyRelatedFieldsCertificate? Type11626 { get; set; } + public global::System.Collections.Generic.IList? Type11626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11627 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboardSet? Type11627 { get; set; } /// /// /// - public global::AppStoreConnect.ProfilesDevicesGetToManyRelatedFieldsDevice? Type11628 { get; set; } + public global::System.Collections.Generic.IList? Type11628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11629 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterActivitie? Type11629 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem? Type11630 { get; set; } + public global::System.Collections.Generic.IList? Type11630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11631 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterChallenge? Type11631 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppStoreVersion? Type11632 { get; set; } + public global::System.Collections.Generic.IList? Type11632 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11633 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11633 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppCustomProductPageVersion? Type11634 { get; set; } + public global::System.Collections.Generic.IList? Type11634 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11635 { get; set; } + public global::AppStoreConnect.GameCenterDetailsGameCenterLeaderboardsV2GetToManyRelatedIncludeItem? Type11635 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppStoreVersionExperiment? Type11636 { get; set; } + public global::System.Collections.Generic.IList? Type11636 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11637 { get; set; } + public global::AppStoreConnect.GameCenterDetailsLeaderboardReleasesGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11637 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppEvent? Type11638 { get; set; } + public global::System.Collections.Generic.IList? Type11638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11639 { get; set; } + public global::AppStoreConnect.GameCenterDetailsLeaderboardReleasesGetToManyRelatedFieldsGameCenterDetail? Type11639 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion? Type11640 { get; set; } + public global::System.Collections.Generic.IList? Type11640 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11641 { get; set; } + public global::AppStoreConnect.GameCenterDetailsLeaderboardReleasesGetToManyRelatedFieldsGameCenterLeaderboard? Type11641 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterAchievementVersion? Type11642 { get; set; } + public global::System.Collections.Generic.IList? Type11642 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11643 { get; set; } + public global::AppStoreConnect.GameCenterDetailsLeaderboardReleasesGetToManyRelatedIncludeItem? Type11643 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterActivityVersion? Type11644 { get; set; } + public global::System.Collections.Generic.IList? Type11644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11645 { get; set; } + public global::AppStoreConnect.GameCenterDetailsLeaderboardSetReleasesGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11645 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterChallengeVersion? Type11646 { get; set; } + public global::System.Collections.Generic.IList? Type11646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11647 { get; set; } + public global::AppStoreConnect.GameCenterDetailsLeaderboardSetReleasesGetToManyRelatedFieldsGameCenterDetail? Type11647 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type11648 { get; set; } + public global::System.Collections.Generic.IList? Type11648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11649 { get; set; } + public global::AppStoreConnect.GameCenterDetailsLeaderboardSetReleasesGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11649 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11650 { get; set; } + public global::System.Collections.Generic.IList? Type11650 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11651 { get; set; } + public global::AppStoreConnect.GameCenterDetailsLeaderboardSetReleasesGetToManyRelatedIncludeItem? Type11651 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsInAppPurchaseVersion? Type11652 { get; set; } + public global::System.Collections.Generic.IList? Type11652 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11653 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFilterPlatformItem? Type11653 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsSubscriptionVersion? Type11654 { get; set; } + public global::System.Collections.Generic.IList? Type11654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11655 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedSortItem? Type11655 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsSubscriptionGroupVersion? Type11656 { get; set; } + public global::System.Collections.Generic.IList? Type11656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11657 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsGameCenterEnabledVersion? Type11657 { get; set; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedIncludeItem? Type11658 { get; set; } + public global::System.Collections.Generic.IList? Type11658 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11659 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp? Type11659 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProvidersRepositoriesGetToManyRelatedFieldsScmRepositorie? Type11660 { get; set; } + public global::System.Collections.Generic.IList? Type11660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11661 { get; set; } + public global::AppStoreConnect.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedIncludeItem? Type11661 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProvidersRepositoriesGetToManyRelatedFieldsScmProvider? Type11662 { get; set; } + public global::System.Collections.Generic.IList? Type11662 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11663 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievement? Type11663 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProvidersRepositoriesGetToManyRelatedFieldsScmGitReference? Type11664 { get; set; } + public global::System.Collections.Generic.IList? Type11664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11665 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterDetail? Type11665 { get; set; } /// /// /// - public global::AppStoreConnect.ScmProvidersRepositoriesGetToManyRelatedIncludeItem? Type11666 { get; set; } + public global::System.Collections.Generic.IList? Type11666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11667 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterGroup? Type11667 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGitReferencesGetToManyRelatedFieldsScmGitReference? Type11668 { get; set; } + public global::System.Collections.Generic.IList? Type11668 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11669 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievementLocalization? Type11669 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGitReferencesGetToManyRelatedFieldsScmRepositorie? Type11670 { get; set; } + public global::System.Collections.Generic.IList? Type11670 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11671 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterAchievementRelease? Type11671 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesGitReferencesGetToManyRelatedIncludeItem? Type11672 { get; set; } + public global::System.Collections.Generic.IList? Type11672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11673 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedFieldsGameCenterActivitie? Type11673 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesPullRequestsGetToManyRelatedFieldsScmPullRequest? Type11674 { get; set; } + public global::System.Collections.Generic.IList? Type11674 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11675 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsGetToManyRelatedIncludeItem? Type11675 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesPullRequestsGetToManyRelatedFieldsScmRepositorie? Type11676 { get; set; } + public global::System.Collections.Generic.IList? Type11676 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11677 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterAchievement? Type11677 { get; set; } /// /// /// - public global::AppStoreConnect.ScmRepositoriesPullRequestsGetToManyRelatedIncludeItem? Type11678 { get; set; } + public global::System.Collections.Generic.IList? Type11678 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11679 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterDetail? Type11679 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionAvailabilitiesAvailableTerritoriesGetToManyRelatedFieldsTerritorie? Type11680 { get; set; } + public global::System.Collections.Generic.IList? Type11680 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11681 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterGroup? Type11681 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsLocalizationsGetToManyRelatedFieldsSubscriptionGroupLocalization? Type11682 { get; set; } + public global::System.Collections.Generic.IList? Type11682 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11683 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterActivitie? Type11683 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsLocalizationsGetToManyRelatedFieldsSubscriptionGroupVersion? Type11684 { get; set; } + public global::System.Collections.Generic.IList? Type11684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11685 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedFieldsGameCenterAchievementVersion? Type11685 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsLocalizationsGetToManyRelatedIncludeItem? Type11686 { get; set; } + public global::System.Collections.Generic.IList? Type11686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11687 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterAchievementsV2GetToManyRelatedIncludeItem? Type11687 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionGroupLocalizationsGetToManyRelatedFieldsSubscriptionGroupLocalization? Type11688 { get; set; } + public global::System.Collections.Generic.IList? Type11688 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11689 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterActivitie? Type11689 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionGroupLocalizationsGetToManyRelatedFieldsSubscriptionGroup? Type11690 { get; set; } + public global::System.Collections.Generic.IList? Type11690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11691 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterDetail? Type11691 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionGroupLocalizationsGetToManyRelatedIncludeItem? Type11692 { get; set; } + public global::System.Collections.Generic.IList? Type11692 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11693 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterGroup? Type11693 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFilterStateItem? Type11694 { get; set; } + public global::System.Collections.Generic.IList? Type11694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11695 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterAchievement? Type11695 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedSortItem? Type11696 { get; set; } + public global::System.Collections.Generic.IList? Type11696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11697 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterLeaderboard? Type11697 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscription? Type11698 { get; set; } + public global::System.Collections.Generic.IList? Type11698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11699 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedFieldsGameCenterActivityVersion? Type11699 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionLocalization? Type11700 { get; set; } + public global::System.Collections.Generic.IList? Type11700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11701 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterActivitiesGetToManyRelatedIncludeItem? Type11701 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionAppStoreReviewScreenshot? Type11702 { get; set; } + public global::System.Collections.Generic.IList? Type11702 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11703 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterChallenge? Type11703 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionGroup? Type11704 { get; set; } + public global::System.Collections.Generic.IList? Type11704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11705 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterDetail? Type11705 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionIntroductoryOffer? Type11706 { get; set; } + public global::System.Collections.Generic.IList? Type11706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11707 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterGroup? Type11707 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionPromotionalOffer? Type11708 { get; set; } + public global::System.Collections.Generic.IList? Type11708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11709 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterChallengeVersion? Type11709 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionOfferCode? Type11710 { get; set; } + public global::System.Collections.Generic.IList? Type11710 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11711 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedFieldsGameCenterLeaderboard? Type11711 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionPrice? Type11712 { get; set; } + public global::System.Collections.Generic.IList? Type11712 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11713 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterChallengesGetToManyRelatedIncludeItem? Type11713 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsPromotedPurchase? Type11714 { get; set; } + public global::System.Collections.Generic.IList? Type11714 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11715 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterDetail? Type11715 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionAvailabilitie? Type11716 { get; set; } + public global::System.Collections.Generic.IList? Type11716 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11717 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp? Type11717 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsWinBackOffer? Type11718 { get; set; } + public global::System.Collections.Generic.IList? Type11718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11719 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterAppVersion? Type11719 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionImage? Type11720 { get; set; } + public global::System.Collections.Generic.IList? Type11720 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11721 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterGroup? Type11721 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionPlanAvailabilitie? Type11722 { get; set; } + public global::System.Collections.Generic.IList? Type11722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11723 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterLeaderboard? Type11723 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionVersion? Type11724 { get; set; } + public global::System.Collections.Generic.IList? Type11724 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11725 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11725 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedIncludeItem? Type11726 { get; set; } + public global::System.Collections.Generic.IList? Type11726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11727 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterAchievement? Type11727 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedFilterStateItem? Type11728 { get; set; } + public global::System.Collections.Generic.IList? Type11728 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11729 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterActivitie? Type11729 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedFieldsSubscriptionGroupVersion? Type11730 { get; set; } + public global::System.Collections.Generic.IList? Type11730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11731 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterChallenge? Type11731 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedFieldsSubscriptionGroup? Type11732 { get; set; } + public global::System.Collections.Generic.IList? Type11732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11733 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterAchievementRelease? Type11733 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedFieldsSubscriptionGroupLocalization? Type11734 { get; set; } + public global::System.Collections.Generic.IList? Type11734 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11735 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterActivityVersionRelease? Type11735 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedIncludeItem? Type11736 { get; set; } + public global::System.Collections.Generic.IList? Type11736 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11737 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterChallengeVersionRelease? Type11737 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesCustomCodesGetToManyRelatedFieldsSubscriptionOfferCodeCustomCode? Type11738 { get; set; } + public global::System.Collections.Generic.IList? Type11738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11739 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11739 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesCustomCodesGetToManyRelatedFieldsSubscriptionOfferCode? Type11740 { get; set; } + public global::System.Collections.Generic.IList? Type11740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11741 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11741 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesCustomCodesGetToManyRelatedIncludeItem? Type11742 { get; set; } + public global::System.Collections.Generic.IList? Type11742 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11743 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsAppStoreVersion? Type11743 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesOneTimeUseCodesGetToManyRelatedFieldsSubscriptionOfferCodeOneTimeUseCode? Type11744 { get; set; } + public global::System.Collections.Generic.IList? Type11744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11745 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterDetailsGetToManyRelatedIncludeItem? Type11745 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesOneTimeUseCodesGetToManyRelatedFieldsSubscriptionOfferCode? Type11746 { get; set; } + public global::System.Collections.Generic.IList? Type11746 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11747 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11747 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesOneTimeUseCodesGetToManyRelatedIncludeItem? Type11748 { get; set; } + public global::System.Collections.Generic.IList? Type11748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11749 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterDetail? Type11749 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesPricesGetToManyRelatedFieldsSubscriptionOfferCodePrice? Type11750 { get; set; } + public global::System.Collections.Generic.IList? Type11750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11751 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterGroup? Type11751 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesPricesGetToManyRelatedFieldsTerritorie? Type11752 { get; set; } + public global::System.Collections.Generic.IList? Type11752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11753 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11753 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesPricesGetToManyRelatedFieldsSubscriptionPricePoint? Type11754 { get; set; } + public global::System.Collections.Generic.IList? Type11754 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11755 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboard? Type11755 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesPricesGetToManyRelatedIncludeItem? Type11756 { get; set; } + public global::System.Collections.Generic.IList? Type11756 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11757 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11757 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPlanAvailabilitiesAvailableTerritoriesGetToManyRelatedFieldsTerritorie? Type11758 { get; set; } + public global::System.Collections.Generic.IList? Type11758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11759 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsGetToManyRelatedIncludeItem? Type11759 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsAdjustedEqualizationsGetToManyRelatedFieldsSubscriptionPricePoint? Type11760 { get; set; } + public global::System.Collections.Generic.IList? Type11760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11761 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboardSet? Type11761 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsAdjustedEqualizationsGetToManyRelatedFieldsTerritorie? Type11762 { get; set; } + public global::System.Collections.Generic.IList? Type11762 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11763 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterDetail? Type11763 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsAdjustedEqualizationsGetToManyRelatedIncludeItem? Type11764 { get; set; } + public global::System.Collections.Generic.IList? Type11764 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11765 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterGroup? Type11765 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsEqualizationsGetToManyRelatedFieldsSubscriptionPricePoint? Type11766 { get; set; } + public global::System.Collections.Generic.IList? Type11766 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11767 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboard? Type11767 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsEqualizationsGetToManyRelatedFieldsTerritorie? Type11768 { get; set; } + public global::System.Collections.Generic.IList? Type11768 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11769 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type11769 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePointsEqualizationsGetToManyRelatedIncludeItem? Type11770 { get; set; } + public global::System.Collections.Generic.IList? Type11770 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11771 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardSetsV2GetToManyRelatedIncludeItem? Type11771 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersPricesGetToManyRelatedFieldsSubscriptionPromotionalOfferPrice? Type11772 { get; set; } + public global::System.Collections.Generic.IList? Type11772 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11773 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboard? Type11773 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersPricesGetToManyRelatedFieldsTerritorie? Type11774 { get; set; } + public global::System.Collections.Generic.IList? Type11774 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11775 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterDetail? Type11775 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersPricesGetToManyRelatedFieldsSubscriptionPricePoint? Type11776 { get; set; } + public global::System.Collections.Generic.IList? Type11776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11777 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterGroup? Type11777 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersPricesGetToManyRelatedIncludeItem? Type11778 { get; set; } + public global::System.Collections.Generic.IList? Type11778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11779 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11779 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsImageGetToOneRelatedFieldsSubscriptionImage? Type11780 { get; set; } + public global::System.Collections.Generic.IList? Type11780 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11781 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11781 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsImagesGetToManyRelatedFieldsSubscriptionImage? Type11782 { get; set; } + public global::System.Collections.Generic.IList? Type11782 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11783 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11783 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsLocalizationsGetToManyRelatedFieldsSubscriptionLocalization? Type11784 { get; set; } + public global::System.Collections.Generic.IList? Type11784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11785 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterActivitie? Type11785 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsLocalizationsGetToManyRelatedFieldsSubscriptionVersion? Type11786 { get; set; } + public global::System.Collections.Generic.IList? Type11786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11787 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterChallenge? Type11787 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionVersionsLocalizationsGetToManyRelatedIncludeItem? Type11788 { get; set; } + public global::System.Collections.Generic.IList? Type11788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11789 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsGetToManyRelatedIncludeItem? Type11789 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsAppStoreReviewScreenshotGetToOneRelatedFieldsSubscriptionAppStoreReviewScreenshot? Type11790 { get; set; } + public global::System.Collections.Generic.IList? Type11790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11791 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboard? Type11791 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsAppStoreReviewScreenshotGetToOneRelatedFieldsSubscription? Type11792 { get; set; } + public global::System.Collections.Generic.IList? Type11792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11793 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterDetail? Type11793 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsAppStoreReviewScreenshotGetToOneRelatedIncludeItem? Type11794 { get; set; } + public global::System.Collections.Generic.IList? Type11794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11795 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterGroup? Type11795 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsImagesGetToManyRelatedFieldsSubscriptionImage? Type11796 { get; set; } + public global::System.Collections.Generic.IList? Type11796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11797 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboardSet? Type11797 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsImagesGetToManyRelatedFieldsSubscription? Type11798 { get; set; } + public global::System.Collections.Generic.IList? Type11798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11799 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterActivitie? Type11799 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsImagesGetToManyRelatedIncludeItem? Type11800 { get; set; } + public global::System.Collections.Generic.IList? Type11800 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11801 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterChallenge? Type11801 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedFieldsSubscriptionIntroductoryOffer? Type11802 { get; set; } + public global::System.Collections.Generic.IList? Type11802 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11803 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11803 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedFieldsSubscription? Type11804 { get; set; } + public global::System.Collections.Generic.IList? Type11804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11805 { get; set; } + public global::AppStoreConnect.GameCenterGroupsGameCenterLeaderboardsV2GetToManyRelatedIncludeItem? Type11805 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedFieldsTerritorie? Type11806 { get; set; } + public global::System.Collections.Generic.IList? Type11806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11807 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGameCenterLeaderboardImageGetToOneRelatedFieldsGameCenterLeaderboardImage? Type11807 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedFieldsSubscriptionPricePoint? Type11808 { get; set; } + public global::System.Collections.Generic.IList? Type11808 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11809 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsGameCenterLeaderboardImageGetToOneRelatedIncludeItem? Type11809 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedIncludeItem? Type11810 { get; set; } + public global::System.Collections.Generic.IList? Type11810 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11811 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ImageGetToOneRelatedFieldsGameCenterLeaderboardImage? Type11811 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscriptionOfferCode? Type11812 { get; set; } + public global::System.Collections.Generic.IList? Type11812 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11813 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ImageGetToOneRelatedFieldsGameCenterLeaderboardLocalization? Type11813 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscription? Type11814 { get; set; } + public global::System.Collections.Generic.IList? Type11814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11815 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ImageGetToOneRelatedIncludeItem? Type11815 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscriptionOfferCodeOneTimeUseCode? Type11816 { get; set; } + public global::System.Collections.Generic.IList? Type11816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11817 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsGameCenterLeaderboardSetImageGetToOneRelatedIncludeItem? Type11817 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscriptionOfferCodeCustomCode? Type11818 { get; set; } + public global::System.Collections.Generic.IList? Type11818 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11819 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ImageGetToOneRelatedFieldsGameCenterLeaderboardSetImage? Type11819 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscriptionOfferCodePrice? Type11820 { get; set; } + public global::System.Collections.Generic.IList? Type11820 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11821 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ImageGetToOneRelatedFieldsGameCenterLeaderboardSetLocalization? Type11821 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedIncludeItem? Type11822 { get; set; } + public global::System.Collections.Generic.IList? Type11822 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11823 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ImageGetToOneRelatedIncludeItem? Type11823 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPlanAvailabilitiesGetToManyRelatedFieldsSubscriptionPlanAvailabilitie? Type11824 { get; set; } + public global::System.Collections.Generic.IList? Type11824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11825 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterLeaderboard? Type11825 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPlanAvailabilitiesGetToManyRelatedFieldsTerritorie? Type11826 { get; set; } + public global::System.Collections.Generic.IList? Type11826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11827 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterDetail? Type11827 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPlanAvailabilitiesGetToManyRelatedIncludeItem? Type11828 { get; set; } + public global::System.Collections.Generic.IList? Type11828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11829 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterGroup? Type11829 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPricePointsGetToManyRelatedFieldsSubscriptionPricePoint? Type11830 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11831 { get; set; } + public global::System.Collections.Generic.IList? Type11831 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPricePointsGetToManyRelatedFieldsTerritorie? Type11832 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterActivitie? Type11832 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11833 { get; set; } + public global::System.Collections.Generic.IList? Type11833 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPricePointsGetToManyRelatedIncludeItem? Type11834 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedFieldsGameCenterChallenge? Type11834 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11835 { get; set; } + public global::System.Collections.Generic.IList? Type11835 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedFilterPlanTypeItem? Type11836 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardGetToOneRelatedIncludeItem? Type11836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11837 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11837 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedFieldsSubscriptionPrice? Type11838 { get; set; } + public global::System.Collections.Generic.IList? Type11838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11839 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedFieldsGameCenterDetail? Type11839 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedFieldsTerritorie? Type11840 { get; set; } + public global::System.Collections.Generic.IList? Type11840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11841 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedFieldsGameCenterGroup? Type11841 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedFieldsSubscriptionPricePoint? Type11842 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboard? Type11842 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11843 { get; set; } + public global::System.Collections.Generic.IList? Type11843 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedIncludeItem? Type11844 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsGameCenterLeaderboardSetGetToOneRelatedIncludeItem? Type11844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11845 { get; set; } + public global::System.Collections.Generic.IList? Type11845 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPromotedPurchaseGetToOneRelatedFieldsPromotedPurchase? Type11846 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11847 { get; set; } + public global::System.Collections.Generic.IList? Type11847 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPromotedPurchaseGetToOneRelatedFieldsInAppPurchase? Type11848 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type11848 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11849 { get; set; } + public global::System.Collections.Generic.IList? Type11849 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPromotedPurchaseGetToOneRelatedFieldsSubscription? Type11850 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetImage? Type11850 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11851 { get; set; } + public global::System.Collections.Generic.IList? Type11851 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPromotedPurchaseGetToOneRelatedIncludeItem? Type11852 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2LocalizationsGetToManyRelatedIncludeItem? Type11852 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11853 { get; set; } + public global::System.Collections.Generic.IList? Type11853 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPromotionalOffersGetToManyRelatedFieldsSubscriptionPromotionalOffer? Type11854 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboard? Type11854 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11855 { get; set; } + public global::System.Collections.Generic.IList? Type11855 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPromotionalOffersGetToManyRelatedFieldsSubscription? Type11856 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterDetail? Type11856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11857 { get; set; } + public global::System.Collections.Generic.IList? Type11857 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPromotionalOffersGetToManyRelatedFieldsSubscriptionPromotionalOfferPrice? Type11858 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterGroup? Type11858 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11859 { get; set; } + public global::System.Collections.Generic.IList? Type11859 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsPromotionalOffersGetToManyRelatedIncludeItem? Type11860 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11860 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11861 { get; set; } + public global::System.Collections.Generic.IList? Type11861 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsSubscriptionAvailabilityGetToOneRelatedFieldsSubscriptionAvailabilitie? Type11862 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterActivitie? Type11862 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11863 { get; set; } + public global::System.Collections.Generic.IList? Type11863 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsSubscriptionAvailabilityGetToOneRelatedFieldsTerritorie? Type11864 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterChallenge? Type11864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11865 { get; set; } + public global::System.Collections.Generic.IList? Type11865 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsSubscriptionAvailabilityGetToOneRelatedIncludeItem? Type11866 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11866 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11867 { get; set; } + public global::System.Collections.Generic.IList? Type11867 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsSubscriptionLocalizationsGetToManyRelatedFieldsSubscriptionLocalization? Type11868 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2GameCenterLeaderboardsGetToManyRelatedIncludeItem? Type11868 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11869 { get; set; } + public global::System.Collections.Generic.IList? Type11869 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsSubscriptionLocalizationsGetToManyRelatedFieldsSubscription? Type11870 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type11870 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11871 { get; set; } + public global::System.Collections.Generic.IList? Type11871 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsSubscriptionLocalizationsGetToManyRelatedIncludeItem? Type11872 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11872 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11873 { get; set; } + public global::System.Collections.Generic.IList? Type11873 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFilterStateItem? Type11874 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11874 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11875 { get; set; } + public global::System.Collections.Generic.IList? Type11875 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFieldsSubscriptionVersion? Type11876 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2VersionsGetToManyRelatedIncludeItem? Type11876 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11877 { get; set; } + public global::System.Collections.Generic.IList? Type11877 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFieldsSubscription? Type11878 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboard? Type11878 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11879 { get; set; } + public global::System.Collections.Generic.IList? Type11879 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFieldsSubscriptionImage? Type11880 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterDetail? Type11880 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11881 { get; set; } + public global::System.Collections.Generic.IList? Type11881 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFieldsSubscriptionLocalization? Type11882 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterGroup? Type11882 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11883 { get; set; } + public global::System.Collections.Generic.IList? Type11883 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedIncludeItem? Type11884 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11884 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11885 { get; set; } + public global::System.Collections.Generic.IList? Type11885 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsWinBackOffersGetToManyRelatedFieldsWinBackOffer? Type11886 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11886 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11887 { get; set; } + public global::System.Collections.Generic.IList? Type11887 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsWinBackOffersGetToManyRelatedFieldsWinBackOfferPrice? Type11888 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11888 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11889 { get; set; } + public global::System.Collections.Generic.IList? Type11889 { get; set; } /// /// /// - public global::AppStoreConnect.SubscriptionsWinBackOffersGetToManyRelatedIncludeItem? Type11890 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterActivitie? Type11890 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11891 { get; set; } + public global::System.Collections.Generic.IList? Type11891 { get; set; } /// /// /// - public global::AppStoreConnect.UserInvitationsVisibleAppsGetToManyRelatedFieldsApp? Type11892 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedFieldsGameCenterChallenge? Type11892 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11893 { get; set; } + public global::System.Collections.Generic.IList? Type11893 { get; set; } /// /// /// - public global::AppStoreConnect.UsersVisibleAppsGetToManyRelatedFieldsApp? Type11894 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGameCenterLeaderboardsGetToManyRelatedIncludeItem? Type11894 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11895 { get; set; } + public global::System.Collections.Generic.IList? Type11895 { get; set; } /// /// /// - public global::AppStoreConnect.WebhooksDeliveriesGetToManyRelatedFilterDeliveryStateItem? Type11896 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11896 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11897 { get; set; } + public global::System.Collections.Generic.IList? Type11897 { get; set; } /// /// /// - public global::AppStoreConnect.WebhooksDeliveriesGetToManyRelatedFieldsWebhookDeliverie? Type11898 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterDetail? Type11898 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11899 { get; set; } + public global::System.Collections.Generic.IList? Type11899 { get; set; } /// /// /// - public global::AppStoreConnect.WebhooksDeliveriesGetToManyRelatedFieldsWebhookEvent? Type11900 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterGroup? Type11900 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11901 { get; set; } + public global::System.Collections.Generic.IList? Type11901 { get; set; } /// /// /// - public global::AppStoreConnect.WebhooksDeliveriesGetToManyRelatedIncludeItem? Type11902 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboardSetLocalization? Type11902 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11903 { get; set; } + public global::System.Collections.Generic.IList? Type11903 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOffersPricesGetToManyRelatedFieldsWinBackOfferPrice? Type11904 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboard? Type11904 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11905 { get; set; } + public global::System.Collections.Generic.IList? Type11905 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOffersPricesGetToManyRelatedFieldsTerritorie? Type11906 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedFieldsGameCenterLeaderboardSetRelease? Type11906 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11907 { get; set; } + public global::System.Collections.Generic.IList? Type11907 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOffersPricesGetToManyRelatedFieldsSubscriptionPricePoint? Type11908 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsGroupLeaderboardSetGetToOneRelatedIncludeItem? Type11908 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11909 { get; set; } + public global::System.Collections.Generic.IList? Type11909 { get; set; } /// /// /// - public global::AppStoreConnect.WinBackOffersPricesGetToManyRelatedIncludeItem? Type11910 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetLocalization? Type11910 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaTesterUsagesGetMetricsPeriod? Type11911 { get; set; } + public global::System.Collections.Generic.IList? Type11911 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11912 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11912 { get; set; } /// /// /// - public global::AppStoreConnect.AppsBetaTesterUsagesGetMetricsGroupByItem? Type11913 { get; set; } + public global::System.Collections.Generic.IList? Type11913 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsBetaTesterUsagesGetMetricsPeriod? Type11914 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardSetImage? Type11914 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11915 { get; set; } + public global::System.Collections.Generic.IList? Type11915 { get; set; } /// /// /// - public global::AppStoreConnect.BetaGroupsBetaTesterUsagesGetMetricsGroupByItem? Type11916 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsLocalizationsGetToManyRelatedIncludeItem? Type11916 { get; set; } /// /// /// - public global::AppStoreConnect.BetaTestersBetaTesterUsagesGetMetricsPeriod? Type11917 { get; set; } + public global::System.Collections.Generic.IList? Type11917 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsClassicMatchmakingRequestsGetMetricsGranularity? Type11918 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsReleasesGetToManyRelatedFieldsGameCenterLeaderboardSetRelease? Type11918 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11919 { get; set; } + public global::System.Collections.Generic.IList? Type11919 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsClassicMatchmakingRequestsGetMetricsGroupByItem? Type11920 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsReleasesGetToManyRelatedFieldsGameCenterDetail? Type11920 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsClassicMatchmakingRequestsGetMetricsFilterResult? Type11921 { get; set; } + public global::System.Collections.Generic.IList? Type11921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11922 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsReleasesGetToManyRelatedFieldsGameCenterLeaderboardSet? Type11922 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsClassicMatchmakingRequestsGetMetricsSortItem? Type11923 { get; set; } + public global::System.Collections.Generic.IList? Type11923 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsGranularity? Type11924 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardSetsReleasesGetToManyRelatedIncludeItem? Type11924 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11925 { get; set; } + public global::System.Collections.Generic.IList? Type11925 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsGroupByItem? Type11926 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11926 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsFilterResult? Type11927 { get; set; } + public global::System.Collections.Generic.IList? Type11927 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11928 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11928 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsSortItem? Type11929 { get; set; } + public global::System.Collections.Generic.IList? Type11929 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingQueueSizesGetMetricsGranularity? Type11930 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2LocalizationsGetToManyRelatedFieldsGameCenterLeaderboardImage? Type11930 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11931 { get; set; } + public global::System.Collections.Generic.IList? Type11931 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingQueueSizesGetMetricsSortItem? Type11932 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2LocalizationsGetToManyRelatedIncludeItem? Type11932 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsGranularity? Type11933 { get; set; } + public global::System.Collections.Generic.IList? Type11933 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11934 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterLeaderboard? Type11934 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsGroupByItem? Type11935 { get; set; } + public global::System.Collections.Generic.IList? Type11935 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsFilterResult? Type11936 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterDetail? Type11936 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11937 { get; set; } + public global::System.Collections.Generic.IList? Type11937 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsSortItem? Type11938 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterGroup? Type11938 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingQueueSizesGetMetricsGranularity? Type11939 { get; set; } + public global::System.Collections.Generic.IList? Type11939 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11940 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterLeaderboardSet? Type11940 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingQueueSizesGetMetricsSortItem? Type11941 { get; set; } + public global::System.Collections.Generic.IList? Type11941 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsGranularity? Type11942 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterLeaderboardLocalization? Type11942 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11943 { get; set; } + public global::System.Collections.Generic.IList? Type11943 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsGroupByItem? Type11944 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterLeaderboardRelease? Type11944 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsFilterResult? Type11945 { get; set; } + public global::System.Collections.Generic.IList? Type11945 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11946 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterActivitie? Type11946 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsSortItem? Type11947 { get; set; } + public global::System.Collections.Generic.IList? Type11947 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingSessionsGetMetricsGranularity? Type11948 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedFieldsGameCenterChallenge? Type11948 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11949 { get; set; } + public global::System.Collections.Generic.IList? Type11949 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingSessionsGetMetricsSortItem? Type11950 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsGroupLeaderboardGetToOneRelatedIncludeItem? Type11950 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsGranularity? Type11951 { get; set; } + public global::System.Collections.Generic.IList? Type11951 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11952 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11952 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsGroupByItem? Type11953 { get; set; } + public global::System.Collections.Generic.IList? Type11953 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11954 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboard? Type11954 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsSortItem? Type11955 { get; set; } + public global::System.Collections.Generic.IList? Type11955 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsGranularity? Type11956 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsLocalizationsGetToManyRelatedFieldsGameCenterLeaderboardImage? Type11956 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11957 { get; set; } + public global::System.Collections.Generic.IList? Type11957 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsGroupByItem? Type11958 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsLocalizationsGetToManyRelatedIncludeItem? Type11958 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11959 { get; set; } + public global::System.Collections.Generic.IList? Type11959 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsSortItem? Type11960 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsReleasesGetToManyRelatedFieldsGameCenterLeaderboardRelease? Type11960 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsGranularity? Type11961 { get; set; } + public global::System.Collections.Generic.IList? Type11961 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11962 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsReleasesGetToManyRelatedFieldsGameCenterDetail? Type11962 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsGroupByItem? Type11963 { get; set; } + public global::System.Collections.Generic.IList? Type11963 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type11964 { get; set; } + public global::AppStoreConnect.GameCenterLeaderboardsReleasesGetToManyRelatedFieldsGameCenterLeaderboard? Type11964 { get; set; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsSortItem? Type11965 { get; set; } + public global::System.Collections.Generic.IList? Type11965 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardsReleasesGetToManyRelatedIncludeItem? Type11966 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11967 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardsV2GameCenterScoreModerationsGetToManyRelatedFieldsGameCenterScoreModeration? Type11968 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11969 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardsV2GameCenterScoreModerationsGetToManyRelatedFieldsGameCenterDetailPlayer? Type11970 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11971 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardsV2GameCenterScoreModerationsGetToManyRelatedIncludeItem? Type11972 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11973 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardVersion? Type11974 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11975 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboard? Type11976 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11977 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardsV2VersionsGetToManyRelatedFieldsGameCenterLeaderboardLocalization? Type11978 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11979 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardsV2VersionsGetToManyRelatedIncludeItem? Type11980 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11981 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsMatchmakingQueuesGetToManyRelatedFieldsGameCenterMatchmakingQueue? Type11982 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11983 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsMatchmakingQueuesGetToManyRelatedFieldsGameCenterMatchmakingRuleSet? Type11984 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11985 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsMatchmakingQueuesGetToManyRelatedIncludeItem? Type11986 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11987 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsRulesGetToManyRelatedFieldsGameCenterMatchmakingRule? Type11988 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11989 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsTeamsGetToManyRelatedFieldsGameCenterMatchmakingTeam? Type11990 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11991 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseAvailabilitiesAvailableTerritoriesGetToManyRelatedFieldsTerritorie? Type11992 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11993 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesCustomCodesGetToManyRelatedFieldsInAppPurchaseOfferCodeCustomCode? Type11994 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11995 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesCustomCodesGetToManyRelatedFieldsActor? Type11996 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11997 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesCustomCodesGetToManyRelatedIncludeItem? Type11998 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type11999 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesOneTimeUseCodesGetToManyRelatedFieldsInAppPurchaseOfferCodeOneTimeUseCode? Type12000 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12001 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesOneTimeUseCodesGetToManyRelatedFieldsActor? Type12002 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12003 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesOneTimeUseCodesGetToManyRelatedIncludeItem? Type12004 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12005 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesPricesGetToManyRelatedFieldsInAppPurchaseOfferPrice? Type12006 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12007 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesPricesGetToManyRelatedFieldsTerritorie? Type12008 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12009 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesPricesGetToManyRelatedFieldsInAppPurchasePricePoint? Type12010 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12011 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCodesPricesGetToManyRelatedIncludeItem? Type12012 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12013 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePricePointsEqualizationsGetToManyRelatedFieldsInAppPurchasePricePoint? Type12014 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12015 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePricePointsEqualizationsGetToManyRelatedFieldsTerritorie? Type12016 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12017 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePricePointsEqualizationsGetToManyRelatedIncludeItem? Type12018 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12019 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedulesAutomaticPricesGetToManyRelatedFieldsInAppPurchasePrice? Type12020 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12021 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedulesAutomaticPricesGetToManyRelatedFieldsInAppPurchasePricePoint? Type12022 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12023 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedulesAutomaticPricesGetToManyRelatedFieldsTerritorie? Type12024 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12025 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedulesAutomaticPricesGetToManyRelatedIncludeItem? Type12026 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12027 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedulesBaseTerritoryGetToOneRelatedFieldsTerritorie? Type12028 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12029 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedulesManualPricesGetToManyRelatedFieldsInAppPurchasePrice? Type12030 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12031 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedulesManualPricesGetToManyRelatedFieldsInAppPurchasePricePoint? Type12032 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12033 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedulesManualPricesGetToManyRelatedFieldsTerritorie? Type12034 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12035 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedulesManualPricesGetToManyRelatedIncludeItem? Type12036 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12037 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseVersionsImageGetToOneRelatedFieldsInAppPurchaseImage? Type12038 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12039 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseVersionsImagesGetToManyRelatedFieldsInAppPurchaseImage? Type12040 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12041 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseVersionsLocalizationsGetToManyRelatedFieldsInAppPurchaseLocalization? Type12042 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12043 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseVersionsLocalizationsGetToManyRelatedFieldsInAppPurchaseVersion? Type12044 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12045 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseVersionsLocalizationsGetToManyRelatedIncludeItem? Type12046 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12047 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2AppStoreReviewScreenshotGetToOneRelatedFieldsInAppPurchaseAppStoreReviewScreenshot? Type12048 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12049 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2AppStoreReviewScreenshotGetToOneRelatedFieldsInAppPurchase? Type12050 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12051 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2AppStoreReviewScreenshotGetToOneRelatedIncludeItem? Type12052 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12053 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2ContentGetToOneRelatedFieldsInAppPurchaseContent? Type12054 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12055 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2ContentGetToOneRelatedFieldsInAppPurchase? Type12056 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12057 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2ContentGetToOneRelatedIncludeItem? Type12058 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12059 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2IapPriceScheduleGetToOneRelatedFieldsInAppPurchasePriceSchedule? Type12060 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12061 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2IapPriceScheduleGetToOneRelatedFieldsTerritorie? Type12062 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12063 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2IapPriceScheduleGetToOneRelatedFieldsInAppPurchasePrice? Type12064 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12065 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2IapPriceScheduleGetToOneRelatedIncludeItem? Type12066 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12067 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2ImagesGetToManyRelatedFieldsInAppPurchaseImage? Type12068 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12069 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2ImagesGetToManyRelatedFieldsInAppPurchase? Type12070 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12071 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2ImagesGetToManyRelatedIncludeItem? Type12072 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12073 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseAvailabilityGetToOneRelatedFieldsInAppPurchaseAvailabilitie? Type12074 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12075 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseAvailabilityGetToOneRelatedFieldsTerritorie? Type12076 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12077 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseAvailabilityGetToOneRelatedIncludeItem? Type12078 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12079 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseLocalizationsGetToManyRelatedFieldsInAppPurchaseLocalization? Type12080 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12081 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseLocalizationsGetToManyRelatedFieldsInAppPurchase? Type12082 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12083 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2InAppPurchaseLocalizationsGetToManyRelatedIncludeItem? Type12084 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12085 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedFieldsInAppPurchaseOfferCode? Type12086 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12087 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedFieldsInAppPurchaseOfferCodeOneTimeUseCode? Type12088 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12089 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedFieldsInAppPurchaseOfferCodeCustomCode? Type12090 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12091 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedFieldsInAppPurchaseOfferPrice? Type12092 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12093 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2OfferCodesGetToManyRelatedIncludeItem? Type12094 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12095 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2PricePointsGetToManyRelatedFieldsInAppPurchasePricePoint? Type12096 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12097 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2PricePointsGetToManyRelatedFieldsTerritorie? Type12098 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12099 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2PricePointsGetToManyRelatedIncludeItem? Type12100 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12101 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2PromotedPurchaseGetToOneRelatedFieldsPromotedPurchase? Type12102 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12103 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2PromotedPurchaseGetToOneRelatedFieldsInAppPurchase? Type12104 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12105 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2PromotedPurchaseGetToOneRelatedFieldsSubscription? Type12106 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12107 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2PromotedPurchaseGetToOneRelatedIncludeItem? Type12108 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12109 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFilterStateItem? Type12110 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12111 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFieldsInAppPurchaseVersion? Type12112 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12113 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFieldsInAppPurchase? Type12114 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12115 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFieldsInAppPurchaseImage? Type12116 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12117 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedFieldsInAppPurchaseLocalization? Type12118 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12119 { get; set; } + /// + /// + /// + public global::AppStoreConnect.InAppPurchasesV2VersionsGetToManyRelatedIncludeItem? Type12120 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12121 { get; set; } + /// + /// + /// + public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedFilterCertificateTypeItem? Type12122 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12123 { get; set; } + /// + /// + /// + public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedSortItem? Type12124 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12125 { get; set; } + /// + /// + /// + public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedFieldsCertificate? Type12126 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12127 { get; set; } + /// + /// + /// + public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedFieldsPassTypeId? Type12128 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12129 { get; set; } + /// + /// + /// + public global::AppStoreConnect.MerchantIdsCertificatesGetToManyRelatedIncludeItem? Type12130 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12131 { get; set; } + /// + /// + /// + public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedFilterCertificateTypeItem? Type12132 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12133 { get; set; } + /// + /// + /// + public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedSortItem? Type12134 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12135 { get; set; } + /// + /// + /// + public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedFieldsCertificate? Type12136 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12137 { get; set; } + /// + /// + /// + public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedFieldsPassTypeId? Type12138 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12139 { get; set; } + /// + /// + /// + public global::AppStoreConnect.PassTypeIdsCertificatesGetToManyRelatedIncludeItem? Type12140 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12141 { get; set; } + /// + /// + /// + public global::AppStoreConnect.PreReleaseVersionsAppGetToOneRelatedFieldsApp? Type12142 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12143 { get; set; } + /// + /// + /// + public global::AppStoreConnect.PreReleaseVersionsBuildsGetToManyRelatedFieldsBuild? Type12144 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12145 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ProfilesBundleIdGetToOneRelatedFieldsBundleId? Type12146 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12147 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ProfilesCertificatesGetToManyRelatedFieldsCertificate? Type12148 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12149 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ProfilesDevicesGetToManyRelatedFieldsDevice? Type12150 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12151 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem? Type12152 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12153 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppStoreVersion? Type12154 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12155 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppCustomProductPageVersion? Type12156 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12157 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppStoreVersionExperiment? Type12158 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12159 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppEvent? Type12160 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12161 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage? Type12162 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12163 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo? Type12164 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12165 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion? Type12166 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12167 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterAchievementVersion? Type12168 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12169 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterActivityVersion? Type12170 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12171 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterChallengeVersion? Type12172 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12173 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterLeaderboardSetVersion? Type12174 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12175 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterLeaderboardVersion? Type12176 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12177 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsInAppPurchaseVersion? Type12178 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12179 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsSubscriptionVersion? Type12180 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12181 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsSubscriptionGroupVersion? Type12182 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12183 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedIncludeItem? Type12184 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12185 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmProvidersRepositoriesGetToManyRelatedFieldsScmRepositorie? Type12186 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12187 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmProvidersRepositoriesGetToManyRelatedFieldsScmProvider? Type12188 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12189 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmProvidersRepositoriesGetToManyRelatedFieldsScmGitReference? Type12190 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12191 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmProvidersRepositoriesGetToManyRelatedIncludeItem? Type12192 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12193 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmRepositoriesGitReferencesGetToManyRelatedFieldsScmGitReference? Type12194 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12195 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmRepositoriesGitReferencesGetToManyRelatedFieldsScmRepositorie? Type12196 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12197 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmRepositoriesGitReferencesGetToManyRelatedIncludeItem? Type12198 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12199 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmRepositoriesPullRequestsGetToManyRelatedFieldsScmPullRequest? Type12200 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12201 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmRepositoriesPullRequestsGetToManyRelatedFieldsScmRepositorie? Type12202 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12203 { get; set; } + /// + /// + /// + public global::AppStoreConnect.ScmRepositoriesPullRequestsGetToManyRelatedIncludeItem? Type12204 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12205 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionAvailabilitiesAvailableTerritoriesGetToManyRelatedFieldsTerritorie? Type12206 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12207 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupVersionsLocalizationsGetToManyRelatedFieldsSubscriptionGroupLocalization? Type12208 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12209 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupVersionsLocalizationsGetToManyRelatedFieldsSubscriptionGroupVersion? Type12210 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12211 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupVersionsLocalizationsGetToManyRelatedIncludeItem? Type12212 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12213 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionGroupLocalizationsGetToManyRelatedFieldsSubscriptionGroupLocalization? Type12214 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12215 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionGroupLocalizationsGetToManyRelatedFieldsSubscriptionGroup? Type12216 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12217 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionGroupLocalizationsGetToManyRelatedIncludeItem? Type12218 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12219 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFilterStateItem? Type12220 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12221 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedSortItem? Type12222 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12223 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscription? Type12224 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12225 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionLocalization? Type12226 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12227 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionAppStoreReviewScreenshot? Type12228 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12229 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionGroup? Type12230 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12231 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionIntroductoryOffer? Type12232 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12233 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionPromotionalOffer? Type12234 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12235 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionOfferCode? Type12236 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12237 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionPrice? Type12238 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12239 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsPromotedPurchase? Type12240 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12241 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionAvailabilitie? Type12242 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12243 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsWinBackOffer? Type12244 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12245 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionImage? Type12246 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12247 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionPlanAvailabilitie? Type12248 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12249 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedFieldsSubscriptionVersion? Type12250 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12251 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsSubscriptionsGetToManyRelatedIncludeItem? Type12252 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12253 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedFilterStateItem? Type12254 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12255 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedFieldsSubscriptionGroupVersion? Type12256 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12257 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedFieldsSubscriptionGroup? Type12258 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12259 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedFieldsSubscriptionGroupLocalization? Type12260 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12261 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupsVersionsGetToManyRelatedIncludeItem? Type12262 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12263 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesCustomCodesGetToManyRelatedFieldsSubscriptionOfferCodeCustomCode? Type12264 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12265 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesCustomCodesGetToManyRelatedFieldsSubscriptionOfferCode? Type12266 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12267 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesCustomCodesGetToManyRelatedIncludeItem? Type12268 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12269 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesOneTimeUseCodesGetToManyRelatedFieldsSubscriptionOfferCodeOneTimeUseCode? Type12270 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12271 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesOneTimeUseCodesGetToManyRelatedFieldsSubscriptionOfferCode? Type12272 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12273 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesOneTimeUseCodesGetToManyRelatedIncludeItem? Type12274 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12275 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesPricesGetToManyRelatedFieldsSubscriptionOfferCodePrice? Type12276 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12277 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesPricesGetToManyRelatedFieldsTerritorie? Type12278 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12279 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesPricesGetToManyRelatedFieldsSubscriptionPricePoint? Type12280 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12281 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodesPricesGetToManyRelatedIncludeItem? Type12282 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12283 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPlanAvailabilitiesAvailableTerritoriesGetToManyRelatedFieldsTerritorie? Type12284 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12285 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPricePointsAdjustedEqualizationsGetToManyRelatedFieldsSubscriptionPricePoint? Type12286 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12287 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPricePointsAdjustedEqualizationsGetToManyRelatedFieldsTerritorie? Type12288 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12289 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPricePointsAdjustedEqualizationsGetToManyRelatedIncludeItem? Type12290 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12291 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPricePointsEqualizationsGetToManyRelatedFieldsSubscriptionPricePoint? Type12292 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12293 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPricePointsEqualizationsGetToManyRelatedFieldsTerritorie? Type12294 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12295 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPricePointsEqualizationsGetToManyRelatedIncludeItem? Type12296 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12297 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPromotionalOffersPricesGetToManyRelatedFieldsSubscriptionPromotionalOfferPrice? Type12298 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12299 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPromotionalOffersPricesGetToManyRelatedFieldsTerritorie? Type12300 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12301 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPromotionalOffersPricesGetToManyRelatedFieldsSubscriptionPricePoint? Type12302 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12303 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionPromotionalOffersPricesGetToManyRelatedIncludeItem? Type12304 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12305 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionVersionsImageGetToOneRelatedFieldsSubscriptionImage? Type12306 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12307 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionVersionsImagesGetToManyRelatedFieldsSubscriptionImage? Type12308 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12309 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionVersionsLocalizationsGetToManyRelatedFieldsSubscriptionLocalization? Type12310 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12311 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionVersionsLocalizationsGetToManyRelatedFieldsSubscriptionVersion? Type12312 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12313 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionVersionsLocalizationsGetToManyRelatedIncludeItem? Type12314 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12315 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsAppStoreReviewScreenshotGetToOneRelatedFieldsSubscriptionAppStoreReviewScreenshot? Type12316 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12317 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsAppStoreReviewScreenshotGetToOneRelatedFieldsSubscription? Type12318 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12319 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsAppStoreReviewScreenshotGetToOneRelatedIncludeItem? Type12320 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12321 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsImagesGetToManyRelatedFieldsSubscriptionImage? Type12322 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12323 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsImagesGetToManyRelatedFieldsSubscription? Type12324 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12325 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsImagesGetToManyRelatedIncludeItem? Type12326 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12327 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedFieldsSubscriptionIntroductoryOffer? Type12328 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12329 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedFieldsSubscription? Type12330 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12331 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedFieldsTerritorie? Type12332 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12333 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedFieldsSubscriptionPricePoint? Type12334 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12335 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsIntroductoryOffersGetToManyRelatedIncludeItem? Type12336 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12337 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscriptionOfferCode? Type12338 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12339 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscription? Type12340 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12341 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscriptionOfferCodeOneTimeUseCode? Type12342 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12343 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscriptionOfferCodeCustomCode? Type12344 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12345 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedFieldsSubscriptionOfferCodePrice? Type12346 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12347 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsOfferCodesGetToManyRelatedIncludeItem? Type12348 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12349 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPlanAvailabilitiesGetToManyRelatedFieldsSubscriptionPlanAvailabilitie? Type12350 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12351 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPlanAvailabilitiesGetToManyRelatedFieldsTerritorie? Type12352 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12353 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPlanAvailabilitiesGetToManyRelatedIncludeItem? Type12354 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12355 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPricePointsGetToManyRelatedFieldsSubscriptionPricePoint? Type12356 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12357 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPricePointsGetToManyRelatedFieldsTerritorie? Type12358 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12359 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPricePointsGetToManyRelatedIncludeItem? Type12360 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12361 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedFilterPlanTypeItem? Type12362 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12363 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedFieldsSubscriptionPrice? Type12364 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12365 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedFieldsTerritorie? Type12366 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12367 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedFieldsSubscriptionPricePoint? Type12368 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12369 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPricesGetToManyRelatedIncludeItem? Type12370 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12371 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPromotedPurchaseGetToOneRelatedFieldsPromotedPurchase? Type12372 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12373 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPromotedPurchaseGetToOneRelatedFieldsInAppPurchase? Type12374 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12375 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPromotedPurchaseGetToOneRelatedFieldsSubscription? Type12376 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12377 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPromotedPurchaseGetToOneRelatedIncludeItem? Type12378 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12379 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPromotionalOffersGetToManyRelatedFieldsSubscriptionPromotionalOffer? Type12380 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12381 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPromotionalOffersGetToManyRelatedFieldsSubscription? Type12382 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12383 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPromotionalOffersGetToManyRelatedFieldsSubscriptionPromotionalOfferPrice? Type12384 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12385 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsPromotionalOffersGetToManyRelatedIncludeItem? Type12386 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12387 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsSubscriptionAvailabilityGetToOneRelatedFieldsSubscriptionAvailabilitie? Type12388 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12389 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsSubscriptionAvailabilityGetToOneRelatedFieldsTerritorie? Type12390 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12391 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsSubscriptionAvailabilityGetToOneRelatedIncludeItem? Type12392 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12393 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsSubscriptionLocalizationsGetToManyRelatedFieldsSubscriptionLocalization? Type12394 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12395 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsSubscriptionLocalizationsGetToManyRelatedFieldsSubscription? Type12396 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12397 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsSubscriptionLocalizationsGetToManyRelatedIncludeItem? Type12398 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12399 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFilterStateItem? Type12400 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12401 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFieldsSubscriptionVersion? Type12402 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12403 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFieldsSubscription? Type12404 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12405 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFieldsSubscriptionImage? Type12406 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12407 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedFieldsSubscriptionLocalization? Type12408 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12409 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsVersionsGetToManyRelatedIncludeItem? Type12410 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12411 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsWinBackOffersGetToManyRelatedFieldsWinBackOffer? Type12412 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12413 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsWinBackOffersGetToManyRelatedFieldsWinBackOfferPrice? Type12414 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12415 { get; set; } + /// + /// + /// + public global::AppStoreConnect.SubscriptionsWinBackOffersGetToManyRelatedIncludeItem? Type12416 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12417 { get; set; } + /// + /// + /// + public global::AppStoreConnect.UserInvitationsVisibleAppsGetToManyRelatedFieldsApp? Type12418 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12419 { get; set; } + /// + /// + /// + public global::AppStoreConnect.UsersVisibleAppsGetToManyRelatedFieldsApp? Type12420 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12421 { get; set; } + /// + /// + /// + public global::AppStoreConnect.WebhooksDeliveriesGetToManyRelatedFilterDeliveryStateItem? Type12422 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12423 { get; set; } + /// + /// + /// + public global::AppStoreConnect.WebhooksDeliveriesGetToManyRelatedFieldsWebhookDeliverie? Type12424 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12425 { get; set; } + /// + /// + /// + public global::AppStoreConnect.WebhooksDeliveriesGetToManyRelatedFieldsWebhookEvent? Type12426 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12427 { get; set; } + /// + /// + /// + public global::AppStoreConnect.WebhooksDeliveriesGetToManyRelatedIncludeItem? Type12428 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12429 { get; set; } + /// + /// + /// + public global::AppStoreConnect.WinBackOffersPricesGetToManyRelatedFieldsWinBackOfferPrice? Type12430 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12431 { get; set; } + /// + /// + /// + public global::AppStoreConnect.WinBackOffersPricesGetToManyRelatedFieldsTerritorie? Type12432 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12433 { get; set; } + /// + /// + /// + public global::AppStoreConnect.WinBackOffersPricesGetToManyRelatedFieldsSubscriptionPricePoint? Type12434 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12435 { get; set; } + /// + /// + /// + public global::AppStoreConnect.WinBackOffersPricesGetToManyRelatedIncludeItem? Type12436 { get; set; } + /// + /// + /// + public global::AppStoreConnect.AppsBetaTesterUsagesGetMetricsPeriod? Type12437 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12438 { get; set; } + /// + /// + /// + public global::AppStoreConnect.AppsBetaTesterUsagesGetMetricsGroupByItem? Type12439 { get; set; } + /// + /// + /// + public global::AppStoreConnect.BetaGroupsBetaTesterUsagesGetMetricsPeriod? Type12440 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12441 { get; set; } + /// + /// + /// + public global::AppStoreConnect.BetaGroupsBetaTesterUsagesGetMetricsGroupByItem? Type12442 { get; set; } + /// + /// + /// + public global::AppStoreConnect.BetaTestersBetaTesterUsagesGetMetricsPeriod? Type12443 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterDetailsClassicMatchmakingRequestsGetMetricsGranularity? Type12444 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12445 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterDetailsClassicMatchmakingRequestsGetMetricsGroupByItem? Type12446 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterDetailsClassicMatchmakingRequestsGetMetricsFilterResult? Type12447 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12448 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterDetailsClassicMatchmakingRequestsGetMetricsSortItem? Type12449 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsGranularity? Type12450 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12451 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsGroupByItem? Type12452 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsFilterResult? Type12453 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12454 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsSortItem? Type12455 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingQueueSizesGetMetricsGranularity? Type12456 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12457 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingQueueSizesGetMetricsSortItem? Type12458 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsGranularity? Type12459 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12460 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsGroupByItem? Type12461 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsFilterResult? Type12462 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12463 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsSortItem? Type12464 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingQueueSizesGetMetricsGranularity? Type12465 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12466 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingQueueSizesGetMetricsSortItem? Type12467 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsGranularity? Type12468 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12469 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsGroupByItem? Type12470 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsFilterResult? Type12471 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12472 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsSortItem? Type12473 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingSessionsGetMetricsGranularity? Type12474 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12475 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingQueuesMatchmakingSessionsGetMetricsSortItem? Type12476 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsGranularity? Type12477 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12478 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsGroupByItem? Type12479 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12480 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsSortItem? Type12481 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsGranularity? Type12482 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12483 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsGroupByItem? Type12484 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12485 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsSortItem? Type12486 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsGranularity? Type12487 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12488 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsGroupByItem? Type12489 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type12490 { get; set; } + /// + /// + /// + public global::AppStoreConnect.GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsSortItem? Type12491 { get; set; } /// /// @@ -47974,11714 +50078,12298 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType19 { get; set; } + public global::System.Collections.Generic.List? ListType19 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType20 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType21 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType22 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType23 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType24 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType25 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType26 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType27 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType28 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType29 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType30 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType31 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType32 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType33 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType34 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType35 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType36 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType37 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType38 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType39 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType40 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType41 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType42 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType43 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType44 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType45 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType46 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType47 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType48 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType49 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType50 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType51 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType52 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType53 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType54 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType55 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType56 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType57 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType58 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType59 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType60 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType61 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType62 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType63 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType64 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType65 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType66 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType67 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType68 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType69 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType70 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType71 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType72 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType73 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType74 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType75 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType76 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType77 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType78 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType79 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType80 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType81 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType82 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType83 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType84 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType85 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType86 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType87 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType88 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType89 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType90 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List>? ListType91 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType92 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType93 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType94 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType95 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType96 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType97 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType98 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType99 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType100 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType101 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType102 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType103 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType104 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType105 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType106 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType107 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType108 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType109 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType110 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType111 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType112 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType113 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType114 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType115 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType116 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType117 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType118 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType119 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType120 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType121 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType122 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType123 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType124 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType125 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType126 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType127 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType128 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List>? ListType129 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType130 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType131 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType132 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType133 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType134 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType135 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType136 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType137 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType138 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType139 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType140 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType141 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType142 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType143 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType144 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType145 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType146 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType147 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType148 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType149 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType150 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType151 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType152 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType153 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType154 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType155 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType156 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType157 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType158 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType159 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType160 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType161 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType162 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType163 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType164 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType165 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType20 { get; set; } + public global::System.Collections.Generic.List? ListType166 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType21 { get; set; } + public global::System.Collections.Generic.List? ListType167 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType22 { get; set; } + public global::System.Collections.Generic.List? ListType168 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType23 { get; set; } + public global::System.Collections.Generic.List? ListType169 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType24 { get; set; } + public global::System.Collections.Generic.List? ListType170 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType25 { get; set; } + public global::System.Collections.Generic.List? ListType171 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType172 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType173 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType28 { get; set; } + public global::System.Collections.Generic.List? ListType174 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType29 { get; set; } + public global::System.Collections.Generic.List? ListType175 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType176 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType177 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType32 { get; set; } + public global::System.Collections.Generic.List? ListType178 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType179 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType180 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List? ListType181 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType182 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType183 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType38 { get; set; } + public global::System.Collections.Generic.List? ListType184 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List? ListType185 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List? ListType186 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType187 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType188 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType189 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::System.Collections.Generic.List? ListType190 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType191 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType192 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType193 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType48 { get; set; } + public global::System.Collections.Generic.List? ListType194 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType195 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List? ListType196 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType51 { get; set; } + public global::System.Collections.Generic.List? ListType197 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List? ListType198 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType199 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType200 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType201 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType202 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType203 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType204 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType205 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType206 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType207 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType208 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType209 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType210 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType211 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType212 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType213 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType214 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType215 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType216 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType217 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType218 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType73 { get; set; } + public global::System.Collections.Generic.List? ListType219 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType220 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType75 { get; set; } + public global::System.Collections.Generic.List? ListType221 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType222 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType77 { get; set; } + public global::System.Collections.Generic.List? ListType223 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType78 { get; set; } + public global::System.Collections.Generic.List? ListType224 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType79 { get; set; } + public global::System.Collections.Generic.List? ListType225 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType226 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType81 { get; set; } + public global::System.Collections.Generic.List? ListType227 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType228 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType229 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List? ListType230 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType231 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType232 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType233 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType234 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType235 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + public global::System.Collections.Generic.List? ListType236 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List? ListType237 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType238 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType239 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType240 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType241 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType242 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType243 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType244 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType245 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType246 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType247 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType248 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType249 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType250 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType251 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType252 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType253 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType254 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType255 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::System.Collections.Generic.List? ListType256 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType257 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType258 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::System.Collections.Generic.List? ListType259 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType260 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::System.Collections.Generic.List? ListType261 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType262 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType117 { get; set; } + public global::System.Collections.Generic.List? ListType263 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType264 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType265 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::System.Collections.Generic.List? ListType266 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType267 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType122 { get; set; } + public global::System.Collections.Generic.List? ListType268 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType123 { get; set; } + public global::System.Collections.Generic.List? ListType269 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType124 { get; set; } + public global::System.Collections.Generic.List? ListType270 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType125 { get; set; } + public global::System.Collections.Generic.List? ListType271 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType126 { get; set; } + public global::System.Collections.Generic.List? ListType272 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType127 { get; set; } + public global::System.Collections.Generic.List? ListType273 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType128 { get; set; } + public global::System.Collections.Generic.List? ListType274 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType129 { get; set; } + public global::System.Collections.Generic.List? ListType275 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType130 { get; set; } + public global::System.Collections.Generic.List? ListType276 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType131 { get; set; } + public global::System.Collections.Generic.List? ListType277 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType132 { get; set; } + public global::System.Collections.Generic.List? ListType278 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType133 { get; set; } + public global::System.Collections.Generic.List? ListType279 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType134 { get; set; } + public global::System.Collections.Generic.List? ListType280 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType135 { get; set; } + public global::System.Collections.Generic.List? ListType281 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType136 { get; set; } + public global::System.Collections.Generic.List? ListType282 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType137 { get; set; } + public global::System.Collections.Generic.List? ListType283 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType138 { get; set; } + public global::System.Collections.Generic.List? ListType284 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType139 { get; set; } + public global::System.Collections.Generic.List? ListType285 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType140 { get; set; } + public global::System.Collections.Generic.List? ListType286 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType141 { get; set; } + public global::System.Collections.Generic.List? ListType287 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType142 { get; set; } + public global::System.Collections.Generic.List? ListType288 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType143 { get; set; } + public global::System.Collections.Generic.List? ListType289 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType144 { get; set; } + public global::System.Collections.Generic.List? ListType290 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType145 { get; set; } + public global::System.Collections.Generic.List? ListType291 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType146 { get; set; } + public global::System.Collections.Generic.List? ListType292 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType147 { get; set; } + public global::System.Collections.Generic.List? ListType293 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType148 { get; set; } + public global::System.Collections.Generic.List? ListType294 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType149 { get; set; } + public global::System.Collections.Generic.List? ListType295 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType150 { get; set; } + public global::System.Collections.Generic.List? ListType296 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType151 { get; set; } + public global::System.Collections.Generic.List? ListType297 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType152 { get; set; } + public global::System.Collections.Generic.List? ListType298 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType153 { get; set; } + public global::System.Collections.Generic.List? ListType299 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType154 { get; set; } + public global::System.Collections.Generic.List? ListType300 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType155 { get; set; } + public global::System.Collections.Generic.List? ListType301 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType156 { get; set; } + public global::System.Collections.Generic.List? ListType302 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType157 { get; set; } + public global::System.Collections.Generic.List? ListType303 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType158 { get; set; } + public global::System.Collections.Generic.List? ListType304 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType159 { get; set; } + public global::System.Collections.Generic.List? ListType305 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType160 { get; set; } + public global::System.Collections.Generic.List? ListType306 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType161 { get; set; } + public global::System.Collections.Generic.List? ListType307 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType162 { get; set; } + public global::System.Collections.Generic.List? ListType308 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType163 { get; set; } + public global::System.Collections.Generic.List? ListType309 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType164 { get; set; } + public global::System.Collections.Generic.List? ListType310 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType165 { get; set; } + public global::System.Collections.Generic.List? ListType311 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType166 { get; set; } + public global::System.Collections.Generic.List? ListType312 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType167 { get; set; } + public global::System.Collections.Generic.List? ListType313 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType168 { get; set; } + public global::System.Collections.Generic.List? ListType314 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType169 { get; set; } + public global::System.Collections.Generic.List? ListType315 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType170 { get; set; } + public global::System.Collections.Generic.List? ListType316 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType171 { get; set; } + public global::System.Collections.Generic.List? ListType317 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType172 { get; set; } + public global::System.Collections.Generic.List? ListType318 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType173 { get; set; } + public global::System.Collections.Generic.List? ListType319 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType174 { get; set; } + public global::System.Collections.Generic.List? ListType320 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType175 { get; set; } + public global::System.Collections.Generic.List? ListType321 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType176 { get; set; } + public global::System.Collections.Generic.List? ListType322 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType177 { get; set; } + public global::System.Collections.Generic.List? ListType323 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType178 { get; set; } + public global::System.Collections.Generic.List? ListType324 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType179 { get; set; } + public global::System.Collections.Generic.List? ListType325 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType180 { get; set; } + public global::System.Collections.Generic.List? ListType326 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType181 { get; set; } + public global::System.Collections.Generic.List? ListType327 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType182 { get; set; } + public global::System.Collections.Generic.List? ListType328 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType183 { get; set; } + public global::System.Collections.Generic.List? ListType329 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType184 { get; set; } + public global::System.Collections.Generic.List? ListType330 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType185 { get; set; } + public global::System.Collections.Generic.List? ListType331 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType186 { get; set; } + public global::System.Collections.Generic.List? ListType332 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType187 { get; set; } + public global::System.Collections.Generic.List? ListType333 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType188 { get; set; } + public global::System.Collections.Generic.List? ListType334 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType189 { get; set; } + public global::System.Collections.Generic.List? ListType335 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType190 { get; set; } + public global::System.Collections.Generic.List? ListType336 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType191 { get; set; } + public global::System.Collections.Generic.List? ListType337 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType192 { get; set; } + public global::System.Collections.Generic.List? ListType338 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType193 { get; set; } + public global::System.Collections.Generic.List? ListType339 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType194 { get; set; } + public global::System.Collections.Generic.List? ListType340 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType195 { get; set; } + public global::System.Collections.Generic.List? ListType341 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType196 { get; set; } + public global::System.Collections.Generic.List? ListType342 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType197 { get; set; } + public global::System.Collections.Generic.List? ListType343 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType198 { get; set; } + public global::System.Collections.Generic.List? ListType344 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType199 { get; set; } + public global::System.Collections.Generic.List? ListType345 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType200 { get; set; } + public global::System.Collections.Generic.List? ListType346 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType201 { get; set; } + public global::System.Collections.Generic.List? ListType347 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType202 { get; set; } + public global::System.Collections.Generic.List? ListType348 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType203 { get; set; } + public global::System.Collections.Generic.List? ListType349 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType204 { get; set; } + public global::System.Collections.Generic.List? ListType350 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType205 { get; set; } + public global::System.Collections.Generic.List? ListType351 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType206 { get; set; } + public global::System.Collections.Generic.List? ListType352 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType207 { get; set; } + public global::System.Collections.Generic.List? ListType353 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType208 { get; set; } + public global::System.Collections.Generic.List? ListType354 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType209 { get; set; } + public global::System.Collections.Generic.List? ListType355 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType210 { get; set; } + public global::System.Collections.Generic.List? ListType356 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType211 { get; set; } + public global::System.Collections.Generic.List? ListType357 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType212 { get; set; } + public global::System.Collections.Generic.List? ListType358 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType213 { get; set; } + public global::System.Collections.Generic.List? ListType359 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType214 { get; set; } + public global::System.Collections.Generic.List? ListType360 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType215 { get; set; } + public global::System.Collections.Generic.List? ListType361 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType216 { get; set; } + public global::System.Collections.Generic.List? ListType362 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType217 { get; set; } + public global::System.Collections.Generic.List? ListType363 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType218 { get; set; } + public global::System.Collections.Generic.List? ListType364 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType219 { get; set; } + public global::System.Collections.Generic.List? ListType365 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType220 { get; set; } + public global::System.Collections.Generic.List? ListType366 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType221 { get; set; } + public global::System.Collections.Generic.List? ListType367 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType222 { get; set; } + public global::System.Collections.Generic.List? ListType368 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType223 { get; set; } + public global::System.Collections.Generic.List? ListType369 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType224 { get; set; } + public global::System.Collections.Generic.List? ListType370 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType225 { get; set; } + public global::System.Collections.Generic.List? ListType371 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType226 { get; set; } + public global::System.Collections.Generic.List? ListType372 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType227 { get; set; } + public global::System.Collections.Generic.List? ListType373 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType228 { get; set; } + public global::System.Collections.Generic.List? ListType374 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType229 { get; set; } + public global::System.Collections.Generic.List? ListType375 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType230 { get; set; } + public global::System.Collections.Generic.List? ListType376 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType231 { get; set; } + public global::System.Collections.Generic.List? ListType377 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType232 { get; set; } + public global::System.Collections.Generic.List? ListType378 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType233 { get; set; } + public global::System.Collections.Generic.List? ListType379 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType234 { get; set; } + public global::System.Collections.Generic.List? ListType380 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType235 { get; set; } + public global::System.Collections.Generic.List? ListType381 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType236 { get; set; } + public global::System.Collections.Generic.List? ListType382 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType237 { get; set; } + public global::System.Collections.Generic.List? ListType383 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType238 { get; set; } + public global::System.Collections.Generic.List? ListType384 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType239 { get; set; } + public global::System.Collections.Generic.List? ListType385 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType240 { get; set; } + public global::System.Collections.Generic.List? ListType386 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType241 { get; set; } + public global::System.Collections.Generic.List? ListType387 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType242 { get; set; } + public global::System.Collections.Generic.List? ListType388 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType243 { get; set; } + public global::System.Collections.Generic.List? ListType389 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType244 { get; set; } + public global::System.Collections.Generic.List? ListType390 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType245 { get; set; } + public global::System.Collections.Generic.List? ListType391 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType246 { get; set; } + public global::System.Collections.Generic.List? ListType392 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType247 { get; set; } + public global::System.Collections.Generic.List? ListType393 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType248 { get; set; } + public global::System.Collections.Generic.List? ListType394 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType249 { get; set; } + public global::System.Collections.Generic.List? ListType395 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType250 { get; set; } + public global::System.Collections.Generic.List? ListType396 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType251 { get; set; } + public global::System.Collections.Generic.List? ListType397 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType252 { get; set; } + public global::System.Collections.Generic.List? ListType398 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType253 { get; set; } + public global::System.Collections.Generic.List? ListType399 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType254 { get; set; } + public global::System.Collections.Generic.List? ListType400 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType255 { get; set; } + public global::System.Collections.Generic.List? ListType401 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType256 { get; set; } + public global::System.Collections.Generic.List? ListType402 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType257 { get; set; } + public global::System.Collections.Generic.List? ListType403 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType258 { get; set; } + public global::System.Collections.Generic.List? ListType404 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType259 { get; set; } + public global::System.Collections.Generic.List? ListType405 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType260 { get; set; } + public global::System.Collections.Generic.List? ListType406 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType261 { get; set; } + public global::System.Collections.Generic.List? ListType407 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType262 { get; set; } + public global::System.Collections.Generic.List? ListType408 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType263 { get; set; } + public global::System.Collections.Generic.List? ListType409 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType264 { get; set; } + public global::System.Collections.Generic.List? ListType410 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType265 { get; set; } + public global::System.Collections.Generic.List? ListType411 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType266 { get; set; } + public global::System.Collections.Generic.List? ListType412 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType267 { get; set; } + public global::System.Collections.Generic.List? ListType413 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType268 { get; set; } + public global::System.Collections.Generic.List? ListType414 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType269 { get; set; } + public global::System.Collections.Generic.List? ListType415 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType270 { get; set; } + public global::System.Collections.Generic.List? ListType416 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType271 { get; set; } + public global::System.Collections.Generic.List? ListType417 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType272 { get; set; } + public global::System.Collections.Generic.List? ListType418 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType273 { get; set; } + public global::System.Collections.Generic.List? ListType419 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType274 { get; set; } + public global::System.Collections.Generic.List? ListType420 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType275 { get; set; } + public global::System.Collections.Generic.List? ListType421 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType276 { get; set; } + public global::System.Collections.Generic.List? ListType422 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType277 { get; set; } + public global::System.Collections.Generic.List? ListType423 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType278 { get; set; } + public global::System.Collections.Generic.List? ListType424 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType279 { get; set; } + public global::System.Collections.Generic.List? ListType425 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType280 { get; set; } + public global::System.Collections.Generic.List? ListType426 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType281 { get; set; } + public global::System.Collections.Generic.List? ListType427 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType282 { get; set; } + public global::System.Collections.Generic.List? ListType428 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType283 { get; set; } + public global::System.Collections.Generic.List? ListType429 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType284 { get; set; } + public global::System.Collections.Generic.List? ListType430 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType285 { get; set; } + public global::System.Collections.Generic.List? ListType431 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType286 { get; set; } + public global::System.Collections.Generic.List? ListType432 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType287 { get; set; } + public global::System.Collections.Generic.List? ListType433 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType288 { get; set; } + public global::System.Collections.Generic.List? ListType434 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType289 { get; set; } + public global::System.Collections.Generic.List? ListType435 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType290 { get; set; } + public global::System.Collections.Generic.List? ListType436 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType291 { get; set; } + public global::System.Collections.Generic.List? ListType437 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType292 { get; set; } + public global::System.Collections.Generic.List? ListType438 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType293 { get; set; } + public global::System.Collections.Generic.List? ListType439 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType294 { get; set; } + public global::System.Collections.Generic.List? ListType440 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType295 { get; set; } + public global::System.Collections.Generic.List? ListType441 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType296 { get; set; } + public global::System.Collections.Generic.List? ListType442 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType297 { get; set; } + public global::System.Collections.Generic.List? ListType443 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType298 { get; set; } + public global::System.Collections.Generic.List? ListType444 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType299 { get; set; } + public global::System.Collections.Generic.List? ListType445 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType300 { get; set; } + public global::System.Collections.Generic.List? ListType446 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType301 { get; set; } + public global::System.Collections.Generic.List? ListType447 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType302 { get; set; } + public global::System.Collections.Generic.List? ListType448 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType303 { get; set; } + public global::System.Collections.Generic.List? ListType449 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType304 { get; set; } + public global::System.Collections.Generic.List? ListType450 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType305 { get; set; } + public global::System.Collections.Generic.List? ListType451 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType306 { get; set; } + public global::System.Collections.Generic.List? ListType452 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType307 { get; set; } + public global::System.Collections.Generic.List? ListType453 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType308 { get; set; } + public global::System.Collections.Generic.List? ListType454 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType309 { get; set; } + public global::System.Collections.Generic.List? ListType455 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType310 { get; set; } + public global::System.Collections.Generic.List? ListType456 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType311 { get; set; } + public global::System.Collections.Generic.List? ListType457 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType312 { get; set; } + public global::System.Collections.Generic.List? ListType458 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType313 { get; set; } + public global::System.Collections.Generic.List? ListType459 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType314 { get; set; } + public global::System.Collections.Generic.List? ListType460 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType315 { get; set; } + public global::System.Collections.Generic.List>? ListType461 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType316 { get; set; } + public global::System.Collections.Generic.List? ListType462 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType317 { get; set; } + public global::System.Collections.Generic.List? ListType463 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType318 { get; set; } + public global::System.Collections.Generic.List? ListType464 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType319 { get; set; } + public global::System.Collections.Generic.List? ListType465 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType320 { get; set; } + public global::System.Collections.Generic.List>? ListType466 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType321 { get; set; } + public global::System.Collections.Generic.List? ListType467 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType322 { get; set; } + public global::System.Collections.Generic.List? ListType468 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType323 { get; set; } + public global::System.Collections.Generic.List? ListType469 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType324 { get; set; } + public global::System.Collections.Generic.List? ListType470 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType325 { get; set; } + public global::System.Collections.Generic.List? ListType471 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType326 { get; set; } + public global::System.Collections.Generic.List? ListType472 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType327 { get; set; } + public global::System.Collections.Generic.List? ListType473 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType328 { get; set; } + public global::System.Collections.Generic.List? ListType474 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType329 { get; set; } + public global::System.Collections.Generic.List? ListType475 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType330 { get; set; } + public global::System.Collections.Generic.List? ListType476 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType331 { get; set; } + public global::System.Collections.Generic.List? ListType477 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType332 { get; set; } + public global::System.Collections.Generic.List? ListType478 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType333 { get; set; } + public global::System.Collections.Generic.List? ListType479 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType334 { get; set; } + public global::System.Collections.Generic.List? ListType480 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType335 { get; set; } + public global::System.Collections.Generic.List? ListType481 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType336 { get; set; } + public global::System.Collections.Generic.List? ListType482 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType337 { get; set; } + public global::System.Collections.Generic.List? ListType483 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType338 { get; set; } + public global::System.Collections.Generic.List? ListType484 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType339 { get; set; } + public global::System.Collections.Generic.List? ListType485 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType340 { get; set; } + public global::System.Collections.Generic.List? ListType486 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType341 { get; set; } + public global::System.Collections.Generic.List? ListType487 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType342 { get; set; } + public global::System.Collections.Generic.List? ListType488 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType343 { get; set; } + public global::System.Collections.Generic.List? ListType489 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType344 { get; set; } + public global::System.Collections.Generic.List? ListType490 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType345 { get; set; } + public global::System.Collections.Generic.List? ListType491 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType346 { get; set; } + public global::System.Collections.Generic.List? ListType492 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType347 { get; set; } + public global::System.Collections.Generic.List? ListType493 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType348 { get; set; } + public global::System.Collections.Generic.List? ListType494 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType349 { get; set; } + public global::System.Collections.Generic.List? ListType495 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType350 { get; set; } + public global::System.Collections.Generic.List? ListType496 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType351 { get; set; } + public global::System.Collections.Generic.List? ListType497 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType352 { get; set; } + public global::System.Collections.Generic.List? ListType498 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType353 { get; set; } + public global::System.Collections.Generic.List? ListType499 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType354 { get; set; } + public global::System.Collections.Generic.List? ListType500 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType355 { get; set; } + public global::System.Collections.Generic.List? ListType501 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType356 { get; set; } + public global::System.Collections.Generic.List? ListType502 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType357 { get; set; } + public global::System.Collections.Generic.List? ListType503 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType358 { get; set; } + public global::System.Collections.Generic.List>? ListType504 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType359 { get; set; } + public global::System.Collections.Generic.List? ListType505 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType360 { get; set; } + public global::System.Collections.Generic.List? ListType506 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType361 { get; set; } + public global::System.Collections.Generic.List? ListType507 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType362 { get; set; } + public global::System.Collections.Generic.List? ListType508 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType363 { get; set; } + public global::System.Collections.Generic.List? ListType509 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType364 { get; set; } + public global::System.Collections.Generic.List? ListType510 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType365 { get; set; } + public global::System.Collections.Generic.List? ListType511 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType366 { get; set; } + public global::System.Collections.Generic.List? ListType512 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType367 { get; set; } + public global::System.Collections.Generic.List? ListType513 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType368 { get; set; } + public global::System.Collections.Generic.List? ListType514 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType369 { get; set; } + public global::System.Collections.Generic.List? ListType515 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType370 { get; set; } + public global::System.Collections.Generic.List? ListType516 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType371 { get; set; } + public global::System.Collections.Generic.List? ListType517 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType372 { get; set; } + public global::System.Collections.Generic.List? ListType518 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType373 { get; set; } + public global::System.Collections.Generic.List? ListType519 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType374 { get; set; } + public global::System.Collections.Generic.List? ListType520 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType375 { get; set; } + public global::System.Collections.Generic.List? ListType521 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType376 { get; set; } + public global::System.Collections.Generic.List? ListType522 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType377 { get; set; } + public global::System.Collections.Generic.List? ListType523 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType378 { get; set; } + public global::System.Collections.Generic.List? ListType524 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType379 { get; set; } + public global::System.Collections.Generic.List? ListType525 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType380 { get; set; } + public global::System.Collections.Generic.List? ListType526 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType381 { get; set; } + public global::System.Collections.Generic.List? ListType527 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType382 { get; set; } + public global::System.Collections.Generic.List? ListType528 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType383 { get; set; } + public global::System.Collections.Generic.List? ListType529 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType384 { get; set; } + public global::System.Collections.Generic.List? ListType530 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType385 { get; set; } + public global::System.Collections.Generic.List? ListType531 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType386 { get; set; } + public global::System.Collections.Generic.List? ListType532 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType387 { get; set; } + public global::System.Collections.Generic.List? ListType533 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType388 { get; set; } + public global::System.Collections.Generic.List? ListType534 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType389 { get; set; } + public global::System.Collections.Generic.List? ListType535 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType390 { get; set; } + public global::System.Collections.Generic.List? ListType536 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType391 { get; set; } + public global::System.Collections.Generic.List? ListType537 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType392 { get; set; } + public global::System.Collections.Generic.List? ListType538 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType393 { get; set; } + public global::System.Collections.Generic.List? ListType539 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType394 { get; set; } + public global::System.Collections.Generic.List? ListType540 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType395 { get; set; } + public global::System.Collections.Generic.List? ListType541 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType396 { get; set; } + public global::System.Collections.Generic.List? ListType542 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType397 { get; set; } + public global::System.Collections.Generic.List? ListType543 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType398 { get; set; } + public global::System.Collections.Generic.List? ListType544 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType399 { get; set; } + public global::System.Collections.Generic.List? ListType545 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType400 { get; set; } + public global::System.Collections.Generic.List? ListType546 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType401 { get; set; } + public global::System.Collections.Generic.List? ListType547 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType402 { get; set; } + public global::System.Collections.Generic.List? ListType548 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType403 { get; set; } + public global::System.Collections.Generic.List? ListType549 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType404 { get; set; } + public global::System.Collections.Generic.List? ListType550 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType405 { get; set; } + public global::System.Collections.Generic.List? ListType551 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType406 { get; set; } + public global::System.Collections.Generic.List? ListType552 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType407 { get; set; } + public global::System.Collections.Generic.List? ListType553 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType408 { get; set; } + public global::System.Collections.Generic.List? ListType554 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType409 { get; set; } + public global::System.Collections.Generic.List? ListType555 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType410 { get; set; } + public global::System.Collections.Generic.List? ListType556 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType411 { get; set; } + public global::System.Collections.Generic.List? ListType557 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType412 { get; set; } + public global::System.Collections.Generic.List? ListType558 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType413 { get; set; } + public global::System.Collections.Generic.List? ListType559 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType414 { get; set; } + public global::System.Collections.Generic.List? ListType560 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType415 { get; set; } + public global::System.Collections.Generic.List? ListType561 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType416 { get; set; } + public global::System.Collections.Generic.List? ListType562 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType417 { get; set; } + public global::System.Collections.Generic.List? ListType563 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType418 { get; set; } + public global::System.Collections.Generic.List? ListType564 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType419 { get; set; } + public global::System.Collections.Generic.List? ListType565 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType420 { get; set; } + public global::System.Collections.Generic.List? ListType566 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType421 { get; set; } + public global::System.Collections.Generic.List? ListType567 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType422 { get; set; } + public global::System.Collections.Generic.List? ListType568 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType423 { get; set; } + public global::System.Collections.Generic.List? ListType569 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType424 { get; set; } + public global::System.Collections.Generic.List? ListType570 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType425 { get; set; } + public global::System.Collections.Generic.List? ListType571 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType426 { get; set; } + public global::System.Collections.Generic.List? ListType572 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType427 { get; set; } + public global::System.Collections.Generic.List? ListType573 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType428 { get; set; } + public global::System.Collections.Generic.List? ListType574 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType429 { get; set; } + public global::System.Collections.Generic.List? ListType575 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType430 { get; set; } + public global::System.Collections.Generic.List? ListType576 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType431 { get; set; } + public global::System.Collections.Generic.List? ListType577 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType432 { get; set; } + public global::System.Collections.Generic.List? ListType578 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType433 { get; set; } + public global::System.Collections.Generic.List? ListType579 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType434 { get; set; } + public global::System.Collections.Generic.List? ListType580 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType435 { get; set; } + public global::System.Collections.Generic.List? ListType581 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType436 { get; set; } + public global::System.Collections.Generic.List? ListType582 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType437 { get; set; } + public global::System.Collections.Generic.List? ListType583 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType438 { get; set; } + public global::System.Collections.Generic.List? ListType584 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType439 { get; set; } + public global::System.Collections.Generic.List? ListType585 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType440 { get; set; } + public global::System.Collections.Generic.List? ListType586 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType441 { get; set; } + public global::System.Collections.Generic.List? ListType587 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType442 { get; set; } + public global::System.Collections.Generic.List? ListType588 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType443 { get; set; } + public global::System.Collections.Generic.List? ListType589 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType444 { get; set; } + public global::System.Collections.Generic.List? ListType590 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType445 { get; set; } + public global::System.Collections.Generic.List? ListType591 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType446 { get; set; } + public global::System.Collections.Generic.List? ListType592 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType447 { get; set; } + public global::System.Collections.Generic.List? ListType593 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType448 { get; set; } + public global::System.Collections.Generic.List? ListType594 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType449 { get; set; } + public global::System.Collections.Generic.List? ListType595 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType450 { get; set; } + public global::System.Collections.Generic.List? ListType596 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType451 { get; set; } + public global::System.Collections.Generic.List? ListType597 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType452 { get; set; } + public global::System.Collections.Generic.List? ListType598 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType453 { get; set; } + public global::System.Collections.Generic.List? ListType599 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType454 { get; set; } + public global::System.Collections.Generic.List? ListType600 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType455 { get; set; } + public global::System.Collections.Generic.List? ListType601 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType456 { get; set; } + public global::System.Collections.Generic.List? ListType602 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType457 { get; set; } + public global::System.Collections.Generic.List? ListType603 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType458 { get; set; } + public global::System.Collections.Generic.List? ListType604 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType459 { get; set; } + public global::System.Collections.Generic.List? ListType605 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType460 { get; set; } + public global::System.Collections.Generic.List? ListType606 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType461 { get; set; } + public global::System.Collections.Generic.List? ListType607 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType462 { get; set; } + public global::System.Collections.Generic.List? ListType608 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType463 { get; set; } + public global::System.Collections.Generic.List? ListType609 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType464 { get; set; } + public global::System.Collections.Generic.List? ListType610 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType465 { get; set; } + public global::System.Collections.Generic.List? ListType611 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType466 { get; set; } + public global::System.Collections.Generic.List? ListType612 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType467 { get; set; } + public global::System.Collections.Generic.List? ListType613 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType468 { get; set; } + public global::System.Collections.Generic.List? ListType614 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType469 { get; set; } + public global::System.Collections.Generic.List? ListType615 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType470 { get; set; } + public global::System.Collections.Generic.List? ListType616 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType471 { get; set; } + public global::System.Collections.Generic.List? ListType617 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType472 { get; set; } + public global::System.Collections.Generic.List? ListType618 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType473 { get; set; } + public global::System.Collections.Generic.List? ListType619 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType474 { get; set; } + public global::System.Collections.Generic.List? ListType620 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType475 { get; set; } + public global::System.Collections.Generic.List? ListType621 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType476 { get; set; } + public global::System.Collections.Generic.List? ListType622 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType477 { get; set; } + public global::System.Collections.Generic.List? ListType623 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType478 { get; set; } + public global::System.Collections.Generic.List? ListType624 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType479 { get; set; } + public global::System.Collections.Generic.List? ListType625 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType480 { get; set; } + public global::System.Collections.Generic.List? ListType626 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType481 { get; set; } + public global::System.Collections.Generic.List? ListType627 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType482 { get; set; } + public global::System.Collections.Generic.List? ListType628 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType483 { get; set; } + public global::System.Collections.Generic.List? ListType629 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType484 { get; set; } + public global::System.Collections.Generic.List? ListType630 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType485 { get; set; } + public global::System.Collections.Generic.List? ListType631 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType486 { get; set; } + public global::System.Collections.Generic.List? ListType632 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType487 { get; set; } + public global::System.Collections.Generic.List? ListType633 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType488 { get; set; } + public global::System.Collections.Generic.List? ListType634 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType489 { get; set; } + public global::System.Collections.Generic.List? ListType635 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType490 { get; set; } + public global::System.Collections.Generic.List? ListType636 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType491 { get; set; } + public global::System.Collections.Generic.List? ListType637 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType492 { get; set; } + public global::System.Collections.Generic.List? ListType638 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType493 { get; set; } + public global::System.Collections.Generic.List? ListType639 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType494 { get; set; } + public global::System.Collections.Generic.List? ListType640 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType495 { get; set; } + public global::System.Collections.Generic.List? ListType641 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType496 { get; set; } + public global::System.Collections.Generic.List? ListType642 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType497 { get; set; } + public global::System.Collections.Generic.List? ListType643 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType498 { get; set; } + public global::System.Collections.Generic.List? ListType644 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType499 { get; set; } + public global::System.Collections.Generic.List? ListType645 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType500 { get; set; } + public global::System.Collections.Generic.List? ListType646 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType501 { get; set; } + public global::System.Collections.Generic.List? ListType647 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType502 { get; set; } + public global::System.Collections.Generic.List? ListType648 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType503 { get; set; } + public global::System.Collections.Generic.List? ListType649 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType504 { get; set; } + public global::System.Collections.Generic.List? ListType650 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType505 { get; set; } + public global::System.Collections.Generic.List? ListType651 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType506 { get; set; } + public global::System.Collections.Generic.List? ListType652 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType507 { get; set; } + public global::System.Collections.Generic.List? ListType653 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType508 { get; set; } + public global::System.Collections.Generic.List? ListType654 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType509 { get; set; } + public global::System.Collections.Generic.List? ListType655 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType510 { get; set; } + public global::System.Collections.Generic.List? ListType656 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType511 { get; set; } + public global::System.Collections.Generic.List? ListType657 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType512 { get; set; } + public global::System.Collections.Generic.List? ListType658 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType513 { get; set; } + public global::System.Collections.Generic.List? ListType659 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType514 { get; set; } + public global::System.Collections.Generic.List? ListType660 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType515 { get; set; } + public global::System.Collections.Generic.List? ListType661 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType516 { get; set; } + public global::System.Collections.Generic.List? ListType662 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType517 { get; set; } + public global::System.Collections.Generic.List? ListType663 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType518 { get; set; } + public global::System.Collections.Generic.List? ListType664 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType519 { get; set; } + public global::System.Collections.Generic.List? ListType665 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType520 { get; set; } + public global::System.Collections.Generic.List? ListType666 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType521 { get; set; } + public global::System.Collections.Generic.List? ListType667 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType522 { get; set; } + public global::System.Collections.Generic.List? ListType668 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType523 { get; set; } + public global::System.Collections.Generic.List? ListType669 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType524 { get; set; } + public global::System.Collections.Generic.List? ListType670 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType525 { get; set; } + public global::System.Collections.Generic.List? ListType671 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType526 { get; set; } + public global::System.Collections.Generic.List? ListType672 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType527 { get; set; } + public global::System.Collections.Generic.List? ListType673 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType528 { get; set; } + public global::System.Collections.Generic.List? ListType674 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType529 { get; set; } + public global::System.Collections.Generic.List? ListType675 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType530 { get; set; } + public global::System.Collections.Generic.List? ListType676 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType531 { get; set; } + public global::System.Collections.Generic.List? ListType677 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType532 { get; set; } + public global::System.Collections.Generic.List? ListType678 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType533 { get; set; } + public global::System.Collections.Generic.List? ListType679 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType534 { get; set; } + public global::System.Collections.Generic.List? ListType680 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType535 { get; set; } + public global::System.Collections.Generic.List? ListType681 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType536 { get; set; } + public global::System.Collections.Generic.List? ListType682 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType537 { get; set; } + public global::System.Collections.Generic.List? ListType683 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType538 { get; set; } + public global::System.Collections.Generic.List? ListType684 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType539 { get; set; } + public global::System.Collections.Generic.List? ListType685 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType540 { get; set; } + public global::System.Collections.Generic.List? ListType686 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType541 { get; set; } + public global::System.Collections.Generic.List? ListType687 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType542 { get; set; } + public global::System.Collections.Generic.List? ListType688 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType543 { get; set; } + public global::System.Collections.Generic.List? ListType689 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType544 { get; set; } + public global::System.Collections.Generic.List? ListType690 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType545 { get; set; } + public global::System.Collections.Generic.List? ListType691 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType546 { get; set; } + public global::System.Collections.Generic.List? ListType692 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType547 { get; set; } + public global::System.Collections.Generic.List? ListType693 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType548 { get; set; } + public global::System.Collections.Generic.List? ListType694 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType549 { get; set; } + public global::System.Collections.Generic.List? ListType695 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType550 { get; set; } + public global::System.Collections.Generic.List? ListType696 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType551 { get; set; } + public global::System.Collections.Generic.List? ListType697 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType552 { get; set; } + public global::System.Collections.Generic.List? ListType698 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType553 { get; set; } + public global::System.Collections.Generic.List? ListType699 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType554 { get; set; } + public global::System.Collections.Generic.List? ListType700 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType555 { get; set; } + public global::System.Collections.Generic.List? ListType701 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType556 { get; set; } + public global::System.Collections.Generic.List? ListType702 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType557 { get; set; } + public global::System.Collections.Generic.List? ListType703 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType558 { get; set; } + public global::System.Collections.Generic.List? ListType704 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType559 { get; set; } + public global::System.Collections.Generic.List? ListType705 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType560 { get; set; } + public global::System.Collections.Generic.List? ListType706 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType561 { get; set; } + public global::System.Collections.Generic.List? ListType707 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType562 { get; set; } + public global::System.Collections.Generic.List? ListType708 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType563 { get; set; } + public global::System.Collections.Generic.List? ListType709 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType564 { get; set; } + public global::System.Collections.Generic.List? ListType710 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType565 { get; set; } + public global::System.Collections.Generic.List? ListType711 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType566 { get; set; } + public global::System.Collections.Generic.List? ListType712 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType567 { get; set; } + public global::System.Collections.Generic.List? ListType713 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType568 { get; set; } + public global::System.Collections.Generic.List? ListType714 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType569 { get; set; } + public global::System.Collections.Generic.List? ListType715 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType570 { get; set; } + public global::System.Collections.Generic.List? ListType716 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType571 { get; set; } + public global::System.Collections.Generic.List? ListType717 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType572 { get; set; } + public global::System.Collections.Generic.List? ListType718 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType573 { get; set; } + public global::System.Collections.Generic.List? ListType719 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType574 { get; set; } + public global::System.Collections.Generic.List? ListType720 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType575 { get; set; } + public global::System.Collections.Generic.List? ListType721 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType576 { get; set; } + public global::System.Collections.Generic.List? ListType722 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType577 { get; set; } + public global::System.Collections.Generic.List? ListType723 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType578 { get; set; } + public global::System.Collections.Generic.List? ListType724 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType579 { get; set; } + public global::System.Collections.Generic.List? ListType725 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType580 { get; set; } + public global::System.Collections.Generic.List? ListType726 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType581 { get; set; } + public global::System.Collections.Generic.List? ListType727 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType582 { get; set; } + public global::System.Collections.Generic.List? ListType728 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType583 { get; set; } + public global::System.Collections.Generic.List? ListType729 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType584 { get; set; } + public global::System.Collections.Generic.List? ListType730 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType585 { get; set; } + public global::System.Collections.Generic.List? ListType731 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType586 { get; set; } + public global::System.Collections.Generic.List? ListType732 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType587 { get; set; } + public global::System.Collections.Generic.List? ListType733 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType588 { get; set; } + public global::System.Collections.Generic.List? ListType734 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType589 { get; set; } + public global::System.Collections.Generic.List? ListType735 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType590 { get; set; } + public global::System.Collections.Generic.List? ListType736 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType591 { get; set; } + public global::System.Collections.Generic.List? ListType737 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType592 { get; set; } + public global::System.Collections.Generic.List? ListType738 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType593 { get; set; } + public global::System.Collections.Generic.List? ListType739 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType594 { get; set; } + public global::System.Collections.Generic.List? ListType740 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType595 { get; set; } + public global::System.Collections.Generic.List? ListType741 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType596 { get; set; } + public global::System.Collections.Generic.List? ListType742 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType597 { get; set; } + public global::System.Collections.Generic.List? ListType743 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType598 { get; set; } + public global::System.Collections.Generic.List? ListType744 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType599 { get; set; } + public global::System.Collections.Generic.List? ListType745 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType600 { get; set; } + public global::System.Collections.Generic.List? ListType746 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType601 { get; set; } + public global::System.Collections.Generic.List? ListType747 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType602 { get; set; } + public global::System.Collections.Generic.List? ListType748 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType603 { get; set; } + public global::System.Collections.Generic.List? ListType749 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType604 { get; set; } + public global::System.Collections.Generic.List? ListType750 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType605 { get; set; } + public global::System.Collections.Generic.List? ListType751 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType606 { get; set; } + public global::System.Collections.Generic.List? ListType752 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType607 { get; set; } + public global::System.Collections.Generic.List? ListType753 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType608 { get; set; } + public global::System.Collections.Generic.List? ListType754 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType609 { get; set; } + public global::System.Collections.Generic.List? ListType755 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType610 { get; set; } + public global::System.Collections.Generic.List? ListType756 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType611 { get; set; } + public global::System.Collections.Generic.List? ListType757 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType612 { get; set; } + public global::System.Collections.Generic.List? ListType758 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType613 { get; set; } + public global::System.Collections.Generic.List? ListType759 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType614 { get; set; } + public global::System.Collections.Generic.List? ListType760 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType615 { get; set; } + public global::System.Collections.Generic.List? ListType761 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType616 { get; set; } + public global::System.Collections.Generic.List? ListType762 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType617 { get; set; } + public global::System.Collections.Generic.List? ListType763 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType618 { get; set; } + public global::System.Collections.Generic.List? ListType764 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType619 { get; set; } + public global::System.Collections.Generic.List? ListType765 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType620 { get; set; } + public global::System.Collections.Generic.List? ListType766 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType621 { get; set; } + public global::System.Collections.Generic.List? ListType767 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType622 { get; set; } + public global::System.Collections.Generic.List? ListType768 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType623 { get; set; } + public global::System.Collections.Generic.List? ListType769 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType624 { get; set; } + public global::System.Collections.Generic.List? ListType770 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType625 { get; set; } + public global::System.Collections.Generic.List? ListType771 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType626 { get; set; } + public global::System.Collections.Generic.List? ListType772 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType627 { get; set; } + public global::System.Collections.Generic.List? ListType773 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType628 { get; set; } + public global::System.Collections.Generic.List? ListType774 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType629 { get; set; } + public global::System.Collections.Generic.List? ListType775 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType630 { get; set; } + public global::System.Collections.Generic.List? ListType776 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType631 { get; set; } + public global::System.Collections.Generic.List? ListType777 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType632 { get; set; } + public global::System.Collections.Generic.List? ListType778 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType633 { get; set; } + public global::System.Collections.Generic.List? ListType779 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType634 { get; set; } + public global::System.Collections.Generic.List? ListType780 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType635 { get; set; } + public global::System.Collections.Generic.List? ListType781 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType636 { get; set; } + public global::System.Collections.Generic.List? ListType782 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType637 { get; set; } + public global::System.Collections.Generic.List? ListType783 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType638 { get; set; } + public global::System.Collections.Generic.List? ListType784 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType639 { get; set; } + public global::System.Collections.Generic.List? ListType785 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType640 { get; set; } + public global::System.Collections.Generic.List? ListType786 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType641 { get; set; } + public global::System.Collections.Generic.List? ListType787 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType642 { get; set; } + public global::System.Collections.Generic.List? ListType788 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType643 { get; set; } + public global::System.Collections.Generic.List? ListType789 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType644 { get; set; } + public global::System.Collections.Generic.List? ListType790 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType645 { get; set; } + public global::System.Collections.Generic.List? ListType791 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType646 { get; set; } + public global::System.Collections.Generic.List? ListType792 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType647 { get; set; } + public global::System.Collections.Generic.List? ListType793 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType648 { get; set; } + public global::System.Collections.Generic.List? ListType794 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType649 { get; set; } + public global::System.Collections.Generic.List? ListType795 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType650 { get; set; } + public global::System.Collections.Generic.List? ListType796 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType651 { get; set; } + public global::System.Collections.Generic.List? ListType797 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType652 { get; set; } + public global::System.Collections.Generic.List? ListType798 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType653 { get; set; } + public global::System.Collections.Generic.List? ListType799 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType654 { get; set; } + public global::System.Collections.Generic.List? ListType800 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType655 { get; set; } + public global::System.Collections.Generic.List? ListType801 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType656 { get; set; } + public global::System.Collections.Generic.List? ListType802 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType657 { get; set; } + public global::System.Collections.Generic.List? ListType803 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType658 { get; set; } + public global::System.Collections.Generic.List? ListType804 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType659 { get; set; } + public global::System.Collections.Generic.List? ListType805 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType660 { get; set; } + public global::System.Collections.Generic.List? ListType806 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType661 { get; set; } + public global::System.Collections.Generic.List? ListType807 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType662 { get; set; } + public global::System.Collections.Generic.List? ListType808 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType663 { get; set; } + public global::System.Collections.Generic.List? ListType809 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType664 { get; set; } + public global::System.Collections.Generic.List? ListType810 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType665 { get; set; } + public global::System.Collections.Generic.List? ListType811 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType666 { get; set; } + public global::System.Collections.Generic.List? ListType812 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType667 { get; set; } + public global::System.Collections.Generic.List? ListType813 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType668 { get; set; } + public global::System.Collections.Generic.List? ListType814 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType669 { get; set; } + public global::System.Collections.Generic.List? ListType815 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType670 { get; set; } + public global::System.Collections.Generic.List? ListType816 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType671 { get; set; } + public global::System.Collections.Generic.List? ListType817 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType672 { get; set; } + public global::System.Collections.Generic.List? ListType818 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType673 { get; set; } + public global::System.Collections.Generic.List? ListType819 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType674 { get; set; } + public global::System.Collections.Generic.List? ListType820 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType675 { get; set; } + public global::System.Collections.Generic.List? ListType821 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType676 { get; set; } + public global::System.Collections.Generic.List? ListType822 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType677 { get; set; } + public global::System.Collections.Generic.List? ListType823 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType678 { get; set; } + public global::System.Collections.Generic.List? ListType824 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType679 { get; set; } + public global::System.Collections.Generic.List? ListType825 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType680 { get; set; } + public global::System.Collections.Generic.List? ListType826 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType681 { get; set; } + public global::System.Collections.Generic.List? ListType827 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType682 { get; set; } + public global::System.Collections.Generic.List? ListType828 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType683 { get; set; } + public global::System.Collections.Generic.List? ListType829 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType684 { get; set; } + public global::System.Collections.Generic.List? ListType830 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType685 { get; set; } + public global::System.Collections.Generic.List? ListType831 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType686 { get; set; } + public global::System.Collections.Generic.List? ListType832 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType687 { get; set; } + public global::System.Collections.Generic.List? ListType833 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType688 { get; set; } + public global::System.Collections.Generic.List? ListType834 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType689 { get; set; } + public global::System.Collections.Generic.List? ListType835 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType690 { get; set; } + public global::System.Collections.Generic.List? ListType836 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType691 { get; set; } + public global::System.Collections.Generic.List? ListType837 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType692 { get; set; } + public global::System.Collections.Generic.List? ListType838 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType693 { get; set; } + public global::System.Collections.Generic.List? ListType839 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType694 { get; set; } + public global::System.Collections.Generic.List? ListType840 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType695 { get; set; } + public global::System.Collections.Generic.List? ListType841 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType696 { get; set; } + public global::System.Collections.Generic.List? ListType842 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType697 { get; set; } + public global::System.Collections.Generic.List? ListType843 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType698 { get; set; } + public global::System.Collections.Generic.List? ListType844 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType699 { get; set; } + public global::System.Collections.Generic.List? ListType845 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType700 { get; set; } + public global::System.Collections.Generic.List? ListType846 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType701 { get; set; } + public global::System.Collections.Generic.List? ListType847 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType702 { get; set; } + public global::System.Collections.Generic.List? ListType848 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType703 { get; set; } + public global::System.Collections.Generic.List? ListType849 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType704 { get; set; } + public global::System.Collections.Generic.List? ListType850 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType705 { get; set; } + public global::System.Collections.Generic.List? ListType851 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType706 { get; set; } + public global::System.Collections.Generic.List? ListType852 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType707 { get; set; } + public global::System.Collections.Generic.List? ListType853 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType708 { get; set; } + public global::System.Collections.Generic.List? ListType854 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType709 { get; set; } + public global::System.Collections.Generic.List? ListType855 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType710 { get; set; } + public global::System.Collections.Generic.List? ListType856 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType711 { get; set; } + public global::System.Collections.Generic.List? ListType857 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType712 { get; set; } + public global::System.Collections.Generic.List? ListType858 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType713 { get; set; } + public global::System.Collections.Generic.List? ListType859 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType714 { get; set; } + public global::System.Collections.Generic.List? ListType860 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType715 { get; set; } + public global::System.Collections.Generic.List? ListType861 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType716 { get; set; } + public global::System.Collections.Generic.List? ListType862 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType717 { get; set; } + public global::System.Collections.Generic.List? ListType863 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType718 { get; set; } + public global::System.Collections.Generic.List? ListType864 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType719 { get; set; } + public global::System.Collections.Generic.List? ListType865 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType720 { get; set; } + public global::System.Collections.Generic.List? ListType866 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType721 { get; set; } + public global::System.Collections.Generic.List? ListType867 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType722 { get; set; } + public global::System.Collections.Generic.List? ListType868 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType723 { get; set; } + public global::System.Collections.Generic.List? ListType869 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType724 { get; set; } + public global::System.Collections.Generic.List? ListType870 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType725 { get; set; } + public global::System.Collections.Generic.List? ListType871 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType726 { get; set; } + public global::System.Collections.Generic.List? ListType872 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType727 { get; set; } + public global::System.Collections.Generic.List? ListType873 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType728 { get; set; } + public global::System.Collections.Generic.List? ListType874 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType729 { get; set; } + public global::System.Collections.Generic.List? ListType875 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType730 { get; set; } + public global::System.Collections.Generic.List? ListType876 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType731 { get; set; } + public global::System.Collections.Generic.List? ListType877 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType732 { get; set; } + public global::System.Collections.Generic.List? ListType878 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType733 { get; set; } + public global::System.Collections.Generic.List? ListType879 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType734 { get; set; } + public global::System.Collections.Generic.List? ListType880 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType735 { get; set; } + public global::System.Collections.Generic.List? ListType881 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType736 { get; set; } + public global::System.Collections.Generic.List? ListType882 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType737 { get; set; } + public global::System.Collections.Generic.List? ListType883 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType738 { get; set; } + public global::System.Collections.Generic.List? ListType884 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType739 { get; set; } + public global::System.Collections.Generic.List? ListType885 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType740 { get; set; } + public global::System.Collections.Generic.List? ListType886 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType741 { get; set; } + public global::System.Collections.Generic.List? ListType887 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType742 { get; set; } + public global::System.Collections.Generic.List? ListType888 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType743 { get; set; } + public global::System.Collections.Generic.List? ListType889 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType744 { get; set; } + public global::System.Collections.Generic.List? ListType890 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType745 { get; set; } + public global::System.Collections.Generic.List? ListType891 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType746 { get; set; } + public global::System.Collections.Generic.List? ListType892 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType747 { get; set; } + public global::System.Collections.Generic.List? ListType893 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType748 { get; set; } + public global::System.Collections.Generic.List? ListType894 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType749 { get; set; } + public global::System.Collections.Generic.List? ListType895 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType750 { get; set; } + public global::System.Collections.Generic.List? ListType896 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType751 { get; set; } + public global::System.Collections.Generic.List? ListType897 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType752 { get; set; } + public global::System.Collections.Generic.List? ListType898 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType753 { get; set; } + public global::System.Collections.Generic.List? ListType899 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType754 { get; set; } + public global::System.Collections.Generic.List? ListType900 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType755 { get; set; } + public global::System.Collections.Generic.List? ListType901 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType756 { get; set; } + public global::System.Collections.Generic.List? ListType902 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType757 { get; set; } + public global::System.Collections.Generic.List? ListType903 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType758 { get; set; } + public global::System.Collections.Generic.List? ListType904 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType759 { get; set; } + public global::System.Collections.Generic.List? ListType905 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType760 { get; set; } + public global::System.Collections.Generic.List? ListType906 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType761 { get; set; } + public global::System.Collections.Generic.List? ListType907 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType762 { get; set; } + public global::System.Collections.Generic.List? ListType908 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType763 { get; set; } + public global::System.Collections.Generic.List? ListType909 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType764 { get; set; } + public global::System.Collections.Generic.List? ListType910 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType765 { get; set; } + public global::System.Collections.Generic.List? ListType911 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType766 { get; set; } + public global::System.Collections.Generic.List? ListType912 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType767 { get; set; } + public global::System.Collections.Generic.List? ListType913 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType768 { get; set; } + public global::System.Collections.Generic.List? ListType914 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType769 { get; set; } + public global::System.Collections.Generic.List? ListType915 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType770 { get; set; } + public global::System.Collections.Generic.List? ListType916 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType771 { get; set; } + public global::System.Collections.Generic.List? ListType917 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType772 { get; set; } + public global::System.Collections.Generic.List? ListType918 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType773 { get; set; } + public global::System.Collections.Generic.List? ListType919 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType774 { get; set; } + public global::System.Collections.Generic.List? ListType920 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType775 { get; set; } + public global::System.Collections.Generic.List? ListType921 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType776 { get; set; } + public global::System.Collections.Generic.List? ListType922 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType777 { get; set; } + public global::System.Collections.Generic.List? ListType923 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType778 { get; set; } + public global::System.Collections.Generic.List? ListType924 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType779 { get; set; } + public global::System.Collections.Generic.List? ListType925 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType780 { get; set; } + public global::System.Collections.Generic.List? ListType926 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType781 { get; set; } + public global::System.Collections.Generic.List? ListType927 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType782 { get; set; } + public global::System.Collections.Generic.List? ListType928 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType783 { get; set; } + public global::System.Collections.Generic.List? ListType929 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType784 { get; set; } + public global::System.Collections.Generic.List? ListType930 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType785 { get; set; } + public global::System.Collections.Generic.List? ListType931 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType786 { get; set; } + public global::System.Collections.Generic.List? ListType932 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType787 { get; set; } + public global::System.Collections.Generic.List? ListType933 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType788 { get; set; } + public global::System.Collections.Generic.List? ListType934 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType789 { get; set; } + public global::System.Collections.Generic.List? ListType935 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType790 { get; set; } + public global::System.Collections.Generic.List? ListType936 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType791 { get; set; } + public global::System.Collections.Generic.List? ListType937 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType792 { get; set; } + public global::System.Collections.Generic.List? ListType938 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType793 { get; set; } + public global::System.Collections.Generic.List? ListType939 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType794 { get; set; } + public global::System.Collections.Generic.List? ListType940 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType795 { get; set; } + public global::System.Collections.Generic.List? ListType941 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType796 { get; set; } + public global::System.Collections.Generic.List? ListType942 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType797 { get; set; } + public global::System.Collections.Generic.List? ListType943 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType798 { get; set; } + public global::System.Collections.Generic.List? ListType944 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType799 { get; set; } + public global::System.Collections.Generic.List? ListType945 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType800 { get; set; } + public global::System.Collections.Generic.List? ListType946 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType801 { get; set; } + public global::System.Collections.Generic.List? ListType947 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType802 { get; set; } + public global::System.Collections.Generic.List? ListType948 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType803 { get; set; } + public global::System.Collections.Generic.List? ListType949 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType804 { get; set; } + public global::System.Collections.Generic.List? ListType950 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType805 { get; set; } + public global::System.Collections.Generic.List? ListType951 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType806 { get; set; } + public global::System.Collections.Generic.List? ListType952 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType807 { get; set; } + public global::System.Collections.Generic.List? ListType953 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType808 { get; set; } + public global::System.Collections.Generic.List? ListType954 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType809 { get; set; } + public global::System.Collections.Generic.List? ListType955 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType810 { get; set; } + public global::System.Collections.Generic.List? ListType956 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType811 { get; set; } + public global::System.Collections.Generic.List? ListType957 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType812 { get; set; } + public global::System.Collections.Generic.List? ListType958 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType813 { get; set; } + public global::System.Collections.Generic.List? ListType959 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType814 { get; set; } + public global::System.Collections.Generic.List? ListType960 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType815 { get; set; } + public global::System.Collections.Generic.List? ListType961 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType816 { get; set; } + public global::System.Collections.Generic.List? ListType962 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType817 { get; set; } + public global::System.Collections.Generic.List? ListType963 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType818 { get; set; } + public global::System.Collections.Generic.List? ListType964 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType819 { get; set; } + public global::System.Collections.Generic.List? ListType965 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType820 { get; set; } + public global::System.Collections.Generic.List? ListType966 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType821 { get; set; } + public global::System.Collections.Generic.List? ListType967 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType822 { get; set; } + public global::System.Collections.Generic.List? ListType968 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType823 { get; set; } + public global::System.Collections.Generic.List? ListType969 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType824 { get; set; } + public global::System.Collections.Generic.List? ListType970 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType825 { get; set; } + public global::System.Collections.Generic.List? ListType971 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType826 { get; set; } + public global::System.Collections.Generic.List? ListType972 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType827 { get; set; } + public global::System.Collections.Generic.List? ListType973 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType828 { get; set; } + public global::System.Collections.Generic.List? ListType974 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType829 { get; set; } + public global::System.Collections.Generic.List? ListType975 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType830 { get; set; } + public global::System.Collections.Generic.List? ListType976 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType831 { get; set; } + public global::System.Collections.Generic.List? ListType977 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType832 { get; set; } + public global::System.Collections.Generic.List? ListType978 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType833 { get; set; } + public global::System.Collections.Generic.List? ListType979 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType834 { get; set; } + public global::System.Collections.Generic.List? ListType980 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType835 { get; set; } + public global::System.Collections.Generic.List? ListType981 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType836 { get; set; } + public global::System.Collections.Generic.List? ListType982 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType837 { get; set; } + public global::System.Collections.Generic.List? ListType983 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType838 { get; set; } + public global::System.Collections.Generic.List? ListType984 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType839 { get; set; } + public global::System.Collections.Generic.List? ListType985 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType840 { get; set; } + public global::System.Collections.Generic.List? ListType986 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType841 { get; set; } + public global::System.Collections.Generic.List? ListType987 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType842 { get; set; } + public global::System.Collections.Generic.List? ListType988 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType843 { get; set; } + public global::System.Collections.Generic.List? ListType989 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType844 { get; set; } + public global::System.Collections.Generic.List? ListType990 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType845 { get; set; } + public global::System.Collections.Generic.List? ListType991 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType846 { get; set; } + public global::System.Collections.Generic.List? ListType992 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType847 { get; set; } + public global::System.Collections.Generic.List? ListType993 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType848 { get; set; } + public global::System.Collections.Generic.List? ListType994 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType849 { get; set; } + public global::System.Collections.Generic.List? ListType995 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType850 { get; set; } + public global::System.Collections.Generic.List? ListType996 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType851 { get; set; } + public global::System.Collections.Generic.List? ListType997 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType852 { get; set; } + public global::System.Collections.Generic.List? ListType998 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType853 { get; set; } + public global::System.Collections.Generic.List? ListType999 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType854 { get; set; } + public global::System.Collections.Generic.List? ListType1000 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType855 { get; set; } + public global::System.Collections.Generic.List? ListType1001 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType856 { get; set; } + public global::System.Collections.Generic.List? ListType1002 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType857 { get; set; } + public global::System.Collections.Generic.List? ListType1003 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType858 { get; set; } + public global::System.Collections.Generic.List? ListType1004 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType859 { get; set; } + public global::System.Collections.Generic.List? ListType1005 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType860 { get; set; } + public global::System.Collections.Generic.List? ListType1006 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType861 { get; set; } + public global::System.Collections.Generic.List? ListType1007 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType862 { get; set; } + public global::System.Collections.Generic.List? ListType1008 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType863 { get; set; } + public global::System.Collections.Generic.List? ListType1009 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType864 { get; set; } + public global::System.Collections.Generic.List? ListType1010 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType865 { get; set; } + public global::System.Collections.Generic.List? ListType1011 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType866 { get; set; } + public global::System.Collections.Generic.List? ListType1012 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType867 { get; set; } + public global::System.Collections.Generic.List? ListType1013 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType868 { get; set; } + public global::System.Collections.Generic.List? ListType1014 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType869 { get; set; } + public global::System.Collections.Generic.List? ListType1015 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType870 { get; set; } + public global::System.Collections.Generic.List? ListType1016 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType871 { get; set; } + public global::System.Collections.Generic.List? ListType1017 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType872 { get; set; } + public global::System.Collections.Generic.List? ListType1018 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType873 { get; set; } + public global::System.Collections.Generic.List? ListType1019 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType874 { get; set; } + public global::System.Collections.Generic.List? ListType1020 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType875 { get; set; } + public global::System.Collections.Generic.List? ListType1021 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType876 { get; set; } + public global::System.Collections.Generic.List? ListType1022 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType877 { get; set; } + public global::System.Collections.Generic.List? ListType1023 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType878 { get; set; } + public global::System.Collections.Generic.List? ListType1024 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType879 { get; set; } + public global::System.Collections.Generic.List? ListType1025 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType880 { get; set; } + public global::System.Collections.Generic.List? ListType1026 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType881 { get; set; } + public global::System.Collections.Generic.List? ListType1027 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType882 { get; set; } + public global::System.Collections.Generic.List? ListType1028 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType883 { get; set; } + public global::System.Collections.Generic.List? ListType1029 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType884 { get; set; } + public global::System.Collections.Generic.List? ListType1030 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType885 { get; set; } + public global::System.Collections.Generic.List? ListType1031 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType886 { get; set; } + public global::System.Collections.Generic.List? ListType1032 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType887 { get; set; } + public global::System.Collections.Generic.List? ListType1033 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType888 { get; set; } + public global::System.Collections.Generic.List? ListType1034 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType889 { get; set; } + public global::System.Collections.Generic.List? ListType1035 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType890 { get; set; } + public global::System.Collections.Generic.List? ListType1036 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType891 { get; set; } + public global::System.Collections.Generic.List? ListType1037 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType892 { get; set; } + public global::System.Collections.Generic.List? ListType1038 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType893 { get; set; } + public global::System.Collections.Generic.List? ListType1039 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType894 { get; set; } + public global::System.Collections.Generic.List? ListType1040 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType895 { get; set; } + public global::System.Collections.Generic.List? ListType1041 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType896 { get; set; } + public global::System.Collections.Generic.List? ListType1042 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType897 { get; set; } + public global::System.Collections.Generic.List? ListType1043 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType898 { get; set; } + public global::System.Collections.Generic.List? ListType1044 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType899 { get; set; } + public global::System.Collections.Generic.List? ListType1045 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType900 { get; set; } + public global::System.Collections.Generic.List? ListType1046 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType901 { get; set; } + public global::System.Collections.Generic.List? ListType1047 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType902 { get; set; } + public global::System.Collections.Generic.List? ListType1048 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType903 { get; set; } + public global::System.Collections.Generic.List? ListType1049 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType904 { get; set; } + public global::System.Collections.Generic.List? ListType1050 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType905 { get; set; } + public global::System.Collections.Generic.List? ListType1051 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType906 { get; set; } + public global::System.Collections.Generic.List? ListType1052 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType907 { get; set; } + public global::System.Collections.Generic.List? ListType1053 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType908 { get; set; } + public global::System.Collections.Generic.List? ListType1054 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType909 { get; set; } + public global::System.Collections.Generic.List? ListType1055 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType910 { get; set; } + public global::System.Collections.Generic.List? ListType1056 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType911 { get; set; } + public global::System.Collections.Generic.List? ListType1057 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType912 { get; set; } + public global::System.Collections.Generic.List? ListType1058 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType913 { get; set; } + public global::System.Collections.Generic.List? ListType1059 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType914 { get; set; } + public global::System.Collections.Generic.List? ListType1060 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType915 { get; set; } + public global::System.Collections.Generic.List? ListType1061 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType916 { get; set; } + public global::System.Collections.Generic.List? ListType1062 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType917 { get; set; } + public global::System.Collections.Generic.List? ListType1063 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType918 { get; set; } + public global::System.Collections.Generic.List? ListType1064 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType919 { get; set; } + public global::System.Collections.Generic.List? ListType1065 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType920 { get; set; } + public global::System.Collections.Generic.List? ListType1066 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType921 { get; set; } + public global::System.Collections.Generic.List? ListType1067 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType922 { get; set; } + public global::System.Collections.Generic.List? ListType1068 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType923 { get; set; } + public global::System.Collections.Generic.List? ListType1069 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType924 { get; set; } + public global::System.Collections.Generic.List? ListType1070 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType925 { get; set; } + public global::System.Collections.Generic.List? ListType1071 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType926 { get; set; } + public global::System.Collections.Generic.List? ListType1072 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType927 { get; set; } + public global::System.Collections.Generic.List? ListType1073 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType928 { get; set; } + public global::System.Collections.Generic.List? ListType1074 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType929 { get; set; } + public global::System.Collections.Generic.List? ListType1075 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType930 { get; set; } + public global::System.Collections.Generic.List? ListType1076 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType931 { get; set; } + public global::System.Collections.Generic.List? ListType1077 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType932 { get; set; } + public global::System.Collections.Generic.List? ListType1078 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType933 { get; set; } + public global::System.Collections.Generic.List? ListType1079 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType934 { get; set; } + public global::System.Collections.Generic.List? ListType1080 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType935 { get; set; } + public global::System.Collections.Generic.List? ListType1081 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType936 { get; set; } + public global::System.Collections.Generic.List? ListType1082 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType937 { get; set; } + public global::System.Collections.Generic.List? ListType1083 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType938 { get; set; } + public global::System.Collections.Generic.List? ListType1084 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType939 { get; set; } + public global::System.Collections.Generic.List? ListType1085 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType940 { get; set; } + public global::System.Collections.Generic.List? ListType1086 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType941 { get; set; } + public global::System.Collections.Generic.List? ListType1087 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType942 { get; set; } + public global::System.Collections.Generic.List? ListType1088 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType943 { get; set; } + public global::System.Collections.Generic.List? ListType1089 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType944 { get; set; } + public global::System.Collections.Generic.List? ListType1090 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType945 { get; set; } + public global::System.Collections.Generic.List? ListType1091 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType946 { get; set; } + public global::System.Collections.Generic.List? ListType1092 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType947 { get; set; } + public global::System.Collections.Generic.List? ListType1093 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType948 { get; set; } + public global::System.Collections.Generic.List? ListType1094 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType949 { get; set; } + public global::System.Collections.Generic.List? ListType1095 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType950 { get; set; } + public global::System.Collections.Generic.List? ListType1096 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType951 { get; set; } + public global::System.Collections.Generic.List? ListType1097 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType952 { get; set; } + public global::System.Collections.Generic.List? ListType1098 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType953 { get; set; } + public global::System.Collections.Generic.List? ListType1099 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType954 { get; set; } + public global::System.Collections.Generic.List? ListType1100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType955 { get; set; } + public global::System.Collections.Generic.List? ListType1101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType956 { get; set; } + public global::System.Collections.Generic.List? ListType1102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType957 { get; set; } + public global::System.Collections.Generic.List? ListType1103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType958 { get; set; } + public global::System.Collections.Generic.List? ListType1104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType959 { get; set; } + public global::System.Collections.Generic.List? ListType1105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType960 { get; set; } + public global::System.Collections.Generic.List? ListType1106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType961 { get; set; } + public global::System.Collections.Generic.List? ListType1107 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType962 { get; set; } + public global::System.Collections.Generic.List? ListType1108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType963 { get; set; } + public global::System.Collections.Generic.List? ListType1109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType964 { get; set; } + public global::System.Collections.Generic.List? ListType1110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType965 { get; set; } + public global::System.Collections.Generic.List? ListType1111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType966 { get; set; } + public global::System.Collections.Generic.List? ListType1112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType967 { get; set; } + public global::System.Collections.Generic.List? ListType1113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType968 { get; set; } + public global::System.Collections.Generic.List? ListType1114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType969 { get; set; } + public global::System.Collections.Generic.List? ListType1115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType970 { get; set; } + public global::System.Collections.Generic.List? ListType1116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType971 { get; set; } + public global::System.Collections.Generic.List? ListType1117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType972 { get; set; } + public global::System.Collections.Generic.List? ListType1118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType973 { get; set; } + public global::System.Collections.Generic.List? ListType1119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType974 { get; set; } + public global::System.Collections.Generic.List? ListType1120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType975 { get; set; } + public global::System.Collections.Generic.List? ListType1121 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType976 { get; set; } + public global::System.Collections.Generic.List? ListType1122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType977 { get; set; } + public global::System.Collections.Generic.List? ListType1123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType978 { get; set; } + public global::System.Collections.Generic.List? ListType1124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType979 { get; set; } + public global::System.Collections.Generic.List? ListType1125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType980 { get; set; } + public global::System.Collections.Generic.List? ListType1126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType981 { get; set; } + public global::System.Collections.Generic.List? ListType1127 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType982 { get; set; } + public global::System.Collections.Generic.List? ListType1128 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType983 { get; set; } + public global::System.Collections.Generic.List? ListType1129 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType984 { get; set; } + public global::System.Collections.Generic.List? ListType1130 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType985 { get; set; } + public global::System.Collections.Generic.List? ListType1131 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType986 { get; set; } + public global::System.Collections.Generic.List? ListType1132 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType987 { get; set; } + public global::System.Collections.Generic.List? ListType1133 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType988 { get; set; } + public global::System.Collections.Generic.List? ListType1134 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType989 { get; set; } + public global::System.Collections.Generic.List? ListType1135 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType990 { get; set; } + public global::System.Collections.Generic.List? ListType1136 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType991 { get; set; } + public global::System.Collections.Generic.List? ListType1137 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType992 { get; set; } + public global::System.Collections.Generic.List? ListType1138 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType993 { get; set; } + public global::System.Collections.Generic.List? ListType1139 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType994 { get; set; } + public global::System.Collections.Generic.List? ListType1140 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType995 { get; set; } + public global::System.Collections.Generic.List? ListType1141 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType996 { get; set; } + public global::System.Collections.Generic.List? ListType1142 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType997 { get; set; } + public global::System.Collections.Generic.List? ListType1143 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType998 { get; set; } + public global::System.Collections.Generic.List? ListType1144 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType999 { get; set; } + public global::System.Collections.Generic.List? ListType1145 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1000 { get; set; } + public global::System.Collections.Generic.List? ListType1146 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1001 { get; set; } + public global::System.Collections.Generic.List? ListType1147 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1002 { get; set; } + public global::System.Collections.Generic.List? ListType1148 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1003 { get; set; } + public global::System.Collections.Generic.List? ListType1149 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1004 { get; set; } + public global::System.Collections.Generic.List? ListType1150 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1005 { get; set; } + public global::System.Collections.Generic.List? ListType1151 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1006 { get; set; } + public global::System.Collections.Generic.List? ListType1152 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1007 { get; set; } + public global::System.Collections.Generic.List? ListType1153 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1008 { get; set; } + public global::System.Collections.Generic.List? ListType1154 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1009 { get; set; } + public global::System.Collections.Generic.List? ListType1155 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1010 { get; set; } + public global::System.Collections.Generic.List? ListType1156 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1011 { get; set; } + public global::System.Collections.Generic.List? ListType1157 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1012 { get; set; } + public global::System.Collections.Generic.List? ListType1158 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1013 { get; set; } + public global::System.Collections.Generic.List? ListType1159 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1014 { get; set; } + public global::System.Collections.Generic.List? ListType1160 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1015 { get; set; } + public global::System.Collections.Generic.List? ListType1161 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1016 { get; set; } + public global::System.Collections.Generic.List? ListType1162 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1017 { get; set; } + public global::System.Collections.Generic.List? ListType1163 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1018 { get; set; } + public global::System.Collections.Generic.List? ListType1164 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1019 { get; set; } + public global::System.Collections.Generic.List? ListType1165 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1020 { get; set; } + public global::System.Collections.Generic.List? ListType1166 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1021 { get; set; } + public global::System.Collections.Generic.List? ListType1167 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1022 { get; set; } + public global::System.Collections.Generic.List? ListType1168 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1023 { get; set; } + public global::System.Collections.Generic.List? ListType1169 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1024 { get; set; } + public global::System.Collections.Generic.List? ListType1170 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1025 { get; set; } + public global::System.Collections.Generic.List? ListType1171 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1026 { get; set; } + public global::System.Collections.Generic.List? ListType1172 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1027 { get; set; } + public global::System.Collections.Generic.List? ListType1173 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1028 { get; set; } + public global::System.Collections.Generic.List? ListType1174 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1029 { get; set; } + public global::System.Collections.Generic.List? ListType1175 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1030 { get; set; } + public global::System.Collections.Generic.List? ListType1176 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1031 { get; set; } + public global::System.Collections.Generic.List? ListType1177 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1032 { get; set; } + public global::System.Collections.Generic.List? ListType1178 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1033 { get; set; } + public global::System.Collections.Generic.List? ListType1179 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1034 { get; set; } + public global::System.Collections.Generic.List? ListType1180 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1035 { get; set; } + public global::System.Collections.Generic.List? ListType1181 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1036 { get; set; } + public global::System.Collections.Generic.List? ListType1182 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1037 { get; set; } + public global::System.Collections.Generic.List? ListType1183 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1038 { get; set; } + public global::System.Collections.Generic.List? ListType1184 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1039 { get; set; } + public global::System.Collections.Generic.List? ListType1185 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1040 { get; set; } + public global::System.Collections.Generic.List? ListType1186 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1041 { get; set; } + public global::System.Collections.Generic.List? ListType1187 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1042 { get; set; } + public global::System.Collections.Generic.List? ListType1188 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1043 { get; set; } + public global::System.Collections.Generic.List? ListType1189 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1044 { get; set; } + public global::System.Collections.Generic.List? ListType1190 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1045 { get; set; } + public global::System.Collections.Generic.List? ListType1191 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1046 { get; set; } + public global::System.Collections.Generic.List? ListType1192 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1047 { get; set; } + public global::System.Collections.Generic.List? ListType1193 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1048 { get; set; } + public global::System.Collections.Generic.List? ListType1194 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1049 { get; set; } + public global::System.Collections.Generic.List? ListType1195 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1050 { get; set; } + public global::System.Collections.Generic.List? ListType1196 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1051 { get; set; } + public global::System.Collections.Generic.List? ListType1197 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1052 { get; set; } + public global::System.Collections.Generic.List? ListType1198 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1053 { get; set; } + public global::System.Collections.Generic.List? ListType1199 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1054 { get; set; } + public global::System.Collections.Generic.List? ListType1200 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1055 { get; set; } + public global::System.Collections.Generic.List? ListType1201 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1056 { get; set; } + public global::System.Collections.Generic.List? ListType1202 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1057 { get; set; } + public global::System.Collections.Generic.List? ListType1203 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1058 { get; set; } + public global::System.Collections.Generic.List? ListType1204 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1059 { get; set; } + public global::System.Collections.Generic.List? ListType1205 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1060 { get; set; } + public global::System.Collections.Generic.List? ListType1206 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1061 { get; set; } + public global::System.Collections.Generic.List? ListType1207 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1062 { get; set; } + public global::System.Collections.Generic.List? ListType1208 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1063 { get; set; } + public global::System.Collections.Generic.List? ListType1209 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1064 { get; set; } + public global::System.Collections.Generic.List? ListType1210 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1065 { get; set; } + public global::System.Collections.Generic.List? ListType1211 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1066 { get; set; } + public global::System.Collections.Generic.List? ListType1212 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1067 { get; set; } + public global::System.Collections.Generic.List? ListType1213 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1068 { get; set; } + public global::System.Collections.Generic.List? ListType1214 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1069 { get; set; } + public global::System.Collections.Generic.List? ListType1215 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1070 { get; set; } + public global::System.Collections.Generic.List? ListType1216 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1071 { get; set; } + public global::System.Collections.Generic.List? ListType1217 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1072 { get; set; } + public global::System.Collections.Generic.List? ListType1218 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1073 { get; set; } + public global::System.Collections.Generic.List? ListType1219 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1074 { get; set; } + public global::System.Collections.Generic.List? ListType1220 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1075 { get; set; } + public global::System.Collections.Generic.List? ListType1221 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1076 { get; set; } + public global::System.Collections.Generic.List? ListType1222 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1077 { get; set; } + public global::System.Collections.Generic.List? ListType1223 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1078 { get; set; } + public global::System.Collections.Generic.List? ListType1224 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1079 { get; set; } + public global::System.Collections.Generic.List? ListType1225 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1080 { get; set; } + public global::System.Collections.Generic.List? ListType1226 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1081 { get; set; } + public global::System.Collections.Generic.List? ListType1227 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1082 { get; set; } + public global::System.Collections.Generic.List? ListType1228 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1083 { get; set; } + public global::System.Collections.Generic.List? ListType1229 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1084 { get; set; } + public global::System.Collections.Generic.List? ListType1230 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1085 { get; set; } + public global::System.Collections.Generic.List? ListType1231 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1086 { get; set; } + public global::System.Collections.Generic.List? ListType1232 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1087 { get; set; } + public global::System.Collections.Generic.List? ListType1233 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1088 { get; set; } + public global::System.Collections.Generic.List? ListType1234 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1089 { get; set; } + public global::System.Collections.Generic.List? ListType1235 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1090 { get; set; } + public global::System.Collections.Generic.List? ListType1236 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1091 { get; set; } + public global::System.Collections.Generic.List? ListType1237 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1092 { get; set; } + public global::System.Collections.Generic.List? ListType1238 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1093 { get; set; } + public global::System.Collections.Generic.List? ListType1239 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1094 { get; set; } + public global::System.Collections.Generic.List? ListType1240 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1095 { get; set; } + public global::System.Collections.Generic.List? ListType1241 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1096 { get; set; } + public global::System.Collections.Generic.List? ListType1242 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1097 { get; set; } + public global::System.Collections.Generic.List? ListType1243 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1098 { get; set; } + public global::System.Collections.Generic.List? ListType1244 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1099 { get; set; } + public global::System.Collections.Generic.List? ListType1245 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1100 { get; set; } + public global::System.Collections.Generic.List? ListType1246 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1101 { get; set; } + public global::System.Collections.Generic.List? ListType1247 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1102 { get; set; } + public global::System.Collections.Generic.List? ListType1248 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1103 { get; set; } + public global::System.Collections.Generic.List? ListType1249 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1104 { get; set; } + public global::System.Collections.Generic.List? ListType1250 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1105 { get; set; } + public global::System.Collections.Generic.List? ListType1251 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1106 { get; set; } + public global::System.Collections.Generic.List? ListType1252 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1107 { get; set; } + public global::System.Collections.Generic.List? ListType1253 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1108 { get; set; } + public global::System.Collections.Generic.List? ListType1254 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1109 { get; set; } + public global::System.Collections.Generic.List? ListType1255 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1110 { get; set; } + public global::System.Collections.Generic.List? ListType1256 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1111 { get; set; } + public global::System.Collections.Generic.List? ListType1257 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1112 { get; set; } + public global::System.Collections.Generic.List? ListType1258 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1113 { get; set; } + public global::System.Collections.Generic.List? ListType1259 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1114 { get; set; } + public global::System.Collections.Generic.List? ListType1260 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1115 { get; set; } + public global::System.Collections.Generic.List? ListType1261 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1116 { get; set; } + public global::System.Collections.Generic.List? ListType1262 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1117 { get; set; } + public global::System.Collections.Generic.List? ListType1263 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1118 { get; set; } + public global::System.Collections.Generic.List? ListType1264 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1119 { get; set; } + public global::System.Collections.Generic.List? ListType1265 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1120 { get; set; } + public global::System.Collections.Generic.List? ListType1266 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1121 { get; set; } + public global::System.Collections.Generic.List? ListType1267 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1122 { get; set; } + public global::System.Collections.Generic.List? ListType1268 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1123 { get; set; } + public global::System.Collections.Generic.List? ListType1269 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1124 { get; set; } + public global::System.Collections.Generic.List? ListType1270 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1125 { get; set; } + public global::System.Collections.Generic.List? ListType1271 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1126 { get; set; } + public global::System.Collections.Generic.List? ListType1272 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1127 { get; set; } + public global::System.Collections.Generic.List? ListType1273 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1128 { get; set; } + public global::System.Collections.Generic.List? ListType1274 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1129 { get; set; } + public global::System.Collections.Generic.List? ListType1275 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1130 { get; set; } + public global::System.Collections.Generic.List? ListType1276 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1131 { get; set; } + public global::System.Collections.Generic.List? ListType1277 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1132 { get; set; } + public global::System.Collections.Generic.List? ListType1278 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1133 { get; set; } + public global::System.Collections.Generic.List? ListType1279 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1134 { get; set; } + public global::System.Collections.Generic.List? ListType1280 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1135 { get; set; } + public global::System.Collections.Generic.List? ListType1281 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1136 { get; set; } + public global::System.Collections.Generic.List? ListType1282 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1137 { get; set; } + public global::System.Collections.Generic.List? ListType1283 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1138 { get; set; } + public global::System.Collections.Generic.List? ListType1284 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1139 { get; set; } + public global::System.Collections.Generic.List? ListType1285 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1140 { get; set; } + public global::System.Collections.Generic.List? ListType1286 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1141 { get; set; } + public global::System.Collections.Generic.List? ListType1287 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1142 { get; set; } + public global::System.Collections.Generic.List? ListType1288 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1143 { get; set; } + public global::System.Collections.Generic.List? ListType1289 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1144 { get; set; } + public global::System.Collections.Generic.List? ListType1290 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1145 { get; set; } + public global::System.Collections.Generic.List? ListType1291 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1146 { get; set; } + public global::System.Collections.Generic.List? ListType1292 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1147 { get; set; } + public global::System.Collections.Generic.List? ListType1293 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1148 { get; set; } + public global::System.Collections.Generic.List? ListType1294 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1149 { get; set; } + public global::System.Collections.Generic.List? ListType1295 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1150 { get; set; } + public global::System.Collections.Generic.List? ListType1296 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1151 { get; set; } + public global::System.Collections.Generic.List? ListType1297 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1152 { get; set; } + public global::System.Collections.Generic.List? ListType1298 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1153 { get; set; } + public global::System.Collections.Generic.List? ListType1299 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1154 { get; set; } + public global::System.Collections.Generic.List? ListType1300 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1155 { get; set; } + public global::System.Collections.Generic.List? ListType1301 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1156 { get; set; } + public global::System.Collections.Generic.List? ListType1302 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1157 { get; set; } + public global::System.Collections.Generic.List? ListType1303 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1158 { get; set; } + public global::System.Collections.Generic.List? ListType1304 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1159 { get; set; } + public global::System.Collections.Generic.List? ListType1305 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1160 { get; set; } + public global::System.Collections.Generic.List? ListType1306 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1161 { get; set; } + public global::System.Collections.Generic.List? ListType1307 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1162 { get; set; } + public global::System.Collections.Generic.List? ListType1308 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1163 { get; set; } + public global::System.Collections.Generic.List? ListType1309 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1164 { get; set; } + public global::System.Collections.Generic.List? ListType1310 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1165 { get; set; } + public global::System.Collections.Generic.List? ListType1311 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1166 { get; set; } + public global::System.Collections.Generic.List? ListType1312 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1167 { get; set; } + public global::System.Collections.Generic.List? ListType1313 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1168 { get; set; } + public global::System.Collections.Generic.List? ListType1314 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1169 { get; set; } + public global::System.Collections.Generic.List? ListType1315 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1170 { get; set; } + public global::System.Collections.Generic.List? ListType1316 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1171 { get; set; } + public global::System.Collections.Generic.List? ListType1317 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1172 { get; set; } + public global::System.Collections.Generic.List? ListType1318 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1173 { get; set; } + public global::System.Collections.Generic.List? ListType1319 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1174 { get; set; } + public global::System.Collections.Generic.List? ListType1320 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1175 { get; set; } + public global::System.Collections.Generic.List? ListType1321 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1176 { get; set; } + public global::System.Collections.Generic.List? ListType1322 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1177 { get; set; } + public global::System.Collections.Generic.List? ListType1323 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1178 { get; set; } + public global::System.Collections.Generic.List? ListType1324 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1179 { get; set; } + public global::System.Collections.Generic.List? ListType1325 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1180 { get; set; } + public global::System.Collections.Generic.List? ListType1326 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1181 { get; set; } + public global::System.Collections.Generic.List? ListType1327 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1182 { get; set; } + public global::System.Collections.Generic.List? ListType1328 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1183 { get; set; } + public global::System.Collections.Generic.List? ListType1329 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1184 { get; set; } + public global::System.Collections.Generic.List? ListType1330 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1185 { get; set; } + public global::System.Collections.Generic.List? ListType1331 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1186 { get; set; } + public global::System.Collections.Generic.List? ListType1332 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1187 { get; set; } + public global::System.Collections.Generic.List? ListType1333 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1188 { get; set; } + public global::System.Collections.Generic.List? ListType1334 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1189 { get; set; } + public global::System.Collections.Generic.List? ListType1335 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1190 { get; set; } + public global::System.Collections.Generic.List? ListType1336 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1191 { get; set; } + public global::System.Collections.Generic.List? ListType1337 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1192 { get; set; } + public global::System.Collections.Generic.List? ListType1338 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1193 { get; set; } + public global::System.Collections.Generic.List? ListType1339 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1194 { get; set; } + public global::System.Collections.Generic.List? ListType1340 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1195 { get; set; } + public global::System.Collections.Generic.List? ListType1341 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1196 { get; set; } + public global::System.Collections.Generic.List? ListType1342 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1197 { get; set; } + public global::System.Collections.Generic.List? ListType1343 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1198 { get; set; } + public global::System.Collections.Generic.List? ListType1344 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1199 { get; set; } + public global::System.Collections.Generic.List? ListType1345 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1200 { get; set; } + public global::System.Collections.Generic.List? ListType1346 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1201 { get; set; } + public global::System.Collections.Generic.List? ListType1347 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1202 { get; set; } + public global::System.Collections.Generic.List? ListType1348 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1203 { get; set; } + public global::System.Collections.Generic.List? ListType1349 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1204 { get; set; } + public global::System.Collections.Generic.List? ListType1350 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1205 { get; set; } + public global::System.Collections.Generic.List? ListType1351 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1206 { get; set; } + public global::System.Collections.Generic.List? ListType1352 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1207 { get; set; } + public global::System.Collections.Generic.List? ListType1353 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1208 { get; set; } + public global::System.Collections.Generic.List? ListType1354 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1209 { get; set; } + public global::System.Collections.Generic.List? ListType1355 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1210 { get; set; } + public global::System.Collections.Generic.List? ListType1356 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1211 { get; set; } + public global::System.Collections.Generic.List? ListType1357 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1212 { get; set; } + public global::System.Collections.Generic.List? ListType1358 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1213 { get; set; } + public global::System.Collections.Generic.List? ListType1359 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1214 { get; set; } + public global::System.Collections.Generic.List? ListType1360 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1215 { get; set; } + public global::System.Collections.Generic.List? ListType1361 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1216 { get; set; } + public global::System.Collections.Generic.List? ListType1362 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1217 { get; set; } + public global::System.Collections.Generic.List? ListType1363 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1218 { get; set; } + public global::System.Collections.Generic.List? ListType1364 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1219 { get; set; } + public global::System.Collections.Generic.List? ListType1365 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1220 { get; set; } + public global::System.Collections.Generic.List? ListType1366 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1221 { get; set; } + public global::System.Collections.Generic.List? ListType1367 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1222 { get; set; } + public global::System.Collections.Generic.List? ListType1368 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1223 { get; set; } + public global::System.Collections.Generic.List? ListType1369 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1224 { get; set; } + public global::System.Collections.Generic.List? ListType1370 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1225 { get; set; } + public global::System.Collections.Generic.List? ListType1371 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1226 { get; set; } + public global::System.Collections.Generic.List? ListType1372 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1227 { get; set; } + public global::System.Collections.Generic.List? ListType1373 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1228 { get; set; } + public global::System.Collections.Generic.List? ListType1374 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1229 { get; set; } + public global::System.Collections.Generic.List? ListType1375 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1230 { get; set; } + public global::System.Collections.Generic.List? ListType1376 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1231 { get; set; } + public global::System.Collections.Generic.List? ListType1377 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1232 { get; set; } + public global::System.Collections.Generic.List? ListType1378 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1233 { get; set; } + public global::System.Collections.Generic.List? ListType1379 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1234 { get; set; } + public global::System.Collections.Generic.List? ListType1380 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1235 { get; set; } + public global::System.Collections.Generic.List? ListType1381 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1236 { get; set; } + public global::System.Collections.Generic.List? ListType1382 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1237 { get; set; } + public global::System.Collections.Generic.List? ListType1383 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1238 { get; set; } + public global::System.Collections.Generic.List? ListType1384 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1239 { get; set; } + public global::System.Collections.Generic.List? ListType1385 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1240 { get; set; } + public global::System.Collections.Generic.List? ListType1386 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1241 { get; set; } + public global::System.Collections.Generic.List? ListType1387 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1242 { get; set; } + public global::System.Collections.Generic.List? ListType1388 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1243 { get; set; } + public global::System.Collections.Generic.List? ListType1389 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1244 { get; set; } + public global::System.Collections.Generic.List? ListType1390 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1245 { get; set; } + public global::System.Collections.Generic.List? ListType1391 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1246 { get; set; } + public global::System.Collections.Generic.List? ListType1392 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1247 { get; set; } + public global::System.Collections.Generic.List? ListType1393 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1248 { get; set; } + public global::System.Collections.Generic.List? ListType1394 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1249 { get; set; } + public global::System.Collections.Generic.List? ListType1395 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1250 { get; set; } + public global::System.Collections.Generic.List? ListType1396 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1251 { get; set; } + public global::System.Collections.Generic.List? ListType1397 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1252 { get; set; } + public global::System.Collections.Generic.List? ListType1398 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1253 { get; set; } + public global::System.Collections.Generic.List? ListType1399 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1254 { get; set; } + public global::System.Collections.Generic.List? ListType1400 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1255 { get; set; } + public global::System.Collections.Generic.List? ListType1401 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1256 { get; set; } + public global::System.Collections.Generic.List? ListType1402 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1257 { get; set; } + public global::System.Collections.Generic.List? ListType1403 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1258 { get; set; } + public global::System.Collections.Generic.List? ListType1404 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1259 { get; set; } + public global::System.Collections.Generic.List? ListType1405 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1260 { get; set; } + public global::System.Collections.Generic.List? ListType1406 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1261 { get; set; } + public global::System.Collections.Generic.List? ListType1407 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1262 { get; set; } + public global::System.Collections.Generic.List? ListType1408 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1263 { get; set; } + public global::System.Collections.Generic.List? ListType1409 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1264 { get; set; } + public global::System.Collections.Generic.List? ListType1410 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1265 { get; set; } + public global::System.Collections.Generic.List? ListType1411 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1266 { get; set; } + public global::System.Collections.Generic.List? ListType1412 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1267 { get; set; } + public global::System.Collections.Generic.List? ListType1413 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1268 { get; set; } + public global::System.Collections.Generic.List? ListType1414 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1269 { get; set; } + public global::System.Collections.Generic.List? ListType1415 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1270 { get; set; } + public global::System.Collections.Generic.List? ListType1416 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1271 { get; set; } + public global::System.Collections.Generic.List? ListType1417 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1272 { get; set; } + public global::System.Collections.Generic.List? ListType1418 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1273 { get; set; } + public global::System.Collections.Generic.List? ListType1419 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1274 { get; set; } + public global::System.Collections.Generic.List? ListType1420 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1275 { get; set; } + public global::System.Collections.Generic.List? ListType1421 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1276 { get; set; } + public global::System.Collections.Generic.List? ListType1422 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1277 { get; set; } + public global::System.Collections.Generic.List? ListType1423 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1278 { get; set; } + public global::System.Collections.Generic.List? ListType1424 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1279 { get; set; } + public global::System.Collections.Generic.List? ListType1425 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1280 { get; set; } + public global::System.Collections.Generic.List? ListType1426 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1281 { get; set; } + public global::System.Collections.Generic.List? ListType1427 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1282 { get; set; } + public global::System.Collections.Generic.List? ListType1428 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1283 { get; set; } + public global::System.Collections.Generic.List? ListType1429 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1284 { get; set; } + public global::System.Collections.Generic.List? ListType1430 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1285 { get; set; } + public global::System.Collections.Generic.List? ListType1431 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1286 { get; set; } + public global::System.Collections.Generic.List? ListType1432 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1287 { get; set; } + public global::System.Collections.Generic.List? ListType1433 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1288 { get; set; } + public global::System.Collections.Generic.List? ListType1434 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1289 { get; set; } + public global::System.Collections.Generic.List? ListType1435 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1290 { get; set; } + public global::System.Collections.Generic.List? ListType1436 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1291 { get; set; } + public global::System.Collections.Generic.List? ListType1437 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1292 { get; set; } + public global::System.Collections.Generic.List? ListType1438 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1293 { get; set; } + public global::System.Collections.Generic.List? ListType1439 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1294 { get; set; } + public global::System.Collections.Generic.List? ListType1440 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1295 { get; set; } + public global::System.Collections.Generic.List? ListType1441 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1296 { get; set; } + public global::System.Collections.Generic.List? ListType1442 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1297 { get; set; } + public global::System.Collections.Generic.List? ListType1443 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1298 { get; set; } + public global::System.Collections.Generic.List? ListType1444 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1299 { get; set; } + public global::System.Collections.Generic.List? ListType1445 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1300 { get; set; } + public global::System.Collections.Generic.List? ListType1446 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1301 { get; set; } + public global::System.Collections.Generic.List? ListType1447 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1302 { get; set; } + public global::System.Collections.Generic.List? ListType1448 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1303 { get; set; } + public global::System.Collections.Generic.List? ListType1449 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1304 { get; set; } + public global::System.Collections.Generic.List? ListType1450 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1305 { get; set; } + public global::System.Collections.Generic.List? ListType1451 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1306 { get; set; } + public global::System.Collections.Generic.List? ListType1452 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1307 { get; set; } + public global::System.Collections.Generic.List? ListType1453 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1308 { get; set; } + public global::System.Collections.Generic.List? ListType1454 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1309 { get; set; } + public global::System.Collections.Generic.List? ListType1455 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1310 { get; set; } + public global::System.Collections.Generic.List? ListType1456 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1311 { get; set; } + public global::System.Collections.Generic.List? ListType1457 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1312 { get; set; } + public global::System.Collections.Generic.List? ListType1458 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1313 { get; set; } + public global::System.Collections.Generic.List? ListType1459 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1314 { get; set; } + public global::System.Collections.Generic.List? ListType1460 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1315 { get; set; } + public global::System.Collections.Generic.List? ListType1461 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1316 { get; set; } + public global::System.Collections.Generic.List? ListType1462 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1317 { get; set; } + public global::System.Collections.Generic.List? ListType1463 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1318 { get; set; } + public global::System.Collections.Generic.List? ListType1464 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1319 { get; set; } + public global::System.Collections.Generic.List? ListType1465 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1320 { get; set; } + public global::System.Collections.Generic.List? ListType1466 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1321 { get; set; } + public global::System.Collections.Generic.List? ListType1467 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1322 { get; set; } + public global::System.Collections.Generic.List? ListType1468 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1323 { get; set; } + public global::System.Collections.Generic.List? ListType1469 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1324 { get; set; } + public global::System.Collections.Generic.List? ListType1470 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1325 { get; set; } + public global::System.Collections.Generic.List? ListType1471 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1326 { get; set; } + public global::System.Collections.Generic.List? ListType1472 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1327 { get; set; } + public global::System.Collections.Generic.List? ListType1473 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1328 { get; set; } + public global::System.Collections.Generic.List? ListType1474 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1329 { get; set; } + public global::System.Collections.Generic.List? ListType1475 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1330 { get; set; } + public global::System.Collections.Generic.List? ListType1476 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1331 { get; set; } + public global::System.Collections.Generic.List? ListType1477 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1332 { get; set; } + public global::System.Collections.Generic.List? ListType1478 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1333 { get; set; } + public global::System.Collections.Generic.List? ListType1479 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1334 { get; set; } + public global::System.Collections.Generic.List? ListType1480 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1335 { get; set; } + public global::System.Collections.Generic.List? ListType1481 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1336 { get; set; } + public global::System.Collections.Generic.List? ListType1482 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1337 { get; set; } + public global::System.Collections.Generic.List? ListType1483 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1338 { get; set; } + public global::System.Collections.Generic.List? ListType1484 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1339 { get; set; } + public global::System.Collections.Generic.List? ListType1485 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1340 { get; set; } + public global::System.Collections.Generic.List? ListType1486 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1341 { get; set; } + public global::System.Collections.Generic.List? ListType1487 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1342 { get; set; } + public global::System.Collections.Generic.List? ListType1488 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1343 { get; set; } + public global::System.Collections.Generic.List? ListType1489 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1344 { get; set; } + public global::System.Collections.Generic.List? ListType1490 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1345 { get; set; } + public global::System.Collections.Generic.List? ListType1491 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1346 { get; set; } + public global::System.Collections.Generic.List? ListType1492 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1347 { get; set; } + public global::System.Collections.Generic.List? ListType1493 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1348 { get; set; } + public global::System.Collections.Generic.List? ListType1494 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1349 { get; set; } + public global::System.Collections.Generic.List? ListType1495 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1350 { get; set; } + public global::System.Collections.Generic.List? ListType1496 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1351 { get; set; } + public global::System.Collections.Generic.List? ListType1497 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1352 { get; set; } + public global::System.Collections.Generic.List? ListType1498 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1353 { get; set; } + public global::System.Collections.Generic.List? ListType1499 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1354 { get; set; } + public global::System.Collections.Generic.List? ListType1500 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1355 { get; set; } + public global::System.Collections.Generic.List? ListType1501 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1356 { get; set; } + public global::System.Collections.Generic.List? ListType1502 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1357 { get; set; } + public global::System.Collections.Generic.List? ListType1503 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1358 { get; set; } + public global::System.Collections.Generic.List? ListType1504 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1359 { get; set; } + public global::System.Collections.Generic.List? ListType1505 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1360 { get; set; } + public global::System.Collections.Generic.List? ListType1506 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1361 { get; set; } + public global::System.Collections.Generic.List? ListType1507 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1362 { get; set; } + public global::System.Collections.Generic.List? ListType1508 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1363 { get; set; } + public global::System.Collections.Generic.List? ListType1509 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1364 { get; set; } + public global::System.Collections.Generic.List? ListType1510 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1365 { get; set; } + public global::System.Collections.Generic.List? ListType1511 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1366 { get; set; } + public global::System.Collections.Generic.List? ListType1512 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1367 { get; set; } + public global::System.Collections.Generic.List? ListType1513 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1368 { get; set; } + public global::System.Collections.Generic.List? ListType1514 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1369 { get; set; } + public global::System.Collections.Generic.List? ListType1515 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1370 { get; set; } + public global::System.Collections.Generic.List? ListType1516 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1371 { get; set; } + public global::System.Collections.Generic.List? ListType1517 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1372 { get; set; } + public global::System.Collections.Generic.List? ListType1518 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1373 { get; set; } + public global::System.Collections.Generic.List? ListType1519 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1374 { get; set; } + public global::System.Collections.Generic.List? ListType1520 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1375 { get; set; } + public global::System.Collections.Generic.List? ListType1521 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1376 { get; set; } + public global::System.Collections.Generic.List? ListType1522 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1377 { get; set; } + public global::System.Collections.Generic.List? ListType1523 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1378 { get; set; } + public global::System.Collections.Generic.List? ListType1524 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1379 { get; set; } + public global::System.Collections.Generic.List? ListType1525 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1380 { get; set; } + public global::System.Collections.Generic.List? ListType1526 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1381 { get; set; } + public global::System.Collections.Generic.List? ListType1527 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1382 { get; set; } + public global::System.Collections.Generic.List? ListType1528 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1383 { get; set; } + public global::System.Collections.Generic.List? ListType1529 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1384 { get; set; } + public global::System.Collections.Generic.List? ListType1530 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1385 { get; set; } + public global::System.Collections.Generic.List? ListType1531 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1386 { get; set; } + public global::System.Collections.Generic.List? ListType1532 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1387 { get; set; } + public global::System.Collections.Generic.List? ListType1533 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1388 { get; set; } + public global::System.Collections.Generic.List? ListType1534 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1389 { get; set; } + public global::System.Collections.Generic.List? ListType1535 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1390 { get; set; } + public global::System.Collections.Generic.List? ListType1536 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1391 { get; set; } + public global::System.Collections.Generic.List? ListType1537 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1392 { get; set; } + public global::System.Collections.Generic.List? ListType1538 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1393 { get; set; } + public global::System.Collections.Generic.List? ListType1539 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1394 { get; set; } + public global::System.Collections.Generic.List? ListType1540 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1395 { get; set; } + public global::System.Collections.Generic.List? ListType1541 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1396 { get; set; } + public global::System.Collections.Generic.List? ListType1542 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1397 { get; set; } + public global::System.Collections.Generic.List? ListType1543 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1398 { get; set; } + public global::System.Collections.Generic.List? ListType1544 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1399 { get; set; } + public global::System.Collections.Generic.List? ListType1545 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1400 { get; set; } + public global::System.Collections.Generic.List? ListType1546 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1401 { get; set; } + public global::System.Collections.Generic.List? ListType1547 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1402 { get; set; } + public global::System.Collections.Generic.List? ListType1548 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1403 { get; set; } + public global::System.Collections.Generic.List? ListType1549 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1404 { get; set; } + public global::System.Collections.Generic.List? ListType1550 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1405 { get; set; } + public global::System.Collections.Generic.List? ListType1551 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1406 { get; set; } + public global::System.Collections.Generic.List? ListType1552 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1407 { get; set; } + public global::System.Collections.Generic.List? ListType1553 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1408 { get; set; } + public global::System.Collections.Generic.List? ListType1554 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1409 { get; set; } + public global::System.Collections.Generic.List? ListType1555 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1410 { get; set; } + public global::System.Collections.Generic.List? ListType1556 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1411 { get; set; } + public global::System.Collections.Generic.List? ListType1557 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1412 { get; set; } + public global::System.Collections.Generic.List? ListType1558 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1413 { get; set; } + public global::System.Collections.Generic.List? ListType1559 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1414 { get; set; } + public global::System.Collections.Generic.List? ListType1560 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1415 { get; set; } + public global::System.Collections.Generic.List? ListType1561 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1416 { get; set; } + public global::System.Collections.Generic.List? ListType1562 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1417 { get; set; } + public global::System.Collections.Generic.List? ListType1563 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1418 { get; set; } + public global::System.Collections.Generic.List? ListType1564 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1419 { get; set; } + public global::System.Collections.Generic.List? ListType1565 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1420 { get; set; } + public global::System.Collections.Generic.List? ListType1566 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1421 { get; set; } + public global::System.Collections.Generic.List? ListType1567 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1422 { get; set; } + public global::System.Collections.Generic.List? ListType1568 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1423 { get; set; } + public global::System.Collections.Generic.List? ListType1569 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1424 { get; set; } + public global::System.Collections.Generic.List? ListType1570 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1425 { get; set; } + public global::System.Collections.Generic.List? ListType1571 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1426 { get; set; } + public global::System.Collections.Generic.List? ListType1572 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1427 { get; set; } + public global::System.Collections.Generic.List? ListType1573 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1428 { get; set; } + public global::System.Collections.Generic.List? ListType1574 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1429 { get; set; } + public global::System.Collections.Generic.List? ListType1575 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1430 { get; set; } + public global::System.Collections.Generic.List? ListType1576 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1431 { get; set; } + public global::System.Collections.Generic.List? ListType1577 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1432 { get; set; } + public global::System.Collections.Generic.List? ListType1578 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1433 { get; set; } + public global::System.Collections.Generic.List? ListType1579 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1434 { get; set; } + public global::System.Collections.Generic.List? ListType1580 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1435 { get; set; } + public global::System.Collections.Generic.List? ListType1581 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1436 { get; set; } + public global::System.Collections.Generic.List? ListType1582 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1437 { get; set; } + public global::System.Collections.Generic.List? ListType1583 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1438 { get; set; } + public global::System.Collections.Generic.List? ListType1584 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1439 { get; set; } + public global::System.Collections.Generic.List? ListType1585 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1440 { get; set; } + public global::System.Collections.Generic.List? ListType1586 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1441 { get; set; } + public global::System.Collections.Generic.List? ListType1587 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1442 { get; set; } + public global::System.Collections.Generic.List? ListType1588 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1443 { get; set; } + public global::System.Collections.Generic.List? ListType1589 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1444 { get; set; } + public global::System.Collections.Generic.List? ListType1590 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1445 { get; set; } + public global::System.Collections.Generic.List? ListType1591 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1446 { get; set; } + public global::System.Collections.Generic.List? ListType1592 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1447 { get; set; } + public global::System.Collections.Generic.List? ListType1593 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1448 { get; set; } + public global::System.Collections.Generic.List? ListType1594 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1449 { get; set; } + public global::System.Collections.Generic.List? ListType1595 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1450 { get; set; } + public global::System.Collections.Generic.List? ListType1596 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1451 { get; set; } + public global::System.Collections.Generic.List? ListType1597 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1452 { get; set; } + public global::System.Collections.Generic.List? ListType1598 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1453 { get; set; } + public global::System.Collections.Generic.List? ListType1599 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1454 { get; set; } + public global::System.Collections.Generic.List? ListType1600 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1455 { get; set; } + public global::System.Collections.Generic.List? ListType1601 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1456 { get; set; } + public global::System.Collections.Generic.List? ListType1602 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1457 { get; set; } + public global::System.Collections.Generic.List? ListType1603 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1458 { get; set; } + public global::System.Collections.Generic.List? ListType1604 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1459 { get; set; } + public global::System.Collections.Generic.List? ListType1605 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1460 { get; set; } + public global::System.Collections.Generic.List? ListType1606 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1461 { get; set; } + public global::System.Collections.Generic.List? ListType1607 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1462 { get; set; } + public global::System.Collections.Generic.List? ListType1608 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1463 { get; set; } + public global::System.Collections.Generic.List? ListType1609 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1464 { get; set; } + public global::System.Collections.Generic.List? ListType1610 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1465 { get; set; } + public global::System.Collections.Generic.List? ListType1611 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1466 { get; set; } + public global::System.Collections.Generic.List? ListType1612 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1467 { get; set; } + public global::System.Collections.Generic.List? ListType1613 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1468 { get; set; } + public global::System.Collections.Generic.List? ListType1614 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1469 { get; set; } + public global::System.Collections.Generic.List? ListType1615 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1470 { get; set; } + public global::System.Collections.Generic.List? ListType1616 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1471 { get; set; } + public global::System.Collections.Generic.List? ListType1617 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1472 { get; set; } + public global::System.Collections.Generic.List? ListType1618 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1473 { get; set; } + public global::System.Collections.Generic.List? ListType1619 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1474 { get; set; } + public global::System.Collections.Generic.List? ListType1620 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1475 { get; set; } + public global::System.Collections.Generic.List? ListType1621 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1476 { get; set; } + public global::System.Collections.Generic.List? ListType1622 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1477 { get; set; } + public global::System.Collections.Generic.List? ListType1623 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1478 { get; set; } + public global::System.Collections.Generic.List? ListType1624 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1479 { get; set; } + public global::System.Collections.Generic.List? ListType1625 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1480 { get; set; } + public global::System.Collections.Generic.List? ListType1626 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1481 { get; set; } + public global::System.Collections.Generic.List? ListType1627 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1482 { get; set; } + public global::System.Collections.Generic.List? ListType1628 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1483 { get; set; } + public global::System.Collections.Generic.List? ListType1629 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1484 { get; set; } + public global::System.Collections.Generic.List? ListType1630 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1485 { get; set; } + public global::System.Collections.Generic.List? ListType1631 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1486 { get; set; } + public global::System.Collections.Generic.List? ListType1632 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1487 { get; set; } + public global::System.Collections.Generic.List? ListType1633 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1488 { get; set; } + public global::System.Collections.Generic.List? ListType1634 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1489 { get; set; } + public global::System.Collections.Generic.List? ListType1635 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1490 { get; set; } + public global::System.Collections.Generic.List? ListType1636 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1491 { get; set; } + public global::System.Collections.Generic.List? ListType1637 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1492 { get; set; } + public global::System.Collections.Generic.List? ListType1638 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1493 { get; set; } + public global::System.Collections.Generic.List? ListType1639 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1494 { get; set; } + public global::System.Collections.Generic.List? ListType1640 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1495 { get; set; } + public global::System.Collections.Generic.List? ListType1641 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1496 { get; set; } + public global::System.Collections.Generic.List? ListType1642 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1497 { get; set; } + public global::System.Collections.Generic.List? ListType1643 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1498 { get; set; } + public global::System.Collections.Generic.List? ListType1644 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1499 { get; set; } + public global::System.Collections.Generic.List? ListType1645 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1500 { get; set; } + public global::System.Collections.Generic.List? ListType1646 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1501 { get; set; } + public global::System.Collections.Generic.List? ListType1647 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1502 { get; set; } + public global::System.Collections.Generic.List? ListType1648 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1503 { get; set; } + public global::System.Collections.Generic.List? ListType1649 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1504 { get; set; } + public global::System.Collections.Generic.List? ListType1650 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1505 { get; set; } + public global::System.Collections.Generic.List? ListType1651 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1506 { get; set; } + public global::System.Collections.Generic.List? ListType1652 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1507 { get; set; } + public global::System.Collections.Generic.List? ListType1653 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1508 { get; set; } + public global::System.Collections.Generic.List? ListType1654 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1509 { get; set; } + public global::System.Collections.Generic.List? ListType1655 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1510 { get; set; } + public global::System.Collections.Generic.List? ListType1656 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1511 { get; set; } + public global::System.Collections.Generic.List? ListType1657 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1512 { get; set; } + public global::System.Collections.Generic.List? ListType1658 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1513 { get; set; } + public global::System.Collections.Generic.List? ListType1659 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1514 { get; set; } + public global::System.Collections.Generic.List? ListType1660 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1515 { get; set; } + public global::System.Collections.Generic.List? ListType1661 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1516 { get; set; } + public global::System.Collections.Generic.List? ListType1662 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1517 { get; set; } + public global::System.Collections.Generic.List? ListType1663 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1518 { get; set; } + public global::System.Collections.Generic.List? ListType1664 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1519 { get; set; } + public global::System.Collections.Generic.List? ListType1665 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1520 { get; set; } + public global::System.Collections.Generic.List? ListType1666 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1521 { get; set; } + public global::System.Collections.Generic.List? ListType1667 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1522 { get; set; } + public global::System.Collections.Generic.List? ListType1668 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1523 { get; set; } + public global::System.Collections.Generic.List? ListType1669 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1524 { get; set; } + public global::System.Collections.Generic.List? ListType1670 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1525 { get; set; } + public global::System.Collections.Generic.List? ListType1671 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1526 { get; set; } + public global::System.Collections.Generic.List? ListType1672 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1527 { get; set; } + public global::System.Collections.Generic.List? ListType1673 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1528 { get; set; } + public global::System.Collections.Generic.List? ListType1674 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1529 { get; set; } + public global::System.Collections.Generic.List? ListType1675 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1530 { get; set; } + public global::System.Collections.Generic.List? ListType1676 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1531 { get; set; } + public global::System.Collections.Generic.List? ListType1677 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1532 { get; set; } + public global::System.Collections.Generic.List? ListType1678 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1533 { get; set; } + public global::System.Collections.Generic.List? ListType1679 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1534 { get; set; } + public global::System.Collections.Generic.List? ListType1680 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1535 { get; set; } + public global::System.Collections.Generic.List? ListType1681 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1536 { get; set; } + public global::System.Collections.Generic.List? ListType1682 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1537 { get; set; } + public global::System.Collections.Generic.List? ListType1683 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1538 { get; set; } + public global::System.Collections.Generic.List? ListType1684 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1539 { get; set; } + public global::System.Collections.Generic.List? ListType1685 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1540 { get; set; } + public global::System.Collections.Generic.List? ListType1686 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1541 { get; set; } + public global::System.Collections.Generic.List? ListType1687 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1542 { get; set; } + public global::System.Collections.Generic.List? ListType1688 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1543 { get; set; } + public global::System.Collections.Generic.List? ListType1689 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1544 { get; set; } + public global::System.Collections.Generic.List? ListType1690 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1545 { get; set; } + public global::System.Collections.Generic.List? ListType1691 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1546 { get; set; } + public global::System.Collections.Generic.List? ListType1692 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1547 { get; set; } + public global::System.Collections.Generic.List? ListType1693 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1548 { get; set; } + public global::System.Collections.Generic.List? ListType1694 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1549 { get; set; } + public global::System.Collections.Generic.List? ListType1695 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1550 { get; set; } + public global::System.Collections.Generic.List? ListType1696 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1551 { get; set; } + public global::System.Collections.Generic.List? ListType1697 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1552 { get; set; } + public global::System.Collections.Generic.List? ListType1698 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1553 { get; set; } + public global::System.Collections.Generic.List? ListType1699 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1554 { get; set; } + public global::System.Collections.Generic.List? ListType1700 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1555 { get; set; } + public global::System.Collections.Generic.List? ListType1701 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1556 { get; set; } + public global::System.Collections.Generic.List? ListType1702 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1557 { get; set; } + public global::System.Collections.Generic.List? ListType1703 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1558 { get; set; } + public global::System.Collections.Generic.List? ListType1704 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1559 { get; set; } + public global::System.Collections.Generic.List? ListType1705 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1560 { get; set; } + public global::System.Collections.Generic.List? ListType1706 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1561 { get; set; } + public global::System.Collections.Generic.List? ListType1707 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1562 { get; set; } + public global::System.Collections.Generic.List? ListType1708 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1563 { get; set; } + public global::System.Collections.Generic.List? ListType1709 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1564 { get; set; } + public global::System.Collections.Generic.List? ListType1710 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1565 { get; set; } + public global::System.Collections.Generic.List? ListType1711 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1566 { get; set; } + public global::System.Collections.Generic.List? ListType1712 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1567 { get; set; } + public global::System.Collections.Generic.List? ListType1713 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1568 { get; set; } + public global::System.Collections.Generic.List? ListType1714 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1569 { get; set; } + public global::System.Collections.Generic.List? ListType1715 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1570 { get; set; } + public global::System.Collections.Generic.List? ListType1716 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1571 { get; set; } + public global::System.Collections.Generic.List? ListType1717 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1572 { get; set; } + public global::System.Collections.Generic.List? ListType1718 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1573 { get; set; } + public global::System.Collections.Generic.List? ListType1719 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1574 { get; set; } + public global::System.Collections.Generic.List? ListType1720 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1575 { get; set; } + public global::System.Collections.Generic.List? ListType1721 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1576 { get; set; } + public global::System.Collections.Generic.List? ListType1722 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1577 { get; set; } + public global::System.Collections.Generic.List? ListType1723 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1578 { get; set; } + public global::System.Collections.Generic.List? ListType1724 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1579 { get; set; } + public global::System.Collections.Generic.List? ListType1725 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1580 { get; set; } + public global::System.Collections.Generic.List? ListType1726 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1581 { get; set; } + public global::System.Collections.Generic.List? ListType1727 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1582 { get; set; } + public global::System.Collections.Generic.List? ListType1728 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1583 { get; set; } + public global::System.Collections.Generic.List? ListType1729 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1584 { get; set; } + public global::System.Collections.Generic.List? ListType1730 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1585 { get; set; } + public global::System.Collections.Generic.List? ListType1731 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1586 { get; set; } + public global::System.Collections.Generic.List? ListType1732 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1587 { get; set; } + public global::System.Collections.Generic.List? ListType1733 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1588 { get; set; } + public global::System.Collections.Generic.List? ListType1734 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1589 { get; set; } + public global::System.Collections.Generic.List? ListType1735 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1590 { get; set; } + public global::System.Collections.Generic.List? ListType1736 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1591 { get; set; } + public global::System.Collections.Generic.List? ListType1737 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1592 { get; set; } + public global::System.Collections.Generic.List? ListType1738 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1593 { get; set; } + public global::System.Collections.Generic.List? ListType1739 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1594 { get; set; } + public global::System.Collections.Generic.List? ListType1740 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1595 { get; set; } + public global::System.Collections.Generic.List? ListType1741 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1596 { get; set; } + public global::System.Collections.Generic.List? ListType1742 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1597 { get; set; } + public global::System.Collections.Generic.List? ListType1743 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1598 { get; set; } + public global::System.Collections.Generic.List? ListType1744 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1599 { get; set; } + public global::System.Collections.Generic.List? ListType1745 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1600 { get; set; } + public global::System.Collections.Generic.List? ListType1746 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1601 { get; set; } + public global::System.Collections.Generic.List? ListType1747 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1602 { get; set; } + public global::System.Collections.Generic.List? ListType1748 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1603 { get; set; } + public global::System.Collections.Generic.List? ListType1749 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1604 { get; set; } + public global::System.Collections.Generic.List? ListType1750 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1605 { get; set; } + public global::System.Collections.Generic.List? ListType1751 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1606 { get; set; } + public global::System.Collections.Generic.List? ListType1752 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1607 { get; set; } + public global::System.Collections.Generic.List? ListType1753 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1608 { get; set; } + public global::System.Collections.Generic.List? ListType1754 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1609 { get; set; } + public global::System.Collections.Generic.List? ListType1755 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1610 { get; set; } + public global::System.Collections.Generic.List? ListType1756 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1611 { get; set; } + public global::System.Collections.Generic.List? ListType1757 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1612 { get; set; } + public global::System.Collections.Generic.List? ListType1758 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1613 { get; set; } + public global::System.Collections.Generic.List? ListType1759 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1614 { get; set; } + public global::System.Collections.Generic.List? ListType1760 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1615 { get; set; } + public global::System.Collections.Generic.List? ListType1761 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1616 { get; set; } + public global::System.Collections.Generic.List? ListType1762 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1617 { get; set; } + public global::System.Collections.Generic.List? ListType1763 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1618 { get; set; } + public global::System.Collections.Generic.List? ListType1764 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1619 { get; set; } + public global::System.Collections.Generic.List? ListType1765 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1620 { get; set; } + public global::System.Collections.Generic.List? ListType1766 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1621 { get; set; } + public global::System.Collections.Generic.List? ListType1767 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1622 { get; set; } + public global::System.Collections.Generic.List? ListType1768 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1623 { get; set; } + public global::System.Collections.Generic.List? ListType1769 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1624 { get; set; } + public global::System.Collections.Generic.List? ListType1770 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1625 { get; set; } + public global::System.Collections.Generic.List? ListType1771 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1626 { get; set; } + public global::System.Collections.Generic.List? ListType1772 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1627 { get; set; } + public global::System.Collections.Generic.List? ListType1773 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1628 { get; set; } + public global::System.Collections.Generic.List? ListType1774 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1629 { get; set; } + public global::System.Collections.Generic.List? ListType1775 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1630 { get; set; } + public global::System.Collections.Generic.List? ListType1776 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1631 { get; set; } + public global::System.Collections.Generic.List? ListType1777 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1632 { get; set; } + public global::System.Collections.Generic.List? ListType1778 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1633 { get; set; } + public global::System.Collections.Generic.List? ListType1779 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1634 { get; set; } + public global::System.Collections.Generic.List? ListType1780 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1635 { get; set; } + public global::System.Collections.Generic.List? ListType1781 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1636 { get; set; } + public global::System.Collections.Generic.List? ListType1782 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1637 { get; set; } + public global::System.Collections.Generic.List? ListType1783 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1638 { get; set; } + public global::System.Collections.Generic.List? ListType1784 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1639 { get; set; } + public global::System.Collections.Generic.List? ListType1785 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1640 { get; set; } + public global::System.Collections.Generic.List? ListType1786 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1641 { get; set; } + public global::System.Collections.Generic.List? ListType1787 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1642 { get; set; } + public global::System.Collections.Generic.List? ListType1788 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1643 { get; set; } + public global::System.Collections.Generic.List? ListType1789 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1644 { get; set; } + public global::System.Collections.Generic.List? ListType1790 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1645 { get; set; } + public global::System.Collections.Generic.List? ListType1791 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1646 { get; set; } + public global::System.Collections.Generic.List? ListType1792 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1647 { get; set; } + public global::System.Collections.Generic.List? ListType1793 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1648 { get; set; } + public global::System.Collections.Generic.List? ListType1794 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1649 { get; set; } + public global::System.Collections.Generic.List? ListType1795 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1650 { get; set; } + public global::System.Collections.Generic.List? ListType1796 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1651 { get; set; } + public global::System.Collections.Generic.List? ListType1797 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1652 { get; set; } + public global::System.Collections.Generic.List? ListType1798 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1653 { get; set; } + public global::System.Collections.Generic.List? ListType1799 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1654 { get; set; } + public global::System.Collections.Generic.List? ListType1800 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1655 { get; set; } + public global::System.Collections.Generic.List? ListType1801 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1656 { get; set; } + public global::System.Collections.Generic.List? ListType1802 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1657 { get; set; } + public global::System.Collections.Generic.List? ListType1803 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1658 { get; set; } + public global::System.Collections.Generic.List? ListType1804 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1659 { get; set; } + public global::System.Collections.Generic.List? ListType1805 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1660 { get; set; } + public global::System.Collections.Generic.List? ListType1806 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1661 { get; set; } + public global::System.Collections.Generic.List? ListType1807 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1662 { get; set; } + public global::System.Collections.Generic.List? ListType1808 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1663 { get; set; } + public global::System.Collections.Generic.List? ListType1809 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1664 { get; set; } + public global::System.Collections.Generic.List? ListType1810 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1665 { get; set; } + public global::System.Collections.Generic.List? ListType1811 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1666 { get; set; } + public global::System.Collections.Generic.List? ListType1812 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1667 { get; set; } + public global::System.Collections.Generic.List? ListType1813 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1668 { get; set; } + public global::System.Collections.Generic.List? ListType1814 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1669 { get; set; } + public global::System.Collections.Generic.List? ListType1815 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1670 { get; set; } + public global::System.Collections.Generic.List? ListType1816 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1671 { get; set; } + public global::System.Collections.Generic.List? ListType1817 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1672 { get; set; } + public global::System.Collections.Generic.List? ListType1818 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1673 { get; set; } + public global::System.Collections.Generic.List? ListType1819 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1674 { get; set; } + public global::System.Collections.Generic.List? ListType1820 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1675 { get; set; } + public global::System.Collections.Generic.List? ListType1821 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1676 { get; set; } + public global::System.Collections.Generic.List? ListType1822 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1677 { get; set; } + public global::System.Collections.Generic.List? ListType1823 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1678 { get; set; } + public global::System.Collections.Generic.List? ListType1824 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1679 { get; set; } + public global::System.Collections.Generic.List? ListType1825 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1680 { get; set; } + public global::System.Collections.Generic.List? ListType1826 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1681 { get; set; } + public global::System.Collections.Generic.List? ListType1827 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1682 { get; set; } + public global::System.Collections.Generic.List? ListType1828 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1683 { get; set; } + public global::System.Collections.Generic.List? ListType1829 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1684 { get; set; } + public global::System.Collections.Generic.List? ListType1830 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1685 { get; set; } + public global::System.Collections.Generic.List? ListType1831 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1686 { get; set; } + public global::System.Collections.Generic.List? ListType1832 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1687 { get; set; } + public global::System.Collections.Generic.List? ListType1833 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1688 { get; set; } + public global::System.Collections.Generic.List? ListType1834 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1689 { get; set; } + public global::System.Collections.Generic.List? ListType1835 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1690 { get; set; } + public global::System.Collections.Generic.List? ListType1836 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1691 { get; set; } + public global::System.Collections.Generic.List? ListType1837 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1692 { get; set; } + public global::System.Collections.Generic.List? ListType1838 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1693 { get; set; } + public global::System.Collections.Generic.List? ListType1839 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1694 { get; set; } + public global::System.Collections.Generic.List? ListType1840 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1695 { get; set; } + public global::System.Collections.Generic.List? ListType1841 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1696 { get; set; } + public global::System.Collections.Generic.List? ListType1842 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1697 { get; set; } + public global::System.Collections.Generic.List? ListType1843 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1698 { get; set; } + public global::System.Collections.Generic.List? ListType1844 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1699 { get; set; } + public global::System.Collections.Generic.List? ListType1845 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1700 { get; set; } + public global::System.Collections.Generic.List? ListType1846 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1701 { get; set; } + public global::System.Collections.Generic.List? ListType1847 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1702 { get; set; } + public global::System.Collections.Generic.List? ListType1848 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1703 { get; set; } + public global::System.Collections.Generic.List? ListType1849 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1704 { get; set; } + public global::System.Collections.Generic.List? ListType1850 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1705 { get; set; } + public global::System.Collections.Generic.List? ListType1851 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1706 { get; set; } + public global::System.Collections.Generic.List? ListType1852 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1707 { get; set; } + public global::System.Collections.Generic.List? ListType1853 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1708 { get; set; } + public global::System.Collections.Generic.List? ListType1854 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1709 { get; set; } + public global::System.Collections.Generic.List? ListType1855 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1710 { get; set; } + public global::System.Collections.Generic.List? ListType1856 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1711 { get; set; } + public global::System.Collections.Generic.List? ListType1857 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1712 { get; set; } + public global::System.Collections.Generic.List? ListType1858 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1713 { get; set; } + public global::System.Collections.Generic.List? ListType1859 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1714 { get; set; } + public global::System.Collections.Generic.List? ListType1860 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1715 { get; set; } + public global::System.Collections.Generic.List? ListType1861 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1716 { get; set; } + public global::System.Collections.Generic.List? ListType1862 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1717 { get; set; } + public global::System.Collections.Generic.List? ListType1863 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1718 { get; set; } + public global::System.Collections.Generic.List? ListType1864 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1719 { get; set; } + public global::System.Collections.Generic.List? ListType1865 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1720 { get; set; } + public global::System.Collections.Generic.List? ListType1866 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1721 { get; set; } + public global::System.Collections.Generic.List? ListType1867 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1722 { get; set; } + public global::System.Collections.Generic.List? ListType1868 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1723 { get; set; } + public global::System.Collections.Generic.List? ListType1869 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1724 { get; set; } + public global::System.Collections.Generic.List? ListType1870 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1725 { get; set; } + public global::System.Collections.Generic.List? ListType1871 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1726 { get; set; } + public global::System.Collections.Generic.List? ListType1872 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1727 { get; set; } + public global::System.Collections.Generic.List? ListType1873 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1728 { get; set; } + public global::System.Collections.Generic.List? ListType1874 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1729 { get; set; } + public global::System.Collections.Generic.List? ListType1875 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1730 { get; set; } + public global::System.Collections.Generic.List? ListType1876 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1731 { get; set; } + public global::System.Collections.Generic.List? ListType1877 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1732 { get; set; } + public global::System.Collections.Generic.List? ListType1878 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1733 { get; set; } + public global::System.Collections.Generic.List? ListType1879 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1734 { get; set; } + public global::System.Collections.Generic.List? ListType1880 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1735 { get; set; } + public global::System.Collections.Generic.List? ListType1881 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1736 { get; set; } + public global::System.Collections.Generic.List? ListType1882 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1737 { get; set; } + public global::System.Collections.Generic.List? ListType1883 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1738 { get; set; } + public global::System.Collections.Generic.List? ListType1884 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1739 { get; set; } + public global::System.Collections.Generic.List? ListType1885 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1740 { get; set; } + public global::System.Collections.Generic.List? ListType1886 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1741 { get; set; } + public global::System.Collections.Generic.List? ListType1887 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1742 { get; set; } + public global::System.Collections.Generic.List? ListType1888 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1743 { get; set; } + public global::System.Collections.Generic.List? ListType1889 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1744 { get; set; } + public global::System.Collections.Generic.List? ListType1890 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1745 { get; set; } + public global::System.Collections.Generic.List? ListType1891 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1746 { get; set; } + public global::System.Collections.Generic.List? ListType1892 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1747 { get; set; } + public global::System.Collections.Generic.List? ListType1893 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1748 { get; set; } + public global::System.Collections.Generic.List? ListType1894 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1749 { get; set; } + public global::System.Collections.Generic.List? ListType1895 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1750 { get; set; } + public global::System.Collections.Generic.List? ListType1896 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1751 { get; set; } + public global::System.Collections.Generic.List? ListType1897 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1752 { get; set; } + public global::System.Collections.Generic.List? ListType1898 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1753 { get; set; } + public global::System.Collections.Generic.List? ListType1899 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1754 { get; set; } + public global::System.Collections.Generic.List? ListType1900 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1755 { get; set; } + public global::System.Collections.Generic.List? ListType1901 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1756 { get; set; } + public global::System.Collections.Generic.List? ListType1902 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1757 { get; set; } + public global::System.Collections.Generic.List? ListType1903 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1758 { get; set; } + public global::System.Collections.Generic.List? ListType1904 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1759 { get; set; } + public global::System.Collections.Generic.List? ListType1905 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1760 { get; set; } + public global::System.Collections.Generic.List? ListType1906 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1761 { get; set; } + public global::System.Collections.Generic.List? ListType1907 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1762 { get; set; } + public global::System.Collections.Generic.List? ListType1908 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1763 { get; set; } + public global::System.Collections.Generic.List? ListType1909 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1764 { get; set; } + public global::System.Collections.Generic.List? ListType1910 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1765 { get; set; } + public global::System.Collections.Generic.List? ListType1911 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1766 { get; set; } + public global::System.Collections.Generic.List? ListType1912 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1767 { get; set; } + public global::System.Collections.Generic.List? ListType1913 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1768 { get; set; } + public global::System.Collections.Generic.List? ListType1914 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1769 { get; set; } + public global::System.Collections.Generic.List? ListType1915 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1770 { get; set; } + public global::System.Collections.Generic.List? ListType1916 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1771 { get; set; } + public global::System.Collections.Generic.List? ListType1917 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1772 { get; set; } + public global::System.Collections.Generic.List? ListType1918 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1773 { get; set; } + public global::System.Collections.Generic.List? ListType1919 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1774 { get; set; } + public global::System.Collections.Generic.List? ListType1920 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1775 { get; set; } + public global::System.Collections.Generic.List? ListType1921 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1776 { get; set; } + public global::System.Collections.Generic.List? ListType1922 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1777 { get; set; } + public global::System.Collections.Generic.List? ListType1923 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1778 { get; set; } + public global::System.Collections.Generic.List? ListType1924 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1779 { get; set; } + public global::System.Collections.Generic.List? ListType1925 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1780 { get; set; } + public global::System.Collections.Generic.List? ListType1926 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1781 { get; set; } + public global::System.Collections.Generic.List? ListType1927 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1782 { get; set; } + public global::System.Collections.Generic.List? ListType1928 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1783 { get; set; } + public global::System.Collections.Generic.List? ListType1929 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1784 { get; set; } + public global::System.Collections.Generic.List? ListType1930 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1785 { get; set; } + public global::System.Collections.Generic.List? ListType1931 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1786 { get; set; } + public global::System.Collections.Generic.List? ListType1932 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1787 { get; set; } + public global::System.Collections.Generic.List? ListType1933 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1788 { get; set; } + public global::System.Collections.Generic.List? ListType1934 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1789 { get; set; } + public global::System.Collections.Generic.List? ListType1935 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1790 { get; set; } + public global::System.Collections.Generic.List? ListType1936 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1791 { get; set; } + public global::System.Collections.Generic.List? ListType1937 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1792 { get; set; } + public global::System.Collections.Generic.List? ListType1938 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1793 { get; set; } + public global::System.Collections.Generic.List? ListType1939 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1794 { get; set; } + public global::System.Collections.Generic.List? ListType1940 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1795 { get; set; } + public global::System.Collections.Generic.List? ListType1941 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1796 { get; set; } + public global::System.Collections.Generic.List? ListType1942 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1797 { get; set; } + public global::System.Collections.Generic.List? ListType1943 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1798 { get; set; } + public global::System.Collections.Generic.List? ListType1944 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1799 { get; set; } + public global::System.Collections.Generic.List? ListType1945 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1800 { get; set; } + public global::System.Collections.Generic.List? ListType1946 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1801 { get; set; } + public global::System.Collections.Generic.List? ListType1947 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1802 { get; set; } + public global::System.Collections.Generic.List? ListType1948 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1803 { get; set; } + public global::System.Collections.Generic.List? ListType1949 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1804 { get; set; } + public global::System.Collections.Generic.List? ListType1950 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1805 { get; set; } + public global::System.Collections.Generic.List? ListType1951 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1806 { get; set; } + public global::System.Collections.Generic.List? ListType1952 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1807 { get; set; } + public global::System.Collections.Generic.List? ListType1953 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1808 { get; set; } + public global::System.Collections.Generic.List? ListType1954 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1809 { get; set; } + public global::System.Collections.Generic.List? ListType1955 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1810 { get; set; } + public global::System.Collections.Generic.List? ListType1956 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1811 { get; set; } + public global::System.Collections.Generic.List? ListType1957 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1812 { get; set; } + public global::System.Collections.Generic.List? ListType1958 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1813 { get; set; } + public global::System.Collections.Generic.List? ListType1959 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1814 { get; set; } + public global::System.Collections.Generic.List? ListType1960 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1815 { get; set; } + public global::System.Collections.Generic.List? ListType1961 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1816 { get; set; } + public global::System.Collections.Generic.List? ListType1962 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1817 { get; set; } + public global::System.Collections.Generic.List? ListType1963 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1818 { get; set; } + public global::System.Collections.Generic.List? ListType1964 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1819 { get; set; } + public global::System.Collections.Generic.List? ListType1965 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1820 { get; set; } + public global::System.Collections.Generic.List? ListType1966 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1821 { get; set; } + public global::System.Collections.Generic.List? ListType1967 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1822 { get; set; } + public global::System.Collections.Generic.List? ListType1968 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1823 { get; set; } + public global::System.Collections.Generic.List? ListType1969 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1824 { get; set; } + public global::System.Collections.Generic.List? ListType1970 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1825 { get; set; } + public global::System.Collections.Generic.List? ListType1971 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1826 { get; set; } + public global::System.Collections.Generic.List? ListType1972 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1827 { get; set; } + public global::System.Collections.Generic.List? ListType1973 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1828 { get; set; } + public global::System.Collections.Generic.List? ListType1974 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1829 { get; set; } + public global::System.Collections.Generic.List? ListType1975 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1830 { get; set; } + public global::System.Collections.Generic.List? ListType1976 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1831 { get; set; } + public global::System.Collections.Generic.List? ListType1977 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1832 { get; set; } + public global::System.Collections.Generic.List? ListType1978 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1833 { get; set; } + public global::System.Collections.Generic.List? ListType1979 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1834 { get; set; } + public global::System.Collections.Generic.List? ListType1980 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1835 { get; set; } + public global::System.Collections.Generic.List? ListType1981 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1836 { get; set; } + public global::System.Collections.Generic.List? ListType1982 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1837 { get; set; } + public global::System.Collections.Generic.List? ListType1983 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1838 { get; set; } + public global::System.Collections.Generic.List? ListType1984 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1839 { get; set; } + public global::System.Collections.Generic.List? ListType1985 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1840 { get; set; } + public global::System.Collections.Generic.List? ListType1986 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1841 { get; set; } + public global::System.Collections.Generic.List? ListType1987 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1842 { get; set; } + public global::System.Collections.Generic.List? ListType1988 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1843 { get; set; } + public global::System.Collections.Generic.List? ListType1989 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1844 { get; set; } + public global::System.Collections.Generic.List? ListType1990 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1845 { get; set; } + public global::System.Collections.Generic.List? ListType1991 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1846 { get; set; } + public global::System.Collections.Generic.List? ListType1992 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1847 { get; set; } + public global::System.Collections.Generic.List? ListType1993 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1848 { get; set; } + public global::System.Collections.Generic.List? ListType1994 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1849 { get; set; } + public global::System.Collections.Generic.List? ListType1995 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1850 { get; set; } + public global::System.Collections.Generic.List? ListType1996 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1851 { get; set; } + public global::System.Collections.Generic.List? ListType1997 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1852 { get; set; } + public global::System.Collections.Generic.List? ListType1998 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1853 { get; set; } + public global::System.Collections.Generic.List? ListType1999 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1854 { get; set; } + public global::System.Collections.Generic.List? ListType2000 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1855 { get; set; } + public global::System.Collections.Generic.List? ListType2001 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1856 { get; set; } + public global::System.Collections.Generic.List? ListType2002 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1857 { get; set; } + public global::System.Collections.Generic.List? ListType2003 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1858 { get; set; } + public global::System.Collections.Generic.List? ListType2004 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1859 { get; set; } + public global::System.Collections.Generic.List? ListType2005 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1860 { get; set; } + public global::System.Collections.Generic.List? ListType2006 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1861 { get; set; } + public global::System.Collections.Generic.List? ListType2007 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1862 { get; set; } + public global::System.Collections.Generic.List? ListType2008 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1863 { get; set; } + public global::System.Collections.Generic.List? ListType2009 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1864 { get; set; } + public global::System.Collections.Generic.List? ListType2010 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1865 { get; set; } + public global::System.Collections.Generic.List? ListType2011 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1866 { get; set; } + public global::System.Collections.Generic.List? ListType2012 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1867 { get; set; } + public global::System.Collections.Generic.List? ListType2013 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1868 { get; set; } + public global::System.Collections.Generic.List? ListType2014 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1869 { get; set; } + public global::System.Collections.Generic.List? ListType2015 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1870 { get; set; } + public global::System.Collections.Generic.List? ListType2016 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1871 { get; set; } + public global::System.Collections.Generic.List? ListType2017 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1872 { get; set; } + public global::System.Collections.Generic.List? ListType2018 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1873 { get; set; } + public global::System.Collections.Generic.List? ListType2019 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1874 { get; set; } + public global::System.Collections.Generic.List? ListType2020 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1875 { get; set; } + public global::System.Collections.Generic.List? ListType2021 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1876 { get; set; } + public global::System.Collections.Generic.List? ListType2022 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1877 { get; set; } + public global::System.Collections.Generic.List? ListType2023 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1878 { get; set; } + public global::System.Collections.Generic.List? ListType2024 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1879 { get; set; } + public global::System.Collections.Generic.List? ListType2025 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1880 { get; set; } + public global::System.Collections.Generic.List? ListType2026 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1881 { get; set; } + public global::System.Collections.Generic.List? ListType2027 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1882 { get; set; } + public global::System.Collections.Generic.List? ListType2028 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1883 { get; set; } + public global::System.Collections.Generic.List? ListType2029 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1884 { get; set; } + public global::System.Collections.Generic.List? ListType2030 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1885 { get; set; } + public global::System.Collections.Generic.List? ListType2031 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1886 { get; set; } + public global::System.Collections.Generic.List? ListType2032 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1887 { get; set; } + public global::System.Collections.Generic.List? ListType2033 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1888 { get; set; } + public global::System.Collections.Generic.List? ListType2034 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1889 { get; set; } + public global::System.Collections.Generic.List? ListType2035 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1890 { get; set; } + public global::System.Collections.Generic.List? ListType2036 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1891 { get; set; } + public global::System.Collections.Generic.List? ListType2037 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1892 { get; set; } + public global::System.Collections.Generic.List? ListType2038 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1893 { get; set; } + public global::System.Collections.Generic.List? ListType2039 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1894 { get; set; } + public global::System.Collections.Generic.List? ListType2040 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1895 { get; set; } + public global::System.Collections.Generic.List? ListType2041 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1896 { get; set; } + public global::System.Collections.Generic.List? ListType2042 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1897 { get; set; } + public global::System.Collections.Generic.List? ListType2043 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1898 { get; set; } + public global::System.Collections.Generic.List? ListType2044 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1899 { get; set; } + public global::System.Collections.Generic.List? ListType2045 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1900 { get; set; } + public global::System.Collections.Generic.List? ListType2046 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1901 { get; set; } + public global::System.Collections.Generic.List? ListType2047 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1902 { get; set; } + public global::System.Collections.Generic.List? ListType2048 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1903 { get; set; } + public global::System.Collections.Generic.List? ListType2049 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1904 { get; set; } + public global::System.Collections.Generic.List? ListType2050 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1905 { get; set; } + public global::System.Collections.Generic.List? ListType2051 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1906 { get; set; } + public global::System.Collections.Generic.List? ListType2052 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1907 { get; set; } + public global::System.Collections.Generic.List? ListType2053 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1908 { get; set; } + public global::System.Collections.Generic.List? ListType2054 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1909 { get; set; } + public global::System.Collections.Generic.List? ListType2055 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1910 { get; set; } + public global::System.Collections.Generic.List? ListType2056 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1911 { get; set; } + public global::System.Collections.Generic.List? ListType2057 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1912 { get; set; } + public global::System.Collections.Generic.List? ListType2058 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1913 { get; set; } + public global::System.Collections.Generic.List? ListType2059 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1914 { get; set; } + public global::System.Collections.Generic.List? ListType2060 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1915 { get; set; } + public global::System.Collections.Generic.List? ListType2061 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1916 { get; set; } + public global::System.Collections.Generic.List? ListType2062 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1917 { get; set; } + public global::System.Collections.Generic.List? ListType2063 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1918 { get; set; } + public global::System.Collections.Generic.List? ListType2064 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1919 { get; set; } + public global::System.Collections.Generic.List? ListType2065 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1920 { get; set; } + public global::System.Collections.Generic.List? ListType2066 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1921 { get; set; } + public global::System.Collections.Generic.List? ListType2067 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1922 { get; set; } + public global::System.Collections.Generic.List? ListType2068 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1923 { get; set; } + public global::System.Collections.Generic.List? ListType2069 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1924 { get; set; } + public global::System.Collections.Generic.List? ListType2070 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1925 { get; set; } + public global::System.Collections.Generic.List? ListType2071 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1926 { get; set; } + public global::System.Collections.Generic.List? ListType2072 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1927 { get; set; } + public global::System.Collections.Generic.List? ListType2073 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1928 { get; set; } + public global::System.Collections.Generic.List? ListType2074 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1929 { get; set; } + public global::System.Collections.Generic.List? ListType2075 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1930 { get; set; } + public global::System.Collections.Generic.List? ListType2076 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1931 { get; set; } + public global::System.Collections.Generic.List? ListType2077 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1932 { get; set; } + public global::System.Collections.Generic.List? ListType2078 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1933 { get; set; } + public global::System.Collections.Generic.List? ListType2079 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1934 { get; set; } + public global::System.Collections.Generic.List? ListType2080 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1935 { get; set; } + public global::System.Collections.Generic.List? ListType2081 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1936 { get; set; } + public global::System.Collections.Generic.List? ListType2082 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1937 { get; set; } + public global::System.Collections.Generic.List? ListType2083 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1938 { get; set; } + public global::System.Collections.Generic.List? ListType2084 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1939 { get; set; } + public global::System.Collections.Generic.List? ListType2085 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1940 { get; set; } + public global::System.Collections.Generic.List? ListType2086 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1941 { get; set; } + public global::System.Collections.Generic.List? ListType2087 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1942 { get; set; } + public global::System.Collections.Generic.List? ListType2088 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1943 { get; set; } + public global::System.Collections.Generic.List? ListType2089 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1944 { get; set; } + public global::System.Collections.Generic.List? ListType2090 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1945 { get; set; } + public global::System.Collections.Generic.List? ListType2091 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1946 { get; set; } + public global::System.Collections.Generic.List? ListType2092 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1947 { get; set; } + public global::System.Collections.Generic.List? ListType2093 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1948 { get; set; } + public global::System.Collections.Generic.List? ListType2094 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1949 { get; set; } + public global::System.Collections.Generic.List? ListType2095 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1950 { get; set; } + public global::System.Collections.Generic.List? ListType2096 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1951 { get; set; } + public global::System.Collections.Generic.List? ListType2097 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1952 { get; set; } + public global::System.Collections.Generic.List? ListType2098 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1953 { get; set; } + public global::System.Collections.Generic.List? ListType2099 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1954 { get; set; } + public global::System.Collections.Generic.List? ListType2100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1955 { get; set; } + public global::System.Collections.Generic.List? ListType2101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1956 { get; set; } + public global::System.Collections.Generic.List? ListType2102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1957 { get; set; } + public global::System.Collections.Generic.List? ListType2103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1958 { get; set; } + public global::System.Collections.Generic.List? ListType2104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1959 { get; set; } + public global::System.Collections.Generic.List? ListType2105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1960 { get; set; } + public global::System.Collections.Generic.List? ListType2106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1961 { get; set; } + public global::System.Collections.Generic.List? ListType2107 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1962 { get; set; } + public global::System.Collections.Generic.List? ListType2108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1963 { get; set; } + public global::System.Collections.Generic.List? ListType2109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1964 { get; set; } + public global::System.Collections.Generic.List? ListType2110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1965 { get; set; } + public global::System.Collections.Generic.List? ListType2111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1966 { get; set; } + public global::System.Collections.Generic.List? ListType2112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1967 { get; set; } + public global::System.Collections.Generic.List? ListType2113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1968 { get; set; } + public global::System.Collections.Generic.List? ListType2114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1969 { get; set; } + public global::System.Collections.Generic.List? ListType2115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1970 { get; set; } + public global::System.Collections.Generic.List? ListType2116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1971 { get; set; } + public global::System.Collections.Generic.List? ListType2117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1972 { get; set; } + public global::System.Collections.Generic.List? ListType2118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1973 { get; set; } + public global::System.Collections.Generic.List? ListType2119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1974 { get; set; } + public global::System.Collections.Generic.List? ListType2120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1975 { get; set; } + public global::System.Collections.Generic.List? ListType2121 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1976 { get; set; } + public global::System.Collections.Generic.List? ListType2122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1977 { get; set; } + public global::System.Collections.Generic.List? ListType2123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1978 { get; set; } + public global::System.Collections.Generic.List? ListType2124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1979 { get; set; } + public global::System.Collections.Generic.List? ListType2125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1980 { get; set; } + public global::System.Collections.Generic.List? ListType2126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1981 { get; set; } + public global::System.Collections.Generic.List? ListType2127 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1982 { get; set; } + public global::System.Collections.Generic.List? ListType2128 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1983 { get; set; } + public global::System.Collections.Generic.List? ListType2129 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1984 { get; set; } + public global::System.Collections.Generic.List? ListType2130 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1985 { get; set; } + public global::System.Collections.Generic.List? ListType2131 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1986 { get; set; } + public global::System.Collections.Generic.List? ListType2132 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1987 { get; set; } + public global::System.Collections.Generic.List? ListType2133 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1988 { get; set; } + public global::System.Collections.Generic.List? ListType2134 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1989 { get; set; } + public global::System.Collections.Generic.List? ListType2135 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1990 { get; set; } + public global::System.Collections.Generic.List? ListType2136 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1991 { get; set; } + public global::System.Collections.Generic.List? ListType2137 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1992 { get; set; } + public global::System.Collections.Generic.List? ListType2138 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1993 { get; set; } + public global::System.Collections.Generic.List? ListType2139 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1994 { get; set; } + public global::System.Collections.Generic.List? ListType2140 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1995 { get; set; } + public global::System.Collections.Generic.List? ListType2141 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1996 { get; set; } + public global::System.Collections.Generic.List? ListType2142 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1997 { get; set; } + public global::System.Collections.Generic.List? ListType2143 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1998 { get; set; } + public global::System.Collections.Generic.List? ListType2144 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType1999 { get; set; } + public global::System.Collections.Generic.List? ListType2145 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2000 { get; set; } + public global::System.Collections.Generic.List? ListType2146 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2001 { get; set; } + public global::System.Collections.Generic.List? ListType2147 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2002 { get; set; } + public global::System.Collections.Generic.List? ListType2148 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2003 { get; set; } + public global::System.Collections.Generic.List? ListType2149 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2004 { get; set; } + public global::System.Collections.Generic.List? ListType2150 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2005 { get; set; } + public global::System.Collections.Generic.List? ListType2151 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2006 { get; set; } + public global::System.Collections.Generic.List? ListType2152 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2007 { get; set; } + public global::System.Collections.Generic.List? ListType2153 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2008 { get; set; } + public global::System.Collections.Generic.List? ListType2154 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2009 { get; set; } + public global::System.Collections.Generic.List? ListType2155 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2010 { get; set; } + public global::System.Collections.Generic.List? ListType2156 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2011 { get; set; } + public global::System.Collections.Generic.List? ListType2157 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2012 { get; set; } + public global::System.Collections.Generic.List? ListType2158 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2013 { get; set; } + public global::System.Collections.Generic.List? ListType2159 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2014 { get; set; } + public global::System.Collections.Generic.List? ListType2160 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2015 { get; set; } + public global::System.Collections.Generic.List? ListType2161 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2016 { get; set; } + public global::System.Collections.Generic.List? ListType2162 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2017 { get; set; } + public global::System.Collections.Generic.List? ListType2163 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2018 { get; set; } + public global::System.Collections.Generic.List? ListType2164 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2019 { get; set; } + public global::System.Collections.Generic.List? ListType2165 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2020 { get; set; } + public global::System.Collections.Generic.List? ListType2166 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2021 { get; set; } + public global::System.Collections.Generic.List? ListType2167 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2022 { get; set; } + public global::System.Collections.Generic.List? ListType2168 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2023 { get; set; } + public global::System.Collections.Generic.List? ListType2169 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2024 { get; set; } + public global::System.Collections.Generic.List? ListType2170 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2025 { get; set; } + public global::System.Collections.Generic.List? ListType2171 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2026 { get; set; } + public global::System.Collections.Generic.List? ListType2172 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2027 { get; set; } + public global::System.Collections.Generic.List? ListType2173 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2028 { get; set; } + public global::System.Collections.Generic.List? ListType2174 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2029 { get; set; } + public global::System.Collections.Generic.List? ListType2175 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2030 { get; set; } + public global::System.Collections.Generic.List? ListType2176 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2031 { get; set; } + public global::System.Collections.Generic.List? ListType2177 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2032 { get; set; } + public global::System.Collections.Generic.List? ListType2178 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2033 { get; set; } + public global::System.Collections.Generic.List? ListType2179 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2034 { get; set; } + public global::System.Collections.Generic.List? ListType2180 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2035 { get; set; } + public global::System.Collections.Generic.List? ListType2181 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2036 { get; set; } + public global::System.Collections.Generic.List? ListType2182 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2037 { get; set; } + public global::System.Collections.Generic.List? ListType2183 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2038 { get; set; } + public global::System.Collections.Generic.List? ListType2184 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2039 { get; set; } + public global::System.Collections.Generic.List? ListType2185 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2040 { get; set; } + public global::System.Collections.Generic.List? ListType2186 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2041 { get; set; } + public global::System.Collections.Generic.List? ListType2187 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2042 { get; set; } + public global::System.Collections.Generic.List? ListType2188 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2043 { get; set; } + public global::System.Collections.Generic.List? ListType2189 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2044 { get; set; } + public global::System.Collections.Generic.List? ListType2190 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2045 { get; set; } + public global::System.Collections.Generic.List? ListType2191 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2046 { get; set; } + public global::System.Collections.Generic.List? ListType2192 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2047 { get; set; } + public global::System.Collections.Generic.List? ListType2193 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2048 { get; set; } + public global::System.Collections.Generic.List? ListType2194 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2049 { get; set; } + public global::System.Collections.Generic.List? ListType2195 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2050 { get; set; } + public global::System.Collections.Generic.List? ListType2196 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2051 { get; set; } + public global::System.Collections.Generic.List? ListType2197 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2052 { get; set; } + public global::System.Collections.Generic.List? ListType2198 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2053 { get; set; } + public global::System.Collections.Generic.List? ListType2199 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2054 { get; set; } + public global::System.Collections.Generic.List? ListType2200 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2055 { get; set; } + public global::System.Collections.Generic.List? ListType2201 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2056 { get; set; } + public global::System.Collections.Generic.List? ListType2202 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2057 { get; set; } + public global::System.Collections.Generic.List? ListType2203 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2058 { get; set; } + public global::System.Collections.Generic.List? ListType2204 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2059 { get; set; } + public global::System.Collections.Generic.List? ListType2205 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2060 { get; set; } + public global::System.Collections.Generic.List? ListType2206 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2061 { get; set; } + public global::System.Collections.Generic.List? ListType2207 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2062 { get; set; } + public global::System.Collections.Generic.List? ListType2208 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2063 { get; set; } + public global::System.Collections.Generic.List? ListType2209 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2064 { get; set; } + public global::System.Collections.Generic.List? ListType2210 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2065 { get; set; } + public global::System.Collections.Generic.List? ListType2211 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2066 { get; set; } + public global::System.Collections.Generic.List? ListType2212 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2067 { get; set; } + public global::System.Collections.Generic.List? ListType2213 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2068 { get; set; } + public global::System.Collections.Generic.List? ListType2214 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2069 { get; set; } + public global::System.Collections.Generic.List? ListType2215 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2070 { get; set; } + public global::System.Collections.Generic.List? ListType2216 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2071 { get; set; } + public global::System.Collections.Generic.List? ListType2217 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2072 { get; set; } + public global::System.Collections.Generic.List? ListType2218 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2073 { get; set; } + public global::System.Collections.Generic.List? ListType2219 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2074 { get; set; } + public global::System.Collections.Generic.List? ListType2220 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2075 { get; set; } + public global::System.Collections.Generic.List? ListType2221 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2076 { get; set; } + public global::System.Collections.Generic.List? ListType2222 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2077 { get; set; } + public global::System.Collections.Generic.List? ListType2223 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2078 { get; set; } + public global::System.Collections.Generic.List? ListType2224 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2079 { get; set; } + public global::System.Collections.Generic.List? ListType2225 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2080 { get; set; } + public global::System.Collections.Generic.List? ListType2226 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2081 { get; set; } + public global::System.Collections.Generic.List? ListType2227 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2082 { get; set; } + public global::System.Collections.Generic.List? ListType2228 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2083 { get; set; } + public global::System.Collections.Generic.List? ListType2229 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2084 { get; set; } + public global::System.Collections.Generic.List? ListType2230 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2085 { get; set; } + public global::System.Collections.Generic.List? ListType2231 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2086 { get; set; } + public global::System.Collections.Generic.List? ListType2232 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2087 { get; set; } + public global::System.Collections.Generic.List? ListType2233 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2088 { get; set; } + public global::System.Collections.Generic.List? ListType2234 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2089 { get; set; } + public global::System.Collections.Generic.List? ListType2235 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2090 { get; set; } + public global::System.Collections.Generic.List? ListType2236 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2091 { get; set; } + public global::System.Collections.Generic.List? ListType2237 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2092 { get; set; } + public global::System.Collections.Generic.List? ListType2238 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2093 { get; set; } + public global::System.Collections.Generic.List? ListType2239 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2094 { get; set; } + public global::System.Collections.Generic.List? ListType2240 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2095 { get; set; } + public global::System.Collections.Generic.List? ListType2241 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2096 { get; set; } + public global::System.Collections.Generic.List? ListType2242 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2097 { get; set; } + public global::System.Collections.Generic.List? ListType2243 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2098 { get; set; } + public global::System.Collections.Generic.List? ListType2244 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2099 { get; set; } + public global::System.Collections.Generic.List? ListType2245 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2100 { get; set; } + public global::System.Collections.Generic.List? ListType2246 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2101 { get; set; } + public global::System.Collections.Generic.List? ListType2247 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2102 { get; set; } + public global::System.Collections.Generic.List? ListType2248 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2103 { get; set; } + public global::System.Collections.Generic.List? ListType2249 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2104 { get; set; } + public global::System.Collections.Generic.List? ListType2250 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2105 { get; set; } + public global::System.Collections.Generic.List? ListType2251 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2106 { get; set; } + public global::System.Collections.Generic.List? ListType2252 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2107 { get; set; } + public global::System.Collections.Generic.List? ListType2253 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2108 { get; set; } + public global::System.Collections.Generic.List? ListType2254 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2109 { get; set; } + public global::System.Collections.Generic.List? ListType2255 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2110 { get; set; } + public global::System.Collections.Generic.List? ListType2256 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2111 { get; set; } + public global::System.Collections.Generic.List? ListType2257 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2112 { get; set; } + public global::System.Collections.Generic.List? ListType2258 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2113 { get; set; } + public global::System.Collections.Generic.List? ListType2259 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2114 { get; set; } + public global::System.Collections.Generic.List? ListType2260 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2115 { get; set; } + public global::System.Collections.Generic.List? ListType2261 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2116 { get; set; } + public global::System.Collections.Generic.List? ListType2262 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2117 { get; set; } + public global::System.Collections.Generic.List? ListType2263 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2118 { get; set; } + public global::System.Collections.Generic.List? ListType2264 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2119 { get; set; } + public global::System.Collections.Generic.List? ListType2265 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2120 { get; set; } + public global::System.Collections.Generic.List? ListType2266 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2121 { get; set; } + public global::System.Collections.Generic.List? ListType2267 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2122 { get; set; } + public global::System.Collections.Generic.List? ListType2268 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2123 { get; set; } + public global::System.Collections.Generic.List? ListType2269 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2124 { get; set; } + public global::System.Collections.Generic.List? ListType2270 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2125 { get; set; } + public global::System.Collections.Generic.List? ListType2271 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2126 { get; set; } + public global::System.Collections.Generic.List? ListType2272 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2127 { get; set; } + public global::System.Collections.Generic.List? ListType2273 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2128 { get; set; } + public global::System.Collections.Generic.List? ListType2274 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2129 { get; set; } + public global::System.Collections.Generic.List? ListType2275 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2130 { get; set; } + public global::System.Collections.Generic.List? ListType2276 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2131 { get; set; } + public global::System.Collections.Generic.List? ListType2277 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2132 { get; set; } + public global::System.Collections.Generic.List? ListType2278 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2133 { get; set; } + public global::System.Collections.Generic.List? ListType2279 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2134 { get; set; } + public global::System.Collections.Generic.List? ListType2280 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2135 { get; set; } + public global::System.Collections.Generic.List? ListType2281 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2136 { get; set; } + public global::System.Collections.Generic.List? ListType2282 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2137 { get; set; } + public global::System.Collections.Generic.List? ListType2283 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2138 { get; set; } + public global::System.Collections.Generic.List? ListType2284 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2139 { get; set; } + public global::System.Collections.Generic.List? ListType2285 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2140 { get; set; } + public global::System.Collections.Generic.List? ListType2286 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2141 { get; set; } + public global::System.Collections.Generic.List? ListType2287 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2142 { get; set; } + public global::System.Collections.Generic.List? ListType2288 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2143 { get; set; } + public global::System.Collections.Generic.List? ListType2289 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2144 { get; set; } + public global::System.Collections.Generic.List? ListType2290 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2145 { get; set; } + public global::System.Collections.Generic.List? ListType2291 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2146 { get; set; } + public global::System.Collections.Generic.List? ListType2292 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2147 { get; set; } + public global::System.Collections.Generic.List? ListType2293 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2148 { get; set; } + public global::System.Collections.Generic.List? ListType2294 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2149 { get; set; } + public global::System.Collections.Generic.List? ListType2295 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2150 { get; set; } + public global::System.Collections.Generic.List? ListType2296 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2151 { get; set; } + public global::System.Collections.Generic.List? ListType2297 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2152 { get; set; } + public global::System.Collections.Generic.List? ListType2298 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2153 { get; set; } + public global::System.Collections.Generic.List? ListType2299 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2154 { get; set; } + public global::System.Collections.Generic.List? ListType2300 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2155 { get; set; } + public global::System.Collections.Generic.List? ListType2301 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2156 { get; set; } + public global::System.Collections.Generic.List? ListType2302 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2157 { get; set; } + public global::System.Collections.Generic.List? ListType2303 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2158 { get; set; } + public global::System.Collections.Generic.List? ListType2304 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2159 { get; set; } + public global::System.Collections.Generic.List? ListType2305 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2160 { get; set; } + public global::System.Collections.Generic.List? ListType2306 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2161 { get; set; } + public global::System.Collections.Generic.List? ListType2307 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2162 { get; set; } + public global::System.Collections.Generic.List? ListType2308 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2163 { get; set; } + public global::System.Collections.Generic.List? ListType2309 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2164 { get; set; } + public global::System.Collections.Generic.List? ListType2310 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2165 { get; set; } + public global::System.Collections.Generic.List? ListType2311 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2166 { get; set; } + public global::System.Collections.Generic.List? ListType2312 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2167 { get; set; } + public global::System.Collections.Generic.List? ListType2313 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2168 { get; set; } + public global::System.Collections.Generic.List? ListType2314 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2169 { get; set; } + public global::System.Collections.Generic.List? ListType2315 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2170 { get; set; } + public global::System.Collections.Generic.List? ListType2316 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2171 { get; set; } + public global::System.Collections.Generic.List? ListType2317 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2172 { get; set; } + public global::System.Collections.Generic.List? ListType2318 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2173 { get; set; } + public global::System.Collections.Generic.List? ListType2319 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2174 { get; set; } + public global::System.Collections.Generic.List? ListType2320 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2175 { get; set; } + public global::System.Collections.Generic.List? ListType2321 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2176 { get; set; } + public global::System.Collections.Generic.List? ListType2322 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2177 { get; set; } + public global::System.Collections.Generic.List? ListType2323 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2178 { get; set; } + public global::System.Collections.Generic.List? ListType2324 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2179 { get; set; } + public global::System.Collections.Generic.List? ListType2325 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2180 { get; set; } + public global::System.Collections.Generic.List? ListType2326 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2181 { get; set; } + public global::System.Collections.Generic.List? ListType2327 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2182 { get; set; } + public global::System.Collections.Generic.List? ListType2328 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2183 { get; set; } + public global::System.Collections.Generic.List? ListType2329 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2184 { get; set; } + public global::System.Collections.Generic.List? ListType2330 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2185 { get; set; } + public global::System.Collections.Generic.List? ListType2331 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2186 { get; set; } + public global::System.Collections.Generic.List? ListType2332 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2187 { get; set; } + public global::System.Collections.Generic.List? ListType2333 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2188 { get; set; } + public global::System.Collections.Generic.List? ListType2334 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2189 { get; set; } + public global::System.Collections.Generic.List? ListType2335 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2190 { get; set; } + public global::System.Collections.Generic.List? ListType2336 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2191 { get; set; } + public global::System.Collections.Generic.List? ListType2337 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2192 { get; set; } + public global::System.Collections.Generic.List? ListType2338 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2193 { get; set; } + public global::System.Collections.Generic.List? ListType2339 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2194 { get; set; } + public global::System.Collections.Generic.List? ListType2340 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2195 { get; set; } + public global::System.Collections.Generic.List? ListType2341 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2196 { get; set; } + public global::System.Collections.Generic.List? ListType2342 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2197 { get; set; } + public global::System.Collections.Generic.List? ListType2343 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2198 { get; set; } + public global::System.Collections.Generic.List? ListType2344 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2199 { get; set; } + public global::System.Collections.Generic.List? ListType2345 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2200 { get; set; } + public global::System.Collections.Generic.List? ListType2346 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2201 { get; set; } + public global::System.Collections.Generic.List? ListType2347 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2202 { get; set; } + public global::System.Collections.Generic.List? ListType2348 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2203 { get; set; } + public global::System.Collections.Generic.List? ListType2349 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2204 { get; set; } + public global::System.Collections.Generic.List? ListType2350 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2205 { get; set; } + public global::System.Collections.Generic.List? ListType2351 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2206 { get; set; } + public global::System.Collections.Generic.List? ListType2352 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2207 { get; set; } + public global::System.Collections.Generic.List? ListType2353 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2208 { get; set; } + public global::System.Collections.Generic.List? ListType2354 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2209 { get; set; } + public global::System.Collections.Generic.List? ListType2355 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2210 { get; set; } + public global::System.Collections.Generic.List? ListType2356 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2211 { get; set; } + public global::System.Collections.Generic.List? ListType2357 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2212 { get; set; } + public global::System.Collections.Generic.List? ListType2358 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2213 { get; set; } + public global::System.Collections.Generic.List? ListType2359 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2214 { get; set; } + public global::System.Collections.Generic.List? ListType2360 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2215 { get; set; } + public global::System.Collections.Generic.List? ListType2361 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2216 { get; set; } + public global::System.Collections.Generic.List? ListType2362 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2217 { get; set; } + public global::System.Collections.Generic.List? ListType2363 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2218 { get; set; } + public global::System.Collections.Generic.List? ListType2364 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2219 { get; set; } + public global::System.Collections.Generic.List? ListType2365 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2220 { get; set; } + public global::System.Collections.Generic.List? ListType2366 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2221 { get; set; } + public global::System.Collections.Generic.List? ListType2367 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2222 { get; set; } + public global::System.Collections.Generic.List? ListType2368 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2223 { get; set; } + public global::System.Collections.Generic.List? ListType2369 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2224 { get; set; } + public global::System.Collections.Generic.List? ListType2370 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2225 { get; set; } + public global::System.Collections.Generic.List? ListType2371 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2226 { get; set; } + public global::System.Collections.Generic.List? ListType2372 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2227 { get; set; } + public global::System.Collections.Generic.List? ListType2373 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2228 { get; set; } + public global::System.Collections.Generic.List? ListType2374 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2229 { get; set; } + public global::System.Collections.Generic.List? ListType2375 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2230 { get; set; } + public global::System.Collections.Generic.List? ListType2376 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2231 { get; set; } + public global::System.Collections.Generic.List? ListType2377 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2232 { get; set; } + public global::System.Collections.Generic.List? ListType2378 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2233 { get; set; } + public global::System.Collections.Generic.List? ListType2379 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2234 { get; set; } + public global::System.Collections.Generic.List? ListType2380 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2235 { get; set; } + public global::System.Collections.Generic.List? ListType2381 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2236 { get; set; } + public global::System.Collections.Generic.List? ListType2382 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2237 { get; set; } + public global::System.Collections.Generic.List? ListType2383 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2238 { get; set; } + public global::System.Collections.Generic.List? ListType2384 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2239 { get; set; } + public global::System.Collections.Generic.List? ListType2385 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2240 { get; set; } + public global::System.Collections.Generic.List? ListType2386 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2241 { get; set; } + public global::System.Collections.Generic.List? ListType2387 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2242 { get; set; } + public global::System.Collections.Generic.List? ListType2388 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2243 { get; set; } + public global::System.Collections.Generic.List? ListType2389 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2244 { get; set; } + public global::System.Collections.Generic.List? ListType2390 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2245 { get; set; } + public global::System.Collections.Generic.List? ListType2391 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2246 { get; set; } + public global::System.Collections.Generic.List? ListType2392 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2247 { get; set; } + public global::System.Collections.Generic.List? ListType2393 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2248 { get; set; } + public global::System.Collections.Generic.List? ListType2394 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2249 { get; set; } + public global::System.Collections.Generic.List? ListType2395 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2250 { get; set; } + public global::System.Collections.Generic.List? ListType2396 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2251 { get; set; } + public global::System.Collections.Generic.List? ListType2397 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2252 { get; set; } + public global::System.Collections.Generic.List? ListType2398 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2253 { get; set; } + public global::System.Collections.Generic.List? ListType2399 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2254 { get; set; } + public global::System.Collections.Generic.List? ListType2400 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2255 { get; set; } + public global::System.Collections.Generic.List? ListType2401 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2256 { get; set; } + public global::System.Collections.Generic.List? ListType2402 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2257 { get; set; } + public global::System.Collections.Generic.List? ListType2403 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2258 { get; set; } + public global::System.Collections.Generic.List? ListType2404 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2259 { get; set; } + public global::System.Collections.Generic.List? ListType2405 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2260 { get; set; } + public global::System.Collections.Generic.List? ListType2406 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2261 { get; set; } + public global::System.Collections.Generic.List? ListType2407 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2262 { get; set; } + public global::System.Collections.Generic.List? ListType2408 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2263 { get; set; } + public global::System.Collections.Generic.List? ListType2409 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2264 { get; set; } + public global::System.Collections.Generic.List? ListType2410 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2265 { get; set; } + public global::System.Collections.Generic.List? ListType2411 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2266 { get; set; } + public global::System.Collections.Generic.List? ListType2412 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2267 { get; set; } + public global::System.Collections.Generic.List? ListType2413 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2268 { get; set; } + public global::System.Collections.Generic.List? ListType2414 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2269 { get; set; } + public global::System.Collections.Generic.List? ListType2415 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2270 { get; set; } + public global::System.Collections.Generic.List? ListType2416 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2271 { get; set; } + public global::System.Collections.Generic.List? ListType2417 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2272 { get; set; } + public global::System.Collections.Generic.List? ListType2418 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2273 { get; set; } + public global::System.Collections.Generic.List? ListType2419 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2274 { get; set; } + public global::System.Collections.Generic.List? ListType2420 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2275 { get; set; } + public global::System.Collections.Generic.List? ListType2421 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2276 { get; set; } + public global::System.Collections.Generic.List? ListType2422 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2277 { get; set; } + public global::System.Collections.Generic.List? ListType2423 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2278 { get; set; } + public global::System.Collections.Generic.List? ListType2424 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2279 { get; set; } + public global::System.Collections.Generic.List? ListType2425 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2280 { get; set; } + public global::System.Collections.Generic.List? ListType2426 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2281 { get; set; } + public global::System.Collections.Generic.List? ListType2427 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2282 { get; set; } + public global::System.Collections.Generic.List? ListType2428 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2283 { get; set; } + public global::System.Collections.Generic.List? ListType2429 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2284 { get; set; } + public global::System.Collections.Generic.List? ListType2430 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2285 { get; set; } + public global::System.Collections.Generic.List? ListType2431 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2286 { get; set; } + public global::System.Collections.Generic.List? ListType2432 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2287 { get; set; } + public global::System.Collections.Generic.List? ListType2433 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2288 { get; set; } + public global::System.Collections.Generic.List? ListType2434 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2289 { get; set; } + public global::System.Collections.Generic.List? ListType2435 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2290 { get; set; } + public global::System.Collections.Generic.List? ListType2436 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2291 { get; set; } + public global::System.Collections.Generic.List? ListType2437 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2292 { get; set; } + public global::System.Collections.Generic.List? ListType2438 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2293 { get; set; } + public global::System.Collections.Generic.List? ListType2439 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2294 { get; set; } + public global::System.Collections.Generic.List? ListType2440 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2295 { get; set; } + public global::System.Collections.Generic.List? ListType2441 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2296 { get; set; } + public global::System.Collections.Generic.List? ListType2442 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2297 { get; set; } + public global::System.Collections.Generic.List? ListType2443 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2298 { get; set; } + public global::System.Collections.Generic.List? ListType2444 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2299 { get; set; } + public global::System.Collections.Generic.List? ListType2445 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2300 { get; set; } + public global::System.Collections.Generic.List? ListType2446 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2301 { get; set; } + public global::System.Collections.Generic.List? ListType2447 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2302 { get; set; } + public global::System.Collections.Generic.List? ListType2448 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2303 { get; set; } + public global::System.Collections.Generic.List? ListType2449 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2304 { get; set; } + public global::System.Collections.Generic.List? ListType2450 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2305 { get; set; } + public global::System.Collections.Generic.List? ListType2451 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2306 { get; set; } + public global::System.Collections.Generic.List? ListType2452 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2307 { get; set; } + public global::System.Collections.Generic.List? ListType2453 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2308 { get; set; } + public global::System.Collections.Generic.List? ListType2454 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2309 { get; set; } + public global::System.Collections.Generic.List? ListType2455 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2310 { get; set; } + public global::System.Collections.Generic.List? ListType2456 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2311 { get; set; } + public global::System.Collections.Generic.List? ListType2457 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2312 { get; set; } + public global::System.Collections.Generic.List? ListType2458 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2313 { get; set; } + public global::System.Collections.Generic.List? ListType2459 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2314 { get; set; } + public global::System.Collections.Generic.List? ListType2460 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2315 { get; set; } + public global::System.Collections.Generic.List? ListType2461 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2316 { get; set; } + public global::System.Collections.Generic.List? ListType2462 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2317 { get; set; } + public global::System.Collections.Generic.List? ListType2463 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2318 { get; set; } + public global::System.Collections.Generic.List? ListType2464 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2319 { get; set; } + public global::System.Collections.Generic.List? ListType2465 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2320 { get; set; } + public global::System.Collections.Generic.List? ListType2466 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2321 { get; set; } + public global::System.Collections.Generic.List? ListType2467 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2322 { get; set; } + public global::System.Collections.Generic.List? ListType2468 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2323 { get; set; } + public global::System.Collections.Generic.List? ListType2469 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2324 { get; set; } + public global::System.Collections.Generic.List? ListType2470 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2325 { get; set; } + public global::System.Collections.Generic.List? ListType2471 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2326 { get; set; } + public global::System.Collections.Generic.List? ListType2472 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2327 { get; set; } + public global::System.Collections.Generic.List? ListType2473 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2328 { get; set; } + public global::System.Collections.Generic.List? ListType2474 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2329 { get; set; } + public global::System.Collections.Generic.List? ListType2475 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2330 { get; set; } + public global::System.Collections.Generic.List? ListType2476 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2331 { get; set; } + public global::System.Collections.Generic.List? ListType2477 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2332 { get; set; } + public global::System.Collections.Generic.List? ListType2478 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2333 { get; set; } + public global::System.Collections.Generic.List? ListType2479 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2334 { get; set; } + public global::System.Collections.Generic.List? ListType2480 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2335 { get; set; } + public global::System.Collections.Generic.List? ListType2481 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2336 { get; set; } + public global::System.Collections.Generic.List? ListType2482 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2337 { get; set; } + public global::System.Collections.Generic.List? ListType2483 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2338 { get; set; } + public global::System.Collections.Generic.List? ListType2484 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2339 { get; set; } + public global::System.Collections.Generic.List? ListType2485 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2340 { get; set; } + public global::System.Collections.Generic.List? ListType2486 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2341 { get; set; } + public global::System.Collections.Generic.List? ListType2487 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2342 { get; set; } + public global::System.Collections.Generic.List? ListType2488 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2343 { get; set; } + public global::System.Collections.Generic.List? ListType2489 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2344 { get; set; } + public global::System.Collections.Generic.List? ListType2490 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2345 { get; set; } + public global::System.Collections.Generic.List? ListType2491 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2346 { get; set; } + public global::System.Collections.Generic.List? ListType2492 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2347 { get; set; } + public global::System.Collections.Generic.List? ListType2493 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2348 { get; set; } + public global::System.Collections.Generic.List? ListType2494 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2349 { get; set; } + public global::System.Collections.Generic.List? ListType2495 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2350 { get; set; } + public global::System.Collections.Generic.List? ListType2496 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2351 { get; set; } + public global::System.Collections.Generic.List? ListType2497 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2352 { get; set; } + public global::System.Collections.Generic.List? ListType2498 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2353 { get; set; } + public global::System.Collections.Generic.List? ListType2499 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2354 { get; set; } + public global::System.Collections.Generic.List? ListType2500 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2355 { get; set; } + public global::System.Collections.Generic.List? ListType2501 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2356 { get; set; } + public global::System.Collections.Generic.List? ListType2502 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2357 { get; set; } + public global::System.Collections.Generic.List? ListType2503 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2358 { get; set; } + public global::System.Collections.Generic.List? ListType2504 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2359 { get; set; } + public global::System.Collections.Generic.List? ListType2505 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2360 { get; set; } + public global::System.Collections.Generic.List? ListType2506 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2361 { get; set; } + public global::System.Collections.Generic.List? ListType2507 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2362 { get; set; } + public global::System.Collections.Generic.List? ListType2508 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2363 { get; set; } + public global::System.Collections.Generic.List? ListType2509 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2364 { get; set; } + public global::System.Collections.Generic.List? ListType2510 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2365 { get; set; } + public global::System.Collections.Generic.List? ListType2511 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2366 { get; set; } + public global::System.Collections.Generic.List? ListType2512 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2367 { get; set; } + public global::System.Collections.Generic.List? ListType2513 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2368 { get; set; } + public global::System.Collections.Generic.List? ListType2514 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2369 { get; set; } + public global::System.Collections.Generic.List? ListType2515 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2370 { get; set; } + public global::System.Collections.Generic.List? ListType2516 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2371 { get; set; } + public global::System.Collections.Generic.List? ListType2517 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2372 { get; set; } + public global::System.Collections.Generic.List? ListType2518 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2373 { get; set; } + public global::System.Collections.Generic.List? ListType2519 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2374 { get; set; } + public global::System.Collections.Generic.List? ListType2520 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2375 { get; set; } + public global::System.Collections.Generic.List? ListType2521 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2376 { get; set; } + public global::System.Collections.Generic.List? ListType2522 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2377 { get; set; } + public global::System.Collections.Generic.List? ListType2523 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2378 { get; set; } + public global::System.Collections.Generic.List? ListType2524 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2379 { get; set; } + public global::System.Collections.Generic.List? ListType2525 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2380 { get; set; } + public global::System.Collections.Generic.List? ListType2526 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2381 { get; set; } + public global::System.Collections.Generic.List? ListType2527 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2382 { get; set; } + public global::System.Collections.Generic.List? ListType2528 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2383 { get; set; } + public global::System.Collections.Generic.List? ListType2529 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2384 { get; set; } + public global::System.Collections.Generic.List? ListType2530 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2385 { get; set; } + public global::System.Collections.Generic.List? ListType2531 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2386 { get; set; } + public global::System.Collections.Generic.List? ListType2532 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2387 { get; set; } + public global::System.Collections.Generic.List? ListType2533 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2388 { get; set; } + public global::System.Collections.Generic.List? ListType2534 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2389 { get; set; } + public global::System.Collections.Generic.List? ListType2535 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2390 { get; set; } + public global::System.Collections.Generic.List? ListType2536 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2391 { get; set; } + public global::System.Collections.Generic.List? ListType2537 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2392 { get; set; } + public global::System.Collections.Generic.List? ListType2538 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2393 { get; set; } + public global::System.Collections.Generic.List? ListType2539 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2394 { get; set; } + public global::System.Collections.Generic.List? ListType2540 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2395 { get; set; } + public global::System.Collections.Generic.List? ListType2541 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2396 { get; set; } + public global::System.Collections.Generic.List? ListType2542 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2397 { get; set; } + public global::System.Collections.Generic.List? ListType2543 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2398 { get; set; } + public global::System.Collections.Generic.List? ListType2544 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2399 { get; set; } + public global::System.Collections.Generic.List? ListType2545 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2400 { get; set; } + public global::System.Collections.Generic.List? ListType2546 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2401 { get; set; } + public global::System.Collections.Generic.List? ListType2547 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2402 { get; set; } + public global::System.Collections.Generic.List? ListType2548 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2403 { get; set; } + public global::System.Collections.Generic.List? ListType2549 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2404 { get; set; } + public global::System.Collections.Generic.List? ListType2550 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2405 { get; set; } + public global::System.Collections.Generic.List? ListType2551 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2406 { get; set; } + public global::System.Collections.Generic.List? ListType2552 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2407 { get; set; } + public global::System.Collections.Generic.List? ListType2553 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2408 { get; set; } + public global::System.Collections.Generic.List? ListType2554 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2409 { get; set; } + public global::System.Collections.Generic.List? ListType2555 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2410 { get; set; } + public global::System.Collections.Generic.List? ListType2556 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2411 { get; set; } + public global::System.Collections.Generic.List? ListType2557 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2412 { get; set; } + public global::System.Collections.Generic.List? ListType2558 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2413 { get; set; } + public global::System.Collections.Generic.List? ListType2559 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2414 { get; set; } + public global::System.Collections.Generic.List? ListType2560 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2415 { get; set; } + public global::System.Collections.Generic.List? ListType2561 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2416 { get; set; } + public global::System.Collections.Generic.List? ListType2562 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2417 { get; set; } + public global::System.Collections.Generic.List? ListType2563 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2418 { get; set; } + public global::System.Collections.Generic.List? ListType2564 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2419 { get; set; } + public global::System.Collections.Generic.List? ListType2565 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2420 { get; set; } + public global::System.Collections.Generic.List? ListType2566 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2421 { get; set; } + public global::System.Collections.Generic.List? ListType2567 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2422 { get; set; } + public global::System.Collections.Generic.List? ListType2568 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2423 { get; set; } + public global::System.Collections.Generic.List? ListType2569 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2424 { get; set; } + public global::System.Collections.Generic.List? ListType2570 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2425 { get; set; } + public global::System.Collections.Generic.List? ListType2571 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2426 { get; set; } + public global::System.Collections.Generic.List? ListType2572 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2427 { get; set; } + public global::System.Collections.Generic.List? ListType2573 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2428 { get; set; } + public global::System.Collections.Generic.List? ListType2574 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2429 { get; set; } + public global::System.Collections.Generic.List? ListType2575 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2430 { get; set; } + public global::System.Collections.Generic.List? ListType2576 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2431 { get; set; } + public global::System.Collections.Generic.List? ListType2577 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2432 { get; set; } + public global::System.Collections.Generic.List? ListType2578 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2433 { get; set; } + public global::System.Collections.Generic.List? ListType2579 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2434 { get; set; } + public global::System.Collections.Generic.List? ListType2580 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2435 { get; set; } + public global::System.Collections.Generic.List? ListType2581 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2436 { get; set; } + public global::System.Collections.Generic.List? ListType2582 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2437 { get; set; } + public global::System.Collections.Generic.List? ListType2583 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2438 { get; set; } + public global::System.Collections.Generic.List? ListType2584 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2439 { get; set; } + public global::System.Collections.Generic.List? ListType2585 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2440 { get; set; } + public global::System.Collections.Generic.List? ListType2586 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2441 { get; set; } + public global::System.Collections.Generic.List? ListType2587 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2442 { get; set; } + public global::System.Collections.Generic.List? ListType2588 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2443 { get; set; } + public global::System.Collections.Generic.List? ListType2589 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2444 { get; set; } + public global::System.Collections.Generic.List? ListType2590 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2445 { get; set; } + public global::System.Collections.Generic.List? ListType2591 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2446 { get; set; } + public global::System.Collections.Generic.List? ListType2592 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2447 { get; set; } + public global::System.Collections.Generic.List? ListType2593 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2448 { get; set; } + public global::System.Collections.Generic.List? ListType2594 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2449 { get; set; } + public global::System.Collections.Generic.List? ListType2595 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2450 { get; set; } + public global::System.Collections.Generic.List? ListType2596 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2451 { get; set; } + public global::System.Collections.Generic.List? ListType2597 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2452 { get; set; } + public global::System.Collections.Generic.List? ListType2598 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2453 { get; set; } + public global::System.Collections.Generic.List? ListType2599 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2454 { get; set; } + public global::System.Collections.Generic.List? ListType2600 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2455 { get; set; } + public global::System.Collections.Generic.List? ListType2601 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2456 { get; set; } + public global::System.Collections.Generic.List? ListType2602 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2457 { get; set; } + public global::System.Collections.Generic.List? ListType2603 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2458 { get; set; } + public global::System.Collections.Generic.List? ListType2604 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2459 { get; set; } + public global::System.Collections.Generic.List? ListType2605 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2460 { get; set; } + public global::System.Collections.Generic.List? ListType2606 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2461 { get; set; } + public global::System.Collections.Generic.List? ListType2607 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2462 { get; set; } + public global::System.Collections.Generic.List? ListType2608 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2463 { get; set; } + public global::System.Collections.Generic.List? ListType2609 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2464 { get; set; } + public global::System.Collections.Generic.List? ListType2610 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2465 { get; set; } + public global::System.Collections.Generic.List? ListType2611 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2466 { get; set; } + public global::System.Collections.Generic.List? ListType2612 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2467 { get; set; } + public global::System.Collections.Generic.List? ListType2613 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2468 { get; set; } + public global::System.Collections.Generic.List? ListType2614 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2469 { get; set; } + public global::System.Collections.Generic.List? ListType2615 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2470 { get; set; } + public global::System.Collections.Generic.List? ListType2616 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2471 { get; set; } + public global::System.Collections.Generic.List? ListType2617 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2472 { get; set; } + public global::System.Collections.Generic.List? ListType2618 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2473 { get; set; } + public global::System.Collections.Generic.List? ListType2619 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2474 { get; set; } + public global::System.Collections.Generic.List? ListType2620 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2475 { get; set; } + public global::System.Collections.Generic.List? ListType2621 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2476 { get; set; } + public global::System.Collections.Generic.List? ListType2622 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2477 { get; set; } + public global::System.Collections.Generic.List? ListType2623 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2478 { get; set; } + public global::System.Collections.Generic.List? ListType2624 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2479 { get; set; } + public global::System.Collections.Generic.List? ListType2625 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2480 { get; set; } + public global::System.Collections.Generic.List? ListType2626 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2481 { get; set; } + public global::System.Collections.Generic.List? ListType2627 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2482 { get; set; } + public global::System.Collections.Generic.List? ListType2628 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2483 { get; set; } + public global::System.Collections.Generic.List? ListType2629 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2484 { get; set; } + public global::System.Collections.Generic.List? ListType2630 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2485 { get; set; } + public global::System.Collections.Generic.List? ListType2631 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2486 { get; set; } + public global::System.Collections.Generic.List? ListType2632 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2487 { get; set; } + public global::System.Collections.Generic.List? ListType2633 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2488 { get; set; } + public global::System.Collections.Generic.List? ListType2634 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2489 { get; set; } + public global::System.Collections.Generic.List? ListType2635 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2490 { get; set; } + public global::System.Collections.Generic.List? ListType2636 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2491 { get; set; } + public global::System.Collections.Generic.List? ListType2637 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2492 { get; set; } + public global::System.Collections.Generic.List? ListType2638 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2493 { get; set; } + public global::System.Collections.Generic.List? ListType2639 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2494 { get; set; } + public global::System.Collections.Generic.List? ListType2640 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2495 { get; set; } + public global::System.Collections.Generic.List? ListType2641 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2496 { get; set; } + public global::System.Collections.Generic.List? ListType2642 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2497 { get; set; } + public global::System.Collections.Generic.List? ListType2643 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2498 { get; set; } + public global::System.Collections.Generic.List? ListType2644 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2499 { get; set; } + public global::System.Collections.Generic.List? ListType2645 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2500 { get; set; } + public global::System.Collections.Generic.List? ListType2646 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2501 { get; set; } + public global::System.Collections.Generic.List? ListType2647 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2502 { get; set; } + public global::System.Collections.Generic.List? ListType2648 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2503 { get; set; } + public global::System.Collections.Generic.List? ListType2649 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2504 { get; set; } + public global::System.Collections.Generic.List? ListType2650 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2505 { get; set; } + public global::System.Collections.Generic.List? ListType2651 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2506 { get; set; } + public global::System.Collections.Generic.List? ListType2652 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2507 { get; set; } + public global::System.Collections.Generic.List? ListType2653 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2508 { get; set; } + public global::System.Collections.Generic.List? ListType2654 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2509 { get; set; } + public global::System.Collections.Generic.List? ListType2655 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2510 { get; set; } + public global::System.Collections.Generic.List? ListType2656 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2511 { get; set; } + public global::System.Collections.Generic.List? ListType2657 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2512 { get; set; } + public global::System.Collections.Generic.List? ListType2658 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2513 { get; set; } + public global::System.Collections.Generic.List? ListType2659 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2514 { get; set; } + public global::System.Collections.Generic.List? ListType2660 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2515 { get; set; } + public global::System.Collections.Generic.List? ListType2661 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2516 { get; set; } + public global::System.Collections.Generic.List? ListType2662 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2517 { get; set; } + public global::System.Collections.Generic.List? ListType2663 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2518 { get; set; } + public global::System.Collections.Generic.List? ListType2664 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2519 { get; set; } + public global::System.Collections.Generic.List? ListType2665 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2520 { get; set; } + public global::System.Collections.Generic.List? ListType2666 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2521 { get; set; } + public global::System.Collections.Generic.List? ListType2667 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2522 { get; set; } + public global::System.Collections.Generic.List? ListType2668 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2523 { get; set; } + public global::System.Collections.Generic.List? ListType2669 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2524 { get; set; } + public global::System.Collections.Generic.List? ListType2670 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2525 { get; set; } + public global::System.Collections.Generic.List? ListType2671 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2526 { get; set; } + public global::System.Collections.Generic.List? ListType2672 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2527 { get; set; } + public global::System.Collections.Generic.List? ListType2673 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2528 { get; set; } + public global::System.Collections.Generic.List? ListType2674 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2529 { get; set; } + public global::System.Collections.Generic.List? ListType2675 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2530 { get; set; } + public global::System.Collections.Generic.List? ListType2676 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2531 { get; set; } + public global::System.Collections.Generic.List? ListType2677 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2532 { get; set; } + public global::System.Collections.Generic.List? ListType2678 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2533 { get; set; } + public global::System.Collections.Generic.List? ListType2679 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2534 { get; set; } + public global::System.Collections.Generic.List? ListType2680 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2535 { get; set; } + public global::System.Collections.Generic.List? ListType2681 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2536 { get; set; } + public global::System.Collections.Generic.List? ListType2682 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2537 { get; set; } + public global::System.Collections.Generic.List? ListType2683 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2538 { get; set; } + public global::System.Collections.Generic.List? ListType2684 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2539 { get; set; } + public global::System.Collections.Generic.List? ListType2685 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2540 { get; set; } + public global::System.Collections.Generic.List? ListType2686 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2541 { get; set; } + public global::System.Collections.Generic.List? ListType2687 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2542 { get; set; } + public global::System.Collections.Generic.List? ListType2688 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2543 { get; set; } + public global::System.Collections.Generic.List? ListType2689 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2544 { get; set; } + public global::System.Collections.Generic.List? ListType2690 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2545 { get; set; } + public global::System.Collections.Generic.List? ListType2691 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2546 { get; set; } + public global::System.Collections.Generic.List? ListType2692 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2547 { get; set; } + public global::System.Collections.Generic.List? ListType2693 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2548 { get; set; } + public global::System.Collections.Generic.List? ListType2694 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2549 { get; set; } + public global::System.Collections.Generic.List? ListType2695 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2550 { get; set; } + public global::System.Collections.Generic.List? ListType2696 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2551 { get; set; } + public global::System.Collections.Generic.List? ListType2697 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2552 { get; set; } + public global::System.Collections.Generic.List? ListType2698 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2553 { get; set; } + public global::System.Collections.Generic.List? ListType2699 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2554 { get; set; } + public global::System.Collections.Generic.List? ListType2700 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2555 { get; set; } + public global::System.Collections.Generic.List? ListType2701 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2556 { get; set; } + public global::System.Collections.Generic.List? ListType2702 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2557 { get; set; } + public global::System.Collections.Generic.List? ListType2703 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2558 { get; set; } + public global::System.Collections.Generic.List? ListType2704 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2559 { get; set; } + public global::System.Collections.Generic.List? ListType2705 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2560 { get; set; } + public global::System.Collections.Generic.List? ListType2706 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2561 { get; set; } + public global::System.Collections.Generic.List? ListType2707 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2562 { get; set; } + public global::System.Collections.Generic.List? ListType2708 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2563 { get; set; } + public global::System.Collections.Generic.List? ListType2709 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2564 { get; set; } + public global::System.Collections.Generic.List? ListType2710 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2565 { get; set; } + public global::System.Collections.Generic.List? ListType2711 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2566 { get; set; } + public global::System.Collections.Generic.List? ListType2712 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2567 { get; set; } + public global::System.Collections.Generic.List? ListType2713 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2568 { get; set; } + public global::System.Collections.Generic.List? ListType2714 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2569 { get; set; } + public global::System.Collections.Generic.List? ListType2715 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2570 { get; set; } + public global::System.Collections.Generic.List? ListType2716 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2571 { get; set; } + public global::System.Collections.Generic.List? ListType2717 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2572 { get; set; } + public global::System.Collections.Generic.List? ListType2718 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2573 { get; set; } + public global::System.Collections.Generic.List? ListType2719 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2574 { get; set; } + public global::System.Collections.Generic.List? ListType2720 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2575 { get; set; } + public global::System.Collections.Generic.List? ListType2721 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2576 { get; set; } + public global::System.Collections.Generic.List? ListType2722 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2577 { get; set; } + public global::System.Collections.Generic.List? ListType2723 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2578 { get; set; } + public global::System.Collections.Generic.List? ListType2724 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2579 { get; set; } + public global::System.Collections.Generic.List? ListType2725 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2580 { get; set; } + public global::System.Collections.Generic.List? ListType2726 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2581 { get; set; } + public global::System.Collections.Generic.List? ListType2727 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2582 { get; set; } + public global::System.Collections.Generic.List? ListType2728 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2583 { get; set; } + public global::System.Collections.Generic.List? ListType2729 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2584 { get; set; } + public global::System.Collections.Generic.List? ListType2730 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2585 { get; set; } + public global::System.Collections.Generic.List? ListType2731 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2586 { get; set; } + public global::System.Collections.Generic.List? ListType2732 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2587 { get; set; } + public global::System.Collections.Generic.List? ListType2733 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2588 { get; set; } + public global::System.Collections.Generic.List? ListType2734 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2589 { get; set; } + public global::System.Collections.Generic.List? ListType2735 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2590 { get; set; } + public global::System.Collections.Generic.List? ListType2736 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2591 { get; set; } + public global::System.Collections.Generic.List? ListType2737 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2592 { get; set; } + public global::System.Collections.Generic.List? ListType2738 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2593 { get; set; } + public global::System.Collections.Generic.List? ListType2739 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2594 { get; set; } + public global::System.Collections.Generic.List? ListType2740 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2595 { get; set; } + public global::System.Collections.Generic.List? ListType2741 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2596 { get; set; } + public global::System.Collections.Generic.List? ListType2742 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2597 { get; set; } + public global::System.Collections.Generic.List? ListType2743 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2598 { get; set; } + public global::System.Collections.Generic.List? ListType2744 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2599 { get; set; } + public global::System.Collections.Generic.List? ListType2745 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2600 { get; set; } + public global::System.Collections.Generic.List? ListType2746 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2601 { get; set; } + public global::System.Collections.Generic.List? ListType2747 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2602 { get; set; } + public global::System.Collections.Generic.List? ListType2748 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2603 { get; set; } + public global::System.Collections.Generic.List? ListType2749 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2604 { get; set; } + public global::System.Collections.Generic.List? ListType2750 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2605 { get; set; } + public global::System.Collections.Generic.List? ListType2751 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2606 { get; set; } + public global::System.Collections.Generic.List? ListType2752 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2607 { get; set; } + public global::System.Collections.Generic.List? ListType2753 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2608 { get; set; } + public global::System.Collections.Generic.List? ListType2754 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2609 { get; set; } + public global::System.Collections.Generic.List? ListType2755 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2610 { get; set; } + public global::System.Collections.Generic.List? ListType2756 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2611 { get; set; } + public global::System.Collections.Generic.List? ListType2757 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2612 { get; set; } + public global::System.Collections.Generic.List? ListType2758 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2613 { get; set; } + public global::System.Collections.Generic.List? ListType2759 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2614 { get; set; } + public global::System.Collections.Generic.List? ListType2760 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2615 { get; set; } + public global::System.Collections.Generic.List? ListType2761 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2616 { get; set; } + public global::System.Collections.Generic.List? ListType2762 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2617 { get; set; } + public global::System.Collections.Generic.List? ListType2763 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2618 { get; set; } + public global::System.Collections.Generic.List? ListType2764 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2619 { get; set; } + public global::System.Collections.Generic.List? ListType2765 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2620 { get; set; } + public global::System.Collections.Generic.List? ListType2766 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2621 { get; set; } + public global::System.Collections.Generic.List? ListType2767 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2622 { get; set; } + public global::System.Collections.Generic.List? ListType2768 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2623 { get; set; } + public global::System.Collections.Generic.List? ListType2769 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2624 { get; set; } + public global::System.Collections.Generic.List? ListType2770 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2625 { get; set; } + public global::System.Collections.Generic.List? ListType2771 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2626 { get; set; } + public global::System.Collections.Generic.List? ListType2772 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2627 { get; set; } + public global::System.Collections.Generic.List? ListType2773 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2628 { get; set; } + public global::System.Collections.Generic.List? ListType2774 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2629 { get; set; } + public global::System.Collections.Generic.List? ListType2775 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2630 { get; set; } + public global::System.Collections.Generic.List? ListType2776 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2631 { get; set; } + public global::System.Collections.Generic.List? ListType2777 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2632 { get; set; } + public global::System.Collections.Generic.List? ListType2778 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2633 { get; set; } + public global::System.Collections.Generic.List? ListType2779 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2634 { get; set; } + public global::System.Collections.Generic.List? ListType2780 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2635 { get; set; } + public global::System.Collections.Generic.List? ListType2781 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2636 { get; set; } + public global::System.Collections.Generic.List? ListType2782 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2637 { get; set; } + public global::System.Collections.Generic.List? ListType2783 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2638 { get; set; } + public global::System.Collections.Generic.List? ListType2784 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2639 { get; set; } + public global::System.Collections.Generic.List? ListType2785 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2640 { get; set; } + public global::System.Collections.Generic.List? ListType2786 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2641 { get; set; } + public global::System.Collections.Generic.List? ListType2787 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2642 { get; set; } + public global::System.Collections.Generic.List? ListType2788 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2643 { get; set; } + public global::System.Collections.Generic.List? ListType2789 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2644 { get; set; } + public global::System.Collections.Generic.List? ListType2790 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2645 { get; set; } + public global::System.Collections.Generic.List? ListType2791 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2646 { get; set; } + public global::System.Collections.Generic.List? ListType2792 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2647 { get; set; } + public global::System.Collections.Generic.List? ListType2793 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2648 { get; set; } + public global::System.Collections.Generic.List? ListType2794 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2649 { get; set; } + public global::System.Collections.Generic.List? ListType2795 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2650 { get; set; } + public global::System.Collections.Generic.List? ListType2796 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2651 { get; set; } + public global::System.Collections.Generic.List? ListType2797 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2652 { get; set; } + public global::System.Collections.Generic.List? ListType2798 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2653 { get; set; } + public global::System.Collections.Generic.List? ListType2799 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2654 { get; set; } + public global::System.Collections.Generic.List? ListType2800 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2655 { get; set; } + public global::System.Collections.Generic.List? ListType2801 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2656 { get; set; } + public global::System.Collections.Generic.List? ListType2802 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2657 { get; set; } + public global::System.Collections.Generic.List? ListType2803 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2658 { get; set; } + public global::System.Collections.Generic.List? ListType2804 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2659 { get; set; } + public global::System.Collections.Generic.List? ListType2805 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2660 { get; set; } + public global::System.Collections.Generic.List? ListType2806 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2661 { get; set; } + public global::System.Collections.Generic.List? ListType2807 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2662 { get; set; } + public global::System.Collections.Generic.List? ListType2808 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2663 { get; set; } + public global::System.Collections.Generic.List? ListType2809 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2664 { get; set; } + public global::System.Collections.Generic.List? ListType2810 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2665 { get; set; } + public global::System.Collections.Generic.List? ListType2811 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2666 { get; set; } + public global::System.Collections.Generic.List? ListType2812 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2667 { get; set; } + public global::System.Collections.Generic.List? ListType2813 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2668 { get; set; } + public global::System.Collections.Generic.List? ListType2814 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2669 { get; set; } + public global::System.Collections.Generic.List? ListType2815 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2670 { get; set; } + public global::System.Collections.Generic.List? ListType2816 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2671 { get; set; } + public global::System.Collections.Generic.List? ListType2817 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2672 { get; set; } + public global::System.Collections.Generic.List? ListType2818 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2673 { get; set; } + public global::System.Collections.Generic.List? ListType2819 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2674 { get; set; } + public global::System.Collections.Generic.List? ListType2820 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2675 { get; set; } + public global::System.Collections.Generic.List? ListType2821 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2676 { get; set; } + public global::System.Collections.Generic.List? ListType2822 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2677 { get; set; } + public global::System.Collections.Generic.List? ListType2823 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2678 { get; set; } + public global::System.Collections.Generic.List? ListType2824 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2679 { get; set; } + public global::System.Collections.Generic.List? ListType2825 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2680 { get; set; } + public global::System.Collections.Generic.List? ListType2826 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2681 { get; set; } + public global::System.Collections.Generic.List? ListType2827 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2682 { get; set; } + public global::System.Collections.Generic.List? ListType2828 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2683 { get; set; } + public global::System.Collections.Generic.List? ListType2829 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2684 { get; set; } + public global::System.Collections.Generic.List? ListType2830 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2685 { get; set; } + public global::System.Collections.Generic.List? ListType2831 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2686 { get; set; } + public global::System.Collections.Generic.List? ListType2832 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2687 { get; set; } + public global::System.Collections.Generic.List? ListType2833 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2688 { get; set; } + public global::System.Collections.Generic.List? ListType2834 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2689 { get; set; } + public global::System.Collections.Generic.List? ListType2835 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2690 { get; set; } + public global::System.Collections.Generic.List? ListType2836 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2691 { get; set; } + public global::System.Collections.Generic.List? ListType2837 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2692 { get; set; } + public global::System.Collections.Generic.List? ListType2838 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2693 { get; set; } + public global::System.Collections.Generic.List? ListType2839 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2694 { get; set; } + public global::System.Collections.Generic.List? ListType2840 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2695 { get; set; } + public global::System.Collections.Generic.List? ListType2841 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2696 { get; set; } + public global::System.Collections.Generic.List? ListType2842 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2697 { get; set; } + public global::System.Collections.Generic.List? ListType2843 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2698 { get; set; } + public global::System.Collections.Generic.List? ListType2844 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2699 { get; set; } + public global::System.Collections.Generic.List? ListType2845 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2700 { get; set; } + public global::System.Collections.Generic.List? ListType2846 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2701 { get; set; } + public global::System.Collections.Generic.List? ListType2847 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2702 { get; set; } + public global::System.Collections.Generic.List? ListType2848 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2703 { get; set; } + public global::System.Collections.Generic.List? ListType2849 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2704 { get; set; } + public global::System.Collections.Generic.List? ListType2850 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2705 { get; set; } + public global::System.Collections.Generic.List? ListType2851 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2706 { get; set; } + public global::System.Collections.Generic.List? ListType2852 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2707 { get; set; } + public global::System.Collections.Generic.List? ListType2853 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2708 { get; set; } + public global::System.Collections.Generic.List? ListType2854 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2709 { get; set; } + public global::System.Collections.Generic.List? ListType2855 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2710 { get; set; } + public global::System.Collections.Generic.List? ListType2856 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2711 { get; set; } + public global::System.Collections.Generic.List? ListType2857 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2712 { get; set; } + public global::System.Collections.Generic.List? ListType2858 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2713 { get; set; } + public global::System.Collections.Generic.List? ListType2859 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2714 { get; set; } + public global::System.Collections.Generic.List? ListType2860 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2715 { get; set; } + public global::System.Collections.Generic.List? ListType2861 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2716 { get; set; } + public global::System.Collections.Generic.List? ListType2862 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2717 { get; set; } + public global::System.Collections.Generic.List? ListType2863 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2718 { get; set; } + public global::System.Collections.Generic.List? ListType2864 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2719 { get; set; } + public global::System.Collections.Generic.List? ListType2865 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2720 { get; set; } + public global::System.Collections.Generic.List? ListType2866 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2721 { get; set; } + public global::System.Collections.Generic.List? ListType2867 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2722 { get; set; } + public global::System.Collections.Generic.List? ListType2868 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2723 { get; set; } + public global::System.Collections.Generic.List? ListType2869 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2724 { get; set; } + public global::System.Collections.Generic.List? ListType2870 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2725 { get; set; } + public global::System.Collections.Generic.List? ListType2871 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2726 { get; set; } + public global::System.Collections.Generic.List? ListType2872 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2727 { get; set; } + public global::System.Collections.Generic.List? ListType2873 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2728 { get; set; } + public global::System.Collections.Generic.List? ListType2874 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2729 { get; set; } + public global::System.Collections.Generic.List? ListType2875 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2730 { get; set; } + public global::System.Collections.Generic.List? ListType2876 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2731 { get; set; } + public global::System.Collections.Generic.List? ListType2877 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2732 { get; set; } + public global::System.Collections.Generic.List? ListType2878 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2733 { get; set; } + public global::System.Collections.Generic.List? ListType2879 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2734 { get; set; } + public global::System.Collections.Generic.List? ListType2880 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2735 { get; set; } + public global::System.Collections.Generic.List? ListType2881 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2736 { get; set; } + public global::System.Collections.Generic.List? ListType2882 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2737 { get; set; } + public global::System.Collections.Generic.List? ListType2883 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2738 { get; set; } + public global::System.Collections.Generic.List? ListType2884 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2739 { get; set; } + public global::System.Collections.Generic.List? ListType2885 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2740 { get; set; } + public global::System.Collections.Generic.List? ListType2886 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2741 { get; set; } + public global::System.Collections.Generic.List? ListType2887 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2742 { get; set; } + public global::System.Collections.Generic.List? ListType2888 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2743 { get; set; } + public global::System.Collections.Generic.List? ListType2889 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2744 { get; set; } + public global::System.Collections.Generic.List? ListType2890 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2745 { get; set; } + public global::System.Collections.Generic.List? ListType2891 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2746 { get; set; } + public global::System.Collections.Generic.List? ListType2892 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2747 { get; set; } + public global::System.Collections.Generic.List? ListType2893 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2748 { get; set; } + public global::System.Collections.Generic.List? ListType2894 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2749 { get; set; } + public global::System.Collections.Generic.List? ListType2895 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2750 { get; set; } + public global::System.Collections.Generic.List? ListType2896 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2751 { get; set; } + public global::System.Collections.Generic.List? ListType2897 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2752 { get; set; } + public global::System.Collections.Generic.List? ListType2898 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2753 { get; set; } + public global::System.Collections.Generic.List? ListType2899 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2754 { get; set; } + public global::System.Collections.Generic.List? ListType2900 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2755 { get; set; } + public global::System.Collections.Generic.List? ListType2901 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2756 { get; set; } + public global::System.Collections.Generic.List? ListType2902 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2757 { get; set; } + public global::System.Collections.Generic.List? ListType2903 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2758 { get; set; } + public global::System.Collections.Generic.List? ListType2904 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2759 { get; set; } + public global::System.Collections.Generic.List? ListType2905 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2760 { get; set; } + public global::System.Collections.Generic.List? ListType2906 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2761 { get; set; } + public global::System.Collections.Generic.List? ListType2907 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2762 { get; set; } + public global::System.Collections.Generic.List? ListType2908 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2763 { get; set; } + public global::System.Collections.Generic.List? ListType2909 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2764 { get; set; } + public global::System.Collections.Generic.List? ListType2910 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2765 { get; set; } + public global::System.Collections.Generic.List? ListType2911 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2766 { get; set; } + public global::System.Collections.Generic.List? ListType2912 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2767 { get; set; } + public global::System.Collections.Generic.List? ListType2913 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2768 { get; set; } + public global::System.Collections.Generic.List? ListType2914 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2769 { get; set; } + public global::System.Collections.Generic.List? ListType2915 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2770 { get; set; } + public global::System.Collections.Generic.List? ListType2916 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2771 { get; set; } + public global::System.Collections.Generic.List? ListType2917 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2772 { get; set; } + public global::System.Collections.Generic.List? ListType2918 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2773 { get; set; } + public global::System.Collections.Generic.List? ListType2919 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2774 { get; set; } + public global::System.Collections.Generic.List? ListType2920 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2775 { get; set; } + public global::System.Collections.Generic.List? ListType2921 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2776 { get; set; } + public global::System.Collections.Generic.List? ListType2922 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2777 { get; set; } + public global::System.Collections.Generic.List? ListType2923 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2778 { get; set; } + public global::System.Collections.Generic.List? ListType2924 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2779 { get; set; } + public global::System.Collections.Generic.List? ListType2925 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2780 { get; set; } + public global::System.Collections.Generic.List? ListType2926 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2781 { get; set; } + public global::System.Collections.Generic.List? ListType2927 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2782 { get; set; } + public global::System.Collections.Generic.List? ListType2928 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2783 { get; set; } + public global::System.Collections.Generic.List? ListType2929 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2784 { get; set; } + public global::System.Collections.Generic.List? ListType2930 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2785 { get; set; } + public global::System.Collections.Generic.List? ListType2931 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2786 { get; set; } + public global::System.Collections.Generic.List? ListType2932 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2787 { get; set; } + public global::System.Collections.Generic.List? ListType2933 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2788 { get; set; } + public global::System.Collections.Generic.List? ListType2934 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2789 { get; set; } + public global::System.Collections.Generic.List? ListType2935 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2790 { get; set; } + public global::System.Collections.Generic.List? ListType2936 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2791 { get; set; } + public global::System.Collections.Generic.List? ListType2937 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2792 { get; set; } + public global::System.Collections.Generic.List? ListType2938 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2793 { get; set; } + public global::System.Collections.Generic.List? ListType2939 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2794 { get; set; } + public global::System.Collections.Generic.List? ListType2940 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2795 { get; set; } + public global::System.Collections.Generic.List? ListType2941 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2796 { get; set; } + public global::System.Collections.Generic.List? ListType2942 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2797 { get; set; } + public global::System.Collections.Generic.List? ListType2943 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2798 { get; set; } + public global::System.Collections.Generic.List? ListType2944 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2799 { get; set; } + public global::System.Collections.Generic.List? ListType2945 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2800 { get; set; } + public global::System.Collections.Generic.List? ListType2946 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2801 { get; set; } + public global::System.Collections.Generic.List? ListType2947 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2802 { get; set; } + public global::System.Collections.Generic.List? ListType2948 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2803 { get; set; } + public global::System.Collections.Generic.List? ListType2949 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2804 { get; set; } + public global::System.Collections.Generic.List? ListType2950 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2805 { get; set; } + public global::System.Collections.Generic.List? ListType2951 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2806 { get; set; } + public global::System.Collections.Generic.List? ListType2952 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2807 { get; set; } + public global::System.Collections.Generic.List? ListType2953 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2808 { get; set; } + public global::System.Collections.Generic.List? ListType2954 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2809 { get; set; } + public global::System.Collections.Generic.List? ListType2955 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2810 { get; set; } + public global::System.Collections.Generic.List? ListType2956 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2811 { get; set; } + public global::System.Collections.Generic.List? ListType2957 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2812 { get; set; } + public global::System.Collections.Generic.List? ListType2958 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2813 { get; set; } + public global::System.Collections.Generic.List? ListType2959 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2814 { get; set; } + public global::System.Collections.Generic.List? ListType2960 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2815 { get; set; } + public global::System.Collections.Generic.List? ListType2961 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2816 { get; set; } + public global::System.Collections.Generic.List? ListType2962 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2817 { get; set; } + public global::System.Collections.Generic.List? ListType2963 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2818 { get; set; } + public global::System.Collections.Generic.List? ListType2964 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2819 { get; set; } + public global::System.Collections.Generic.List? ListType2965 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2820 { get; set; } + public global::System.Collections.Generic.List? ListType2966 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2821 { get; set; } + public global::System.Collections.Generic.List? ListType2967 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2822 { get; set; } + public global::System.Collections.Generic.List? ListType2968 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2823 { get; set; } + public global::System.Collections.Generic.List? ListType2969 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2824 { get; set; } + public global::System.Collections.Generic.List? ListType2970 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2825 { get; set; } + public global::System.Collections.Generic.List? ListType2971 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2826 { get; set; } + public global::System.Collections.Generic.List? ListType2972 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2827 { get; set; } + public global::System.Collections.Generic.List? ListType2973 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2828 { get; set; } + public global::System.Collections.Generic.List? ListType2974 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2829 { get; set; } + public global::System.Collections.Generic.List? ListType2975 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2830 { get; set; } + public global::System.Collections.Generic.List? ListType2976 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2831 { get; set; } + public global::System.Collections.Generic.List? ListType2977 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2832 { get; set; } + public global::System.Collections.Generic.List? ListType2978 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2833 { get; set; } + public global::System.Collections.Generic.List? ListType2979 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2834 { get; set; } + public global::System.Collections.Generic.List? ListType2980 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2835 { get; set; } + public global::System.Collections.Generic.List? ListType2981 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2836 { get; set; } + public global::System.Collections.Generic.List? ListType2982 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2837 { get; set; } + public global::System.Collections.Generic.List? ListType2983 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2838 { get; set; } + public global::System.Collections.Generic.List? ListType2984 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2839 { get; set; } + public global::System.Collections.Generic.List? ListType2985 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2840 { get; set; } + public global::System.Collections.Generic.List? ListType2986 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2841 { get; set; } + public global::System.Collections.Generic.List? ListType2987 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2842 { get; set; } + public global::System.Collections.Generic.List? ListType2988 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2843 { get; set; } + public global::System.Collections.Generic.List? ListType2989 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2844 { get; set; } + public global::System.Collections.Generic.List? ListType2990 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2845 { get; set; } + public global::System.Collections.Generic.List? ListType2991 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2846 { get; set; } + public global::System.Collections.Generic.List? ListType2992 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2847 { get; set; } + public global::System.Collections.Generic.List? ListType2993 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2848 { get; set; } + public global::System.Collections.Generic.List? ListType2994 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2849 { get; set; } + public global::System.Collections.Generic.List? ListType2995 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2850 { get; set; } + public global::System.Collections.Generic.List? ListType2996 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2851 { get; set; } + public global::System.Collections.Generic.List? ListType2997 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2852 { get; set; } + public global::System.Collections.Generic.List? ListType2998 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2853 { get; set; } + public global::System.Collections.Generic.List? ListType2999 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2854 { get; set; } + public global::System.Collections.Generic.List? ListType3000 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2855 { get; set; } + public global::System.Collections.Generic.List? ListType3001 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2856 { get; set; } + public global::System.Collections.Generic.List? ListType3002 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2857 { get; set; } + public global::System.Collections.Generic.List? ListType3003 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2858 { get; set; } + public global::System.Collections.Generic.List? ListType3004 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2859 { get; set; } + public global::System.Collections.Generic.List? ListType3005 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2860 { get; set; } + public global::System.Collections.Generic.List? ListType3006 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2861 { get; set; } + public global::System.Collections.Generic.List? ListType3007 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2862 { get; set; } + public global::System.Collections.Generic.List? ListType3008 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2863 { get; set; } + public global::System.Collections.Generic.List? ListType3009 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2864 { get; set; } + public global::System.Collections.Generic.List? ListType3010 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2865 { get; set; } + public global::System.Collections.Generic.List? ListType3011 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2866 { get; set; } + public global::System.Collections.Generic.List? ListType3012 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2867 { get; set; } + public global::System.Collections.Generic.List? ListType3013 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2868 { get; set; } + public global::System.Collections.Generic.List? ListType3014 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2869 { get; set; } + public global::System.Collections.Generic.List? ListType3015 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2870 { get; set; } + public global::System.Collections.Generic.List? ListType3016 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2871 { get; set; } + public global::System.Collections.Generic.List? ListType3017 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2872 { get; set; } + public global::System.Collections.Generic.List? ListType3018 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2873 { get; set; } + public global::System.Collections.Generic.List? ListType3019 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2874 { get; set; } + public global::System.Collections.Generic.List? ListType3020 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2875 { get; set; } + public global::System.Collections.Generic.List? ListType3021 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2876 { get; set; } + public global::System.Collections.Generic.List? ListType3022 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2877 { get; set; } + public global::System.Collections.Generic.List? ListType3023 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2878 { get; set; } + public global::System.Collections.Generic.List? ListType3024 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2879 { get; set; } + public global::System.Collections.Generic.List? ListType3025 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2880 { get; set; } + public global::System.Collections.Generic.List? ListType3026 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2881 { get; set; } + public global::System.Collections.Generic.List? ListType3027 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2882 { get; set; } + public global::System.Collections.Generic.List? ListType3028 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2883 { get; set; } + public global::System.Collections.Generic.List? ListType3029 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2884 { get; set; } + public global::System.Collections.Generic.List? ListType3030 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2885 { get; set; } + public global::System.Collections.Generic.List? ListType3031 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2886 { get; set; } + public global::System.Collections.Generic.List? ListType3032 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2887 { get; set; } + public global::System.Collections.Generic.List? ListType3033 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2888 { get; set; } + public global::System.Collections.Generic.List? ListType3034 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2889 { get; set; } + public global::System.Collections.Generic.List? ListType3035 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2890 { get; set; } + public global::System.Collections.Generic.List? ListType3036 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2891 { get; set; } + public global::System.Collections.Generic.List? ListType3037 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2892 { get; set; } + public global::System.Collections.Generic.List? ListType3038 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2893 { get; set; } + public global::System.Collections.Generic.List? ListType3039 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2894 { get; set; } + public global::System.Collections.Generic.List? ListType3040 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2895 { get; set; } + public global::System.Collections.Generic.List? ListType3041 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2896 { get; set; } + public global::System.Collections.Generic.List? ListType3042 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2897 { get; set; } + public global::System.Collections.Generic.List? ListType3043 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2898 { get; set; } + public global::System.Collections.Generic.List? ListType3044 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2899 { get; set; } + public global::System.Collections.Generic.List? ListType3045 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2900 { get; set; } + public global::System.Collections.Generic.List? ListType3046 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2901 { get; set; } + public global::System.Collections.Generic.List? ListType3047 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2902 { get; set; } + public global::System.Collections.Generic.List? ListType3048 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2903 { get; set; } + public global::System.Collections.Generic.List? ListType3049 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2904 { get; set; } + public global::System.Collections.Generic.List? ListType3050 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2905 { get; set; } + public global::System.Collections.Generic.List? ListType3051 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2906 { get; set; } + public global::System.Collections.Generic.List? ListType3052 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2907 { get; set; } + public global::System.Collections.Generic.List? ListType3053 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2908 { get; set; } + public global::System.Collections.Generic.List? ListType3054 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2909 { get; set; } + public global::System.Collections.Generic.List? ListType3055 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2910 { get; set; } + public global::System.Collections.Generic.List? ListType3056 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2911 { get; set; } + public global::System.Collections.Generic.List? ListType3057 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2912 { get; set; } + public global::System.Collections.Generic.List? ListType3058 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2913 { get; set; } + public global::System.Collections.Generic.List? ListType3059 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2914 { get; set; } + public global::System.Collections.Generic.List? ListType3060 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2915 { get; set; } + public global::System.Collections.Generic.List? ListType3061 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2916 { get; set; } + public global::System.Collections.Generic.List? ListType3062 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2917 { get; set; } + public global::System.Collections.Generic.List? ListType3063 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2918 { get; set; } + public global::System.Collections.Generic.List? ListType3064 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2919 { get; set; } + public global::System.Collections.Generic.List? ListType3065 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2920 { get; set; } + public global::System.Collections.Generic.List? ListType3066 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2921 { get; set; } + public global::System.Collections.Generic.List? ListType3067 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2922 { get; set; } + public global::System.Collections.Generic.List? ListType3068 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2923 { get; set; } + public global::System.Collections.Generic.List? ListType3069 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2924 { get; set; } + public global::System.Collections.Generic.List? ListType3070 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2925 { get; set; } + public global::System.Collections.Generic.List? ListType3071 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2926 { get; set; } + public global::System.Collections.Generic.List? ListType3072 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2927 { get; set; } + public global::System.Collections.Generic.List? ListType3073 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2928 { get; set; } + public global::System.Collections.Generic.List? ListType3074 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2929 { get; set; } + public global::System.Collections.Generic.List? ListType3075 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2930 { get; set; } + public global::System.Collections.Generic.List? ListType3076 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2931 { get; set; } + public global::System.Collections.Generic.List? ListType3077 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2932 { get; set; } + public global::System.Collections.Generic.List? ListType3078 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2933 { get; set; } + public global::System.Collections.Generic.List? ListType3079 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2934 { get; set; } + public global::System.Collections.Generic.List? ListType3080 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2935 { get; set; } + public global::System.Collections.Generic.List? ListType3081 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2936 { get; set; } + public global::System.Collections.Generic.List? ListType3082 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2937 { get; set; } + public global::System.Collections.Generic.List? ListType3083 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2938 { get; set; } + public global::System.Collections.Generic.List? ListType3084 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2939 { get; set; } + public global::System.Collections.Generic.List? ListType3085 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2940 { get; set; } + public global::System.Collections.Generic.List? ListType3086 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2941 { get; set; } + public global::System.Collections.Generic.List? ListType3087 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2942 { get; set; } + public global::System.Collections.Generic.List? ListType3088 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2943 { get; set; } + public global::System.Collections.Generic.List? ListType3089 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2944 { get; set; } + public global::System.Collections.Generic.List? ListType3090 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2945 { get; set; } + public global::System.Collections.Generic.List? ListType3091 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType2946 { get; set; } + public global::System.Collections.Generic.List? ListType3092 { get; set; } } } \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.g.cs new file mode 100644 index 000000000..b4acc4e98 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie + { + /// + /// + /// + Images, + /// + /// + /// + Videos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesGetInstanceFieldsAppAssetLibrarieExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie value) + { + return value switch + { + AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.Images => "images", + AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.Videos => "videos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie? ToEnum(string value) + { + return value switch + { + "images" => AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.Images, + "videos" => AppAssetLibrariesGetInstanceFieldsAppAssetLibrarie.Videos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..955ed6d7a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage value) + { + return value switch + { + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.Category => "category", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.FileName => "fileName", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.FileSize => "fileSize", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.Placements => "placements", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.SpecId => "specId", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.State => "state", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.Category, + "createdDate" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.FileName, + "fileSize" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.Placements, + "referenceName" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName, + "specId" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.SpecId, + "state" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.State, + "stateDetails" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..121a2d15c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppAssetLibrariesImagesGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.g.cs new file mode 100644 index 000000000..cefb89d8e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem + { + /// + /// + /// + AppScreenshotsAndPreviews, + /// + /// + /// + CreativeAssets, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem value) + { + return value switch + { + AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.AppScreenshotsAndPreviews => "APP_SCREENSHOTS_AND_PREVIEWS", + AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.CreativeAssets => "CREATIVE_ASSETS", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem? ToEnum(string value) + { + return value switch + { + "APP_SCREENSHOTS_AND_PREVIEWS" => AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.AppScreenshotsAndPreviews, + "CREATIVE_ASSETS" => AppAssetLibrariesImagesGetToManyRelatedFilterCategoryItem.CreativeAssets, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..78985b89c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesImagesGetToManyRelatedFilterStateItem + { + /// + /// + /// + Accepted, + /// + /// + /// + Approved, + /// + /// + /// + Archived, + /// + /// + /// + AwaitingUpload, + /// + /// + /// + Complete, + /// + /// + /// + Failed, + /// + /// + /// + InReview, + /// + /// + /// + PrepareForSubmission, + /// + /// + /// + ReadyForReview, + /// + /// + /// + Rejected, + /// + /// + /// + UploadComplete, + /// + /// + /// + WaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesImagesGetToManyRelatedFilterStateItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesImagesGetToManyRelatedFilterStateItem value) + { + return value switch + { + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Accepted => "ACCEPTED", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Approved => "APPROVED", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Archived => "ARCHIVED", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.AwaitingUpload => "AWAITING_UPLOAD", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Complete => "COMPLETE", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Failed => "FAILED", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.InReview => "IN_REVIEW", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.PrepareForSubmission => "PREPARE_FOR_SUBMISSION", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.ReadyForReview => "READY_FOR_REVIEW", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Rejected => "REJECTED", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.UploadComplete => "UPLOAD_COMPLETE", + AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.WaitingForReview => "WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesImagesGetToManyRelatedFilterStateItem? ToEnum(string value) + { + return value switch + { + "ACCEPTED" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Accepted, + "APPROVED" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Approved, + "ARCHIVED" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Archived, + "AWAITING_UPLOAD" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.AwaitingUpload, + "COMPLETE" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Complete, + "FAILED" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Failed, + "IN_REVIEW" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.InReview, + "PREPARE_FOR_SUBMISSION" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.PrepareForSubmission, + "READY_FOR_REVIEW" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.ReadyForReview, + "REJECTED" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.Rejected, + "UPLOAD_COMPLETE" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.UploadComplete, + "WAITING_FOR_REVIEW" => AppAssetLibrariesImagesGetToManyRelatedFilterStateItem.WaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..50b6a86b3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesImagesGetToManyRelatedIncludeItem + { + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesImagesGetToManyRelatedIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesImagesGetToManyRelatedIncludeItem value) + { + return value switch + { + AppAssetLibrariesImagesGetToManyRelatedIncludeItem.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesImagesGetToManyRelatedIncludeItem? ToEnum(string value) + { + return value switch + { + "placements" => AppAssetLibrariesImagesGetToManyRelatedIncludeItem.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..bff308e49 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesImagesGetToManyRelatedSortItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesImagesGetToManyRelatedSortItem + { + /// + /// + /// + MinuscreatedDate, + /// + /// + /// + MinuslastModifiedDate, + /// + /// + /// + MinusreferenceName, + /// + /// + /// + CreatedDate, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + ReferenceName, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesImagesGetToManyRelatedSortItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesImagesGetToManyRelatedSortItem value) + { + return value switch + { + AppAssetLibrariesImagesGetToManyRelatedSortItem.MinuscreatedDate => "-createdDate", + AppAssetLibrariesImagesGetToManyRelatedSortItem.MinuslastModifiedDate => "-lastModifiedDate", + AppAssetLibrariesImagesGetToManyRelatedSortItem.MinusreferenceName => "-referenceName", + AppAssetLibrariesImagesGetToManyRelatedSortItem.CreatedDate => "createdDate", + AppAssetLibrariesImagesGetToManyRelatedSortItem.LastModifiedDate => "lastModifiedDate", + AppAssetLibrariesImagesGetToManyRelatedSortItem.ReferenceName => "referenceName", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesImagesGetToManyRelatedSortItem? ToEnum(string value) + { + return value switch + { + "-createdDate" => AppAssetLibrariesImagesGetToManyRelatedSortItem.MinuscreatedDate, + "-lastModifiedDate" => AppAssetLibrariesImagesGetToManyRelatedSortItem.MinuslastModifiedDate, + "-referenceName" => AppAssetLibrariesImagesGetToManyRelatedSortItem.MinusreferenceName, + "createdDate" => AppAssetLibrariesImagesGetToManyRelatedSortItem.CreatedDate, + "lastModifiedDate" => AppAssetLibrariesImagesGetToManyRelatedSortItem.LastModifiedDate, + "referenceName" => AppAssetLibrariesImagesGetToManyRelatedSortItem.ReferenceName, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..7d5ac7352 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..5edf79272 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo value) + { + return value switch + { + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.Category => "category", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.FileName => "fileName", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize => "fileSize", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.Placements => "placements", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId => "specId", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.State => "state", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.Category, + "createdDate" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.FileName, + "fileSize" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId, + "state" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.State, + "stateDetails" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => AppAssetLibrariesVideosGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.g.cs new file mode 100644 index 000000000..f72806eee --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem + { + /// + /// + /// + AppScreenshotsAndPreviews, + /// + /// + /// + CreativeAssets, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem value) + { + return value switch + { + AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.AppScreenshotsAndPreviews => "APP_SCREENSHOTS_AND_PREVIEWS", + AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.CreativeAssets => "CREATIVE_ASSETS", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem? ToEnum(string value) + { + return value switch + { + "APP_SCREENSHOTS_AND_PREVIEWS" => AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.AppScreenshotsAndPreviews, + "CREATIVE_ASSETS" => AppAssetLibrariesVideosGetToManyRelatedFilterCategoryItem.CreativeAssets, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..6a9bcb781 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesVideosGetToManyRelatedFilterStateItem + { + /// + /// + /// + Accepted, + /// + /// + /// + Approved, + /// + /// + /// + Archived, + /// + /// + /// + AwaitingUpload, + /// + /// + /// + Complete, + /// + /// + /// + Failed, + /// + /// + /// + InReview, + /// + /// + /// + PrepareForSubmission, + /// + /// + /// + ReadyForReview, + /// + /// + /// + Rejected, + /// + /// + /// + UploadComplete, + /// + /// + /// + WaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesVideosGetToManyRelatedFilterStateItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesVideosGetToManyRelatedFilterStateItem value) + { + return value switch + { + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Accepted => "ACCEPTED", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Approved => "APPROVED", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Archived => "ARCHIVED", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.AwaitingUpload => "AWAITING_UPLOAD", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Complete => "COMPLETE", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Failed => "FAILED", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.InReview => "IN_REVIEW", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.PrepareForSubmission => "PREPARE_FOR_SUBMISSION", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.ReadyForReview => "READY_FOR_REVIEW", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Rejected => "REJECTED", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.UploadComplete => "UPLOAD_COMPLETE", + AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.WaitingForReview => "WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesVideosGetToManyRelatedFilterStateItem? ToEnum(string value) + { + return value switch + { + "ACCEPTED" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Accepted, + "APPROVED" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Approved, + "ARCHIVED" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Archived, + "AWAITING_UPLOAD" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.AwaitingUpload, + "COMPLETE" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Complete, + "FAILED" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Failed, + "IN_REVIEW" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.InReview, + "PREPARE_FOR_SUBMISSION" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.PrepareForSubmission, + "READY_FOR_REVIEW" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.ReadyForReview, + "REJECTED" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.Rejected, + "UPLOAD_COMPLETE" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.UploadComplete, + "WAITING_FOR_REVIEW" => AppAssetLibrariesVideosGetToManyRelatedFilterStateItem.WaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..b40765e51 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesVideosGetToManyRelatedIncludeItem + { + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesVideosGetToManyRelatedIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesVideosGetToManyRelatedIncludeItem value) + { + return value switch + { + AppAssetLibrariesVideosGetToManyRelatedIncludeItem.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesVideosGetToManyRelatedIncludeItem? ToEnum(string value) + { + return value switch + { + "placements" => AppAssetLibrariesVideosGetToManyRelatedIncludeItem.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..6ea1badc6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrariesVideosGetToManyRelatedSortItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibrariesVideosGetToManyRelatedSortItem + { + /// + /// + /// + MinuscreatedDate, + /// + /// + /// + MinuslastModifiedDate, + /// + /// + /// + MinusreferenceName, + /// + /// + /// + CreatedDate, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + ReferenceName, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibrariesVideosGetToManyRelatedSortItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibrariesVideosGetToManyRelatedSortItem value) + { + return value switch + { + AppAssetLibrariesVideosGetToManyRelatedSortItem.MinuscreatedDate => "-createdDate", + AppAssetLibrariesVideosGetToManyRelatedSortItem.MinuslastModifiedDate => "-lastModifiedDate", + AppAssetLibrariesVideosGetToManyRelatedSortItem.MinusreferenceName => "-referenceName", + AppAssetLibrariesVideosGetToManyRelatedSortItem.CreatedDate => "createdDate", + AppAssetLibrariesVideosGetToManyRelatedSortItem.LastModifiedDate => "lastModifiedDate", + AppAssetLibrariesVideosGetToManyRelatedSortItem.ReferenceName => "referenceName", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibrariesVideosGetToManyRelatedSortItem? ToEnum(string value) + { + return value switch + { + "-createdDate" => AppAssetLibrariesVideosGetToManyRelatedSortItem.MinuscreatedDate, + "-lastModifiedDate" => AppAssetLibrariesVideosGetToManyRelatedSortItem.MinuslastModifiedDate, + "-referenceName" => AppAssetLibrariesVideosGetToManyRelatedSortItem.MinusreferenceName, + "createdDate" => AppAssetLibrariesVideosGetToManyRelatedSortItem.CreatedDate, + "lastModifiedDate" => AppAssetLibrariesVideosGetToManyRelatedSortItem.LastModifiedDate, + "referenceName" => AppAssetLibrariesVideosGetToManyRelatedSortItem.ReferenceName, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem142.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrary.Json.g.cs similarity index 89% rename from src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem142.Json.g.cs rename to src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrary.Json.g.cs index 0e3980e00..075d609d8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem142.Json.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrary.Json.g.cs @@ -2,7 +2,7 @@ namespace AppStoreConnect { - public readonly partial struct IncludedItem142 + public sealed partial class AppAssetLibrary { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AppStoreConnect.IncludedItem142? FromJson( + public static global::AppStoreConnect.AppAssetLibrary? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AppStoreConnect.IncludedItem142), - jsonSerializerContext) as global::AppStoreConnect.IncludedItem142?; + typeof(global::AppStoreConnect.AppAssetLibrary), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibrary; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AppStoreConnect.IncludedItem142? FromJson( + public static global::AppStoreConnect.AppAssetLibrary? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AppStoreConnect.IncludedItem142? FromJson( + public static global::AppStoreConnect.AppAssetLibrary? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AppStoreConnect.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AppStoreConnect.IncludedItem142), - jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem142?; + typeof(global::AppStoreConnect.AppAssetLibrary), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibrary; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AppStoreConnect.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrary.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrary.g.cs new file mode 100644 index 000000000..2daee3ff4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibrary.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibrary + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + public global::AppStoreConnect.AppAssetLibraryRelationships? Relationships { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.ResourceLinks? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibrary( + string id, + global::AppStoreConnect.AppAssetLibraryType type, + global::AppStoreConnect.AppAssetLibraryRelationships? relationships, + global::AppStoreConnect.ResourceLinks? links) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Relationships = relationships; + this.Links = links; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibrary() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryAssetCategory.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryAssetCategory.g.cs new file mode 100644 index 000000000..aa9972317 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryAssetCategory.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryAssetCategory + { + /// + /// + /// + AppScreenshotsAndPreviews, + /// + /// + /// + CreativeAssets, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryAssetCategoryExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryAssetCategory value) + { + return value switch + { + AppAssetLibraryAssetCategory.AppScreenshotsAndPreviews => "APP_SCREENSHOTS_AND_PREVIEWS", + AppAssetLibraryAssetCategory.CreativeAssets => "CREATIVE_ASSETS", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryAssetCategory? ToEnum(string value) + { + return value switch + { + "APP_SCREENSHOTS_AND_PREVIEWS" => AppAssetLibraryAssetCategory.AppScreenshotsAndPreviews, + "CREATIVE_ASSETS" => AppAssetLibraryAssetCategory.CreativeAssets, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryAssetState.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryAssetState.g.cs new file mode 100644 index 000000000..3e511397f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryAssetState.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryAssetState + { + /// + /// + /// + Accepted, + /// + /// + /// + Approved, + /// + /// + /// + Archived, + /// + /// + /// + AwaitingUpload, + /// + /// + /// + Complete, + /// + /// + /// + Failed, + /// + /// + /// + InReview, + /// + /// + /// + PrepareForSubmission, + /// + /// + /// + ReadyForReview, + /// + /// + /// + Rejected, + /// + /// + /// + UploadComplete, + /// + /// + /// + WaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryAssetStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryAssetState value) + { + return value switch + { + AppAssetLibraryAssetState.Accepted => "ACCEPTED", + AppAssetLibraryAssetState.Approved => "APPROVED", + AppAssetLibraryAssetState.Archived => "ARCHIVED", + AppAssetLibraryAssetState.AwaitingUpload => "AWAITING_UPLOAD", + AppAssetLibraryAssetState.Complete => "COMPLETE", + AppAssetLibraryAssetState.Failed => "FAILED", + AppAssetLibraryAssetState.InReview => "IN_REVIEW", + AppAssetLibraryAssetState.PrepareForSubmission => "PREPARE_FOR_SUBMISSION", + AppAssetLibraryAssetState.ReadyForReview => "READY_FOR_REVIEW", + AppAssetLibraryAssetState.Rejected => "REJECTED", + AppAssetLibraryAssetState.UploadComplete => "UPLOAD_COMPLETE", + AppAssetLibraryAssetState.WaitingForReview => "WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryAssetState? ToEnum(string value) + { + return value switch + { + "ACCEPTED" => AppAssetLibraryAssetState.Accepted, + "APPROVED" => AppAssetLibraryAssetState.Approved, + "ARCHIVED" => AppAssetLibraryAssetState.Archived, + "AWAITING_UPLOAD" => AppAssetLibraryAssetState.AwaitingUpload, + "COMPLETE" => AppAssetLibraryAssetState.Complete, + "FAILED" => AppAssetLibraryAssetState.Failed, + "IN_REVIEW" => AppAssetLibraryAssetState.InReview, + "PREPARE_FOR_SUBMISSION" => AppAssetLibraryAssetState.PrepareForSubmission, + "READY_FOR_REVIEW" => AppAssetLibraryAssetState.ReadyForReview, + "REJECTED" => AppAssetLibraryAssetState.Rejected, + "UPLOAD_COMPLETE" => AppAssetLibraryAssetState.UploadComplete, + "WAITING_FOR_REVIEW" => AppAssetLibraryAssetState.WaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryDisplayClass.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryDisplayClass.g.cs new file mode 100644 index 000000000..543d5317d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryDisplayClass.g.cs @@ -0,0 +1,159 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryDisplayClass + { + /// + /// + /// + Default, + /// + /// + /// + Ipad105Display, + /// + /// + /// + Ipad11Display, + /// + /// + /// + Ipad129Display, + /// + /// + /// + Ipad13Display, + /// + /// + /// + Ipad97Display, + /// + /// + /// + IphoneDuo, + /// + /// + /// + IphoneDynamicIslandLargeDisplay, + /// + /// + /// + IphoneDynamicIslandMediumDisplay, + /// + /// + /// + IphoneFaceIdLargeDisplay, + /// + /// + /// + IphoneFaceIdMediumDisplay, + /// + /// + /// + IphoneHomeButton35Display, + /// + /// + /// + IphoneHomeButton40Display, + /// + /// + /// + IphoneHomeButtonLargeDisplay, + /// + /// + /// + IphoneHomeButtonMediumDisplay, + /// + /// + /// + WatchSeries10, + /// + /// + /// + WatchSeries3, + /// + /// + /// + WatchSeries4, + /// + /// + /// + WatchSeries7, + /// + /// + /// + WatchUltra, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryDisplayClassExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryDisplayClass value) + { + return value switch + { + AppAssetLibraryDisplayClass.Default => "DEFAULT", + AppAssetLibraryDisplayClass.Ipad105Display => "IPAD_105_DISPLAY", + AppAssetLibraryDisplayClass.Ipad11Display => "IPAD_11_DISPLAY", + AppAssetLibraryDisplayClass.Ipad129Display => "IPAD_129_DISPLAY", + AppAssetLibraryDisplayClass.Ipad13Display => "IPAD_13_DISPLAY", + AppAssetLibraryDisplayClass.Ipad97Display => "IPAD_97_DISPLAY", + AppAssetLibraryDisplayClass.IphoneDuo => "IPHONE_DUO", + AppAssetLibraryDisplayClass.IphoneDynamicIslandLargeDisplay => "IPHONE_DYNAMIC_ISLAND_LARGE_DISPLAY", + AppAssetLibraryDisplayClass.IphoneDynamicIslandMediumDisplay => "IPHONE_DYNAMIC_ISLAND_MEDIUM_DISPLAY", + AppAssetLibraryDisplayClass.IphoneFaceIdLargeDisplay => "IPHONE_FACE_ID_LARGE_DISPLAY", + AppAssetLibraryDisplayClass.IphoneFaceIdMediumDisplay => "IPHONE_FACE_ID_MEDIUM_DISPLAY", + AppAssetLibraryDisplayClass.IphoneHomeButton35Display => "IPHONE_HOME_BUTTON_35_DISPLAY", + AppAssetLibraryDisplayClass.IphoneHomeButton40Display => "IPHONE_HOME_BUTTON_40_DISPLAY", + AppAssetLibraryDisplayClass.IphoneHomeButtonLargeDisplay => "IPHONE_HOME_BUTTON_LARGE_DISPLAY", + AppAssetLibraryDisplayClass.IphoneHomeButtonMediumDisplay => "IPHONE_HOME_BUTTON_MEDIUM_DISPLAY", + AppAssetLibraryDisplayClass.WatchSeries10 => "WATCH_SERIES_10", + AppAssetLibraryDisplayClass.WatchSeries3 => "WATCH_SERIES_3", + AppAssetLibraryDisplayClass.WatchSeries4 => "WATCH_SERIES_4", + AppAssetLibraryDisplayClass.WatchSeries7 => "WATCH_SERIES_7", + AppAssetLibraryDisplayClass.WatchUltra => "WATCH_ULTRA", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryDisplayClass? ToEnum(string value) + { + return value switch + { + "DEFAULT" => AppAssetLibraryDisplayClass.Default, + "IPAD_105_DISPLAY" => AppAssetLibraryDisplayClass.Ipad105Display, + "IPAD_11_DISPLAY" => AppAssetLibraryDisplayClass.Ipad11Display, + "IPAD_129_DISPLAY" => AppAssetLibraryDisplayClass.Ipad129Display, + "IPAD_13_DISPLAY" => AppAssetLibraryDisplayClass.Ipad13Display, + "IPAD_97_DISPLAY" => AppAssetLibraryDisplayClass.Ipad97Display, + "IPHONE_DUO" => AppAssetLibraryDisplayClass.IphoneDuo, + "IPHONE_DYNAMIC_ISLAND_LARGE_DISPLAY" => AppAssetLibraryDisplayClass.IphoneDynamicIslandLargeDisplay, + "IPHONE_DYNAMIC_ISLAND_MEDIUM_DISPLAY" => AppAssetLibraryDisplayClass.IphoneDynamicIslandMediumDisplay, + "IPHONE_FACE_ID_LARGE_DISPLAY" => AppAssetLibraryDisplayClass.IphoneFaceIdLargeDisplay, + "IPHONE_FACE_ID_MEDIUM_DISPLAY" => AppAssetLibraryDisplayClass.IphoneFaceIdMediumDisplay, + "IPHONE_HOME_BUTTON_35_DISPLAY" => AppAssetLibraryDisplayClass.IphoneHomeButton35Display, + "IPHONE_HOME_BUTTON_40_DISPLAY" => AppAssetLibraryDisplayClass.IphoneHomeButton40Display, + "IPHONE_HOME_BUTTON_LARGE_DISPLAY" => AppAssetLibraryDisplayClass.IphoneHomeButtonLargeDisplay, + "IPHONE_HOME_BUTTON_MEDIUM_DISPLAY" => AppAssetLibraryDisplayClass.IphoneHomeButtonMediumDisplay, + "WATCH_SERIES_10" => AppAssetLibraryDisplayClass.WatchSeries10, + "WATCH_SERIES_3" => AppAssetLibraryDisplayClass.WatchSeries3, + "WATCH_SERIES_4" => AppAssetLibraryDisplayClass.WatchSeries4, + "WATCH_SERIES_7" => AppAssetLibraryDisplayClass.WatchSeries7, + "WATCH_ULTRA" => AppAssetLibraryDisplayClass.WatchUltra, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryFeature.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryFeature.g.cs new file mode 100644 index 000000000..b4303c341 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryFeature.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryFeature + { + /// + /// + /// + AppleAds, + /// + /// + /// + AppClips, + /// + /// + /// + AppStoreVersions, + /// + /// + /// + CustomProductPages, + /// + /// + /// + GameCenter, + /// + /// + /// + InAppEvents, + /// + /// + /// + InAppPurchases, + /// + /// + /// + ProductPageOptimizations, + /// + /// + /// + RetentionMessaging, + /// + /// + /// + Subscriptions, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryFeatureExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryFeature value) + { + return value switch + { + AppAssetLibraryFeature.AppleAds => "APPLE_ADS", + AppAssetLibraryFeature.AppClips => "APP_CLIPS", + AppAssetLibraryFeature.AppStoreVersions => "APP_STORE_VERSIONS", + AppAssetLibraryFeature.CustomProductPages => "CUSTOM_PRODUCT_PAGES", + AppAssetLibraryFeature.GameCenter => "GAME_CENTER", + AppAssetLibraryFeature.InAppEvents => "IN_APP_EVENTS", + AppAssetLibraryFeature.InAppPurchases => "IN_APP_PURCHASES", + AppAssetLibraryFeature.ProductPageOptimizations => "PRODUCT_PAGE_OPTIMIZATIONS", + AppAssetLibraryFeature.RetentionMessaging => "RETENTION_MESSAGING", + AppAssetLibraryFeature.Subscriptions => "SUBSCRIPTIONS", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryFeature? ToEnum(string value) + { + return value switch + { + "APPLE_ADS" => AppAssetLibraryFeature.AppleAds, + "APP_CLIPS" => AppAssetLibraryFeature.AppClips, + "APP_STORE_VERSIONS" => AppAssetLibraryFeature.AppStoreVersions, + "CUSTOM_PRODUCT_PAGES" => AppAssetLibraryFeature.CustomProductPages, + "GAME_CENTER" => AppAssetLibraryFeature.GameCenter, + "IN_APP_EVENTS" => AppAssetLibraryFeature.InAppEvents, + "IN_APP_PURCHASES" => AppAssetLibraryFeature.InAppPurchases, + "PRODUCT_PAGE_OPTIMIZATIONS" => AppAssetLibraryFeature.ProductPageOptimizations, + "RETENTION_MESSAGING" => AppAssetLibraryFeature.RetentionMessaging, + "SUBSCRIPTIONS" => AppAssetLibraryFeature.Subscriptions, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImage.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImage.Json.g.cs new file mode 100644 index 000000000..821a597b5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImage.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImage + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImage? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImage), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImage; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImage? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImage? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImage), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImage; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImage.g.cs new file mode 100644 index 000000000..0144af0e1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImage.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImage + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryImageTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryImageType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AttributesJsonConverter))] + public global::AppStoreConnect.Attributes? Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + public global::AppStoreConnect.AppAssetLibraryImageRelationships? Relationships { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.ResourceLinks? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImage( + string id, + global::AppStoreConnect.AppAssetLibraryImageType type, + global::AppStoreConnect.Attributes? attributes, + global::AppStoreConnect.AppAssetLibraryImageRelationships? relationships, + global::AppStoreConnect.ResourceLinks? links) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Attributes = attributes; + this.Relationships = relationships; + this.Links = links; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImage() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributes.Json.g.cs new file mode 100644 index 000000000..b66a714b8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageAcceptedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributes.g.cs new file mode 100644 index 000000000..2cfafaf9c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageAcceptedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryImageAcceptedAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryImageAcceptedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageAcceptedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageAcceptedAttributesVariant2 => AppAssetLibraryImageAcceptedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageAcceptedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryImageAcceptedAttributesVariant2; + return IsAppAssetLibraryImageAcceptedAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryImageAcceptedAttributesVariant2() => AppAssetLibraryImageAcceptedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageAcceptedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageAcceptedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageAcceptedAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageAcceptedAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageAcceptedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageAcceptedAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageAcceptedAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageAcceptedAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + object? appAssetLibraryImageAcceptedAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageAcceptedAttributesVariant2 = appAssetLibraryImageAcceptedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageAcceptedAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageAcceptedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageAcceptedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageAcceptedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageAcceptedAttributesVariant2 is { } __value1 && appAssetLibraryImageAcceptedAttributesVariant2 != null) + { + return appAssetLibraryImageAcceptedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageAcceptedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageAcceptedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageAcceptedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageAcceptedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageAcceptedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageAcceptedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageAcceptedAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageAcceptedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageAcceptedAttributesVariant2, other.AppAssetLibraryImageAcceptedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageAcceptedAttributes obj1, AppAssetLibraryImageAcceptedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageAcceptedAttributes obj1, AppAssetLibraryImageAcceptedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageAcceptedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..93c134545 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageAcceptedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributesVariant2.g.cs new file mode 100644 index 000000000..ea5ace251 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAcceptedAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageAcceptedAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributes.Json.g.cs new file mode 100644 index 000000000..3f6e11078 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageApprovedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributes.g.cs new file mode 100644 index 000000000..ae8ea72bf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageApprovedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryImageApprovedAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryImageApprovedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageApprovedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageApprovedAttributesVariant2 => AppAssetLibraryImageApprovedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageApprovedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryImageApprovedAttributesVariant2; + return IsAppAssetLibraryImageApprovedAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryImageApprovedAttributesVariant2() => AppAssetLibraryImageApprovedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageApprovedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageApprovedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageApprovedAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageApprovedAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageApprovedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageApprovedAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageApprovedAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageApprovedAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + object? appAssetLibraryImageApprovedAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageApprovedAttributesVariant2 = appAssetLibraryImageApprovedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageApprovedAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageApprovedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageApprovedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageApprovedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageApprovedAttributesVariant2 is { } __value1 && appAssetLibraryImageApprovedAttributesVariant2 != null) + { + return appAssetLibraryImageApprovedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageApprovedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageApprovedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageApprovedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageApprovedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageApprovedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageApprovedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageApprovedAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageApprovedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageApprovedAttributesVariant2, other.AppAssetLibraryImageApprovedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageApprovedAttributes obj1, AppAssetLibraryImageApprovedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageApprovedAttributes obj1, AppAssetLibraryImageApprovedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageApprovedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..42f06c08b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageApprovedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageApprovedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageApprovedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageApprovedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageApprovedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageApprovedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributesVariant2.g.cs new file mode 100644 index 000000000..f5ee6bc95 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageApprovedAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageApprovedAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributes.Json.g.cs new file mode 100644 index 000000000..f9545e5d6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageArchivedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributes.g.cs new file mode 100644 index 000000000..882d385fa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageArchivedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryImageArchivedAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryImageArchivedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageArchivedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageArchivedAttributesVariant2 => AppAssetLibraryImageArchivedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageArchivedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryImageArchivedAttributesVariant2; + return IsAppAssetLibraryImageArchivedAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryImageArchivedAttributesVariant2() => AppAssetLibraryImageArchivedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageArchivedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageArchivedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageArchivedAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageArchivedAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageArchivedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageArchivedAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageArchivedAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageArchivedAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + object? appAssetLibraryImageArchivedAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageArchivedAttributesVariant2 = appAssetLibraryImageArchivedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageArchivedAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageArchivedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageArchivedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageArchivedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageArchivedAttributesVariant2 is { } __value1 && appAssetLibraryImageArchivedAttributesVariant2 != null) + { + return appAssetLibraryImageArchivedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageArchivedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageArchivedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageArchivedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageArchivedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageArchivedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageArchivedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageArchivedAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageArchivedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageArchivedAttributesVariant2, other.AppAssetLibraryImageArchivedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageArchivedAttributes obj1, AppAssetLibraryImageArchivedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageArchivedAttributes obj1, AppAssetLibraryImageArchivedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageArchivedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..c19add25e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageArchivedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageArchivedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageArchivedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageArchivedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageArchivedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageArchivedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributesVariant2.g.cs new file mode 100644 index 000000000..f9dc14639 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageArchivedAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageArchivedAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminator.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminator.Json.g.cs new file mode 100644 index 000000000..5756a7a8b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageAttributesDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminator.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminator.g.cs new file mode 100644 index 000000000..9b1c62107 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageAttributesDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorStateJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState? State { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageAttributesDiscriminator( + global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState? state) + { + this.State = state; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageAttributesDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminatorState.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminatorState.g.cs new file mode 100644 index 000000000..9276eea22 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAttributesDiscriminatorState.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImageAttributesDiscriminatorState + { + /// + /// + /// + Accepted, + /// + /// + /// + Approved, + /// + /// + /// + Archived, + /// + /// + /// + AwaitingUpload, + /// + /// + /// + Complete, + /// + /// + /// + Failed, + /// + /// + /// + InReview, + /// + /// + /// + PrepareForSubmission, + /// + /// + /// + ReadyForReview, + /// + /// + /// + Rejected, + /// + /// + /// + UploadComplete, + /// + /// + /// + WaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImageAttributesDiscriminatorStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImageAttributesDiscriminatorState value) + { + return value switch + { + AppAssetLibraryImageAttributesDiscriminatorState.Accepted => "ACCEPTED", + AppAssetLibraryImageAttributesDiscriminatorState.Approved => "APPROVED", + AppAssetLibraryImageAttributesDiscriminatorState.Archived => "ARCHIVED", + AppAssetLibraryImageAttributesDiscriminatorState.AwaitingUpload => "AWAITING_UPLOAD", + AppAssetLibraryImageAttributesDiscriminatorState.Complete => "COMPLETE", + AppAssetLibraryImageAttributesDiscriminatorState.Failed => "FAILED", + AppAssetLibraryImageAttributesDiscriminatorState.InReview => "IN_REVIEW", + AppAssetLibraryImageAttributesDiscriminatorState.PrepareForSubmission => "PREPARE_FOR_SUBMISSION", + AppAssetLibraryImageAttributesDiscriminatorState.ReadyForReview => "READY_FOR_REVIEW", + AppAssetLibraryImageAttributesDiscriminatorState.Rejected => "REJECTED", + AppAssetLibraryImageAttributesDiscriminatorState.UploadComplete => "UPLOAD_COMPLETE", + AppAssetLibraryImageAttributesDiscriminatorState.WaitingForReview => "WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImageAttributesDiscriminatorState? ToEnum(string value) + { + return value switch + { + "ACCEPTED" => AppAssetLibraryImageAttributesDiscriminatorState.Accepted, + "APPROVED" => AppAssetLibraryImageAttributesDiscriminatorState.Approved, + "ARCHIVED" => AppAssetLibraryImageAttributesDiscriminatorState.Archived, + "AWAITING_UPLOAD" => AppAssetLibraryImageAttributesDiscriminatorState.AwaitingUpload, + "COMPLETE" => AppAssetLibraryImageAttributesDiscriminatorState.Complete, + "FAILED" => AppAssetLibraryImageAttributesDiscriminatorState.Failed, + "IN_REVIEW" => AppAssetLibraryImageAttributesDiscriminatorState.InReview, + "PREPARE_FOR_SUBMISSION" => AppAssetLibraryImageAttributesDiscriminatorState.PrepareForSubmission, + "READY_FOR_REVIEW" => AppAssetLibraryImageAttributesDiscriminatorState.ReadyForReview, + "REJECTED" => AppAssetLibraryImageAttributesDiscriminatorState.Rejected, + "UPLOAD_COMPLETE" => AppAssetLibraryImageAttributesDiscriminatorState.UploadComplete, + "WAITING_FOR_REVIEW" => AppAssetLibraryImageAttributesDiscriminatorState.WaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributes.Json.g.cs new file mode 100644 index 000000000..7edc05394 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageAwaitingUploadAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributes.g.cs new file mode 100644 index 000000000..88f53b45c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributes.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageAwaitingUploadAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? AppAssetLibraryImageAwaitingUploadAttributesVariant2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? AppAssetLibraryImageAwaitingUploadAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageAwaitingUploadAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageAwaitingUploadAttributesVariant2 => AppAssetLibraryImageAwaitingUploadAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageAwaitingUploadAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? value) + { + value = AppAssetLibraryImageAwaitingUploadAttributesVariant2; + return IsAppAssetLibraryImageAwaitingUploadAttributesVariant2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2 PickAppAssetLibraryImageAwaitingUploadAttributesVariant2() => AppAssetLibraryImageAwaitingUploadAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageAwaitingUploadAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageAwaitingUploadAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageAwaitingUploadAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageAwaitingUploadAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageAwaitingUploadAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageAwaitingUploadAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageAwaitingUploadAttributes(value); + + /// + /// + /// + public static implicit operator AppAssetLibraryImageAwaitingUploadAttributes(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2 value) => new AppAssetLibraryImageAwaitingUploadAttributes((global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2?(AppAssetLibraryImageAwaitingUploadAttributes @this) => @this.AppAssetLibraryImageAwaitingUploadAttributesVariant2; + + /// + /// + /// + public AppAssetLibraryImageAwaitingUploadAttributes(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? value) + { + AppAssetLibraryImageAwaitingUploadAttributesVariant2 = value; + } + + /// + /// + /// + public static AppAssetLibraryImageAwaitingUploadAttributes FromAppAssetLibraryImageAwaitingUploadAttributesVariant2(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? value) => new AppAssetLibraryImageAwaitingUploadAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageAwaitingUploadAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? appAssetLibraryImageAwaitingUploadAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageAwaitingUploadAttributesVariant2 = appAssetLibraryImageAwaitingUploadAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageAwaitingUploadAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageAwaitingUploadAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageAwaitingUploadAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageAwaitingUploadAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageAwaitingUploadAttributesVariant2 is { } __value1 && appAssetLibraryImageAwaitingUploadAttributesVariant2 != null) + { + return appAssetLibraryImageAwaitingUploadAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageAwaitingUploadAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageAwaitingUploadAttributesVariant2 is { } __value1) + { + appAssetLibraryImageAwaitingUploadAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageAwaitingUploadAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageAwaitingUploadAttributesVariant2 is { } __value1) + { + appAssetLibraryImageAwaitingUploadAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageAwaitingUploadAttributesVariant2, + typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageAwaitingUploadAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageAwaitingUploadAttributesVariant2, other.AppAssetLibraryImageAwaitingUploadAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageAwaitingUploadAttributes obj1, AppAssetLibraryImageAwaitingUploadAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageAwaitingUploadAttributes obj1, AppAssetLibraryImageAwaitingUploadAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageAwaitingUploadAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..1865a96e6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageAwaitingUploadAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributesVariant2.g.cs new file mode 100644 index 000000000..28028123d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageAwaitingUploadAttributesVariant2.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageAwaitingUploadAttributesVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploadOperations")] + public global::System.Collections.Generic.IList? UploadOperations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageAwaitingUploadAttributesVariant2( + global::System.Collections.Generic.IList? uploadOperations) + { + this.UploadOperations = uploadOperations; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageAwaitingUploadAttributesVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCommonAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCommonAttributes.Json.g.cs new file mode 100644 index 000000000..a9a6f6502 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCommonAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageCommonAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageCommonAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageCommonAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCommonAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCommonAttributes.g.cs new file mode 100644 index 000000000..4aa509dd2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCommonAttributes.g.cs @@ -0,0 +1,128 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageCommonAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("category")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryAssetCategory? Category { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("createdDate")] + public global::System.DateTime? CreatedDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastModifiedDate")] + public global::System.DateTime? LastModifiedDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileName")] + public string? FileName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileSize")] + public long? FileSize { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("imageAsset")] + public global::AppStoreConnect.ImageAsset? ImageAsset { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("referenceName")] + public string? ReferenceName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("specId")] + public string? SpecId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryAssetState State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stateDetails")] + public global::System.Collections.Generic.IList? StateDetails { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageCommonAttributes( + global::AppStoreConnect.AppAssetLibraryAssetState state, + global::AppStoreConnect.AppAssetLibraryAssetCategory? category, + global::System.DateTime? createdDate, + global::System.DateTime? lastModifiedDate, + string? fileName, + long? fileSize, + global::AppStoreConnect.ImageAsset? imageAsset, + string? referenceName, + string? specId, + global::System.Collections.Generic.IList? stateDetails) + { + this.Category = category; + this.CreatedDate = createdDate; + this.LastModifiedDate = lastModifiedDate; + this.FileName = fileName; + this.FileSize = fileSize; + this.ImageAsset = imageAsset; + this.ReferenceName = referenceName; + this.SpecId = specId; + this.State = state; + this.StateDetails = stateDetails; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageCommonAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequest.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequest.Json.g.cs new file mode 100644 index 000000000..16e033d95 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageCreateRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequest), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageCreateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequest? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageCreateRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequest.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequest.g.cs new file mode 100644 index 000000000..aa9c8b544 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequest.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageCreateRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryImageCreateRequestData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageCreateRequest( + global::AppStoreConnect.AppAssetLibraryImageCreateRequestData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageCreateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestData.Json.g.cs new file mode 100644 index 000000000..3734a035d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageCreateRequestData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestData.g.cs new file mode 100644 index 000000000..e7565d699 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestData.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageCreateRequestData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageCreateRequestData( + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes attributes, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships relationships, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataType type) + { + this.Type = type; + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageCreateRequestData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataAttributes.Json.g.cs new file mode 100644 index 000000000..ff98ca876 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageCreateRequestDataAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataAttributes.g.cs new file mode 100644 index 000000000..2dc78038b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataAttributes.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageCreateRequestDataAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("category")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryAssetCategory Category { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileName")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string FileName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileSize")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long FileSize { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("referenceName")] + public string? ReferenceName { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageCreateRequestDataAttributes( + global::AppStoreConnect.AppAssetLibraryAssetCategory category, + string fileName, + long fileSize, + string? referenceName) + { + this.Category = category; + this.FileName = fileName ?? throw new global::System.ArgumentNullException(nameof(fileName)); + this.FileSize = fileSize; + this.ReferenceName = referenceName; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageCreateRequestDataAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationships.Json.g.cs new file mode 100644 index 000000000..3fd3d8055 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationships.g.cs new file mode 100644 index 000000000..48e9478df --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationships.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationships + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assetLibrary")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary AssetLibrary { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements? Placements { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageCreateRequestDataRelationships( + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary assetLibrary, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements? placements) + { + this.AssetLibrary = assetLibrary ?? throw new global::System.ArgumentNullException(nameof(assetLibrary)); + this.Placements = placements; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageCreateRequestDataRelationships() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary.Json.g.cs new file mode 100644 index 000000000..64ab14ed6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary.g.cs new file mode 100644 index 000000000..c80ac9928 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary( + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibrary() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData.Json.g.cs new file mode 100644 index 000000000..b484b5fd9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData.g.cs new file mode 100644 index 000000000..f1432fb26 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData( + string id, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.g.cs new file mode 100644 index 000000000..76476b832 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType + { + /// + /// + /// + AppAssetLibraries, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType value) + { + return value switch + { + AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.AppAssetLibraries => "appAssetLibraries", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraries" => AppAssetLibraryImageCreateRequestDataRelationshipsAssetLibraryDataType.AppAssetLibraries, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..050ca9d82 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements.g.cs new file mode 100644 index 000000000..3d070a3fa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacements.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageCreateRequestDataRelationshipsPlacements( + global::System.Collections.Generic.IList? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageCreateRequestDataRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..ffe9d7d69 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..02e76fb68 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..752cd24bc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryImageCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataType.g.cs new file mode 100644 index 000000000..b7911990c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageCreateRequestDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImageCreateRequestDataType + { + /// + /// + /// + AppAssetLibraryImages, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImageCreateRequestDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImageCreateRequestDataType value) + { + return value switch + { + AppAssetLibraryImageCreateRequestDataType.AppAssetLibraryImages => "appAssetLibraryImages", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImageCreateRequestDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => AppAssetLibraryImageCreateRequestDataType.AppAssetLibraryImages, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributes.Json.g.cs new file mode 100644 index 000000000..7ea49ecf8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageFailedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageFailedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageFailedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributes.g.cs new file mode 100644 index 000000000..4ece54017 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributes.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageFailedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? AppAssetLibraryImageFailedAttributesVariant2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? AppAssetLibraryImageFailedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageFailedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageFailedAttributesVariant2 => AppAssetLibraryImageFailedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageFailedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? value) + { + value = AppAssetLibraryImageFailedAttributesVariant2; + return IsAppAssetLibraryImageFailedAttributesVariant2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2 PickAppAssetLibraryImageFailedAttributesVariant2() => AppAssetLibraryImageFailedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageFailedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageFailedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageFailedAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageFailedAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageFailedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageFailedAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageFailedAttributes(value); + + /// + /// + /// + public static implicit operator AppAssetLibraryImageFailedAttributes(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2 value) => new AppAssetLibraryImageFailedAttributes((global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2?(AppAssetLibraryImageFailedAttributes @this) => @this.AppAssetLibraryImageFailedAttributesVariant2; + + /// + /// + /// + public AppAssetLibraryImageFailedAttributes(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? value) + { + AppAssetLibraryImageFailedAttributesVariant2 = value; + } + + /// + /// + /// + public static AppAssetLibraryImageFailedAttributes FromAppAssetLibraryImageFailedAttributesVariant2(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? value) => new AppAssetLibraryImageFailedAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageFailedAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? appAssetLibraryImageFailedAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageFailedAttributesVariant2 = appAssetLibraryImageFailedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageFailedAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageFailedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageFailedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageFailedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageFailedAttributesVariant2 is { } __value1 && appAssetLibraryImageFailedAttributesVariant2 != null) + { + return appAssetLibraryImageFailedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageFailedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageFailedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageFailedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageFailedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageFailedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageFailedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageFailedAttributesVariant2, + typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageFailedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageFailedAttributesVariant2, other.AppAssetLibraryImageFailedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageFailedAttributes obj1, AppAssetLibraryImageFailedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageFailedAttributes obj1, AppAssetLibraryImageFailedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageFailedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..17f437d16 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageFailedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributesVariant2.g.cs new file mode 100644 index 000000000..8f678c2cc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageFailedAttributesVariant2.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageFailedAttributesVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploadOperations")] + public global::System.Collections.Generic.IList? UploadOperations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageFailedAttributesVariant2( + global::System.Collections.Generic.IList? uploadOperations) + { + this.UploadOperations = uploadOperations; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageFailedAttributesVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributes.Json.g.cs new file mode 100644 index 000000000..fe5e0ab07 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageInReviewAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributes.g.cs new file mode 100644 index 000000000..2e33fef9a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageInReviewAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryImageInReviewAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryImageInReviewAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageInReviewAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageInReviewAttributesVariant2 => AppAssetLibraryImageInReviewAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageInReviewAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryImageInReviewAttributesVariant2; + return IsAppAssetLibraryImageInReviewAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryImageInReviewAttributesVariant2() => AppAssetLibraryImageInReviewAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageInReviewAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageInReviewAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageInReviewAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageInReviewAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageInReviewAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageInReviewAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageInReviewAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageInReviewAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + object? appAssetLibraryImageInReviewAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageInReviewAttributesVariant2 = appAssetLibraryImageInReviewAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageInReviewAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageInReviewAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageInReviewAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageInReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageInReviewAttributesVariant2 is { } __value1 && appAssetLibraryImageInReviewAttributesVariant2 != null) + { + return appAssetLibraryImageInReviewAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageInReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageInReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryImageInReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageInReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageInReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryImageInReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageInReviewAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageInReviewAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageInReviewAttributesVariant2, other.AppAssetLibraryImageInReviewAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageInReviewAttributes obj1, AppAssetLibraryImageInReviewAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageInReviewAttributes obj1, AppAssetLibraryImageInReviewAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageInReviewAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..2ee1ebba7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageInReviewAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageInReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageInReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageInReviewAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageInReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageInReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributesVariant2.g.cs new file mode 100644 index 000000000..603259dd2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageInReviewAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageInReviewAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponse.Json.g.cs new file mode 100644 index 000000000..39574b6d9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImagePlacementsLinkagesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponse.g.cs new file mode 100644 index 000000000..7898e7ecd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImagePlacementsLinkagesResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImagePlacementsLinkagesResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImagePlacementsLinkagesResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItem.Json.g.cs new file mode 100644 index 000000000..367ef2a5b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImagePlacementsLinkagesResponseDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItem.g.cs new file mode 100644 index 000000000..b15e96d19 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImagePlacementsLinkagesResponseDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImagePlacementsLinkagesResponseDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImagePlacementsLinkagesResponseDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..49fd6c250 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagePlacementsLinkagesResponseDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagePlacementsLinkagesResponseDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagePlacementsLinkagesResponseDataItemType value) + { + return value switch + { + AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagePlacementsLinkagesResponseDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryImagePlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributes.Json.g.cs new file mode 100644 index 000000000..1dca7a7cc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageReadyForReviewAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributes.g.cs new file mode 100644 index 000000000..33ecf6d7e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageReadyForReviewAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryImageReadyForReviewAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryImageReadyForReviewAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageReadyForReviewAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageReadyForReviewAttributesVariant2 => AppAssetLibraryImageReadyForReviewAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageReadyForReviewAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryImageReadyForReviewAttributesVariant2; + return IsAppAssetLibraryImageReadyForReviewAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryImageReadyForReviewAttributesVariant2() => AppAssetLibraryImageReadyForReviewAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageReadyForReviewAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageReadyForReviewAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageReadyForReviewAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageReadyForReviewAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageReadyForReviewAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageReadyForReviewAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageReadyForReviewAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageReadyForReviewAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + object? appAssetLibraryImageReadyForReviewAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageReadyForReviewAttributesVariant2 = appAssetLibraryImageReadyForReviewAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageReadyForReviewAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageReadyForReviewAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageReadyForReviewAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageReadyForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageReadyForReviewAttributesVariant2 is { } __value1 && appAssetLibraryImageReadyForReviewAttributesVariant2 != null) + { + return appAssetLibraryImageReadyForReviewAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageReadyForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageReadyForReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryImageReadyForReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageReadyForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageReadyForReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryImageReadyForReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageReadyForReviewAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageReadyForReviewAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageReadyForReviewAttributesVariant2, other.AppAssetLibraryImageReadyForReviewAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageReadyForReviewAttributes obj1, AppAssetLibraryImageReadyForReviewAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageReadyForReviewAttributes obj1, AppAssetLibraryImageReadyForReviewAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageReadyForReviewAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..8bf30475e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageReadyForReviewAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributesVariant2.g.cs new file mode 100644 index 000000000..cb4d576f2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageReadyForReviewAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageReadyForReviewAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributes.Json.g.cs new file mode 100644 index 000000000..a7feee600 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageRejectedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributes.g.cs new file mode 100644 index 000000000..f66cdff70 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageRejectedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryImageRejectedAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryImageRejectedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageRejectedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageRejectedAttributesVariant2 => AppAssetLibraryImageRejectedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageRejectedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryImageRejectedAttributesVariant2; + return IsAppAssetLibraryImageRejectedAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryImageRejectedAttributesVariant2() => AppAssetLibraryImageRejectedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageRejectedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageRejectedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageRejectedAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageRejectedAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageRejectedAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageRejectedAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageRejectedAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageRejectedAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + object? appAssetLibraryImageRejectedAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageRejectedAttributesVariant2 = appAssetLibraryImageRejectedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageRejectedAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageRejectedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageRejectedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageRejectedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageRejectedAttributesVariant2 is { } __value1 && appAssetLibraryImageRejectedAttributesVariant2 != null) + { + return appAssetLibraryImageRejectedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageRejectedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageRejectedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageRejectedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageRejectedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageRejectedAttributesVariant2 is { } __value1) + { + appAssetLibraryImageRejectedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageRejectedAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageRejectedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageRejectedAttributesVariant2, other.AppAssetLibraryImageRejectedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageRejectedAttributes obj1, AppAssetLibraryImageRejectedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageRejectedAttributes obj1, AppAssetLibraryImageRejectedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageRejectedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..4d958d43a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageRejectedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRejectedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageRejectedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRejectedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageRejectedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageRejectedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributesVariant2.g.cs new file mode 100644 index 000000000..f63add247 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRejectedAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageRejectedAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationships.Json.g.cs new file mode 100644 index 000000000..491a5548d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationships.g.cs new file mode 100644 index 000000000..f61b9ebce --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationships.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageRelationships + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements? Placements { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageRelationships( + global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements? placements) + { + this.Placements = placements; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageRelationships() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..285d552ab --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacements.g.cs new file mode 100644 index 000000000..498212a10 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacements.g.cs @@ -0,0 +1,62 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.RelationshipLinks? Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageRelationshipsPlacements( + global::AppStoreConnect.RelationshipLinks? links, + global::AppStoreConnect.PagingInformation? meta, + global::System.Collections.Generic.IList? data) + { + this.Links = links; + this.Meta = meta; + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..6d7aa8eca --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..9bcd57312 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..9afe362fc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImageRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImageRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImageRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppAssetLibraryImageRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImageRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryImageRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageResponse.Json.g.cs new file mode 100644 index 000000000..825ea2438 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageResponse.g.cs new file mode 100644 index 000000000..cf6fc8cfb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryImage Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("included")] + public global::System.Collections.Generic.IList? Included { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.DocumentLinks Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageResponse( + global::AppStoreConnect.AppAssetLibraryImage data, + global::AppStoreConnect.DocumentLinks links, + global::System.Collections.Generic.IList? included) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Included = included; + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageType.g.cs new file mode 100644 index 000000000..0b168ed86 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImageType + { + /// + /// + /// + AppAssetLibraryImages, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImageTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImageType value) + { + return value switch + { + AppAssetLibraryImageType.AppAssetLibraryImages => "appAssetLibraryImages", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImageType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => AppAssetLibraryImageType.AppAssetLibraryImages, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequest.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequest.Json.g.cs new file mode 100644 index 000000000..0b1bf4e6e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageUpdateRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUpdateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequest), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageUpdateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUpdateRequest? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageUpdateRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageUpdateRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequest.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequest.g.cs new file mode 100644 index 000000000..db35fec70 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequest.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageUpdateRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageUpdateRequest( + global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageUpdateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestData.Json.g.cs new file mode 100644 index 000000000..36bc17a8f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageUpdateRequestData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageUpdateRequestData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestData.g.cs new file mode 100644 index 000000000..e26c75079 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestData.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageUpdateRequestData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryImageUpdateRequestDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + public global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes? Attributes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageUpdateRequestData( + string id, + global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataType type, + global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes? attributes) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Attributes = attributes; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageUpdateRequestData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataAttributes.Json.g.cs new file mode 100644 index 000000000..60703d969 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageUpdateRequestDataAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageUpdateRequestDataAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataAttributes.g.cs new file mode 100644 index 000000000..ccabfba4f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataAttributes.g.cs @@ -0,0 +1,62 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageUpdateRequestDataAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("archived")] + public bool? Archived { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("referenceName")] + public string? ReferenceName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploaded")] + public bool? Uploaded { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageUpdateRequestDataAttributes( + bool? archived, + string? referenceName, + bool? uploaded) + { + this.Archived = archived; + this.ReferenceName = referenceName; + this.Uploaded = uploaded; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageUpdateRequestDataAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataType.g.cs new file mode 100644 index 000000000..6c4df74aa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUpdateRequestDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImageUpdateRequestDataType + { + /// + /// + /// + AppAssetLibraryImages, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImageUpdateRequestDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImageUpdateRequestDataType value) + { + return value switch + { + AppAssetLibraryImageUpdateRequestDataType.AppAssetLibraryImages => "appAssetLibraryImages", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImageUpdateRequestDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => AppAssetLibraryImageUpdateRequestDataType.AppAssetLibraryImages, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributes.Json.g.cs new file mode 100644 index 000000000..f1da29a3f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageUploadCompleteAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributes.g.cs new file mode 100644 index 000000000..e766549ef --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributes.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageUploadCompleteAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? AppAssetLibraryImageUploadCompleteAttributesVariant2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? AppAssetLibraryImageUploadCompleteAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageUploadCompleteAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageUploadCompleteAttributesVariant2 => AppAssetLibraryImageUploadCompleteAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageUploadCompleteAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? value) + { + value = AppAssetLibraryImageUploadCompleteAttributesVariant2; + return IsAppAssetLibraryImageUploadCompleteAttributesVariant2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2 PickAppAssetLibraryImageUploadCompleteAttributesVariant2() => AppAssetLibraryImageUploadCompleteAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageUploadCompleteAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageUploadCompleteAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageUploadCompleteAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageUploadCompleteAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageUploadCompleteAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageUploadCompleteAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageUploadCompleteAttributes(value); + + /// + /// + /// + public static implicit operator AppAssetLibraryImageUploadCompleteAttributes(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2 value) => new AppAssetLibraryImageUploadCompleteAttributes((global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2?(AppAssetLibraryImageUploadCompleteAttributes @this) => @this.AppAssetLibraryImageUploadCompleteAttributesVariant2; + + /// + /// + /// + public AppAssetLibraryImageUploadCompleteAttributes(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? value) + { + AppAssetLibraryImageUploadCompleteAttributesVariant2 = value; + } + + /// + /// + /// + public static AppAssetLibraryImageUploadCompleteAttributes FromAppAssetLibraryImageUploadCompleteAttributesVariant2(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? value) => new AppAssetLibraryImageUploadCompleteAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageUploadCompleteAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? appAssetLibraryImageUploadCompleteAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageUploadCompleteAttributesVariant2 = appAssetLibraryImageUploadCompleteAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageUploadCompleteAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageUploadCompleteAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageUploadCompleteAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageUploadCompleteAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageUploadCompleteAttributesVariant2 is { } __value1 && appAssetLibraryImageUploadCompleteAttributesVariant2 != null) + { + return appAssetLibraryImageUploadCompleteAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageUploadCompleteAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageUploadCompleteAttributesVariant2 is { } __value1) + { + appAssetLibraryImageUploadCompleteAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageUploadCompleteAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageUploadCompleteAttributesVariant2 is { } __value1) + { + appAssetLibraryImageUploadCompleteAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageUploadCompleteAttributesVariant2, + typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageUploadCompleteAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageUploadCompleteAttributesVariant2, other.AppAssetLibraryImageUploadCompleteAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageUploadCompleteAttributes obj1, AppAssetLibraryImageUploadCompleteAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageUploadCompleteAttributes obj1, AppAssetLibraryImageUploadCompleteAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageUploadCompleteAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..4fa07b8de --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageUploadCompleteAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributesVariant2.g.cs new file mode 100644 index 000000000..9460c54b8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageUploadCompleteAttributesVariant2.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageUploadCompleteAttributesVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploadOperations")] + public global::System.Collections.Generic.IList? UploadOperations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImageUploadCompleteAttributesVariant2( + global::System.Collections.Generic.IList? uploadOperations) + { + this.UploadOperations = uploadOperations; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImageUploadCompleteAttributesVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributes.Json.g.cs new file mode 100644 index 000000000..26467e0db --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryImageWaitingForReviewAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributes.g.cs new file mode 100644 index 000000000..a30ebfc51 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryImageWaitingForReviewAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? AppAssetLibraryImageCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageCommonAttributes))] +#endif + public bool IsAppAssetLibraryImageCommonAttributes => AppAssetLibraryImageCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = AppAssetLibraryImageCommonAttributes; + return IsAppAssetLibraryImageCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickAppAssetLibraryImageCommonAttributes() => AppAssetLibraryImageCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryImageWaitingForReviewAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryImageWaitingForReviewAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImageWaitingForReviewAttributesVariant2))] +#endif + public bool IsAppAssetLibraryImageWaitingForReviewAttributesVariant2 => AppAssetLibraryImageWaitingForReviewAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryImageWaitingForReviewAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryImageWaitingForReviewAttributesVariant2; + return IsAppAssetLibraryImageWaitingForReviewAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryImageWaitingForReviewAttributesVariant2() => AppAssetLibraryImageWaitingForReviewAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImageWaitingForReviewAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryImageWaitingForReviewAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new AppAssetLibraryImageWaitingForReviewAttributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(AppAssetLibraryImageWaitingForReviewAttributes @this) => @this.AppAssetLibraryImageCommonAttributes; + + /// + /// + /// + public AppAssetLibraryImageWaitingForReviewAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + AppAssetLibraryImageCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryImageWaitingForReviewAttributes FromAppAssetLibraryImageCommonAttributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new AppAssetLibraryImageWaitingForReviewAttributes(value); + + /// + /// + /// + public AppAssetLibraryImageWaitingForReviewAttributes( + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? appAssetLibraryImageCommonAttributes, + object? appAssetLibraryImageWaitingForReviewAttributesVariant2 + ) + { + AppAssetLibraryImageCommonAttributes = appAssetLibraryImageCommonAttributes; + AppAssetLibraryImageWaitingForReviewAttributesVariant2 = appAssetLibraryImageWaitingForReviewAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryImageWaitingForReviewAttributesVariant2 as object ?? + AppAssetLibraryImageCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryImageCommonAttributes?.ToString() ?? + AppAssetLibraryImageWaitingForReviewAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryImageCommonAttributes && IsAppAssetLibraryImageWaitingForReviewAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryImageCommonAttributes = null, + global::System.Func? appAssetLibraryImageWaitingForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0 && appAssetLibraryImageCommonAttributes != null) + { + return appAssetLibraryImageCommonAttributes(__value0); + } + else if (AppAssetLibraryImageWaitingForReviewAttributesVariant2 is { } __value1 && appAssetLibraryImageWaitingForReviewAttributesVariant2 != null) + { + return appAssetLibraryImageWaitingForReviewAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + + global::System.Action? appAssetLibraryImageWaitingForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageWaitingForReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryImageWaitingForReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryImageCommonAttributes = null, + global::System.Action? appAssetLibraryImageWaitingForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryImageCommonAttributes is { } __value0) + { + appAssetLibraryImageCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryImageWaitingForReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryImageWaitingForReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryImageCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + AppAssetLibraryImageWaitingForReviewAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryImageWaitingForReviewAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageCommonAttributes, other.AppAssetLibraryImageCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImageWaitingForReviewAttributesVariant2, other.AppAssetLibraryImageWaitingForReviewAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryImageWaitingForReviewAttributes obj1, AppAssetLibraryImageWaitingForReviewAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryImageWaitingForReviewAttributes obj1, AppAssetLibraryImageWaitingForReviewAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryImageWaitingForReviewAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..96e58fbe9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImageWaitingForReviewAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributesVariant2.g.cs new file mode 100644 index 000000000..5e174cfea --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImageWaitingForReviewAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImageWaitingForReviewAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..908040f33 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage value) + { + return value switch + { + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.Category => "category", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.FileName => "fileName", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.FileSize => "fileSize", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.Placements => "placements", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.SpecId => "specId", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.State => "state", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.Category, + "createdDate" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.FileName, + "fileSize" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.Placements, + "referenceName" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.ReferenceName, + "specId" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.SpecId, + "state" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.State, + "stateDetails" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..e1c806155 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.Image => "image", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.State => "state", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppAssetLibraryImagesGetInstanceFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceIncludeItem.g.cs new file mode 100644 index 000000000..370578951 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesGetInstanceIncludeItem.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesGetInstanceIncludeItem + { + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesGetInstanceIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesGetInstanceIncludeItem value) + { + return value switch + { + AppAssetLibraryImagesGetInstanceIncludeItem.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesGetInstanceIncludeItem? ToEnum(string value) + { + return value switch + { + "placements" => AppAssetLibraryImagesGetInstanceIncludeItem.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponse.Json.g.cs new file mode 100644 index 000000000..01f6170a7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImagesLinkagesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponse.g.cs new file mode 100644 index 000000000..f85a36ae6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImagesLinkagesResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImagesLinkagesResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImagesLinkagesResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItem.Json.g.cs new file mode 100644 index 000000000..9b10ea2ee --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImagesLinkagesResponseDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItem.g.cs new file mode 100644 index 000000000..83e398b28 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImagesLinkagesResponseDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryImagesLinkagesResponseDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImagesLinkagesResponseDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryImagesLinkagesResponseDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImagesLinkagesResponseDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..f02387f9f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesLinkagesResponseDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesLinkagesResponseDataItemType + { + /// + /// + /// + AppAssetLibraryImages, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesLinkagesResponseDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesLinkagesResponseDataItemType value) + { + return value switch + { + AppAssetLibraryImagesLinkagesResponseDataItemType.AppAssetLibraryImages => "appAssetLibraryImages", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesLinkagesResponseDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => AppAssetLibraryImagesLinkagesResponseDataItemType.AppAssetLibraryImages, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..877034b1b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category => "category", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName => "fileName", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize => "fileSize", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements => "placements", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId => "specId", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State => "state", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category, + "createdDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName, + "fileSize" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements, + "referenceName" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName, + "specId" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId, + "state" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State, + "stateDetails" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..5fb1636a7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..8162299d1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category => "category", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName => "fileName", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize => "fileSize", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements => "placements", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId => "specId", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State => "state", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category, + "createdDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName, + "fileSize" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId, + "state" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State, + "stateDetails" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..4d50b99fd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization + { + /// + /// + /// + AppCustomProductPageVersion, + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion => "appCustomProductPageVersion", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? ToEnum(string value) + { + return value switch + { + "appCustomProductPageVersion" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion, + "appPreviewSets" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, + "appScreenshotSets" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, + "locale" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, + "promotionalText" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, + "searchKeywords" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..f54f8cebe --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization + { + /// + /// + /// + AppEvent, + /// + /// + /// + AppEventScreenshots, + /// + /// + /// + AppEventVideoClips, + /// + /// + /// + Locale, + /// + /// + /// + LongDescription, + /// + /// + /// + Name, + /// + /// + /// + Placements, + /// + /// + /// + ShortDescription, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent => "appEvent", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots => "appEventScreenshots", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips => "appEventVideoClips", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization? ToEnum(string value) + { + return value switch + { + "appEvent" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent, + "appEventScreenshots" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots, + "appEventVideoClips" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips, + "locale" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale, + "longDescription" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription, + "name" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements, + "shortDescription" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..29f66d5cc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersionExperimentTreatment, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets => "appPreviewSets", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets, + "appScreenshotSets" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, + "appStoreVersionExperimentTreatment" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, + "locale" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..b3794f5d2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersion, + /// + /// + /// + Description, + /// + /// + /// + Keywords, + /// + /// + /// + Locale, + /// + /// + /// + MarketingUrl, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + /// + /// + /// + SupportUrl, + /// + /// + /// + WhatsNew, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets => "appPreviewSets", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets => "appScreenshotSets", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion => "appStoreVersion", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description => "description", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", + AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew => "whatsNew", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets, + "appScreenshotSets" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets, + "appStoreVersion" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion, + "description" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description, + "keywords" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, + "locale" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, + "marketingUrl" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, + "promotionalText" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, + "searchKeywords" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, + "supportUrl" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, + "whatsNew" => AppAssetLibraryImagesPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..8e30ef4df --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem + { + /// + /// + /// + AppPreview, + /// + /// + /// + AppScreenshot, + /// + /// + /// + AppStoreSearchResultsAsset, + /// + /// + /// + EventCardAsset, + /// + /// + /// + EventDetailsPageAsset, + /// + /// + /// + ImessageAppScreenshot, + /// + /// + /// + ProductPageHeaderAsset, + /// + /// + /// + RetentionMessageAsset, + /// + /// + /// + SearchResultsAdsAsset, + /// + /// + /// + TodayTabAdsAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview => "APP_PREVIEW", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot => "APP_SCREENSHOT", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset => "APP_STORE_SEARCH_RESULTS_ASSET", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset => "EVENT_CARD_ASSET", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset => "EVENT_DETAILS_PAGE_ASSET", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot => "IMESSAGE_APP_SCREENSHOT", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset => "PRODUCT_PAGE_HEADER_ASSET", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset => "RETENTION_MESSAGE_ASSET", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset => "SEARCH_RESULTS_ADS_ASSET", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset => "TODAY_TAB_ADS_ASSET", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem? ToEnum(string value) + { + return value switch + { + "APP_PREVIEW" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview, + "APP_SCREENSHOT" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot, + "APP_STORE_SEARCH_RESULTS_ASSET" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset, + "EVENT_CARD_ASSET" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset, + "EVENT_DETAILS_PAGE_ASSET" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset, + "IMESSAGE_APP_SCREENSHOT" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot, + "PRODUCT_PAGE_HEADER_ASSET" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset, + "RETENTION_MESSAGE_ASSET" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset, + "SEARCH_RESULTS_ADS_ASSET" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset, + "TODAY_TAB_ADS_ASSET" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..f21c556da --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem + { + /// + /// + /// + AssetProcessing, + /// + /// + /// + Failed, + /// + /// + /// + ParentApproved, + /// + /// + /// + ParentInReview, + /// + /// + /// + ParentPrepareForSubmission, + /// + /// + /// + ParentReadyForReview, + /// + /// + /// + ParentWaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.AssetProcessing => "ASSET_PROCESSING", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.Failed => "FAILED", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentApproved => "PARENT_APPROVED", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentInReview => "PARENT_IN_REVIEW", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission => "PARENT_PREPARE_FOR_SUBMISSION", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview => "PARENT_READY_FOR_REVIEW", + AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview => "PARENT_WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem? ToEnum(string value) + { + return value switch + { + "ASSET_PROCESSING" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.AssetProcessing, + "FAILED" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.Failed, + "PARENT_APPROVED" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentApproved, + "PARENT_IN_REVIEW" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentInReview, + "PARENT_PREPARE_FOR_SUBMISSION" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission, + "PARENT_READY_FOR_REVIEW" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview, + "PARENT_WAITING_FOR_REVIEW" => AppAssetLibraryImagesPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..0f1b54e68 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + Image, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.AppEventLocalization => "appEventLocalization", + AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.Image => "image", + AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization, + "image" => AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.Image, + "video" => AppAssetLibraryImagesPlacementsGetToManyRelatedIncludeItem.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..04e94095e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem + { + /// + /// + /// + MinuscreatedDate, + /// + /// + /// + MinuslastModifiedDate, + /// + /// + /// + MinusplacementGroupPosition, + /// + /// + /// + CreatedDate, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + PlacementGroupPosition, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryImagesPlacementsGetToManyRelatedSortItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem value) + { + return value switch + { + AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.MinuscreatedDate => "-createdDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate => "-lastModifiedDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition => "-placementGroupPosition", + AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.CreatedDate => "createdDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.PlacementGroupPosition => "placementGroupPosition", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem? ToEnum(string value) + { + return value switch + { + "-createdDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.MinuscreatedDate, + "-lastModifiedDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate, + "-placementGroupPosition" => AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition, + "createdDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.CreatedDate, + "lastModifiedDate" => AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.LastModifiedDate, + "placementGroupPosition" => AppAssetLibraryImagesPlacementsGetToManyRelatedSortItem.PlacementGroupPosition, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesResponse.Json.g.cs new file mode 100644 index 000000000..ed2a8e0cd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryImagesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryImagesResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryImagesResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryImagesResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryImagesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryImagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryImagesResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesResponse.g.cs new file mode 100644 index 000000000..7453747e7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryImagesResponse.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryImagesResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("included")] + public global::System.Collections.Generic.IList? Included { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryImagesResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::System.Collections.Generic.IList? included, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Included = included; + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryImagesResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponse.Json.g.cs new file mode 100644 index 000000000..3672ec371 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryLinkageResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryLinkageResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryLinkageResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryLinkageResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryLinkageResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryLinkageResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponse.g.cs new file mode 100644 index 000000000..3c3d7354d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponse.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryLinkageResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryLinkageResponseData Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.DocumentLinks Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryLinkageResponse( + global::AppStoreConnect.AppAssetLibraryLinkageResponseData data, + global::AppStoreConnect.DocumentLinks links) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryLinkageResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseData.Json.g.cs new file mode 100644 index 000000000..fdce18e35 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryLinkageResponseData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryLinkageResponseData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryLinkageResponseData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryLinkageResponseData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryLinkageResponseData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryLinkageResponseData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryLinkageResponseData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseData.g.cs new file mode 100644 index 000000000..0ce1f15a1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryLinkageResponseData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryLinkageResponseDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryLinkageResponseData( + string id, + global::AppStoreConnect.AppAssetLibraryLinkageResponseDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryLinkageResponseData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseDataType.g.cs new file mode 100644 index 000000000..9746c1a6a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryLinkageResponseDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryLinkageResponseDataType + { + /// + /// + /// + AppAssetLibraries, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryLinkageResponseDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryLinkageResponseDataType value) + { + return value switch + { + AppAssetLibraryLinkageResponseDataType.AppAssetLibraries => "appAssetLibraries", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryLinkageResponseDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraries" => AppAssetLibraryLinkageResponseDataType.AppAssetLibraries, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryMediaType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryMediaType.g.cs new file mode 100644 index 000000000..e5660b323 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryMediaType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryMediaType + { + /// + /// + /// + Image, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryMediaTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryMediaType value) + { + return value switch + { + AppAssetLibraryMediaType.Image => "IMAGE", + AppAssetLibraryMediaType.Video => "VIDEO", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryMediaType? ToEnum(string value) + { + return value switch + { + "IMAGE" => AppAssetLibraryMediaType.Image, + "VIDEO" => AppAssetLibraryMediaType.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacement.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacement.Json.g.cs new file mode 100644 index 000000000..978570c40 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacement.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacement + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacement? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacement; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacement? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacement? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacement; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..db8e05465 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacement.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacement + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + public global::AppStoreConnect.AppAssetLibraryPlacementAttributes? Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.RelationshipsJsonConverter))] + public global::AppStoreConnect.Relationships? Relationships { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.ResourceLinks? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacement( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementType type, + global::AppStoreConnect.AppAssetLibraryPlacementAttributes? attributes, + global::AppStoreConnect.Relationships? relationships, + global::AppStoreConnect.ResourceLinks? links) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Attributes = attributes; + this.Relationships = relationships; + this.Links = links; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacement() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementAttributes.Json.g.cs new file mode 100644 index 000000000..23084a1a5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementAttributes.g.cs new file mode 100644 index 000000000..8ffa76b6b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementAttributes.g.cs @@ -0,0 +1,101 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryMediaType? MediaType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementType")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2JsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementType2? PlacementType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementGroup")] + public string? PlacementGroup { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("createdDate")] + public global::System.DateTime? CreatedDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastModifiedDate")] + public global::System.DateTime? LastModifiedDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementState? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stateDetails")] + public global::System.Collections.Generic.IList? StateDetails { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementAttributes( + global::AppStoreConnect.AppAssetLibraryMediaType? mediaType, + global::AppStoreConnect.AppAssetLibraryPlacementType2? placementType, + string? placementGroup, + global::System.DateTime? createdDate, + global::System.DateTime? lastModifiedDate, + global::AppStoreConnect.AppAssetLibraryPlacementState? state, + global::System.Collections.Generic.IList? stateDetails) + { + this.MediaType = mediaType; + this.PlacementType = placementType; + this.PlacementGroup = placementGroup; + this.CreatedDate = createdDate; + this.LastModifiedDate = lastModifiedDate; + this.State = state; + this.StateDetails = stateDetails; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonAttributes.Json.g.cs new file mode 100644 index 000000000..945f7fc8a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonAttributes.g.cs new file mode 100644 index 000000000..ba56d0ed2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonAttributes.g.cs @@ -0,0 +1,101 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryMediaType? MediaType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementType")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2JsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementType2? PlacementType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementGroup")] + public string? PlacementGroup { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("createdDate")] + public global::System.DateTime? CreatedDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastModifiedDate")] + public global::System.DateTime? LastModifiedDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementState? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stateDetails")] + public global::System.Collections.Generic.IList? StateDetails { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonAttributes( + global::AppStoreConnect.AppAssetLibraryMediaType? mediaType, + global::AppStoreConnect.AppAssetLibraryPlacementType2? placementType, + string? placementGroup, + global::System.DateTime? createdDate, + global::System.DateTime? lastModifiedDate, + global::AppStoreConnect.AppAssetLibraryPlacementState? state, + global::System.Collections.Generic.IList? stateDetails) + { + this.MediaType = mediaType; + this.PlacementType = placementType; + this.PlacementGroup = placementGroup; + this.CreatedDate = createdDate; + this.LastModifiedDate = lastModifiedDate; + this.State = state; + this.StateDetails = stateDetails; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationships.Json.g.cs new file mode 100644 index 000000000..cabe365dc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationships.g.cs new file mode 100644 index 000000000..a9bdf9150 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationships.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonRelationships + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appEventLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization? AppEventLocalization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appStoreVersionLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization? AppStoreVersionLocalization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appCustomProductPageLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization? AppCustomProductPageLocalization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appStoreVersionExperimentTreatmentLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalization { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonRelationships( + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization? appEventLocalization, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization? appStoreVersionLocalization, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization? appCustomProductPageLocalization, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalization) + { + this.AppEventLocalization = appEventLocalization; + this.AppStoreVersionLocalization = appStoreVersionLocalization; + this.AppCustomProductPageLocalization = appCustomProductPageLocalization; + this.AppStoreVersionExperimentTreatmentLocalization = appStoreVersionExperimentTreatmentLocalization; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonRelationships() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization.Json.g.cs new file mode 100644 index 000000000..05e48377f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..1efc20922 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData.Json.g.cs new file mode 100644 index 000000000..b3bee05f5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData.g.cs new file mode 100644 index 000000000..79fac648b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.g.cs new file mode 100644 index 000000000..ee5d2faaa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType + { + /// + /// + /// + AppCustomProductPageLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.AppCustomProductPageLocalizations => "appCustomProductPageLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalizations" => AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType.AppCustomProductPageLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization.Json.g.cs new file mode 100644 index 000000000..37f81cf19 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization.g.cs new file mode 100644 index 000000000..de934abfd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData.Json.g.cs new file mode 100644 index 000000000..0cd9b5183 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData.g.cs new file mode 100644 index 000000000..7ec621b46 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.g.cs new file mode 100644 index 000000000..2222ec5eb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType + { + /// + /// + /// + AppEventLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.AppEventLocalizations => "appEventLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appEventLocalizations" => AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType.AppEventLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs new file mode 100644 index 000000000..795868908 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..cc02ca6b3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs new file mode 100644 index 000000000..1099c56d0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs new file mode 100644 index 000000000..875aa0294 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs new file mode 100644 index 000000000..b3ff22091 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType + { + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.AppStoreVersionExperimentTreatmentLocalizations => "appStoreVersionExperimentTreatmentLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appStoreVersionExperimentTreatmentLocalizations" => AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.AppStoreVersionExperimentTreatmentLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization.Json.g.cs new file mode 100644 index 000000000..70b95eb0b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..379ef10ff --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData.Json.g.cs new file mode 100644 index 000000000..32eda4447 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData.g.cs new file mode 100644 index 000000000..48a19c67c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.g.cs new file mode 100644 index 000000000..79556c379 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType + { + /// + /// + /// + AppStoreVersionLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.AppStoreVersionLocalizations => "appStoreVersionLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appStoreVersionLocalizations" => AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType.AppStoreVersionLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequest.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequest.Json.g.cs new file mode 100644 index 000000000..6fca0bdb0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequest.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequest.g.cs new file mode 100644 index 000000000..558b4e87d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequest.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequest( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestData.Json.g.cs new file mode 100644 index 000000000..446598626 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestData.g.cs new file mode 100644 index 000000000..4ff12719a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestData.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes? Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships? Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestData( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType type, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes? attributes, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships? relationships) + { + this.Type = type; + this.Attributes = attributes; + this.Relationships = relationships; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataAttributes.Json.g.cs new file mode 100644 index 000000000..3320583a4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataAttributes.g.cs new file mode 100644 index 000000000..8b8258bfa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataAttributes.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementType")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2JsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementType2? PlacementType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementGroup")] + public string? PlacementGroup { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataAttributes( + global::AppStoreConnect.AppAssetLibraryPlacementType2? placementType, + string? placementGroup) + { + this.PlacementType = placementType; + this.PlacementGroup = placementGroup; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum.Json.g.cs new file mode 100644 index 000000000..8d9a902b4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum.g.cs new file mode 100644 index 000000000..74952d666 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataEnum( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataEnum() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum2.Json.g.cs new file mode 100644 index 000000000..0d2701b57 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum2.g.cs new file mode 100644 index 000000000..01d4dde44 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum2.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataEnum2( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataEnum2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum3.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum3.Json.g.cs new file mode 100644 index 000000000..a3a25c00e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum3), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum3? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum3), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum3.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum3.g.cs new file mode 100644 index 000000000..b1c56656b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum3.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataEnum3( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataEnum3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum4.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum4.Json.g.cs new file mode 100644 index 000000000..40e55d0eb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum4), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum4? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum4), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum4.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum4.g.cs new file mode 100644 index 000000000..a36976331 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum4.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum4 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataEnum4( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataEnum4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum5.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum5.Json.g.cs new file mode 100644 index 000000000..5e24b9f82 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum5), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum5? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum5), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum5.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum5.g.cs new file mode 100644 index 000000000..a182c671b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum5.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum5 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataEnum5( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataEnum5() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum6.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum6.Json.g.cs new file mode 100644 index 000000000..51ad6bb19 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum6), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum6? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum6), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum6.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum6.g.cs new file mode 100644 index 000000000..cf37621e4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum6.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum6 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataEnum6( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataEnum6() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum7.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum7.Json.g.cs new file mode 100644 index 000000000..5f1142c8d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum7.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum7 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum7? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum7), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum7; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum7? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum7? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum7), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum7; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum7.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum7.g.cs new file mode 100644 index 000000000..99827d036 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum7.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum7 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataEnum7( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataEnum7() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum8.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum8.Json.g.cs new file mode 100644 index 000000000..f36da4db9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum8.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum8 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum8? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum8), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum8; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum8? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum8? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum8), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum8; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum8.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum8.g.cs new file mode 100644 index 000000000..e1c3fd98d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnum8.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnum8 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataEnum8( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataEnum8() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes.Json.g.cs new file mode 100644 index 000000000..54c438e2c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes.g.cs new file mode 100644 index 000000000..8c41f44e5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2.Json.g.cs new file mode 100644 index 000000000..3379e67d7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2.g.cs new file mode 100644 index 000000000..cff883645 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3.Json.g.cs new file mode 100644 index 000000000..9a848e312 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3.g.cs new file mode 100644 index 000000000..5d17d04ce --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4.Json.g.cs new file mode 100644 index 000000000..93351328e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4.g.cs new file mode 100644 index 000000000..f0161a057 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5.Json.g.cs new file mode 100644 index 000000000..26c16cea8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5.g.cs new file mode 100644 index 000000000..02e073d3e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6.Json.g.cs new file mode 100644 index 000000000..4d1194c06 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6.g.cs new file mode 100644 index 000000000..a6a7ff0d0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7.Json.g.cs new file mode 100644 index 000000000..56c5b66a5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes7 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7.g.cs new file mode 100644 index 000000000..b74f84599 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes7.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes7 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8.Json.g.cs new file mode 100644 index 000000000..81449f56a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes8 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8.g.cs new file mode 100644 index 000000000..365f69c3e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumAttributes8.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumAttributes8 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships.Json.g.cs new file mode 100644 index 000000000..8082cba33 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships.g.cs new file mode 100644 index 000000000..58788e954 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2.Json.g.cs new file mode 100644 index 000000000..939bc7cb3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2.g.cs new file mode 100644 index 000000000..1a2bdeb71 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3.Json.g.cs new file mode 100644 index 000000000..c5418f239 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3.g.cs new file mode 100644 index 000000000..2d3c77ddf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4.Json.g.cs new file mode 100644 index 000000000..5d4408694 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4.g.cs new file mode 100644 index 000000000..f995b1fbf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5.Json.g.cs new file mode 100644 index 000000000..02f310523 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5.g.cs new file mode 100644 index 000000000..8d2a95090 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6.Json.g.cs new file mode 100644 index 000000000..0fb40d83f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6.g.cs new file mode 100644 index 000000000..74f547b30 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7.Json.g.cs new file mode 100644 index 000000000..620ffc636 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships7 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7.g.cs new file mode 100644 index 000000000..7ffcc4949 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships7.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships7 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8.Json.g.cs new file mode 100644 index 000000000..b2984ecfb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships8 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8.g.cs new file mode 100644 index 000000000..cac062d86 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataEnumRelationships8.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataEnumRelationships8 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationships.Json.g.cs new file mode 100644 index 000000000..86af53f6f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationships.g.cs new file mode 100644 index 000000000..80e4a0106 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationships.g.cs @@ -0,0 +1,89 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationships + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("image")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage? Image { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("video")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo? Video { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appEventLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization? AppEventLocalization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appStoreVersionLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization? AppStoreVersionLocalization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appCustomProductPageLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization? AppCustomProductPageLocalization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appStoreVersionExperimentTreatmentLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalization { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationships( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage? image, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo? video, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization? appEventLocalization, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization? appStoreVersionLocalization, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization? appCustomProductPageLocalization, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalization) + { + this.Image = image; + this.Video = video; + this.AppEventLocalization = appEventLocalization; + this.AppStoreVersionLocalization = appStoreVersionLocalization; + this.AppCustomProductPageLocalization = appCustomProductPageLocalization; + this.AppStoreVersionExperimentTreatmentLocalization = appStoreVersionExperimentTreatmentLocalization; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationships() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization.Json.g.cs new file mode 100644 index 000000000..c080bf798 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..98e1a116d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.Json.g.cs new file mode 100644 index 000000000..9166152af --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.g.cs new file mode 100644 index 000000000..a2054cf1f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs new file mode 100644 index 000000000..f5e498f95 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType + { + /// + /// + /// + AppCustomProductPageLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.AppCustomProductPageLocalizations => "appCustomProductPageLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalizations" => AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.AppCustomProductPageLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization.Json.g.cs new file mode 100644 index 000000000..887eb4c93 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization.g.cs new file mode 100644 index 000000000..0cc4f676e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData.Json.g.cs new file mode 100644 index 000000000..8af62eee8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData.g.cs new file mode 100644 index 000000000..cef0a42af --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.g.cs new file mode 100644 index 000000000..88290088f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType + { + /// + /// + /// + AppEventLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.AppEventLocalizations => "appEventLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appEventLocalizations" => AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType.AppEventLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs new file mode 100644 index 000000000..89b1cf9de --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..db416c5d1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs new file mode 100644 index 000000000..18a1dbd56 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs new file mode 100644 index 000000000..1e502f555 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs new file mode 100644 index 000000000..f1910c429 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType + { + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.AppStoreVersionExperimentTreatmentLocalizations => "appStoreVersionExperimentTreatmentLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appStoreVersionExperimentTreatmentLocalizations" => AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.AppStoreVersionExperimentTreatmentLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization.Json.g.cs new file mode 100644 index 000000000..0186b9423 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..839f081a1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData.Json.g.cs new file mode 100644 index 000000000..c67b036b1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData.g.cs new file mode 100644 index 000000000..0d918d565 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs new file mode 100644 index 000000000..a93e4c2bd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType + { + /// + /// + /// + AppStoreVersionLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.AppStoreVersionLocalizations => "appStoreVersionLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appStoreVersionLocalizations" => AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.AppStoreVersionLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage.Json.g.cs new file mode 100644 index 000000000..a37145ad7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsImage + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage.g.cs new file mode 100644 index 000000000..77bd5be92 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsImage + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsImage( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsImage() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData.Json.g.cs new file mode 100644 index 000000000..e1dff6165 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData.g.cs new file mode 100644 index 000000000..d7a38fdd2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.g.cs new file mode 100644 index 000000000..e614bbc92 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType + { + /// + /// + /// + AppAssetLibraryImages, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType value) + { + return value switch + { + AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.AppAssetLibraryImages => "appAssetLibraryImages", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType.AppAssetLibraryImages, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo.Json.g.cs new file mode 100644 index 000000000..746d52316 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo.g.cs new file mode 100644 index 000000000..74740233e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo( + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData.Json.g.cs new file mode 100644 index 000000000..ec089ae35 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData.g.cs new file mode 100644 index 000000000..3df8aa10e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.g.cs new file mode 100644 index 000000000..bd77f2971 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType + { + /// + /// + /// + AppAssetLibraryVideos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType value) + { + return value switch + { + AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.AppAssetLibraryVideos => "appAssetLibraryVideos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryVideos" => AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType.AppAssetLibraryVideos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataType.g.cs new file mode 100644 index 000000000..d7e917628 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementCreateRequestDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementCreateRequestDataType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementCreateRequestDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementCreateRequestDataType value) + { + return value switch + { + AppAssetLibraryPlacementCreateRequestDataType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementCreateRequestDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryPlacementCreateRequestDataType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationships.Json.g.cs new file mode 100644 index 000000000..6a58aebb5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryPlacementImageRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationships.g.cs new file mode 100644 index 000000000..02a3b5f96 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationships.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryPlacementImageRelationships : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? AppAssetLibraryPlacementCommonRelationships { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? AppAssetLibraryPlacementCommonRelationships { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacementCommonRelationships))] +#endif + public bool IsAppAssetLibraryPlacementCommonRelationships => AppAssetLibraryPlacementCommonRelationships != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryPlacementCommonRelationships( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? value) + { + value = AppAssetLibraryPlacementCommonRelationships; + return IsAppAssetLibraryPlacementCommonRelationships; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships PickAppAssetLibraryPlacementCommonRelationships() => AppAssetLibraryPlacementCommonRelationships is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacementCommonRelationships' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? AppAssetLibraryPlacementImageRelationshipsVariant2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? AppAssetLibraryPlacementImageRelationshipsVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacementImageRelationshipsVariant2))] +#endif + public bool IsAppAssetLibraryPlacementImageRelationshipsVariant2 => AppAssetLibraryPlacementImageRelationshipsVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryPlacementImageRelationshipsVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? value) + { + value = AppAssetLibraryPlacementImageRelationshipsVariant2; + return IsAppAssetLibraryPlacementImageRelationshipsVariant2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2 PickAppAssetLibraryPlacementImageRelationshipsVariant2() => AppAssetLibraryPlacementImageRelationshipsVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacementImageRelationshipsVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryPlacementImageRelationships(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships value) => new AppAssetLibraryPlacementImageRelationships((global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships?(AppAssetLibraryPlacementImageRelationships @this) => @this.AppAssetLibraryPlacementCommonRelationships; + + /// + /// + /// + public AppAssetLibraryPlacementImageRelationships(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? value) + { + AppAssetLibraryPlacementCommonRelationships = value; + } + + /// + /// + /// + public static AppAssetLibraryPlacementImageRelationships FromAppAssetLibraryPlacementCommonRelationships(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? value) => new AppAssetLibraryPlacementImageRelationships(value); + + /// + /// + /// + public static implicit operator AppAssetLibraryPlacementImageRelationships(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2 value) => new AppAssetLibraryPlacementImageRelationships((global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2?(AppAssetLibraryPlacementImageRelationships @this) => @this.AppAssetLibraryPlacementImageRelationshipsVariant2; + + /// + /// + /// + public AppAssetLibraryPlacementImageRelationships(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? value) + { + AppAssetLibraryPlacementImageRelationshipsVariant2 = value; + } + + /// + /// + /// + public static AppAssetLibraryPlacementImageRelationships FromAppAssetLibraryPlacementImageRelationshipsVariant2(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? value) => new AppAssetLibraryPlacementImageRelationships(value); + + /// + /// + /// + public AppAssetLibraryPlacementImageRelationships( + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? appAssetLibraryPlacementCommonRelationships, + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? appAssetLibraryPlacementImageRelationshipsVariant2 + ) + { + AppAssetLibraryPlacementCommonRelationships = appAssetLibraryPlacementCommonRelationships; + AppAssetLibraryPlacementImageRelationshipsVariant2 = appAssetLibraryPlacementImageRelationshipsVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryPlacementImageRelationshipsVariant2 as object ?? + AppAssetLibraryPlacementCommonRelationships as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryPlacementCommonRelationships?.ToString() ?? + AppAssetLibraryPlacementImageRelationshipsVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryPlacementCommonRelationships && IsAppAssetLibraryPlacementImageRelationshipsVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryPlacementCommonRelationships = null, + global::System.Func? appAssetLibraryPlacementImageRelationshipsVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryPlacementCommonRelationships is { } __value0 && appAssetLibraryPlacementCommonRelationships != null) + { + return appAssetLibraryPlacementCommonRelationships(__value0); + } + else if (AppAssetLibraryPlacementImageRelationshipsVariant2 is { } __value1 && appAssetLibraryPlacementImageRelationshipsVariant2 != null) + { + return appAssetLibraryPlacementImageRelationshipsVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryPlacementCommonRelationships = null, + + global::System.Action? appAssetLibraryPlacementImageRelationshipsVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryPlacementCommonRelationships is { } __value0) + { + appAssetLibraryPlacementCommonRelationships?.Invoke(__value0); + } + else if (AppAssetLibraryPlacementImageRelationshipsVariant2 is { } __value1) + { + appAssetLibraryPlacementImageRelationshipsVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryPlacementCommonRelationships = null, + global::System.Action? appAssetLibraryPlacementImageRelationshipsVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryPlacementCommonRelationships is { } __value0) + { + appAssetLibraryPlacementCommonRelationships?.Invoke(__value0); + } + else if (AppAssetLibraryPlacementImageRelationshipsVariant2 is { } __value1) + { + appAssetLibraryPlacementImageRelationshipsVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryPlacementCommonRelationships, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships), + AppAssetLibraryPlacementImageRelationshipsVariant2, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryPlacementImageRelationships other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacementCommonRelationships, other.AppAssetLibraryPlacementCommonRelationships) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacementImageRelationshipsVariant2, other.AppAssetLibraryPlacementImageRelationshipsVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryPlacementImageRelationships obj1, AppAssetLibraryPlacementImageRelationships obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryPlacementImageRelationships obj1, AppAssetLibraryPlacementImageRelationships obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryPlacementImageRelationships o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2.Json.g.cs new file mode 100644 index 000000000..eb24e1814 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementImageRelationshipsVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2.g.cs new file mode 100644 index 000000000..f2e10832f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementImageRelationshipsVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("image")] + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image? Image { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementImageRelationshipsVariant2( + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image? image) + { + this.Image = image; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementImageRelationshipsVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2Image.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2Image.Json.g.cs new file mode 100644 index 000000000..18f8410db --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2Image.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementImageRelationshipsVariant2Image + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2Image.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2Image.g.cs new file mode 100644 index 000000000..d0c41362f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2Image.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementImageRelationshipsVariant2Image + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementImageRelationshipsVariant2Image( + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementImageRelationshipsVariant2Image() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData.Json.g.cs new file mode 100644 index 000000000..469db725c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementImageRelationshipsVariant2ImageData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData.g.cs new file mode 100644 index 000000000..4a5de9b67 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementImageRelationshipsVariant2ImageData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementImageRelationshipsVariant2ImageData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementImageRelationshipsVariant2ImageData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.g.cs new file mode 100644 index 000000000..02bd633f7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType + { + /// + /// + /// + AppAssetLibraryImages, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType value) + { + return value switch + { + AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.AppAssetLibraryImages => "appAssetLibraryImages", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType.AppAssetLibraryImages, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequest.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequest.Json.g.cs new file mode 100644 index 000000000..5cf6ead74 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequest.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequest.g.cs new file mode 100644 index 000000000..cd4484cf7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequest.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships? Relationships { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.ResourceLinks? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequest( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestType type, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships? relationships, + global::AppStoreConnect.ResourceLinks? links) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Relationships = relationships; + this.Links = links; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequest.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequest.Json.g.cs new file mode 100644 index 000000000..0a7c8937a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequest.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequest.g.cs new file mode 100644 index 000000000..b6701f99e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequest.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequest( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestData.Json.g.cs new file mode 100644 index 000000000..33f12bd8b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestData.g.cs new file mode 100644 index 000000000..839dc59fa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestData.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes? Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships? Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestData( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType type, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes? attributes, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships? relationships) + { + this.Type = type; + this.Attributes = attributes; + this.Relationships = relationships; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes.Json.g.cs new file mode 100644 index 000000000..ccddeba56 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes.g.cs new file mode 100644 index 000000000..4b46ea04a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementGroup")] + public string? PlacementGroup { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes( + string? placementGroup) + { + this.PlacementGroup = placementGroup; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum.Json.g.cs new file mode 100644 index 000000000..4aa9ab8fe --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum.g.cs new file mode 100644 index 000000000..c03a4aef3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2.Json.g.cs new file mode 100644 index 000000000..227ff283e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2.g.cs new file mode 100644 index 000000000..887de48ad --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3.Json.g.cs new file mode 100644 index 000000000..d22736832 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3.g.cs new file mode 100644 index 000000000..9b652f273 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3( + object attributes, + object relationships) + { + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes.Json.g.cs new file mode 100644 index 000000000..b68ab340e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes.g.cs new file mode 100644 index 000000000..714af587e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2.Json.g.cs new file mode 100644 index 000000000..b34b12dae --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2.g.cs new file mode 100644 index 000000000..84e2fd2d7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3.Json.g.cs new file mode 100644 index 000000000..c87013b7a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3.g.cs new file mode 100644 index 000000000..722442e9d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumAttributes3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships.Json.g.cs new file mode 100644 index 000000000..f01b4fc02 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships.g.cs new file mode 100644 index 000000000..494746fbf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2.Json.g.cs new file mode 100644 index 000000000..f02db03a4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2.g.cs new file mode 100644 index 000000000..7220271ea --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3.Json.g.cs new file mode 100644 index 000000000..2d5092421 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3.g.cs new file mode 100644 index 000000000..c4e19f22e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnumRelationships3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships.Json.g.cs new file mode 100644 index 000000000..481f675e4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships.g.cs new file mode 100644 index 000000000..d8fed2c5b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("orderedPlacements")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements? OrderedPlacements { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appStoreVersionLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization? AppStoreVersionLocalization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appCustomProductPageLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization? AppCustomProductPageLocalization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appStoreVersionExperimentTreatmentLocalization")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalization { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements? orderedPlacements, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization? appStoreVersionLocalization, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization? appCustomProductPageLocalization, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalization) + { + this.OrderedPlacements = orderedPlacements; + this.AppStoreVersionLocalization = appStoreVersionLocalization; + this.AppCustomProductPageLocalization = appCustomProductPageLocalization; + this.AppStoreVersionExperimentTreatmentLocalization = appStoreVersionExperimentTreatmentLocalization; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization.Json.g.cs new file mode 100644 index 000000000..55e9628c1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..146f35363 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.Json.g.cs new file mode 100644 index 000000000..4d56810c3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.g.cs new file mode 100644 index 000000000..c64abc9c9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs new file mode 100644 index 000000000..0f20167f4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType + { + /// + /// + /// + AppCustomProductPageLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.AppCustomProductPageLocalizations => "appCustomProductPageLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalizations" => AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType.AppCustomProductPageLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs new file mode 100644 index 000000000..aceba90ac --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..6e118494e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs new file mode 100644 index 000000000..e1496741f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs new file mode 100644 index 000000000..31497b58d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs new file mode 100644 index 000000000..8ccf2dfd2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType + { + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.AppStoreVersionExperimentTreatmentLocalizations => "appStoreVersionExperimentTreatmentLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appStoreVersionExperimentTreatmentLocalizations" => AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType.AppStoreVersionExperimentTreatmentLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization.Json.g.cs new file mode 100644 index 000000000..aa222edae --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..02665c531 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData.Json.g.cs new file mode 100644 index 000000000..759f7581d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData.g.cs new file mode 100644 index 000000000..6de863d08 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs new file mode 100644 index 000000000..45f7848fa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType + { + /// + /// + /// + AppStoreVersionLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.AppStoreVersionLocalizations => "appStoreVersionLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType? ToEnum(string value) + { + return value switch + { + "appStoreVersionLocalizations" => AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType.AppStoreVersionLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements.Json.g.cs new file mode 100644 index 000000000..4fcc95ca8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements.g.cs new file mode 100644 index 000000000..de3e80a32 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements( + global::System.Collections.Generic.IList? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..d4686a810 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem.g.cs new file mode 100644 index 000000000..b1a355287 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.g.cs new file mode 100644 index 000000000..11e5a1685 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.g.cs new file mode 100644 index 000000000..15c465750 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestCreateRequestDataType + { + /// + /// + /// + AppAssetLibraryPlacementOrderingRequests, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestCreateRequestDataType value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.AppAssetLibraryPlacementOrderingRequests => "appAssetLibraryPlacementOrderingRequests", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestCreateRequestDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacementOrderingRequests" => AppAssetLibraryPlacementOrderingRequestCreateRequestDataType.AppAssetLibraryPlacementOrderingRequests, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationships.Json.g.cs new file mode 100644 index 000000000..095ab4c33 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationships.g.cs new file mode 100644 index 000000000..1509e9a60 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationships.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestRelationships + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("orderedPlacements")] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements? OrderedPlacements { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestRelationships( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements? orderedPlacements) + { + this.OrderedPlacements = orderedPlacements; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestRelationships() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements.Json.g.cs new file mode 100644 index 000000000..21241c0e6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements.g.cs new file mode 100644 index 000000000..efbe3dc9e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements( + global::AppStoreConnect.PagingInformation? meta, + global::System.Collections.Generic.IList? data) + { + this.Meta = meta; + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..ab0d54a1c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem.g.cs new file mode 100644 index 000000000..9159adfac --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.g.cs new file mode 100644 index 000000000..8c3f7e1ac --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryPlacementOrderingRequestRelationshipsOrderedPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestResponse.Json.g.cs new file mode 100644 index 000000000..0ce67496c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementOrderingRequestResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestResponse.g.cs new file mode 100644 index 000000000..81ef9e34c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementOrderingRequestResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("included")] + public global::System.Collections.Generic.IList? Included { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.DocumentLinks Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementOrderingRequestResponse( + global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequest data, + global::AppStoreConnect.DocumentLinks links, + global::System.Collections.Generic.IList? included) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Included = included; + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementOrderingRequestResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestType.g.cs new file mode 100644 index 000000000..e9176c35f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestType + { + /// + /// + /// + AppAssetLibraryPlacementOrderingRequests, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestType value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestType.AppAssetLibraryPlacementOrderingRequests => "appAssetLibraryPlacementOrderingRequests", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacementOrderingRequests" => AppAssetLibraryPlacementOrderingRequestType.AppAssetLibraryPlacementOrderingRequests, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..bbef07f5d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.Image => "image", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.State => "state", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.g.cs new file mode 100644 index 000000000..fe844c08b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest + { + /// + /// + /// + OrderedPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequestExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.OrderedPlacements => "orderedPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest? ToEnum(string value) + { + return value switch + { + "orderedPlacements" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceFieldsAppAssetLibraryPlacementOrderingRequest.OrderedPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.g.cs new file mode 100644 index 000000000..e9b110669 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem + { + /// + /// + /// + OrderedPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem value) + { + return value switch + { + AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.OrderedPlacements => "orderedPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem? ToEnum(string value) + { + return value switch + { + "orderedPlacements" => AppAssetLibraryPlacementOrderingRequestsCreateInstanceIncludeItem.OrderedPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementPlatform.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementPlatform.g.cs new file mode 100644 index 000000000..95bbbcc3b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementPlatform.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementPlatform + { + /// + /// + /// + Any, + /// + /// + /// + ImessageAppStore, + /// + /// + /// + IpadAppStore, + /// + /// + /// + IphoneAppStore, + /// + /// + /// + MacAppStore, + /// + /// + /// + TvAppStore, + /// + /// + /// + VisionProAppStore, + /// + /// + /// + WatchAppStore, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementPlatformExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementPlatform value) + { + return value switch + { + AppAssetLibraryPlacementPlatform.Any => "ANY", + AppAssetLibraryPlacementPlatform.ImessageAppStore => "IMESSAGE_APP_STORE", + AppAssetLibraryPlacementPlatform.IpadAppStore => "IPAD_APP_STORE", + AppAssetLibraryPlacementPlatform.IphoneAppStore => "IPHONE_APP_STORE", + AppAssetLibraryPlacementPlatform.MacAppStore => "MAC_APP_STORE", + AppAssetLibraryPlacementPlatform.TvAppStore => "TV_APP_STORE", + AppAssetLibraryPlacementPlatform.VisionProAppStore => "VISION_PRO_APP_STORE", + AppAssetLibraryPlacementPlatform.WatchAppStore => "WATCH_APP_STORE", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementPlatform? ToEnum(string value) + { + return value switch + { + "ANY" => AppAssetLibraryPlacementPlatform.Any, + "IMESSAGE_APP_STORE" => AppAssetLibraryPlacementPlatform.ImessageAppStore, + "IPAD_APP_STORE" => AppAssetLibraryPlacementPlatform.IpadAppStore, + "IPHONE_APP_STORE" => AppAssetLibraryPlacementPlatform.IphoneAppStore, + "MAC_APP_STORE" => AppAssetLibraryPlacementPlatform.MacAppStore, + "TV_APP_STORE" => AppAssetLibraryPlacementPlatform.TvAppStore, + "VISION_PRO_APP_STORE" => AppAssetLibraryPlacementPlatform.VisionProAppStore, + "WATCH_APP_STORE" => AppAssetLibraryPlacementPlatform.WatchAppStore, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminator.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminator.Json.g.cs new file mode 100644 index 000000000..6bc1689c2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementRelationshipsDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminator.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminator.g.cs new file mode 100644 index 000000000..560acd5f3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementRelationshipsDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType? MediaType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementRelationshipsDiscriminator( + global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType? mediaType) + { + this.MediaType = mediaType; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementRelationshipsDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.g.cs new file mode 100644 index 000000000..84b7b817b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType + { + /// + /// + /// + Image, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType value) + { + return value switch + { + AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.Image => "IMAGE", + AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.Video => "VIDEO", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType? ToEnum(string value) + { + return value switch + { + "IMAGE" => AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.Image, + "VIDEO" => AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponse.Json.g.cs new file mode 100644 index 000000000..c660a195d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponse.g.cs new file mode 100644 index 000000000..1b6ce18d4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryPlacement Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("included")] + public global::System.Collections.Generic.IList? Included { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.DocumentLinks Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementResponse( + global::AppStoreConnect.AppAssetLibraryPlacement data, + global::AppStoreConnect.DocumentLinks links, + global::System.Collections.Generic.IList? included) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Included = included; + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminator.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminator.Json.g.cs new file mode 100644 index 000000000..b2039d28e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementResponseIncludedItemDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminator; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminator.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminator.g.cs new file mode 100644 index 000000000..5aa53c9b6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementResponseIncludedItemDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementResponseIncludedItemDiscriminator( + global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementResponseIncludedItemDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.g.cs new file mode 100644 index 000000000..7e801fb2f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType + { + /// + /// + /// + AppAssetLibraryImages, + /// + /// + /// + AppAssetLibraryVideos, + /// + /// + /// + AppCustomProductPageLocalizations, + /// + /// + /// + AppEventLocalizations, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalizations, + /// + /// + /// + AppStoreVersionLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementResponseIncludedItemDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType value) + { + return value switch + { + AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppAssetLibraryImages => "appAssetLibraryImages", + AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos => "appAssetLibraryVideos", + AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations => "appCustomProductPageLocalizations", + AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppEventLocalizations => "appEventLocalizations", + AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations => "appStoreVersionExperimentTreatmentLocalizations", + AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations => "appStoreVersionLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppAssetLibraryImages, + "appAssetLibraryVideos" => AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos, + "appCustomProductPageLocalizations" => AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations, + "appEventLocalizations" => AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppEventLocalizations, + "appStoreVersionExperimentTreatmentLocalizations" => AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations, + "appStoreVersionLocalizations" => AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementState.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementState.g.cs new file mode 100644 index 000000000..60f1be2e5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementState.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementState + { + /// + /// + /// + AssetProcessing, + /// + /// + /// + Failed, + /// + /// + /// + ParentApproved, + /// + /// + /// + ParentInReview, + /// + /// + /// + ParentPrepareForSubmission, + /// + /// + /// + ParentReadyForReview, + /// + /// + /// + ParentWaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementState value) + { + return value switch + { + AppAssetLibraryPlacementState.AssetProcessing => "ASSET_PROCESSING", + AppAssetLibraryPlacementState.Failed => "FAILED", + AppAssetLibraryPlacementState.ParentApproved => "PARENT_APPROVED", + AppAssetLibraryPlacementState.ParentInReview => "PARENT_IN_REVIEW", + AppAssetLibraryPlacementState.ParentPrepareForSubmission => "PARENT_PREPARE_FOR_SUBMISSION", + AppAssetLibraryPlacementState.ParentReadyForReview => "PARENT_READY_FOR_REVIEW", + AppAssetLibraryPlacementState.ParentWaitingForReview => "PARENT_WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementState? ToEnum(string value) + { + return value switch + { + "ASSET_PROCESSING" => AppAssetLibraryPlacementState.AssetProcessing, + "FAILED" => AppAssetLibraryPlacementState.Failed, + "PARENT_APPROVED" => AppAssetLibraryPlacementState.ParentApproved, + "PARENT_IN_REVIEW" => AppAssetLibraryPlacementState.ParentInReview, + "PARENT_PREPARE_FOR_SUBMISSION" => AppAssetLibraryPlacementState.ParentPrepareForSubmission, + "PARENT_READY_FOR_REVIEW" => AppAssetLibraryPlacementState.ParentReadyForReview, + "PARENT_WAITING_FOR_REVIEW" => AppAssetLibraryPlacementState.ParentWaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementType.g.cs new file mode 100644 index 000000000..d1a3c6a30 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementType value) + { + return value switch + { + AppAssetLibraryPlacementType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryPlacementType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementType2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementType2.g.cs new file mode 100644 index 000000000..c84e3512a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementType2.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementType2 + { + /// + /// + /// + AppPreview, + /// + /// + /// + AppScreenshot, + /// + /// + /// + AppStoreSearchResultsAsset, + /// + /// + /// + EventCardAsset, + /// + /// + /// + EventDetailsPageAsset, + /// + /// + /// + ImessageAppScreenshot, + /// + /// + /// + ProductPageHeaderAsset, + /// + /// + /// + RetentionMessageAsset, + /// + /// + /// + SearchResultsAdsAsset, + /// + /// + /// + TodayTabAdsAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementType2 value) + { + return value switch + { + AppAssetLibraryPlacementType2.AppPreview => "APP_PREVIEW", + AppAssetLibraryPlacementType2.AppScreenshot => "APP_SCREENSHOT", + AppAssetLibraryPlacementType2.AppStoreSearchResultsAsset => "APP_STORE_SEARCH_RESULTS_ASSET", + AppAssetLibraryPlacementType2.EventCardAsset => "EVENT_CARD_ASSET", + AppAssetLibraryPlacementType2.EventDetailsPageAsset => "EVENT_DETAILS_PAGE_ASSET", + AppAssetLibraryPlacementType2.ImessageAppScreenshot => "IMESSAGE_APP_SCREENSHOT", + AppAssetLibraryPlacementType2.ProductPageHeaderAsset => "PRODUCT_PAGE_HEADER_ASSET", + AppAssetLibraryPlacementType2.RetentionMessageAsset => "RETENTION_MESSAGE_ASSET", + AppAssetLibraryPlacementType2.SearchResultsAdsAsset => "SEARCH_RESULTS_ADS_ASSET", + AppAssetLibraryPlacementType2.TodayTabAdsAsset => "TODAY_TAB_ADS_ASSET", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementType2? ToEnum(string value) + { + return value switch + { + "APP_PREVIEW" => AppAssetLibraryPlacementType2.AppPreview, + "APP_SCREENSHOT" => AppAssetLibraryPlacementType2.AppScreenshot, + "APP_STORE_SEARCH_RESULTS_ASSET" => AppAssetLibraryPlacementType2.AppStoreSearchResultsAsset, + "EVENT_CARD_ASSET" => AppAssetLibraryPlacementType2.EventCardAsset, + "EVENT_DETAILS_PAGE_ASSET" => AppAssetLibraryPlacementType2.EventDetailsPageAsset, + "IMESSAGE_APP_SCREENSHOT" => AppAssetLibraryPlacementType2.ImessageAppScreenshot, + "PRODUCT_PAGE_HEADER_ASSET" => AppAssetLibraryPlacementType2.ProductPageHeaderAsset, + "RETENTION_MESSAGE_ASSET" => AppAssetLibraryPlacementType2.RetentionMessageAsset, + "SEARCH_RESULTS_ADS_ASSET" => AppAssetLibraryPlacementType2.SearchResultsAdsAsset, + "TODAY_TAB_ADS_ASSET" => AppAssetLibraryPlacementType2.TodayTabAdsAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributes.Json.g.cs new file mode 100644 index 000000000..37ee7cea7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryPlacementVideoAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributes.g.cs new file mode 100644 index 000000000..8a8e357df --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryPlacementVideoAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? AppAssetLibraryPlacementCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? AppAssetLibraryPlacementCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacementCommonAttributes))] +#endif + public bool IsAppAssetLibraryPlacementCommonAttributes => AppAssetLibraryPlacementCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryPlacementCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? value) + { + value = AppAssetLibraryPlacementCommonAttributes; + return IsAppAssetLibraryPlacementCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes PickAppAssetLibraryPlacementCommonAttributes() => AppAssetLibraryPlacementCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacementCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryPlacementVideoAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryPlacementVideoAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacementVideoAttributesVariant2))] +#endif + public bool IsAppAssetLibraryPlacementVideoAttributesVariant2 => AppAssetLibraryPlacementVideoAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryPlacementVideoAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryPlacementVideoAttributesVariant2; + return IsAppAssetLibraryPlacementVideoAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryPlacementVideoAttributesVariant2() => AppAssetLibraryPlacementVideoAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacementVideoAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryPlacementVideoAttributes(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes value) => new AppAssetLibraryPlacementVideoAttributes((global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes?(AppAssetLibraryPlacementVideoAttributes @this) => @this.AppAssetLibraryPlacementCommonAttributes; + + /// + /// + /// + public AppAssetLibraryPlacementVideoAttributes(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? value) + { + AppAssetLibraryPlacementCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryPlacementVideoAttributes FromAppAssetLibraryPlacementCommonAttributes(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? value) => new AppAssetLibraryPlacementVideoAttributes(value); + + /// + /// + /// + public AppAssetLibraryPlacementVideoAttributes( + global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes? appAssetLibraryPlacementCommonAttributes, + object? appAssetLibraryPlacementVideoAttributesVariant2 + ) + { + AppAssetLibraryPlacementCommonAttributes = appAssetLibraryPlacementCommonAttributes; + AppAssetLibraryPlacementVideoAttributesVariant2 = appAssetLibraryPlacementVideoAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryPlacementVideoAttributesVariant2 as object ?? + AppAssetLibraryPlacementCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryPlacementCommonAttributes?.ToString() ?? + AppAssetLibraryPlacementVideoAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryPlacementCommonAttributes && IsAppAssetLibraryPlacementVideoAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryPlacementCommonAttributes = null, + global::System.Func? appAssetLibraryPlacementVideoAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryPlacementCommonAttributes is { } __value0 && appAssetLibraryPlacementCommonAttributes != null) + { + return appAssetLibraryPlacementCommonAttributes(__value0); + } + else if (AppAssetLibraryPlacementVideoAttributesVariant2 is { } __value1 && appAssetLibraryPlacementVideoAttributesVariant2 != null) + { + return appAssetLibraryPlacementVideoAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryPlacementCommonAttributes = null, + + global::System.Action? appAssetLibraryPlacementVideoAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryPlacementCommonAttributes is { } __value0) + { + appAssetLibraryPlacementCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryPlacementVideoAttributesVariant2 is { } __value1) + { + appAssetLibraryPlacementVideoAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryPlacementCommonAttributes = null, + global::System.Action? appAssetLibraryPlacementVideoAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryPlacementCommonAttributes is { } __value0) + { + appAssetLibraryPlacementCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryPlacementVideoAttributesVariant2 is { } __value1) + { + appAssetLibraryPlacementVideoAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryPlacementCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes), + AppAssetLibraryPlacementVideoAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryPlacementVideoAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacementCommonAttributes, other.AppAssetLibraryPlacementCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacementVideoAttributesVariant2, other.AppAssetLibraryPlacementVideoAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryPlacementVideoAttributes obj1, AppAssetLibraryPlacementVideoAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryPlacementVideoAttributes obj1, AppAssetLibraryPlacementVideoAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryPlacementVideoAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..5d475090a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementVideoAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributesVariant2.g.cs new file mode 100644 index 000000000..6535363fe --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementVideoAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationships.Json.g.cs new file mode 100644 index 000000000..33899807e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryPlacementVideoRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationships.g.cs new file mode 100644 index 000000000..7d04892fa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationships.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryPlacementVideoRelationships : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? AppAssetLibraryPlacementCommonRelationships { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? AppAssetLibraryPlacementCommonRelationships { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacementCommonRelationships))] +#endif + public bool IsAppAssetLibraryPlacementCommonRelationships => AppAssetLibraryPlacementCommonRelationships != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryPlacementCommonRelationships( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? value) + { + value = AppAssetLibraryPlacementCommonRelationships; + return IsAppAssetLibraryPlacementCommonRelationships; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships PickAppAssetLibraryPlacementCommonRelationships() => AppAssetLibraryPlacementCommonRelationships is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacementCommonRelationships' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? AppAssetLibraryPlacementVideoRelationshipsVariant2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? AppAssetLibraryPlacementVideoRelationshipsVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacementVideoRelationshipsVariant2))] +#endif + public bool IsAppAssetLibraryPlacementVideoRelationshipsVariant2 => AppAssetLibraryPlacementVideoRelationshipsVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryPlacementVideoRelationshipsVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? value) + { + value = AppAssetLibraryPlacementVideoRelationshipsVariant2; + return IsAppAssetLibraryPlacementVideoRelationshipsVariant2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2 PickAppAssetLibraryPlacementVideoRelationshipsVariant2() => AppAssetLibraryPlacementVideoRelationshipsVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacementVideoRelationshipsVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryPlacementVideoRelationships(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships value) => new AppAssetLibraryPlacementVideoRelationships((global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships?(AppAssetLibraryPlacementVideoRelationships @this) => @this.AppAssetLibraryPlacementCommonRelationships; + + /// + /// + /// + public AppAssetLibraryPlacementVideoRelationships(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? value) + { + AppAssetLibraryPlacementCommonRelationships = value; + } + + /// + /// + /// + public static AppAssetLibraryPlacementVideoRelationships FromAppAssetLibraryPlacementCommonRelationships(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? value) => new AppAssetLibraryPlacementVideoRelationships(value); + + /// + /// + /// + public static implicit operator AppAssetLibraryPlacementVideoRelationships(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2 value) => new AppAssetLibraryPlacementVideoRelationships((global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2?(AppAssetLibraryPlacementVideoRelationships @this) => @this.AppAssetLibraryPlacementVideoRelationshipsVariant2; + + /// + /// + /// + public AppAssetLibraryPlacementVideoRelationships(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? value) + { + AppAssetLibraryPlacementVideoRelationshipsVariant2 = value; + } + + /// + /// + /// + public static AppAssetLibraryPlacementVideoRelationships FromAppAssetLibraryPlacementVideoRelationshipsVariant2(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? value) => new AppAssetLibraryPlacementVideoRelationships(value); + + /// + /// + /// + public AppAssetLibraryPlacementVideoRelationships( + global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships? appAssetLibraryPlacementCommonRelationships, + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? appAssetLibraryPlacementVideoRelationshipsVariant2 + ) + { + AppAssetLibraryPlacementCommonRelationships = appAssetLibraryPlacementCommonRelationships; + AppAssetLibraryPlacementVideoRelationshipsVariant2 = appAssetLibraryPlacementVideoRelationshipsVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryPlacementVideoRelationshipsVariant2 as object ?? + AppAssetLibraryPlacementCommonRelationships as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryPlacementCommonRelationships?.ToString() ?? + AppAssetLibraryPlacementVideoRelationshipsVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryPlacementCommonRelationships && IsAppAssetLibraryPlacementVideoRelationshipsVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryPlacementCommonRelationships = null, + global::System.Func? appAssetLibraryPlacementVideoRelationshipsVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryPlacementCommonRelationships is { } __value0 && appAssetLibraryPlacementCommonRelationships != null) + { + return appAssetLibraryPlacementCommonRelationships(__value0); + } + else if (AppAssetLibraryPlacementVideoRelationshipsVariant2 is { } __value1 && appAssetLibraryPlacementVideoRelationshipsVariant2 != null) + { + return appAssetLibraryPlacementVideoRelationshipsVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryPlacementCommonRelationships = null, + + global::System.Action? appAssetLibraryPlacementVideoRelationshipsVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryPlacementCommonRelationships is { } __value0) + { + appAssetLibraryPlacementCommonRelationships?.Invoke(__value0); + } + else if (AppAssetLibraryPlacementVideoRelationshipsVariant2 is { } __value1) + { + appAssetLibraryPlacementVideoRelationshipsVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryPlacementCommonRelationships = null, + global::System.Action? appAssetLibraryPlacementVideoRelationshipsVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryPlacementCommonRelationships is { } __value0) + { + appAssetLibraryPlacementCommonRelationships?.Invoke(__value0); + } + else if (AppAssetLibraryPlacementVideoRelationshipsVariant2 is { } __value1) + { + appAssetLibraryPlacementVideoRelationshipsVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryPlacementCommonRelationships, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships), + AppAssetLibraryPlacementVideoRelationshipsVariant2, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryPlacementVideoRelationships other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacementCommonRelationships, other.AppAssetLibraryPlacementCommonRelationships) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacementVideoRelationshipsVariant2, other.AppAssetLibraryPlacementVideoRelationshipsVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryPlacementVideoRelationships obj1, AppAssetLibraryPlacementVideoRelationships obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryPlacementVideoRelationships obj1, AppAssetLibraryPlacementVideoRelationships obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryPlacementVideoRelationships o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2.Json.g.cs new file mode 100644 index 000000000..84a0ef7e4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementVideoRelationshipsVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2.g.cs new file mode 100644 index 000000000..647d067d6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementVideoRelationshipsVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("video")] + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video? Video { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementVideoRelationshipsVariant2( + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video? video) + { + this.Video = video; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementVideoRelationshipsVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2Video.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2Video.Json.g.cs new file mode 100644 index 000000000..af2c366f0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2Video.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementVideoRelationshipsVariant2Video + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2Video.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2Video.g.cs new file mode 100644 index 000000000..719382f6d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2Video.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementVideoRelationshipsVariant2Video + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementVideoRelationshipsVariant2Video( + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementVideoRelationshipsVariant2Video() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData.Json.g.cs new file mode 100644 index 000000000..742609eee --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData.g.cs new file mode 100644 index 000000000..3f525a117 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData( + string id, + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.g.cs new file mode 100644 index 000000000..b2eb6bff2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType + { + /// + /// + /// + AppAssetLibraryVideos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType value) + { + return value switch + { + AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.AppAssetLibraryVideos => "appAssetLibraryVideos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryVideos" => AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType.AppAssetLibraryVideos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..bd8ca4db0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage value) + { + return value switch + { + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.Category => "category", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.FileName => "fileName", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.FileSize => "fileSize", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.Placements => "placements", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.SpecId => "specId", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.State => "state", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.Category, + "createdDate" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.FileName, + "fileSize" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.Placements, + "referenceName" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.ReferenceName, + "specId" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.SpecId, + "state" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.State, + "stateDetails" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..32f8c0838 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.Image => "image", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.State => "state", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..efd4dbef5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo value) + { + return value switch + { + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.Category => "category", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.FileName => "fileName", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.FileSize => "fileSize", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.Placements => "placements", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.SpecId => "specId", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.State => "state", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.Category, + "createdDate" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.FileName, + "fileSize" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.SpecId, + "state" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.State, + "stateDetails" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => AppAssetLibraryPlacementsGetInstanceFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..2fc2a433c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization + { + /// + /// + /// + AppCustomProductPageVersion, + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization value) + { + return value switch + { + AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion => "appCustomProductPageVersion", + AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", + AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", + AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.Locale => "locale", + AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.Placements => "placements", + AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", + AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization? ToEnum(string value) + { + return value switch + { + "appCustomProductPageVersion" => AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion, + "appPreviewSets" => AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets, + "appScreenshotSets" => AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets, + "locale" => AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.Placements, + "promotionalText" => AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText, + "searchKeywords" => AppAssetLibraryPlacementsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..47fe38dc5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization + { + /// + /// + /// + AppEvent, + /// + /// + /// + AppEventScreenshots, + /// + /// + /// + AppEventVideoClips, + /// + /// + /// + Locale, + /// + /// + /// + LongDescription, + /// + /// + /// + Name, + /// + /// + /// + Placements, + /// + /// + /// + ShortDescription, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization value) + { + return value switch + { + AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.AppEvent => "appEvent", + AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.AppEventScreenshots => "appEventScreenshots", + AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.AppEventVideoClips => "appEventVideoClips", + AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.Locale => "locale", + AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.LongDescription => "longDescription", + AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.Name => "name", + AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.Placements => "placements", + AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.ShortDescription => "shortDescription", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization? ToEnum(string value) + { + return value switch + { + "appEvent" => AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.AppEvent, + "appEventScreenshots" => AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.AppEventScreenshots, + "appEventVideoClips" => AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.AppEventVideoClips, + "locale" => AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.Locale, + "longDescription" => AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.LongDescription, + "name" => AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.Name, + "placements" => AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.Placements, + "shortDescription" => AppAssetLibraryPlacementsGetInstanceFieldsAppEventLocalization.ShortDescription, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..5ed6a15af --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersionExperimentTreatment, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization value) + { + return value switch + { + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets => "appPreviewSets", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets, + "appScreenshotSets" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, + "appStoreVersionExperimentTreatment" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, + "locale" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..8cf6f4709 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersion, + /// + /// + /// + Description, + /// + /// + /// + Keywords, + /// + /// + /// + Locale, + /// + /// + /// + MarketingUrl, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + /// + /// + /// + SupportUrl, + /// + /// + /// + WhatsNew, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization value) + { + return value switch + { + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.AppPreviewSets => "appPreviewSets", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.AppScreenshotSets => "appScreenshotSets", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.AppStoreVersion => "appStoreVersion", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.Description => "description", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.Keywords => "keywords", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.Locale => "locale", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.Placements => "placements", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", + AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.WhatsNew => "whatsNew", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.AppPreviewSets, + "appScreenshotSets" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.AppScreenshotSets, + "appStoreVersion" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.AppStoreVersion, + "description" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.Description, + "keywords" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.Keywords, + "locale" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.Locale, + "marketingUrl" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.Placements, + "promotionalText" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText, + "searchKeywords" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords, + "supportUrl" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl, + "whatsNew" => AppAssetLibraryPlacementsGetInstanceFieldsAppStoreVersionLocalization.WhatsNew, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceIncludeItem.g.cs new file mode 100644 index 000000000..626837b79 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsGetInstanceIncludeItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementsGetInstanceIncludeItem + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + Image, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementsGetInstanceIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementsGetInstanceIncludeItem value) + { + return value switch + { + AppAssetLibraryPlacementsGetInstanceIncludeItem.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibraryPlacementsGetInstanceIncludeItem.AppEventLocalization => "appEventLocalization", + AppAssetLibraryPlacementsGetInstanceIncludeItem.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibraryPlacementsGetInstanceIncludeItem.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibraryPlacementsGetInstanceIncludeItem.Image => "image", + AppAssetLibraryPlacementsGetInstanceIncludeItem.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementsGetInstanceIncludeItem? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibraryPlacementsGetInstanceIncludeItem.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibraryPlacementsGetInstanceIncludeItem.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibraryPlacementsGetInstanceIncludeItem.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibraryPlacementsGetInstanceIncludeItem.AppStoreVersionLocalization, + "image" => AppAssetLibraryPlacementsGetInstanceIncludeItem.Image, + "video" => AppAssetLibraryPlacementsGetInstanceIncludeItem.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponse.Json.g.cs new file mode 100644 index 000000000..a10c3188d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementsResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementsResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementsResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementsResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementsResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementsResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponse.g.cs new file mode 100644 index 000000000..b4c1f932e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponse.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementsResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("included")] + public global::System.Collections.Generic.IList? Included { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementsResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::System.Collections.Generic.IList? included, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Included = included; + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementsResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator.Json.g.cs new file mode 100644 index 000000000..d5922416c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryPlacementsResponseIncludedItemDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator.g.cs new file mode 100644 index 000000000..7b57be9f0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryPlacementsResponseIncludedItemDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryPlacementsResponseIncludedItemDiscriminator( + global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryPlacementsResponseIncludedItemDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.g.cs new file mode 100644 index 000000000..518e8a0d7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType + { + /// + /// + /// + AppAssetLibraryImages, + /// + /// + /// + AppAssetLibraryVideos, + /// + /// + /// + AppCustomProductPageLocalizations, + /// + /// + /// + AppEventLocalizations, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalizations, + /// + /// + /// + AppStoreVersionLocalizations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType value) + { + return value switch + { + AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppAssetLibraryImages => "appAssetLibraryImages", + AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos => "appAssetLibraryVideos", + AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations => "appCustomProductPageLocalizations", + AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppEventLocalizations => "appEventLocalizations", + AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations => "appStoreVersionExperimentTreatmentLocalizations", + AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations => "appStoreVersionLocalizations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppAssetLibraryImages, + "appAssetLibraryVideos" => AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos, + "appCustomProductPageLocalizations" => AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppCustomProductPageLocalizations, + "appEventLocalizations" => AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppEventLocalizations, + "appStoreVersionExperimentTreatmentLocalizations" => AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatmentLocalizations, + "appStoreVersionLocalizations" => AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType.AppStoreVersionLocalizations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.g.cs new file mode 100644 index 000000000..491fd1ce6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem + { + /// + /// + /// + DisplayClasses, + /// + /// + /// + Features, + /// + /// + /// + ImageSpecs, + /// + /// + /// + PlacementProfileGroups, + /// + /// + /// + PlacementTypes, + /// + /// + /// + VideoSpecs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem value) + { + return value switch + { + AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.DisplayClasses => "displayClasses", + AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.Features => "features", + AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.ImageSpecs => "imageSpecs", + AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.PlacementProfileGroups => "placementProfileGroups", + AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.PlacementTypes => "placementTypes", + AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.VideoSpecs => "videoSpecs", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem? ToEnum(string value) + { + return value switch + { + "displayClasses" => AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.DisplayClasses, + "features" => AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.Features, + "imageSpecs" => AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.ImageSpecs, + "placementProfileGroups" => AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.PlacementProfileGroups, + "placementTypes" => AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.PlacementTypes, + "videoSpecs" => AppAssetLibraryRefDataGetCollectionFieldsAppAssetLibraryRefDataItem.VideoSpecs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.g.cs new file mode 100644 index 000000000..f3d2d06d2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem + { + /// + /// + /// + DisplayClasses, + /// + /// + /// + Features, + /// + /// + /// + ImageSpecs, + /// + /// + /// + PlacementProfileGroups, + /// + /// + /// + PlacementTypes, + /// + /// + /// + VideoSpecs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem value) + { + return value switch + { + AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.DisplayClasses => "displayClasses", + AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.Features => "features", + AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.ImageSpecs => "imageSpecs", + AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.PlacementProfileGroups => "placementProfileGroups", + AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.PlacementTypes => "placementTypes", + AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.VideoSpecs => "videoSpecs", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem? ToEnum(string value) + { + return value switch + { + "displayClasses" => AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.DisplayClasses, + "features" => AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.Features, + "imageSpecs" => AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.ImageSpecs, + "placementProfileGroups" => AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.PlacementProfileGroups, + "placementTypes" => AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.PlacementTypes, + "videoSpecs" => AppAssetLibraryRefDataGetInstanceFieldsAppAssetLibraryRefDataItem.VideoSpecs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataResponse.Json.g.cs new file mode 100644 index 000000000..1959e1a36 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDataResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDataResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDataResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDataResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDataResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDataResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDataResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDataResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataResponse.g.cs new file mode 100644 index 000000000..e05b16f7a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDataResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDataResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDataResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDataResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatum.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatum.Json.g.cs new file mode 100644 index 000000000..402d8b946 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatum.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatum + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatum? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatum), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatum; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatum? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatum? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatum), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatum; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatum.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatum.g.cs new file mode 100644 index 000000000..353c233ca --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatum.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatum + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryRefDatumTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryRefDatumType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributes? Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.ResourceLinks? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatum( + string id, + global::AppStoreConnect.AppAssetLibraryRefDatumType type, + global::AppStoreConnect.AppAssetLibraryRefDatumAttributes? attributes, + global::AppStoreConnect.ResourceLinks? links) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Attributes = attributes; + this.Links = links; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatum() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributes.Json.g.cs new file mode 100644 index 000000000..4c5cb4bd8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributes.g.cs new file mode 100644 index 000000000..5e812d3c2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributes.g.cs @@ -0,0 +1,89 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("features")] + public global::System.Collections.Generic.IList? Features { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementProfileGroups")] + public global::System.Collections.Generic.IList? PlacementProfileGroups { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("imageSpecs")] + public global::System.Collections.Generic.IList? ImageSpecs { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("videoSpecs")] + public global::System.Collections.Generic.IList? VideoSpecs { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementTypes")] + public global::System.Collections.Generic.IList? PlacementTypes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("displayClasses")] + public global::System.Collections.Generic.IList? DisplayClasses { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributes( + global::System.Collections.Generic.IList? features, + global::System.Collections.Generic.IList? placementProfileGroups, + global::System.Collections.Generic.IList? imageSpecs, + global::System.Collections.Generic.IList? videoSpecs, + global::System.Collections.Generic.IList? placementTypes, + global::System.Collections.Generic.IList? displayClasses) + { + this.Features = features; + this.PlacementProfileGroups = placementProfileGroups; + this.ImageSpecs = imageSpecs; + this.VideoSpecs = videoSpecs; + this.PlacementTypes = placementTypes; + this.DisplayClasses = displayClasses; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesDisplayClasse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesDisplayClasse.Json.g.cs new file mode 100644 index 000000000..a5142197a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesDisplayClasse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesDisplayClasse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesDisplayClasse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesDisplayClasse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesDisplayClasse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesDisplayClasse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesDisplayClasse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesDisplayClasse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesDisplayClasse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesDisplayClasse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesDisplayClasse.g.cs new file mode 100644 index 000000000..f6087ec1e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesDisplayClasse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesDisplayClasse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("displayClassId")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryDisplayClass? DisplayClassId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deviceFamily")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.DeviceFamilyJsonConverter))] + public global::AppStoreConnect.DeviceFamily? DeviceFamily { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("screenDimensions")] + public global::System.Collections.Generic.IList? ScreenDimensions { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesDisplayClasse( + global::AppStoreConnect.AppAssetLibraryDisplayClass? displayClassId, + global::AppStoreConnect.DeviceFamily? deviceFamily, + global::System.Collections.Generic.IList? screenDimensions) + { + this.DisplayClassId = displayClassId; + this.DeviceFamily = deviceFamily; + this.ScreenDimensions = screenDimensions; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesDisplayClasse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeature.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeature.Json.g.cs new file mode 100644 index 000000000..79e87d2b9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeature.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesFeature + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeature? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeature), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeature; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeature? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeature? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeature), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeature; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeature.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeature.g.cs new file mode 100644 index 000000000..f33dcaf92 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeature.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesFeature + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("featureId")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryFeatureJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryFeature? FeatureId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementPolicies")] + public global::System.Collections.Generic.IList? PlacementPolicies { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesFeature( + global::AppStoreConnect.AppAssetLibraryFeature? featureId, + global::System.Collections.Generic.IList? placementPolicies) + { + this.FeatureId = featureId; + this.PlacementPolicies = placementPolicies; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesFeature() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie.Json.g.cs new file mode 100644 index 000000000..c32cbf935 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie.g.cs new file mode 100644 index 000000000..3cdce8d23 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementType")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2JsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementType2? PlacementType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("groupLimits")] + public global::System.Collections.Generic.IList? GroupLimits { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie( + global::AppStoreConnect.AppAssetLibraryPlacementType2? placementType, + global::System.Collections.Generic.IList? groupLimits) + { + this.PlacementType = placementType; + this.GroupLimits = groupLimits; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesFeaturePlacementPolicie() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit.Json.g.cs new file mode 100644 index 000000000..a6e0a8795 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit.g.cs new file mode 100644 index 000000000..bd82d3df4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("groupIds")] + public global::System.Collections.Generic.IList? GroupIds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maxCount")] + public int? MaxCount { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit( + global::System.Collections.Generic.IList? groupIds, + int? maxCount) + { + this.GroupIds = groupIds; + this.MaxCount = maxCount; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesFeaturePlacementPolicieGroupLimit() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpec.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpec.Json.g.cs new file mode 100644 index 000000000..2cffc4873 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpec.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesImageSpec + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpec? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpec), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpec; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpec? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpec? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpec), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpec; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpec.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpec.g.cs new file mode 100644 index 000000000..267ab03fe --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpec.g.cs @@ -0,0 +1,125 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesImageSpec + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("specId")] + public string? SpecId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("shortName")] + public string? ShortName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dimensions")] + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions? Dimensions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("aspectRatio")] + public string? AspectRatio { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("compatiblePlacementTypes")] + public global::System.Collections.Generic.IList? CompatiblePlacementTypes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("alphaAllowed")] + public bool? AlphaAllowed { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileExtensions")] + public global::System.Collections.Generic.IList? FileExtensions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maxFileSize")] + public long? MaxFileSize { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mimeTypes")] + public global::System.Collections.Generic.IList? MimeTypes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("universalAsset")] + public bool? UniversalAsset { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesImageSpec( + string? specId, + string? shortName, + global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions? dimensions, + string? aspectRatio, + global::System.Collections.Generic.IList? compatiblePlacementTypes, + bool? alphaAllowed, + global::System.Collections.Generic.IList? fileExtensions, + long? maxFileSize, + global::System.Collections.Generic.IList? mimeTypes, + bool? universalAsset) + { + this.SpecId = specId; + this.ShortName = shortName; + this.Dimensions = dimensions; + this.AspectRatio = aspectRatio; + this.CompatiblePlacementTypes = compatiblePlacementTypes; + this.AlphaAllowed = alphaAllowed; + this.FileExtensions = fileExtensions; + this.MaxFileSize = maxFileSize; + this.MimeTypes = mimeTypes; + this.UniversalAsset = universalAsset; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesImageSpec() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpecDimensions.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpecDimensions.Json.g.cs new file mode 100644 index 000000000..db9ac1bb7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpecDimensions.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesImageSpecDimensions + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesImageSpecDimensions; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpecDimensions.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpecDimensions.g.cs new file mode 100644 index 000000000..ab26819a6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesImageSpecDimensions.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesImageSpecDimensions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("minWidth")] + public int? MinWidth { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maxWidth")] + public int? MaxWidth { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("minHeight")] + public int? MinHeight { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maxHeight")] + public int? MaxHeight { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesImageSpecDimensions( + int? minWidth, + int? maxWidth, + int? minHeight, + int? maxHeight) + { + this.MinWidth = minWidth; + this.MaxWidth = maxWidth; + this.MinHeight = minHeight; + this.MaxHeight = maxHeight; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesImageSpecDimensions() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementProfileGroup.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementProfileGroup.Json.g.cs new file mode 100644 index 000000000..b015479f5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementProfileGroup.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesPlacementProfileGroup + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementProfileGroup? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementProfileGroup), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementProfileGroup; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementProfileGroup? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementProfileGroup? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementProfileGroup), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementProfileGroup; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementProfileGroup.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementProfileGroup.g.cs new file mode 100644 index 000000000..e1f2b0ac5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementProfileGroup.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesPlacementProfileGroup + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementProfileGroupId")] + public string? PlacementProfileGroupId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("platform")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementPlatformJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementPlatform? Platform { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("displayClassId")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryDisplayClassJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryDisplayClass? DisplayClassId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesPlacementProfileGroup( + string? placementProfileGroupId, + global::AppStoreConnect.AppAssetLibraryPlacementPlatform? platform, + global::AppStoreConnect.AppAssetLibraryDisplayClass? displayClassId) + { + this.PlacementProfileGroupId = placementProfileGroupId; + this.Platform = platform; + this.DisplayClassId = displayClassId; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesPlacementProfileGroup() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementType.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementType.Json.g.cs new file mode 100644 index 000000000..ca649afa7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementType.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesPlacementType + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementType? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementType), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementType; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementType? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementType? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementType), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementType; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementType.g.cs new file mode 100644 index 000000000..7d5c973f3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesPlacementType + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementTypeId")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2JsonConverter))] + public global::AppStoreConnect.AppAssetLibraryPlacementType2? PlacementTypeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("acceptsAssetCategories")] + public global::System.Collections.Generic.IList? AcceptsAssetCategories { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("specMappings")] + public global::System.Collections.Generic.IList? SpecMappings { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesPlacementType( + global::AppStoreConnect.AppAssetLibraryPlacementType2? placementTypeId, + global::System.Collections.Generic.IList? acceptsAssetCategories, + global::System.Collections.Generic.IList? specMappings) + { + this.PlacementTypeId = placementTypeId; + this.AcceptsAssetCategories = acceptsAssetCategories; + this.SpecMappings = specMappings; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesPlacementType() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping.Json.g.cs new file mode 100644 index 000000000..8c64590f5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping.g.cs new file mode 100644 index 000000000..ad7b79a92 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placementGroupId")] + public string? PlacementGroupId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("specs")] + public global::System.Collections.Generic.IList? Specs { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping( + string? placementGroupId, + global::System.Collections.Generic.IList? specs) + { + this.PlacementGroupId = placementGroupId; + this.Specs = specs; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesPlacementTypeSpecMapping() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpec.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpec.Json.g.cs new file mode 100644 index 000000000..7b4cc8b4c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpec.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesVideoSpec + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpec? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpec), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpec; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpec? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpec? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpec), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpec; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpec.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpec.g.cs new file mode 100644 index 000000000..46767595c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpec.g.cs @@ -0,0 +1,143 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesVideoSpec + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("specId")] + public string? SpecId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("shortName")] + public string? ShortName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dimensions")] + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions? Dimensions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("aspectRatio")] + public string? AspectRatio { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("compatiblePlacementTypes")] + public global::System.Collections.Generic.IList? CompatiblePlacementTypes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("frameRates")] + public global::System.Collections.Generic.IList? FrameRates { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("duration")] + public global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration? Duration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("audioRequired")] + public bool? AudioRequired { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileExtensions")] + public global::System.Collections.Generic.IList? FileExtensions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maxFileSize")] + public long? MaxFileSize { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mimeTypes")] + public global::System.Collections.Generic.IList? MimeTypes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("universalAsset")] + public bool? UniversalAsset { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesVideoSpec( + string? specId, + string? shortName, + global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions? dimensions, + string? aspectRatio, + global::System.Collections.Generic.IList? compatiblePlacementTypes, + global::System.Collections.Generic.IList? frameRates, + global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration? duration, + bool? audioRequired, + global::System.Collections.Generic.IList? fileExtensions, + long? maxFileSize, + global::System.Collections.Generic.IList? mimeTypes, + bool? universalAsset) + { + this.SpecId = specId; + this.ShortName = shortName; + this.Dimensions = dimensions; + this.AspectRatio = aspectRatio; + this.CompatiblePlacementTypes = compatiblePlacementTypes; + this.FrameRates = frameRates; + this.Duration = duration; + this.AudioRequired = audioRequired; + this.FileExtensions = fileExtensions; + this.MaxFileSize = maxFileSize; + this.MimeTypes = mimeTypes; + this.UniversalAsset = universalAsset; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesVideoSpec() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDimensions.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDimensions.Json.g.cs new file mode 100644 index 000000000..6c1430e08 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDimensions.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesVideoSpecDimensions + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDimensions; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDimensions.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDimensions.g.cs new file mode 100644 index 000000000..a1515d4d3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDimensions.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesVideoSpecDimensions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("minWidth")] + public int? MinWidth { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maxWidth")] + public int? MaxWidth { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("minHeight")] + public int? MinHeight { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maxHeight")] + public int? MaxHeight { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesVideoSpecDimensions( + int? minWidth, + int? maxWidth, + int? minHeight, + int? maxHeight) + { + this.MinWidth = minWidth; + this.MaxWidth = maxWidth; + this.MinHeight = minHeight; + this.MaxHeight = maxHeight; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesVideoSpecDimensions() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDuration.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDuration.Json.g.cs new file mode 100644 index 000000000..fe1b416db --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDuration.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesVideoSpecDuration + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecDuration; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDuration.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDuration.g.cs new file mode 100644 index 000000000..d0cc94730 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecDuration.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesVideoSpecDuration + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("min")] + public string? Min { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max")] + public string? Max { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesVideoSpecDuration( + string? min, + string? max) + { + this.Min = min; + this.Max = max; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesVideoSpecDuration() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate.Json.g.cs new file mode 100644 index 000000000..4c95a1a0b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumAttributesVideoSpecFrameRate + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate.g.cs new file mode 100644 index 000000000..4ce9ee0e6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumAttributesVideoSpecFrameRate.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumAttributesVideoSpecFrameRate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("minFps")] + public int? MinFps { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maxFps")] + public int? MaxFps { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumAttributesVideoSpecFrameRate( + int? minFps, + int? maxFps) + { + this.MinFps = minFps; + this.MaxFps = maxFps; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumAttributesVideoSpecFrameRate() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumResponse.Json.g.cs new file mode 100644 index 000000000..1af86d5bd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRefDatumResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRefDatumResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRefDatumResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRefDatumResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRefDatumResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRefDatumResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumResponse.g.cs new file mode 100644 index 000000000..05fa9f6b2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumResponse.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRefDatumResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryRefDatum Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.DocumentLinks Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRefDatumResponse( + global::AppStoreConnect.AppAssetLibraryRefDatum data, + global::AppStoreConnect.DocumentLinks links) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRefDatumResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumType.g.cs new file mode 100644 index 000000000..cbccb5643 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRefDatumType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryRefDatumType + { + /// + /// + /// + AppAssetLibraryRefData, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryRefDatumTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryRefDatumType value) + { + return value switch + { + AppAssetLibraryRefDatumType.AppAssetLibraryRefData => "appAssetLibraryRefData", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryRefDatumType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryRefData" => AppAssetLibraryRefDatumType.AppAssetLibraryRefData, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationships.Json.g.cs new file mode 100644 index 000000000..74cbc0be5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationships.g.cs new file mode 100644 index 000000000..ea2a52c1a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationships.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRelationships + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("images")] + public global::AppStoreConnect.AppAssetLibraryRelationshipsImages? Images { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("videos")] + public global::AppStoreConnect.AppAssetLibraryRelationshipsVideos? Videos { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRelationships( + global::AppStoreConnect.AppAssetLibraryRelationshipsImages? images, + global::AppStoreConnect.AppAssetLibraryRelationshipsVideos? videos) + { + this.Images = images; + this.Videos = videos; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRelationships() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsImages.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsImages.Json.g.cs new file mode 100644 index 000000000..8a955cdfa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsImages.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRelationshipsImages + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRelationshipsImages? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRelationshipsImages), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRelationshipsImages; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRelationshipsImages? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRelationshipsImages? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRelationshipsImages), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRelationshipsImages; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsImages.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsImages.g.cs new file mode 100644 index 000000000..4173e2646 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsImages.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRelationshipsImages + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.RelationshipLinks? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRelationshipsImages( + global::AppStoreConnect.RelationshipLinks? links) + { + this.Links = links; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRelationshipsImages() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsVideos.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsVideos.Json.g.cs new file mode 100644 index 000000000..f84353dfb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsVideos.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryRelationshipsVideos + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRelationshipsVideos? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryRelationshipsVideos), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryRelationshipsVideos; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryRelationshipsVideos? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryRelationshipsVideos? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryRelationshipsVideos), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryRelationshipsVideos; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsVideos.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsVideos.g.cs new file mode 100644 index 000000000..7d8369ae0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryRelationshipsVideos.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryRelationshipsVideos + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.RelationshipLinks? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryRelationshipsVideos( + global::AppStoreConnect.RelationshipLinks? links) + { + this.Links = links; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryRelationshipsVideos() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryResponse.Json.g.cs new file mode 100644 index 000000000..5f895ba07 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryResponse.g.cs new file mode 100644 index 000000000..ab2d97511 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryResponse.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibrary Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.DocumentLinks Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryResponse( + global::AppStoreConnect.AppAssetLibrary data, + global::AppStoreConnect.DocumentLinks links) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryType.g.cs new file mode 100644 index 000000000..2c0de8f60 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryType + { + /// + /// + /// + AppAssetLibraries, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryType value) + { + return value switch + { + AppAssetLibraryType.AppAssetLibraries => "appAssetLibraries", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryType? ToEnum(string value) + { + return value switch + { + "appAssetLibraries" => AppAssetLibraryType.AppAssetLibraries, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideo.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideo.Json.g.cs new file mode 100644 index 000000000..63a864791 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideo.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideo + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideo? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideo), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideo; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideo? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideo? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideo), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideo; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..0bd412cb1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideo.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryVideoType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.Attributes2JsonConverter))] + public global::AppStoreConnect.Attributes2? Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + public global::AppStoreConnect.AppAssetLibraryVideoRelationships? Relationships { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.ResourceLinks? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideo( + string id, + global::AppStoreConnect.AppAssetLibraryVideoType type, + global::AppStoreConnect.Attributes2? attributes, + global::AppStoreConnect.AppAssetLibraryVideoRelationships? relationships, + global::AppStoreConnect.ResourceLinks? links) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Attributes = attributes; + this.Relationships = relationships; + this.Links = links; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideo() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributes.Json.g.cs new file mode 100644 index 000000000..3b0e45a65 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoAcceptedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributes.g.cs new file mode 100644 index 000000000..570be6da3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoAcceptedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryVideoAcceptedAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryVideoAcceptedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoAcceptedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoAcceptedAttributesVariant2 => AppAssetLibraryVideoAcceptedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoAcceptedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryVideoAcceptedAttributesVariant2; + return IsAppAssetLibraryVideoAcceptedAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryVideoAcceptedAttributesVariant2() => AppAssetLibraryVideoAcceptedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoAcceptedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoAcceptedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoAcceptedAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoAcceptedAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoAcceptedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoAcceptedAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoAcceptedAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoAcceptedAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + object? appAssetLibraryVideoAcceptedAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoAcceptedAttributesVariant2 = appAssetLibraryVideoAcceptedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoAcceptedAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoAcceptedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoAcceptedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoAcceptedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoAcceptedAttributesVariant2 is { } __value1 && appAssetLibraryVideoAcceptedAttributesVariant2 != null) + { + return appAssetLibraryVideoAcceptedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoAcceptedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoAcceptedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoAcceptedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoAcceptedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoAcceptedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoAcceptedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoAcceptedAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoAcceptedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoAcceptedAttributesVariant2, other.AppAssetLibraryVideoAcceptedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoAcceptedAttributes obj1, AppAssetLibraryVideoAcceptedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoAcceptedAttributes obj1, AppAssetLibraryVideoAcceptedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoAcceptedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..86bc2bc59 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoAcceptedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributesVariant2.g.cs new file mode 100644 index 000000000..7c5b1ab63 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAcceptedAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoAcceptedAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributes.Json.g.cs new file mode 100644 index 000000000..c7a32b843 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoApprovedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributes.g.cs new file mode 100644 index 000000000..d303c00f3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoApprovedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryVideoApprovedAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryVideoApprovedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoApprovedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoApprovedAttributesVariant2 => AppAssetLibraryVideoApprovedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoApprovedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryVideoApprovedAttributesVariant2; + return IsAppAssetLibraryVideoApprovedAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryVideoApprovedAttributesVariant2() => AppAssetLibraryVideoApprovedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoApprovedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoApprovedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoApprovedAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoApprovedAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoApprovedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoApprovedAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoApprovedAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoApprovedAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + object? appAssetLibraryVideoApprovedAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoApprovedAttributesVariant2 = appAssetLibraryVideoApprovedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoApprovedAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoApprovedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoApprovedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoApprovedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoApprovedAttributesVariant2 is { } __value1 && appAssetLibraryVideoApprovedAttributesVariant2 != null) + { + return appAssetLibraryVideoApprovedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoApprovedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoApprovedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoApprovedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoApprovedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoApprovedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoApprovedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoApprovedAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoApprovedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoApprovedAttributesVariant2, other.AppAssetLibraryVideoApprovedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoApprovedAttributes obj1, AppAssetLibraryVideoApprovedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoApprovedAttributes obj1, AppAssetLibraryVideoApprovedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoApprovedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..30d835d30 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoApprovedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributesVariant2.g.cs new file mode 100644 index 000000000..3648161ad --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoApprovedAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoApprovedAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributes.Json.g.cs new file mode 100644 index 000000000..f9ef6dae0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoArchivedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributes.g.cs new file mode 100644 index 000000000..66af1a155 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoArchivedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryVideoArchivedAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryVideoArchivedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoArchivedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoArchivedAttributesVariant2 => AppAssetLibraryVideoArchivedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoArchivedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryVideoArchivedAttributesVariant2; + return IsAppAssetLibraryVideoArchivedAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryVideoArchivedAttributesVariant2() => AppAssetLibraryVideoArchivedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoArchivedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoArchivedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoArchivedAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoArchivedAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoArchivedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoArchivedAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoArchivedAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoArchivedAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + object? appAssetLibraryVideoArchivedAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoArchivedAttributesVariant2 = appAssetLibraryVideoArchivedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoArchivedAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoArchivedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoArchivedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoArchivedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoArchivedAttributesVariant2 is { } __value1 && appAssetLibraryVideoArchivedAttributesVariant2 != null) + { + return appAssetLibraryVideoArchivedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoArchivedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoArchivedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoArchivedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoArchivedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoArchivedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoArchivedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoArchivedAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoArchivedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoArchivedAttributesVariant2, other.AppAssetLibraryVideoArchivedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoArchivedAttributes obj1, AppAssetLibraryVideoArchivedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoArchivedAttributes obj1, AppAssetLibraryVideoArchivedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoArchivedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..fbaa38b30 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoArchivedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributesVariant2.g.cs new file mode 100644 index 000000000..9cad28474 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoArchivedAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoArchivedAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminator.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminator.Json.g.cs new file mode 100644 index 000000000..a7f43715e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoAttributesDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminator.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminator.g.cs new file mode 100644 index 000000000..3ddb8bdac --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoAttributesDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorStateJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState? State { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoAttributesDiscriminator( + global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState? state) + { + this.State = state; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoAttributesDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminatorState.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminatorState.g.cs new file mode 100644 index 000000000..ed3b5f018 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAttributesDiscriminatorState.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideoAttributesDiscriminatorState + { + /// + /// + /// + Accepted, + /// + /// + /// + Approved, + /// + /// + /// + Archived, + /// + /// + /// + AwaitingUpload, + /// + /// + /// + Complete, + /// + /// + /// + Failed, + /// + /// + /// + InReview, + /// + /// + /// + PrepareForSubmission, + /// + /// + /// + ReadyForReview, + /// + /// + /// + Rejected, + /// + /// + /// + UploadComplete, + /// + /// + /// + WaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideoAttributesDiscriminatorStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideoAttributesDiscriminatorState value) + { + return value switch + { + AppAssetLibraryVideoAttributesDiscriminatorState.Accepted => "ACCEPTED", + AppAssetLibraryVideoAttributesDiscriminatorState.Approved => "APPROVED", + AppAssetLibraryVideoAttributesDiscriminatorState.Archived => "ARCHIVED", + AppAssetLibraryVideoAttributesDiscriminatorState.AwaitingUpload => "AWAITING_UPLOAD", + AppAssetLibraryVideoAttributesDiscriminatorState.Complete => "COMPLETE", + AppAssetLibraryVideoAttributesDiscriminatorState.Failed => "FAILED", + AppAssetLibraryVideoAttributesDiscriminatorState.InReview => "IN_REVIEW", + AppAssetLibraryVideoAttributesDiscriminatorState.PrepareForSubmission => "PREPARE_FOR_SUBMISSION", + AppAssetLibraryVideoAttributesDiscriminatorState.ReadyForReview => "READY_FOR_REVIEW", + AppAssetLibraryVideoAttributesDiscriminatorState.Rejected => "REJECTED", + AppAssetLibraryVideoAttributesDiscriminatorState.UploadComplete => "UPLOAD_COMPLETE", + AppAssetLibraryVideoAttributesDiscriminatorState.WaitingForReview => "WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideoAttributesDiscriminatorState? ToEnum(string value) + { + return value switch + { + "ACCEPTED" => AppAssetLibraryVideoAttributesDiscriminatorState.Accepted, + "APPROVED" => AppAssetLibraryVideoAttributesDiscriminatorState.Approved, + "ARCHIVED" => AppAssetLibraryVideoAttributesDiscriminatorState.Archived, + "AWAITING_UPLOAD" => AppAssetLibraryVideoAttributesDiscriminatorState.AwaitingUpload, + "COMPLETE" => AppAssetLibraryVideoAttributesDiscriminatorState.Complete, + "FAILED" => AppAssetLibraryVideoAttributesDiscriminatorState.Failed, + "IN_REVIEW" => AppAssetLibraryVideoAttributesDiscriminatorState.InReview, + "PREPARE_FOR_SUBMISSION" => AppAssetLibraryVideoAttributesDiscriminatorState.PrepareForSubmission, + "READY_FOR_REVIEW" => AppAssetLibraryVideoAttributesDiscriminatorState.ReadyForReview, + "REJECTED" => AppAssetLibraryVideoAttributesDiscriminatorState.Rejected, + "UPLOAD_COMPLETE" => AppAssetLibraryVideoAttributesDiscriminatorState.UploadComplete, + "WAITING_FOR_REVIEW" => AppAssetLibraryVideoAttributesDiscriminatorState.WaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributes.Json.g.cs new file mode 100644 index 000000000..064c24377 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoAwaitingUploadAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributes.g.cs new file mode 100644 index 000000000..a1b645b94 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributes.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoAwaitingUploadAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? AppAssetLibraryVideoAwaitingUploadAttributesVariant2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? AppAssetLibraryVideoAwaitingUploadAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoAwaitingUploadAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoAwaitingUploadAttributesVariant2 => AppAssetLibraryVideoAwaitingUploadAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoAwaitingUploadAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? value) + { + value = AppAssetLibraryVideoAwaitingUploadAttributesVariant2; + return IsAppAssetLibraryVideoAwaitingUploadAttributesVariant2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2 PickAppAssetLibraryVideoAwaitingUploadAttributesVariant2() => AppAssetLibraryVideoAwaitingUploadAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoAwaitingUploadAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoAwaitingUploadAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoAwaitingUploadAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoAwaitingUploadAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoAwaitingUploadAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoAwaitingUploadAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoAwaitingUploadAttributes(value); + + /// + /// + /// + public static implicit operator AppAssetLibraryVideoAwaitingUploadAttributes(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2 value) => new AppAssetLibraryVideoAwaitingUploadAttributes((global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2?(AppAssetLibraryVideoAwaitingUploadAttributes @this) => @this.AppAssetLibraryVideoAwaitingUploadAttributesVariant2; + + /// + /// + /// + public AppAssetLibraryVideoAwaitingUploadAttributes(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? value) + { + AppAssetLibraryVideoAwaitingUploadAttributesVariant2 = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoAwaitingUploadAttributes FromAppAssetLibraryVideoAwaitingUploadAttributesVariant2(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? value) => new AppAssetLibraryVideoAwaitingUploadAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoAwaitingUploadAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? appAssetLibraryVideoAwaitingUploadAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoAwaitingUploadAttributesVariant2 = appAssetLibraryVideoAwaitingUploadAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoAwaitingUploadAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoAwaitingUploadAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoAwaitingUploadAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoAwaitingUploadAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoAwaitingUploadAttributesVariant2 is { } __value1 && appAssetLibraryVideoAwaitingUploadAttributesVariant2 != null) + { + return appAssetLibraryVideoAwaitingUploadAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoAwaitingUploadAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoAwaitingUploadAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoAwaitingUploadAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoAwaitingUploadAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoAwaitingUploadAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoAwaitingUploadAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoAwaitingUploadAttributesVariant2, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoAwaitingUploadAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoAwaitingUploadAttributesVariant2, other.AppAssetLibraryVideoAwaitingUploadAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoAwaitingUploadAttributes obj1, AppAssetLibraryVideoAwaitingUploadAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoAwaitingUploadAttributes obj1, AppAssetLibraryVideoAwaitingUploadAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoAwaitingUploadAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..5afebf98a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoAwaitingUploadAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributesVariant2.g.cs new file mode 100644 index 000000000..cf9cd5b99 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoAwaitingUploadAttributesVariant2.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoAwaitingUploadAttributesVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploadOperations")] + public global::System.Collections.Generic.IList? UploadOperations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoAwaitingUploadAttributesVariant2( + global::System.Collections.Generic.IList? uploadOperations) + { + this.UploadOperations = uploadOperations; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoAwaitingUploadAttributesVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCommonAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCommonAttributes.Json.g.cs new file mode 100644 index 000000000..7fdcfca72 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCommonAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoCommonAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCommonAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCommonAttributes.g.cs new file mode 100644 index 000000000..b540306a6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCommonAttributes.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoCommonAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("category")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryAssetCategory? Category { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("createdDate")] + public global::System.DateTime? CreatedDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lastModifiedDate")] + public global::System.DateTime? LastModifiedDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileName")] + public string? FileName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileSize")] + public long? FileSize { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("previewFrameImage")] + public global::AppStoreConnect.PreviewFrameImage? PreviewFrameImage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("previewFrameTimeCode")] + public string? PreviewFrameTimeCode { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("referenceName")] + public string? ReferenceName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("specId")] + public string? SpecId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryAssetState State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stateDetails")] + public global::System.Collections.Generic.IList? StateDetails { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("videoAsset")] + public string? VideoAsset { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoCommonAttributes( + global::AppStoreConnect.AppAssetLibraryAssetState state, + global::AppStoreConnect.AppAssetLibraryAssetCategory? category, + global::System.DateTime? createdDate, + global::System.DateTime? lastModifiedDate, + string? fileName, + long? fileSize, + global::AppStoreConnect.PreviewFrameImage? previewFrameImage, + string? previewFrameTimeCode, + string? referenceName, + string? specId, + global::System.Collections.Generic.IList? stateDetails, + string? videoAsset) + { + this.Category = category; + this.CreatedDate = createdDate; + this.LastModifiedDate = lastModifiedDate; + this.FileName = fileName; + this.FileSize = fileSize; + this.PreviewFrameImage = previewFrameImage; + this.PreviewFrameTimeCode = previewFrameTimeCode; + this.ReferenceName = referenceName; + this.SpecId = specId; + this.State = state; + this.StateDetails = stateDetails; + this.VideoAsset = videoAsset; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoCommonAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequest.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequest.Json.g.cs new file mode 100644 index 000000000..7edf168e3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoCreateRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequest), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequest? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequest.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequest.g.cs new file mode 100644 index 000000000..76a9aed55 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequest.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoCreateRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoCreateRequest( + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoCreateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestData.Json.g.cs new file mode 100644 index 000000000..9fc8dba32 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoCreateRequestData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestData.g.cs new file mode 100644 index 000000000..59a7eaa69 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestData.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoCreateRequestData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes Attributes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relationships")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships Relationships { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoCreateRequestData( + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes attributes, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships relationships, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataType type) + { + this.Type = type; + this.Attributes = attributes ?? throw new global::System.ArgumentNullException(nameof(attributes)); + this.Relationships = relationships ?? throw new global::System.ArgumentNullException(nameof(relationships)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoCreateRequestData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataAttributes.Json.g.cs new file mode 100644 index 000000000..49a6e4add --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoCreateRequestDataAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataAttributes.g.cs new file mode 100644 index 000000000..9cf6e80aa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataAttributes.g.cs @@ -0,0 +1,84 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoCreateRequestDataAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("category")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryAssetCategory Category { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileName")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string FileName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fileSize")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long FileSize { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("previewFrameTimeCode")] + public string? PreviewFrameTimeCode { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("referenceName")] + public string? ReferenceName { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoCreateRequestDataAttributes( + global::AppStoreConnect.AppAssetLibraryAssetCategory category, + string fileName, + long fileSize, + string? previewFrameTimeCode, + string? referenceName) + { + this.Category = category; + this.FileName = fileName ?? throw new global::System.ArgumentNullException(nameof(fileName)); + this.FileSize = fileSize; + this.PreviewFrameTimeCode = previewFrameTimeCode; + this.ReferenceName = referenceName; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoCreateRequestDataAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationships.Json.g.cs new file mode 100644 index 000000000..15d6cf41f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationships.g.cs new file mode 100644 index 000000000..723c0d738 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationships.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationships + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assetLibrary")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary AssetLibrary { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements? Placements { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoCreateRequestDataRelationships( + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary assetLibrary, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements? placements) + { + this.AssetLibrary = assetLibrary ?? throw new global::System.ArgumentNullException(nameof(assetLibrary)); + this.Placements = placements; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoCreateRequestDataRelationships() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary.Json.g.cs new file mode 100644 index 000000000..575e6e185 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary.g.cs new file mode 100644 index 000000000..0076e3c67 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary( + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibrary() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData.Json.g.cs new file mode 100644 index 000000000..9cb26cac8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData.g.cs new file mode 100644 index 000000000..5ab22d9a9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData( + string id, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.g.cs new file mode 100644 index 000000000..249d574c2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType + { + /// + /// + /// + AppAssetLibraries, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType value) + { + return value switch + { + AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.AppAssetLibraries => "appAssetLibraries", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraries" => AppAssetLibraryVideoCreateRequestDataRelationshipsAssetLibraryDataType.AppAssetLibraries, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..b2a093653 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements.g.cs new file mode 100644 index 000000000..5e82ec8b8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements( + global::System.Collections.Generic.IList? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoCreateRequestDataRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..88761e51b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..3e04da90d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..4030bae84 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryVideoCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataType.g.cs new file mode 100644 index 000000000..531480402 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoCreateRequestDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideoCreateRequestDataType + { + /// + /// + /// + AppAssetLibraryVideos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideoCreateRequestDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideoCreateRequestDataType value) + { + return value switch + { + AppAssetLibraryVideoCreateRequestDataType.AppAssetLibraryVideos => "appAssetLibraryVideos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideoCreateRequestDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryVideos" => AppAssetLibraryVideoCreateRequestDataType.AppAssetLibraryVideos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributes.Json.g.cs new file mode 100644 index 000000000..28f612a9b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoFailedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributes.g.cs new file mode 100644 index 000000000..bc8675272 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributes.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoFailedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? AppAssetLibraryVideoFailedAttributesVariant2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? AppAssetLibraryVideoFailedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoFailedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoFailedAttributesVariant2 => AppAssetLibraryVideoFailedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoFailedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? value) + { + value = AppAssetLibraryVideoFailedAttributesVariant2; + return IsAppAssetLibraryVideoFailedAttributesVariant2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2 PickAppAssetLibraryVideoFailedAttributesVariant2() => AppAssetLibraryVideoFailedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoFailedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoFailedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoFailedAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoFailedAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoFailedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoFailedAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoFailedAttributes(value); + + /// + /// + /// + public static implicit operator AppAssetLibraryVideoFailedAttributes(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2 value) => new AppAssetLibraryVideoFailedAttributes((global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2?(AppAssetLibraryVideoFailedAttributes @this) => @this.AppAssetLibraryVideoFailedAttributesVariant2; + + /// + /// + /// + public AppAssetLibraryVideoFailedAttributes(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? value) + { + AppAssetLibraryVideoFailedAttributesVariant2 = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoFailedAttributes FromAppAssetLibraryVideoFailedAttributesVariant2(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? value) => new AppAssetLibraryVideoFailedAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoFailedAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? appAssetLibraryVideoFailedAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoFailedAttributesVariant2 = appAssetLibraryVideoFailedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoFailedAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoFailedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoFailedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoFailedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoFailedAttributesVariant2 is { } __value1 && appAssetLibraryVideoFailedAttributesVariant2 != null) + { + return appAssetLibraryVideoFailedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoFailedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoFailedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoFailedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoFailedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoFailedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoFailedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoFailedAttributesVariant2, + typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoFailedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoFailedAttributesVariant2, other.AppAssetLibraryVideoFailedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoFailedAttributes obj1, AppAssetLibraryVideoFailedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoFailedAttributes obj1, AppAssetLibraryVideoFailedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoFailedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..bec040d15 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoFailedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributesVariant2.g.cs new file mode 100644 index 000000000..ae8cd2979 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoFailedAttributesVariant2.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoFailedAttributesVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploadOperations")] + public global::System.Collections.Generic.IList? UploadOperations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoFailedAttributesVariant2( + global::System.Collections.Generic.IList? uploadOperations) + { + this.UploadOperations = uploadOperations; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoFailedAttributesVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributes.Json.g.cs new file mode 100644 index 000000000..e6d81d276 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoInReviewAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributes.g.cs new file mode 100644 index 000000000..38b2ae2c8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoInReviewAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryVideoInReviewAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryVideoInReviewAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoInReviewAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoInReviewAttributesVariant2 => AppAssetLibraryVideoInReviewAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoInReviewAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryVideoInReviewAttributesVariant2; + return IsAppAssetLibraryVideoInReviewAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryVideoInReviewAttributesVariant2() => AppAssetLibraryVideoInReviewAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoInReviewAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoInReviewAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoInReviewAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoInReviewAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoInReviewAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoInReviewAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoInReviewAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoInReviewAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + object? appAssetLibraryVideoInReviewAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoInReviewAttributesVariant2 = appAssetLibraryVideoInReviewAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoInReviewAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoInReviewAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoInReviewAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoInReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoInReviewAttributesVariant2 is { } __value1 && appAssetLibraryVideoInReviewAttributesVariant2 != null) + { + return appAssetLibraryVideoInReviewAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoInReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoInReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoInReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoInReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoInReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoInReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoInReviewAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoInReviewAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoInReviewAttributesVariant2, other.AppAssetLibraryVideoInReviewAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoInReviewAttributes obj1, AppAssetLibraryVideoInReviewAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoInReviewAttributes obj1, AppAssetLibraryVideoInReviewAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoInReviewAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..277ae09ee --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoInReviewAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributesVariant2.g.cs new file mode 100644 index 000000000..f8f267585 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoInReviewAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoInReviewAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponse.Json.g.cs new file mode 100644 index 000000000..381fbc1c6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoPlacementsLinkagesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponse.g.cs new file mode 100644 index 000000000..fcc9df5cd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoPlacementsLinkagesResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoPlacementsLinkagesResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoPlacementsLinkagesResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem.Json.g.cs new file mode 100644 index 000000000..fd0090c78 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoPlacementsLinkagesResponseDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem.g.cs new file mode 100644 index 000000000..9ec5ec756 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoPlacementsLinkagesResponseDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoPlacementsLinkagesResponseDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoPlacementsLinkagesResponseDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..d249934c7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideoPlacementsLinkagesResponseDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType value) + { + return value switch + { + AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryVideoPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributes.Json.g.cs new file mode 100644 index 000000000..52749a0d9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoReadyForReviewAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributes.g.cs new file mode 100644 index 000000000..52d8057f8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoReadyForReviewAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryVideoReadyForReviewAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryVideoReadyForReviewAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoReadyForReviewAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoReadyForReviewAttributesVariant2 => AppAssetLibraryVideoReadyForReviewAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoReadyForReviewAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryVideoReadyForReviewAttributesVariant2; + return IsAppAssetLibraryVideoReadyForReviewAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryVideoReadyForReviewAttributesVariant2() => AppAssetLibraryVideoReadyForReviewAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoReadyForReviewAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoReadyForReviewAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoReadyForReviewAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoReadyForReviewAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoReadyForReviewAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoReadyForReviewAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoReadyForReviewAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoReadyForReviewAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + object? appAssetLibraryVideoReadyForReviewAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoReadyForReviewAttributesVariant2 = appAssetLibraryVideoReadyForReviewAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoReadyForReviewAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoReadyForReviewAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoReadyForReviewAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoReadyForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoReadyForReviewAttributesVariant2 is { } __value1 && appAssetLibraryVideoReadyForReviewAttributesVariant2 != null) + { + return appAssetLibraryVideoReadyForReviewAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoReadyForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoReadyForReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoReadyForReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoReadyForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoReadyForReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoReadyForReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoReadyForReviewAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoReadyForReviewAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoReadyForReviewAttributesVariant2, other.AppAssetLibraryVideoReadyForReviewAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoReadyForReviewAttributes obj1, AppAssetLibraryVideoReadyForReviewAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoReadyForReviewAttributes obj1, AppAssetLibraryVideoReadyForReviewAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoReadyForReviewAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..a9bb1607c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoReadyForReviewAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributesVariant2.g.cs new file mode 100644 index 000000000..fa8771cd0 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoReadyForReviewAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoReadyForReviewAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributes.Json.g.cs new file mode 100644 index 000000000..5bd0fa63a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoRejectedAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributes.g.cs new file mode 100644 index 000000000..b09ca5d1d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoRejectedAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryVideoRejectedAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryVideoRejectedAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoRejectedAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoRejectedAttributesVariant2 => AppAssetLibraryVideoRejectedAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoRejectedAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryVideoRejectedAttributesVariant2; + return IsAppAssetLibraryVideoRejectedAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryVideoRejectedAttributesVariant2() => AppAssetLibraryVideoRejectedAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoRejectedAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoRejectedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoRejectedAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoRejectedAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoRejectedAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoRejectedAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoRejectedAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoRejectedAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + object? appAssetLibraryVideoRejectedAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoRejectedAttributesVariant2 = appAssetLibraryVideoRejectedAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoRejectedAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoRejectedAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoRejectedAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoRejectedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoRejectedAttributesVariant2 is { } __value1 && appAssetLibraryVideoRejectedAttributesVariant2 != null) + { + return appAssetLibraryVideoRejectedAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoRejectedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoRejectedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoRejectedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoRejectedAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoRejectedAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoRejectedAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoRejectedAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoRejectedAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoRejectedAttributesVariant2, other.AppAssetLibraryVideoRejectedAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoRejectedAttributes obj1, AppAssetLibraryVideoRejectedAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoRejectedAttributes obj1, AppAssetLibraryVideoRejectedAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoRejectedAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..fa5e78cde --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoRejectedAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributesVariant2.g.cs new file mode 100644 index 000000000..8338ad5d7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRejectedAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoRejectedAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationships.Json.g.cs new file mode 100644 index 000000000..5d98036bc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoRelationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRelationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationships), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoRelationships; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRelationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoRelationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoRelationships; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationships.g.cs new file mode 100644 index 000000000..a7a0dea0d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationships.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoRelationships + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements? Placements { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoRelationships( + global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements? placements) + { + this.Placements = placements; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoRelationships() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..9eca315b3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacements.g.cs new file mode 100644 index 000000000..fdd704770 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacements.g.cs @@ -0,0 +1,62 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.RelationshipLinks? Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoRelationshipsPlacements( + global::AppStoreConnect.RelationshipLinks? links, + global::AppStoreConnect.PagingInformation? meta, + global::System.Collections.Generic.IList? data) + { + this.Links = links; + this.Meta = meta; + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..e9d89cc24 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..57faee42b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..d4d43af67 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideoRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideoRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppAssetLibraryVideoRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideoRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppAssetLibraryVideoRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoResponse.Json.g.cs new file mode 100644 index 000000000..20c399696 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoResponse.g.cs new file mode 100644 index 000000000..869511045 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryVideo Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("included")] + public global::System.Collections.Generic.IList? Included { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.DocumentLinks Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoResponse( + global::AppStoreConnect.AppAssetLibraryVideo data, + global::AppStoreConnect.DocumentLinks links, + global::System.Collections.Generic.IList? included) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Included = included; + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoType.g.cs new file mode 100644 index 000000000..84607c40a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideoType + { + /// + /// + /// + AppAssetLibraryVideos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideoTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideoType value) + { + return value switch + { + AppAssetLibraryVideoType.AppAssetLibraryVideos => "appAssetLibraryVideos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideoType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryVideos" => AppAssetLibraryVideoType.AppAssetLibraryVideos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequest.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequest.Json.g.cs new file mode 100644 index 000000000..fa10eeb34 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoUpdateRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoUpdateRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequest.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequest.g.cs new file mode 100644 index 000000000..df359555e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequest.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoUpdateRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoUpdateRequest( + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoUpdateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestData.Json.g.cs new file mode 100644 index 000000000..50b8d9d15 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoUpdateRequestData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestData.g.cs new file mode 100644 index 000000000..46189dc34 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestData.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoUpdateRequestData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoUpdateRequestDataTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attributes")] + public global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes? Attributes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoUpdateRequestData( + string id, + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataType type, + global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes? attributes) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Attributes = attributes; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoUpdateRequestData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataAttributes.Json.g.cs new file mode 100644 index 000000000..b8c1fad68 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoUpdateRequestDataAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoUpdateRequestDataAttributes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataAttributes.g.cs new file mode 100644 index 000000000..8d71c8ae1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataAttributes.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoUpdateRequestDataAttributes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("archived")] + public bool? Archived { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("previewFrameTimeCode")] + public string? PreviewFrameTimeCode { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("referenceName")] + public string? ReferenceName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploaded")] + public bool? Uploaded { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoUpdateRequestDataAttributes( + bool? archived, + string? previewFrameTimeCode, + string? referenceName, + bool? uploaded) + { + this.Archived = archived; + this.PreviewFrameTimeCode = previewFrameTimeCode; + this.ReferenceName = referenceName; + this.Uploaded = uploaded; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoUpdateRequestDataAttributes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataType.g.cs new file mode 100644 index 000000000..561baa67a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUpdateRequestDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideoUpdateRequestDataType + { + /// + /// + /// + AppAssetLibraryVideos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideoUpdateRequestDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideoUpdateRequestDataType value) + { + return value switch + { + AppAssetLibraryVideoUpdateRequestDataType.AppAssetLibraryVideos => "appAssetLibraryVideos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideoUpdateRequestDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryVideos" => AppAssetLibraryVideoUpdateRequestDataType.AppAssetLibraryVideos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributes.Json.g.cs new file mode 100644 index 000000000..32d732516 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoUploadCompleteAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributes.g.cs new file mode 100644 index 000000000..cd1ed7f91 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributes.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoUploadCompleteAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? AppAssetLibraryVideoUploadCompleteAttributesVariant2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? AppAssetLibraryVideoUploadCompleteAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoUploadCompleteAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoUploadCompleteAttributesVariant2 => AppAssetLibraryVideoUploadCompleteAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoUploadCompleteAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? value) + { + value = AppAssetLibraryVideoUploadCompleteAttributesVariant2; + return IsAppAssetLibraryVideoUploadCompleteAttributesVariant2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2 PickAppAssetLibraryVideoUploadCompleteAttributesVariant2() => AppAssetLibraryVideoUploadCompleteAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoUploadCompleteAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoUploadCompleteAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoUploadCompleteAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoUploadCompleteAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoUploadCompleteAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoUploadCompleteAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoUploadCompleteAttributes(value); + + /// + /// + /// + public static implicit operator AppAssetLibraryVideoUploadCompleteAttributes(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2 value) => new AppAssetLibraryVideoUploadCompleteAttributes((global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2?(AppAssetLibraryVideoUploadCompleteAttributes @this) => @this.AppAssetLibraryVideoUploadCompleteAttributesVariant2; + + /// + /// + /// + public AppAssetLibraryVideoUploadCompleteAttributes(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? value) + { + AppAssetLibraryVideoUploadCompleteAttributesVariant2 = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoUploadCompleteAttributes FromAppAssetLibraryVideoUploadCompleteAttributesVariant2(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? value) => new AppAssetLibraryVideoUploadCompleteAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoUploadCompleteAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? appAssetLibraryVideoUploadCompleteAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoUploadCompleteAttributesVariant2 = appAssetLibraryVideoUploadCompleteAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoUploadCompleteAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoUploadCompleteAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoUploadCompleteAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoUploadCompleteAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoUploadCompleteAttributesVariant2 is { } __value1 && appAssetLibraryVideoUploadCompleteAttributesVariant2 != null) + { + return appAssetLibraryVideoUploadCompleteAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoUploadCompleteAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoUploadCompleteAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoUploadCompleteAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoUploadCompleteAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoUploadCompleteAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoUploadCompleteAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoUploadCompleteAttributesVariant2, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoUploadCompleteAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoUploadCompleteAttributesVariant2, other.AppAssetLibraryVideoUploadCompleteAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoUploadCompleteAttributes obj1, AppAssetLibraryVideoUploadCompleteAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoUploadCompleteAttributes obj1, AppAssetLibraryVideoUploadCompleteAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoUploadCompleteAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..ac8d1ebc6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoUploadCompleteAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributesVariant2.g.cs new file mode 100644 index 000000000..cfd8b5462 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoUploadCompleteAttributesVariant2.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoUploadCompleteAttributesVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploadOperations")] + public global::System.Collections.Generic.IList? UploadOperations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideoUploadCompleteAttributesVariant2( + global::System.Collections.Generic.IList? uploadOperations) + { + this.UploadOperations = uploadOperations; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideoUploadCompleteAttributesVariant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributes.Json.g.cs new file mode 100644 index 000000000..ed4d89b69 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct AppAssetLibraryVideoWaitingForReviewAttributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributes.g.cs new file mode 100644 index 000000000..abded2695 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributes.g.cs @@ -0,0 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct AppAssetLibraryVideoWaitingForReviewAttributes : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? AppAssetLibraryVideoCommonAttributes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoCommonAttributes))] +#endif + public bool IsAppAssetLibraryVideoCommonAttributes => AppAssetLibraryVideoCommonAttributes != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoCommonAttributes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = AppAssetLibraryVideoCommonAttributes; + return IsAppAssetLibraryVideoCommonAttributes; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickAppAssetLibraryVideoCommonAttributes() => AppAssetLibraryVideoCommonAttributes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoCommonAttributes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public object? AppAssetLibraryVideoWaitingForReviewAttributesVariant2 { get; init; } +#else + public object? AppAssetLibraryVideoWaitingForReviewAttributesVariant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideoWaitingForReviewAttributesVariant2))] +#endif + public bool IsAppAssetLibraryVideoWaitingForReviewAttributesVariant2 => AppAssetLibraryVideoWaitingForReviewAttributesVariant2 != null; + + /// + /// + /// + public bool TryPickAppAssetLibraryVideoWaitingForReviewAttributesVariant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = AppAssetLibraryVideoWaitingForReviewAttributesVariant2; + return IsAppAssetLibraryVideoWaitingForReviewAttributesVariant2; + } + + /// + /// + /// + public object PickAppAssetLibraryVideoWaitingForReviewAttributesVariant2() => AppAssetLibraryVideoWaitingForReviewAttributesVariant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideoWaitingForReviewAttributesVariant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator AppAssetLibraryVideoWaitingForReviewAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new AppAssetLibraryVideoWaitingForReviewAttributes((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(AppAssetLibraryVideoWaitingForReviewAttributes @this) => @this.AppAssetLibraryVideoCommonAttributes; + + /// + /// + /// + public AppAssetLibraryVideoWaitingForReviewAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + AppAssetLibraryVideoCommonAttributes = value; + } + + /// + /// + /// + public static AppAssetLibraryVideoWaitingForReviewAttributes FromAppAssetLibraryVideoCommonAttributes(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new AppAssetLibraryVideoWaitingForReviewAttributes(value); + + /// + /// + /// + public AppAssetLibraryVideoWaitingForReviewAttributes( + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? appAssetLibraryVideoCommonAttributes, + object? appAssetLibraryVideoWaitingForReviewAttributesVariant2 + ) + { + AppAssetLibraryVideoCommonAttributes = appAssetLibraryVideoCommonAttributes; + AppAssetLibraryVideoWaitingForReviewAttributesVariant2 = appAssetLibraryVideoWaitingForReviewAttributesVariant2; + } + + /// + /// + /// + public object? Object => + AppAssetLibraryVideoWaitingForReviewAttributesVariant2 as object ?? + AppAssetLibraryVideoCommonAttributes as object + ; + + /// + /// + /// + public override string? ToString() => + AppAssetLibraryVideoCommonAttributes?.ToString() ?? + AppAssetLibraryVideoWaitingForReviewAttributesVariant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppAssetLibraryVideoCommonAttributes && IsAppAssetLibraryVideoWaitingForReviewAttributesVariant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appAssetLibraryVideoCommonAttributes = null, + global::System.Func? appAssetLibraryVideoWaitingForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0 && appAssetLibraryVideoCommonAttributes != null) + { + return appAssetLibraryVideoCommonAttributes(__value0); + } + else if (AppAssetLibraryVideoWaitingForReviewAttributesVariant2 is { } __value1 && appAssetLibraryVideoWaitingForReviewAttributesVariant2 != null) + { + return appAssetLibraryVideoWaitingForReviewAttributesVariant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + + global::System.Action? appAssetLibraryVideoWaitingForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoWaitingForReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoWaitingForReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appAssetLibraryVideoCommonAttributes = null, + global::System.Action? appAssetLibraryVideoWaitingForReviewAttributesVariant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppAssetLibraryVideoCommonAttributes is { } __value0) + { + appAssetLibraryVideoCommonAttributes?.Invoke(__value0); + } + else if (AppAssetLibraryVideoWaitingForReviewAttributesVariant2 is { } __value1) + { + appAssetLibraryVideoWaitingForReviewAttributesVariant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppAssetLibraryVideoCommonAttributes, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + AppAssetLibraryVideoWaitingForReviewAttributesVariant2, + typeof(object), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AppAssetLibraryVideoWaitingForReviewAttributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoCommonAttributes, other.AppAssetLibraryVideoCommonAttributes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideoWaitingForReviewAttributesVariant2, other.AppAssetLibraryVideoWaitingForReviewAttributesVariant2) + ; + } + + /// + /// + /// + public static bool operator ==(AppAssetLibraryVideoWaitingForReviewAttributes obj1, AppAssetLibraryVideoWaitingForReviewAttributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AppAssetLibraryVideoWaitingForReviewAttributes obj1, AppAssetLibraryVideoWaitingForReviewAttributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AppAssetLibraryVideoWaitingForReviewAttributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributesVariant2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributesVariant2.Json.g.cs new file mode 100644 index 000000000..65a20481a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributesVariant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideoWaitingForReviewAttributesVariant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributesVariant2), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributesVariant2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributesVariant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributesVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributesVariant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributesVariant2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributesVariant2.g.cs new file mode 100644 index 000000000..7c95beba2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideoWaitingForReviewAttributesVariant2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideoWaitingForReviewAttributesVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..5db58e3ec --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.Image => "image", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.State => "state", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..1cd47849b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo value) + { + return value switch + { + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.Category => "category", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.FileName => "fileName", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.FileSize => "fileSize", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.Placements => "placements", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.SpecId => "specId", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.State => "state", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.Category, + "createdDate" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.FileName, + "fileSize" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.SpecId, + "state" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.State, + "stateDetails" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => AppAssetLibraryVideosGetInstanceFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceIncludeItem.g.cs new file mode 100644 index 000000000..163149385 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosGetInstanceIncludeItem.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosGetInstanceIncludeItem + { + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosGetInstanceIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosGetInstanceIncludeItem value) + { + return value switch + { + AppAssetLibraryVideosGetInstanceIncludeItem.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosGetInstanceIncludeItem? ToEnum(string value) + { + return value switch + { + "placements" => AppAssetLibraryVideosGetInstanceIncludeItem.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponse.Json.g.cs new file mode 100644 index 000000000..6782c2d82 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideosLinkagesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponse.g.cs new file mode 100644 index 000000000..8a768d7a4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideosLinkagesResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideosLinkagesResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideosLinkagesResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItem.Json.g.cs new file mode 100644 index 000000000..28feae815 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideosLinkagesResponseDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItem.g.cs new file mode 100644 index 000000000..41f50f4fd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideosLinkagesResponseDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppAssetLibraryVideosLinkagesResponseDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideosLinkagesResponseDataItem( + string id, + global::AppStoreConnect.AppAssetLibraryVideosLinkagesResponseDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideosLinkagesResponseDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..48fc3eb6c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosLinkagesResponseDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosLinkagesResponseDataItemType + { + /// + /// + /// + AppAssetLibraryVideos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosLinkagesResponseDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosLinkagesResponseDataItemType value) + { + return value switch + { + AppAssetLibraryVideosLinkagesResponseDataItemType.AppAssetLibraryVideos => "appAssetLibraryVideos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosLinkagesResponseDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryVideos" => AppAssetLibraryVideosLinkagesResponseDataItemType.AppAssetLibraryVideos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..b913d97cd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category => "category", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName => "fileName", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize => "fileSize", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements => "placements", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId => "specId", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State => "state", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category, + "createdDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName, + "fileSize" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements, + "referenceName" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName, + "specId" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId, + "state" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State, + "stateDetails" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..52452466d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..98eeb3237 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category => "category", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName => "fileName", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize => "fileSize", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements => "placements", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId => "specId", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State => "state", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category, + "createdDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName, + "fileSize" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId, + "state" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State, + "stateDetails" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..5fff92c7c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization + { + /// + /// + /// + AppCustomProductPageVersion, + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion => "appCustomProductPageVersion", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? ToEnum(string value) + { + return value switch + { + "appCustomProductPageVersion" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion, + "appPreviewSets" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, + "appScreenshotSets" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, + "locale" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, + "promotionalText" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, + "searchKeywords" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..709ea5275 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization + { + /// + /// + /// + AppEvent, + /// + /// + /// + AppEventScreenshots, + /// + /// + /// + AppEventVideoClips, + /// + /// + /// + Locale, + /// + /// + /// + LongDescription, + /// + /// + /// + Name, + /// + /// + /// + Placements, + /// + /// + /// + ShortDescription, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent => "appEvent", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots => "appEventScreenshots", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips => "appEventVideoClips", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization? ToEnum(string value) + { + return value switch + { + "appEvent" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent, + "appEventScreenshots" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots, + "appEventVideoClips" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips, + "locale" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale, + "longDescription" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription, + "name" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements, + "shortDescription" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..fd09446a4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersionExperimentTreatment, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets => "appPreviewSets", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets, + "appScreenshotSets" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, + "appStoreVersionExperimentTreatment" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, + "locale" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..38e084407 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersion, + /// + /// + /// + Description, + /// + /// + /// + Keywords, + /// + /// + /// + Locale, + /// + /// + /// + MarketingUrl, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + /// + /// + /// + SupportUrl, + /// + /// + /// + WhatsNew, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets => "appPreviewSets", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets => "appScreenshotSets", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion => "appStoreVersion", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description => "description", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", + AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew => "whatsNew", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets, + "appScreenshotSets" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets, + "appStoreVersion" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion, + "description" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description, + "keywords" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, + "locale" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, + "marketingUrl" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, + "promotionalText" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, + "searchKeywords" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, + "supportUrl" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, + "whatsNew" => AppAssetLibraryVideosPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..a7dbd6fb1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem + { + /// + /// + /// + AppPreview, + /// + /// + /// + AppScreenshot, + /// + /// + /// + AppStoreSearchResultsAsset, + /// + /// + /// + EventCardAsset, + /// + /// + /// + EventDetailsPageAsset, + /// + /// + /// + ImessageAppScreenshot, + /// + /// + /// + ProductPageHeaderAsset, + /// + /// + /// + RetentionMessageAsset, + /// + /// + /// + SearchResultsAdsAsset, + /// + /// + /// + TodayTabAdsAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview => "APP_PREVIEW", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot => "APP_SCREENSHOT", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset => "APP_STORE_SEARCH_RESULTS_ASSET", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset => "EVENT_CARD_ASSET", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset => "EVENT_DETAILS_PAGE_ASSET", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot => "IMESSAGE_APP_SCREENSHOT", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset => "PRODUCT_PAGE_HEADER_ASSET", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset => "RETENTION_MESSAGE_ASSET", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset => "SEARCH_RESULTS_ADS_ASSET", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset => "TODAY_TAB_ADS_ASSET", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem? ToEnum(string value) + { + return value switch + { + "APP_PREVIEW" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview, + "APP_SCREENSHOT" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot, + "APP_STORE_SEARCH_RESULTS_ASSET" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset, + "EVENT_CARD_ASSET" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset, + "EVENT_DETAILS_PAGE_ASSET" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset, + "IMESSAGE_APP_SCREENSHOT" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot, + "PRODUCT_PAGE_HEADER_ASSET" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset, + "RETENTION_MESSAGE_ASSET" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset, + "SEARCH_RESULTS_ADS_ASSET" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset, + "TODAY_TAB_ADS_ASSET" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..18b201d2d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem + { + /// + /// + /// + AssetProcessing, + /// + /// + /// + Failed, + /// + /// + /// + ParentApproved, + /// + /// + /// + ParentInReview, + /// + /// + /// + ParentPrepareForSubmission, + /// + /// + /// + ParentReadyForReview, + /// + /// + /// + ParentWaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.AssetProcessing => "ASSET_PROCESSING", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.Failed => "FAILED", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentApproved => "PARENT_APPROVED", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentInReview => "PARENT_IN_REVIEW", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission => "PARENT_PREPARE_FOR_SUBMISSION", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview => "PARENT_READY_FOR_REVIEW", + AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview => "PARENT_WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem? ToEnum(string value) + { + return value switch + { + "ASSET_PROCESSING" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.AssetProcessing, + "FAILED" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.Failed, + "PARENT_APPROVED" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentApproved, + "PARENT_IN_REVIEW" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentInReview, + "PARENT_PREPARE_FOR_SUBMISSION" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission, + "PARENT_READY_FOR_REVIEW" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview, + "PARENT_WAITING_FOR_REVIEW" => AppAssetLibraryVideosPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..1b2b5d3ba --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + Image, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.AppEventLocalization => "appEventLocalization", + AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.Image => "image", + AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization, + "appEventLocalization" => AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization, + "image" => AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.Image, + "video" => AppAssetLibraryVideosPlacementsGetToManyRelatedIncludeItem.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..9316608b7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem + { + /// + /// + /// + MinuscreatedDate, + /// + /// + /// + MinuslastModifiedDate, + /// + /// + /// + MinusplacementGroupPosition, + /// + /// + /// + CreatedDate, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + PlacementGroupPosition, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppAssetLibraryVideosPlacementsGetToManyRelatedSortItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem value) + { + return value switch + { + AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.MinuscreatedDate => "-createdDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate => "-lastModifiedDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition => "-placementGroupPosition", + AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.CreatedDate => "createdDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.LastModifiedDate => "lastModifiedDate", + AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.PlacementGroupPosition => "placementGroupPosition", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem? ToEnum(string value) + { + return value switch + { + "-createdDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.MinuscreatedDate, + "-lastModifiedDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate, + "-placementGroupPosition" => AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition, + "createdDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.CreatedDate, + "lastModifiedDate" => AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.LastModifiedDate, + "placementGroupPosition" => AppAssetLibraryVideosPlacementsGetToManyRelatedSortItem.PlacementGroupPosition, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosResponse.Json.g.cs new file mode 100644 index 000000000..c78ec96d4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppAssetLibraryVideosResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideosResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppAssetLibraryVideosResponse), + jsonSerializerContext) as global::AppStoreConnect.AppAssetLibraryVideosResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppAssetLibraryVideosResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppAssetLibraryVideosResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppAssetLibraryVideosResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppAssetLibraryVideosResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosResponse.g.cs new file mode 100644 index 000000000..f0d3c5ed8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppAssetLibraryVideosResponse.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppAssetLibraryVideosResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("included")] + public global::System.Collections.Generic.IList? Included { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppAssetLibraryVideosResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::System.Collections.Generic.IList? included, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Included = included; + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppAssetLibraryVideosResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipAdvancedExperienceResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipAdvancedExperienceResponse.g.cs index 9304ed000..bf8b230cc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipAdvancedExperienceResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipAdvancedExperienceResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppClipAdvancedExperienceResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppClipAdvancedExperienceResponse public AppClipAdvancedExperienceResponse( global::AppStoreConnect.AppClipAdvancedExperience data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipAdvancedExperiencesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipAdvancedExperiencesResponse.g.cs index bfd9300db..7af64b5bb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipAdvancedExperiencesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipAdvancedExperiencesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppClipAdvancedExperiencesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppClipAdvancedExperiencesResponse public AppClipAdvancedExperiencesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceLocalizationResponse.g.cs index 3bd4165f3..b4b8808ff 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceLocalizationResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppClipDefaultExperienceLocalizationResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppClipDefaultExperienceLocalizationResponse public AppClipDefaultExperienceLocalizationResponse( global::AppStoreConnect.AppClipDefaultExperienceLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceLocalizationsResponse.g.cs index 7a62ea2a0..6dfa8725a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceLocalizationsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppClipDefaultExperienceLocalizationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppClipDefaultExperienceLocalizationsResponse public AppClipDefaultExperienceLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceResponse.g.cs index 2818a693b..5b0a88634 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperienceResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppClipDefaultExperienceResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppClipDefaultExperienceResponse public AppClipDefaultExperienceResponse( global::AppStoreConnect.AppClipDefaultExperience data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.g.cs index f8b8b0d99..76185863e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFi /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppClipDefaultExperiencesReleaseWithAppS AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.AppTags => "appTags", + AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppClipDefaultExperiencesReleaseWithAppS "appStoreVersionExperimentsV2" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs index da0a75e97..695a9abed 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFi /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppClipDefaultExperiencesReleaseWithAppS AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Locale => "locale", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Placements => "placements", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppClipDefaultExperiencesReleaseWithAppS "keywords" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppClipDefaultExperiencesReleaseWithAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesResponse.g.cs index 5fb7f20a2..95dfd7bd6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipDefaultExperiencesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppClipDefaultExperiencesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppClipDefaultExperiencesResponse public AppClipDefaultExperiencesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipResponse.g.cs index a1b973d5d..f4f466cf5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppClipResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppClipResponse public AppClipResponse( global::AppStoreConnect.AppClip data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipsGetInstanceFieldsApp.g.cs index 16be71b39..0827d6897 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppClipsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppClipsGetInstanceFieldsApp value) AppClipsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppClipsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", AppClipsGetInstanceFieldsApp.AppTags => "appTags", + AppClipsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", AppClipsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", AppClipsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppClipsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppClipsGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => AppClipsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppClipsGetInstanceFieldsApp.AppStoreVersions, "appTags" => AppClipsGetInstanceFieldsApp.AppTags, + "assetLibrary" => AppClipsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => AppClipsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppClipsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppClipsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipsResponse.g.cs index 60fc570bb..f48ded5c0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppClipsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppClipsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppClipsResponse public AppClipsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationships.g.cs index 5d407cb48..b40efee97 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationships.g.cs @@ -15,6 +15,12 @@ public sealed partial class AppCustomProductPageLocalizationCreateRequestDataRel [global::System.Text.Json.Serialization.JsonRequired] public required global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersion AppCustomProductPageVersion { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements? Placements { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -25,13 +31,16 @@ public sealed partial class AppCustomProductPageLocalizationCreateRequestDataRel /// Initializes a new instance of the class. /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AppCustomProductPageLocalizationCreateRequestDataRelationships( - global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersion appCustomProductPageVersion) + global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsAppCustomProductPageVersion appCustomProductPageVersion, + global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements? placements) { this.AppCustomProductPageVersion = appCustomProductPageVersion ?? throw new global::System.ArgumentNullException(nameof(appCustomProductPageVersion)); + this.Placements = placements; } /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..b77b71db9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements.g.cs new file mode 100644 index 000000000..81b58bb7f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements( + global::System.Collections.Generic.IList? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..9055d66e3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..235e228a6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..e15fa3eaf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppCustomProductPageLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationships.g.cs index 9ec2f2530..1a22db90c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationships.g.cs @@ -14,6 +14,12 @@ public sealed partial class AppCustomProductPageLocalizationInlineCreateRelation [global::System.Text.Json.Serialization.JsonPropertyName("appCustomProductPageVersion")] public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersion? AppCustomProductPageVersion { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements? Placements { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -24,13 +30,16 @@ public sealed partial class AppCustomProductPageLocalizationInlineCreateRelation /// Initializes a new instance of the class. /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AppCustomProductPageLocalizationInlineCreateRelationships( - global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersion? appCustomProductPageVersion) + global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsAppCustomProductPageVersion? appCustomProductPageVersion, + global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements? placements) { this.AppCustomProductPageVersion = appCustomProductPageVersion; + this.Placements = placements; } /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..1f8f13761 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements.g.cs new file mode 100644 index 000000000..2532b18e6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements( + global::System.Collections.Generic.IList? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppCustomProductPageLocalizationInlineCreateRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..dfea718c4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..237b312a5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..17360029e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppCustomProductPageLocalizationInlineCreateRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponse.Json.g.cs new file mode 100644 index 000000000..742a74afe --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppCustomProductPageLocalizationPlacementsLinkagesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse), + jsonSerializerContext) as global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponse.g.cs new file mode 100644 index 000000000..ff72eb216 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppCustomProductPageLocalizationPlacementsLinkagesResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppCustomProductPageLocalizationPlacementsLinkagesResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppCustomProductPageLocalizationPlacementsLinkagesResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs new file mode 100644 index 000000000..864b9db93 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem.g.cs new file mode 100644 index 000000000..c1bf347cf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem( + string id, + global::AppStoreConnect.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..dca710c3b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType value) + { + return value switch + { + AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppCustomProductPageLocalizationPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationships.g.cs index d8ec1ff9e..23d0f379a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationships.g.cs @@ -32,6 +32,12 @@ public sealed partial class AppCustomProductPageLocalizationRelationships [global::System.Text.Json.Serialization.JsonPropertyName("searchKeywords")] public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywords? SearchKeywords { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements? Placements { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -45,6 +51,7 @@ public sealed partial class AppCustomProductPageLocalizationRelationships /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -52,12 +59,14 @@ public AppCustomProductPageLocalizationRelationships( global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppCustomProductPageVersion? appCustomProductPageVersion, global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppScreenshotSets? appScreenshotSets, global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppPreviewSets? appPreviewSets, - global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywords? searchKeywords) + global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywords? searchKeywords, + global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements? placements) { this.AppCustomProductPageVersion = appCustomProductPageVersion; this.AppScreenshotSets = appScreenshotSets; this.AppPreviewSets = appPreviewSets; this.SearchKeywords = searchKeywords; + this.Placements = placements; } /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..c20da00dd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppCustomProductPageLocalizationRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacements.g.cs new file mode 100644 index 000000000..70231acb5 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacements.g.cs @@ -0,0 +1,62 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppCustomProductPageLocalizationRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.RelationshipLinks? Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppCustomProductPageLocalizationRelationshipsPlacements( + global::AppStoreConnect.RelationshipLinks? links, + global::AppStoreConnect.PagingInformation? meta, + global::System.Collections.Generic.IList? data) + { + this.Links = links; + this.Meta = meta; + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppCustomProductPageLocalizationRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..9e9f6a4dc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppCustomProductPageLocalizationRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..a065ad269 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppCustomProductPageLocalizationRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppCustomProductPageLocalizationRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppCustomProductPageLocalizationRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..68916bb9a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationResponse.g.cs index 8524df15a..958632fc4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppCustomProductPageLocalizationResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppCustomProductPageLocalizationResponse public AppCustomProductPageLocalizationResponse( global::AppStoreConnect.AppCustomProductPageLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.g.cs index 595a1e238..8864b47a7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,10 @@ namespace AppStoreConnect /// public enum AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryPlacements, /// /// /// @@ -38,6 +42,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationResponse { return value switch { + AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions => "appCustomProductPageVersions", AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppKeywords => "appKeywords", AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets => "appPreviewSets", @@ -52,6 +57,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationResponse { return value switch { + "appAssetLibraryPlacements" => AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements, "appCustomProductPageVersions" => AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions, "appKeywords" => AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppKeywords, "appPreviewSets" => AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs index 20dd344a0..de8674e70 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedField /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppPrev AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppPrev "appPreviewSets" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index 249f75659..38efc4e3a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedField /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppPrev AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppPrev "appScreenshotSets" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs index 844c7b25a..d5046b2b6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedField /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppPrev AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppPrev "keywords" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppCustomProductPageLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs index 4bfcaf3b6..bb6a4bedc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFi /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppScre AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppScre "appPreviewSets" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index dd3a236d5..045880704 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFi /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppScre AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppScre "appScreenshotSets" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs index 275fad0c3..0486e265f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFi /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppScre AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsAppScre "keywords" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppCustomProductPageLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..e5782233f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Image => "image", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.State => "state", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppCustomProductPageLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.g.cs index 1dc2188de..119cf568a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPa /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsGetInst AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.Locale => "locale", + AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.Placements => "placements", AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsGetInst "appPreviewSets" => AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppCustomProductPageLocalizationsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceIncludeItem.g.cs index 654dc4721..01e997709 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceIncludeItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsGetInstanceIncludeItem.g.cs @@ -23,6 +23,10 @@ public enum AppCustomProductPageLocalizationsGetInstanceIncludeItem /// /// /// + Placements, + /// + /// + /// SearchKeywords, } @@ -41,6 +45,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsGetInst AppCustomProductPageLocalizationsGetInstanceIncludeItem.AppCustomProductPageVersion => "appCustomProductPageVersion", AppCustomProductPageLocalizationsGetInstanceIncludeItem.AppPreviewSets => "appPreviewSets", AppCustomProductPageLocalizationsGetInstanceIncludeItem.AppScreenshotSets => "appScreenshotSets", + AppCustomProductPageLocalizationsGetInstanceIncludeItem.Placements => "placements", AppCustomProductPageLocalizationsGetInstanceIncludeItem.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -55,6 +60,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsGetInst "appCustomProductPageVersion" => AppCustomProductPageLocalizationsGetInstanceIncludeItem.AppCustomProductPageVersion, "appPreviewSets" => AppCustomProductPageLocalizationsGetInstanceIncludeItem.AppPreviewSets, "appScreenshotSets" => AppCustomProductPageLocalizationsGetInstanceIncludeItem.AppScreenshotSets, + "placements" => AppCustomProductPageLocalizationsGetInstanceIncludeItem.Placements, "searchKeywords" => AppCustomProductPageLocalizationsGetInstanceIncludeItem.SearchKeywords, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..258cc5708 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category => "category", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName => "fileName", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize => "fileSize", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements => "placements", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId => "specId", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State => "state", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category, + "createdDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName, + "fileSize" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements, + "referenceName" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName, + "specId" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId, + "state" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State, + "stateDetails" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..c50a15ed9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..f2c3d83cd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category => "category", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName => "fileName", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize => "fileSize", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements => "placements", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId => "specId", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State => "state", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category, + "createdDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName, + "fileSize" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId, + "state" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State, + "stateDetails" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..26f5f0c5f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization + { + /// + /// + /// + AppCustomProductPageVersion, + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion => "appCustomProductPageVersion", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? ToEnum(string value) + { + return value switch + { + "appCustomProductPageVersion" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion, + "appPreviewSets" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, + "appScreenshotSets" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, + "locale" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, + "promotionalText" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, + "searchKeywords" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..357e8891b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization + { + /// + /// + /// + AppEvent, + /// + /// + /// + AppEventScreenshots, + /// + /// + /// + AppEventVideoClips, + /// + /// + /// + Locale, + /// + /// + /// + LongDescription, + /// + /// + /// + Name, + /// + /// + /// + Placements, + /// + /// + /// + ShortDescription, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent => "appEvent", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots => "appEventScreenshots", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips => "appEventVideoClips", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? ToEnum(string value) + { + return value switch + { + "appEvent" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent, + "appEventScreenshots" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots, + "appEventVideoClips" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips, + "locale" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale, + "longDescription" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription, + "name" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements, + "shortDescription" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..a29b2224a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersionExperimentTreatment, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets => "appPreviewSets", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets, + "appScreenshotSets" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, + "appStoreVersionExperimentTreatment" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, + "locale" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..4c3e051cb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersion, + /// + /// + /// + Description, + /// + /// + /// + Keywords, + /// + /// + /// + Locale, + /// + /// + /// + MarketingUrl, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + /// + /// + /// + SupportUrl, + /// + /// + /// + WhatsNew, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets => "appPreviewSets", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets => "appScreenshotSets", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion => "appStoreVersion", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description => "description", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew => "whatsNew", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets, + "appScreenshotSets" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets, + "appStoreVersion" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion, + "description" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description, + "keywords" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, + "locale" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, + "marketingUrl" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, + "promotionalText" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, + "searchKeywords" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, + "supportUrl" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, + "whatsNew" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..f4ff4c728 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem + { + /// + /// + /// + AppPreview, + /// + /// + /// + AppScreenshot, + /// + /// + /// + AppStoreSearchResultsAsset, + /// + /// + /// + EventCardAsset, + /// + /// + /// + EventDetailsPageAsset, + /// + /// + /// + ImessageAppScreenshot, + /// + /// + /// + ProductPageHeaderAsset, + /// + /// + /// + RetentionMessageAsset, + /// + /// + /// + SearchResultsAdsAsset, + /// + /// + /// + TodayTabAdsAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview => "APP_PREVIEW", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot => "APP_SCREENSHOT", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset => "APP_STORE_SEARCH_RESULTS_ASSET", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset => "EVENT_CARD_ASSET", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset => "EVENT_DETAILS_PAGE_ASSET", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot => "IMESSAGE_APP_SCREENSHOT", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset => "PRODUCT_PAGE_HEADER_ASSET", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset => "RETENTION_MESSAGE_ASSET", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset => "SEARCH_RESULTS_ADS_ASSET", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset => "TODAY_TAB_ADS_ASSET", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? ToEnum(string value) + { + return value switch + { + "APP_PREVIEW" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview, + "APP_SCREENSHOT" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot, + "APP_STORE_SEARCH_RESULTS_ASSET" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset, + "EVENT_CARD_ASSET" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset, + "EVENT_DETAILS_PAGE_ASSET" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset, + "IMESSAGE_APP_SCREENSHOT" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot, + "PRODUCT_PAGE_HEADER_ASSET" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset, + "RETENTION_MESSAGE_ASSET" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset, + "SEARCH_RESULTS_ADS_ASSET" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset, + "TODAY_TAB_ADS_ASSET" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..950bb07c9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem + { + /// + /// + /// + AssetProcessing, + /// + /// + /// + Failed, + /// + /// + /// + ParentApproved, + /// + /// + /// + ParentInReview, + /// + /// + /// + ParentPrepareForSubmission, + /// + /// + /// + ParentReadyForReview, + /// + /// + /// + ParentWaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.AssetProcessing => "ASSET_PROCESSING", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.Failed => "FAILED", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentApproved => "PARENT_APPROVED", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentInReview => "PARENT_IN_REVIEW", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission => "PARENT_PREPARE_FOR_SUBMISSION", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview => "PARENT_READY_FOR_REVIEW", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview => "PARENT_WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem? ToEnum(string value) + { + return value switch + { + "ASSET_PROCESSING" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.AssetProcessing, + "FAILED" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.Failed, + "PARENT_APPROVED" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentApproved, + "PARENT_IN_REVIEW" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentInReview, + "PARENT_PREPARE_FOR_SUBMISSION" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission, + "PARENT_READY_FOR_REVIEW" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview, + "PARENT_WAITING_FOR_REVIEW" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..8794f3619 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + Image, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.AppEventLocalization => "appEventLocalization", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.Image => "image", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization, + "appEventLocalization" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization, + "image" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.Image, + "video" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedIncludeItem.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..edeee0c59 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem + { + /// + /// + /// + MinuscreatedDate, + /// + /// + /// + MinuslastModifiedDate, + /// + /// + /// + MinusplacementGroupPosition, + /// + /// + /// + CreatedDate, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + PlacementGroupPosition, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem value) + { + return value switch + { + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.MinuscreatedDate => "-createdDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate => "-lastModifiedDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition => "-placementGroupPosition", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.CreatedDate => "createdDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.LastModifiedDate => "lastModifiedDate", + AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.PlacementGroupPosition => "placementGroupPosition", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem? ToEnum(string value) + { + return value switch + { + "-createdDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.MinuscreatedDate, + "-lastModifiedDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate, + "-placementGroupPosition" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition, + "createdDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.CreatedDate, + "lastModifiedDate" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.LastModifiedDate, + "placementGroupPosition" => AppCustomProductPageLocalizationsPlacementsGetToManyRelatedSortItem.PlacementGroupPosition, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsResponse.g.cs index d6f3a1c69..492e92481 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppCustomProductPageLocalizationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppCustomProductPageLocalizationsResponse public AppCustomProductPageLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.g.cs index 708f85d8c..cbd2ef6cd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,10 @@ namespace AppStoreConnect /// public enum AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryPlacements, /// /// /// @@ -38,6 +42,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsRespons { return value switch { + AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions => "appCustomProductPageVersions", AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppKeywords => "appKeywords", AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets => "appPreviewSets", @@ -52,6 +57,7 @@ public static string ToValueString(this AppCustomProductPageLocalizationsRespons { return value switch { + "appAssetLibraryPlacements" => AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements, "appCustomProductPageVersions" => AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions, "appKeywords" => AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppKeywords, "appPreviewSets" => AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageResponse.g.cs index f262efd43..b99bba5e1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppCustomProductPageResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppCustomProductPageResponse public AppCustomProductPageResponse( global::AppStoreConnect.AppCustomProductPage data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionResponse.g.cs index ca97a38a4..25b6bcbad 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppCustomProductPageVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppCustomProductPageVersionResponse public AppCustomProductPageVersionResponse( global::AppStoreConnect.AppCustomProductPageVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..b2a3c9d9e --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs index 1fba31288..cdad08614 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToMa /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppCustomProductPageVersionsAppCustomPro AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppCustomProductPageVersionsAppCustomPro "appPreviewSets" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.g.cs index 98e8b7e19..c93d84a60 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.g.cs @@ -23,6 +23,10 @@ public enum AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToMa /// /// /// + Placements, + /// + /// + /// SearchKeywords, } @@ -41,6 +45,7 @@ public static string ToValueString(this AppCustomProductPageVersionsAppCustomPro AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.AppCustomProductPageVersion => "appCustomProductPageVersion", AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.AppPreviewSets => "appPreviewSets", AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.AppScreenshotSets => "appScreenshotSets", + AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.Placements => "placements", AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -55,6 +60,7 @@ public static string ToValueString(this AppCustomProductPageVersionsAppCustomPro "appCustomProductPageVersion" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.AppCustomProductPageVersion, "appPreviewSets" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.AppPreviewSets, "appScreenshotSets" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.AppScreenshotSets, + "placements" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.Placements, "searchKeywords" => AppCustomProductPageVersionsAppCustomProductPageLocalizationsGetToManyRelatedIncludeItem.SearchKeywords, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.g.cs index c34efaf9d..954e9d4ef 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLoc /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppCustomProductPageVersionsGetInstanceF AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.Locale => "locale", + AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.Placements => "placements", AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppCustomProductPageVersionsGetInstanceF "appPreviewSets" => AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppCustomProductPageVersionsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsResponse.g.cs index a3044c0db..790600894 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPageVersionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppCustomProductPageVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppCustomProductPageVersionsResponse public AppCustomProductPageVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs index df0d8d67c..753c9aaff 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFie /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppCustomProductPagesAppCustomProductPag AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppCustomProductPagesAppCustomProductPag "appPreviewSets" => AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppCustomProductPagesAppCustomProductPageVersionsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesGetInstanceFieldsApp.g.cs index 8b11752c1..b18fb88b7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppCustomProductPagesGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppCustomProductPagesGetInstanceFieldsAp AppCustomProductPagesGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppCustomProductPagesGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", AppCustomProductPagesGetInstanceFieldsApp.AppTags => "appTags", + AppCustomProductPagesGetInstanceFieldsApp.AssetLibrary => "assetLibrary", AppCustomProductPagesGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", AppCustomProductPagesGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppCustomProductPagesGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppCustomProductPagesGetInstanceFieldsAp "appStoreVersionExperimentsV2" => AppCustomProductPagesGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppCustomProductPagesGetInstanceFieldsApp.AppStoreVersions, "appTags" => AppCustomProductPagesGetInstanceFieldsApp.AppTags, + "assetLibrary" => AppCustomProductPagesGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => AppCustomProductPagesGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppCustomProductPagesGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppCustomProductPagesGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesResponse.g.cs index 21a6b8ec8..725dadcfc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppCustomProductPagesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppCustomProductPagesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppCustomProductPagesResponse public AppCustomProductPagesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationResponse.g.cs index b129007f9..a5fc7bc2b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppEncryptionDeclarationResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppEncryptionDeclarationResponse public AppEncryptionDeclarationResponse( global::AppStoreConnect.AppEncryptionDeclaration data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.g.cs index 9df0cf856..c46779d49 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppEncryptionDeclarationsAppGetToOneRela AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.AppTags => "appTags", + AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppEncryptionDeclarationsAppGetToOneRela "appStoreVersionExperimentsV2" => AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppEncryptionDeclarationsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsGetCollectionFieldsApp.g.cs index 6f1bc2bdd..c1c80d53d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppEncryptionDeclarationsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppEncryptionDeclarationsGetCollectionFi AppEncryptionDeclarationsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppEncryptionDeclarationsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", AppEncryptionDeclarationsGetCollectionFieldsApp.AppTags => "appTags", + AppEncryptionDeclarationsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", AppEncryptionDeclarationsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", AppEncryptionDeclarationsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppEncryptionDeclarationsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppEncryptionDeclarationsGetCollectionFi "appStoreVersionExperimentsV2" => AppEncryptionDeclarationsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppEncryptionDeclarationsGetCollectionFieldsApp.AppStoreVersions, "appTags" => AppEncryptionDeclarationsGetCollectionFieldsApp.AppTags, + "assetLibrary" => AppEncryptionDeclarationsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => AppEncryptionDeclarationsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppEncryptionDeclarationsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppEncryptionDeclarationsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsGetInstanceFieldsApp.g.cs index e4686883d..d1dca21e4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppEncryptionDeclarationsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppEncryptionDeclarationsGetInstanceFiel AppEncryptionDeclarationsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppEncryptionDeclarationsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", AppEncryptionDeclarationsGetInstanceFieldsApp.AppTags => "appTags", + AppEncryptionDeclarationsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", AppEncryptionDeclarationsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", AppEncryptionDeclarationsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppEncryptionDeclarationsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppEncryptionDeclarationsGetInstanceFiel "appStoreVersionExperimentsV2" => AppEncryptionDeclarationsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppEncryptionDeclarationsGetInstanceFieldsApp.AppStoreVersions, "appTags" => AppEncryptionDeclarationsGetInstanceFieldsApp.AppTags, + "assetLibrary" => AppEncryptionDeclarationsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => AppEncryptionDeclarationsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppEncryptionDeclarationsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppEncryptionDeclarationsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsResponse.g.cs index 7b3feb6ec..07ac43e8d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEncryptionDeclarationsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppEncryptionDeclarationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppEncryptionDeclarationsResponse public AppEncryptionDeclarationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationships.g.cs index 84dcbe38f..50427b602 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationships.g.cs @@ -15,6 +15,12 @@ public sealed partial class AppEventLocalizationCreateRequestDataRelationships [global::System.Text.Json.Serialization.JsonRequired] public required global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEvent AppEvent { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements? Placements { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -25,13 +31,16 @@ public sealed partial class AppEventLocalizationCreateRequestDataRelationships /// Initializes a new instance of the class. /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AppEventLocalizationCreateRequestDataRelationships( - global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEvent appEvent) + global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsAppEvent appEvent, + global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements? placements) { this.AppEvent = appEvent ?? throw new global::System.ArgumentNullException(nameof(appEvent)); + this.Placements = placements; } /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..57770bae7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppEventLocalizationCreateRequestDataRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacements.g.cs new file mode 100644 index 000000000..5d1c8b131 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacements.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppEventLocalizationCreateRequestDataRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppEventLocalizationCreateRequestDataRelationshipsPlacements( + global::System.Collections.Generic.IList? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppEventLocalizationCreateRequestDataRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..a91166a42 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..584201451 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..f797549d2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppEventLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponse.Json.g.cs new file mode 100644 index 000000000..bebd5bc4d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppEventLocalizationPlacementsLinkagesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse), + jsonSerializerContext) as global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponse.g.cs new file mode 100644 index 000000000..08d9296f3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppEventLocalizationPlacementsLinkagesResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppEventLocalizationPlacementsLinkagesResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppEventLocalizationPlacementsLinkagesResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs new file mode 100644 index 000000000..8eca76a15 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppEventLocalizationPlacementsLinkagesResponseDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItem.g.cs new file mode 100644 index 000000000..28f70012a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppEventLocalizationPlacementsLinkagesResponseDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppEventLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppEventLocalizationPlacementsLinkagesResponseDataItem( + string id, + global::AppStoreConnect.AppEventLocalizationPlacementsLinkagesResponseDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppEventLocalizationPlacementsLinkagesResponseDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..94c85df9f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationPlacementsLinkagesResponseDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationPlacementsLinkagesResponseDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationPlacementsLinkagesResponseDataItemType value) + { + return value switch + { + AppEventLocalizationPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationPlacementsLinkagesResponseDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppEventLocalizationPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationships.g.cs index 31189e9f3..cec631b53 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationships.g.cs @@ -26,6 +26,12 @@ public sealed partial class AppEventLocalizationRelationships [global::System.Text.Json.Serialization.JsonPropertyName("appEventVideoClips")] public global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClips? AppEventVideoClips { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements? Placements { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -38,17 +44,20 @@ public sealed partial class AppEventLocalizationRelationships /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AppEventLocalizationRelationships( global::AppStoreConnect.AppEventLocalizationRelationshipsAppEvent? appEvent, global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventScreenshots? appEventScreenshots, - global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClips? appEventVideoClips) + global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClips? appEventVideoClips, + global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements? placements) { this.AppEvent = appEvent; this.AppEventScreenshots = appEventScreenshots; this.AppEventVideoClips = appEventVideoClips; + this.Placements = placements; } /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..d8c1045b4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppEventLocalizationRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacements.g.cs new file mode 100644 index 000000000..3d9902cde --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacements.g.cs @@ -0,0 +1,62 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppEventLocalizationRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.RelationshipLinks? Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppEventLocalizationRelationshipsPlacements( + global::AppStoreConnect.RelationshipLinks? links, + global::AppStoreConnect.PagingInformation? meta, + global::System.Collections.Generic.IList? data) + { + this.Links = links; + this.Meta = meta; + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppEventLocalizationRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..67420157d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppEventLocalizationRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..ac82dec5a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppEventLocalizationRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppEventLocalizationRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppEventLocalizationRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..31f337b9b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppEventLocalizationRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppEventLocalizationRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationResponse.g.cs index 449d24e83..4ac296c5c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppEventLocalizationResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppEventLocalizationResponse public AppEventLocalizationResponse( global::AppStoreConnect.AppEventLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationResponseIncludedItemDiscriminatorType.g.cs index 00ab169ba..1119200c4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,10 @@ namespace AppStoreConnect /// public enum AppEventLocalizationResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryPlacements, /// /// /// @@ -34,6 +38,7 @@ public static string ToValueString(this AppEventLocalizationResponseIncludedItem { return value switch { + AppEventLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEventScreenshots => "appEventScreenshots", AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEventVideoClips => "appEventVideoClips", AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEvents => "appEvents", @@ -47,6 +52,7 @@ public static string ToValueString(this AppEventLocalizationResponseIncludedItem { return value switch { + "appAssetLibraryPlacements" => AppEventLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements, "appEventScreenshots" => AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEventScreenshots, "appEventVideoClips" => AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEventVideoClips, "appEvents" => AppEventLocalizationResponseIncludedItemDiscriminatorType.AppEvents, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.g.cs index 06ca8b3b4..67ca1dbe1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -35,6 +35,10 @@ public enum AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEve /// /// /// + Placements, + /// + /// + /// ShortDescription, } @@ -56,6 +60,7 @@ public static string ToValueString(this AppEventLocalizationsAppEventScreenshots AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -73,6 +78,7 @@ public static string ToValueString(this AppEventLocalizationsAppEventScreenshots "locale" => AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.Locale, "longDescription" => AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.LongDescription, "name" => AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.Placements, "shortDescription" => AppEventLocalizationsAppEventScreenshotsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.g.cs index c520fd40f..2033b5a10 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -35,6 +35,10 @@ public enum AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEven /// /// /// + Placements, + /// + /// + /// ShortDescription, } @@ -56,6 +60,7 @@ public static string ToValueString(this AppEventLocalizationsAppEventVideoClipsG AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -73,6 +78,7 @@ public static string ToValueString(this AppEventLocalizationsAppEventVideoClipsG "locale" => AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.Locale, "longDescription" => AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.LongDescription, "name" => AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.Placements, "shortDescription" => AppEventLocalizationsAppEventVideoClipsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..8c2068a26 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Image => "image", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.State => "state", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppEventLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceFieldsAppEventLocalization.g.cs index 3951e76d3..afd6cbd14 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceFieldsAppEventLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceFieldsAppEventLocalization.g.cs @@ -35,6 +35,10 @@ public enum AppEventLocalizationsGetInstanceFieldsAppEventLocalization /// /// /// + Placements, + /// + /// + /// ShortDescription, } @@ -56,6 +60,7 @@ public static string ToValueString(this AppEventLocalizationsGetInstanceFieldsAp AppEventLocalizationsGetInstanceFieldsAppEventLocalization.Locale => "locale", AppEventLocalizationsGetInstanceFieldsAppEventLocalization.LongDescription => "longDescription", AppEventLocalizationsGetInstanceFieldsAppEventLocalization.Name => "name", + AppEventLocalizationsGetInstanceFieldsAppEventLocalization.Placements => "placements", AppEventLocalizationsGetInstanceFieldsAppEventLocalization.ShortDescription => "shortDescription", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -73,6 +78,7 @@ public static string ToValueString(this AppEventLocalizationsGetInstanceFieldsAp "locale" => AppEventLocalizationsGetInstanceFieldsAppEventLocalization.Locale, "longDescription" => AppEventLocalizationsGetInstanceFieldsAppEventLocalization.LongDescription, "name" => AppEventLocalizationsGetInstanceFieldsAppEventLocalization.Name, + "placements" => AppEventLocalizationsGetInstanceFieldsAppEventLocalization.Placements, "shortDescription" => AppEventLocalizationsGetInstanceFieldsAppEventLocalization.ShortDescription, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceIncludeItem.g.cs index 43fff68c9..715e3d3ea 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceIncludeItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsGetInstanceIncludeItem.g.cs @@ -20,6 +20,10 @@ public enum AppEventLocalizationsGetInstanceIncludeItem /// /// AppEventVideoClips, + /// + /// + /// + Placements, } /// @@ -37,6 +41,7 @@ public static string ToValueString(this AppEventLocalizationsGetInstanceIncludeI AppEventLocalizationsGetInstanceIncludeItem.AppEvent => "appEvent", AppEventLocalizationsGetInstanceIncludeItem.AppEventScreenshots => "appEventScreenshots", AppEventLocalizationsGetInstanceIncludeItem.AppEventVideoClips => "appEventVideoClips", + AppEventLocalizationsGetInstanceIncludeItem.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -50,6 +55,7 @@ public static string ToValueString(this AppEventLocalizationsGetInstanceIncludeI "appEvent" => AppEventLocalizationsGetInstanceIncludeItem.AppEvent, "appEventScreenshots" => AppEventLocalizationsGetInstanceIncludeItem.AppEventScreenshots, "appEventVideoClips" => AppEventLocalizationsGetInstanceIncludeItem.AppEventVideoClips, + "placements" => AppEventLocalizationsGetInstanceIncludeItem.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..052da0b3f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category => "category", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName => "fileName", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize => "fileSize", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements => "placements", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId => "specId", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State => "state", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category, + "createdDate" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName, + "fileSize" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements, + "referenceName" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName, + "specId" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId, + "state" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State, + "stateDetails" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..c54af9b74 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..1aa02fa2c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category => "category", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName => "fileName", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize => "fileSize", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements => "placements", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId => "specId", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State => "state", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category, + "createdDate" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName, + "fileSize" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId, + "state" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State, + "stateDetails" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..644f6dd0d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization + { + /// + /// + /// + AppCustomProductPageVersion, + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion => "appCustomProductPageVersion", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? ToEnum(string value) + { + return value switch + { + "appCustomProductPageVersion" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion, + "appPreviewSets" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, + "appScreenshotSets" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, + "locale" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, + "promotionalText" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, + "searchKeywords" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..8b8506856 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization + { + /// + /// + /// + AppEvent, + /// + /// + /// + AppEventScreenshots, + /// + /// + /// + AppEventVideoClips, + /// + /// + /// + Locale, + /// + /// + /// + LongDescription, + /// + /// + /// + Name, + /// + /// + /// + Placements, + /// + /// + /// + ShortDescription, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent => "appEvent", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots => "appEventScreenshots", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips => "appEventVideoClips", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? ToEnum(string value) + { + return value switch + { + "appEvent" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent, + "appEventScreenshots" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots, + "appEventVideoClips" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips, + "locale" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale, + "longDescription" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription, + "name" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements, + "shortDescription" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..d2abffe8c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersionExperimentTreatment, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets => "appPreviewSets", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets, + "appScreenshotSets" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, + "appStoreVersionExperimentTreatment" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, + "locale" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..2d20e9b59 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersion, + /// + /// + /// + Description, + /// + /// + /// + Keywords, + /// + /// + /// + Locale, + /// + /// + /// + MarketingUrl, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + /// + /// + /// + SupportUrl, + /// + /// + /// + WhatsNew, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets => "appPreviewSets", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets => "appScreenshotSets", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion => "appStoreVersion", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description => "description", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", + AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew => "whatsNew", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets, + "appScreenshotSets" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets, + "appStoreVersion" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion, + "description" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description, + "keywords" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, + "locale" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, + "marketingUrl" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, + "promotionalText" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, + "searchKeywords" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, + "supportUrl" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, + "whatsNew" => AppEventLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..9d7d23ebe --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem + { + /// + /// + /// + AppPreview, + /// + /// + /// + AppScreenshot, + /// + /// + /// + AppStoreSearchResultsAsset, + /// + /// + /// + EventCardAsset, + /// + /// + /// + EventDetailsPageAsset, + /// + /// + /// + ImessageAppScreenshot, + /// + /// + /// + ProductPageHeaderAsset, + /// + /// + /// + RetentionMessageAsset, + /// + /// + /// + SearchResultsAdsAsset, + /// + /// + /// + TodayTabAdsAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview => "APP_PREVIEW", + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot => "APP_SCREENSHOT", + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset => "APP_STORE_SEARCH_RESULTS_ASSET", + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset => "EVENT_CARD_ASSET", + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset => "EVENT_DETAILS_PAGE_ASSET", + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot => "IMESSAGE_APP_SCREENSHOT", + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset => "PRODUCT_PAGE_HEADER_ASSET", + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset => "RETENTION_MESSAGE_ASSET", + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset => "SEARCH_RESULTS_ADS_ASSET", + AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset => "TODAY_TAB_ADS_ASSET", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? ToEnum(string value) + { + return value switch + { + "APP_PREVIEW" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview, + "APP_SCREENSHOT" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot, + "APP_STORE_SEARCH_RESULTS_ASSET" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset, + "EVENT_CARD_ASSET" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset, + "EVENT_DETAILS_PAGE_ASSET" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset, + "IMESSAGE_APP_SCREENSHOT" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot, + "PRODUCT_PAGE_HEADER_ASSET" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset, + "RETENTION_MESSAGE_ASSET" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset, + "SEARCH_RESULTS_ADS_ASSET" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset, + "TODAY_TAB_ADS_ASSET" => AppEventLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..b3530771a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem + { + /// + /// + /// + AssetProcessing, + /// + /// + /// + Failed, + /// + /// + /// + ParentApproved, + /// + /// + /// + ParentInReview, + /// + /// + /// + ParentPrepareForSubmission, + /// + /// + /// + ParentReadyForReview, + /// + /// + /// + ParentWaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.AssetProcessing => "ASSET_PROCESSING", + AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.Failed => "FAILED", + AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentApproved => "PARENT_APPROVED", + AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentInReview => "PARENT_IN_REVIEW", + AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission => "PARENT_PREPARE_FOR_SUBMISSION", + AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview => "PARENT_READY_FOR_REVIEW", + AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview => "PARENT_WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem? ToEnum(string value) + { + return value switch + { + "ASSET_PROCESSING" => AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.AssetProcessing, + "FAILED" => AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.Failed, + "PARENT_APPROVED" => AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentApproved, + "PARENT_IN_REVIEW" => AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentInReview, + "PARENT_PREPARE_FOR_SUBMISSION" => AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission, + "PARENT_READY_FOR_REVIEW" => AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview, + "PARENT_WAITING_FOR_REVIEW" => AppEventLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..d19c3e839 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + Image, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.AppEventLocalization => "appEventLocalization", + AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.Image => "image", + AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization, + "appEventLocalization" => AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization, + "image" => AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.Image, + "video" => AppEventLocalizationsPlacementsGetToManyRelatedIncludeItem.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..3dc59c4e6 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventLocalizationsPlacementsGetToManyRelatedSortItem + { + /// + /// + /// + MinuscreatedDate, + /// + /// + /// + MinuslastModifiedDate, + /// + /// + /// + MinusplacementGroupPosition, + /// + /// + /// + CreatedDate, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + PlacementGroupPosition, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventLocalizationsPlacementsGetToManyRelatedSortItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventLocalizationsPlacementsGetToManyRelatedSortItem value) + { + return value switch + { + AppEventLocalizationsPlacementsGetToManyRelatedSortItem.MinuscreatedDate => "-createdDate", + AppEventLocalizationsPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate => "-lastModifiedDate", + AppEventLocalizationsPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition => "-placementGroupPosition", + AppEventLocalizationsPlacementsGetToManyRelatedSortItem.CreatedDate => "createdDate", + AppEventLocalizationsPlacementsGetToManyRelatedSortItem.LastModifiedDate => "lastModifiedDate", + AppEventLocalizationsPlacementsGetToManyRelatedSortItem.PlacementGroupPosition => "placementGroupPosition", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventLocalizationsPlacementsGetToManyRelatedSortItem? ToEnum(string value) + { + return value switch + { + "-createdDate" => AppEventLocalizationsPlacementsGetToManyRelatedSortItem.MinuscreatedDate, + "-lastModifiedDate" => AppEventLocalizationsPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate, + "-placementGroupPosition" => AppEventLocalizationsPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition, + "createdDate" => AppEventLocalizationsPlacementsGetToManyRelatedSortItem.CreatedDate, + "lastModifiedDate" => AppEventLocalizationsPlacementsGetToManyRelatedSortItem.LastModifiedDate, + "placementGroupPosition" => AppEventLocalizationsPlacementsGetToManyRelatedSortItem.PlacementGroupPosition, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsResponse.g.cs index ec3e284c3..90a05ebf3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppEventLocalizationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppEventLocalizationsResponse public AppEventLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsResponseIncludedItemDiscriminatorType.g.cs index 29d5a0199..b995cf5d1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventLocalizationsResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,10 @@ namespace AppStoreConnect /// public enum AppEventLocalizationsResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryPlacements, /// /// /// @@ -34,6 +38,7 @@ public static string ToValueString(this AppEventLocalizationsResponseIncludedIte { return value switch { + AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEventScreenshots => "appEventScreenshots", AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEventVideoClips => "appEventVideoClips", AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEvents => "appEvents", @@ -47,6 +52,7 @@ public static string ToValueString(this AppEventLocalizationsResponseIncludedIte { return value switch { + "appAssetLibraryPlacements" => AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements, "appEventScreenshots" => AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEventScreenshots, "appEventVideoClips" => AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEventVideoClips, "appEvents" => AppEventLocalizationsResponseIncludedItemDiscriminatorType.AppEvents, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventScreenshotsGetInstanceFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventScreenshotsGetInstanceFieldsAppEventLocalization.g.cs index 522ebdf71..02cbba7fd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventScreenshotsGetInstanceFieldsAppEventLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventScreenshotsGetInstanceFieldsAppEventLocalization.g.cs @@ -35,6 +35,10 @@ public enum AppEventScreenshotsGetInstanceFieldsAppEventLocalization /// /// /// + Placements, + /// + /// + /// ShortDescription, } @@ -56,6 +60,7 @@ public static string ToValueString(this AppEventScreenshotsGetInstanceFieldsAppE AppEventScreenshotsGetInstanceFieldsAppEventLocalization.Locale => "locale", AppEventScreenshotsGetInstanceFieldsAppEventLocalization.LongDescription => "longDescription", AppEventScreenshotsGetInstanceFieldsAppEventLocalization.Name => "name", + AppEventScreenshotsGetInstanceFieldsAppEventLocalization.Placements => "placements", AppEventScreenshotsGetInstanceFieldsAppEventLocalization.ShortDescription => "shortDescription", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -73,6 +78,7 @@ public static string ToValueString(this AppEventScreenshotsGetInstanceFieldsAppE "locale" => AppEventScreenshotsGetInstanceFieldsAppEventLocalization.Locale, "longDescription" => AppEventScreenshotsGetInstanceFieldsAppEventLocalization.LongDescription, "name" => AppEventScreenshotsGetInstanceFieldsAppEventLocalization.Name, + "placements" => AppEventScreenshotsGetInstanceFieldsAppEventLocalization.Placements, "shortDescription" => AppEventScreenshotsGetInstanceFieldsAppEventLocalization.ShortDescription, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventVideoClipsGetInstanceFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventVideoClipsGetInstanceFieldsAppEventLocalization.g.cs index f6b4ff00d..405cf5901 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventVideoClipsGetInstanceFieldsAppEventLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventVideoClipsGetInstanceFieldsAppEventLocalization.g.cs @@ -35,6 +35,10 @@ public enum AppEventVideoClipsGetInstanceFieldsAppEventLocalization /// /// /// + Placements, + /// + /// + /// ShortDescription, } @@ -56,6 +60,7 @@ public static string ToValueString(this AppEventVideoClipsGetInstanceFieldsAppEv AppEventVideoClipsGetInstanceFieldsAppEventLocalization.Locale => "locale", AppEventVideoClipsGetInstanceFieldsAppEventLocalization.LongDescription => "longDescription", AppEventVideoClipsGetInstanceFieldsAppEventLocalization.Name => "name", + AppEventVideoClipsGetInstanceFieldsAppEventLocalization.Placements => "placements", AppEventVideoClipsGetInstanceFieldsAppEventLocalization.ShortDescription => "shortDescription", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -73,6 +78,7 @@ public static string ToValueString(this AppEventVideoClipsGetInstanceFieldsAppEv "locale" => AppEventVideoClipsGetInstanceFieldsAppEventLocalization.Locale, "longDescription" => AppEventVideoClipsGetInstanceFieldsAppEventLocalization.LongDescription, "name" => AppEventVideoClipsGetInstanceFieldsAppEventLocalization.Name, + "placements" => AppEventVideoClipsGetInstanceFieldsAppEventLocalization.Placements, "shortDescription" => AppEventVideoClipsGetInstanceFieldsAppEventLocalization.ShortDescription, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsGetInstanceFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsGetInstanceFieldsAppEventLocalization.g.cs index 4f8ace385..089e5bcd9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsGetInstanceFieldsAppEventLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsGetInstanceFieldsAppEventLocalization.g.cs @@ -35,6 +35,10 @@ public enum AppEventsGetInstanceFieldsAppEventLocalization /// /// /// + Placements, + /// + /// + /// ShortDescription, } @@ -56,6 +60,7 @@ public static string ToValueString(this AppEventsGetInstanceFieldsAppEventLocali AppEventsGetInstanceFieldsAppEventLocalization.Locale => "locale", AppEventsGetInstanceFieldsAppEventLocalization.LongDescription => "longDescription", AppEventsGetInstanceFieldsAppEventLocalization.Name => "name", + AppEventsGetInstanceFieldsAppEventLocalization.Placements => "placements", AppEventsGetInstanceFieldsAppEventLocalization.ShortDescription => "shortDescription", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -73,6 +78,7 @@ public static string ToValueString(this AppEventsGetInstanceFieldsAppEventLocali "locale" => AppEventsGetInstanceFieldsAppEventLocalization.Locale, "longDescription" => AppEventsGetInstanceFieldsAppEventLocalization.LongDescription, "name" => AppEventsGetInstanceFieldsAppEventLocalization.Name, + "placements" => AppEventsGetInstanceFieldsAppEventLocalization.Placements, "shortDescription" => AppEventsGetInstanceFieldsAppEventLocalization.ShortDescription, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..b53027d21 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppEventsLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.g.cs index e4c1b0a8e..cc8255c0f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -35,6 +35,10 @@ public enum AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization /// /// /// + Placements, + /// + /// + /// ShortDescription, } @@ -56,6 +60,7 @@ public static string ToValueString(this AppEventsLocalizationsGetToManyRelatedFi AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -73,6 +78,7 @@ public static string ToValueString(this AppEventsLocalizationsGetToManyRelatedFi "locale" => AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.Locale, "longDescription" => AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.LongDescription, "name" => AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.Placements, "shortDescription" => AppEventsLocalizationsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedIncludeItem.g.cs index ba075f0ca..a82f97d75 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedIncludeItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppEventsLocalizationsGetToManyRelatedIncludeItem.g.cs @@ -20,6 +20,10 @@ public enum AppEventsLocalizationsGetToManyRelatedIncludeItem /// /// AppEventVideoClips, + /// + /// + /// + Placements, } /// @@ -37,6 +41,7 @@ public static string ToValueString(this AppEventsLocalizationsGetToManyRelatedIn AppEventsLocalizationsGetToManyRelatedIncludeItem.AppEvent => "appEvent", AppEventsLocalizationsGetToManyRelatedIncludeItem.AppEventScreenshots => "appEventScreenshots", AppEventsLocalizationsGetToManyRelatedIncludeItem.AppEventVideoClips => "appEventVideoClips", + AppEventsLocalizationsGetToManyRelatedIncludeItem.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -50,6 +55,7 @@ public static string ToValueString(this AppEventsLocalizationsGetToManyRelatedIn "appEvent" => AppEventsLocalizationsGetToManyRelatedIncludeItem.AppEvent, "appEventScreenshots" => AppEventsLocalizationsGetToManyRelatedIncludeItem.AppEventScreenshots, "appEventVideoClips" => AppEventsLocalizationsGetToManyRelatedIncludeItem.AppEventVideoClips, + "placements" => AppEventsLocalizationsGetToManyRelatedIncludeItem.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfoResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfoResponse.g.cs index b1144ee61..478512392 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfoResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfoResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppInfoResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppInfoResponse public AppInfoResponse( global::AppStoreConnect.AppInfo data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfosGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfosGetInstanceFieldsApp.g.cs index dd9b06f61..15a51d153 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfosGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfosGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppInfosGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppInfosGetInstanceFieldsApp value) AppInfosGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppInfosGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", AppInfosGetInstanceFieldsApp.AppTags => "appTags", + AppInfosGetInstanceFieldsApp.AssetLibrary => "assetLibrary", AppInfosGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", AppInfosGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppInfosGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppInfosGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => AppInfosGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppInfosGetInstanceFieldsApp.AppStoreVersions, "appTags" => AppInfosGetInstanceFieldsApp.AppTags, + "assetLibrary" => AppInfosGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => AppInfosGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppInfosGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppInfosGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfosResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfosResponse.g.cs index e23000275..d34379e5a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfosResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppInfosResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppInfosResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppInfosResponse public AppInfosResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetResponse.g.cs index 3e63e5fe2..e6180d638 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppPreviewSetResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppPreviewSetResponse public AppPreviewSetResponse( global::AppStoreConnect.AppPreviewSet data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.g.cs index d8080e33b..cb1df7ffd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppPreviewSetsGetInstanceFieldsAppCustom AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.Locale => "locale", + AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.Placements => "placements", AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppPreviewSetsGetInstanceFieldsAppCustom "appPreviewSets" => AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppPreviewSetsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index e5f575433..8f3b0129b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLoc /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppPreviewSetsGetInstanceFieldsAppStoreV AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppPreviewSetsGetInstanceFieldsAppStoreV "appScreenshotSets" => AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppPreviewSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.g.cs index 3e2627be6..2561ef406 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppPreviewSetsGetInstanceFieldsAppStoreV AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.Keywords => "keywords", AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.Locale => "locale", AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.Placements => "placements", AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppPreviewSetsGetInstanceFieldsAppStoreV "keywords" => AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.Keywords, "locale" => AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppPreviewSetsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsResponse.g.cs index a6c38f37c..3fe95c4d3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPreviewSetsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppPreviewSetsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppPreviewSetsResponse public AppPreviewSetsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointV3Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointV3Response.g.cs index 08499322f..7c74b0e72 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointV3Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointV3Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppPricePointV3Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppPricePointV3Response public AppPricePointV3Response( global::AppStoreConnect.AppPricePointV3 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.g.cs index 7a0754689..245761211 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppPricePointsV3EqualizationsGetToManyRe AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.AppTags => "appTags", + AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppPricePointsV3EqualizationsGetToManyRe "appStoreVersionExperimentsV2" => AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppPricePointsV3EqualizationsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3GetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3GetInstanceFieldsApp.g.cs index 8781e6409..02ef274e2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3GetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3GetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppPricePointsV3GetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppPricePointsV3GetInstanceFieldsApp val AppPricePointsV3GetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppPricePointsV3GetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", AppPricePointsV3GetInstanceFieldsApp.AppTags => "appTags", + AppPricePointsV3GetInstanceFieldsApp.AssetLibrary => "assetLibrary", AppPricePointsV3GetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", AppPricePointsV3GetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppPricePointsV3GetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppPricePointsV3GetInstanceFieldsApp val "appStoreVersionExperimentsV2" => AppPricePointsV3GetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppPricePointsV3GetInstanceFieldsApp.AppStoreVersions, "appTags" => AppPricePointsV3GetInstanceFieldsApp.AppTags, + "assetLibrary" => AppPricePointsV3GetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => AppPricePointsV3GetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppPricePointsV3GetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppPricePointsV3GetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3Response.g.cs index a7d14becb..cef1c69d5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricePointsV3Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppPricePointsV3Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppPricePointsV3Response public AppPricePointsV3Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPriceScheduleResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPriceScheduleResponse.g.cs index 8b3a1d6b8..cded60700 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPriceScheduleResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPriceScheduleResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppPriceScheduleResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppPriceScheduleResponse public AppPriceScheduleResponse( global::AppStoreConnect.AppPriceSchedule data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPriceSchedulesGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPriceSchedulesGetInstanceFieldsApp.g.cs index c7bc05a88..febf93139 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPriceSchedulesGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPriceSchedulesGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppPriceSchedulesGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppPriceSchedulesGetInstanceFieldsApp va AppPriceSchedulesGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppPriceSchedulesGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", AppPriceSchedulesGetInstanceFieldsApp.AppTags => "appTags", + AppPriceSchedulesGetInstanceFieldsApp.AssetLibrary => "assetLibrary", AppPriceSchedulesGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", AppPriceSchedulesGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppPriceSchedulesGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppPriceSchedulesGetInstanceFieldsApp va "appStoreVersionExperimentsV2" => AppPriceSchedulesGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppPriceSchedulesGetInstanceFieldsApp.AppStoreVersions, "appTags" => AppPriceSchedulesGetInstanceFieldsApp.AppTags, + "assetLibrary" => AppPriceSchedulesGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => AppPriceSchedulesGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppPriceSchedulesGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppPriceSchedulesGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricesV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricesV2Response.g.cs index 0fd777a97..f1e7f0eb7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricesV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppPricesV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppPricesV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppPricesV2Response public AppPricesV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationships.g.cs index ebb5785bf..506578a99 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationships.g.cs @@ -245,6 +245,12 @@ public sealed partial class AppRelationships [global::System.Text.Json.Serialization.JsonPropertyName("backgroundAssets")] public global::AppStoreConnect.AppRelationshipsBackgroundAssets? BackgroundAssets { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assetLibrary")] + public global::AppStoreConnect.AppRelationshipsAssetLibrary? AssetLibrary { get; set; } + /// /// /// @@ -322,6 +328,7 @@ public sealed partial class AppRelationships /// /// /// + /// /// /// /// @@ -369,6 +376,7 @@ public AppRelationships( global::AppStoreConnect.AppRelationshipsMarketplaceSearchDetail? marketplaceSearchDetail, global::AppStoreConnect.AppRelationshipsBuildUploads? buildUploads, global::AppStoreConnect.AppRelationshipsBackgroundAssets? backgroundAssets, + global::AppStoreConnect.AppRelationshipsAssetLibrary? assetLibrary, global::AppStoreConnect.AppRelationshipsBetaFeedbackScreenshotSubmissions? betaFeedbackScreenshotSubmissions, global::AppStoreConnect.AppRelationshipsBetaFeedbackCrashSubmissions? betaFeedbackCrashSubmissions, global::AppStoreConnect.AppRelationshipsSearchKeywords? searchKeywords, @@ -413,6 +421,7 @@ public AppRelationships( this.MarketplaceSearchDetail = marketplaceSearchDetail; this.BuildUploads = buildUploads; this.BackgroundAssets = backgroundAssets; + this.AssetLibrary = assetLibrary; this.BetaFeedbackScreenshotSubmissions = betaFeedbackScreenshotSubmissions; this.BetaFeedbackCrashSubmissions = betaFeedbackCrashSubmissions; this.SearchKeywords = searchKeywords; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationshipsAssetLibrary.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationshipsAssetLibrary.Json.g.cs new file mode 100644 index 000000000..64505daca --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationshipsAssetLibrary.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppRelationshipsAssetLibrary + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppRelationshipsAssetLibrary? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppRelationshipsAssetLibrary), + jsonSerializerContext) as global::AppStoreConnect.AppRelationshipsAssetLibrary; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppRelationshipsAssetLibrary? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppRelationshipsAssetLibrary? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppRelationshipsAssetLibrary), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppRelationshipsAssetLibrary; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationshipsAssetLibrary.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationshipsAssetLibrary.g.cs new file mode 100644 index 000000000..39d1b4743 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppRelationshipsAssetLibrary.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppRelationshipsAssetLibrary + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.RelationshipLinks? Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppRelationshipsAssetLibrary( + global::AppStoreConnect.RelationshipLinks? links) + { + this.Links = links; + } + + /// + /// Initializes a new instance of the class. + /// + public AppRelationshipsAssetLibrary() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppResponse.g.cs index 1fc7e07e7..9f68061f7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class AppResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class AppResponse public AppResponse( global::AppStoreConnect.App data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetResponse.g.cs index 50a05d3b8..1273b0be2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppScreenshotSetResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppScreenshotSetResponse public AppScreenshotSetResponse( global::AppStoreConnect.AppScreenshotSet data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.g.cs index e0616581e..dac6a8580 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppScreenshotSetsGetInstanceFieldsAppCus AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.Locale => "locale", + AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.Placements => "placements", AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppScreenshotSetsGetInstanceFieldsAppCus "appPreviewSets" => AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppScreenshotSetsGetInstanceFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index 52b0bf005..ad22ceeb0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatment /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppScreenshotSetsGetInstanceFieldsAppSto AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppScreenshotSetsGetInstanceFieldsAppSto "appScreenshotSets" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.g.cs index 8eec4538c..36a2f22bd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppScreenshotSetsGetInstanceFieldsAppSto AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.Keywords => "keywords", AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.Locale => "locale", AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.Placements => "placements", AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppScreenshotSetsGetInstanceFieldsAppSto "keywords" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.Keywords, "locale" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppScreenshotSetsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsResponse.g.cs index e3885c961..5c2808ca9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppScreenshotSetsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppScreenshotSetsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppScreenshotSetsResponse public AppScreenshotSetsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreReviewDetailResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreReviewDetailResponse.g.cs index a8ec35b2a..61f6c6611 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreReviewDetailResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreReviewDetailResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppStoreReviewDetailResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppStoreReviewDetailResponse public AppStoreReviewDetailResponse( global::AppStoreConnect.AppStoreReviewDetail data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentResponse.g.cs index 348589717..8287f0888 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class AppStoreVersionExperimentResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class AppStoreVersionExperimentResponse public AppStoreVersionExperimentResponse( global::AppStoreConnect.AppStoreVersionExperiment data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationships.g.cs index 5259c3854..bc19200d5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationships.g.cs @@ -15,6 +15,12 @@ public sealed partial class AppStoreVersionExperimentTreatmentLocalizationCreate [global::System.Text.Json.Serialization.JsonRequired] public required global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment AppStoreVersionExperimentTreatment { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements? Placements { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -25,13 +31,16 @@ public sealed partial class AppStoreVersionExperimentTreatmentLocalizationCreate /// Initializes a new instance of the class. /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationships( - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment appStoreVersionExperimentTreatment) + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment appStoreVersionExperimentTreatment, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements? placements) { this.AppStoreVersionExperimentTreatment = appStoreVersionExperimentTreatment ?? throw new global::System.ArgumentNullException(nameof(appStoreVersionExperimentTreatment)); + this.Placements = placements; } /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..796a2130b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements.g.cs new file mode 100644 index 000000000..bb664b3e4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements( + global::System.Collections.Generic.IList? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..8dd59a5bf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..7a07d55a4 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..9ffe34336 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppStoreVersionExperimentTreatmentLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.Json.g.cs new file mode 100644 index 000000000..bef291554 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.g.cs new file mode 100644 index 000000000..54211478f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs new file mode 100644 index 000000000..259779794 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem.g.cs new file mode 100644 index 000000000..c85bddda3 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem( + string id, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..2ea9af0c8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationships.g.cs index f13a9c2c9..8741a921e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationships.g.cs @@ -26,6 +26,12 @@ public sealed partial class AppStoreVersionExperimentTreatmentLocalizationRelati [global::System.Text.Json.Serialization.JsonPropertyName("appPreviewSets")] public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSets? AppPreviewSets { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements? Placements { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -38,17 +44,20 @@ public sealed partial class AppStoreVersionExperimentTreatmentLocalizationRelati /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AppStoreVersionExperimentTreatmentLocalizationRelationships( global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatment, global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppScreenshotSets? appScreenshotSets, - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSets? appPreviewSets) + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSets? appPreviewSets, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements? placements) { this.AppStoreVersionExperimentTreatment = appStoreVersionExperimentTreatment; this.AppScreenshotSets = appScreenshotSets; this.AppPreviewSets = appPreviewSets; + this.Placements = placements; } /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..474af826d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements.g.cs new file mode 100644 index 000000000..28646ebe9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements.g.cs @@ -0,0 +1,62 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.RelationshipLinks? Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements( + global::AppStoreConnect.RelationshipLinks? links, + global::AppStoreConnect.PagingInformation? meta, + global::System.Collections.Generic.IList? data) + { + this.Links = links; + this.Meta = meta; + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..c90894c49 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..95d291745 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..5c7e226e9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationResponse.g.cs index e9ab28329..5fbe9a8e2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppStoreVersionExperimentTreatmentLocalizationRespon /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppStoreVersionExperimentTreatmentLocalizationRespon public AppStoreVersionExperimentTreatmentLocalizationResponse( global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.g.cs index 0238eb86d..0dd8542dc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,10 @@ namespace AppStoreConnect /// public enum AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryPlacements, /// /// /// @@ -34,6 +38,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali { return value switch { + AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets => "appPreviewSets", AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments => "appStoreVersionExperimentTreatments", @@ -47,6 +52,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali { return value switch { + "appAssetLibraryPlacements" => AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements, "appPreviewSets" => AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets, "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets, "appStoreVersionExperimentTreatments" => AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs index ec04035bf..ef742f48b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToMa /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali "appPreviewSets" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index 918cae200..95d744711 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToMa /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs index 7e027f72b..c3f7c02a7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToMa /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali "keywords" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppStoreVersionExperimentTreatmentLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs index 816af2d70..4a365d807 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetT /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali "appPreviewSets" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index dd2ac20e5..6f5096d19 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetT /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs index fba5afc12..62fd863d0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetT /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali "keywords" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppStoreVersionExperimentTreatmentLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..54fc00c2c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Image => "image", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.State => "state", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index d8b204777..8012dffaf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppS /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.g.cs index 1481b7e60..2e7ee69e3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.g.cs @@ -20,6 +20,10 @@ public enum AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeIte /// /// AppStoreVersionExperimentTreatment, + /// + /// + /// + Placements, } /// @@ -37,6 +41,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.AppPreviewSets => "appPreviewSets", AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", + AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -50,6 +55,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali "appPreviewSets" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.AppPreviewSets, "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.AppStoreVersionExperimentTreatment, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsGetInstanceIncludeItem.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..70f8202b9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category => "category", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName => "fileName", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize => "fileSize", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements => "placements", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId => "specId", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State => "state", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category, + "createdDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName, + "fileSize" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements, + "referenceName" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName, + "specId" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId, + "state" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State, + "stateDetails" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..b7fe1e6d2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..004a6c97d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category => "category", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName => "fileName", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize => "fileSize", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements => "placements", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId => "specId", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State => "state", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category, + "createdDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName, + "fileSize" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId, + "state" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State, + "stateDetails" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..2868c829d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization + { + /// + /// + /// + AppCustomProductPageVersion, + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion => "appCustomProductPageVersion", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? ToEnum(string value) + { + return value switch + { + "appCustomProductPageVersion" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion, + "appPreviewSets" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, + "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, + "locale" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, + "promotionalText" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, + "searchKeywords" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..2d6086ed8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization + { + /// + /// + /// + AppEvent, + /// + /// + /// + AppEventScreenshots, + /// + /// + /// + AppEventVideoClips, + /// + /// + /// + Locale, + /// + /// + /// + LongDescription, + /// + /// + /// + Name, + /// + /// + /// + Placements, + /// + /// + /// + ShortDescription, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent => "appEvent", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots => "appEventScreenshots", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips => "appEventVideoClips", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? ToEnum(string value) + { + return value switch + { + "appEvent" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent, + "appEventScreenshots" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots, + "appEventVideoClips" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips, + "locale" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale, + "longDescription" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription, + "name" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements, + "shortDescription" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..e79073706 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersionExperimentTreatment, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets => "appPreviewSets", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets, + "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, + "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, + "locale" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..0e48bda6d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersion, + /// + /// + /// + Description, + /// + /// + /// + Keywords, + /// + /// + /// + Locale, + /// + /// + /// + MarketingUrl, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + /// + /// + /// + SupportUrl, + /// + /// + /// + WhatsNew, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets => "appPreviewSets", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets => "appScreenshotSets", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion => "appStoreVersion", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description => "description", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew => "whatsNew", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets, + "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets, + "appStoreVersion" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion, + "description" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description, + "keywords" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, + "locale" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, + "marketingUrl" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, + "promotionalText" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, + "searchKeywords" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, + "supportUrl" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, + "whatsNew" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..4dab17ddc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem + { + /// + /// + /// + AppPreview, + /// + /// + /// + AppScreenshot, + /// + /// + /// + AppStoreSearchResultsAsset, + /// + /// + /// + EventCardAsset, + /// + /// + /// + EventDetailsPageAsset, + /// + /// + /// + ImessageAppScreenshot, + /// + /// + /// + ProductPageHeaderAsset, + /// + /// + /// + RetentionMessageAsset, + /// + /// + /// + SearchResultsAdsAsset, + /// + /// + /// + TodayTabAdsAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview => "APP_PREVIEW", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot => "APP_SCREENSHOT", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset => "APP_STORE_SEARCH_RESULTS_ASSET", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset => "EVENT_CARD_ASSET", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset => "EVENT_DETAILS_PAGE_ASSET", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot => "IMESSAGE_APP_SCREENSHOT", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset => "PRODUCT_PAGE_HEADER_ASSET", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset => "RETENTION_MESSAGE_ASSET", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset => "SEARCH_RESULTS_ADS_ASSET", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset => "TODAY_TAB_ADS_ASSET", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? ToEnum(string value) + { + return value switch + { + "APP_PREVIEW" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview, + "APP_SCREENSHOT" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot, + "APP_STORE_SEARCH_RESULTS_ASSET" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset, + "EVENT_CARD_ASSET" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset, + "EVENT_DETAILS_PAGE_ASSET" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset, + "IMESSAGE_APP_SCREENSHOT" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot, + "PRODUCT_PAGE_HEADER_ASSET" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset, + "RETENTION_MESSAGE_ASSET" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset, + "SEARCH_RESULTS_ADS_ASSET" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset, + "TODAY_TAB_ADS_ASSET" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..2aa155cf1 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem + { + /// + /// + /// + AssetProcessing, + /// + /// + /// + Failed, + /// + /// + /// + ParentApproved, + /// + /// + /// + ParentInReview, + /// + /// + /// + ParentPrepareForSubmission, + /// + /// + /// + ParentReadyForReview, + /// + /// + /// + ParentWaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.AssetProcessing => "ASSET_PROCESSING", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.Failed => "FAILED", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentApproved => "PARENT_APPROVED", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentInReview => "PARENT_IN_REVIEW", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission => "PARENT_PREPARE_FOR_SUBMISSION", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview => "PARENT_READY_FOR_REVIEW", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview => "PARENT_WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem? ToEnum(string value) + { + return value switch + { + "ASSET_PROCESSING" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.AssetProcessing, + "FAILED" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.Failed, + "PARENT_APPROVED" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentApproved, + "PARENT_IN_REVIEW" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentInReview, + "PARENT_PREPARE_FOR_SUBMISSION" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission, + "PARENT_READY_FOR_REVIEW" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview, + "PARENT_WAITING_FOR_REVIEW" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..be4b8e6cd --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + Image, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.AppEventLocalization => "appEventLocalization", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.Image => "image", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization, + "appEventLocalization" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization, + "image" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.Image, + "video" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedIncludeItem.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..649ac96af --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem + { + /// + /// + /// + MinuscreatedDate, + /// + /// + /// + MinuslastModifiedDate, + /// + /// + /// + MinusplacementGroupPosition, + /// + /// + /// + CreatedDate, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + PlacementGroupPosition, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem value) + { + return value switch + { + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.MinuscreatedDate => "-createdDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate => "-lastModifiedDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition => "-placementGroupPosition", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.CreatedDate => "createdDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.LastModifiedDate => "lastModifiedDate", + AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.PlacementGroupPosition => "placementGroupPosition", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem? ToEnum(string value) + { + return value switch + { + "-createdDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.MinuscreatedDate, + "-lastModifiedDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate, + "-placementGroupPosition" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition, + "createdDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.CreatedDate, + "lastModifiedDate" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.LastModifiedDate, + "placementGroupPosition" => AppStoreVersionExperimentTreatmentLocalizationsPlacementsGetToManyRelatedSortItem.PlacementGroupPosition, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsResponse.g.cs index ad2bb7214..0122775ca 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppStoreVersionExperimentTreatmentLocalizationsRespo /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppStoreVersionExperimentTreatmentLocalizationsRespo public AppStoreVersionExperimentTreatmentLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.g.cs index 96a98f97a..a2e920704 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,10 @@ namespace AppStoreConnect /// public enum AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryPlacements, /// /// /// @@ -34,6 +38,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali { return value switch { + AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets => "appPreviewSets", AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments => "appStoreVersionExperimentTreatments", @@ -47,6 +52,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentLocali { return value switch { + "appAssetLibraryPlacements" => AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements, "appPreviewSets" => AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets, "appScreenshotSets" => AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets, "appStoreVersionExperimentTreatments" => AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType.AppStoreVersionExperimentTreatments, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentResponse.g.cs index ae408292f..37d775d48 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class AppStoreVersionExperimentTreatmentResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class AppStoreVersionExperimentTreatmentResponse public AppStoreVersionExperimentTreatmentResponse( global::AppStoreConnect.AppStoreVersionExperimentTreatment data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..8a26aa845 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index 2aebb98d2..0b2abab24 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmen /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentsAppSt AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentsAppSt "appScreenshotSets" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.g.cs index d07bcd04d..b3983862c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.g.cs @@ -20,6 +20,10 @@ public enum AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmen /// /// AppStoreVersionExperimentTreatment, + /// + /// + /// + Placements, } /// @@ -37,6 +41,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentsAppSt AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.AppPreviewSets => "appPreviewSets", AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", + AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -50,6 +55,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentsAppSt "appPreviewSets" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.AppPreviewSets, "appScreenshotSets" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatment, + "placements" => AppStoreVersionExperimentTreatmentsAppStoreVersionExperimentTreatmentLocalizationsGetToManyRelatedIncludeItem.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index 6ded6be8a..5be4f3bf3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionE /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentsGetIn AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppStoreVersionExperimentTreatmentsGetIn "appScreenshotSets" => AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionExperimentTreatmentsGetInstanceFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsResponse.g.cs index 8957d05ea..7d9e92aa7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentTreatmentsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class AppStoreVersionExperimentTreatmentsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class AppStoreVersionExperimentTreatmentsResponse public AppStoreVersionExperimentTreatmentsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentV2Response.g.cs index ff0c1a1db..bc60fd006 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppStoreVersionExperimentV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppStoreVersionExperimentV2Response public AppStoreVersionExperimentV2Response( global::AppStoreConnect.AppStoreVersionExperimentV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index faaa72f37..885b38db7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToMa /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppStoreVersionExperimentsAppStoreVersio AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppStoreVersionExperimentsAppStoreVersio "appScreenshotSets" => AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionExperimentsAppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsResponse.g.cs index 313241351..fbcbfffb3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class AppStoreVersionExperimentsResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class AppStoreVersionExperimentsResponse public AppStoreVersionExperimentsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index 0172de8ca..7151b70de 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetTo /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppStoreVersionExperimentsV2AppStoreVers AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppStoreVersionExperimentsV2AppStoreVers "appScreenshotSets" => AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionExperimentsV2AppStoreVersionExperimentTreatmentsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2GetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2GetInstanceFieldsApp.g.cs index cd524abf7..ab276c155 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2GetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2GetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppStoreVersionExperimentsV2GetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppStoreVersionExperimentsV2GetInstanceF AppStoreVersionExperimentsV2GetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppStoreVersionExperimentsV2GetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", AppStoreVersionExperimentsV2GetInstanceFieldsApp.AppTags => "appTags", + AppStoreVersionExperimentsV2GetInstanceFieldsApp.AssetLibrary => "assetLibrary", AppStoreVersionExperimentsV2GetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", AppStoreVersionExperimentsV2GetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppStoreVersionExperimentsV2GetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppStoreVersionExperimentsV2GetInstanceF "appStoreVersionExperimentsV2" => AppStoreVersionExperimentsV2GetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppStoreVersionExperimentsV2GetInstanceFieldsApp.AppStoreVersions, "appTags" => AppStoreVersionExperimentsV2GetInstanceFieldsApp.AppTags, + "assetLibrary" => AppStoreVersionExperimentsV2GetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => AppStoreVersionExperimentsV2GetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppStoreVersionExperimentsV2GetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppStoreVersionExperimentsV2GetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2Response.g.cs index cb3a34975..2465cfd1e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionExperimentsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppStoreVersionExperimentsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppStoreVersionExperimentsV2Response public AppStoreVersionExperimentsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationships.g.cs index d08d8c823..d4d51c18c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationships.g.cs @@ -15,6 +15,12 @@ public sealed partial class AppStoreVersionLocalizationCreateRequestDataRelation [global::System.Text.Json.Serialization.JsonRequired] public required global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersion AppStoreVersion { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements? Placements { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -25,13 +31,16 @@ public sealed partial class AppStoreVersionLocalizationCreateRequestDataRelation /// Initializes a new instance of the class. /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public AppStoreVersionLocalizationCreateRequestDataRelationships( - global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersion appStoreVersion) + global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsAppStoreVersion appStoreVersion, + global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements? placements) { this.AppStoreVersion = appStoreVersion ?? throw new global::System.ArgumentNullException(nameof(appStoreVersion)); + this.Placements = placements; } /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..e7a90ad3f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements.g.cs new file mode 100644 index 000000000..60da24aa8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements( + global::System.Collections.Generic.IList? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..39418968d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..f235654a7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..cedae20a2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppStoreVersionLocalizationCreateRequestDataRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponse.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponse.Json.g.cs new file mode 100644 index 000000000..796947740 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionLocalizationPlacementsLinkagesResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponse.g.cs new file mode 100644 index 000000000..840b233a8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponse.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionLocalizationPlacementsLinkagesResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::AppStoreConnect.PagedDocumentLinks Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionLocalizationPlacementsLinkagesResponse( + global::System.Collections.Generic.IList data, + global::AppStoreConnect.PagedDocumentLinks links, + global::AppStoreConnect.PagingInformation? meta) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.Meta = meta; + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionLocalizationPlacementsLinkagesResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs new file mode 100644 index 000000000..7bb28b8fe --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem.g.cs new file mode 100644 index 000000000..6652e288c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem( + string id, + global::AppStoreConnect.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionLocalizationPlacementsLinkagesResponseDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.g.cs new file mode 100644 index 000000000..673ec1957 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType value) + { + return value switch + { + AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppStoreVersionLocalizationPlacementsLinkagesResponseDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationships.g.cs index 9591bf508..ec62e6968 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationships.g.cs @@ -32,6 +32,12 @@ public sealed partial class AppStoreVersionLocalizationRelationships [global::System.Text.Json.Serialization.JsonPropertyName("searchKeywords")] public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywords? SearchKeywords { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("placements")] + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements? Placements { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -45,6 +51,7 @@ public sealed partial class AppStoreVersionLocalizationRelationships /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -52,12 +59,14 @@ public AppStoreVersionLocalizationRelationships( global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppStoreVersion? appStoreVersion, global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppScreenshotSets? appScreenshotSets, global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppPreviewSets? appPreviewSets, - global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywords? searchKeywords) + global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywords? searchKeywords, + global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements? placements) { this.AppStoreVersion = appStoreVersion; this.AppScreenshotSets = appScreenshotSets; this.AppPreviewSets = appPreviewSets; this.SearchKeywords = searchKeywords; + this.Placements = placements; } /// diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacements.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacements.Json.g.cs new file mode 100644 index 000000000..b17eb0717 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacements.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionLocalizationRelationshipsPlacements + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacements.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacements.g.cs new file mode 100644 index 000000000..3b6d85628 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacements.g.cs @@ -0,0 +1,62 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionLocalizationRelationshipsPlacements + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + public global::AppStoreConnect.RelationshipLinks? Links { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("meta")] + public global::AppStoreConnect.PagingInformation? Meta { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::System.Collections.Generic.IList? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionLocalizationRelationshipsPlacements( + global::AppStoreConnect.RelationshipLinks? links, + global::AppStoreConnect.PagingInformation? meta, + global::System.Collections.Generic.IList? data) + { + this.Links = links; + this.Meta = meta; + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionLocalizationRelationshipsPlacements() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItem.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItem.Json.g.cs new file mode 100644 index 000000000..048e9f007 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class AppStoreVersionLocalizationRelationshipsPlacementsDataItem + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItem), + jsonSerializerContext) as global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItem? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItem? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItem), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItem; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItem.g.cs new file mode 100644 index 000000000..4ab2eb35d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItem.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class AppStoreVersionLocalizationRelationshipsPlacementsDataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeJsonConverter))] + public global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AppStoreVersionLocalizationRelationshipsPlacementsDataItem( + string id, + global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public AppStoreVersionLocalizationRelationshipsPlacementsDataItem() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.g.cs new file mode 100644 index 000000000..6197fa1eb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationRelationshipsPlacementsDataItemType + { + /// + /// + /// + AppAssetLibraryPlacements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationRelationshipsPlacementsDataItemType value) + { + return value switch + { + AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationRelationshipsPlacementsDataItemType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryPlacements" => AppStoreVersionLocalizationRelationshipsPlacementsDataItemType.AppAssetLibraryPlacements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationResponse.g.cs index 81c0876b4..5a4e7cd36 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppStoreVersionLocalizationResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class AppStoreVersionLocalizationResponse public AppStoreVersionLocalizationResponse( global::AppStoreConnect.AppStoreVersionLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.g.cs index 82fa75062..cb8fac75e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,10 @@ namespace AppStoreConnect /// public enum AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryPlacements, /// /// /// @@ -38,6 +42,7 @@ public static string ToValueString(this AppStoreVersionLocalizationResponseInclu { return value switch { + AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppKeywords => "appKeywords", AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets => "appPreviewSets", AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets => "appScreenshotSets", @@ -52,6 +57,7 @@ public static string ToValueString(this AppStoreVersionLocalizationResponseInclu { return value switch { + "appAssetLibraryPlacements" => AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements, "appKeywords" => AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppKeywords, "appPreviewSets" => AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppPreviewSets, "appScreenshotSets" => AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType.AppScreenshotSets, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs index 663737c6a..b49a40903 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppC /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppPreviewSe AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppPreviewSe "appPreviewSets" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index d2b3fb90c..ce656dc7e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppS /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppPreviewSe AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppPreviewSe "appScreenshotSets" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs index 584019936..b16482ed3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppS /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppPreviewSe AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppPreviewSe "keywords" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppStoreVersionLocalizationsAppPreviewSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs index 4ce2849f7..c43423237 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -27,6 +27,10 @@ public enum AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsA /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppScreensho AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -66,6 +71,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppScreensho "appPreviewSets" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, "appScreenshotSets" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, "locale" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, "promotionalText" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, "searchKeywords" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, _ => null, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs index 5b2155ea6..f626233de 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -24,6 +24,10 @@ public enum AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsA /// /// Locale, + /// + /// + /// + Placements, } /// @@ -42,6 +46,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppScreensho AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -56,6 +61,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppScreensho "appScreenshotSets" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, "appStoreVersionExperimentTreatment" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, "locale" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, _ => null, }; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs index ba1c07762..5229ac33c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsA /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppScreensho AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsAppScreensho "keywords" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppStoreVersionLocalizationsAppScreenshotSetsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..80bf1e213 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Image => "image", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.State => "state", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppStoreVersionLocalizationsGetInstanceFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.g.cs index 120fa7ebc..7aea67136 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocaliza /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsGetInstanceF AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.Keywords => "keywords", AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.Locale => "locale", AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.Placements => "placements", AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsGetInstanceF "keywords" => AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.Keywords, "locale" => AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppStoreVersionLocalizationsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceIncludeItem.g.cs index f5fb828bf..50ab60bc0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceIncludeItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsGetInstanceIncludeItem.g.cs @@ -23,6 +23,10 @@ public enum AppStoreVersionLocalizationsGetInstanceIncludeItem /// /// /// + Placements, + /// + /// + /// SearchKeywords, } @@ -41,6 +45,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsGetInstanceI AppStoreVersionLocalizationsGetInstanceIncludeItem.AppPreviewSets => "appPreviewSets", AppStoreVersionLocalizationsGetInstanceIncludeItem.AppScreenshotSets => "appScreenshotSets", AppStoreVersionLocalizationsGetInstanceIncludeItem.AppStoreVersion => "appStoreVersion", + AppStoreVersionLocalizationsGetInstanceIncludeItem.Placements => "placements", AppStoreVersionLocalizationsGetInstanceIncludeItem.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -55,6 +60,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsGetInstanceI "appPreviewSets" => AppStoreVersionLocalizationsGetInstanceIncludeItem.AppPreviewSets, "appScreenshotSets" => AppStoreVersionLocalizationsGetInstanceIncludeItem.AppScreenshotSets, "appStoreVersion" => AppStoreVersionLocalizationsGetInstanceIncludeItem.AppStoreVersion, + "placements" => AppStoreVersionLocalizationsGetInstanceIncludeItem.Placements, "searchKeywords" => AppStoreVersionLocalizationsGetInstanceIncludeItem.SearchKeywords, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..2f0ed04c8 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category => "category", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName => "fileName", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize => "fileSize", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements => "placements", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId => "specId", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State => "state", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Category, + "createdDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileName, + "fileSize" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.Placements, + "referenceName" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName, + "specId" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId, + "state" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.State, + "stateDetails" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..eff22357b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..aebe8ebef --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category => "category", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName => "fileName", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize => "fileSize", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements => "placements", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId => "specId", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State => "state", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Category, + "createdDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName, + "fileSize" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId, + "state" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.State, + "stateDetails" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs new file mode 100644 index 000000000..a42146738 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization + { + /// + /// + /// + AppCustomProductPageVersion, + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion => "appCustomProductPageVersion", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets => "appPreviewSets", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets => "appScreenshotSets", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale => "locale", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements => "placements", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText => "promotionalText", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords => "searchKeywords", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization? ToEnum(string value) + { + return value switch + { + "appCustomProductPageVersion" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppCustomProductPageVersion, + "appPreviewSets" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppPreviewSets, + "appScreenshotSets" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.AppScreenshotSets, + "locale" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Locale, + "placements" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.Placements, + "promotionalText" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.PromotionalText, + "searchKeywords" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppCustomProductPageLocalization.SearchKeywords, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs new file mode 100644 index 000000000..0bc9675cb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization + { + /// + /// + /// + AppEvent, + /// + /// + /// + AppEventScreenshots, + /// + /// + /// + AppEventVideoClips, + /// + /// + /// + Locale, + /// + /// + /// + LongDescription, + /// + /// + /// + Name, + /// + /// + /// + Placements, + /// + /// + /// + ShortDescription, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent => "appEvent", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots => "appEventScreenshots", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips => "appEventVideoClips", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization? ToEnum(string value) + { + return value switch + { + "appEvent" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEvent, + "appEventScreenshots" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventScreenshots, + "appEventVideoClips" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.AppEventVideoClips, + "locale" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Locale, + "longDescription" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.LongDescription, + "name" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.Placements, + "shortDescription" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs new file mode 100644 index 000000000..37ea39f7f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersionExperimentTreatment, + /// + /// + /// + Locale, + /// + /// + /// + Placements, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets => "appPreviewSets", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets => "appScreenshotSets", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment => "appStoreVersionExperimentTreatment", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale => "locale", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements => "placements", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppPreviewSets, + "appScreenshotSets" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppScreenshotSets, + "appStoreVersionExperimentTreatment" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.AppStoreVersionExperimentTreatment, + "locale" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Locale, + "placements" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionExperimentTreatmentLocalization.Placements, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs new file mode 100644 index 000000000..27d2ec31c --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization + { + /// + /// + /// + AppPreviewSets, + /// + /// + /// + AppScreenshotSets, + /// + /// + /// + AppStoreVersion, + /// + /// + /// + Description, + /// + /// + /// + Keywords, + /// + /// + /// + Locale, + /// + /// + /// + MarketingUrl, + /// + /// + /// + Placements, + /// + /// + /// + PromotionalText, + /// + /// + /// + SearchKeywords, + /// + /// + /// + SupportUrl, + /// + /// + /// + WhatsNew, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets => "appPreviewSets", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets => "appScreenshotSets", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion => "appStoreVersion", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description => "description", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew => "whatsNew", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization? ToEnum(string value) + { + return value switch + { + "appPreviewSets" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppPreviewSets, + "appScreenshotSets" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppScreenshotSets, + "appStoreVersion" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.AppStoreVersion, + "description" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Description, + "keywords" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, + "locale" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, + "marketingUrl" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, + "promotionalText" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, + "searchKeywords" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, + "supportUrl" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, + "whatsNew" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFieldsAppStoreVersionLocalization.WhatsNew, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs new file mode 100644 index 000000000..c60d5bdff --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem + { + /// + /// + /// + AppPreview, + /// + /// + /// + AppScreenshot, + /// + /// + /// + AppStoreSearchResultsAsset, + /// + /// + /// + EventCardAsset, + /// + /// + /// + EventDetailsPageAsset, + /// + /// + /// + ImessageAppScreenshot, + /// + /// + /// + ProductPageHeaderAsset, + /// + /// + /// + RetentionMessageAsset, + /// + /// + /// + SearchResultsAdsAsset, + /// + /// + /// + TodayTabAdsAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview => "APP_PREVIEW", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot => "APP_SCREENSHOT", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset => "APP_STORE_SEARCH_RESULTS_ASSET", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset => "EVENT_CARD_ASSET", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset => "EVENT_DETAILS_PAGE_ASSET", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot => "IMESSAGE_APP_SCREENSHOT", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset => "PRODUCT_PAGE_HEADER_ASSET", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset => "RETENTION_MESSAGE_ASSET", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset => "SEARCH_RESULTS_ADS_ASSET", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset => "TODAY_TAB_ADS_ASSET", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem? ToEnum(string value) + { + return value switch + { + "APP_PREVIEW" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppPreview, + "APP_SCREENSHOT" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppScreenshot, + "APP_STORE_SEARCH_RESULTS_ASSET" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.AppStoreSearchResultsAsset, + "EVENT_CARD_ASSET" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventCardAsset, + "EVENT_DETAILS_PAGE_ASSET" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.EventDetailsPageAsset, + "IMESSAGE_APP_SCREENSHOT" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ImessageAppScreenshot, + "PRODUCT_PAGE_HEADER_ASSET" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.ProductPageHeaderAsset, + "RETENTION_MESSAGE_ASSET" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.RetentionMessageAsset, + "SEARCH_RESULTS_ADS_ASSET" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.SearchResultsAdsAsset, + "TODAY_TAB_ADS_ASSET" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterPlacementTypeItem.TodayTabAdsAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs new file mode 100644 index 000000000..ba89a0438 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem + { + /// + /// + /// + AssetProcessing, + /// + /// + /// + Failed, + /// + /// + /// + ParentApproved, + /// + /// + /// + ParentInReview, + /// + /// + /// + ParentPrepareForSubmission, + /// + /// + /// + ParentReadyForReview, + /// + /// + /// + ParentWaitingForReview, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.AssetProcessing => "ASSET_PROCESSING", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.Failed => "FAILED", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentApproved => "PARENT_APPROVED", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentInReview => "PARENT_IN_REVIEW", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission => "PARENT_PREPARE_FOR_SUBMISSION", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview => "PARENT_READY_FOR_REVIEW", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview => "PARENT_WAITING_FOR_REVIEW", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem? ToEnum(string value) + { + return value switch + { + "ASSET_PROCESSING" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.AssetProcessing, + "FAILED" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.Failed, + "PARENT_APPROVED" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentApproved, + "PARENT_IN_REVIEW" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentInReview, + "PARENT_PREPARE_FOR_SUBMISSION" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentPrepareForSubmission, + "PARENT_READY_FOR_REVIEW" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentReadyForReview, + "PARENT_WAITING_FOR_REVIEW" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedFilterStateItem.ParentWaitingForReview, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs new file mode 100644 index 000000000..9c5ace264 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + Image, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.AppEventLocalization => "appEventLocalization", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.Image => "image", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.AppCustomProductPageLocalization, + "appEventLocalization" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.AppStoreVersionLocalization, + "image" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.Image, + "video" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedIncludeItem.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.g.cs new file mode 100644 index 000000000..cabd1d25f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem + { + /// + /// + /// + MinuscreatedDate, + /// + /// + /// + MinuslastModifiedDate, + /// + /// + /// + MinusplacementGroupPosition, + /// + /// + /// + CreatedDate, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + PlacementGroupPosition, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem value) + { + return value switch + { + AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.MinuscreatedDate => "-createdDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate => "-lastModifiedDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition => "-placementGroupPosition", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.CreatedDate => "createdDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.LastModifiedDate => "lastModifiedDate", + AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.PlacementGroupPosition => "placementGroupPosition", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem? ToEnum(string value) + { + return value switch + { + "-createdDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.MinuscreatedDate, + "-lastModifiedDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.MinuslastModifiedDate, + "-placementGroupPosition" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.MinusplacementGroupPosition, + "createdDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.CreatedDate, + "lastModifiedDate" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.LastModifiedDate, + "placementGroupPosition" => AppStoreVersionLocalizationsPlacementsGetToManyRelatedSortItem.PlacementGroupPosition, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsResponse.g.cs index 400d66bc8..d792f2d89 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class AppStoreVersionLocalizationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class AppStoreVersionLocalizationsResponse public AppStoreVersionLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.g.cs index 2012e3576..bc7b94c6b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,10 @@ namespace AppStoreConnect /// public enum AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryPlacements, /// /// /// @@ -38,6 +42,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsResponseIncl { return value switch { + AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements => "appAssetLibraryPlacements", AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppKeywords => "appKeywords", AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets => "appPreviewSets", AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets => "appScreenshotSets", @@ -52,6 +57,7 @@ public static string ToValueString(this AppStoreVersionLocalizationsResponseIncl { return value switch { + "appAssetLibraryPlacements" => AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppAssetLibraryPlacements, "appKeywords" => AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppKeywords, "appPreviewSets" => AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppPreviewSets, "appScreenshotSets" => AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType.AppScreenshotSets, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionResponse.g.cs index 755bf1b44..3b6037740 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class AppStoreVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class AppStoreVersionResponse public AppStoreVersionResponse( global::AppStoreConnect.AppStoreVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.g.cs index 3da5e7624..b6cf6d938 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsAp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppStoreVersionsAppStoreVersionExperimen AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppTags => "appTags", + AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppStoreVersionsAppStoreVersionExperimen "appStoreVersionExperimentsV2" => AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppStoreVersionsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs new file mode 100644 index 000000000..693f4b683 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.g.cs @@ -0,0 +1,117 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement + { + /// + /// + /// + AppCustomProductPageLocalization, + /// + /// + /// + AppEventLocalization, + /// + /// + /// + AppStoreVersionExperimentTreatmentLocalization, + /// + /// + /// + AppStoreVersionLocalization, + /// + /// + /// + CreatedDate, + /// + /// + /// + Image, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + MediaType, + /// + /// + /// + PlacementGroup, + /// + /// + /// + PlacementType, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement value) + { + return value switch + { + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization => "appCustomProductPageLocalization", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization => "appEventLocalization", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization => "appStoreVersionExperimentTreatmentLocalization", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization => "appStoreVersionLocalization", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate => "createdDate", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image => "image", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate => "lastModifiedDate", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType => "mediaType", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup => "placementGroup", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType => "placementType", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.State => "state", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails => "stateDetails", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement? ToEnum(string value) + { + return value switch + { + "appCustomProductPageLocalization" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppCustomProductPageLocalization, + "appEventLocalization" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppEventLocalization, + "appStoreVersionExperimentTreatmentLocalization" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionExperimentTreatmentLocalization, + "appStoreVersionLocalization" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.AppStoreVersionLocalization, + "createdDate" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.CreatedDate, + "image" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Image, + "lastModifiedDate" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.LastModifiedDate, + "mediaType" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.MediaType, + "placementGroup" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementGroup, + "placementType" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.PlacementType, + "state" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.State, + "stateDetails" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.StateDetails, + "video" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppAssetLibraryPlacement.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs index 2fc4c28d7..9db15dad2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAp /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppStoreVersionsAppStoreVersionLocalizat AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppStoreVersionsAppStoreVersionLocalizat "keywords" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.g.cs index fef2a14ec..633e11712 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.g.cs @@ -23,6 +23,10 @@ public enum AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeI /// /// /// + Placements, + /// + /// + /// SearchKeywords, } @@ -41,6 +45,7 @@ public static string ToValueString(this AppStoreVersionsAppStoreVersionLocalizat AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.AppPreviewSets => "appPreviewSets", AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.AppScreenshotSets => "appScreenshotSets", AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.AppStoreVersion => "appStoreVersion", + AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.Placements => "placements", AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.SearchKeywords => "searchKeywords", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -55,6 +60,7 @@ public static string ToValueString(this AppStoreVersionsAppStoreVersionLocalizat "appPreviewSets" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.AppPreviewSets, "appScreenshotSets" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.AppScreenshotSets, "appStoreVersion" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.AppStoreVersion, + "placements" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.Placements, "searchKeywords" => AppStoreVersionsAppStoreVersionLocalizationsGetToManyRelatedIncludeItem.SearchKeywords, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsGetInstanceFieldsApp.g.cs index e9fa4fea8..fd26f4ae7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppStoreVersionsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppStoreVersionsGetInstanceFieldsApp val AppStoreVersionsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppStoreVersionsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", AppStoreVersionsGetInstanceFieldsApp.AppTags => "appTags", + AppStoreVersionsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", AppStoreVersionsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", AppStoreVersionsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppStoreVersionsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppStoreVersionsGetInstanceFieldsApp val "appStoreVersionExperimentsV2" => AppStoreVersionsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppStoreVersionsGetInstanceFieldsApp.AppStoreVersions, "appTags" => AppStoreVersionsGetInstanceFieldsApp.AppTags, + "assetLibrary" => AppStoreVersionsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => AppStoreVersionsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppStoreVersionsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppStoreVersionsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.g.cs index 992769410..723bc53e2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppStoreVersionsGetInstanceFieldsAppStor AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.Keywords => "keywords", AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.Locale => "locale", AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.Placements => "placements", AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppStoreVersionsGetInstanceFieldsAppStor "keywords" => AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.Keywords, "locale" => AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppStoreVersionsGetInstanceFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsResponse.g.cs index ec73f87e7..d24ecf858 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppStoreVersionsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class AppStoreVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class AppStoreVersionsResponse public AppStoreVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppClipsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppClipsGetToManyRelatedFieldsApp.g.cs index 7b4cd0b35..ecfc38688 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppClipsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppClipsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsAppClipsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsAppClipsGetToManyRelatedFieldsApp va AppsAppClipsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsAppClipsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsAppClipsGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsAppClipsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsAppClipsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsAppClipsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsAppClipsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsAppClipsGetToManyRelatedFieldsApp va "appStoreVersionExperimentsV2" => AppsAppClipsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsAppClipsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsAppClipsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsAppClipsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsAppClipsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsAppClipsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsAppClipsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppCustomProductPagesGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppCustomProductPagesGetToManyRelatedFieldsApp.g.cs index 8472afa8c..50f855d17 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppCustomProductPagesGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppCustomProductPagesGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsAppCustomProductPagesGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsAppCustomProductPagesGetToManyRelate AppsAppCustomProductPagesGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsAppCustomProductPagesGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsAppCustomProductPagesGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsAppCustomProductPagesGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsAppCustomProductPagesGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsAppCustomProductPagesGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsAppCustomProductPagesGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsAppCustomProductPagesGetToManyRelate "appStoreVersionExperimentsV2" => AppsAppCustomProductPagesGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsAppCustomProductPagesGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsAppCustomProductPagesGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsAppCustomProductPagesGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsAppCustomProductPagesGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsAppCustomProductPagesGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsAppCustomProductPagesGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.g.cs index d28198efd..6186acdc4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsAppEncryptionDeclarationsGetToManyRe AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsAppEncryptionDeclarationsGetToManyRe "appStoreVersionExperimentsV2" => AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsAppEncryptionDeclarationsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.g.cs index 70137b12c..7c5d2fcfc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.g.cs @@ -35,6 +35,10 @@ public enum AppsAppEventsGetToManyRelatedFieldsAppEventLocalization /// /// /// + Placements, + /// + /// + /// ShortDescription, } @@ -56,6 +60,7 @@ public static string ToValueString(this AppsAppEventsGetToManyRelatedFieldsAppEv AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.Locale => "locale", AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.LongDescription => "longDescription", AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.Name => "name", + AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.Placements => "placements", AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.ShortDescription => "shortDescription", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -73,6 +78,7 @@ public static string ToValueString(this AppsAppEventsGetToManyRelatedFieldsAppEv "locale" => AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.Locale, "longDescription" => AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.LongDescription, "name" => AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.Name, + "placements" => AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.Placements, "shortDescription" => AppsAppEventsGetToManyRelatedFieldsAppEventLocalization.ShortDescription, _ => null, }; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppInfosGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppInfosGetToManyRelatedFieldsApp.g.cs index 69f594109..90cfc1591 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppInfosGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppInfosGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsAppInfosGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsAppInfosGetToManyRelatedFieldsApp va AppsAppInfosGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsAppInfosGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsAppInfosGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsAppInfosGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsAppInfosGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsAppInfosGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsAppInfosGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsAppInfosGetToManyRelatedFieldsApp va "appStoreVersionExperimentsV2" => AppsAppInfosGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsAppInfosGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsAppInfosGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsAppInfosGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsAppInfosGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsAppInfosGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsAppInfosGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppPricePointsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppPricePointsGetToManyRelatedFieldsApp.g.cs index 9f9e4b3fc..e07cf29dd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppPricePointsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppPricePointsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsAppPricePointsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsAppPricePointsGetToManyRelatedFields AppsAppPricePointsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsAppPricePointsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsAppPricePointsGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsAppPricePointsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsAppPricePointsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsAppPricePointsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsAppPricePointsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsAppPricePointsGetToManyRelatedFields "appStoreVersionExperimentsV2" => AppsAppPricePointsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsAppPricePointsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsAppPricePointsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsAppPricePointsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsAppPricePointsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsAppPricePointsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsAppPricePointsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppPriceScheduleGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppPriceScheduleGetToOneRelatedFieldsApp.g.cs index 18cecbcfc..e78779365 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppPriceScheduleGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppPriceScheduleGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsAppPriceScheduleGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsAppPriceScheduleGetToOneRelatedField AppsAppPriceScheduleGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsAppPriceScheduleGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsAppPriceScheduleGetToOneRelatedFieldsApp.AppTags => "appTags", + AppsAppPriceScheduleGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsAppPriceScheduleGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsAppPriceScheduleGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsAppPriceScheduleGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsAppPriceScheduleGetToOneRelatedField "appStoreVersionExperimentsV2" => AppsAppPriceScheduleGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsAppPriceScheduleGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => AppsAppPriceScheduleGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => AppsAppPriceScheduleGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsAppPriceScheduleGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsAppPriceScheduleGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsAppPriceScheduleGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.g.cs index f9ada6b37..4f3323fe2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsAppStoreVersionExperimentsV2GetToMan AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppTags => "appTags", + AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsAppStoreVersionExperimentsV2GetToMan "appStoreVersionExperimentsV2" => AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsAppStoreVersionExperimentsV2GetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionsGetToManyRelatedFieldsApp.g.cs index 697e4c306..f82557e3d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsAppStoreVersionsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsAppStoreVersionsGetToManyRelatedFiel AppsAppStoreVersionsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsAppStoreVersionsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsAppStoreVersionsGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsAppStoreVersionsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsAppStoreVersionsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsAppStoreVersionsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsAppStoreVersionsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsAppStoreVersionsGetToManyRelatedFiel "appStoreVersionExperimentsV2" => AppsAppStoreVersionsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsAppStoreVersionsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsAppStoreVersionsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsAppStoreVersionsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsAppStoreVersionsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsAppStoreVersionsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsAppStoreVersionsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs index 0dc1d8d31..a4fe8f06e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalizatio /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this AppsAppStoreVersionsGetToManyRelatedFiel AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale => "locale", AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements => "placements", AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this AppsAppStoreVersionsGetToManyRelatedFiel "keywords" => AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => AppsAppStoreVersionsGetToManyRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.g.cs new file mode 100644 index 000000000..a1c6b243d --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie + { + /// + /// + /// + Images, + /// + /// + /// + Videos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarieExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie value) + { + return value switch + { + AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.Images => "images", + AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.Videos => "videos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie? ToEnum(string value) + { + return value switch + { + "images" => AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.Images, + "videos" => AppsAssetLibraryGetToOneRelatedFieldsAppAssetLibrarie.Videos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsBackgroundAssetsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsBackgroundAssetsGetToManyRelatedFieldsApp.g.cs index 5ec4298c3..84eb2eadc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsBackgroundAssetsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsBackgroundAssetsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsBackgroundAssetsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsBackgroundAssetsGetToManyRelatedFiel AppsBackgroundAssetsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsBackgroundAssetsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsBackgroundAssetsGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsBackgroundAssetsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsBackgroundAssetsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsBackgroundAssetsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsBackgroundAssetsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsBackgroundAssetsGetToManyRelatedFiel "appStoreVersionExperimentsV2" => AppsBackgroundAssetsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsBackgroundAssetsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsBackgroundAssetsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsBackgroundAssetsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsBackgroundAssetsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsBackgroundAssetsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsBackgroundAssetsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsCiProductGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsCiProductGetToOneRelatedFieldsApp.g.cs index ba426a724..82c2668cc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsCiProductGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsCiProductGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsCiProductGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsCiProductGetToOneRelatedFieldsApp va AppsCiProductGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsCiProductGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsCiProductGetToOneRelatedFieldsApp.AppTags => "appTags", + AppsCiProductGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsCiProductGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsCiProductGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsCiProductGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsCiProductGetToOneRelatedFieldsApp va "appStoreVersionExperimentsV2" => AppsCiProductGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsCiProductGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => AppsCiProductGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => AppsCiProductGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsCiProductGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsCiProductGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsCiProductGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGameCenterDetailGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGameCenterDetailGetToOneRelatedFieldsApp.g.cs index ac87ac8ca..a313cb2d4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGameCenterDetailGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGameCenterDetailGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsGameCenterDetailGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsGameCenterDetailGetToOneRelatedField AppsGameCenterDetailGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsGameCenterDetailGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsGameCenterDetailGetToOneRelatedFieldsApp.AppTags => "appTags", + AppsGameCenterDetailGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsGameCenterDetailGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsGameCenterDetailGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsGameCenterDetailGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsGameCenterDetailGetToOneRelatedField "appStoreVersionExperimentsV2" => AppsGameCenterDetailGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsGameCenterDetailGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => AppsGameCenterDetailGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => AppsGameCenterDetailGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsGameCenterDetailGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsGameCenterDetailGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsGameCenterDetailGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.g.cs index 6808e2b70..0dcc8716d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsGameCenterEnabledVersionsGetToManyRe AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsGameCenterEnabledVersionsGetToManyRe "appStoreVersionExperimentsV2" => AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsGameCenterEnabledVersionsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGetCollectionFieldsApp.g.cs index effdbd5e1..6ccb8fa94 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsGetCollectionFieldsApp value) AppsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", AppsGetCollectionFieldsApp.AppTags => "appTags", + AppsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", AppsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", AppsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsGetCollectionFieldsApp value) "appStoreVersionExperimentsV2" => AppsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsGetCollectionFieldsApp.AppStoreVersions, "appTags" => AppsGetCollectionFieldsApp.AppTags, + "assetLibrary" => AppsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => AppsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGetInstanceFieldsApp.g.cs index 41f3565f8..d091ccc77 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsGetInstanceFieldsApp value) AppsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", AppsGetInstanceFieldsApp.AppTags => "appTags", + AppsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", AppsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", AppsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => AppsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsGetInstanceFieldsApp.AppStoreVersions, "appTags" => AppsGetInstanceFieldsApp.AppTags, + "assetLibrary" => AppsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => AppsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsInAppPurchasesGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsInAppPurchasesGetToManyRelatedFieldsApp.g.cs index 328266eb4..362b4248a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsInAppPurchasesGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsInAppPurchasesGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsInAppPurchasesGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsInAppPurchasesGetToManyRelatedFields AppsInAppPurchasesGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsInAppPurchasesGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsInAppPurchasesGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsInAppPurchasesGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsInAppPurchasesGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsInAppPurchasesGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsInAppPurchasesGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsInAppPurchasesGetToManyRelatedFields "appStoreVersionExperimentsV2" => AppsInAppPurchasesGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsInAppPurchasesGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsInAppPurchasesGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsInAppPurchasesGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsInAppPurchasesGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsInAppPurchasesGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsInAppPurchasesGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsResponse.g.cs index 7c8e45a69..f96206d50 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class AppsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class AppsResponse public AppsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsReviewSubmissionsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsReviewSubmissionsGetToManyRelatedFieldsApp.g.cs index a37b509d9..86806a3f0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsReviewSubmissionsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsReviewSubmissionsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsReviewSubmissionsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsReviewSubmissionsGetToManyRelatedFie AppsReviewSubmissionsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsReviewSubmissionsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsReviewSubmissionsGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsReviewSubmissionsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsReviewSubmissionsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsReviewSubmissionsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsReviewSubmissionsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsReviewSubmissionsGetToManyRelatedFie "appStoreVersionExperimentsV2" => AppsReviewSubmissionsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsReviewSubmissionsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsReviewSubmissionsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsReviewSubmissionsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsReviewSubmissionsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsReviewSubmissionsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsReviewSubmissionsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.g.cs index be41fd8ac..e61fe56bc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.g.cs @@ -8,6 +8,14 @@ namespace AppStoreConnect /// public enum AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem { + /// + /// + /// + AppAssetLibraryImage, + /// + /// + /// + AppAssetLibraryVideo, /// /// /// @@ -82,6 +90,8 @@ public static string ToValueString(this AppsReviewSubmissionsGetToManyRelatedFie { return value switch { + AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppAssetLibraryImage => "appAssetLibraryImage", + AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppAssetLibraryVideo => "appAssetLibraryVideo", AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppCustomProductPageVersion => "appCustomProductPageVersion", AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppEvent => "appEvent", AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppStoreVersion => "appStoreVersion", @@ -107,6 +117,8 @@ public static string ToValueString(this AppsReviewSubmissionsGetToManyRelatedFie { return value switch { + "appAssetLibraryImage" => AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppAssetLibraryImage, + "appAssetLibraryVideo" => AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppAssetLibraryVideo, "appCustomProductPageVersion" => AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppCustomProductPageVersion, "appEvent" => AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppEvent, "appStoreVersion" => AppsReviewSubmissionsGetToManyRelatedFieldsReviewSubmissionItem.AppStoreVersion, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsWebhooksGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsWebhooksGetToManyRelatedFieldsApp.g.cs index 2c64f0fe8..eb42dbde3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsWebhooksGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.AppsWebhooksGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum AppsWebhooksGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this AppsWebhooksGetToManyRelatedFieldsApp va AppsWebhooksGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", AppsWebhooksGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", AppsWebhooksGetToManyRelatedFieldsApp.AppTags => "appTags", + AppsWebhooksGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", AppsWebhooksGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", AppsWebhooksGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", AppsWebhooksGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this AppsWebhooksGetToManyRelatedFieldsApp va "appStoreVersionExperimentsV2" => AppsWebhooksGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => AppsWebhooksGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => AppsWebhooksGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => AppsWebhooksGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => AppsWebhooksGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => AppsWebhooksGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => AppsWebhooksGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes.Json.g.cs new file mode 100644 index 000000000..7840d0934 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct Attributes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.Attributes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.Attributes), + jsonSerializerContext) as global::AppStoreConnect.Attributes?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.Attributes? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.Attributes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.Attributes), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.Attributes?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes.g.cs new file mode 100644 index 000000000..5d02dc644 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes.g.cs @@ -0,0 +1,1110 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct Attributes : global::System.IEquatable + { + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState? State { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? AwaitingUpload { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? AwaitingUpload { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AwaitingUpload))] +#endif + public bool IsAwaitingUpload => AwaitingUpload != null; + + /// + /// + /// + public bool TryPickAwaitingUpload( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? value) + { + value = AwaitingUpload; + return IsAwaitingUpload; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes PickAwaitingUpload() => AwaitingUpload is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AwaitingUpload' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? UploadComplete { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? UploadComplete { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(UploadComplete))] +#endif + public bool IsUploadComplete => UploadComplete != null; + + /// + /// + /// + public bool TryPickUploadComplete( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? value) + { + value = UploadComplete; + return IsUploadComplete; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes PickUploadComplete() => UploadComplete is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'UploadComplete' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? Failed { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? Failed { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Failed))] +#endif + public bool IsFailed => Failed != null; + + /// + /// + /// + public bool TryPickFailed( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? value) + { + value = Failed; + return IsFailed; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageFailedAttributes PickFailed() => Failed is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Failed' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? Complete1 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? Complete1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Complete1))] +#endif + public bool IsComplete1 => Complete1 != null; + + /// + /// + /// + public bool TryPickComplete1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = Complete1; + return IsComplete1; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickComplete1() => Complete1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Complete1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? Complete2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? Complete2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Complete2))] +#endif + public bool IsComplete2 => Complete2 != null; + + /// + /// + /// + public bool TryPickComplete2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + value = Complete2; + return IsComplete2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageCommonAttributes PickComplete2() => Complete2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Complete2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? ReadyForReview { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? ReadyForReview { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReadyForReview))] +#endif + public bool IsReadyForReview => ReadyForReview != null; + + /// + /// + /// + public bool TryPickReadyForReview( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? value) + { + value = ReadyForReview; + return IsReadyForReview; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes PickReadyForReview() => ReadyForReview is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ReadyForReview' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? WaitingForReview { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? WaitingForReview { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WaitingForReview))] +#endif + public bool IsWaitingForReview => WaitingForReview != null; + + /// + /// + /// + public bool TryPickWaitingForReview( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? value) + { + value = WaitingForReview; + return IsWaitingForReview; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes PickWaitingForReview() => WaitingForReview is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WaitingForReview' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? InReview { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? InReview { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InReview))] +#endif + public bool IsInReview => InReview != null; + + /// + /// + /// + public bool TryPickInReview( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? value) + { + value = InReview; + return IsInReview; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes PickInReview() => InReview is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InReview' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? Accepted { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? Accepted { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Accepted))] +#endif + public bool IsAccepted => Accepted != null; + + /// + /// + /// + public bool TryPickAccepted( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? value) + { + value = Accepted; + return IsAccepted; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes PickAccepted() => Accepted is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Accepted' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? Approved { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? Approved { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Approved))] +#endif + public bool IsApproved => Approved != null; + + /// + /// + /// + public bool TryPickApproved( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? value) + { + value = Approved; + return IsApproved; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes PickApproved() => Approved is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Approved' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? Rejected { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? Rejected { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Rejected))] +#endif + public bool IsRejected => Rejected != null; + + /// + /// + /// + public bool TryPickRejected( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? value) + { + value = Rejected; + return IsRejected; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes PickRejected() => Rejected is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Rejected' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? Archived { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? Archived { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Archived))] +#endif + public bool IsArchived => Archived != null; + + /// + /// + /// + public bool TryPickArchived( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? value) + { + value = Archived; + return IsArchived; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes PickArchived() => Archived is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Archived' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes?(Attributes @this) => @this.AwaitingUpload; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? value) + { + AwaitingUpload = value; + } + + /// + /// + /// + public static Attributes FromAwaitingUpload(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes?(Attributes @this) => @this.UploadComplete; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? value) + { + UploadComplete = value; + } + + /// + /// + /// + public static Attributes FromUploadComplete(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageFailedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageFailedAttributes?(Attributes @this) => @this.Failed; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? value) + { + Failed = value; + } + + /// + /// + /// + public static Attributes FromFailed(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageCommonAttributes?(Attributes @this) => @this.Complete1; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) + { + Complete1 = value; + } + + /// + /// + /// + public static Attributes FromComplete1(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes?(Attributes @this) => @this.ReadyForReview; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? value) + { + ReadyForReview = value; + } + + /// + /// + /// + public static Attributes FromReadyForReview(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes?(Attributes @this) => @this.WaitingForReview; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? value) + { + WaitingForReview = value; + } + + /// + /// + /// + public static Attributes FromWaitingForReview(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes?(Attributes @this) => @this.InReview; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? value) + { + InReview = value; + } + + /// + /// + /// + public static Attributes FromInReview(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes?(Attributes @this) => @this.Accepted; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? value) + { + Accepted = value; + } + + /// + /// + /// + public static Attributes FromAccepted(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes?(Attributes @this) => @this.Approved; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? value) + { + Approved = value; + } + + /// + /// + /// + public static Attributes FromApproved(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes?(Attributes @this) => @this.Rejected; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? value) + { + Rejected = value; + } + + /// + /// + /// + public static Attributes FromRejected(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? value) => new Attributes(value); + + /// + /// + /// + public static implicit operator Attributes(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes value) => new Attributes((global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes?(Attributes @this) => @this.Archived; + + /// + /// + /// + public Attributes(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? value) + { + Archived = value; + } + + /// + /// + /// + public static Attributes FromArchived(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? value) => new Attributes(value); + + /// + /// + /// + public Attributes( + global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState? state, + global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes? awaitingUpload, + global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes? uploadComplete, + global::AppStoreConnect.AppAssetLibraryImageFailedAttributes? failed, + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? complete1, + global::AppStoreConnect.AppAssetLibraryImageCommonAttributes? complete2, + global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes? readyForReview, + global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes? waitingForReview, + global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes? inReview, + global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes? accepted, + global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes? approved, + global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes? rejected, + global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes? archived + ) + { + State = state; + + AwaitingUpload = awaitingUpload; + UploadComplete = uploadComplete; + Failed = failed; + Complete1 = complete1; + Complete2 = complete2; + ReadyForReview = readyForReview; + WaitingForReview = waitingForReview; + InReview = inReview; + Accepted = accepted; + Approved = approved; + Rejected = rejected; + Archived = archived; + } + + /// + /// + /// + public object? Object => + Archived as object ?? + Rejected as object ?? + Approved as object ?? + Accepted as object ?? + InReview as object ?? + WaitingForReview as object ?? + ReadyForReview as object ?? + Complete2 as object ?? + Complete1 as object ?? + Failed as object ?? + UploadComplete as object ?? + AwaitingUpload as object + ; + + /// + /// + /// + public override string? ToString() => + AwaitingUpload?.ToString() ?? + UploadComplete?.ToString() ?? + Failed?.ToString() ?? + Complete1?.ToString() ?? + Complete2?.ToString() ?? + ReadyForReview?.ToString() ?? + WaitingForReview?.ToString() ?? + InReview?.ToString() ?? + Accepted?.ToString() ?? + Approved?.ToString() ?? + Rejected?.ToString() ?? + Archived?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && IsArchived; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? awaitingUpload = null, + global::System.Func? uploadComplete = null, + global::System.Func? failed = null, + global::System.Func? complete1 = null, + global::System.Func? complete2 = null, + global::System.Func? readyForReview = null, + global::System.Func? waitingForReview = null, + global::System.Func? inReview = null, + global::System.Func? accepted = null, + global::System.Func? approved = null, + global::System.Func? rejected = null, + global::System.Func? archived = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AwaitingUpload is { } __value0 && awaitingUpload != null) + { + return awaitingUpload(__value0); + } + else if (UploadComplete is { } __value1 && uploadComplete != null) + { + return uploadComplete(__value1); + } + else if (Failed is { } __value2 && failed != null) + { + return failed(__value2); + } + else if (Complete1 is { } __value3 && complete1 != null) + { + return complete1(__value3); + } + else if (Complete2 is { } __value4 && complete2 != null) + { + return complete2(__value4); + } + else if (ReadyForReview is { } __value5 && readyForReview != null) + { + return readyForReview(__value5); + } + else if (WaitingForReview is { } __value6 && waitingForReview != null) + { + return waitingForReview(__value6); + } + else if (InReview is { } __value7 && inReview != null) + { + return inReview(__value7); + } + else if (Accepted is { } __value8 && accepted != null) + { + return accepted(__value8); + } + else if (Approved is { } __value9 && approved != null) + { + return approved(__value9); + } + else if (Rejected is { } __value10 && rejected != null) + { + return rejected(__value10); + } + else if (Archived is { } __value11 && archived != null) + { + return archived(__value11); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? awaitingUpload = null, + + global::System.Action? uploadComplete = null, + + global::System.Action? failed = null, + + global::System.Action? complete1 = null, + + global::System.Action? complete2 = null, + + global::System.Action? readyForReview = null, + + global::System.Action? waitingForReview = null, + + global::System.Action? inReview = null, + + global::System.Action? accepted = null, + + global::System.Action? approved = null, + + global::System.Action? rejected = null, + + global::System.Action? archived = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AwaitingUpload is { } __value0) + { + awaitingUpload?.Invoke(__value0); + } + else if (UploadComplete is { } __value1) + { + uploadComplete?.Invoke(__value1); + } + else if (Failed is { } __value2) + { + failed?.Invoke(__value2); + } + else if (Complete1 is { } __value3) + { + complete1?.Invoke(__value3); + } + else if (Complete2 is { } __value4) + { + complete2?.Invoke(__value4); + } + else if (ReadyForReview is { } __value5) + { + readyForReview?.Invoke(__value5); + } + else if (WaitingForReview is { } __value6) + { + waitingForReview?.Invoke(__value6); + } + else if (InReview is { } __value7) + { + inReview?.Invoke(__value7); + } + else if (Accepted is { } __value8) + { + accepted?.Invoke(__value8); + } + else if (Approved is { } __value9) + { + approved?.Invoke(__value9); + } + else if (Rejected is { } __value10) + { + rejected?.Invoke(__value10); + } + else if (Archived is { } __value11) + { + archived?.Invoke(__value11); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? awaitingUpload = null, + global::System.Action? uploadComplete = null, + global::System.Action? failed = null, + global::System.Action? complete1 = null, + global::System.Action? complete2 = null, + global::System.Action? readyForReview = null, + global::System.Action? waitingForReview = null, + global::System.Action? inReview = null, + global::System.Action? accepted = null, + global::System.Action? approved = null, + global::System.Action? rejected = null, + global::System.Action? archived = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AwaitingUpload is { } __value0) + { + awaitingUpload?.Invoke(__value0); + } + else if (UploadComplete is { } __value1) + { + uploadComplete?.Invoke(__value1); + } + else if (Failed is { } __value2) + { + failed?.Invoke(__value2); + } + else if (Complete1 is { } __value3) + { + complete1?.Invoke(__value3); + } + else if (Complete2 is { } __value4) + { + complete2?.Invoke(__value4); + } + else if (ReadyForReview is { } __value5) + { + readyForReview?.Invoke(__value5); + } + else if (WaitingForReview is { } __value6) + { + waitingForReview?.Invoke(__value6); + } + else if (InReview is { } __value7) + { + inReview?.Invoke(__value7); + } + else if (Accepted is { } __value8) + { + accepted?.Invoke(__value8); + } + else if (Approved is { } __value9) + { + approved?.Invoke(__value9); + } + else if (Rejected is { } __value10) + { + rejected?.Invoke(__value10); + } + else if (Archived is { } __value11) + { + archived?.Invoke(__value11); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AwaitingUpload, + typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes), + UploadComplete, + typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes), + Failed, + typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes), + Complete1, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + Complete2, + typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes), + ReadyForReview, + typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes), + WaitingForReview, + typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes), + InReview, + typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes), + Accepted, + typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes), + Approved, + typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes), + Rejected, + typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes), + Archived, + typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(Attributes other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AwaitingUpload, other.AwaitingUpload) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(UploadComplete, other.UploadComplete) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Failed, other.Failed) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Complete1, other.Complete1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Complete2, other.Complete2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ReadyForReview, other.ReadyForReview) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WaitingForReview, other.WaitingForReview) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InReview, other.InReview) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Accepted, other.Accepted) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Approved, other.Approved) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Rejected, other.Rejected) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Archived, other.Archived) + ; + } + + /// + /// + /// + public static bool operator ==(Attributes obj1, Attributes obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(Attributes obj1, Attributes obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is Attributes o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes2.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes2.Json.g.cs new file mode 100644 index 000000000..1847ebd37 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct Attributes2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.Attributes2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.Attributes2), + jsonSerializerContext) as global::AppStoreConnect.Attributes2?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.Attributes2? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.Attributes2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.Attributes2), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.Attributes2?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes2.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes2.g.cs new file mode 100644 index 000000000..afbaf7ddb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Attributes2.g.cs @@ -0,0 +1,1110 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct Attributes2 : global::System.IEquatable + { + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState? State { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? AwaitingUpload { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? AwaitingUpload { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AwaitingUpload))] +#endif + public bool IsAwaitingUpload => AwaitingUpload != null; + + /// + /// + /// + public bool TryPickAwaitingUpload( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? value) + { + value = AwaitingUpload; + return IsAwaitingUpload; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes PickAwaitingUpload() => AwaitingUpload is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AwaitingUpload' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? UploadComplete { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? UploadComplete { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(UploadComplete))] +#endif + public bool IsUploadComplete => UploadComplete != null; + + /// + /// + /// + public bool TryPickUploadComplete( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? value) + { + value = UploadComplete; + return IsUploadComplete; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes PickUploadComplete() => UploadComplete is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'UploadComplete' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? Failed { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? Failed { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Failed))] +#endif + public bool IsFailed => Failed != null; + + /// + /// + /// + public bool TryPickFailed( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? value) + { + value = Failed; + return IsFailed; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes PickFailed() => Failed is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Failed' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? Complete1 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? Complete1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Complete1))] +#endif + public bool IsComplete1 => Complete1 != null; + + /// + /// + /// + public bool TryPickComplete1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = Complete1; + return IsComplete1; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickComplete1() => Complete1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Complete1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? Complete2 { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? Complete2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Complete2))] +#endif + public bool IsComplete2 => Complete2 != null; + + /// + /// + /// + public bool TryPickComplete2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + value = Complete2; + return IsComplete2; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes PickComplete2() => Complete2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Complete2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? ReadyForReview { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? ReadyForReview { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReadyForReview))] +#endif + public bool IsReadyForReview => ReadyForReview != null; + + /// + /// + /// + public bool TryPickReadyForReview( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? value) + { + value = ReadyForReview; + return IsReadyForReview; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes PickReadyForReview() => ReadyForReview is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ReadyForReview' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? WaitingForReview { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? WaitingForReview { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WaitingForReview))] +#endif + public bool IsWaitingForReview => WaitingForReview != null; + + /// + /// + /// + public bool TryPickWaitingForReview( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? value) + { + value = WaitingForReview; + return IsWaitingForReview; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes PickWaitingForReview() => WaitingForReview is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WaitingForReview' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? InReview { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? InReview { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InReview))] +#endif + public bool IsInReview => InReview != null; + + /// + /// + /// + public bool TryPickInReview( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? value) + { + value = InReview; + return IsInReview; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes PickInReview() => InReview is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InReview' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? Accepted { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? Accepted { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Accepted))] +#endif + public bool IsAccepted => Accepted != null; + + /// + /// + /// + public bool TryPickAccepted( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? value) + { + value = Accepted; + return IsAccepted; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes PickAccepted() => Accepted is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Accepted' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? Approved { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? Approved { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Approved))] +#endif + public bool IsApproved => Approved != null; + + /// + /// + /// + public bool TryPickApproved( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? value) + { + value = Approved; + return IsApproved; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes PickApproved() => Approved is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Approved' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? Rejected { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? Rejected { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Rejected))] +#endif + public bool IsRejected => Rejected != null; + + /// + /// + /// + public bool TryPickRejected( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? value) + { + value = Rejected; + return IsRejected; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes PickRejected() => Rejected is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Rejected' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? Archived { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? Archived { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Archived))] +#endif + public bool IsArchived => Archived != null; + + /// + /// + /// + public bool TryPickArchived( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? value) + { + value = Archived; + return IsArchived; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes PickArchived() => Archived is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Archived' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes?(Attributes2 @this) => @this.AwaitingUpload; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? value) + { + AwaitingUpload = value; + } + + /// + /// + /// + public static Attributes2 FromAwaitingUpload(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes?(Attributes2 @this) => @this.UploadComplete; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? value) + { + UploadComplete = value; + } + + /// + /// + /// + public static Attributes2 FromUploadComplete(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes?(Attributes2 @this) => @this.Failed; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? value) + { + Failed = value; + } + + /// + /// + /// + public static Attributes2 FromFailed(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes?(Attributes2 @this) => @this.Complete1; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) + { + Complete1 = value; + } + + /// + /// + /// + public static Attributes2 FromComplete1(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes?(Attributes2 @this) => @this.ReadyForReview; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? value) + { + ReadyForReview = value; + } + + /// + /// + /// + public static Attributes2 FromReadyForReview(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes?(Attributes2 @this) => @this.WaitingForReview; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? value) + { + WaitingForReview = value; + } + + /// + /// + /// + public static Attributes2 FromWaitingForReview(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes?(Attributes2 @this) => @this.InReview; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? value) + { + InReview = value; + } + + /// + /// + /// + public static Attributes2 FromInReview(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes?(Attributes2 @this) => @this.Accepted; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? value) + { + Accepted = value; + } + + /// + /// + /// + public static Attributes2 FromAccepted(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes?(Attributes2 @this) => @this.Approved; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? value) + { + Approved = value; + } + + /// + /// + /// + public static Attributes2 FromApproved(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes?(Attributes2 @this) => @this.Rejected; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? value) + { + Rejected = value; + } + + /// + /// + /// + public static Attributes2 FromRejected(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? value) => new Attributes2(value); + + /// + /// + /// + public static implicit operator Attributes2(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes value) => new Attributes2((global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes?(Attributes2 @this) => @this.Archived; + + /// + /// + /// + public Attributes2(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? value) + { + Archived = value; + } + + /// + /// + /// + public static Attributes2 FromArchived(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? value) => new Attributes2(value); + + /// + /// + /// + public Attributes2( + global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState? state, + global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes? awaitingUpload, + global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes? uploadComplete, + global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes? failed, + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? complete1, + global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes? complete2, + global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes? readyForReview, + global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes? waitingForReview, + global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes? inReview, + global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes? accepted, + global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes? approved, + global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes? rejected, + global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes? archived + ) + { + State = state; + + AwaitingUpload = awaitingUpload; + UploadComplete = uploadComplete; + Failed = failed; + Complete1 = complete1; + Complete2 = complete2; + ReadyForReview = readyForReview; + WaitingForReview = waitingForReview; + InReview = inReview; + Accepted = accepted; + Approved = approved; + Rejected = rejected; + Archived = archived; + } + + /// + /// + /// + public object? Object => + Archived as object ?? + Rejected as object ?? + Approved as object ?? + Accepted as object ?? + InReview as object ?? + WaitingForReview as object ?? + ReadyForReview as object ?? + Complete2 as object ?? + Complete1 as object ?? + Failed as object ?? + UploadComplete as object ?? + AwaitingUpload as object + ; + + /// + /// + /// + public override string? ToString() => + AwaitingUpload?.ToString() ?? + UploadComplete?.ToString() ?? + Failed?.ToString() ?? + Complete1?.ToString() ?? + Complete2?.ToString() ?? + ReadyForReview?.ToString() ?? + WaitingForReview?.ToString() ?? + InReview?.ToString() ?? + Accepted?.ToString() ?? + Approved?.ToString() ?? + Rejected?.ToString() ?? + Archived?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && IsInReview && !IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && IsAccepted && !IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && IsApproved && !IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && IsRejected && !IsArchived || !IsAwaitingUpload && !IsUploadComplete && !IsFailed && !IsComplete1 && !IsComplete2 && !IsReadyForReview && !IsWaitingForReview && !IsInReview && !IsAccepted && !IsApproved && !IsRejected && IsArchived; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? awaitingUpload = null, + global::System.Func? uploadComplete = null, + global::System.Func? failed = null, + global::System.Func? complete1 = null, + global::System.Func? complete2 = null, + global::System.Func? readyForReview = null, + global::System.Func? waitingForReview = null, + global::System.Func? inReview = null, + global::System.Func? accepted = null, + global::System.Func? approved = null, + global::System.Func? rejected = null, + global::System.Func? archived = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AwaitingUpload is { } __value0 && awaitingUpload != null) + { + return awaitingUpload(__value0); + } + else if (UploadComplete is { } __value1 && uploadComplete != null) + { + return uploadComplete(__value1); + } + else if (Failed is { } __value2 && failed != null) + { + return failed(__value2); + } + else if (Complete1 is { } __value3 && complete1 != null) + { + return complete1(__value3); + } + else if (Complete2 is { } __value4 && complete2 != null) + { + return complete2(__value4); + } + else if (ReadyForReview is { } __value5 && readyForReview != null) + { + return readyForReview(__value5); + } + else if (WaitingForReview is { } __value6 && waitingForReview != null) + { + return waitingForReview(__value6); + } + else if (InReview is { } __value7 && inReview != null) + { + return inReview(__value7); + } + else if (Accepted is { } __value8 && accepted != null) + { + return accepted(__value8); + } + else if (Approved is { } __value9 && approved != null) + { + return approved(__value9); + } + else if (Rejected is { } __value10 && rejected != null) + { + return rejected(__value10); + } + else if (Archived is { } __value11 && archived != null) + { + return archived(__value11); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? awaitingUpload = null, + + global::System.Action? uploadComplete = null, + + global::System.Action? failed = null, + + global::System.Action? complete1 = null, + + global::System.Action? complete2 = null, + + global::System.Action? readyForReview = null, + + global::System.Action? waitingForReview = null, + + global::System.Action? inReview = null, + + global::System.Action? accepted = null, + + global::System.Action? approved = null, + + global::System.Action? rejected = null, + + global::System.Action? archived = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AwaitingUpload is { } __value0) + { + awaitingUpload?.Invoke(__value0); + } + else if (UploadComplete is { } __value1) + { + uploadComplete?.Invoke(__value1); + } + else if (Failed is { } __value2) + { + failed?.Invoke(__value2); + } + else if (Complete1 is { } __value3) + { + complete1?.Invoke(__value3); + } + else if (Complete2 is { } __value4) + { + complete2?.Invoke(__value4); + } + else if (ReadyForReview is { } __value5) + { + readyForReview?.Invoke(__value5); + } + else if (WaitingForReview is { } __value6) + { + waitingForReview?.Invoke(__value6); + } + else if (InReview is { } __value7) + { + inReview?.Invoke(__value7); + } + else if (Accepted is { } __value8) + { + accepted?.Invoke(__value8); + } + else if (Approved is { } __value9) + { + approved?.Invoke(__value9); + } + else if (Rejected is { } __value10) + { + rejected?.Invoke(__value10); + } + else if (Archived is { } __value11) + { + archived?.Invoke(__value11); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? awaitingUpload = null, + global::System.Action? uploadComplete = null, + global::System.Action? failed = null, + global::System.Action? complete1 = null, + global::System.Action? complete2 = null, + global::System.Action? readyForReview = null, + global::System.Action? waitingForReview = null, + global::System.Action? inReview = null, + global::System.Action? accepted = null, + global::System.Action? approved = null, + global::System.Action? rejected = null, + global::System.Action? archived = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AwaitingUpload is { } __value0) + { + awaitingUpload?.Invoke(__value0); + } + else if (UploadComplete is { } __value1) + { + uploadComplete?.Invoke(__value1); + } + else if (Failed is { } __value2) + { + failed?.Invoke(__value2); + } + else if (Complete1 is { } __value3) + { + complete1?.Invoke(__value3); + } + else if (Complete2 is { } __value4) + { + complete2?.Invoke(__value4); + } + else if (ReadyForReview is { } __value5) + { + readyForReview?.Invoke(__value5); + } + else if (WaitingForReview is { } __value6) + { + waitingForReview?.Invoke(__value6); + } + else if (InReview is { } __value7) + { + inReview?.Invoke(__value7); + } + else if (Accepted is { } __value8) + { + accepted?.Invoke(__value8); + } + else if (Approved is { } __value9) + { + approved?.Invoke(__value9); + } + else if (Rejected is { } __value10) + { + rejected?.Invoke(__value10); + } + else if (Archived is { } __value11) + { + archived?.Invoke(__value11); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AwaitingUpload, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes), + UploadComplete, + typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes), + Failed, + typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes), + Complete1, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + Complete2, + typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes), + ReadyForReview, + typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes), + WaitingForReview, + typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes), + InReview, + typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes), + Accepted, + typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes), + Approved, + typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes), + Rejected, + typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes), + Archived, + typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(Attributes2 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AwaitingUpload, other.AwaitingUpload) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(UploadComplete, other.UploadComplete) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Failed, other.Failed) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Complete1, other.Complete1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Complete2, other.Complete2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ReadyForReview, other.ReadyForReview) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WaitingForReview, other.WaitingForReview) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InReview, other.InReview) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Accepted, other.Accepted) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Approved, other.Approved) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Rejected, other.Rejected) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Archived, other.Archived) + ; + } + + /// + /// + /// + public static bool operator ==(Attributes2 obj1, Attributes2 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(Attributes2 obj1, Attributes2 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is Attributes2 o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetResponse.g.cs index 72cc070c4..2bc0204d5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BackgroundAssetResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class BackgroundAssetResponse public BackgroundAssetResponse( global::AppStoreConnect.BackgroundAsset data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetVersionResponse.g.cs index 18037bb64..0e1f58002 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetVersionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BackgroundAssetVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class BackgroundAssetVersionResponse public BackgroundAssetVersionResponse( global::AppStoreConnect.BackgroundAssetVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetVersionsResponse.g.cs index 5c3654832..599297338 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetVersionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BackgroundAssetVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class BackgroundAssetVersionsResponse public BackgroundAssetVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetsGetInstanceFieldsApp.g.cs index a176d3fcf..f438a0f33 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BackgroundAssetsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BackgroundAssetsGetInstanceFieldsApp val BackgroundAssetsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BackgroundAssetsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", BackgroundAssetsGetInstanceFieldsApp.AppTags => "appTags", + BackgroundAssetsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", BackgroundAssetsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", BackgroundAssetsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BackgroundAssetsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BackgroundAssetsGetInstanceFieldsApp val "appStoreVersionExperimentsV2" => BackgroundAssetsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BackgroundAssetsGetInstanceFieldsApp.AppStoreVersions, "appTags" => BackgroundAssetsGetInstanceFieldsApp.AppTags, + "assetLibrary" => BackgroundAssetsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => BackgroundAssetsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => BackgroundAssetsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BackgroundAssetsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetsResponse.g.cs index eb8edeeb0..3cc1e60c6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BackgroundAssetsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BackgroundAssetsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class BackgroundAssetsResponse public BackgroundAssetsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsAppGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsAppGetToOneRelatedFieldsApp.g.cs index fa8c2f5c0..0c24988bd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsAppGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsAppGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaAppLocalizationsAppGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaAppLocalizationsAppGetToOneRelatedFi BetaAppLocalizationsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaAppLocalizationsAppGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", BetaAppLocalizationsAppGetToOneRelatedFieldsApp.AppTags => "appTags", + BetaAppLocalizationsAppGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", BetaAppLocalizationsAppGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", BetaAppLocalizationsAppGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaAppLocalizationsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaAppLocalizationsAppGetToOneRelatedFi "appStoreVersionExperimentsV2" => BetaAppLocalizationsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaAppLocalizationsAppGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => BetaAppLocalizationsAppGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => BetaAppLocalizationsAppGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => BetaAppLocalizationsAppGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaAppLocalizationsAppGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaAppLocalizationsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsGetCollectionFieldsApp.g.cs index 511b5cc43..b2aaf7cee 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaAppLocalizationsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaAppLocalizationsGetCollectionFieldsA BetaAppLocalizationsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaAppLocalizationsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", BetaAppLocalizationsGetCollectionFieldsApp.AppTags => "appTags", + BetaAppLocalizationsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", BetaAppLocalizationsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", BetaAppLocalizationsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaAppLocalizationsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaAppLocalizationsGetCollectionFieldsA "appStoreVersionExperimentsV2" => BetaAppLocalizationsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaAppLocalizationsGetCollectionFieldsApp.AppStoreVersions, "appTags" => BetaAppLocalizationsGetCollectionFieldsApp.AppTags, + "assetLibrary" => BetaAppLocalizationsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => BetaAppLocalizationsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaAppLocalizationsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaAppLocalizationsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsGetInstanceFieldsApp.g.cs index 0b396a7c5..7dbfbe09f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppLocalizationsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaAppLocalizationsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaAppLocalizationsGetInstanceFieldsApp BetaAppLocalizationsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaAppLocalizationsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", BetaAppLocalizationsGetInstanceFieldsApp.AppTags => "appTags", + BetaAppLocalizationsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", BetaAppLocalizationsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", BetaAppLocalizationsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaAppLocalizationsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaAppLocalizationsGetInstanceFieldsApp "appStoreVersionExperimentsV2" => BetaAppLocalizationsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaAppLocalizationsGetInstanceFieldsApp.AppStoreVersions, "appTags" => BetaAppLocalizationsGetInstanceFieldsApp.AppTags, + "assetLibrary" => BetaAppLocalizationsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => BetaAppLocalizationsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaAppLocalizationsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaAppLocalizationsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.g.cs index 7cddebba3..93c8e931d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaAppReviewDetailsAppGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaAppReviewDetailsAppGetToOneRelatedFi BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.AppTags => "appTags", + BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaAppReviewDetailsAppGetToOneRelatedFi "appStoreVersionExperimentsV2" => BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaAppReviewDetailsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsGetCollectionFieldsApp.g.cs index e57e28735..5dcdc08d6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaAppReviewDetailsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaAppReviewDetailsGetCollectionFieldsA BetaAppReviewDetailsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaAppReviewDetailsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", BetaAppReviewDetailsGetCollectionFieldsApp.AppTags => "appTags", + BetaAppReviewDetailsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", BetaAppReviewDetailsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", BetaAppReviewDetailsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaAppReviewDetailsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaAppReviewDetailsGetCollectionFieldsA "appStoreVersionExperimentsV2" => BetaAppReviewDetailsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaAppReviewDetailsGetCollectionFieldsApp.AppStoreVersions, "appTags" => BetaAppReviewDetailsGetCollectionFieldsApp.AppTags, + "assetLibrary" => BetaAppReviewDetailsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => BetaAppReviewDetailsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaAppReviewDetailsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaAppReviewDetailsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsGetInstanceFieldsApp.g.cs index 861cadbcf..2f9ca9d50 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaAppReviewDetailsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaAppReviewDetailsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaAppReviewDetailsGetInstanceFieldsApp BetaAppReviewDetailsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaAppReviewDetailsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", BetaAppReviewDetailsGetInstanceFieldsApp.AppTags => "appTags", + BetaAppReviewDetailsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", BetaAppReviewDetailsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", BetaAppReviewDetailsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaAppReviewDetailsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaAppReviewDetailsGetInstanceFieldsApp "appStoreVersionExperimentsV2" => BetaAppReviewDetailsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaAppReviewDetailsGetInstanceFieldsApp.AppStoreVersions, "appTags" => BetaAppReviewDetailsGetInstanceFieldsApp.AppTags, + "assetLibrary" => BetaAppReviewDetailsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => BetaAppReviewDetailsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaAppReviewDetailsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaAppReviewDetailsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackCrashSubmissionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackCrashSubmissionResponse.g.cs index 307fd976a..588ad4674 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackCrashSubmissionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackCrashSubmissionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BetaFeedbackCrashSubmissionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class BetaFeedbackCrashSubmissionResponse public BetaFeedbackCrashSubmissionResponse( global::AppStoreConnect.BetaFeedbackCrashSubmission data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackCrashSubmissionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackCrashSubmissionsResponse.g.cs index 7dc819644..1d824a6f6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackCrashSubmissionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackCrashSubmissionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BetaFeedbackCrashSubmissionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class BetaFeedbackCrashSubmissionsResponse public BetaFeedbackCrashSubmissionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackScreenshotSubmissionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackScreenshotSubmissionResponse.g.cs index 1dbc752df..f8eaeb2a9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackScreenshotSubmissionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackScreenshotSubmissionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BetaFeedbackScreenshotSubmissionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class BetaFeedbackScreenshotSubmissionResponse public BetaFeedbackScreenshotSubmissionResponse( global::AppStoreConnect.BetaFeedbackScreenshotSubmission data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackScreenshotSubmissionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackScreenshotSubmissionsResponse.g.cs index 8dd7c4667..77442545e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackScreenshotSubmissionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaFeedbackScreenshotSubmissionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BetaFeedbackScreenshotSubmissionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class BetaFeedbackScreenshotSubmissionsResponse public BetaFeedbackScreenshotSubmissionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupResponse.g.cs index b148b6134..db2caf4bb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BetaGroupResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class BetaGroupResponse public BetaGroupResponse( global::AppStoreConnect.BetaGroup data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsAppGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsAppGetToOneRelatedFieldsApp.g.cs index 426d6fcca..b68a23b6a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsAppGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsAppGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaGroupsAppGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaGroupsAppGetToOneRelatedFieldsApp va BetaGroupsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaGroupsAppGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", BetaGroupsAppGetToOneRelatedFieldsApp.AppTags => "appTags", + BetaGroupsAppGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", BetaGroupsAppGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", BetaGroupsAppGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaGroupsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaGroupsAppGetToOneRelatedFieldsApp va "appStoreVersionExperimentsV2" => BetaGroupsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaGroupsAppGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => BetaGroupsAppGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => BetaGroupsAppGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => BetaGroupsAppGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaGroupsAppGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaGroupsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsGetCollectionFieldsApp.g.cs index 35658c31d..1f4e48384 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaGroupsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaGroupsGetCollectionFieldsApp value) BetaGroupsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaGroupsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", BetaGroupsGetCollectionFieldsApp.AppTags => "appTags", + BetaGroupsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", BetaGroupsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", BetaGroupsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaGroupsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaGroupsGetCollectionFieldsApp value) "appStoreVersionExperimentsV2" => BetaGroupsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaGroupsGetCollectionFieldsApp.AppStoreVersions, "appTags" => BetaGroupsGetCollectionFieldsApp.AppTags, + "assetLibrary" => BetaGroupsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => BetaGroupsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaGroupsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaGroupsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsGetInstanceFieldsApp.g.cs index 0ba53b3a3..0a79e1db3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaGroupsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaGroupsGetInstanceFieldsApp value) BetaGroupsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaGroupsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", BetaGroupsGetInstanceFieldsApp.AppTags => "appTags", + BetaGroupsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", BetaGroupsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", BetaGroupsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaGroupsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaGroupsGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => BetaGroupsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaGroupsGetInstanceFieldsApp.AppStoreVersions, "appTags" => BetaGroupsGetInstanceFieldsApp.AppTags, + "assetLibrary" => BetaGroupsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => BetaGroupsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaGroupsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaGroupsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsResponse.g.cs index fd228a744..43d43db34 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaGroupsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BetaGroupsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class BetaGroupsResponse public BetaGroupsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.g.cs index 59adbadf0..756b0eca3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaLicenseAgreementsAppGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaLicenseAgreementsAppGetToOneRelatedF BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.AppTags => "appTags", + BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaLicenseAgreementsAppGetToOneRelatedF "appStoreVersionExperimentsV2" => BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaLicenseAgreementsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsGetCollectionFieldsApp.g.cs index 92ae689c8..ee91b1555 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaLicenseAgreementsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaLicenseAgreementsGetCollectionFields BetaLicenseAgreementsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaLicenseAgreementsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", BetaLicenseAgreementsGetCollectionFieldsApp.AppTags => "appTags", + BetaLicenseAgreementsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", BetaLicenseAgreementsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", BetaLicenseAgreementsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaLicenseAgreementsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaLicenseAgreementsGetCollectionFields "appStoreVersionExperimentsV2" => BetaLicenseAgreementsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaLicenseAgreementsGetCollectionFieldsApp.AppStoreVersions, "appTags" => BetaLicenseAgreementsGetCollectionFieldsApp.AppTags, + "assetLibrary" => BetaLicenseAgreementsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => BetaLicenseAgreementsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaLicenseAgreementsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaLicenseAgreementsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsGetInstanceFieldsApp.g.cs index 3c83bfde5..1d687edf3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaLicenseAgreementsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaLicenseAgreementsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaLicenseAgreementsGetInstanceFieldsAp BetaLicenseAgreementsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaLicenseAgreementsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", BetaLicenseAgreementsGetInstanceFieldsApp.AppTags => "appTags", + BetaLicenseAgreementsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", BetaLicenseAgreementsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", BetaLicenseAgreementsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaLicenseAgreementsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaLicenseAgreementsGetInstanceFieldsAp "appStoreVersionExperimentsV2" => BetaLicenseAgreementsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaLicenseAgreementsGetInstanceFieldsApp.AppStoreVersions, "appTags" => BetaLicenseAgreementsGetInstanceFieldsApp.AppTags, + "assetLibrary" => BetaLicenseAgreementsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => BetaLicenseAgreementsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaLicenseAgreementsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaLicenseAgreementsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTesterResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTesterResponse.g.cs index 3d3d0db7e..f3e77a848 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTesterResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTesterResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BetaTesterResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class BetaTesterResponse public BetaTesterResponse( global::AppStoreConnect.BetaTester data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersAppsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersAppsGetToManyRelatedFieldsApp.g.cs index 0df0522cd..42a0a1de0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersAppsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersAppsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaTestersAppsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaTestersAppsGetToManyRelatedFieldsApp BetaTestersAppsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaTestersAppsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", BetaTestersAppsGetToManyRelatedFieldsApp.AppTags => "appTags", + BetaTestersAppsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", BetaTestersAppsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", BetaTestersAppsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaTestersAppsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaTestersAppsGetToManyRelatedFieldsApp "appStoreVersionExperimentsV2" => BetaTestersAppsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaTestersAppsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => BetaTestersAppsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => BetaTestersAppsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => BetaTestersAppsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaTestersAppsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaTestersAppsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersGetCollectionFieldsApp.g.cs index 7e66b2a97..796e58be8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaTestersGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaTestersGetCollectionFieldsApp value) BetaTestersGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaTestersGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", BetaTestersGetCollectionFieldsApp.AppTags => "appTags", + BetaTestersGetCollectionFieldsApp.AssetLibrary => "assetLibrary", BetaTestersGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", BetaTestersGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaTestersGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaTestersGetCollectionFieldsApp value) "appStoreVersionExperimentsV2" => BetaTestersGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaTestersGetCollectionFieldsApp.AppStoreVersions, "appTags" => BetaTestersGetCollectionFieldsApp.AppTags, + "assetLibrary" => BetaTestersGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => BetaTestersGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaTestersGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaTestersGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersGetInstanceFieldsApp.g.cs index f3b9cd00e..020b59dc2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BetaTestersGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BetaTestersGetInstanceFieldsApp value) BetaTestersGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BetaTestersGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", BetaTestersGetInstanceFieldsApp.AppTags => "appTags", + BetaTestersGetInstanceFieldsApp.AssetLibrary => "assetLibrary", BetaTestersGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", BetaTestersGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BetaTestersGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BetaTestersGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => BetaTestersGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BetaTestersGetInstanceFieldsApp.AppStoreVersions, "appTags" => BetaTestersGetInstanceFieldsApp.AppTags, + "assetLibrary" => BetaTestersGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => BetaTestersGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => BetaTestersGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BetaTestersGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersResponse.g.cs index 115331f57..085acaddf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BetaTestersResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BetaTestersResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class BetaTestersResponse public BetaTestersResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildBetaDetailsBuildGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildBetaDetailsBuildGetToOneRelatedFieldsApp.g.cs index cf58e8213..db0f5a73e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildBetaDetailsBuildGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildBetaDetailsBuildGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BuildBetaDetailsBuildGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BuildBetaDetailsBuildGetToOneRelatedFiel BuildBetaDetailsBuildGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BuildBetaDetailsBuildGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", BuildBetaDetailsBuildGetToOneRelatedFieldsApp.AppTags => "appTags", + BuildBetaDetailsBuildGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", BuildBetaDetailsBuildGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", BuildBetaDetailsBuildGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BuildBetaDetailsBuildGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BuildBetaDetailsBuildGetToOneRelatedFiel "appStoreVersionExperimentsV2" => BuildBetaDetailsBuildGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BuildBetaDetailsBuildGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => BuildBetaDetailsBuildGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => BuildBetaDetailsBuildGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => BuildBetaDetailsBuildGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => BuildBetaDetailsBuildGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BuildBetaDetailsBuildGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildResponse.g.cs index 5602ab9be..57477b6a8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BuildResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class BuildResponse public BuildResponse( global::AppStoreConnect.Build data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildUploadResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildUploadResponse.g.cs index 6258fce39..5134ce188 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildUploadResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildUploadResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BuildUploadResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class BuildUploadResponse public BuildUploadResponse( global::AppStoreConnect.BuildUpload data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildUploadsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildUploadsResponse.g.cs index cd53ec6a7..a4354c6e7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildUploadsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildUploadsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BuildUploadsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class BuildUploadsResponse public BuildUploadsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppGetToOneRelatedFieldsApp.g.cs index 91842d7aa..43c13c641 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BuildsAppGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BuildsAppGetToOneRelatedFieldsApp value) BuildsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BuildsAppGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", BuildsAppGetToOneRelatedFieldsApp.AppTags => "appTags", + BuildsAppGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", BuildsAppGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", BuildsAppGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BuildsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BuildsAppGetToOneRelatedFieldsApp value) "appStoreVersionExperimentsV2" => BuildsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BuildsAppGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => BuildsAppGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => BuildsAppGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => BuildsAppGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => BuildsAppGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BuildsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppStoreVersionGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppStoreVersionGetToOneRelatedFieldsApp.g.cs index 6368becfb..0469e313a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppStoreVersionGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppStoreVersionGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BuildsAppStoreVersionGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BuildsAppStoreVersionGetToOneRelatedFiel BuildsAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BuildsAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", BuildsAppStoreVersionGetToOneRelatedFieldsApp.AppTags => "appTags", + BuildsAppStoreVersionGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", BuildsAppStoreVersionGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", BuildsAppStoreVersionGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BuildsAppStoreVersionGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BuildsAppStoreVersionGetToOneRelatedFiel "appStoreVersionExperimentsV2" => BuildsAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BuildsAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => BuildsAppStoreVersionGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => BuildsAppStoreVersionGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => BuildsAppStoreVersionGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => BuildsAppStoreVersionGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BuildsAppStoreVersionGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs index 4fc68ea91..2aed44bb5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalizatio /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this BuildsAppStoreVersionGetToOneRelatedFiel BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Locale => "locale", BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Placements => "placements", BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this BuildsAppStoreVersionGetToOneRelatedFiel "keywords" => BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => BuildsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsGetCollectionFieldsApp.g.cs index 8b3a699d6..e5e11a76b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BuildsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BuildsGetCollectionFieldsApp value) BuildsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BuildsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", BuildsGetCollectionFieldsApp.AppTags => "appTags", + BuildsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", BuildsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", BuildsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BuildsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BuildsGetCollectionFieldsApp value) "appStoreVersionExperimentsV2" => BuildsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BuildsGetCollectionFieldsApp.AppStoreVersions, "appTags" => BuildsGetCollectionFieldsApp.AppTags, + "assetLibrary" => BuildsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => BuildsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => BuildsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BuildsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsGetInstanceFieldsApp.g.cs index 8a1ddaaec..8c64ca261 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BuildsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BuildsGetInstanceFieldsApp value) BuildsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BuildsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", BuildsGetInstanceFieldsApp.AppTags => "appTags", + BuildsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", BuildsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", BuildsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BuildsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BuildsGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => BuildsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BuildsGetInstanceFieldsApp.AppStoreVersions, "appTags" => BuildsGetInstanceFieldsApp.AppTags, + "assetLibrary" => BuildsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => BuildsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => BuildsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BuildsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsResponse.g.cs index c339faca6..525ba2c58 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BuildsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BuildsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class BuildsResponse public BuildsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdResponse.g.cs index 009c19725..9c77e00a9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BundleIdResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class BundleIdResponse public BundleIdResponse( global::AppStoreConnect.BundleId data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsAppGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsAppGetToOneRelatedFieldsApp.g.cs index 6d6dd98a6..569cbf372 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsAppGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsAppGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BundleIdsAppGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BundleIdsAppGetToOneRelatedFieldsApp val BundleIdsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BundleIdsAppGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", BundleIdsAppGetToOneRelatedFieldsApp.AppTags => "appTags", + BundleIdsAppGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", BundleIdsAppGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", BundleIdsAppGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BundleIdsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BundleIdsAppGetToOneRelatedFieldsApp val "appStoreVersionExperimentsV2" => BundleIdsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BundleIdsAppGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => BundleIdsAppGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => BundleIdsAppGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => BundleIdsAppGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => BundleIdsAppGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BundleIdsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsGetCollectionFieldsApp.g.cs index f6284cc82..d4f69c760 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BundleIdsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BundleIdsGetCollectionFieldsApp value) BundleIdsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BundleIdsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", BundleIdsGetCollectionFieldsApp.AppTags => "appTags", + BundleIdsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", BundleIdsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", BundleIdsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BundleIdsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BundleIdsGetCollectionFieldsApp value) "appStoreVersionExperimentsV2" => BundleIdsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BundleIdsGetCollectionFieldsApp.AppStoreVersions, "appTags" => BundleIdsGetCollectionFieldsApp.AppTags, + "assetLibrary" => BundleIdsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => BundleIdsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => BundleIdsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BundleIdsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsGetInstanceFieldsApp.g.cs index d18ab60ea..72c5cb6e5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum BundleIdsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this BundleIdsGetInstanceFieldsApp value) BundleIdsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", BundleIdsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", BundleIdsGetInstanceFieldsApp.AppTags => "appTags", + BundleIdsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", BundleIdsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", BundleIdsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", BundleIdsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this BundleIdsGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => BundleIdsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => BundleIdsGetInstanceFieldsApp.AppStoreVersions, "appTags" => BundleIdsGetInstanceFieldsApp.AppTags, + "assetLibrary" => BundleIdsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => BundleIdsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => BundleIdsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => BundleIdsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsResponse.g.cs index 130d5568b..a67ec18b6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.BundleIdsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class BundleIdsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class BundleIdsResponse public BundleIdsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunResponse.g.cs index 4d63c201d..4b729d03e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class CiBuildRunResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class CiBuildRunResponse public CiBuildRunResponse( global::AppStoreConnect.CiBuildRun data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunsBuildsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunsBuildsGetToManyRelatedFieldsApp.g.cs index 8e072a33f..d87fa91fb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunsBuildsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunsBuildsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum CiBuildRunsBuildsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this CiBuildRunsBuildsGetToManyRelatedFieldsA CiBuildRunsBuildsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", CiBuildRunsBuildsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", CiBuildRunsBuildsGetToManyRelatedFieldsApp.AppTags => "appTags", + CiBuildRunsBuildsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", CiBuildRunsBuildsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", CiBuildRunsBuildsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", CiBuildRunsBuildsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this CiBuildRunsBuildsGetToManyRelatedFieldsA "appStoreVersionExperimentsV2" => CiBuildRunsBuildsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => CiBuildRunsBuildsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => CiBuildRunsBuildsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => CiBuildRunsBuildsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => CiBuildRunsBuildsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => CiBuildRunsBuildsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => CiBuildRunsBuildsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunsResponse.g.cs index d7a815070..61bc98262 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiBuildRunsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class CiBuildRunsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class CiBuildRunsResponse public CiBuildRunsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductResponse.g.cs index f4e6e04ec..b9b7eee8d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class CiProductResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class CiProductResponse public CiProductResponse( global::AppStoreConnect.CiProduct data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsAppGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsAppGetToOneRelatedFieldsApp.g.cs index 83f788a22..1b6aadde0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsAppGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsAppGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum CiProductsAppGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this CiProductsAppGetToOneRelatedFieldsApp va CiProductsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", CiProductsAppGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", CiProductsAppGetToOneRelatedFieldsApp.AppTags => "appTags", + CiProductsAppGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", CiProductsAppGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", CiProductsAppGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", CiProductsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this CiProductsAppGetToOneRelatedFieldsApp va "appStoreVersionExperimentsV2" => CiProductsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => CiProductsAppGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => CiProductsAppGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => CiProductsAppGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => CiProductsAppGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => CiProductsAppGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => CiProductsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsGetCollectionFieldsApp.g.cs index 5534365cf..cce5542b0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum CiProductsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this CiProductsGetCollectionFieldsApp value) CiProductsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", CiProductsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", CiProductsGetCollectionFieldsApp.AppTags => "appTags", + CiProductsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", CiProductsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", CiProductsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", CiProductsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this CiProductsGetCollectionFieldsApp value) "appStoreVersionExperimentsV2" => CiProductsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => CiProductsGetCollectionFieldsApp.AppStoreVersions, "appTags" => CiProductsGetCollectionFieldsApp.AppTags, + "assetLibrary" => CiProductsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => CiProductsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => CiProductsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => CiProductsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsGetInstanceFieldsApp.g.cs index 40c3be026..b815e9621 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum CiProductsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this CiProductsGetInstanceFieldsApp value) CiProductsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", CiProductsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", CiProductsGetInstanceFieldsApp.AppTags => "appTags", + CiProductsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", CiProductsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", CiProductsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", CiProductsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this CiProductsGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => CiProductsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => CiProductsGetInstanceFieldsApp.AppStoreVersions, "appTags" => CiProductsGetInstanceFieldsApp.AppTags, + "assetLibrary" => CiProductsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => CiProductsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => CiProductsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => CiProductsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsResponse.g.cs index e21794e83..1a9029ff3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiProductsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class CiProductsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class CiProductsResponse public CiProductsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiWorkflowResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiWorkflowResponse.g.cs index 52a58c171..534fc8196 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiWorkflowResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiWorkflowResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class CiWorkflowResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class CiWorkflowResponse public CiWorkflowResponse( global::AppStoreConnect.CiWorkflow data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiWorkflowsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiWorkflowsResponse.g.cs index 379cd22a0..e5b36a51e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiWorkflowsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CiWorkflowsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class CiWorkflowsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class CiWorkflowsResponse public CiWorkflowsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CustomerReviewResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CustomerReviewResponse.g.cs index 2188767b7..e7ad3afa0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CustomerReviewResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CustomerReviewResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class CustomerReviewResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class CustomerReviewResponse public CustomerReviewResponse( global::AppStoreConnect.CustomerReview data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CustomerReviewsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CustomerReviewsResponse.g.cs index adc12396c..cc0e9194f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CustomerReviewsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.CustomerReviewsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class CustomerReviewsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class CustomerReviewsResponse public CustomerReviewsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.EndUserLicenseAgreementResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.EndUserLicenseAgreementResponse.g.cs index 344f9f769..0f9cf296b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.EndUserLicenseAgreementResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.EndUserLicenseAgreementResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class EndUserLicenseAgreementResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class EndUserLicenseAgreementResponse public EndUserLicenseAgreementResponse( global::AppStoreConnect.EndUserLicenseAgreement data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.EndUserLicenseAgreementsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.EndUserLicenseAgreementsGetInstanceFieldsApp.g.cs index 06a38f801..be28af7a0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.EndUserLicenseAgreementsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.EndUserLicenseAgreementsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum EndUserLicenseAgreementsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this EndUserLicenseAgreementsGetInstanceField EndUserLicenseAgreementsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", EndUserLicenseAgreementsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", EndUserLicenseAgreementsGetInstanceFieldsApp.AppTags => "appTags", + EndUserLicenseAgreementsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", EndUserLicenseAgreementsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", EndUserLicenseAgreementsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", EndUserLicenseAgreementsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this EndUserLicenseAgreementsGetInstanceField "appStoreVersionExperimentsV2" => EndUserLicenseAgreementsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => EndUserLicenseAgreementsGetInstanceFieldsApp.AppStoreVersions, "appTags" => EndUserLicenseAgreementsGetInstanceFieldsApp.AppTags, + "assetLibrary" => EndUserLicenseAgreementsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => EndUserLicenseAgreementsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => EndUserLicenseAgreementsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => EndUserLicenseAgreementsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationResponse.g.cs index dbf4176bd..a913c9855 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterAchievementLocalizationResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class GameCenterAchievementLocalizationResponse public GameCenterAchievementLocalizationResponse( global::AppStoreConnect.GameCenterAchievementLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationV2Response.g.cs index 85eb7cfb4..2d3a3e2df 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterAchievementLocalizationV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterAchievementLocalizationV2Response public GameCenterAchievementLocalizationV2Response( global::AppStoreConnect.GameCenterAchievementLocalizationV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationsResponse.g.cs index 4072b4efe..67f866a09 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationsResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterAchievementLocalizationsResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterAchievementLocalizationsResponse public GameCenterAchievementLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationsV2Response.g.cs index 9db035674..c1c6ceb9e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementLocalizationsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterAchievementLocalizationsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterAchievementLocalizationsV2Response public GameCenterAchievementLocalizationsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementReleaseResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementReleaseResponse.g.cs index 16d31c701..40ad23baa 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementReleaseResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementReleaseResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterAchievementReleaseResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class GameCenterAchievementReleaseResponse public GameCenterAchievementReleaseResponse( global::AppStoreConnect.GameCenterAchievementRelease data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementReleasesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementReleasesResponse.g.cs index 3eb50ad38..4c270fec0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementReleasesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementReleasesResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterAchievementReleasesResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterAchievementReleasesResponse public GameCenterAchievementReleasesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementResponse.g.cs index 1dcb56cce..be140b94a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterAchievementResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class GameCenterAchievementResponse public GameCenterAchievementResponse( global::AppStoreConnect.GameCenterAchievement data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementV2Response.g.cs index b3a0ac4f5..1796e9ace 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterAchievementV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterAchievementV2Response public GameCenterAchievementV2Response( global::AppStoreConnect.GameCenterAchievementV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementVersionV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementVersionV2Response.g.cs index 6d923417e..648c26db7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementVersionV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementVersionV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterAchievementVersionV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterAchievementVersionV2Response public GameCenterAchievementVersionV2Response( global::AppStoreConnect.GameCenterAchievementVersionV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementVersionsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementVersionsV2Response.g.cs index 4260b1b73..a88bb4945 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementVersionsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementVersionsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterAchievementVersionsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterAchievementVersionsV2Response public GameCenterAchievementVersionsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementsResponse.g.cs index 314a9c5d8..7c892dc33 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementsResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterAchievementsResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterAchievementsResponse public GameCenterAchievementsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementsV2Response.g.cs index 86f29b2cf..f59155836 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAchievementsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterAchievementsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterAchievementsV2Response public GameCenterAchievementsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivitiesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivitiesResponse.g.cs index abb68e534..e3e710ae8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivitiesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivitiesResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterActivitiesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class GameCenterActivitiesResponse public GameCenterActivitiesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityLocalizationResponse.g.cs index 981d8af14..93f695571 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityLocalizationResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterActivityLocalizationResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterActivityLocalizationResponse public GameCenterActivityLocalizationResponse( global::AppStoreConnect.GameCenterActivityLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityLocalizationsResponse.g.cs index a01ea7452..2124f6fa7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityLocalizationsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterActivityLocalizationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterActivityLocalizationsResponse public GameCenterActivityLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityResponse.g.cs index 35c414579..4bb7d5d1c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterActivityResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class GameCenterActivityResponse public GameCenterActivityResponse( global::AppStoreConnect.GameCenterActivity data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityVersionResponse.g.cs index aa578376e..411b9b28f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityVersionResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterActivityVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class GameCenterActivityVersionResponse public GameCenterActivityVersionResponse( global::AppStoreConnect.GameCenterActivityVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityVersionsResponse.g.cs index c8baaa0f8..198ac1bbc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterActivityVersionsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterActivityVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class GameCenterActivityVersionsResponse public GameCenterActivityVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionResponse.g.cs index 16f1df725..b9ff2ad61 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterAppVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterAppVersionResponse public GameCenterAppVersionResponse( global::AppStoreConnect.GameCenterAppVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.g.cs index c41fa0073..842ed7e22 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this GameCenterAppVersionsAppStoreVersionGetT GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.AppTags => "appTags", + GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this GameCenterAppVersionsAppStoreVersionGetT "appStoreVersionExperimentsV2" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs index c5039d612..3aa12db36 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.g.cs @@ -39,6 +39,10 @@ public enum GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVer /// /// /// + Placements, + /// + /// + /// PromotionalText, /// /// @@ -73,6 +77,7 @@ public static string ToValueString(this GameCenterAppVersionsAppStoreVersionGetT GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Keywords => "keywords", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Locale => "locale", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.MarketingUrl => "marketingUrl", + GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Placements => "placements", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.PromotionalText => "promotionalText", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SearchKeywords => "searchKeywords", GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SupportUrl => "supportUrl", @@ -94,6 +99,7 @@ public static string ToValueString(this GameCenterAppVersionsAppStoreVersionGetT "keywords" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Keywords, "locale" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Locale, "marketingUrl" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.MarketingUrl, + "placements" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.Placements, "promotionalText" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.PromotionalText, "searchKeywords" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SearchKeywords, "supportUrl" => GameCenterAppVersionsAppStoreVersionGetToOneRelatedFieldsAppStoreVersionLocalization.SupportUrl, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsResponse.g.cs index 395b9137a..632449256 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterAppVersionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterAppVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterAppVersionsResponse public GameCenterAppVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeLocalizationResponse.g.cs index 2df762854..86ef48f7a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeLocalizationResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterChallengeLocalizationResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterChallengeLocalizationResponse public GameCenterChallengeLocalizationResponse( global::AppStoreConnect.GameCenterChallengeLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeLocalizationsResponse.g.cs index 20a799b1f..c4d4e71a8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeLocalizationsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterChallengeLocalizationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterChallengeLocalizationsResponse public GameCenterChallengeLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeResponse.g.cs index 3ecca823a..feba0f6a5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterChallengeResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class GameCenterChallengeResponse public GameCenterChallengeResponse( global::AppStoreConnect.GameCenterChallenge data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeVersionResponse.g.cs index d7eef992f..8f8a8eb1c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeVersionResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterChallengeVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class GameCenterChallengeVersionResponse public GameCenterChallengeVersionResponse( global::AppStoreConnect.GameCenterChallengeVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeVersionsResponse.g.cs index fb57aa618..8584dd97e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengeVersionsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterChallengeVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class GameCenterChallengeVersionsResponse public GameCenterChallengeVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengesResponse.g.cs index 247c659fb..7c51c3049 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterChallengesResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterChallengesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class GameCenterChallengesResponse public GameCenterChallengesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailResponse.g.cs index fcb6da61b..9fcbfc4fd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterDetailResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class GameCenterDetailResponse public GameCenterDetailResponse( global::AppStoreConnect.GameCenterDetail data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailsGetInstanceFieldsApp.g.cs index 53c2734a8..eaaedfd5e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum GameCenterDetailsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this GameCenterDetailsGetInstanceFieldsApp va GameCenterDetailsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", GameCenterDetailsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", GameCenterDetailsGetInstanceFieldsApp.AppTags => "appTags", + GameCenterDetailsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", GameCenterDetailsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", GameCenterDetailsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", GameCenterDetailsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this GameCenterDetailsGetInstanceFieldsApp va "appStoreVersionExperimentsV2" => GameCenterDetailsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => GameCenterDetailsGetInstanceFieldsApp.AppStoreVersions, "appTags" => GameCenterDetailsGetInstanceFieldsApp.AppTags, + "assetLibrary" => GameCenterDetailsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => GameCenterDetailsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => GameCenterDetailsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => GameCenterDetailsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailsResponse.g.cs index 07baf8b2a..f841cb795 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterDetailsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterDetailsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class GameCenterDetailsResponse public GameCenterDetailsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.g.cs index 05504b934..713d3e8ee 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this GameCenterEnabledVersionsCompatibleVersi GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.AppTags => "appTags", + GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this GameCenterEnabledVersionsCompatibleVersi "appStoreVersionExperimentsV2" => GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => GameCenterEnabledVersionsCompatibleVersionsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterEnabledVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterEnabledVersionsResponse.g.cs index 4df07639a..a477e2d69 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterEnabledVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterEnabledVersionsResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterEnabledVersionsResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterEnabledVersionsResponse public GameCenterEnabledVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupResponse.g.cs index 1efaa6d2d..67b9cca3b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterGroupResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class GameCenterGroupResponse public GameCenterGroupResponse( global::AppStoreConnect.GameCenterGroup data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.g.cs index 82e6a91b8..7568f6b26 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this GameCenterGroupsGameCenterDetailsGetToMa GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.AppTags => "appTags", + GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this GameCenterGroupsGameCenterDetailsGetToMa "appStoreVersionExperimentsV2" => GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => GameCenterGroupsGameCenterDetailsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupsResponse.g.cs index f812f8c07..4f662c613 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterGroupsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterGroupsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class GameCenterGroupsResponse public GameCenterGroupsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationResponse.g.cs index 7992ef647..d98db1a08 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardLocalizationResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class GameCenterLeaderboardLocalizationResponse public GameCenterLeaderboardLocalizationResponse( global::AppStoreConnect.GameCenterLeaderboardLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationV2Response.g.cs index f8b91a993..22fdc47d1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardLocalizationV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterLeaderboardLocalizationV2Response public GameCenterLeaderboardLocalizationV2Response( global::AppStoreConnect.GameCenterLeaderboardLocalizationV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationsResponse.g.cs index c9343bceb..a316b8f1a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationsResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardLocalizationsResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterLeaderboardLocalizationsResponse public GameCenterLeaderboardLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationsV2Response.g.cs index c1391a09d..62b5a537e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardLocalizationsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardLocalizationsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterLeaderboardLocalizationsV2Response public GameCenterLeaderboardLocalizationsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardReleaseResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardReleaseResponse.g.cs index f28392cea..8f50467c3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardReleaseResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardReleaseResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardReleaseResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class GameCenterLeaderboardReleaseResponse public GameCenterLeaderboardReleaseResponse( global::AppStoreConnect.GameCenterLeaderboardRelease data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardReleasesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardReleasesResponse.g.cs index 8a8587bf9..4ac0e4ba3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardReleasesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardReleasesResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardReleasesResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterLeaderboardReleasesResponse public GameCenterLeaderboardReleasesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardResponse.g.cs index 6afb8bb6d..991124c88 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class GameCenterLeaderboardResponse public GameCenterLeaderboardResponse( global::AppStoreConnect.GameCenterLeaderboard data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationResponse.g.cs index cce8c7047..44b666494 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardSetLocalizationResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class GameCenterLeaderboardSetLocalizationResponse public GameCenterLeaderboardSetLocalizationResponse( global::AppStoreConnect.GameCenterLeaderboardSetLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationV2Response.g.cs index 8907e599c..1ebb4ede9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardSetLocalizationV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterLeaderboardSetLocalizationV2Response public GameCenterLeaderboardSetLocalizationV2Response( global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationsResponse.g.cs index b6021d26f..6496285f1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationsResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardSetLocalizationsResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterLeaderboardSetLocalizationsResponse public GameCenterLeaderboardSetLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationsV2Response.g.cs index 1d530252a..693459af6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetLocalizationsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardSetLocalizationsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterLeaderboardSetLocalizationsV2Response public GameCenterLeaderboardSetLocalizationsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetMemberLocalizationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetMemberLocalizationResponse.g.cs index b8e626576..10d2534fa 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetMemberLocalizationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetMemberLocalizationResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterLeaderboardSetMemberLocalizationResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class GameCenterLeaderboardSetMemberLocalizationResponse public GameCenterLeaderboardSetMemberLocalizationResponse( global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalization data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetMemberLocalizationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetMemberLocalizationsResponse.g.cs index f4bcfd0df..70fb20f83 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetMemberLocalizationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetMemberLocalizationsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class GameCenterLeaderboardSetMemberLocalizationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class GameCenterLeaderboardSetMemberLocalizationsResponse public GameCenterLeaderboardSetMemberLocalizationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetReleaseResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetReleaseResponse.g.cs index f07eb380c..2b1901f7c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetReleaseResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetReleaseResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardSetReleaseResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class GameCenterLeaderboardSetReleaseResponse public GameCenterLeaderboardSetReleaseResponse( global::AppStoreConnect.GameCenterLeaderboardSetRelease data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetReleasesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetReleasesResponse.g.cs index 6f8473295..44d1e23e8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetReleasesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetReleasesResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardSetReleasesResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterLeaderboardSetReleasesResponse public GameCenterLeaderboardSetReleasesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetResponse.g.cs index 52a5de0f8..34a53b483 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardSetResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class GameCenterLeaderboardSetResponse public GameCenterLeaderboardSetResponse( global::AppStoreConnect.GameCenterLeaderboardSet data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetV2Response.g.cs index 657c7db3b..11d770130 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardSetV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterLeaderboardSetV2Response public GameCenterLeaderboardSetV2Response( global::AppStoreConnect.GameCenterLeaderboardSetV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetVersionV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetVersionV2Response.g.cs index 98fc36cdc..b9b4dbdc8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetVersionV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetVersionV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardSetVersionV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterLeaderboardSetVersionV2Response public GameCenterLeaderboardSetVersionV2Response( global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetVersionsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetVersionsV2Response.g.cs index 25d65ccaf..8c7de8287 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetVersionsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetVersionsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardSetVersionsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterLeaderboardSetVersionsV2Response public GameCenterLeaderboardSetVersionsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetsResponse.g.cs index 1e49d6c9f..7460ff5dd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetsResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardSetsResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterLeaderboardSetsResponse public GameCenterLeaderboardSetsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetsV2Response.g.cs index 1677e57d6..7cf1ca29f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardSetsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardSetsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterLeaderboardSetsV2Response public GameCenterLeaderboardSetsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardV2Response.g.cs index 43b49e3bb..f13657876 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterLeaderboardV2Response public GameCenterLeaderboardV2Response( global::AppStoreConnect.GameCenterLeaderboardV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardVersionV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardVersionV2Response.g.cs index ef9235fc5..8584d0bd2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardVersionV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardVersionV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardVersionV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterLeaderboardVersionV2Response public GameCenterLeaderboardVersionV2Response( global::AppStoreConnect.GameCenterLeaderboardVersionV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardVersionsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardVersionsV2Response.g.cs index c9ea2e1a0..cc38598bf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardVersionsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardVersionsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardVersionsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterLeaderboardVersionsV2Response public GameCenterLeaderboardVersionsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardsResponse.g.cs index e4737da92..f076767fb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardsResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class GameCenterLeaderboardsResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class GameCenterLeaderboardsResponse public GameCenterLeaderboardsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardsV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardsV2Response.g.cs index cd0ef93f8..1b5af5499 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardsV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterLeaderboardsV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterLeaderboardsV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterLeaderboardsV2Response public GameCenterLeaderboardsV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetResponse.g.cs index 269fb7e91..b65dd093d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterMatchmakingRuleSetResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterMatchmakingRuleSetResponse public GameCenterMatchmakingRuleSetResponse( global::AppStoreConnect.GameCenterMatchmakingRuleSet data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetTestResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetTestResponse.g.cs index b7033dd81..b4ace6944 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetTestResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetTestResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterMatchmakingRuleSetTestResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class GameCenterMatchmakingRuleSetTestResponse public GameCenterMatchmakingRuleSetTestResponse( global::AppStoreConnect.GameCenterMatchmakingRuleSetTest data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetsResponse.g.cs index 031117d6b..6cdfd45aa 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.GameCenterMatchmakingRuleSetsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GameCenterMatchmakingRuleSetsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class GameCenterMatchmakingRuleSetsResponse public GameCenterMatchmakingRuleSetsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferCodeResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferCodeResponse.g.cs index b3e6a32bc..370222834 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferCodeResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferCodeResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class InAppPurchaseOfferCodeResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class InAppPurchaseOfferCodeResponse public InAppPurchaseOfferCodeResponse( global::AppStoreConnect.InAppPurchaseOfferCode data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferCodesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferCodesResponse.g.cs index 3e6c8a04f..6cda4496b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferCodesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferCodesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class InAppPurchaseOfferCodesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class InAppPurchaseOfferCodesResponse public InAppPurchaseOfferCodesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferPricesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferPricesResponse.g.cs index 86523bd91..9fdceb9e5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferPricesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseOfferPricesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class InAppPurchaseOfferPricesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class InAppPurchaseOfferPricesResponse public InAppPurchaseOfferPricesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasePriceScheduleResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasePriceScheduleResponse.g.cs index d98d8fa35..addbd408f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasePriceScheduleResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasePriceScheduleResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class InAppPurchasePriceScheduleResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class InAppPurchasePriceScheduleResponse public InAppPurchasePriceScheduleResponse( global::AppStoreConnect.InAppPurchasePriceSchedule data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasePricesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasePricesResponse.g.cs index 49e765508..f994607c7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasePricesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasePricesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class InAppPurchasePricesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class InAppPurchasePricesResponse public InAppPurchasePricesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseV2Response.g.cs index d22394db2..fe3e82d56 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class InAppPurchaseV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class InAppPurchaseV2Response public InAppPurchaseV2Response( global::AppStoreConnect.InAppPurchaseV2 data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseVersionResponse.g.cs index 77320e3a0..7b0b1bf90 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseVersionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class InAppPurchaseVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class InAppPurchaseVersionResponse public InAppPurchaseVersionResponse( global::AppStoreConnect.InAppPurchaseVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseVersionsResponse.g.cs index 5c205e9f0..e9571e05f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchaseVersionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class InAppPurchaseVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class InAppPurchaseVersionsResponse public InAppPurchaseVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasesGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasesGetInstanceFieldsApp.g.cs index 2cbe3328d..94c93a05f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasesGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasesGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum InAppPurchasesGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this InAppPurchasesGetInstanceFieldsApp value InAppPurchasesGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", InAppPurchasesGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", InAppPurchasesGetInstanceFieldsApp.AppTags => "appTags", + InAppPurchasesGetInstanceFieldsApp.AssetLibrary => "assetLibrary", InAppPurchasesGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", InAppPurchasesGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", InAppPurchasesGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this InAppPurchasesGetInstanceFieldsApp value "appStoreVersionExperimentsV2" => InAppPurchasesGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => InAppPurchasesGetInstanceFieldsApp.AppStoreVersions, "appTags" => InAppPurchasesGetInstanceFieldsApp.AppTags, + "assetLibrary" => InAppPurchasesGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => InAppPurchasesGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => InAppPurchasesGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => InAppPurchasesGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasesV2Response.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasesV2Response.g.cs index 433db070e..4701446a1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasesV2Response.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.InAppPurchasesV2Response.g.cs @@ -19,7 +19,7 @@ public sealed partial class InAppPurchasesV2Response /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class InAppPurchasesV2Response public InAppPurchasesV2Response( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem10.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem10.g.cs index 1e5dded24..92417d318 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem10.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem10.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; init; } + public global::AppStoreConnect.AppClipAppStoreReviewDetail? AppClipAppStoreReviewDetails { get; init; } #else - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; } + public global::AppStoreConnect.AppClipAppStoreReviewDetail? AppClipAppStoreReviewDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAppStoreReviewDetails))] #endif - public bool IsAppClipDefaultExperiences1 => AppClipDefaultExperiences1 != null; + public bool IsAppClipAppStoreReviewDetails => AppClipAppStoreReviewDetails != null; /// /// /// - public bool TryPickAppClipDefaultExperiences1( + public bool TryPickAppClipAppStoreReviewDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipDefaultExperience? value) + out global::AppStoreConnect.AppClipAppStoreReviewDetail? value) { - value = AppClipDefaultExperiences1; - return IsAppClipDefaultExperiences1; + value = AppClipAppStoreReviewDetails; + return IsAppClipAppStoreReviewDetails; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences1() => AppClipDefaultExperiences1 is { } value + public global::AppStoreConnect.AppClipAppStoreReviewDetail PickAppClipAppStoreReviewDetails() => AppClipAppStoreReviewDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAppStoreReviewDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; init; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalization? AppClipDefaultExperienceLocalizations1 { get; init; } #else - public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalization? AppClipDefaultExperienceLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperienceLocalizations1))] #endif - public bool IsAppClipDefaultExperiences2 => AppClipDefaultExperiences2 != null; + public bool IsAppClipDefaultExperienceLocalizations1 => AppClipDefaultExperienceLocalizations1 != null; /// /// /// - public bool TryPickAppClipDefaultExperiences2( + public bool TryPickAppClipDefaultExperienceLocalizations1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) { - value = AppClipDefaultExperiences2; - return IsAppClipDefaultExperiences2; + value = AppClipDefaultExperienceLocalizations1; + return IsAppClipDefaultExperienceLocalizations1; } /// /// /// - public global::AppStoreConnect.App PickAppClipDefaultExperiences2() => AppClipDefaultExperiences2 is { } value + public global::AppStoreConnect.AppClipDefaultExperienceLocalization PickAppClipDefaultExperienceLocalizations1() => AppClipDefaultExperienceLocalizations1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperienceLocalizations1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppClip? AppClipDefaultExperienceLocalizations2 { get; init; } +#else + public global::AppStoreConnect.AppClip? AppClipDefaultExperienceLocalizations2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperienceLocalizations2))] +#endif + public bool IsAppClipDefaultExperienceLocalizations2 => AppClipDefaultExperienceLocalizations2 != null; + + /// + /// + /// + public bool TryPickAppClipDefaultExperienceLocalizations2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppClip? value) + { + value = AppClipDefaultExperienceLocalizations2; + return IsAppClipDefaultExperienceLocalizations2; + } + + /// + /// + /// + public global::AppStoreConnect.AppClip PickAppClipDefaultExperienceLocalizations2() => AppClipDefaultExperienceLocalizations2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperienceLocalizations2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } +#else + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] +#endif + public bool IsAppStoreVersions => AppStoreVersions != null; + + /// + /// + /// + public bool TryPickAppStoreVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersion? value) + { + value = AppStoreVersions; + return IsAppStoreVersions; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem10(global::AppStoreConnect.AppClipAppStoreReviewDetail value) => new IncludedItem10((global::AppStoreConnect.AppClipAppStoreReviewDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClipAppStoreReviewDetail?(IncludedItem10 @this) => @this.AppClipAppStoreReviewDetails; + + /// + /// + /// + public IncludedItem10(global::AppStoreConnect.AppClipAppStoreReviewDetail? value) + { + AppClipAppStoreReviewDetails = value; + } + + /// + /// + /// + public static IncludedItem10 FromAppClipAppStoreReviewDetails(global::AppStoreConnect.AppClipAppStoreReviewDetail? value) => new IncludedItem10(value); + + /// + /// + /// + public static implicit operator IncludedItem10(global::AppStoreConnect.AppClipDefaultExperienceLocalization value) => new IncludedItem10((global::AppStoreConnect.AppClipDefaultExperienceLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClipDefaultExperienceLocalization?(IncludedItem10 @this) => @this.AppClipDefaultExperienceLocalizations1; + /// /// /// - public static implicit operator IncludedItem10(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem10((global::AppStoreConnect.AppClipDefaultExperience?)value); + public IncludedItem10(global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) + { + AppClipDefaultExperienceLocalizations1 = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem10 @this) => @this.AppClipDefaultExperiences1; + public static IncludedItem10 FromAppClipDefaultExperienceLocalizations1(global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) => new IncludedItem10(value); /// /// /// - public IncludedItem10(global::AppStoreConnect.AppClipDefaultExperience? value) + public static implicit operator IncludedItem10(global::AppStoreConnect.AppClip value) => new IncludedItem10((global::AppStoreConnect.AppClip?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem10 @this) => @this.AppClipDefaultExperienceLocalizations2; + + /// + /// + /// + public IncludedItem10(global::AppStoreConnect.AppClip? value) { - AppClipDefaultExperiences1 = value; + AppClipDefaultExperienceLocalizations2 = value; } /// /// /// - public static IncludedItem10 FromAppClipDefaultExperiences1(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem10(value); + public static IncludedItem10 FromAppClipDefaultExperienceLocalizations2(global::AppStoreConnect.AppClip? value) => new IncludedItem10(value); /// /// /// - public static implicit operator IncludedItem10(global::AppStoreConnect.App value) => new IncludedItem10((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem10(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem10((global::AppStoreConnect.AppStoreVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem10 @this) => @this.AppClipDefaultExperiences2; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem10 @this) => @this.AppStoreVersions; /// /// /// - public IncludedItem10(global::AppStoreConnect.App? value) + public IncludedItem10(global::AppStoreConnect.AppStoreVersion? value) { - AppClipDefaultExperiences2 = value; + AppStoreVersions = value; } /// /// /// - public static IncludedItem10 FromAppClipDefaultExperiences2(global::AppStoreConnect.App? value) => new IncludedItem10(value); + public static IncludedItem10 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem10(value); /// /// /// public IncludedItem10( - global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1, - global::AppStoreConnect.App? appClipDefaultExperiences2 + global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppClipAppStoreReviewDetail? appClipAppStoreReviewDetails, + global::AppStoreConnect.AppClipDefaultExperienceLocalization? appClipDefaultExperienceLocalizations1, + global::AppStoreConnect.AppClip? appClipDefaultExperienceLocalizations2, + global::AppStoreConnect.AppStoreVersion? appStoreVersions ) { Type = type; - AppClipDefaultExperiences1 = appClipDefaultExperiences1; - AppClipDefaultExperiences2 = appClipDefaultExperiences2; + AppClipAppStoreReviewDetails = appClipAppStoreReviewDetails; + AppClipDefaultExperienceLocalizations1 = appClipDefaultExperienceLocalizations1; + AppClipDefaultExperienceLocalizations2 = appClipDefaultExperienceLocalizations2; + AppStoreVersions = appStoreVersions; } /// /// /// public object? Object => - AppClipDefaultExperiences2 as object ?? - AppClipDefaultExperiences1 as object + AppStoreVersions as object ?? + AppClipDefaultExperienceLocalizations2 as object ?? + AppClipDefaultExperienceLocalizations1 as object ?? + AppClipAppStoreReviewDetails as object ; /// /// /// public override string? ToString() => - AppClipDefaultExperiences1?.ToString() ?? - AppClipDefaultExperiences2?.ToString() + AppClipAppStoreReviewDetails?.ToString() ?? + AppClipDefaultExperienceLocalizations1?.ToString() ?? + AppClipDefaultExperienceLocalizations2?.ToString() ?? + AppStoreVersions?.ToString() ; /// @@ -169,15 +297,17 @@ AppClipDefaultExperiences1 as object /// public bool Validate() { - return IsAppClipDefaultExperiences1 && !IsAppClipDefaultExperiences2 || !IsAppClipDefaultExperiences1 && IsAppClipDefaultExperiences2; + return IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && IsAppStoreVersions; } /// /// /// public TResult? Match( - global::System.Func? appClipDefaultExperiences1 = null, - global::System.Func? appClipDefaultExperiences2 = null, + global::System.Func? appClipAppStoreReviewDetails = null, + global::System.Func? appClipDefaultExperienceLocalizations1 = null, + global::System.Func? appClipDefaultExperienceLocalizations2 = null, + global::System.Func? appStoreVersions = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (AppClipDefaultExperiences1 is { } __value0 && appClipDefaultExperiences1 != null) + if (AppClipAppStoreReviewDetails is { } __value0 && appClipAppStoreReviewDetails != null) + { + return appClipAppStoreReviewDetails(__value0); + } + else if (AppClipDefaultExperienceLocalizations1 is { } __value1 && appClipDefaultExperienceLocalizations1 != null) + { + return appClipDefaultExperienceLocalizations1(__value1); + } + else if (AppClipDefaultExperienceLocalizations2 is { } __value2 && appClipDefaultExperienceLocalizations2 != null) { - return appClipDefaultExperiences1(__value0); + return appClipDefaultExperienceLocalizations2(__value2); } - else if (AppClipDefaultExperiences2 is { } __value1 && appClipDefaultExperiences2 != null) + else if (AppStoreVersions is { } __value3 && appStoreVersions != null) { - return appClipDefaultExperiences2(__value1); + return appStoreVersions(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appClipDefaultExperiences1 = null, + global::System.Action? appClipAppStoreReviewDetails = null, + + global::System.Action? appClipDefaultExperienceLocalizations1 = null, - global::System.Action? appClipDefaultExperiences2 = null, + global::System.Action? appClipDefaultExperienceLocalizations2 = null, + + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (AppClipDefaultExperiences1 is { } __value0) + if (AppClipAppStoreReviewDetails is { } __value0) + { + appClipAppStoreReviewDetails?.Invoke(__value0); + } + else if (AppClipDefaultExperienceLocalizations1 is { } __value1) { - appClipDefaultExperiences1?.Invoke(__value0); + appClipDefaultExperienceLocalizations1?.Invoke(__value1); } - else if (AppClipDefaultExperiences2 is { } __value1) + else if (AppClipDefaultExperienceLocalizations2 is { } __value2) { - appClipDefaultExperiences2?.Invoke(__value1); + appClipDefaultExperienceLocalizations2?.Invoke(__value2); + } + else if (AppStoreVersions is { } __value3) + { + appStoreVersions?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appClipDefaultExperiences1 = null, - global::System.Action? appClipDefaultExperiences2 = null, + global::System.Action? appClipAppStoreReviewDetails = null, + global::System.Action? appClipDefaultExperienceLocalizations1 = null, + global::System.Action? appClipDefaultExperienceLocalizations2 = null, + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (AppClipDefaultExperiences1 is { } __value0) + if (AppClipAppStoreReviewDetails is { } __value0) + { + appClipAppStoreReviewDetails?.Invoke(__value0); + } + else if (AppClipDefaultExperienceLocalizations1 is { } __value1) + { + appClipDefaultExperienceLocalizations1?.Invoke(__value1); + } + else if (AppClipDefaultExperienceLocalizations2 is { } __value2) { - appClipDefaultExperiences1?.Invoke(__value0); + appClipDefaultExperienceLocalizations2?.Invoke(__value2); } - else if (AppClipDefaultExperiences2 is { } __value1) + else if (AppStoreVersions is { } __value3) { - appClipDefaultExperiences2?.Invoke(__value1); + appStoreVersions?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppClipDefaultExperiences1, - typeof(global::AppStoreConnect.AppClipDefaultExperience), - AppClipDefaultExperiences2, - typeof(global::AppStoreConnect.App), + AppClipAppStoreReviewDetails, + typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), + AppClipDefaultExperienceLocalizations1, + typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), + AppClipDefaultExperienceLocalizations2, + typeof(global::AppStoreConnect.AppClip), + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem10 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences1, other.AppClipDefaultExperiences1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences2, other.AppClipDefaultExperiences2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAppStoreReviewDetails, other.AppClipAppStoreReviewDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperienceLocalizations1, other.AppClipDefaultExperienceLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperienceLocalizations2, other.AppClipDefaultExperienceLocalizations2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem100.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem100.g.cs index 03ce93aea..6b3a6215f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem100.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem100.g.cs @@ -12,284 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } + public global::AppStoreConnect.GameCenterChallengeImage? GameCenterChallengeImages { get; init; } #else - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } + public global::AppStoreConnect.GameCenterChallengeImage? GameCenterChallengeImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeImages))] #endif - public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; + public bool IsGameCenterChallengeImages => GameCenterChallengeImages != null; /// /// /// - public bool TryPickGameCenterChallengeVersions( + public bool TryPickGameCenterChallengeImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterChallengeVersion? value) + out global::AppStoreConnect.GameCenterChallengeImage? value) { - value = GameCenterChallengeVersions; - return IsGameCenterChallengeVersions; + value = GameCenterChallengeImages; + return IsGameCenterChallengeImages; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value + public global::AppStoreConnect.GameCenterChallengeImage PickGameCenterChallengeImages() => GameCenterChallengeImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterChallengeLocalization? GameCenterChallengeLocalizations1 { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterChallengeLocalization? GameCenterChallengeLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeLocalizations1))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterChallengeLocalizations1 => GameCenterChallengeLocalizations1 != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterChallengeLocalizations1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterChallengeLocalization? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterChallengeLocalizations1; + return IsGameCenterChallengeLocalizations1; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterChallengeLocalization PickGameCenterChallengeLocalizations1() => GameCenterChallengeLocalizations1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeLocalizations1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } + public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases { get; init; } #else - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } + public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases))] #endif - public bool IsGameCenterGroups => GameCenterGroups != null; + public bool IsGameCenterChallengeVersionReleases => GameCenterChallengeVersionReleases != null; /// /// /// - public bool TryPickGameCenterGroups( + public bool TryPickGameCenterChallengeVersionReleases( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterGroup? value) + out global::AppStoreConnect.GameCenterChallengeVersionRelease? value) { - value = GameCenterGroups; - return IsGameCenterGroups; + value = GameCenterChallengeVersionReleases; + return IsGameCenterChallengeVersionReleases; } /// /// /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + public global::AppStoreConnect.GameCenterChallengeVersionRelease PickGameCenterChallengeVersionReleases() => GameCenterChallengeVersionReleases is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeLocalizations2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeLocalizations2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeLocalizations2))] #endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + public bool IsGameCenterChallengeLocalizations2 => GameCenterChallengeLocalizations2 != null; /// /// /// - public bool TryPickGameCenterLeaderboards( + public bool TryPickGameCenterChallengeLocalizations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + out global::AppStoreConnect.GameCenterChallenge? value) { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; + value = GameCenterChallengeLocalizations2; + return IsGameCenterChallengeLocalizations2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value + public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallengeLocalizations2() => GameCenterChallengeLocalizations2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeLocalizations2' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem100(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem100((global::AppStoreConnect.GameCenterChallengeVersion?)value); + public static implicit operator IncludedItem100(global::AppStoreConnect.GameCenterChallengeImage value) => new IncludedItem100((global::AppStoreConnect.GameCenterChallengeImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem100 @this) => @this.GameCenterChallengeVersions; + public static implicit operator global::AppStoreConnect.GameCenterChallengeImage?(IncludedItem100 @this) => @this.GameCenterChallengeImages; /// /// /// - public IncludedItem100(global::AppStoreConnect.GameCenterChallengeVersion? value) + public IncludedItem100(global::AppStoreConnect.GameCenterChallengeImage? value) { - GameCenterChallengeVersions = value; + GameCenterChallengeImages = value; } /// /// /// - public static IncludedItem100 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem100(value); + public static IncludedItem100 FromGameCenterChallengeImages(global::AppStoreConnect.GameCenterChallengeImage? value) => new IncludedItem100(value); /// /// /// - public static implicit operator IncludedItem100(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem100((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem100(global::AppStoreConnect.GameCenterChallengeLocalization value) => new IncludedItem100((global::AppStoreConnect.GameCenterChallengeLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem100 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterChallengeLocalization?(IncludedItem100 @this) => @this.GameCenterChallengeLocalizations1; /// /// /// - public IncludedItem100(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem100(global::AppStoreConnect.GameCenterChallengeLocalization? value) { - GameCenterDetails = value; + GameCenterChallengeLocalizations1 = value; } /// /// /// - public static IncludedItem100 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem100(value); + public static IncludedItem100 FromGameCenterChallengeLocalizations1(global::AppStoreConnect.GameCenterChallengeLocalization? value) => new IncludedItem100(value); /// /// /// - public static implicit operator IncludedItem100(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem100((global::AppStoreConnect.GameCenterGroup?)value); + public static implicit operator IncludedItem100(global::AppStoreConnect.GameCenterChallengeVersionRelease value) => new IncludedItem100((global::AppStoreConnect.GameCenterChallengeVersionRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem100 @this) => @this.GameCenterGroups; + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersionRelease?(IncludedItem100 @this) => @this.GameCenterChallengeVersionReleases; /// /// /// - public IncludedItem100(global::AppStoreConnect.GameCenterGroup? value) + public IncludedItem100(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) { - GameCenterGroups = value; + GameCenterChallengeVersionReleases = value; } /// /// /// - public static IncludedItem100 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem100(value); + public static IncludedItem100 FromGameCenterChallengeVersionReleases(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) => new IncludedItem100(value); /// /// /// - public static implicit operator IncludedItem100(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem100((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem100(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem100((global::AppStoreConnect.GameCenterChallenge?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem100 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem100 @this) => @this.GameCenterChallengeLocalizations2; /// /// /// - public IncludedItem100(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem100(global::AppStoreConnect.GameCenterChallenge? value) { - GameCenterLeaderboards = value; + GameCenterChallengeLocalizations2 = value; } /// /// /// - public static IncludedItem100 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem100(value); + public static IncludedItem100 FromGameCenterChallengeLocalizations2(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem100(value); /// /// /// public IncludedItem100( - global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards + global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages, + global::AppStoreConnect.GameCenterChallengeLocalization? gameCenterChallengeLocalizations1, + global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases, + global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeLocalizations2 ) { Type = type; - GameCenterChallengeVersions = gameCenterChallengeVersions; - GameCenterDetails = gameCenterDetails; - GameCenterGroups = gameCenterGroups; - GameCenterLeaderboards = gameCenterLeaderboards; + GameCenterChallengeImages = gameCenterChallengeImages; + GameCenterChallengeLocalizations1 = gameCenterChallengeLocalizations1; + GameCenterChallengeVersionReleases = gameCenterChallengeVersionReleases; + GameCenterChallengeLocalizations2 = gameCenterChallengeLocalizations2; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? - GameCenterGroups as object ?? - GameCenterDetails as object ?? - GameCenterChallengeVersions as object + GameCenterChallengeLocalizations2 as object ?? + GameCenterChallengeVersionReleases as object ?? + GameCenterChallengeLocalizations1 as object ?? + GameCenterChallengeImages as object ; /// /// /// public override string? ToString() => - GameCenterChallengeVersions?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterChallengeImages?.ToString() ?? + GameCenterChallengeLocalizations1?.ToString() ?? + GameCenterChallengeVersionReleases?.ToString() ?? + GameCenterChallengeLocalizations2?.ToString() ; /// @@ -297,17 +297,17 @@ GameCenterChallengeVersions as object /// public bool Validate() { - return IsGameCenterChallengeVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboards; + return IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && IsGameCenterChallengeLocalizations2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterChallengeVersions = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboards = null, + global::System.Func? gameCenterChallengeImages = null, + global::System.Func? gameCenterChallengeLocalizations1 = null, + global::System.Func? gameCenterChallengeVersionReleases = null, + global::System.Func? gameCenterChallengeLocalizations2 = null, bool validate = true) { if (validate) @@ -315,21 +315,21 @@ public bool Validate() Validate(); } - if (GameCenterChallengeVersions is { } __value0 && gameCenterChallengeVersions != null) + if (GameCenterChallengeImages is { } __value0 && gameCenterChallengeImages != null) { - return gameCenterChallengeVersions(__value0); + return gameCenterChallengeImages(__value0); } - else if (GameCenterDetails is { } __value1 && gameCenterDetails != null) + else if (GameCenterChallengeLocalizations1 is { } __value1 && gameCenterChallengeLocalizations1 != null) { - return gameCenterDetails(__value1); + return gameCenterChallengeLocalizations1(__value1); } - else if (GameCenterGroups is { } __value2 && gameCenterGroups != null) + else if (GameCenterChallengeVersionReleases is { } __value2 && gameCenterChallengeVersionReleases != null) { - return gameCenterGroups(__value2); + return gameCenterChallengeVersionReleases(__value2); } - else if (GameCenterLeaderboards is { } __value3 && gameCenterLeaderboards != null) + else if (GameCenterChallengeLocalizations2 is { } __value3 && gameCenterChallengeLocalizations2 != null) { - return gameCenterLeaderboards(__value3); + return gameCenterChallengeLocalizations2(__value3); } return default(TResult); @@ -339,13 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? gameCenterChallengeImages = null, - global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterChallengeLocalizations1 = null, - global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterChallengeVersionReleases = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterChallengeLocalizations2 = null, bool validate = true) { if (validate) @@ -353,21 +353,21 @@ public void Match( Validate(); } - if (GameCenterChallengeVersions is { } __value0) + if (GameCenterChallengeImages is { } __value0) { - gameCenterChallengeVersions?.Invoke(__value0); + gameCenterChallengeImages?.Invoke(__value0); } - else if (GameCenterDetails is { } __value1) + else if (GameCenterChallengeLocalizations1 is { } __value1) { - gameCenterDetails?.Invoke(__value1); + gameCenterChallengeLocalizations1?.Invoke(__value1); } - else if (GameCenterGroups is { } __value2) + else if (GameCenterChallengeVersionReleases is { } __value2) { - gameCenterGroups?.Invoke(__value2); + gameCenterChallengeVersionReleases?.Invoke(__value2); } - else if (GameCenterLeaderboards is { } __value3) + else if (GameCenterChallengeLocalizations2 is { } __value3) { - gameCenterLeaderboards?.Invoke(__value3); + gameCenterChallengeLocalizations2?.Invoke(__value3); } } @@ -375,10 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterChallengeVersions = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterChallengeImages = null, + global::System.Action? gameCenterChallengeLocalizations1 = null, + global::System.Action? gameCenterChallengeVersionReleases = null, + global::System.Action? gameCenterChallengeLocalizations2 = null, bool validate = true) { if (validate) @@ -386,21 +386,21 @@ public void Switch( Validate(); } - if (GameCenterChallengeVersions is { } __value0) + if (GameCenterChallengeImages is { } __value0) { - gameCenterChallengeVersions?.Invoke(__value0); + gameCenterChallengeImages?.Invoke(__value0); } - else if (GameCenterDetails is { } __value1) + else if (GameCenterChallengeLocalizations1 is { } __value1) { - gameCenterDetails?.Invoke(__value1); + gameCenterChallengeLocalizations1?.Invoke(__value1); } - else if (GameCenterGroups is { } __value2) + else if (GameCenterChallengeVersionReleases is { } __value2) { - gameCenterGroups?.Invoke(__value2); + gameCenterChallengeVersionReleases?.Invoke(__value2); } - else if (GameCenterLeaderboards is { } __value3) + else if (GameCenterChallengeLocalizations2 is { } __value3) { - gameCenterLeaderboards?.Invoke(__value3); + gameCenterChallengeLocalizations2?.Invoke(__value3); } } @@ -411,14 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterChallengeVersions, - typeof(global::AppStoreConnect.GameCenterChallengeVersion), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterGroups, - typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + GameCenterChallengeImages, + typeof(global::AppStoreConnect.GameCenterChallengeImage), + GameCenterChallengeLocalizations1, + typeof(global::AppStoreConnect.GameCenterChallengeLocalization), + GameCenterChallengeVersionReleases, + typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), + GameCenterChallengeLocalizations2, + typeof(global::AppStoreConnect.GameCenterChallenge), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem100 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeImages, other.GameCenterChallengeImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeLocalizations1, other.GameCenterChallengeLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases, other.GameCenterChallengeVersionReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeLocalizations2, other.GameCenterChallengeLocalizations2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem101.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem101.g.cs index 757a338d4..5532ee531 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem101.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem101.g.cs @@ -12,340 +12,81 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] #endif - public bool IsAppStoreVersions => AppStoreVersions != null; + public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; /// /// /// - public bool TryPickAppStoreVersions( + public bool TryPickGameCenterChallengeVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.GameCenterChallengeVersion? value) { - value = AppStoreVersions; - return IsAppStoreVersions; + value = GameCenterChallengeVersions; + return IsGameCenterChallengeVersions; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? GameCenterAppVersions1 { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.App? GameCenterAppVersions1 { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterAppVersions1 => GameCenterAppVersions1 != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterAppVersions1( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterAppVersions1; - return IsGameCenterAppVersions1; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.App PickGameCenterAppVersions1() => GameCenterAppVersions1 is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases1))] -#endif - public bool IsGameCenterAchievementReleases1 => GameCenterAchievementReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievementRelease? value) - { - value = GameCenterAchievementReleases1; - return IsGameCenterAchievementReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievementRelease PickGameCenterAchievementReleases1() => GameCenterAchievementReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementReleases2 { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementReleases2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases2))] -#endif - public bool IsGameCenterAchievementReleases2 => GameCenterAchievementReleases2 != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementReleases2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievement? value) - { - value = GameCenterAchievementReleases2; - return IsGameCenterAchievementReleases2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievementReleases2() => GameCenterAchievementReleases2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } -#else - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] -#endif - public bool IsGameCenterActivities => GameCenterActivities != null; - - /// - /// - /// - public bool TryPickGameCenterActivities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivity? value) - { - value = GameCenterActivities; - return IsGameCenterActivities; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; init; } -#else - public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersionReleases))] -#endif - public bool IsGameCenterActivityVersionReleases => GameCenterActivityVersionReleases != null; - - /// - /// - /// - public bool TryPickGameCenterActivityVersionReleases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivityVersionRelease? value) - { - value = GameCenterActivityVersionReleases; - return IsGameCenterActivityVersionReleases; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivityVersionRelease PickGameCenterActivityVersionReleases() => GameCenterActivityVersionReleases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersionReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions2 { get; init; } -#else - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions2))] -#endif - public bool IsGameCenterAppVersions2 => GameCenterAppVersions2 != null; - - /// - /// - /// - public bool TryPickGameCenterAppVersions2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAppVersion? value) - { - value = GameCenterAppVersions2; - return IsGameCenterAppVersions2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions2() => GameCenterAppVersions2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases1))] -#endif - public bool IsGameCenterChallengeVersionReleases1 => GameCenterChallengeVersionReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeVersionReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallengeVersionRelease? value) - { - value = GameCenterChallengeVersionReleases1; - return IsGameCenterChallengeVersionReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallengeVersionRelease PickGameCenterChallengeVersionReleases1() => GameCenterChallengeVersionReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeVersionReleases2 { get; init; } -#else - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeVersionReleases2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases2))] -#endif - public bool IsGameCenterChallengeVersionReleases2 => GameCenterChallengeVersionReleases2 != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeVersionReleases2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallenge? value) - { - value = GameCenterChallengeVersionReleases2; - return IsGameCenterChallengeVersionReleases2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallengeVersionReleases2() => GameCenterChallengeVersionReleases2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// @@ -367,376 +108,104 @@ public bool TryPickGameCenterChallengeVersionReleases2( /// /// /// - public bool TryPickGameCenterGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterGroup? value) - { - value = GameCenterGroups; - return IsGameCenterGroups; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases1))] -#endif - public bool IsGameCenterLeaderboardReleases1 => GameCenterLeaderboardReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardRelease? value) - { - value = GameCenterLeaderboardReleases1; - return IsGameCenterLeaderboardReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardRelease PickGameCenterLeaderboardReleases1() => GameCenterLeaderboardReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases1))] -#endif - public bool IsGameCenterLeaderboardSetReleases1 => GameCenterLeaderboardSetReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSetReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) - { - value = GameCenterLeaderboardSetReleases1; - return IsGameCenterLeaderboardSetReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelease PickGameCenterLeaderboardSetReleases1() => GameCenterLeaderboardSetReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSetReleases2 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSetReleases2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases2))] -#endif - public bool IsGameCenterLeaderboardSetReleases2 => GameCenterLeaderboardSetReleases2 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSetReleases2( + public bool TryPickGameCenterGroups( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) + out global::AppStoreConnect.GameCenterGroup? value) { - value = GameCenterLeaderboardSetReleases2; - return IsGameCenterLeaderboardSetReleases2; + value = GameCenterGroups; + return IsGameCenterGroups; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSetReleases2() => GameCenterLeaderboardSetReleases2 is { } value + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] #endif - public bool IsGameCenterLeaderboardReleases2 => GameCenterLeaderboardReleases2 != null; + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; /// /// /// - public bool TryPickGameCenterLeaderboardReleases2( + public bool TryPickGameCenterLeaderboards( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardReleases2; - return IsGameCenterLeaderboardReleases2; + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardReleases2() => GameCenterLeaderboardReleases2 is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases2' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem101((global::AppStoreConnect.AppStoreVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem101 @this) => @this.AppStoreVersions; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.AppStoreVersion? value) - { - AppStoreVersions = value; - } - - /// - /// - /// - public static IncludedItem101 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem101(value); - - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.App value) => new IncludedItem101((global::AppStoreConnect.App?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem101 @this) => @this.GameCenterAppVersions1; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.App? value) - { - GameCenterAppVersions1 = value; - } - - /// - /// - /// - public static IncludedItem101 FromGameCenterAppVersions1(global::AppStoreConnect.App? value) => new IncludedItem101(value); - - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterAchievementRelease value) => new IncludedItem101((global::AppStoreConnect.GameCenterAchievementRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementRelease?(IncludedItem101 @this) => @this.GameCenterAchievementReleases1; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.GameCenterAchievementRelease? value) - { - GameCenterAchievementReleases1 = value; - } - - /// - /// - /// - public static IncludedItem101 FromGameCenterAchievementReleases1(global::AppStoreConnect.GameCenterAchievementRelease? value) => new IncludedItem101(value); - - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem101((global::AppStoreConnect.GameCenterAchievement?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem101 @this) => @this.GameCenterAchievementReleases2; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.GameCenterAchievement? value) - { - GameCenterAchievementReleases2 = value; - } - - /// - /// - /// - public static IncludedItem101 FromGameCenterAchievementReleases2(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem101(value); - - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem101((global::AppStoreConnect.GameCenterActivity?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem101 @this) => @this.GameCenterActivities; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.GameCenterActivity? value) - { - GameCenterActivities = value; - } - - /// - /// - /// - public static IncludedItem101 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem101(value); - - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterActivityVersionRelease value) => new IncludedItem101((global::AppStoreConnect.GameCenterActivityVersionRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivityVersionRelease?(IncludedItem101 @this) => @this.GameCenterActivityVersionReleases; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.GameCenterActivityVersionRelease? value) - { - GameCenterActivityVersionReleases = value; - } - - /// - /// - /// - public static IncludedItem101 FromGameCenterActivityVersionReleases(global::AppStoreConnect.GameCenterActivityVersionRelease? value) => new IncludedItem101(value); - - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem101((global::AppStoreConnect.GameCenterAppVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem101 @this) => @this.GameCenterAppVersions2; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.GameCenterAppVersion? value) - { - GameCenterAppVersions2 = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// - public static IncludedItem101 FromGameCenterAppVersions2(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem101(value); + public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem101((global::AppStoreConnect.GameCenterChallengeVersion?)value); /// /// /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterChallengeVersionRelease value) => new IncludedItem101((global::AppStoreConnect.GameCenterChallengeVersionRelease?)value); + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem101 @this) => @this.GameCenterChallengeVersions; /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersionRelease?(IncludedItem101 @this) => @this.GameCenterChallengeVersionReleases1; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) + public IncludedItem101(global::AppStoreConnect.GameCenterChallengeVersion? value) { - GameCenterChallengeVersionReleases1 = value; + GameCenterChallengeVersions = value; } /// /// /// - public static IncludedItem101 FromGameCenterChallengeVersionReleases1(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) => new IncludedItem101(value); + public static IncludedItem101 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem101(value); /// /// /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem101((global::AppStoreConnect.GameCenterChallenge?)value); + public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem101((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem101 @this) => @this.GameCenterChallengeVersionReleases2; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem101 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem101(global::AppStoreConnect.GameCenterChallenge? value) + public IncludedItem101(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterChallengeVersionReleases2 = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem101 FromGameCenterChallengeVersionReleases2(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem101(value); + public static IncludedItem101 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem101(value); /// /// @@ -761,75 +230,6 @@ public IncludedItem101(global::AppStoreConnect.GameCenterGroup? value) /// public static IncludedItem101 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem101(value); - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterLeaderboardRelease value) => new IncludedItem101((global::AppStoreConnect.GameCenterLeaderboardRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardRelease?(IncludedItem101 @this) => @this.GameCenterLeaderboardReleases1; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.GameCenterLeaderboardRelease? value) - { - GameCenterLeaderboardReleases1 = value; - } - - /// - /// - /// - public static IncludedItem101 FromGameCenterLeaderboardReleases1(global::AppStoreConnect.GameCenterLeaderboardRelease? value) => new IncludedItem101(value); - - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterLeaderboardSetRelease value) => new IncludedItem101((global::AppStoreConnect.GameCenterLeaderboardSetRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetRelease?(IncludedItem101 @this) => @this.GameCenterLeaderboardSetReleases1; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) - { - GameCenterLeaderboardSetReleases1 = value; - } - - /// - /// - /// - public static IncludedItem101 FromGameCenterLeaderboardSetReleases1(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) => new IncludedItem101(value); - - /// - /// - /// - public static implicit operator IncludedItem101(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem101((global::AppStoreConnect.GameCenterLeaderboardSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem101 @this) => @this.GameCenterLeaderboardSetReleases2; - - /// - /// - /// - public IncludedItem101(global::AppStoreConnect.GameCenterLeaderboardSet? value) - { - GameCenterLeaderboardSetReleases2 = value; - } - - /// - /// - /// - public static IncludedItem101 FromGameCenterLeaderboardSetReleases2(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem101(value); - /// /// /// @@ -838,98 +238,58 @@ public IncludedItem101(global::AppStoreConnect.GameCenterLeaderboardSet? value) /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem101 @this) => @this.GameCenterLeaderboardReleases2; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem101 @this) => @this.GameCenterLeaderboards; /// /// /// public IncludedItem101(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardReleases2 = value; + GameCenterLeaderboards = value; } /// /// /// - public static IncludedItem101 FromGameCenterLeaderboardReleases2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem101(value); + public static IncludedItem101 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem101(value); /// /// /// public IncludedItem101( - global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppStoreVersion? appStoreVersions, - global::AppStoreConnect.App? gameCenterAppVersions1, - global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases1, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementReleases2, - global::AppStoreConnect.GameCenterActivity? gameCenterActivities, - global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases, - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions2, - global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases1, - global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeVersionReleases2, + global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1, - global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases1, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSetReleases2, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards ) { Type = type; - AppStoreVersions = appStoreVersions; - GameCenterAppVersions1 = gameCenterAppVersions1; - GameCenterAchievementReleases1 = gameCenterAchievementReleases1; - GameCenterAchievementReleases2 = gameCenterAchievementReleases2; - GameCenterActivities = gameCenterActivities; - GameCenterActivityVersionReleases = gameCenterActivityVersionReleases; - GameCenterAppVersions2 = gameCenterAppVersions2; - GameCenterChallengeVersionReleases1 = gameCenterChallengeVersionReleases1; - GameCenterChallengeVersionReleases2 = gameCenterChallengeVersionReleases2; + GameCenterChallengeVersions = gameCenterChallengeVersions; + GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; - GameCenterLeaderboardReleases1 = gameCenterLeaderboardReleases1; - GameCenterLeaderboardSetReleases1 = gameCenterLeaderboardSetReleases1; - GameCenterLeaderboardSetReleases2 = gameCenterLeaderboardSetReleases2; - GameCenterLeaderboardReleases2 = gameCenterLeaderboardReleases2; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboardReleases2 as object ?? - GameCenterLeaderboardSetReleases2 as object ?? - GameCenterLeaderboardSetReleases1 as object ?? - GameCenterLeaderboardReleases1 as object ?? + GameCenterLeaderboards as object ?? GameCenterGroups as object ?? - GameCenterChallengeVersionReleases2 as object ?? - GameCenterChallengeVersionReleases1 as object ?? - GameCenterAppVersions2 as object ?? - GameCenterActivityVersionReleases as object ?? - GameCenterActivities as object ?? - GameCenterAchievementReleases2 as object ?? - GameCenterAchievementReleases1 as object ?? - GameCenterAppVersions1 as object ?? - AppStoreVersions as object + GameCenterDetails as object ?? + GameCenterChallengeVersions as object ; /// /// /// public override string? ToString() => - AppStoreVersions?.ToString() ?? - GameCenterAppVersions1?.ToString() ?? - GameCenterAchievementReleases1?.ToString() ?? - GameCenterAchievementReleases2?.ToString() ?? - GameCenterActivities?.ToString() ?? - GameCenterActivityVersionReleases?.ToString() ?? - GameCenterAppVersions2?.ToString() ?? - GameCenterChallengeVersionReleases1?.ToString() ?? - GameCenterChallengeVersionReleases2?.ToString() ?? + GameCenterChallengeVersions?.ToString() ?? + GameCenterDetails?.ToString() ?? GameCenterGroups?.ToString() ?? - GameCenterLeaderboardReleases1?.ToString() ?? - GameCenterLeaderboardSetReleases1?.ToString() ?? - GameCenterLeaderboardSetReleases2?.ToString() ?? - GameCenterLeaderboardReleases2?.ToString() + GameCenterLeaderboards?.ToString() ; /// @@ -937,27 +297,17 @@ AppStoreVersions as object /// public bool Validate() { - return IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && IsGameCenterLeaderboardReleases2; + return IsGameCenterChallengeVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboards; } /// /// /// public TResult? Match( - global::System.Func? appStoreVersions = null, - global::System.Func? gameCenterAppVersions1 = null, - global::System.Func? gameCenterAchievementReleases1 = null, - global::System.Func? gameCenterAchievementReleases2 = null, - global::System.Func? gameCenterActivities = null, - global::System.Func? gameCenterActivityVersionReleases = null, - global::System.Func? gameCenterAppVersions2 = null, - global::System.Func? gameCenterChallengeVersionReleases1 = null, - global::System.Func? gameCenterChallengeVersionReleases2 = null, + global::System.Func? gameCenterChallengeVersions = null, + global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardReleases1 = null, - global::System.Func? gameCenterLeaderboardSetReleases1 = null, - global::System.Func? gameCenterLeaderboardSetReleases2 = null, - global::System.Func? gameCenterLeaderboardReleases2 = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -965,61 +315,21 @@ public bool Validate() Validate(); } - if (AppStoreVersions is { } __value0 && appStoreVersions != null) - { - return appStoreVersions(__value0); - } - else if (GameCenterAppVersions1 is { } __value1 && gameCenterAppVersions1 != null) - { - return gameCenterAppVersions1(__value1); - } - else if (GameCenterAchievementReleases1 is { } __value2 && gameCenterAchievementReleases1 != null) - { - return gameCenterAchievementReleases1(__value2); - } - else if (GameCenterAchievementReleases2 is { } __value3 && gameCenterAchievementReleases2 != null) + if (GameCenterChallengeVersions is { } __value0 && gameCenterChallengeVersions != null) { - return gameCenterAchievementReleases2(__value3); + return gameCenterChallengeVersions(__value0); } - else if (GameCenterActivities is { } __value4 && gameCenterActivities != null) + else if (GameCenterDetails is { } __value1 && gameCenterDetails != null) { - return gameCenterActivities(__value4); + return gameCenterDetails(__value1); } - else if (GameCenterActivityVersionReleases is { } __value5 && gameCenterActivityVersionReleases != null) + else if (GameCenterGroups is { } __value2 && gameCenterGroups != null) { - return gameCenterActivityVersionReleases(__value5); + return gameCenterGroups(__value2); } - else if (GameCenterAppVersions2 is { } __value6 && gameCenterAppVersions2 != null) + else if (GameCenterLeaderboards is { } __value3 && gameCenterLeaderboards != null) { - return gameCenterAppVersions2(__value6); - } - else if (GameCenterChallengeVersionReleases1 is { } __value7 && gameCenterChallengeVersionReleases1 != null) - { - return gameCenterChallengeVersionReleases1(__value7); - } - else if (GameCenterChallengeVersionReleases2 is { } __value8 && gameCenterChallengeVersionReleases2 != null) - { - return gameCenterChallengeVersionReleases2(__value8); - } - else if (GameCenterGroups is { } __value9 && gameCenterGroups != null) - { - return gameCenterGroups(__value9); - } - else if (GameCenterLeaderboardReleases1 is { } __value10 && gameCenterLeaderboardReleases1 != null) - { - return gameCenterLeaderboardReleases1(__value10); - } - else if (GameCenterLeaderboardSetReleases1 is { } __value11 && gameCenterLeaderboardSetReleases1 != null) - { - return gameCenterLeaderboardSetReleases1(__value11); - } - else if (GameCenterLeaderboardSetReleases2 is { } __value12 && gameCenterLeaderboardSetReleases2 != null) - { - return gameCenterLeaderboardSetReleases2(__value12); - } - else if (GameCenterLeaderboardReleases2 is { } __value13 && gameCenterLeaderboardReleases2 != null) - { - return gameCenterLeaderboardReleases2(__value13); + return gameCenterLeaderboards(__value3); } return default(TResult); @@ -1029,33 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appStoreVersions = null, - - global::System.Action? gameCenterAppVersions1 = null, - - global::System.Action? gameCenterAchievementReleases1 = null, + global::System.Action? gameCenterChallengeVersions = null, - global::System.Action? gameCenterAchievementReleases2 = null, - - global::System.Action? gameCenterActivities = null, - - global::System.Action? gameCenterActivityVersionReleases = null, - - global::System.Action? gameCenterAppVersions2 = null, - - global::System.Action? gameCenterChallengeVersionReleases1 = null, - - global::System.Action? gameCenterChallengeVersionReleases2 = null, + global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardReleases1 = null, - - global::System.Action? gameCenterLeaderboardSetReleases1 = null, - - global::System.Action? gameCenterLeaderboardSetReleases2 = null, - - global::System.Action? gameCenterLeaderboardReleases2 = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -1063,61 +353,21 @@ public void Match( Validate(); } - if (AppStoreVersions is { } __value0) - { - appStoreVersions?.Invoke(__value0); - } - else if (GameCenterAppVersions1 is { } __value1) - { - gameCenterAppVersions1?.Invoke(__value1); - } - else if (GameCenterAchievementReleases1 is { } __value2) - { - gameCenterAchievementReleases1?.Invoke(__value2); - } - else if (GameCenterAchievementReleases2 is { } __value3) - { - gameCenterAchievementReleases2?.Invoke(__value3); - } - else if (GameCenterActivities is { } __value4) + if (GameCenterChallengeVersions is { } __value0) { - gameCenterActivities?.Invoke(__value4); + gameCenterChallengeVersions?.Invoke(__value0); } - else if (GameCenterActivityVersionReleases is { } __value5) + else if (GameCenterDetails is { } __value1) { - gameCenterActivityVersionReleases?.Invoke(__value5); + gameCenterDetails?.Invoke(__value1); } - else if (GameCenterAppVersions2 is { } __value6) + else if (GameCenterGroups is { } __value2) { - gameCenterAppVersions2?.Invoke(__value6); + gameCenterGroups?.Invoke(__value2); } - else if (GameCenterChallengeVersionReleases1 is { } __value7) + else if (GameCenterLeaderboards is { } __value3) { - gameCenterChallengeVersionReleases1?.Invoke(__value7); - } - else if (GameCenterChallengeVersionReleases2 is { } __value8) - { - gameCenterChallengeVersionReleases2?.Invoke(__value8); - } - else if (GameCenterGroups is { } __value9) - { - gameCenterGroups?.Invoke(__value9); - } - else if (GameCenterLeaderboardReleases1 is { } __value10) - { - gameCenterLeaderboardReleases1?.Invoke(__value10); - } - else if (GameCenterLeaderboardSetReleases1 is { } __value11) - { - gameCenterLeaderboardSetReleases1?.Invoke(__value11); - } - else if (GameCenterLeaderboardSetReleases2 is { } __value12) - { - gameCenterLeaderboardSetReleases2?.Invoke(__value12); - } - else if (GameCenterLeaderboardReleases2 is { } __value13) - { - gameCenterLeaderboardReleases2?.Invoke(__value13); + gameCenterLeaderboards?.Invoke(__value3); } } @@ -1125,20 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appStoreVersions = null, - global::System.Action? gameCenterAppVersions1 = null, - global::System.Action? gameCenterAchievementReleases1 = null, - global::System.Action? gameCenterAchievementReleases2 = null, - global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterActivityVersionReleases = null, - global::System.Action? gameCenterAppVersions2 = null, - global::System.Action? gameCenterChallengeVersionReleases1 = null, - global::System.Action? gameCenterChallengeVersionReleases2 = null, + global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardReleases1 = null, - global::System.Action? gameCenterLeaderboardSetReleases1 = null, - global::System.Action? gameCenterLeaderboardSetReleases2 = null, - global::System.Action? gameCenterLeaderboardReleases2 = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -1146,61 +386,21 @@ public void Switch( Validate(); } - if (AppStoreVersions is { } __value0) - { - appStoreVersions?.Invoke(__value0); - } - else if (GameCenterAppVersions1 is { } __value1) - { - gameCenterAppVersions1?.Invoke(__value1); - } - else if (GameCenterAchievementReleases1 is { } __value2) - { - gameCenterAchievementReleases1?.Invoke(__value2); - } - else if (GameCenterAchievementReleases2 is { } __value3) - { - gameCenterAchievementReleases2?.Invoke(__value3); - } - else if (GameCenterActivities is { } __value4) - { - gameCenterActivities?.Invoke(__value4); - } - else if (GameCenterActivityVersionReleases is { } __value5) - { - gameCenterActivityVersionReleases?.Invoke(__value5); - } - else if (GameCenterAppVersions2 is { } __value6) - { - gameCenterAppVersions2?.Invoke(__value6); - } - else if (GameCenterChallengeVersionReleases1 is { } __value7) - { - gameCenterChallengeVersionReleases1?.Invoke(__value7); - } - else if (GameCenterChallengeVersionReleases2 is { } __value8) - { - gameCenterChallengeVersionReleases2?.Invoke(__value8); - } - else if (GameCenterGroups is { } __value9) - { - gameCenterGroups?.Invoke(__value9); - } - else if (GameCenterLeaderboardReleases1 is { } __value10) + if (GameCenterChallengeVersions is { } __value0) { - gameCenterLeaderboardReleases1?.Invoke(__value10); + gameCenterChallengeVersions?.Invoke(__value0); } - else if (GameCenterLeaderboardSetReleases1 is { } __value11) + else if (GameCenterDetails is { } __value1) { - gameCenterLeaderboardSetReleases1?.Invoke(__value11); + gameCenterDetails?.Invoke(__value1); } - else if (GameCenterLeaderboardSetReleases2 is { } __value12) + else if (GameCenterGroups is { } __value2) { - gameCenterLeaderboardSetReleases2?.Invoke(__value12); + gameCenterGroups?.Invoke(__value2); } - else if (GameCenterLeaderboardReleases2 is { } __value13) + else if (GameCenterLeaderboards is { } __value3) { - gameCenterLeaderboardReleases2?.Invoke(__value13); + gameCenterLeaderboards?.Invoke(__value3); } } @@ -1211,33 +411,13 @@ public override int GetHashCode() { var fields = new object?[] { - AppStoreVersions, - typeof(global::AppStoreConnect.AppStoreVersion), - GameCenterAppVersions1, - typeof(global::AppStoreConnect.App), - GameCenterAchievementReleases1, - typeof(global::AppStoreConnect.GameCenterAchievementRelease), - GameCenterAchievementReleases2, - typeof(global::AppStoreConnect.GameCenterAchievement), - GameCenterActivities, - typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterActivityVersionReleases, - typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), - GameCenterAppVersions2, - typeof(global::AppStoreConnect.GameCenterAppVersion), - GameCenterChallengeVersionReleases1, - typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), - GameCenterChallengeVersionReleases2, - typeof(global::AppStoreConnect.GameCenterChallenge), + GameCenterChallengeVersions, + typeof(global::AppStoreConnect.GameCenterChallengeVersion), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), GameCenterGroups, typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboardReleases1, - typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), - GameCenterLeaderboardSetReleases1, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), - GameCenterLeaderboardSetReleases2, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardReleases2, + GameCenterLeaderboards, typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); @@ -1255,20 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem101 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions1, other.GameCenterAppVersions1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases1, other.GameCenterAchievementReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases2, other.GameCenterAchievementReleases2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersionReleases, other.GameCenterActivityVersionReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions2, other.GameCenterAppVersions2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases1, other.GameCenterChallengeVersionReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases2, other.GameCenterChallengeVersionReleases2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases1, other.GameCenterLeaderboardReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases1, other.GameCenterLeaderboardSetReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases2, other.GameCenterLeaderboardSetReleases2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases2, other.GameCenterLeaderboardReleases2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem102.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem102.g.cs index a97464bfa..3ee7d722e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem102.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem102.g.cs @@ -12,340 +12,81 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] #endif - public bool IsAppStoreVersions => AppStoreVersions != null; + public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; /// /// /// - public bool TryPickAppStoreVersions( + public bool TryPickGameCenterChallengeVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.GameCenterChallengeVersion? value) { - value = AppStoreVersions; - return IsAppStoreVersions; + value = GameCenterChallengeVersions; + return IsGameCenterChallengeVersions; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? GameCenterAppVersions1 { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.App? GameCenterAppVersions1 { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterAppVersions1 => GameCenterAppVersions1 != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterAppVersions1( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterAppVersions1; - return IsGameCenterAppVersions1; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.App PickGameCenterAppVersions1() => GameCenterAppVersions1 is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases1))] -#endif - public bool IsGameCenterAchievementReleases1 => GameCenterAchievementReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievementRelease? value) - { - value = GameCenterAchievementReleases1; - return IsGameCenterAchievementReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievementRelease PickGameCenterAchievementReleases1() => GameCenterAchievementReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementReleases2 { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementReleases2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases2))] -#endif - public bool IsGameCenterAchievementReleases2 => GameCenterAchievementReleases2 != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementReleases2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievement? value) - { - value = GameCenterAchievementReleases2; - return IsGameCenterAchievementReleases2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievementReleases2() => GameCenterAchievementReleases2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } -#else - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] -#endif - public bool IsGameCenterActivities => GameCenterActivities != null; - - /// - /// - /// - public bool TryPickGameCenterActivities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivity? value) - { - value = GameCenterActivities; - return IsGameCenterActivities; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; init; } -#else - public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersionReleases))] -#endif - public bool IsGameCenterActivityVersionReleases => GameCenterActivityVersionReleases != null; - - /// - /// - /// - public bool TryPickGameCenterActivityVersionReleases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivityVersionRelease? value) - { - value = GameCenterActivityVersionReleases; - return IsGameCenterActivityVersionReleases; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivityVersionRelease PickGameCenterActivityVersionReleases() => GameCenterActivityVersionReleases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersionReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions2 { get; init; } -#else - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions2))] -#endif - public bool IsGameCenterAppVersions2 => GameCenterAppVersions2 != null; - - /// - /// - /// - public bool TryPickGameCenterAppVersions2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAppVersion? value) - { - value = GameCenterAppVersions2; - return IsGameCenterAppVersions2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions2() => GameCenterAppVersions2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases1))] -#endif - public bool IsGameCenterChallengeVersionReleases1 => GameCenterChallengeVersionReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeVersionReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallengeVersionRelease? value) - { - value = GameCenterChallengeVersionReleases1; - return IsGameCenterChallengeVersionReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallengeVersionRelease PickGameCenterChallengeVersionReleases1() => GameCenterChallengeVersionReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeVersionReleases2 { get; init; } -#else - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeVersionReleases2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases2))] -#endif - public bool IsGameCenterChallengeVersionReleases2 => GameCenterChallengeVersionReleases2 != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeVersionReleases2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallenge? value) - { - value = GameCenterChallengeVersionReleases2; - return IsGameCenterChallengeVersionReleases2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallengeVersionReleases2() => GameCenterChallengeVersionReleases2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// @@ -367,376 +108,104 @@ public bool TryPickGameCenterChallengeVersionReleases2( /// /// /// - public bool TryPickGameCenterGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterGroup? value) - { - value = GameCenterGroups; - return IsGameCenterGroups; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases1))] -#endif - public bool IsGameCenterLeaderboardReleases1 => GameCenterLeaderboardReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardRelease? value) - { - value = GameCenterLeaderboardReleases1; - return IsGameCenterLeaderboardReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardRelease PickGameCenterLeaderboardReleases1() => GameCenterLeaderboardReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases1))] -#endif - public bool IsGameCenterLeaderboardSetReleases1 => GameCenterLeaderboardSetReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSetReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) - { - value = GameCenterLeaderboardSetReleases1; - return IsGameCenterLeaderboardSetReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelease PickGameCenterLeaderboardSetReleases1() => GameCenterLeaderboardSetReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSetReleases2 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSetReleases2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases2))] -#endif - public bool IsGameCenterLeaderboardSetReleases2 => GameCenterLeaderboardSetReleases2 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSetReleases2( + public bool TryPickGameCenterGroups( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) + out global::AppStoreConnect.GameCenterGroup? value) { - value = GameCenterLeaderboardSetReleases2; - return IsGameCenterLeaderboardSetReleases2; + value = GameCenterGroups; + return IsGameCenterGroups; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSetReleases2() => GameCenterLeaderboardSetReleases2 is { } value + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] #endif - public bool IsGameCenterLeaderboardReleases2 => GameCenterLeaderboardReleases2 != null; + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; /// /// /// - public bool TryPickGameCenterLeaderboardReleases2( + public bool TryPickGameCenterLeaderboards( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardReleases2; - return IsGameCenterLeaderboardReleases2; + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardReleases2() => GameCenterLeaderboardReleases2 is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases2' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem102((global::AppStoreConnect.AppStoreVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem102 @this) => @this.AppStoreVersions; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.AppStoreVersion? value) - { - AppStoreVersions = value; - } - - /// - /// - /// - public static IncludedItem102 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem102(value); - - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.App value) => new IncludedItem102((global::AppStoreConnect.App?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem102 @this) => @this.GameCenterAppVersions1; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.App? value) - { - GameCenterAppVersions1 = value; - } - - /// - /// - /// - public static IncludedItem102 FromGameCenterAppVersions1(global::AppStoreConnect.App? value) => new IncludedItem102(value); - - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterAchievementRelease value) => new IncludedItem102((global::AppStoreConnect.GameCenterAchievementRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementRelease?(IncludedItem102 @this) => @this.GameCenterAchievementReleases1; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.GameCenterAchievementRelease? value) - { - GameCenterAchievementReleases1 = value; - } - - /// - /// - /// - public static IncludedItem102 FromGameCenterAchievementReleases1(global::AppStoreConnect.GameCenterAchievementRelease? value) => new IncludedItem102(value); - - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem102((global::AppStoreConnect.GameCenterAchievement?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem102 @this) => @this.GameCenterAchievementReleases2; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.GameCenterAchievement? value) - { - GameCenterAchievementReleases2 = value; - } - - /// - /// - /// - public static IncludedItem102 FromGameCenterAchievementReleases2(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem102(value); - - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem102((global::AppStoreConnect.GameCenterActivity?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem102 @this) => @this.GameCenterActivities; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.GameCenterActivity? value) - { - GameCenterActivities = value; - } - - /// - /// - /// - public static IncludedItem102 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem102(value); - - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterActivityVersionRelease value) => new IncludedItem102((global::AppStoreConnect.GameCenterActivityVersionRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivityVersionRelease?(IncludedItem102 @this) => @this.GameCenterActivityVersionReleases; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.GameCenterActivityVersionRelease? value) - { - GameCenterActivityVersionReleases = value; - } - - /// - /// - /// - public static IncludedItem102 FromGameCenterActivityVersionReleases(global::AppStoreConnect.GameCenterActivityVersionRelease? value) => new IncludedItem102(value); - - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem102((global::AppStoreConnect.GameCenterAppVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem102 @this) => @this.GameCenterAppVersions2; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.GameCenterAppVersion? value) - { - GameCenterAppVersions2 = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// - public static IncludedItem102 FromGameCenterAppVersions2(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem102(value); + public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem102((global::AppStoreConnect.GameCenterChallengeVersion?)value); /// /// /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterChallengeVersionRelease value) => new IncludedItem102((global::AppStoreConnect.GameCenterChallengeVersionRelease?)value); + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem102 @this) => @this.GameCenterChallengeVersions; /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersionRelease?(IncludedItem102 @this) => @this.GameCenterChallengeVersionReleases1; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) + public IncludedItem102(global::AppStoreConnect.GameCenterChallengeVersion? value) { - GameCenterChallengeVersionReleases1 = value; + GameCenterChallengeVersions = value; } /// /// /// - public static IncludedItem102 FromGameCenterChallengeVersionReleases1(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) => new IncludedItem102(value); + public static IncludedItem102 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem102(value); /// /// /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem102((global::AppStoreConnect.GameCenterChallenge?)value); + public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem102((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem102 @this) => @this.GameCenterChallengeVersionReleases2; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem102 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem102(global::AppStoreConnect.GameCenterChallenge? value) + public IncludedItem102(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterChallengeVersionReleases2 = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem102 FromGameCenterChallengeVersionReleases2(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem102(value); + public static IncludedItem102 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem102(value); /// /// @@ -761,75 +230,6 @@ public IncludedItem102(global::AppStoreConnect.GameCenterGroup? value) /// public static IncludedItem102 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem102(value); - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterLeaderboardRelease value) => new IncludedItem102((global::AppStoreConnect.GameCenterLeaderboardRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardRelease?(IncludedItem102 @this) => @this.GameCenterLeaderboardReleases1; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.GameCenterLeaderboardRelease? value) - { - GameCenterLeaderboardReleases1 = value; - } - - /// - /// - /// - public static IncludedItem102 FromGameCenterLeaderboardReleases1(global::AppStoreConnect.GameCenterLeaderboardRelease? value) => new IncludedItem102(value); - - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterLeaderboardSetRelease value) => new IncludedItem102((global::AppStoreConnect.GameCenterLeaderboardSetRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetRelease?(IncludedItem102 @this) => @this.GameCenterLeaderboardSetReleases1; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) - { - GameCenterLeaderboardSetReleases1 = value; - } - - /// - /// - /// - public static IncludedItem102 FromGameCenterLeaderboardSetReleases1(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) => new IncludedItem102(value); - - /// - /// - /// - public static implicit operator IncludedItem102(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem102((global::AppStoreConnect.GameCenterLeaderboardSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem102 @this) => @this.GameCenterLeaderboardSetReleases2; - - /// - /// - /// - public IncludedItem102(global::AppStoreConnect.GameCenterLeaderboardSet? value) - { - GameCenterLeaderboardSetReleases2 = value; - } - - /// - /// - /// - public static IncludedItem102 FromGameCenterLeaderboardSetReleases2(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem102(value); - /// /// /// @@ -838,98 +238,58 @@ public IncludedItem102(global::AppStoreConnect.GameCenterLeaderboardSet? value) /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem102 @this) => @this.GameCenterLeaderboardReleases2; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem102 @this) => @this.GameCenterLeaderboards; /// /// /// public IncludedItem102(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardReleases2 = value; + GameCenterLeaderboards = value; } /// /// /// - public static IncludedItem102 FromGameCenterLeaderboardReleases2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem102(value); + public static IncludedItem102 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem102(value); /// /// /// public IncludedItem102( - global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppStoreVersion? appStoreVersions, - global::AppStoreConnect.App? gameCenterAppVersions1, - global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases1, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementReleases2, - global::AppStoreConnect.GameCenterActivity? gameCenterActivities, - global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases, - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions2, - global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases1, - global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeVersionReleases2, + global::AppStoreConnect.GameCenterChallengeResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1, - global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases1, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSetReleases2, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards ) { Type = type; - AppStoreVersions = appStoreVersions; - GameCenterAppVersions1 = gameCenterAppVersions1; - GameCenterAchievementReleases1 = gameCenterAchievementReleases1; - GameCenterAchievementReleases2 = gameCenterAchievementReleases2; - GameCenterActivities = gameCenterActivities; - GameCenterActivityVersionReleases = gameCenterActivityVersionReleases; - GameCenterAppVersions2 = gameCenterAppVersions2; - GameCenterChallengeVersionReleases1 = gameCenterChallengeVersionReleases1; - GameCenterChallengeVersionReleases2 = gameCenterChallengeVersionReleases2; + GameCenterChallengeVersions = gameCenterChallengeVersions; + GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; - GameCenterLeaderboardReleases1 = gameCenterLeaderboardReleases1; - GameCenterLeaderboardSetReleases1 = gameCenterLeaderboardSetReleases1; - GameCenterLeaderboardSetReleases2 = gameCenterLeaderboardSetReleases2; - GameCenterLeaderboardReleases2 = gameCenterLeaderboardReleases2; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboardReleases2 as object ?? - GameCenterLeaderboardSetReleases2 as object ?? - GameCenterLeaderboardSetReleases1 as object ?? - GameCenterLeaderboardReleases1 as object ?? + GameCenterLeaderboards as object ?? GameCenterGroups as object ?? - GameCenterChallengeVersionReleases2 as object ?? - GameCenterChallengeVersionReleases1 as object ?? - GameCenterAppVersions2 as object ?? - GameCenterActivityVersionReleases as object ?? - GameCenterActivities as object ?? - GameCenterAchievementReleases2 as object ?? - GameCenterAchievementReleases1 as object ?? - GameCenterAppVersions1 as object ?? - AppStoreVersions as object + GameCenterDetails as object ?? + GameCenterChallengeVersions as object ; /// /// /// public override string? ToString() => - AppStoreVersions?.ToString() ?? - GameCenterAppVersions1?.ToString() ?? - GameCenterAchievementReleases1?.ToString() ?? - GameCenterAchievementReleases2?.ToString() ?? - GameCenterActivities?.ToString() ?? - GameCenterActivityVersionReleases?.ToString() ?? - GameCenterAppVersions2?.ToString() ?? - GameCenterChallengeVersionReleases1?.ToString() ?? - GameCenterChallengeVersionReleases2?.ToString() ?? + GameCenterChallengeVersions?.ToString() ?? + GameCenterDetails?.ToString() ?? GameCenterGroups?.ToString() ?? - GameCenterLeaderboardReleases1?.ToString() ?? - GameCenterLeaderboardSetReleases1?.ToString() ?? - GameCenterLeaderboardSetReleases2?.ToString() ?? - GameCenterLeaderboardReleases2?.ToString() + GameCenterLeaderboards?.ToString() ; /// @@ -937,27 +297,17 @@ AppStoreVersions as object /// public bool Validate() { - return IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && IsGameCenterLeaderboardReleases2; + return IsGameCenterChallengeVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboards; } /// /// /// public TResult? Match( - global::System.Func? appStoreVersions = null, - global::System.Func? gameCenterAppVersions1 = null, - global::System.Func? gameCenterAchievementReleases1 = null, - global::System.Func? gameCenterAchievementReleases2 = null, - global::System.Func? gameCenterActivities = null, - global::System.Func? gameCenterActivityVersionReleases = null, - global::System.Func? gameCenterAppVersions2 = null, - global::System.Func? gameCenterChallengeVersionReleases1 = null, - global::System.Func? gameCenterChallengeVersionReleases2 = null, + global::System.Func? gameCenterChallengeVersions = null, + global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardReleases1 = null, - global::System.Func? gameCenterLeaderboardSetReleases1 = null, - global::System.Func? gameCenterLeaderboardSetReleases2 = null, - global::System.Func? gameCenterLeaderboardReleases2 = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -965,61 +315,21 @@ public bool Validate() Validate(); } - if (AppStoreVersions is { } __value0 && appStoreVersions != null) - { - return appStoreVersions(__value0); - } - else if (GameCenterAppVersions1 is { } __value1 && gameCenterAppVersions1 != null) - { - return gameCenterAppVersions1(__value1); - } - else if (GameCenterAchievementReleases1 is { } __value2 && gameCenterAchievementReleases1 != null) - { - return gameCenterAchievementReleases1(__value2); - } - else if (GameCenterAchievementReleases2 is { } __value3 && gameCenterAchievementReleases2 != null) + if (GameCenterChallengeVersions is { } __value0 && gameCenterChallengeVersions != null) { - return gameCenterAchievementReleases2(__value3); + return gameCenterChallengeVersions(__value0); } - else if (GameCenterActivities is { } __value4 && gameCenterActivities != null) + else if (GameCenterDetails is { } __value1 && gameCenterDetails != null) { - return gameCenterActivities(__value4); + return gameCenterDetails(__value1); } - else if (GameCenterActivityVersionReleases is { } __value5 && gameCenterActivityVersionReleases != null) + else if (GameCenterGroups is { } __value2 && gameCenterGroups != null) { - return gameCenterActivityVersionReleases(__value5); + return gameCenterGroups(__value2); } - else if (GameCenterAppVersions2 is { } __value6 && gameCenterAppVersions2 != null) + else if (GameCenterLeaderboards is { } __value3 && gameCenterLeaderboards != null) { - return gameCenterAppVersions2(__value6); - } - else if (GameCenterChallengeVersionReleases1 is { } __value7 && gameCenterChallengeVersionReleases1 != null) - { - return gameCenterChallengeVersionReleases1(__value7); - } - else if (GameCenterChallengeVersionReleases2 is { } __value8 && gameCenterChallengeVersionReleases2 != null) - { - return gameCenterChallengeVersionReleases2(__value8); - } - else if (GameCenterGroups is { } __value9 && gameCenterGroups != null) - { - return gameCenterGroups(__value9); - } - else if (GameCenterLeaderboardReleases1 is { } __value10 && gameCenterLeaderboardReleases1 != null) - { - return gameCenterLeaderboardReleases1(__value10); - } - else if (GameCenterLeaderboardSetReleases1 is { } __value11 && gameCenterLeaderboardSetReleases1 != null) - { - return gameCenterLeaderboardSetReleases1(__value11); - } - else if (GameCenterLeaderboardSetReleases2 is { } __value12 && gameCenterLeaderboardSetReleases2 != null) - { - return gameCenterLeaderboardSetReleases2(__value12); - } - else if (GameCenterLeaderboardReleases2 is { } __value13 && gameCenterLeaderboardReleases2 != null) - { - return gameCenterLeaderboardReleases2(__value13); + return gameCenterLeaderboards(__value3); } return default(TResult); @@ -1029,33 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appStoreVersions = null, - - global::System.Action? gameCenterAppVersions1 = null, - - global::System.Action? gameCenterAchievementReleases1 = null, + global::System.Action? gameCenterChallengeVersions = null, - global::System.Action? gameCenterAchievementReleases2 = null, - - global::System.Action? gameCenterActivities = null, - - global::System.Action? gameCenterActivityVersionReleases = null, - - global::System.Action? gameCenterAppVersions2 = null, - - global::System.Action? gameCenterChallengeVersionReleases1 = null, - - global::System.Action? gameCenterChallengeVersionReleases2 = null, + global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardReleases1 = null, - - global::System.Action? gameCenterLeaderboardSetReleases1 = null, - - global::System.Action? gameCenterLeaderboardSetReleases2 = null, - - global::System.Action? gameCenterLeaderboardReleases2 = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -1063,61 +353,21 @@ public void Match( Validate(); } - if (AppStoreVersions is { } __value0) - { - appStoreVersions?.Invoke(__value0); - } - else if (GameCenterAppVersions1 is { } __value1) - { - gameCenterAppVersions1?.Invoke(__value1); - } - else if (GameCenterAchievementReleases1 is { } __value2) - { - gameCenterAchievementReleases1?.Invoke(__value2); - } - else if (GameCenterAchievementReleases2 is { } __value3) - { - gameCenterAchievementReleases2?.Invoke(__value3); - } - else if (GameCenterActivities is { } __value4) + if (GameCenterChallengeVersions is { } __value0) { - gameCenterActivities?.Invoke(__value4); + gameCenterChallengeVersions?.Invoke(__value0); } - else if (GameCenterActivityVersionReleases is { } __value5) + else if (GameCenterDetails is { } __value1) { - gameCenterActivityVersionReleases?.Invoke(__value5); + gameCenterDetails?.Invoke(__value1); } - else if (GameCenterAppVersions2 is { } __value6) + else if (GameCenterGroups is { } __value2) { - gameCenterAppVersions2?.Invoke(__value6); + gameCenterGroups?.Invoke(__value2); } - else if (GameCenterChallengeVersionReleases1 is { } __value7) + else if (GameCenterLeaderboards is { } __value3) { - gameCenterChallengeVersionReleases1?.Invoke(__value7); - } - else if (GameCenterChallengeVersionReleases2 is { } __value8) - { - gameCenterChallengeVersionReleases2?.Invoke(__value8); - } - else if (GameCenterGroups is { } __value9) - { - gameCenterGroups?.Invoke(__value9); - } - else if (GameCenterLeaderboardReleases1 is { } __value10) - { - gameCenterLeaderboardReleases1?.Invoke(__value10); - } - else if (GameCenterLeaderboardSetReleases1 is { } __value11) - { - gameCenterLeaderboardSetReleases1?.Invoke(__value11); - } - else if (GameCenterLeaderboardSetReleases2 is { } __value12) - { - gameCenterLeaderboardSetReleases2?.Invoke(__value12); - } - else if (GameCenterLeaderboardReleases2 is { } __value13) - { - gameCenterLeaderboardReleases2?.Invoke(__value13); + gameCenterLeaderboards?.Invoke(__value3); } } @@ -1125,20 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appStoreVersions = null, - global::System.Action? gameCenterAppVersions1 = null, - global::System.Action? gameCenterAchievementReleases1 = null, - global::System.Action? gameCenterAchievementReleases2 = null, - global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterActivityVersionReleases = null, - global::System.Action? gameCenterAppVersions2 = null, - global::System.Action? gameCenterChallengeVersionReleases1 = null, - global::System.Action? gameCenterChallengeVersionReleases2 = null, + global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardReleases1 = null, - global::System.Action? gameCenterLeaderboardSetReleases1 = null, - global::System.Action? gameCenterLeaderboardSetReleases2 = null, - global::System.Action? gameCenterLeaderboardReleases2 = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -1146,61 +386,21 @@ public void Switch( Validate(); } - if (AppStoreVersions is { } __value0) - { - appStoreVersions?.Invoke(__value0); - } - else if (GameCenterAppVersions1 is { } __value1) - { - gameCenterAppVersions1?.Invoke(__value1); - } - else if (GameCenterAchievementReleases1 is { } __value2) - { - gameCenterAchievementReleases1?.Invoke(__value2); - } - else if (GameCenterAchievementReleases2 is { } __value3) - { - gameCenterAchievementReleases2?.Invoke(__value3); - } - else if (GameCenterActivities is { } __value4) - { - gameCenterActivities?.Invoke(__value4); - } - else if (GameCenterActivityVersionReleases is { } __value5) - { - gameCenterActivityVersionReleases?.Invoke(__value5); - } - else if (GameCenterAppVersions2 is { } __value6) - { - gameCenterAppVersions2?.Invoke(__value6); - } - else if (GameCenterChallengeVersionReleases1 is { } __value7) - { - gameCenterChallengeVersionReleases1?.Invoke(__value7); - } - else if (GameCenterChallengeVersionReleases2 is { } __value8) - { - gameCenterChallengeVersionReleases2?.Invoke(__value8); - } - else if (GameCenterGroups is { } __value9) - { - gameCenterGroups?.Invoke(__value9); - } - else if (GameCenterLeaderboardReleases1 is { } __value10) + if (GameCenterChallengeVersions is { } __value0) { - gameCenterLeaderboardReleases1?.Invoke(__value10); + gameCenterChallengeVersions?.Invoke(__value0); } - else if (GameCenterLeaderboardSetReleases1 is { } __value11) + else if (GameCenterDetails is { } __value1) { - gameCenterLeaderboardSetReleases1?.Invoke(__value11); + gameCenterDetails?.Invoke(__value1); } - else if (GameCenterLeaderboardSetReleases2 is { } __value12) + else if (GameCenterGroups is { } __value2) { - gameCenterLeaderboardSetReleases2?.Invoke(__value12); + gameCenterGroups?.Invoke(__value2); } - else if (GameCenterLeaderboardReleases2 is { } __value13) + else if (GameCenterLeaderboards is { } __value3) { - gameCenterLeaderboardReleases2?.Invoke(__value13); + gameCenterLeaderboards?.Invoke(__value3); } } @@ -1211,33 +411,13 @@ public override int GetHashCode() { var fields = new object?[] { - AppStoreVersions, - typeof(global::AppStoreConnect.AppStoreVersion), - GameCenterAppVersions1, - typeof(global::AppStoreConnect.App), - GameCenterAchievementReleases1, - typeof(global::AppStoreConnect.GameCenterAchievementRelease), - GameCenterAchievementReleases2, - typeof(global::AppStoreConnect.GameCenterAchievement), - GameCenterActivities, - typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterActivityVersionReleases, - typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), - GameCenterAppVersions2, - typeof(global::AppStoreConnect.GameCenterAppVersion), - GameCenterChallengeVersionReleases1, - typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), - GameCenterChallengeVersionReleases2, - typeof(global::AppStoreConnect.GameCenterChallenge), + GameCenterChallengeVersions, + typeof(global::AppStoreConnect.GameCenterChallengeVersion), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), GameCenterGroups, typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboardReleases1, - typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), - GameCenterLeaderboardSetReleases1, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), - GameCenterLeaderboardSetReleases2, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardReleases2, + GameCenterLeaderboards, typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); @@ -1255,20 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem102 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions1, other.GameCenterAppVersions1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases1, other.GameCenterAchievementReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases2, other.GameCenterAchievementReleases2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersionReleases, other.GameCenterActivityVersionReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions2, other.GameCenterAppVersions2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases1, other.GameCenterChallengeVersionReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases2, other.GameCenterChallengeVersionReleases2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases1, other.GameCenterLeaderboardReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases1, other.GameCenterLeaderboardSetReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases2, other.GameCenterLeaderboardSetReleases2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases2, other.GameCenterLeaderboardReleases2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem103.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem103.g.cs index 502007bf4..5178635d9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem103.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem103.g.cs @@ -12,156 +12,924 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] #endif - public bool IsApps => Apps != null; + public bool IsAppStoreVersions => AppStoreVersions != null; /// /// /// - public bool TryPickApps( + public bool TryPickAppStoreVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersion? value) + { + value = AppStoreVersions; + return IsAppStoreVersions; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? GameCenterAppVersions1 { get; init; } +#else + public global::AppStoreConnect.App? GameCenterAppVersions1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions1))] +#endif + public bool IsGameCenterAppVersions1 => GameCenterAppVersions1 != null; + + /// + /// + /// + public bool TryPickGameCenterAppVersions1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.App? value) { - value = Apps; - return IsApps; + value = GameCenterAppVersions1; + return IsGameCenterAppVersions1; + } + + /// + /// + /// + public global::AppStoreConnect.App PickGameCenterAppVersions1() => GameCenterAppVersions1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases1 { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases1))] +#endif + public bool IsGameCenterAchievementReleases1 => GameCenterAchievementReleases1 != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementReleases1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAchievementRelease? value) + { + value = GameCenterAchievementReleases1; + return IsGameCenterAchievementReleases1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAchievementRelease PickGameCenterAchievementReleases1() => GameCenterAchievementReleases1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementReleases2 { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementReleases2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases2))] +#endif + public bool IsGameCenterAchievementReleases2 => GameCenterAchievementReleases2 != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementReleases2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAchievement? value) + { + value = GameCenterAchievementReleases2; + return IsGameCenterAchievementReleases2; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievementReleases2() => GameCenterAchievementReleases2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } +#else + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] +#endif + public bool IsGameCenterActivities => GameCenterActivities != null; + + /// + /// + /// + public bool TryPickGameCenterActivities( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivity? value) + { + value = GameCenterActivities; + return IsGameCenterActivities; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; init; } +#else + public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersionReleases))] +#endif + public bool IsGameCenterActivityVersionReleases => GameCenterActivityVersionReleases != null; + + /// + /// + /// + public bool TryPickGameCenterActivityVersionReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivityVersionRelease? value) + { + value = GameCenterActivityVersionReleases; + return IsGameCenterActivityVersionReleases; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivityVersionRelease PickGameCenterActivityVersionReleases() => GameCenterActivityVersionReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersionReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions2 { get; init; } +#else + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions2))] +#endif + public bool IsGameCenterAppVersions2 => GameCenterAppVersions2 != null; + + /// + /// + /// + public bool TryPickGameCenterAppVersions2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAppVersion? value) + { + value = GameCenterAppVersions2; + return IsGameCenterAppVersions2; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions2() => GameCenterAppVersions2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases1 { get; init; } +#else + public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases1))] +#endif + public bool IsGameCenterChallengeVersionReleases1 => GameCenterChallengeVersionReleases1 != null; + + /// + /// + /// + public bool TryPickGameCenterChallengeVersionReleases1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterChallengeVersionRelease? value) + { + value = GameCenterChallengeVersionReleases1; + return IsGameCenterChallengeVersionReleases1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterChallengeVersionRelease PickGameCenterChallengeVersionReleases1() => GameCenterChallengeVersionReleases1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeVersionReleases2 { get; init; } +#else + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeVersionReleases2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases2))] +#endif + public bool IsGameCenterChallengeVersionReleases2 => GameCenterChallengeVersionReleases2 != null; + + /// + /// + /// + public bool TryPickGameCenterChallengeVersionReleases2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterChallenge? value) + { + value = GameCenterChallengeVersionReleases2; + return IsGameCenterChallengeVersionReleases2; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallengeVersionReleases2() => GameCenterChallengeVersionReleases2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } +#else + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] +#endif + public bool IsGameCenterGroups => GameCenterGroups != null; + + /// + /// + /// + public bool TryPickGameCenterGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterGroup? value) + { + value = GameCenterGroups; + return IsGameCenterGroups; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases1))] +#endif + public bool IsGameCenterLeaderboardReleases1 => GameCenterLeaderboardReleases1 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardReleases1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardRelease? value) + { + value = GameCenterLeaderboardReleases1; + return IsGameCenterLeaderboardReleases1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardRelease PickGameCenterLeaderboardReleases1() => GameCenterLeaderboardReleases1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases1 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases1))] +#endif + public bool IsGameCenterLeaderboardSetReleases1 => GameCenterLeaderboardSetReleases1 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSetReleases1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) + { + value = GameCenterLeaderboardSetReleases1; + return IsGameCenterLeaderboardSetReleases1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSetRelease PickGameCenterLeaderboardSetReleases1() => GameCenterLeaderboardSetReleases1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSetReleases2 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSetReleases2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases2))] +#endif + public bool IsGameCenterLeaderboardSetReleases2 => GameCenterLeaderboardSetReleases2 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSetReleases2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSet? value) + { + value = GameCenterLeaderboardSetReleases2; + return IsGameCenterLeaderboardSetReleases2; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSetReleases2() => GameCenterLeaderboardSetReleases2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases2))] +#endif + public bool IsGameCenterLeaderboardReleases2 => GameCenterLeaderboardReleases2 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardReleases2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboard? value) + { + value = GameCenterLeaderboardReleases2; + return IsGameCenterLeaderboardReleases2; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardReleases2() => GameCenterLeaderboardReleases2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem103((global::AppStoreConnect.AppStoreVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem103 @this) => @this.AppStoreVersions; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.AppStoreVersion? value) + { + AppStoreVersions = value; + } + + /// + /// + /// + public static IncludedItem103 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.App value) => new IncludedItem103((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem103 @this) => @this.GameCenterAppVersions1; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.App? value) + { + GameCenterAppVersions1 = value; + } + + /// + /// + /// + public static IncludedItem103 FromGameCenterAppVersions1(global::AppStoreConnect.App? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterAchievementRelease value) => new IncludedItem103((global::AppStoreConnect.GameCenterAchievementRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterAchievementRelease?(IncludedItem103 @this) => @this.GameCenterAchievementReleases1; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.GameCenterAchievementRelease? value) + { + GameCenterAchievementReleases1 = value; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + public static IncludedItem103 FromGameCenterAchievementReleases1(global::AppStoreConnect.GameCenterAchievementRelease? value) => new IncludedItem103(value); /// /// /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; } -#endif + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem103((global::AppStoreConnect.GameCenterAchievement?)value); /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterEnabledVersions))] -#endif - public bool IsGameCenterEnabledVersions => GameCenterEnabledVersions != null; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem103 @this) => @this.GameCenterAchievementReleases2; /// /// /// - public bool TryPickGameCenterEnabledVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterEnabledVersion? value) + public IncludedItem103(global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterEnabledVersions; - return IsGameCenterEnabledVersions; + GameCenterAchievementReleases2 = value; } /// /// /// - public global::AppStoreConnect.GameCenterEnabledVersion PickGameCenterEnabledVersions() => GameCenterEnabledVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterEnabledVersions' but the value was {ToString()}."); + public static IncludedItem103 FromGameCenterAchievementReleases2(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem103(value); + /// /// /// - public static implicit operator IncludedItem103(global::AppStoreConnect.App value) => new IncludedItem103((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem103((global::AppStoreConnect.GameCenterActivity?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem103 @this) => @this.Apps; + public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem103 @this) => @this.GameCenterActivities; /// /// /// - public IncludedItem103(global::AppStoreConnect.App? value) + public IncludedItem103(global::AppStoreConnect.GameCenterActivity? value) + { + GameCenterActivities = value; + } + + /// + /// + /// + public static IncludedItem103 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterActivityVersionRelease value) => new IncludedItem103((global::AppStoreConnect.GameCenterActivityVersionRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivityVersionRelease?(IncludedItem103 @this) => @this.GameCenterActivityVersionReleases; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.GameCenterActivityVersionRelease? value) + { + GameCenterActivityVersionReleases = value; + } + + /// + /// + /// + public static IncludedItem103 FromGameCenterActivityVersionReleases(global::AppStoreConnect.GameCenterActivityVersionRelease? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem103((global::AppStoreConnect.GameCenterAppVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem103 @this) => @this.GameCenterAppVersions2; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.GameCenterAppVersion? value) + { + GameCenterAppVersions2 = value; + } + + /// + /// + /// + public static IncludedItem103 FromGameCenterAppVersions2(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterChallengeVersionRelease value) => new IncludedItem103((global::AppStoreConnect.GameCenterChallengeVersionRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersionRelease?(IncludedItem103 @this) => @this.GameCenterChallengeVersionReleases1; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) + { + GameCenterChallengeVersionReleases1 = value; + } + + /// + /// + /// + public static IncludedItem103 FromGameCenterChallengeVersionReleases1(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem103((global::AppStoreConnect.GameCenterChallenge?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem103 @this) => @this.GameCenterChallengeVersionReleases2; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.GameCenterChallenge? value) + { + GameCenterChallengeVersionReleases2 = value; + } + + /// + /// + /// + public static IncludedItem103 FromGameCenterChallengeVersionReleases2(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem103((global::AppStoreConnect.GameCenterGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem103 @this) => @this.GameCenterGroups; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.GameCenterGroup? value) + { + GameCenterGroups = value; + } + + /// + /// + /// + public static IncludedItem103 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterLeaderboardRelease value) => new IncludedItem103((global::AppStoreConnect.GameCenterLeaderboardRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardRelease?(IncludedItem103 @this) => @this.GameCenterLeaderboardReleases1; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.GameCenterLeaderboardRelease? value) + { + GameCenterLeaderboardReleases1 = value; + } + + /// + /// + /// + public static IncludedItem103 FromGameCenterLeaderboardReleases1(global::AppStoreConnect.GameCenterLeaderboardRelease? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterLeaderboardSetRelease value) => new IncludedItem103((global::AppStoreConnect.GameCenterLeaderboardSetRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetRelease?(IncludedItem103 @this) => @this.GameCenterLeaderboardSetReleases1; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) + { + GameCenterLeaderboardSetReleases1 = value; + } + + /// + /// + /// + public static IncludedItem103 FromGameCenterLeaderboardSetReleases1(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) => new IncludedItem103(value); + + /// + /// + /// + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem103((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem103 @this) => @this.GameCenterLeaderboardSetReleases2; + + /// + /// + /// + public IncludedItem103(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - Apps = value; + GameCenterLeaderboardSetReleases2 = value; } /// /// /// - public static IncludedItem103 FromApps(global::AppStoreConnect.App? value) => new IncludedItem103(value); + public static IncludedItem103 FromGameCenterLeaderboardSetReleases2(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem103(value); /// /// /// - public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterEnabledVersion value) => new IncludedItem103((global::AppStoreConnect.GameCenterEnabledVersion?)value); + public static implicit operator IncludedItem103(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem103((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterEnabledVersion?(IncludedItem103 @this) => @this.GameCenterEnabledVersions; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem103 @this) => @this.GameCenterLeaderboardReleases2; /// /// /// - public IncludedItem103(global::AppStoreConnect.GameCenterEnabledVersion? value) + public IncludedItem103(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterEnabledVersions = value; + GameCenterLeaderboardReleases2 = value; } /// /// /// - public static IncludedItem103 FromGameCenterEnabledVersions(global::AppStoreConnect.GameCenterEnabledVersion? value) => new IncludedItem103(value); + public static IncludedItem103 FromGameCenterLeaderboardReleases2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem103(value); /// /// /// public IncludedItem103( - global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions + global::AppStoreConnect.GameCenterDetailsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersion? appStoreVersions, + global::AppStoreConnect.App? gameCenterAppVersions1, + global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases1, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementReleases2, + global::AppStoreConnect.GameCenterActivity? gameCenterActivities, + global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases, + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions2, + global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases1, + global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeVersionReleases2, + global::AppStoreConnect.GameCenterGroup? gameCenterGroups, + global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1, + global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases1, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSetReleases2, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 ) { Type = type; - Apps = apps; - GameCenterEnabledVersions = gameCenterEnabledVersions; + AppStoreVersions = appStoreVersions; + GameCenterAppVersions1 = gameCenterAppVersions1; + GameCenterAchievementReleases1 = gameCenterAchievementReleases1; + GameCenterAchievementReleases2 = gameCenterAchievementReleases2; + GameCenterActivities = gameCenterActivities; + GameCenterActivityVersionReleases = gameCenterActivityVersionReleases; + GameCenterAppVersions2 = gameCenterAppVersions2; + GameCenterChallengeVersionReleases1 = gameCenterChallengeVersionReleases1; + GameCenterChallengeVersionReleases2 = gameCenterChallengeVersionReleases2; + GameCenterGroups = gameCenterGroups; + GameCenterLeaderboardReleases1 = gameCenterLeaderboardReleases1; + GameCenterLeaderboardSetReleases1 = gameCenterLeaderboardSetReleases1; + GameCenterLeaderboardSetReleases2 = gameCenterLeaderboardSetReleases2; + GameCenterLeaderboardReleases2 = gameCenterLeaderboardReleases2; } /// /// /// public object? Object => - GameCenterEnabledVersions as object ?? - Apps as object + GameCenterLeaderboardReleases2 as object ?? + GameCenterLeaderboardSetReleases2 as object ?? + GameCenterLeaderboardSetReleases1 as object ?? + GameCenterLeaderboardReleases1 as object ?? + GameCenterGroups as object ?? + GameCenterChallengeVersionReleases2 as object ?? + GameCenterChallengeVersionReleases1 as object ?? + GameCenterAppVersions2 as object ?? + GameCenterActivityVersionReleases as object ?? + GameCenterActivities as object ?? + GameCenterAchievementReleases2 as object ?? + GameCenterAchievementReleases1 as object ?? + GameCenterAppVersions1 as object ?? + AppStoreVersions as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - GameCenterEnabledVersions?.ToString() + AppStoreVersions?.ToString() ?? + GameCenterAppVersions1?.ToString() ?? + GameCenterAchievementReleases1?.ToString() ?? + GameCenterAchievementReleases2?.ToString() ?? + GameCenterActivities?.ToString() ?? + GameCenterActivityVersionReleases?.ToString() ?? + GameCenterAppVersions2?.ToString() ?? + GameCenterChallengeVersionReleases1?.ToString() ?? + GameCenterChallengeVersionReleases2?.ToString() ?? + GameCenterGroups?.ToString() ?? + GameCenterLeaderboardReleases1?.ToString() ?? + GameCenterLeaderboardSetReleases1?.ToString() ?? + GameCenterLeaderboardSetReleases2?.ToString() ?? + GameCenterLeaderboardReleases2?.ToString() ; /// @@ -169,15 +937,27 @@ Apps as object /// public bool Validate() { - return IsApps && !IsGameCenterEnabledVersions || !IsApps && IsGameCenterEnabledVersions; + return IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && IsGameCenterLeaderboardReleases2; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? gameCenterEnabledVersions = null, + global::System.Func? appStoreVersions = null, + global::System.Func? gameCenterAppVersions1 = null, + global::System.Func? gameCenterAchievementReleases1 = null, + global::System.Func? gameCenterAchievementReleases2 = null, + global::System.Func? gameCenterActivities = null, + global::System.Func? gameCenterActivityVersionReleases = null, + global::System.Func? gameCenterAppVersions2 = null, + global::System.Func? gameCenterChallengeVersionReleases1 = null, + global::System.Func? gameCenterChallengeVersionReleases2 = null, + global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterLeaderboardReleases1 = null, + global::System.Func? gameCenterLeaderboardSetReleases1 = null, + global::System.Func? gameCenterLeaderboardSetReleases2 = null, + global::System.Func? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -185,13 +965,61 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (AppStoreVersions is { } __value0 && appStoreVersions != null) + { + return appStoreVersions(__value0); + } + else if (GameCenterAppVersions1 is { } __value1 && gameCenterAppVersions1 != null) + { + return gameCenterAppVersions1(__value1); + } + else if (GameCenterAchievementReleases1 is { } __value2 && gameCenterAchievementReleases1 != null) + { + return gameCenterAchievementReleases1(__value2); + } + else if (GameCenterAchievementReleases2 is { } __value3 && gameCenterAchievementReleases2 != null) + { + return gameCenterAchievementReleases2(__value3); + } + else if (GameCenterActivities is { } __value4 && gameCenterActivities != null) + { + return gameCenterActivities(__value4); + } + else if (GameCenterActivityVersionReleases is { } __value5 && gameCenterActivityVersionReleases != null) + { + return gameCenterActivityVersionReleases(__value5); + } + else if (GameCenterAppVersions2 is { } __value6 && gameCenterAppVersions2 != null) + { + return gameCenterAppVersions2(__value6); + } + else if (GameCenterChallengeVersionReleases1 is { } __value7 && gameCenterChallengeVersionReleases1 != null) + { + return gameCenterChallengeVersionReleases1(__value7); + } + else if (GameCenterChallengeVersionReleases2 is { } __value8 && gameCenterChallengeVersionReleases2 != null) + { + return gameCenterChallengeVersionReleases2(__value8); + } + else if (GameCenterGroups is { } __value9 && gameCenterGroups != null) + { + return gameCenterGroups(__value9); + } + else if (GameCenterLeaderboardReleases1 is { } __value10 && gameCenterLeaderboardReleases1 != null) { - return apps(__value0); + return gameCenterLeaderboardReleases1(__value10); } - else if (GameCenterEnabledVersions is { } __value1 && gameCenterEnabledVersions != null) + else if (GameCenterLeaderboardSetReleases1 is { } __value11 && gameCenterLeaderboardSetReleases1 != null) { - return gameCenterEnabledVersions(__value1); + return gameCenterLeaderboardSetReleases1(__value11); + } + else if (GameCenterLeaderboardSetReleases2 is { } __value12 && gameCenterLeaderboardSetReleases2 != null) + { + return gameCenterLeaderboardSetReleases2(__value12); + } + else if (GameCenterLeaderboardReleases2 is { } __value13 && gameCenterLeaderboardReleases2 != null) + { + return gameCenterLeaderboardReleases2(__value13); } return default(TResult); @@ -201,9 +1029,33 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? appStoreVersions = null, + + global::System.Action? gameCenterAppVersions1 = null, + + global::System.Action? gameCenterAchievementReleases1 = null, + + global::System.Action? gameCenterAchievementReleases2 = null, + + global::System.Action? gameCenterActivities = null, + + global::System.Action? gameCenterActivityVersionReleases = null, + + global::System.Action? gameCenterAppVersions2 = null, + + global::System.Action? gameCenterChallengeVersionReleases1 = null, + + global::System.Action? gameCenterChallengeVersionReleases2 = null, + + global::System.Action? gameCenterGroups = null, + + global::System.Action? gameCenterLeaderboardReleases1 = null, + + global::System.Action? gameCenterLeaderboardSetReleases1 = null, + + global::System.Action? gameCenterLeaderboardSetReleases2 = null, - global::System.Action? gameCenterEnabledVersions = null, + global::System.Action? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -211,13 +1063,61 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (AppStoreVersions is { } __value0) + { + appStoreVersions?.Invoke(__value0); + } + else if (GameCenterAppVersions1 is { } __value1) + { + gameCenterAppVersions1?.Invoke(__value1); + } + else if (GameCenterAchievementReleases1 is { } __value2) + { + gameCenterAchievementReleases1?.Invoke(__value2); + } + else if (GameCenterAchievementReleases2 is { } __value3) + { + gameCenterAchievementReleases2?.Invoke(__value3); + } + else if (GameCenterActivities is { } __value4) + { + gameCenterActivities?.Invoke(__value4); + } + else if (GameCenterActivityVersionReleases is { } __value5) + { + gameCenterActivityVersionReleases?.Invoke(__value5); + } + else if (GameCenterAppVersions2 is { } __value6) + { + gameCenterAppVersions2?.Invoke(__value6); + } + else if (GameCenterChallengeVersionReleases1 is { } __value7) + { + gameCenterChallengeVersionReleases1?.Invoke(__value7); + } + else if (GameCenterChallengeVersionReleases2 is { } __value8) { - apps?.Invoke(__value0); + gameCenterChallengeVersionReleases2?.Invoke(__value8); } - else if (GameCenterEnabledVersions is { } __value1) + else if (GameCenterGroups is { } __value9) { - gameCenterEnabledVersions?.Invoke(__value1); + gameCenterGroups?.Invoke(__value9); + } + else if (GameCenterLeaderboardReleases1 is { } __value10) + { + gameCenterLeaderboardReleases1?.Invoke(__value10); + } + else if (GameCenterLeaderboardSetReleases1 is { } __value11) + { + gameCenterLeaderboardSetReleases1?.Invoke(__value11); + } + else if (GameCenterLeaderboardSetReleases2 is { } __value12) + { + gameCenterLeaderboardSetReleases2?.Invoke(__value12); + } + else if (GameCenterLeaderboardReleases2 is { } __value13) + { + gameCenterLeaderboardReleases2?.Invoke(__value13); } } @@ -225,8 +1125,20 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? gameCenterEnabledVersions = null, + global::System.Action? appStoreVersions = null, + global::System.Action? gameCenterAppVersions1 = null, + global::System.Action? gameCenterAchievementReleases1 = null, + global::System.Action? gameCenterAchievementReleases2 = null, + global::System.Action? gameCenterActivities = null, + global::System.Action? gameCenterActivityVersionReleases = null, + global::System.Action? gameCenterAppVersions2 = null, + global::System.Action? gameCenterChallengeVersionReleases1 = null, + global::System.Action? gameCenterChallengeVersionReleases2 = null, + global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboardReleases1 = null, + global::System.Action? gameCenterLeaderboardSetReleases1 = null, + global::System.Action? gameCenterLeaderboardSetReleases2 = null, + global::System.Action? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -234,13 +1146,61 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (AppStoreVersions is { } __value0) + { + appStoreVersions?.Invoke(__value0); + } + else if (GameCenterAppVersions1 is { } __value1) + { + gameCenterAppVersions1?.Invoke(__value1); + } + else if (GameCenterAchievementReleases1 is { } __value2) + { + gameCenterAchievementReleases1?.Invoke(__value2); + } + else if (GameCenterAchievementReleases2 is { } __value3) + { + gameCenterAchievementReleases2?.Invoke(__value3); + } + else if (GameCenterActivities is { } __value4) + { + gameCenterActivities?.Invoke(__value4); + } + else if (GameCenterActivityVersionReleases is { } __value5) + { + gameCenterActivityVersionReleases?.Invoke(__value5); + } + else if (GameCenterAppVersions2 is { } __value6) + { + gameCenterAppVersions2?.Invoke(__value6); + } + else if (GameCenterChallengeVersionReleases1 is { } __value7) + { + gameCenterChallengeVersionReleases1?.Invoke(__value7); + } + else if (GameCenterChallengeVersionReleases2 is { } __value8) + { + gameCenterChallengeVersionReleases2?.Invoke(__value8); + } + else if (GameCenterGroups is { } __value9) + { + gameCenterGroups?.Invoke(__value9); + } + else if (GameCenterLeaderboardReleases1 is { } __value10) + { + gameCenterLeaderboardReleases1?.Invoke(__value10); + } + else if (GameCenterLeaderboardSetReleases1 is { } __value11) + { + gameCenterLeaderboardSetReleases1?.Invoke(__value11); + } + else if (GameCenterLeaderboardSetReleases2 is { } __value12) { - apps?.Invoke(__value0); + gameCenterLeaderboardSetReleases2?.Invoke(__value12); } - else if (GameCenterEnabledVersions is { } __value1) + else if (GameCenterLeaderboardReleases2 is { } __value13) { - gameCenterEnabledVersions?.Invoke(__value1); + gameCenterLeaderboardReleases2?.Invoke(__value13); } } @@ -251,10 +1211,34 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), + GameCenterAppVersions1, typeof(global::AppStoreConnect.App), - GameCenterEnabledVersions, - typeof(global::AppStoreConnect.GameCenterEnabledVersion), + GameCenterAchievementReleases1, + typeof(global::AppStoreConnect.GameCenterAchievementRelease), + GameCenterAchievementReleases2, + typeof(global::AppStoreConnect.GameCenterAchievement), + GameCenterActivities, + typeof(global::AppStoreConnect.GameCenterActivity), + GameCenterActivityVersionReleases, + typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), + GameCenterAppVersions2, + typeof(global::AppStoreConnect.GameCenterAppVersion), + GameCenterChallengeVersionReleases1, + typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), + GameCenterChallengeVersionReleases2, + typeof(global::AppStoreConnect.GameCenterChallenge), + GameCenterGroups, + typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboardReleases1, + typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), + GameCenterLeaderboardSetReleases1, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), + GameCenterLeaderboardSetReleases2, + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterLeaderboardReleases2, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +1255,20 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem103 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterEnabledVersions, other.GameCenterEnabledVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions1, other.GameCenterAppVersions1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases1, other.GameCenterAchievementReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases2, other.GameCenterAchievementReleases2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersionReleases, other.GameCenterActivityVersionReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions2, other.GameCenterAppVersions2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases1, other.GameCenterChallengeVersionReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases2, other.GameCenterChallengeVersionReleases2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases1, other.GameCenterLeaderboardReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases1, other.GameCenterLeaderboardSetReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases2, other.GameCenterLeaderboardSetReleases2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases2, other.GameCenterLeaderboardReleases2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem104.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem104.g.cs index cee173d89..05392fc36 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem104.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem104.g.cs @@ -12,44 +12,155 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } #else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsAppStoreVersions => AppStoreVersions != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickAppStoreVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersion? value) + { + value = AppStoreVersions; + return IsAppStoreVersions; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? GameCenterAppVersions1 { get; init; } +#else + public global::AppStoreConnect.App? GameCenterAppVersions1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions1))] +#endif + public bool IsGameCenterAppVersions1 => GameCenterAppVersions1 != null; + + /// + /// + /// + public bool TryPickGameCenterAppVersions1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.App? value) + { + value = GameCenterAppVersions1; + return IsGameCenterAppVersions1; + } + + /// + /// + /// + public global::AppStoreConnect.App PickGameCenterAppVersions1() => GameCenterAppVersions1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases1 { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases1))] +#endif + public bool IsGameCenterAchievementReleases1 => GameCenterAchievementReleases1 != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementReleases1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAchievementRelease? value) + { + value = GameCenterAchievementReleases1; + return IsGameCenterAchievementReleases1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAchievementRelease PickGameCenterAchievementReleases1() => GameCenterAchievementReleases1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementReleases2 { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementReleases2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases2))] +#endif + public bool IsGameCenterAchievementReleases2 => GameCenterAchievementReleases2 != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementReleases2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = GameCenterAchievementReleases2; + return IsGameCenterAchievementReleases2; } /// /// /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievementReleases2() => GameCenterAchievementReleases2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases2' but the value was {ToString()}."); /// /// @@ -92,149 +203,403 @@ public bool TryPickGameCenterActivities( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; init; } + public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; init; } +#else + public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersionReleases))] +#endif + public bool IsGameCenterActivityVersionReleases => GameCenterActivityVersionReleases != null; + + /// + /// + /// + public bool TryPickGameCenterActivityVersionReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivityVersionRelease? value) + { + value = GameCenterActivityVersionReleases; + return IsGameCenterActivityVersionReleases; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivityVersionRelease PickGameCenterActivityVersionReleases() => GameCenterActivityVersionReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersionReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions2 { get; init; } +#else + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions2))] +#endif + public bool IsGameCenterAppVersions2 => GameCenterAppVersions2 != null; + + /// + /// + /// + public bool TryPickGameCenterAppVersions2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAppVersion? value) + { + value = GameCenterAppVersions2; + return IsGameCenterAppVersions2; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions2() => GameCenterAppVersions2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases1 { get; init; } +#else + public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases1))] +#endif + public bool IsGameCenterChallengeVersionReleases1 => GameCenterChallengeVersionReleases1 != null; + + /// + /// + /// + public bool TryPickGameCenterChallengeVersionReleases1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterChallengeVersionRelease? value) + { + value = GameCenterChallengeVersionReleases1; + return IsGameCenterChallengeVersionReleases1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterChallengeVersionRelease PickGameCenterChallengeVersionReleases1() => GameCenterChallengeVersionReleases1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeVersionReleases2 { get; init; } #else - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; } + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeVersionReleases2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallenges))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases2))] #endif - public bool IsGameCenterChallenges => GameCenterChallenges != null; + public bool IsGameCenterChallengeVersionReleases2 => GameCenterChallengeVersionReleases2 != null; /// /// /// - public bool TryPickGameCenterChallenges( + public bool TryPickGameCenterChallengeVersionReleases2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterChallenge? value) { - value = GameCenterChallenges; - return IsGameCenterChallenges; + value = GameCenterChallengeVersionReleases2; + return IsGameCenterChallengeVersionReleases2; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallengeVersionReleases2() => GameCenterChallengeVersionReleases2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } +#else + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] +#endif + public bool IsGameCenterGroups => GameCenterGroups != null; + + /// + /// + /// + public bool TryPickGameCenterGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterGroup? value) + { + value = GameCenterGroups; + return IsGameCenterGroups; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases1))] +#endif + public bool IsGameCenterLeaderboardReleases1 => GameCenterLeaderboardReleases1 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardReleases1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardRelease? value) + { + value = GameCenterLeaderboardReleases1; + return IsGameCenterLeaderboardReleases1; } /// /// /// - public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallenges() => GameCenterChallenges is { } value + public global::AppStoreConnect.GameCenterLeaderboardRelease PickGameCenterLeaderboardReleases1() => GameCenterLeaderboardReleases1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallenges' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases1 { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases1))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterLeaderboardSetReleases1 => GameCenterLeaderboardSetReleases1 != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterLeaderboardSetReleases1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterLeaderboardSetReleases1; + return IsGameCenterLeaderboardSetReleases1; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetRelease PickGameCenterLeaderboardSetReleases1() => GameCenterLeaderboardSetReleases1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSetReleases2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSetReleases2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases2))] #endif - public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; + public bool IsGameCenterLeaderboardSetReleases2 => GameCenterLeaderboardSetReleases2 != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets1( + public bool TryPickGameCenterLeaderboardSetReleases2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterLeaderboardSet? value) { - value = GameCenterLeaderboardSets1; - return IsGameCenterLeaderboardSets1; + value = GameCenterLeaderboardSetReleases2; + return IsGameCenterLeaderboardSetReleases2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSetReleases2() => GameCenterLeaderboardSetReleases2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases2' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases2))] #endif - public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; + public bool IsGameCenterLeaderboardReleases2 => GameCenterLeaderboardReleases2 != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets2( + public bool TryPickGameCenterLeaderboardReleases2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardSets2; - return IsGameCenterLeaderboardSets2; + value = GameCenterLeaderboardReleases2; + return IsGameCenterLeaderboardReleases2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardReleases2() => GameCenterLeaderboardReleases2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem104(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem104((global::AppStoreConnect.AppStoreVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem104 @this) => @this.AppStoreVersions; + + /// + /// + /// + public IncludedItem104(global::AppStoreConnect.AppStoreVersion? value) + { + AppStoreVersions = value; + } + + /// + /// + /// + public static IncludedItem104 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem104(value); + + /// + /// + /// + public static implicit operator IncludedItem104(global::AppStoreConnect.App value) => new IncludedItem104((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem104 @this) => @this.GameCenterAppVersions1; + + /// + /// + /// + public IncludedItem104(global::AppStoreConnect.App? value) + { + GameCenterAppVersions1 = value; + } + + /// + /// + /// + public static IncludedItem104 FromGameCenterAppVersions1(global::AppStoreConnect.App? value) => new IncludedItem104(value); + + /// + /// + /// + public static implicit operator IncludedItem104(global::AppStoreConnect.GameCenterAchievementRelease value) => new IncludedItem104((global::AppStoreConnect.GameCenterAchievementRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterAchievementRelease?(IncludedItem104 @this) => @this.GameCenterAchievementReleases1; + + /// + /// + /// + public IncludedItem104(global::AppStoreConnect.GameCenterAchievementRelease? value) + { + GameCenterAchievementReleases1 = value; + } + + /// + /// + /// + public static IncludedItem104 FromGameCenterAchievementReleases1(global::AppStoreConnect.GameCenterAchievementRelease? value) => new IncludedItem104(value); + /// /// /// @@ -243,20 +608,20 @@ public bool TryPickGameCenterLeaderboardSets2( /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem104 @this) => @this.GameCenterAchievements; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem104 @this) => @this.GameCenterAchievementReleases2; /// /// /// public IncludedItem104(global::AppStoreConnect.GameCenterAchievement? value) { - GameCenterAchievements = value; + GameCenterAchievementReleases2 = value; } /// /// /// - public static IncludedItem104 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem104(value); + public static IncludedItem104 FromGameCenterAchievementReleases2(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem104(value); /// /// @@ -281,6 +646,75 @@ public IncludedItem104(global::AppStoreConnect.GameCenterActivity? value) /// public static IncludedItem104 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem104(value); + /// + /// + /// + public static implicit operator IncludedItem104(global::AppStoreConnect.GameCenterActivityVersionRelease value) => new IncludedItem104((global::AppStoreConnect.GameCenterActivityVersionRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivityVersionRelease?(IncludedItem104 @this) => @this.GameCenterActivityVersionReleases; + + /// + /// + /// + public IncludedItem104(global::AppStoreConnect.GameCenterActivityVersionRelease? value) + { + GameCenterActivityVersionReleases = value; + } + + /// + /// + /// + public static IncludedItem104 FromGameCenterActivityVersionReleases(global::AppStoreConnect.GameCenterActivityVersionRelease? value) => new IncludedItem104(value); + + /// + /// + /// + public static implicit operator IncludedItem104(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem104((global::AppStoreConnect.GameCenterAppVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem104 @this) => @this.GameCenterAppVersions2; + + /// + /// + /// + public IncludedItem104(global::AppStoreConnect.GameCenterAppVersion? value) + { + GameCenterAppVersions2 = value; + } + + /// + /// + /// + public static IncludedItem104 FromGameCenterAppVersions2(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem104(value); + + /// + /// + /// + public static implicit operator IncludedItem104(global::AppStoreConnect.GameCenterChallengeVersionRelease value) => new IncludedItem104((global::AppStoreConnect.GameCenterChallengeVersionRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersionRelease?(IncludedItem104 @this) => @this.GameCenterChallengeVersionReleases1; + + /// + /// + /// + public IncludedItem104(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) + { + GameCenterChallengeVersionReleases1 = value; + } + + /// + /// + /// + public static IncludedItem104 FromGameCenterChallengeVersionReleases1(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) => new IncludedItem104(value); + /// /// /// @@ -289,43 +723,89 @@ public IncludedItem104(global::AppStoreConnect.GameCenterActivity? value) /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem104 @this) => @this.GameCenterChallenges; + public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem104 @this) => @this.GameCenterChallengeVersionReleases2; /// /// /// public IncludedItem104(global::AppStoreConnect.GameCenterChallenge? value) { - GameCenterChallenges = value; + GameCenterChallengeVersionReleases2 = value; + } + + /// + /// + /// + public static IncludedItem104 FromGameCenterChallengeVersionReleases2(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem104(value); + + /// + /// + /// + public static implicit operator IncludedItem104(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem104((global::AppStoreConnect.GameCenterGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem104 @this) => @this.GameCenterGroups; + + /// + /// + /// + public IncludedItem104(global::AppStoreConnect.GameCenterGroup? value) + { + GameCenterGroups = value; + } + + /// + /// + /// + public static IncludedItem104 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem104(value); + + /// + /// + /// + public static implicit operator IncludedItem104(global::AppStoreConnect.GameCenterLeaderboardRelease value) => new IncludedItem104((global::AppStoreConnect.GameCenterLeaderboardRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardRelease?(IncludedItem104 @this) => @this.GameCenterLeaderboardReleases1; + + /// + /// + /// + public IncludedItem104(global::AppStoreConnect.GameCenterLeaderboardRelease? value) + { + GameCenterLeaderboardReleases1 = value; } /// /// /// - public static IncludedItem104 FromGameCenterChallenges(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem104(value); + public static IncludedItem104 FromGameCenterLeaderboardReleases1(global::AppStoreConnect.GameCenterLeaderboardRelease? value) => new IncludedItem104(value); /// /// /// - public static implicit operator IncludedItem104(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem104((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem104(global::AppStoreConnect.GameCenterLeaderboardSetRelease value) => new IncludedItem104((global::AppStoreConnect.GameCenterLeaderboardSetRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem104 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetRelease?(IncludedItem104 @this) => @this.GameCenterLeaderboardSetReleases1; /// /// /// - public IncludedItem104(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem104(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) { - GameCenterDetails = value; + GameCenterLeaderboardSetReleases1 = value; } /// /// /// - public static IncludedItem104 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem104(value); + public static IncludedItem104 FromGameCenterLeaderboardSetReleases1(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) => new IncludedItem104(value); /// /// @@ -335,20 +815,20 @@ public IncludedItem104(global::AppStoreConnect.GameCenterDetail? value) /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem104 @this) => @this.GameCenterLeaderboardSets1; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem104 @this) => @this.GameCenterLeaderboardSetReleases2; /// /// /// public IncludedItem104(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - GameCenterLeaderboardSets1 = value; + GameCenterLeaderboardSetReleases2 = value; } /// /// /// - public static IncludedItem104 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem104(value); + public static IncludedItem104 FromGameCenterLeaderboardSetReleases2(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem104(value); /// /// @@ -358,66 +838,98 @@ public IncludedItem104(global::AppStoreConnect.GameCenterLeaderboardSet? value) /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem104 @this) => @this.GameCenterLeaderboardSets2; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem104 @this) => @this.GameCenterLeaderboardReleases2; /// /// /// public IncludedItem104(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardSets2 = value; + GameCenterLeaderboardReleases2 = value; } /// /// /// - public static IncludedItem104 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem104(value); + public static IncludedItem104 FromGameCenterLeaderboardReleases2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem104(value); /// /// /// public IncludedItem104( - global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, + global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersion? appStoreVersions, + global::AppStoreConnect.App? gameCenterAppVersions1, + global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases1, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementReleases2, global::AppStoreConnect.GameCenterActivity? gameCenterActivities, - global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 + global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases, + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions2, + global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases1, + global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeVersionReleases2, + global::AppStoreConnect.GameCenterGroup? gameCenterGroups, + global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1, + global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases1, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSetReleases2, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 ) { Type = type; - GameCenterAchievements = gameCenterAchievements; + AppStoreVersions = appStoreVersions; + GameCenterAppVersions1 = gameCenterAppVersions1; + GameCenterAchievementReleases1 = gameCenterAchievementReleases1; + GameCenterAchievementReleases2 = gameCenterAchievementReleases2; GameCenterActivities = gameCenterActivities; - GameCenterChallenges = gameCenterChallenges; - GameCenterDetails = gameCenterDetails; - GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; - GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; + GameCenterActivityVersionReleases = gameCenterActivityVersionReleases; + GameCenterAppVersions2 = gameCenterAppVersions2; + GameCenterChallengeVersionReleases1 = gameCenterChallengeVersionReleases1; + GameCenterChallengeVersionReleases2 = gameCenterChallengeVersionReleases2; + GameCenterGroups = gameCenterGroups; + GameCenterLeaderboardReleases1 = gameCenterLeaderboardReleases1; + GameCenterLeaderboardSetReleases1 = gameCenterLeaderboardSetReleases1; + GameCenterLeaderboardSetReleases2 = gameCenterLeaderboardSetReleases2; + GameCenterLeaderboardReleases2 = gameCenterLeaderboardReleases2; } /// /// /// public object? Object => - GameCenterLeaderboardSets2 as object ?? - GameCenterLeaderboardSets1 as object ?? - GameCenterDetails as object ?? - GameCenterChallenges as object ?? + GameCenterLeaderboardReleases2 as object ?? + GameCenterLeaderboardSetReleases2 as object ?? + GameCenterLeaderboardSetReleases1 as object ?? + GameCenterLeaderboardReleases1 as object ?? + GameCenterGroups as object ?? + GameCenterChallengeVersionReleases2 as object ?? + GameCenterChallengeVersionReleases1 as object ?? + GameCenterAppVersions2 as object ?? + GameCenterActivityVersionReleases as object ?? GameCenterActivities as object ?? - GameCenterAchievements as object + GameCenterAchievementReleases2 as object ?? + GameCenterAchievementReleases1 as object ?? + GameCenterAppVersions1 as object ?? + AppStoreVersions as object ; /// /// /// public override string? ToString() => - GameCenterAchievements?.ToString() ?? + AppStoreVersions?.ToString() ?? + GameCenterAppVersions1?.ToString() ?? + GameCenterAchievementReleases1?.ToString() ?? + GameCenterAchievementReleases2?.ToString() ?? GameCenterActivities?.ToString() ?? - GameCenterChallenges?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterLeaderboardSets1?.ToString() ?? - GameCenterLeaderboardSets2?.ToString() + GameCenterActivityVersionReleases?.ToString() ?? + GameCenterAppVersions2?.ToString() ?? + GameCenterChallengeVersionReleases1?.ToString() ?? + GameCenterChallengeVersionReleases2?.ToString() ?? + GameCenterGroups?.ToString() ?? + GameCenterLeaderboardReleases1?.ToString() ?? + GameCenterLeaderboardSetReleases1?.ToString() ?? + GameCenterLeaderboardSetReleases2?.ToString() ?? + GameCenterLeaderboardReleases2?.ToString() ; /// @@ -425,19 +937,27 @@ GameCenterAchievements as object /// public bool Validate() { - return IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; + return IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && IsGameCenterLeaderboardSetReleases2 && !IsGameCenterLeaderboardReleases2 || !IsAppStoreVersions && !IsGameCenterAppVersions1 && !IsGameCenterAchievementReleases1 && !IsGameCenterAchievementReleases2 && !IsGameCenterActivities && !IsGameCenterActivityVersionReleases && !IsGameCenterAppVersions2 && !IsGameCenterChallengeVersionReleases1 && !IsGameCenterChallengeVersionReleases2 && !IsGameCenterGroups && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSetReleases1 && !IsGameCenterLeaderboardSetReleases2 && IsGameCenterLeaderboardReleases2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievements = null, + global::System.Func? appStoreVersions = null, + global::System.Func? gameCenterAppVersions1 = null, + global::System.Func? gameCenterAchievementReleases1 = null, + global::System.Func? gameCenterAchievementReleases2 = null, global::System.Func? gameCenterActivities = null, - global::System.Func? gameCenterChallenges = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterLeaderboardSets1 = null, - global::System.Func? gameCenterLeaderboardSets2 = null, + global::System.Func? gameCenterActivityVersionReleases = null, + global::System.Func? gameCenterAppVersions2 = null, + global::System.Func? gameCenterChallengeVersionReleases1 = null, + global::System.Func? gameCenterChallengeVersionReleases2 = null, + global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterLeaderboardReleases1 = null, + global::System.Func? gameCenterLeaderboardSetReleases1 = null, + global::System.Func? gameCenterLeaderboardSetReleases2 = null, + global::System.Func? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -445,29 +965,61 @@ public bool Validate() Validate(); } - if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) + if (AppStoreVersions is { } __value0 && appStoreVersions != null) + { + return appStoreVersions(__value0); + } + else if (GameCenterAppVersions1 is { } __value1 && gameCenterAppVersions1 != null) + { + return gameCenterAppVersions1(__value1); + } + else if (GameCenterAchievementReleases1 is { } __value2 && gameCenterAchievementReleases1 != null) { - return gameCenterAchievements(__value0); + return gameCenterAchievementReleases1(__value2); } - else if (GameCenterActivities is { } __value1 && gameCenterActivities != null) + else if (GameCenterAchievementReleases2 is { } __value3 && gameCenterAchievementReleases2 != null) { - return gameCenterActivities(__value1); + return gameCenterAchievementReleases2(__value3); } - else if (GameCenterChallenges is { } __value2 && gameCenterChallenges != null) + else if (GameCenterActivities is { } __value4 && gameCenterActivities != null) { - return gameCenterChallenges(__value2); + return gameCenterActivities(__value4); } - else if (GameCenterDetails is { } __value3 && gameCenterDetails != null) + else if (GameCenterActivityVersionReleases is { } __value5 && gameCenterActivityVersionReleases != null) { - return gameCenterDetails(__value3); + return gameCenterActivityVersionReleases(__value5); } - else if (GameCenterLeaderboardSets1 is { } __value4 && gameCenterLeaderboardSets1 != null) + else if (GameCenterAppVersions2 is { } __value6 && gameCenterAppVersions2 != null) { - return gameCenterLeaderboardSets1(__value4); + return gameCenterAppVersions2(__value6); } - else if (GameCenterLeaderboardSets2 is { } __value5 && gameCenterLeaderboardSets2 != null) + else if (GameCenterChallengeVersionReleases1 is { } __value7 && gameCenterChallengeVersionReleases1 != null) { - return gameCenterLeaderboardSets2(__value5); + return gameCenterChallengeVersionReleases1(__value7); + } + else if (GameCenterChallengeVersionReleases2 is { } __value8 && gameCenterChallengeVersionReleases2 != null) + { + return gameCenterChallengeVersionReleases2(__value8); + } + else if (GameCenterGroups is { } __value9 && gameCenterGroups != null) + { + return gameCenterGroups(__value9); + } + else if (GameCenterLeaderboardReleases1 is { } __value10 && gameCenterLeaderboardReleases1 != null) + { + return gameCenterLeaderboardReleases1(__value10); + } + else if (GameCenterLeaderboardSetReleases1 is { } __value11 && gameCenterLeaderboardSetReleases1 != null) + { + return gameCenterLeaderboardSetReleases1(__value11); + } + else if (GameCenterLeaderboardSetReleases2 is { } __value12 && gameCenterLeaderboardSetReleases2 != null) + { + return gameCenterLeaderboardSetReleases2(__value12); + } + else if (GameCenterLeaderboardReleases2 is { } __value13 && gameCenterLeaderboardReleases2 != null) + { + return gameCenterLeaderboardReleases2(__value13); } return default(TResult); @@ -477,17 +1029,33 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievements = null, + global::System.Action? appStoreVersions = null, + + global::System.Action? gameCenterAppVersions1 = null, + + global::System.Action? gameCenterAchievementReleases1 = null, + + global::System.Action? gameCenterAchievementReleases2 = null, global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterChallenges = null, + global::System.Action? gameCenterActivityVersionReleases = null, + + global::System.Action? gameCenterAppVersions2 = null, + + global::System.Action? gameCenterChallengeVersionReleases1 = null, + + global::System.Action? gameCenterChallengeVersionReleases2 = null, + + global::System.Action? gameCenterGroups = null, + + global::System.Action? gameCenterLeaderboardReleases1 = null, - global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboardSetReleases1 = null, - global::System.Action? gameCenterLeaderboardSets1 = null, + global::System.Action? gameCenterLeaderboardSetReleases2 = null, - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -495,29 +1063,61 @@ public void Match( Validate(); } - if (GameCenterAchievements is { } __value0) + if (AppStoreVersions is { } __value0) + { + appStoreVersions?.Invoke(__value0); + } + else if (GameCenterAppVersions1 is { } __value1) + { + gameCenterAppVersions1?.Invoke(__value1); + } + else if (GameCenterAchievementReleases1 is { } __value2) + { + gameCenterAchievementReleases1?.Invoke(__value2); + } + else if (GameCenterAchievementReleases2 is { } __value3) { - gameCenterAchievements?.Invoke(__value0); + gameCenterAchievementReleases2?.Invoke(__value3); } - else if (GameCenterActivities is { } __value1) + else if (GameCenterActivities is { } __value4) { - gameCenterActivities?.Invoke(__value1); + gameCenterActivities?.Invoke(__value4); } - else if (GameCenterChallenges is { } __value2) + else if (GameCenterActivityVersionReleases is { } __value5) { - gameCenterChallenges?.Invoke(__value2); + gameCenterActivityVersionReleases?.Invoke(__value5); } - else if (GameCenterDetails is { } __value3) + else if (GameCenterAppVersions2 is { } __value6) { - gameCenterDetails?.Invoke(__value3); + gameCenterAppVersions2?.Invoke(__value6); } - else if (GameCenterLeaderboardSets1 is { } __value4) + else if (GameCenterChallengeVersionReleases1 is { } __value7) { - gameCenterLeaderboardSets1?.Invoke(__value4); + gameCenterChallengeVersionReleases1?.Invoke(__value7); } - else if (GameCenterLeaderboardSets2 is { } __value5) + else if (GameCenterChallengeVersionReleases2 is { } __value8) { - gameCenterLeaderboardSets2?.Invoke(__value5); + gameCenterChallengeVersionReleases2?.Invoke(__value8); + } + else if (GameCenterGroups is { } __value9) + { + gameCenterGroups?.Invoke(__value9); + } + else if (GameCenterLeaderboardReleases1 is { } __value10) + { + gameCenterLeaderboardReleases1?.Invoke(__value10); + } + else if (GameCenterLeaderboardSetReleases1 is { } __value11) + { + gameCenterLeaderboardSetReleases1?.Invoke(__value11); + } + else if (GameCenterLeaderboardSetReleases2 is { } __value12) + { + gameCenterLeaderboardSetReleases2?.Invoke(__value12); + } + else if (GameCenterLeaderboardReleases2 is { } __value13) + { + gameCenterLeaderboardReleases2?.Invoke(__value13); } } @@ -525,12 +1125,20 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievements = null, + global::System.Action? appStoreVersions = null, + global::System.Action? gameCenterAppVersions1 = null, + global::System.Action? gameCenterAchievementReleases1 = null, + global::System.Action? gameCenterAchievementReleases2 = null, global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterChallenges = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboardSets1 = null, - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterActivityVersionReleases = null, + global::System.Action? gameCenterAppVersions2 = null, + global::System.Action? gameCenterChallengeVersionReleases1 = null, + global::System.Action? gameCenterChallengeVersionReleases2 = null, + global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboardReleases1 = null, + global::System.Action? gameCenterLeaderboardSetReleases1 = null, + global::System.Action? gameCenterLeaderboardSetReleases2 = null, + global::System.Action? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -538,29 +1146,61 @@ public void Switch( Validate(); } - if (GameCenterAchievements is { } __value0) + if (AppStoreVersions is { } __value0) + { + appStoreVersions?.Invoke(__value0); + } + else if (GameCenterAppVersions1 is { } __value1) + { + gameCenterAppVersions1?.Invoke(__value1); + } + else if (GameCenterAchievementReleases1 is { } __value2) + { + gameCenterAchievementReleases1?.Invoke(__value2); + } + else if (GameCenterAchievementReleases2 is { } __value3) + { + gameCenterAchievementReleases2?.Invoke(__value3); + } + else if (GameCenterActivities is { } __value4) + { + gameCenterActivities?.Invoke(__value4); + } + else if (GameCenterActivityVersionReleases is { } __value5) + { + gameCenterActivityVersionReleases?.Invoke(__value5); + } + else if (GameCenterAppVersions2 is { } __value6) + { + gameCenterAppVersions2?.Invoke(__value6); + } + else if (GameCenterChallengeVersionReleases1 is { } __value7) + { + gameCenterChallengeVersionReleases1?.Invoke(__value7); + } + else if (GameCenterChallengeVersionReleases2 is { } __value8) { - gameCenterAchievements?.Invoke(__value0); + gameCenterChallengeVersionReleases2?.Invoke(__value8); } - else if (GameCenterActivities is { } __value1) + else if (GameCenterGroups is { } __value9) { - gameCenterActivities?.Invoke(__value1); + gameCenterGroups?.Invoke(__value9); } - else if (GameCenterChallenges is { } __value2) + else if (GameCenterLeaderboardReleases1 is { } __value10) { - gameCenterChallenges?.Invoke(__value2); + gameCenterLeaderboardReleases1?.Invoke(__value10); } - else if (GameCenterDetails is { } __value3) + else if (GameCenterLeaderboardSetReleases1 is { } __value11) { - gameCenterDetails?.Invoke(__value3); + gameCenterLeaderboardSetReleases1?.Invoke(__value11); } - else if (GameCenterLeaderboardSets1 is { } __value4) + else if (GameCenterLeaderboardSetReleases2 is { } __value12) { - gameCenterLeaderboardSets1?.Invoke(__value4); + gameCenterLeaderboardSetReleases2?.Invoke(__value12); } - else if (GameCenterLeaderboardSets2 is { } __value5) + else if (GameCenterLeaderboardReleases2 is { } __value13) { - gameCenterLeaderboardSets2?.Invoke(__value5); + gameCenterLeaderboardReleases2?.Invoke(__value13); } } @@ -571,17 +1211,33 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievements, + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), + GameCenterAppVersions1, + typeof(global::AppStoreConnect.App), + GameCenterAchievementReleases1, + typeof(global::AppStoreConnect.GameCenterAchievementRelease), + GameCenterAchievementReleases2, typeof(global::AppStoreConnect.GameCenterAchievement), GameCenterActivities, typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterChallenges, + GameCenterActivityVersionReleases, + typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), + GameCenterAppVersions2, + typeof(global::AppStoreConnect.GameCenterAppVersion), + GameCenterChallengeVersionReleases1, + typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), + GameCenterChallengeVersionReleases2, typeof(global::AppStoreConnect.GameCenterChallenge), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterLeaderboardSets1, + GameCenterGroups, + typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboardReleases1, + typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), + GameCenterLeaderboardSetReleases1, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), + GameCenterLeaderboardSetReleases2, typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardSets2, + GameCenterLeaderboardReleases2, typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); @@ -599,12 +1255,20 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem104 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions1, other.GameCenterAppVersions1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases1, other.GameCenterAchievementReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases2, other.GameCenterAchievementReleases2) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersionReleases, other.GameCenterActivityVersionReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions2, other.GameCenterAppVersions2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases1, other.GameCenterChallengeVersionReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases2, other.GameCenterChallengeVersionReleases2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases1, other.GameCenterLeaderboardReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases1, other.GameCenterLeaderboardSetReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases2, other.GameCenterLeaderboardSetReleases2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases2, other.GameCenterLeaderboardReleases2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem105.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem105.g.cs index ccf33c84c..ff9a352ac 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem105.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem105.g.cs @@ -12,412 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievement? value) + out global::AppStoreConnect.App? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } + public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; init; } #else - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } + public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterEnabledVersions))] #endif - public bool IsGameCenterActivities => GameCenterActivities != null; + public bool IsGameCenterEnabledVersions => GameCenterEnabledVersions != null; /// /// /// - public bool TryPickGameCenterActivities( + public bool TryPickGameCenterEnabledVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterActivity? value) + out global::AppStoreConnect.GameCenterEnabledVersion? value) { - value = GameCenterActivities; - return IsGameCenterActivities; + value = GameCenterEnabledVersions; + return IsGameCenterEnabledVersions; } /// /// /// - public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value + public global::AppStoreConnect.GameCenterEnabledVersion PickGameCenterEnabledVersions() => GameCenterEnabledVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; init; } -#else - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallenges))] -#endif - public bool IsGameCenterChallenges => GameCenterChallenges != null; - - /// - /// - /// - public bool TryPickGameCenterChallenges( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallenge? value) - { - value = GameCenterChallenges; - return IsGameCenterChallenges; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallenges() => GameCenterChallenges is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallenges' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } -#else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] -#endif - public bool IsGameCenterDetails => GameCenterDetails != null; - - /// - /// - /// - public bool TryPickGameCenterDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterDetail? value) - { - value = GameCenterDetails; - return IsGameCenterDetails; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] -#endif - public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSets1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) - { - value = GameCenterLeaderboardSets1; - return IsGameCenterLeaderboardSets1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] -#endif - public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSets2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboard? value) - { - value = GameCenterLeaderboardSets2; - return IsGameCenterLeaderboardSets2; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterEnabledVersions' but the value was {ToString()}."); /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem105(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem105((global::AppStoreConnect.GameCenterAchievement?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem105 @this) => @this.GameCenterAchievements; - - /// - /// - /// - public IncludedItem105(global::AppStoreConnect.GameCenterAchievement? value) - { - GameCenterAchievements = value; - } - - /// - /// - /// - public static IncludedItem105 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem105(value); - - /// - /// - /// - public static implicit operator IncludedItem105(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem105((global::AppStoreConnect.GameCenterActivity?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem105 @this) => @this.GameCenterActivities; - - /// - /// - /// - public IncludedItem105(global::AppStoreConnect.GameCenterActivity? value) - { - GameCenterActivities = value; - } - - /// - /// - /// - public static IncludedItem105 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem105(value); - - /// - /// - /// - public static implicit operator IncludedItem105(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem105((global::AppStoreConnect.GameCenterChallenge?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem105 @this) => @this.GameCenterChallenges; - - /// - /// - /// - public IncludedItem105(global::AppStoreConnect.GameCenterChallenge? value) - { - GameCenterChallenges = value; - } - - /// - /// - /// - public static IncludedItem105 FromGameCenterChallenges(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem105(value); - - /// - /// - /// - public static implicit operator IncludedItem105(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem105((global::AppStoreConnect.GameCenterDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem105 @this) => @this.GameCenterDetails; - - /// - /// - /// - public IncludedItem105(global::AppStoreConnect.GameCenterDetail? value) - { - GameCenterDetails = value; - } - - /// - /// - /// - public static IncludedItem105 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem105(value); + public static implicit operator IncludedItem105(global::AppStoreConnect.App value) => new IncludedItem105((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator IncludedItem105(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem105((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + public static implicit operator global::AppStoreConnect.App?(IncludedItem105 @this) => @this.Apps; /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem105 @this) => @this.GameCenterLeaderboardSets1; - - /// - /// - /// - public IncludedItem105(global::AppStoreConnect.GameCenterLeaderboardSet? value) + public IncludedItem105(global::AppStoreConnect.App? value) { - GameCenterLeaderboardSets1 = value; + Apps = value; } /// /// /// - public static IncludedItem105 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem105(value); + public static IncludedItem105 FromApps(global::AppStoreConnect.App? value) => new IncludedItem105(value); /// /// /// - public static implicit operator IncludedItem105(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem105((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem105(global::AppStoreConnect.GameCenterEnabledVersion value) => new IncludedItem105((global::AppStoreConnect.GameCenterEnabledVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem105 @this) => @this.GameCenterLeaderboardSets2; + public static implicit operator global::AppStoreConnect.GameCenterEnabledVersion?(IncludedItem105 @this) => @this.GameCenterEnabledVersions; /// /// /// - public IncludedItem105(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem105(global::AppStoreConnect.GameCenterEnabledVersion? value) { - GameCenterLeaderboardSets2 = value; + GameCenterEnabledVersions = value; } /// /// /// - public static IncludedItem105 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem105(value); + public static IncludedItem105 FromGameCenterEnabledVersions(global::AppStoreConnect.GameCenterEnabledVersion? value) => new IncludedItem105(value); /// /// /// public IncludedItem105( - global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, - global::AppStoreConnect.GameCenterActivity? gameCenterActivities, - global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 + global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions ) { Type = type; - GameCenterAchievements = gameCenterAchievements; - GameCenterActivities = gameCenterActivities; - GameCenterChallenges = gameCenterChallenges; - GameCenterDetails = gameCenterDetails; - GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; - GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; + Apps = apps; + GameCenterEnabledVersions = gameCenterEnabledVersions; } /// /// /// public object? Object => - GameCenterLeaderboardSets2 as object ?? - GameCenterLeaderboardSets1 as object ?? - GameCenterDetails as object ?? - GameCenterChallenges as object ?? - GameCenterActivities as object ?? - GameCenterAchievements as object + GameCenterEnabledVersions as object ?? + Apps as object ; /// /// /// public override string? ToString() => - GameCenterAchievements?.ToString() ?? - GameCenterActivities?.ToString() ?? - GameCenterChallenges?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterLeaderboardSets1?.ToString() ?? - GameCenterLeaderboardSets2?.ToString() + Apps?.ToString() ?? + GameCenterEnabledVersions?.ToString() ; /// @@ -425,19 +169,15 @@ GameCenterAchievements as object /// public bool Validate() { - return IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; + return IsApps && !IsGameCenterEnabledVersions || !IsApps && IsGameCenterEnabledVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievements = null, - global::System.Func? gameCenterActivities = null, - global::System.Func? gameCenterChallenges = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterLeaderboardSets1 = null, - global::System.Func? gameCenterLeaderboardSets2 = null, + global::System.Func? apps = null, + global::System.Func? gameCenterEnabledVersions = null, bool validate = true) { if (validate) @@ -445,29 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) - { - return gameCenterAchievements(__value0); - } - else if (GameCenterActivities is { } __value1 && gameCenterActivities != null) + if (Apps is { } __value0 && apps != null) { - return gameCenterActivities(__value1); + return apps(__value0); } - else if (GameCenterChallenges is { } __value2 && gameCenterChallenges != null) + else if (GameCenterEnabledVersions is { } __value1 && gameCenterEnabledVersions != null) { - return gameCenterChallenges(__value2); - } - else if (GameCenterDetails is { } __value3 && gameCenterDetails != null) - { - return gameCenterDetails(__value3); - } - else if (GameCenterLeaderboardSets1 is { } __value4 && gameCenterLeaderboardSets1 != null) - { - return gameCenterLeaderboardSets1(__value4); - } - else if (GameCenterLeaderboardSets2 is { } __value5 && gameCenterLeaderboardSets2 != null) - { - return gameCenterLeaderboardSets2(__value5); + return gameCenterEnabledVersions(__value1); } return default(TResult); @@ -477,17 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievements = null, - - global::System.Action? gameCenterActivities = null, + global::System.Action? apps = null, - global::System.Action? gameCenterChallenges = null, - - global::System.Action? gameCenterDetails = null, - - global::System.Action? gameCenterLeaderboardSets1 = null, - - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterEnabledVersions = null, bool validate = true) { if (validate) @@ -495,29 +211,13 @@ public void Match( Validate(); } - if (GameCenterAchievements is { } __value0) - { - gameCenterAchievements?.Invoke(__value0); - } - else if (GameCenterActivities is { } __value1) - { - gameCenterActivities?.Invoke(__value1); - } - else if (GameCenterChallenges is { } __value2) - { - gameCenterChallenges?.Invoke(__value2); - } - else if (GameCenterDetails is { } __value3) + if (Apps is { } __value0) { - gameCenterDetails?.Invoke(__value3); + apps?.Invoke(__value0); } - else if (GameCenterLeaderboardSets1 is { } __value4) + else if (GameCenterEnabledVersions is { } __value1) { - gameCenterLeaderboardSets1?.Invoke(__value4); - } - else if (GameCenterLeaderboardSets2 is { } __value5) - { - gameCenterLeaderboardSets2?.Invoke(__value5); + gameCenterEnabledVersions?.Invoke(__value1); } } @@ -525,12 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievements = null, - global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterChallenges = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboardSets1 = null, - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? apps = null, + global::System.Action? gameCenterEnabledVersions = null, bool validate = true) { if (validate) @@ -538,29 +234,13 @@ public void Switch( Validate(); } - if (GameCenterAchievements is { } __value0) - { - gameCenterAchievements?.Invoke(__value0); - } - else if (GameCenterActivities is { } __value1) - { - gameCenterActivities?.Invoke(__value1); - } - else if (GameCenterChallenges is { } __value2) - { - gameCenterChallenges?.Invoke(__value2); - } - else if (GameCenterDetails is { } __value3) - { - gameCenterDetails?.Invoke(__value3); - } - else if (GameCenterLeaderboardSets1 is { } __value4) + if (Apps is { } __value0) { - gameCenterLeaderboardSets1?.Invoke(__value4); + apps?.Invoke(__value0); } - else if (GameCenterLeaderboardSets2 is { } __value5) + else if (GameCenterEnabledVersions is { } __value1) { - gameCenterLeaderboardSets2?.Invoke(__value5); + gameCenterEnabledVersions?.Invoke(__value1); } } @@ -571,18 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievements, - typeof(global::AppStoreConnect.GameCenterAchievement), - GameCenterActivities, - typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterChallenges, - typeof(global::AppStoreConnect.GameCenterChallenge), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterLeaderboardSets1, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardSets2, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + Apps, + typeof(global::AppStoreConnect.App), + GameCenterEnabledVersions, + typeof(global::AppStoreConnect.GameCenterEnabledVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -599,12 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem105 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterEnabledVersions, other.GameCenterEnabledVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem106.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem106.g.cs index c5f607f78..e0104cb92 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem106.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem106.g.cs @@ -12,103 +12,343 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardImage? GameCenterLeaderboardImages1 { get; init; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardImage? GameCenterLeaderboardImages1 { get; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterLeaderboardImages1 => GameCenterLeaderboardImages1 != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterLeaderboardImages1( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardImage? value) + out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterLeaderboardImages1; - return IsGameCenterLeaderboardImages1; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImage PickGameCenterLeaderboardImages1() => GameCenterLeaderboardImages1 is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardImages2 { get; init; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardImages2 { get; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] #endif - public bool IsGameCenterLeaderboardImages2 => GameCenterLeaderboardImages2 != null; + public bool IsGameCenterActivities => GameCenterActivities != null; /// /// /// - public bool TryPickGameCenterLeaderboardImages2( + public bool TryPickGameCenterActivities( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivity? value) + { + value = GameCenterActivities; + return IsGameCenterActivities; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; init; } +#else + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallenges))] +#endif + public bool IsGameCenterChallenges => GameCenterChallenges != null; + + /// + /// + /// + public bool TryPickGameCenterChallenges( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterChallenge? value) + { + value = GameCenterChallenges; + return IsGameCenterChallenges; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallenges() => GameCenterChallenges is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallenges' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } +#else + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] +#endif + public bool IsGameCenterDetails => GameCenterDetails != null; + + /// + /// + /// + public bool TryPickGameCenterDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterDetail? value) + { + value = GameCenterDetails; + return IsGameCenterDetails; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] +#endif + public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSet? value) + { + value = GameCenterLeaderboardSets1; + return IsGameCenterLeaderboardSets1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] +#endif + public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardImages2; - return IsGameCenterLeaderboardImages2; + value = GameCenterLeaderboardSets2; + return IsGameCenterLeaderboardSets2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardImages2() => GameCenterLeaderboardImages2 is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem106(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem106((global::AppStoreConnect.GameCenterAchievement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem106 @this) => @this.GameCenterAchievements; + + /// + /// + /// + public IncludedItem106(global::AppStoreConnect.GameCenterAchievement? value) + { + GameCenterAchievements = value; + } + + /// + /// + /// + public static IncludedItem106 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem106(value); + + /// + /// + /// + public static implicit operator IncludedItem106(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem106((global::AppStoreConnect.GameCenterActivity?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem106 @this) => @this.GameCenterActivities; + + /// + /// + /// + public IncludedItem106(global::AppStoreConnect.GameCenterActivity? value) + { + GameCenterActivities = value; + } + + /// + /// + /// + public static IncludedItem106 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem106(value); + + /// + /// + /// + public static implicit operator IncludedItem106(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem106((global::AppStoreConnect.GameCenterChallenge?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem106 @this) => @this.GameCenterChallenges; + + /// + /// + /// + public IncludedItem106(global::AppStoreConnect.GameCenterChallenge? value) + { + GameCenterChallenges = value; + } + + /// + /// + /// + public static IncludedItem106 FromGameCenterChallenges(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem106(value); + + /// + /// + /// + public static implicit operator IncludedItem106(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem106((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem106 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem106(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + /// /// /// - public static implicit operator IncludedItem106(global::AppStoreConnect.GameCenterLeaderboardImage value) => new IncludedItem106((global::AppStoreConnect.GameCenterLeaderboardImage?)value); + public static IncludedItem106 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem106(value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardImage?(IncludedItem106 @this) => @this.GameCenterLeaderboardImages1; + public static implicit operator IncludedItem106(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem106((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public IncludedItem106(global::AppStoreConnect.GameCenterLeaderboardImage? value) + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem106 @this) => @this.GameCenterLeaderboardSets1; + + /// + /// + /// + public IncludedItem106(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - GameCenterLeaderboardImages1 = value; + GameCenterLeaderboardSets1 = value; } /// /// /// - public static IncludedItem106 FromGameCenterLeaderboardImages1(global::AppStoreConnect.GameCenterLeaderboardImage? value) => new IncludedItem106(value); + public static IncludedItem106 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem106(value); /// /// @@ -118,50 +358,66 @@ public IncludedItem106(global::AppStoreConnect.GameCenterLeaderboardImage? value /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem106 @this) => @this.GameCenterLeaderboardImages2; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem106 @this) => @this.GameCenterLeaderboardSets2; /// /// /// public IncludedItem106(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardImages2 = value; + GameCenterLeaderboardSets2 = value; } /// /// /// - public static IncludedItem106 FromGameCenterLeaderboardImages2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem106(value); + public static IncludedItem106 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem106(value); /// /// /// public IncludedItem106( - global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardImage? gameCenterLeaderboardImages1, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardImages2 + global::AppStoreConnect.GameCenterGroupsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, + global::AppStoreConnect.GameCenterActivity? gameCenterActivities, + global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 ) { Type = type; - GameCenterLeaderboardImages1 = gameCenterLeaderboardImages1; - GameCenterLeaderboardImages2 = gameCenterLeaderboardImages2; + GameCenterAchievements = gameCenterAchievements; + GameCenterActivities = gameCenterActivities; + GameCenterChallenges = gameCenterChallenges; + GameCenterDetails = gameCenterDetails; + GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; + GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; } /// /// /// public object? Object => - GameCenterLeaderboardImages2 as object ?? - GameCenterLeaderboardImages1 as object + GameCenterLeaderboardSets2 as object ?? + GameCenterLeaderboardSets1 as object ?? + GameCenterDetails as object ?? + GameCenterChallenges as object ?? + GameCenterActivities as object ?? + GameCenterAchievements as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardImages1?.ToString() ?? - GameCenterLeaderboardImages2?.ToString() + GameCenterAchievements?.ToString() ?? + GameCenterActivities?.ToString() ?? + GameCenterChallenges?.ToString() ?? + GameCenterDetails?.ToString() ?? + GameCenterLeaderboardSets1?.ToString() ?? + GameCenterLeaderboardSets2?.ToString() ; /// @@ -169,15 +425,19 @@ GameCenterLeaderboardImages1 as object /// public bool Validate() { - return IsGameCenterLeaderboardImages1 && !IsGameCenterLeaderboardImages2 || !IsGameCenterLeaderboardImages1 && IsGameCenterLeaderboardImages2; + return IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardImages1 = null, - global::System.Func? gameCenterLeaderboardImages2 = null, + global::System.Func? gameCenterAchievements = null, + global::System.Func? gameCenterActivities = null, + global::System.Func? gameCenterChallenges = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterLeaderboardSets1 = null, + global::System.Func? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -185,13 +445,29 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardImages1 is { } __value0 && gameCenterLeaderboardImages1 != null) + if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) + { + return gameCenterAchievements(__value0); + } + else if (GameCenterActivities is { } __value1 && gameCenterActivities != null) { - return gameCenterLeaderboardImages1(__value0); + return gameCenterActivities(__value1); } - else if (GameCenterLeaderboardImages2 is { } __value1 && gameCenterLeaderboardImages2 != null) + else if (GameCenterChallenges is { } __value2 && gameCenterChallenges != null) { - return gameCenterLeaderboardImages2(__value1); + return gameCenterChallenges(__value2); + } + else if (GameCenterDetails is { } __value3 && gameCenterDetails != null) + { + return gameCenterDetails(__value3); + } + else if (GameCenterLeaderboardSets1 is { } __value4 && gameCenterLeaderboardSets1 != null) + { + return gameCenterLeaderboardSets1(__value4); + } + else if (GameCenterLeaderboardSets2 is { } __value5 && gameCenterLeaderboardSets2 != null) + { + return gameCenterLeaderboardSets2(__value5); } return default(TResult); @@ -201,9 +477,17 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardImages1 = null, + global::System.Action? gameCenterAchievements = null, + + global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterLeaderboardImages2 = null, + global::System.Action? gameCenterChallenges = null, + + global::System.Action? gameCenterDetails = null, + + global::System.Action? gameCenterLeaderboardSets1 = null, + + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -211,13 +495,29 @@ public void Match( Validate(); } - if (GameCenterLeaderboardImages1 is { } __value0) + if (GameCenterAchievements is { } __value0) + { + gameCenterAchievements?.Invoke(__value0); + } + else if (GameCenterActivities is { } __value1) + { + gameCenterActivities?.Invoke(__value1); + } + else if (GameCenterChallenges is { } __value2) + { + gameCenterChallenges?.Invoke(__value2); + } + else if (GameCenterDetails is { } __value3) { - gameCenterLeaderboardImages1?.Invoke(__value0); + gameCenterDetails?.Invoke(__value3); } - else if (GameCenterLeaderboardImages2 is { } __value1) + else if (GameCenterLeaderboardSets1 is { } __value4) { - gameCenterLeaderboardImages2?.Invoke(__value1); + gameCenterLeaderboardSets1?.Invoke(__value4); + } + else if (GameCenterLeaderboardSets2 is { } __value5) + { + gameCenterLeaderboardSets2?.Invoke(__value5); } } @@ -225,8 +525,12 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardImages1 = null, - global::System.Action? gameCenterLeaderboardImages2 = null, + global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterActivities = null, + global::System.Action? gameCenterChallenges = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboardSets1 = null, + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -234,13 +538,29 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardImages1 is { } __value0) + if (GameCenterAchievements is { } __value0) + { + gameCenterAchievements?.Invoke(__value0); + } + else if (GameCenterActivities is { } __value1) + { + gameCenterActivities?.Invoke(__value1); + } + else if (GameCenterChallenges is { } __value2) + { + gameCenterChallenges?.Invoke(__value2); + } + else if (GameCenterDetails is { } __value3) + { + gameCenterDetails?.Invoke(__value3); + } + else if (GameCenterLeaderboardSets1 is { } __value4) { - gameCenterLeaderboardImages1?.Invoke(__value0); + gameCenterLeaderboardSets1?.Invoke(__value4); } - else if (GameCenterLeaderboardImages2 is { } __value1) + else if (GameCenterLeaderboardSets2 is { } __value5) { - gameCenterLeaderboardImages2?.Invoke(__value1); + gameCenterLeaderboardSets2?.Invoke(__value5); } } @@ -251,9 +571,17 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardImages1, - typeof(global::AppStoreConnect.GameCenterLeaderboardImage), - GameCenterLeaderboardImages2, + GameCenterAchievements, + typeof(global::AppStoreConnect.GameCenterAchievement), + GameCenterActivities, + typeof(global::AppStoreConnect.GameCenterActivity), + GameCenterChallenges, + typeof(global::AppStoreConnect.GameCenterChallenge), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterLeaderboardSets1, + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterLeaderboardSets2, typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); @@ -271,8 +599,12 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem106 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages1, other.GameCenterLeaderboardImages1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages2, other.GameCenterLeaderboardImages2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem107.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem107.g.cs index 38e76ef71..3c8a4e02b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem107.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem107.g.cs @@ -12,103 +12,343 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardImage? GameCenterLeaderboardImages1 { get; init; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardImage? GameCenterLeaderboardImages1 { get; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterLeaderboardImages1 => GameCenterLeaderboardImages1 != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterLeaderboardImages1( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardImage? value) + out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterLeaderboardImages1; - return IsGameCenterLeaderboardImages1; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImage PickGameCenterLeaderboardImages1() => GameCenterLeaderboardImages1 is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardImages2 { get; init; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardImages2 { get; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] #endif - public bool IsGameCenterLeaderboardImages2 => GameCenterLeaderboardImages2 != null; + public bool IsGameCenterActivities => GameCenterActivities != null; /// /// /// - public bool TryPickGameCenterLeaderboardImages2( + public bool TryPickGameCenterActivities( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivity? value) + { + value = GameCenterActivities; + return IsGameCenterActivities; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; init; } +#else + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallenges))] +#endif + public bool IsGameCenterChallenges => GameCenterChallenges != null; + + /// + /// + /// + public bool TryPickGameCenterChallenges( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterChallenge? value) + { + value = GameCenterChallenges; + return IsGameCenterChallenges; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallenges() => GameCenterChallenges is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallenges' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } +#else + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] +#endif + public bool IsGameCenterDetails => GameCenterDetails != null; + + /// + /// + /// + public bool TryPickGameCenterDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterDetail? value) + { + value = GameCenterDetails; + return IsGameCenterDetails; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] +#endif + public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSet? value) + { + value = GameCenterLeaderboardSets1; + return IsGameCenterLeaderboardSets1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] +#endif + public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardImages2; - return IsGameCenterLeaderboardImages2; + value = GameCenterLeaderboardSets2; + return IsGameCenterLeaderboardSets2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardImages2() => GameCenterLeaderboardImages2 is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem107(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem107((global::AppStoreConnect.GameCenterAchievement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem107 @this) => @this.GameCenterAchievements; + + /// + /// + /// + public IncludedItem107(global::AppStoreConnect.GameCenterAchievement? value) + { + GameCenterAchievements = value; + } + + /// + /// + /// + public static IncludedItem107 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem107(value); + + /// + /// + /// + public static implicit operator IncludedItem107(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem107((global::AppStoreConnect.GameCenterActivity?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem107 @this) => @this.GameCenterActivities; + + /// + /// + /// + public IncludedItem107(global::AppStoreConnect.GameCenterActivity? value) + { + GameCenterActivities = value; + } + + /// + /// + /// + public static IncludedItem107 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem107(value); + + /// + /// + /// + public static implicit operator IncludedItem107(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem107((global::AppStoreConnect.GameCenterChallenge?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem107 @this) => @this.GameCenterChallenges; + + /// + /// + /// + public IncludedItem107(global::AppStoreConnect.GameCenterChallenge? value) + { + GameCenterChallenges = value; + } + + /// + /// + /// + public static IncludedItem107 FromGameCenterChallenges(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem107(value); + + /// + /// + /// + public static implicit operator IncludedItem107(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem107((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem107 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem107(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + /// /// /// - public static implicit operator IncludedItem107(global::AppStoreConnect.GameCenterLeaderboardImage value) => new IncludedItem107((global::AppStoreConnect.GameCenterLeaderboardImage?)value); + public static IncludedItem107 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem107(value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardImage?(IncludedItem107 @this) => @this.GameCenterLeaderboardImages1; + public static implicit operator IncludedItem107(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem107((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public IncludedItem107(global::AppStoreConnect.GameCenterLeaderboardImage? value) + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem107 @this) => @this.GameCenterLeaderboardSets1; + + /// + /// + /// + public IncludedItem107(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - GameCenterLeaderboardImages1 = value; + GameCenterLeaderboardSets1 = value; } /// /// /// - public static IncludedItem107 FromGameCenterLeaderboardImages1(global::AppStoreConnect.GameCenterLeaderboardImage? value) => new IncludedItem107(value); + public static IncludedItem107 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem107(value); /// /// @@ -118,50 +358,66 @@ public IncludedItem107(global::AppStoreConnect.GameCenterLeaderboardImage? value /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem107 @this) => @this.GameCenterLeaderboardImages2; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem107 @this) => @this.GameCenterLeaderboardSets2; /// /// /// public IncludedItem107(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardImages2 = value; + GameCenterLeaderboardSets2 = value; } /// /// /// - public static IncludedItem107 FromGameCenterLeaderboardImages2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem107(value); + public static IncludedItem107 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem107(value); /// /// /// public IncludedItem107( - global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardImage? gameCenterLeaderboardImages1, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardImages2 + global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, + global::AppStoreConnect.GameCenterActivity? gameCenterActivities, + global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 ) { Type = type; - GameCenterLeaderboardImages1 = gameCenterLeaderboardImages1; - GameCenterLeaderboardImages2 = gameCenterLeaderboardImages2; + GameCenterAchievements = gameCenterAchievements; + GameCenterActivities = gameCenterActivities; + GameCenterChallenges = gameCenterChallenges; + GameCenterDetails = gameCenterDetails; + GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; + GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; } /// /// /// public object? Object => - GameCenterLeaderboardImages2 as object ?? - GameCenterLeaderboardImages1 as object + GameCenterLeaderboardSets2 as object ?? + GameCenterLeaderboardSets1 as object ?? + GameCenterDetails as object ?? + GameCenterChallenges as object ?? + GameCenterActivities as object ?? + GameCenterAchievements as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardImages1?.ToString() ?? - GameCenterLeaderboardImages2?.ToString() + GameCenterAchievements?.ToString() ?? + GameCenterActivities?.ToString() ?? + GameCenterChallenges?.ToString() ?? + GameCenterDetails?.ToString() ?? + GameCenterLeaderboardSets1?.ToString() ?? + GameCenterLeaderboardSets2?.ToString() ; /// @@ -169,15 +425,19 @@ GameCenterLeaderboardImages1 as object /// public bool Validate() { - return IsGameCenterLeaderboardImages1 && !IsGameCenterLeaderboardImages2 || !IsGameCenterLeaderboardImages1 && IsGameCenterLeaderboardImages2; + return IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterAchievements && !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardImages1 = null, - global::System.Func? gameCenterLeaderboardImages2 = null, + global::System.Func? gameCenterAchievements = null, + global::System.Func? gameCenterActivities = null, + global::System.Func? gameCenterChallenges = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterLeaderboardSets1 = null, + global::System.Func? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -185,13 +445,29 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardImages1 is { } __value0 && gameCenterLeaderboardImages1 != null) + if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) + { + return gameCenterAchievements(__value0); + } + else if (GameCenterActivities is { } __value1 && gameCenterActivities != null) { - return gameCenterLeaderboardImages1(__value0); + return gameCenterActivities(__value1); } - else if (GameCenterLeaderboardImages2 is { } __value1 && gameCenterLeaderboardImages2 != null) + else if (GameCenterChallenges is { } __value2 && gameCenterChallenges != null) { - return gameCenterLeaderboardImages2(__value1); + return gameCenterChallenges(__value2); + } + else if (GameCenterDetails is { } __value3 && gameCenterDetails != null) + { + return gameCenterDetails(__value3); + } + else if (GameCenterLeaderboardSets1 is { } __value4 && gameCenterLeaderboardSets1 != null) + { + return gameCenterLeaderboardSets1(__value4); + } + else if (GameCenterLeaderboardSets2 is { } __value5 && gameCenterLeaderboardSets2 != null) + { + return gameCenterLeaderboardSets2(__value5); } return default(TResult); @@ -201,9 +477,17 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardImages1 = null, + global::System.Action? gameCenterAchievements = null, + + global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterLeaderboardImages2 = null, + global::System.Action? gameCenterChallenges = null, + + global::System.Action? gameCenterDetails = null, + + global::System.Action? gameCenterLeaderboardSets1 = null, + + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -211,13 +495,29 @@ public void Match( Validate(); } - if (GameCenterLeaderboardImages1 is { } __value0) + if (GameCenterAchievements is { } __value0) + { + gameCenterAchievements?.Invoke(__value0); + } + else if (GameCenterActivities is { } __value1) + { + gameCenterActivities?.Invoke(__value1); + } + else if (GameCenterChallenges is { } __value2) + { + gameCenterChallenges?.Invoke(__value2); + } + else if (GameCenterDetails is { } __value3) { - gameCenterLeaderboardImages1?.Invoke(__value0); + gameCenterDetails?.Invoke(__value3); } - else if (GameCenterLeaderboardImages2 is { } __value1) + else if (GameCenterLeaderboardSets1 is { } __value4) { - gameCenterLeaderboardImages2?.Invoke(__value1); + gameCenterLeaderboardSets1?.Invoke(__value4); + } + else if (GameCenterLeaderboardSets2 is { } __value5) + { + gameCenterLeaderboardSets2?.Invoke(__value5); } } @@ -225,8 +525,12 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardImages1 = null, - global::System.Action? gameCenterLeaderboardImages2 = null, + global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterActivities = null, + global::System.Action? gameCenterChallenges = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboardSets1 = null, + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -234,13 +538,29 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardImages1 is { } __value0) + if (GameCenterAchievements is { } __value0) + { + gameCenterAchievements?.Invoke(__value0); + } + else if (GameCenterActivities is { } __value1) + { + gameCenterActivities?.Invoke(__value1); + } + else if (GameCenterChallenges is { } __value2) + { + gameCenterChallenges?.Invoke(__value2); + } + else if (GameCenterDetails is { } __value3) + { + gameCenterDetails?.Invoke(__value3); + } + else if (GameCenterLeaderboardSets1 is { } __value4) { - gameCenterLeaderboardImages1?.Invoke(__value0); + gameCenterLeaderboardSets1?.Invoke(__value4); } - else if (GameCenterLeaderboardImages2 is { } __value1) + else if (GameCenterLeaderboardSets2 is { } __value5) { - gameCenterLeaderboardImages2?.Invoke(__value1); + gameCenterLeaderboardSets2?.Invoke(__value5); } } @@ -251,9 +571,17 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardImages1, - typeof(global::AppStoreConnect.GameCenterLeaderboardImage), - GameCenterLeaderboardImages2, + GameCenterAchievements, + typeof(global::AppStoreConnect.GameCenterAchievement), + GameCenterActivities, + typeof(global::AppStoreConnect.GameCenterActivity), + GameCenterChallenges, + typeof(global::AppStoreConnect.GameCenterChallenge), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterLeaderboardSets1, + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterLeaderboardSets2, typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); @@ -271,8 +599,12 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem107 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages1, other.GameCenterLeaderboardImages1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages2, other.GameCenterLeaderboardImages2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem108.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem108.g.cs index 306106f2a..c7ea45343 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem108.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem108.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardImageV2? GameCenterLeaderboardImages { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardImage? GameCenterLeaderboardImages1 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardImageV2? GameCenterLeaderboardImages { get; } + public global::AppStoreConnect.GameCenterLeaderboardImage? GameCenterLeaderboardImages1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages1))] #endif - public bool IsGameCenterLeaderboardImages => GameCenterLeaderboardImages != null; + public bool IsGameCenterLeaderboardImages1 => GameCenterLeaderboardImages1 != null; /// /// /// - public bool TryPickGameCenterLeaderboardImages( + public bool TryPickGameCenterLeaderboardImages1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardImageV2? value) + out global::AppStoreConnect.GameCenterLeaderboardImage? value) { - value = GameCenterLeaderboardImages; - return IsGameCenterLeaderboardImages; + value = GameCenterLeaderboardImages1; + return IsGameCenterLeaderboardImages1; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2 PickGameCenterLeaderboardImages() => GameCenterLeaderboardImages is { } value + public global::AppStoreConnect.GameCenterLeaderboardImage PickGameCenterLeaderboardImages1() => GameCenterLeaderboardImages1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardImages2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardImages2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages2))] #endif - public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; + public bool IsGameCenterLeaderboardImages2 => GameCenterLeaderboardImages2 != null; /// /// /// - public bool TryPickGameCenterLeaderboardVersions( + public bool TryPickGameCenterLeaderboardImages2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardVersions; - return IsGameCenterLeaderboardVersions; + value = GameCenterLeaderboardImages2; + return IsGameCenterLeaderboardImages2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardImages2() => GameCenterLeaderboardImages2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages2' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem108(global::AppStoreConnect.GameCenterLeaderboardImageV2 value) => new IncludedItem108((global::AppStoreConnect.GameCenterLeaderboardImageV2?)value); + public static implicit operator IncludedItem108(global::AppStoreConnect.GameCenterLeaderboardImage value) => new IncludedItem108((global::AppStoreConnect.GameCenterLeaderboardImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardImageV2?(IncludedItem108 @this) => @this.GameCenterLeaderboardImages; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardImage?(IncludedItem108 @this) => @this.GameCenterLeaderboardImages1; /// /// /// - public IncludedItem108(global::AppStoreConnect.GameCenterLeaderboardImageV2? value) + public IncludedItem108(global::AppStoreConnect.GameCenterLeaderboardImage? value) { - GameCenterLeaderboardImages = value; + GameCenterLeaderboardImages1 = value; } /// /// /// - public static IncludedItem108 FromGameCenterLeaderboardImages(global::AppStoreConnect.GameCenterLeaderboardImageV2? value) => new IncludedItem108(value); + public static IncludedItem108 FromGameCenterLeaderboardImages1(global::AppStoreConnect.GameCenterLeaderboardImage? value) => new IncludedItem108(value); /// /// /// - public static implicit operator IncludedItem108(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem108((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); + public static implicit operator IncludedItem108(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem108((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem108 @this) => @this.GameCenterLeaderboardVersions; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem108 @this) => @this.GameCenterLeaderboardImages2; /// /// /// - public IncludedItem108(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + public IncludedItem108(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardVersions = value; + GameCenterLeaderboardImages2 = value; } /// /// /// - public static IncludedItem108 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem108(value); + public static IncludedItem108 FromGameCenterLeaderboardImages2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem108(value); /// /// /// public IncludedItem108( - global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardImageV2? gameCenterLeaderboardImages, - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions + global::AppStoreConnect.GameCenterLeaderboardLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardImage? gameCenterLeaderboardImages1, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardImages2 ) { Type = type; - GameCenterLeaderboardImages = gameCenterLeaderboardImages; - GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; + GameCenterLeaderboardImages1 = gameCenterLeaderboardImages1; + GameCenterLeaderboardImages2 = gameCenterLeaderboardImages2; } /// /// /// public object? Object => - GameCenterLeaderboardVersions as object ?? - GameCenterLeaderboardImages as object + GameCenterLeaderboardImages2 as object ?? + GameCenterLeaderboardImages1 as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardImages?.ToString() ?? - GameCenterLeaderboardVersions?.ToString() + GameCenterLeaderboardImages1?.ToString() ?? + GameCenterLeaderboardImages2?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterLeaderboardImages as object /// public bool Validate() { - return IsGameCenterLeaderboardImages && !IsGameCenterLeaderboardVersions || !IsGameCenterLeaderboardImages && IsGameCenterLeaderboardVersions; + return IsGameCenterLeaderboardImages1 && !IsGameCenterLeaderboardImages2 || !IsGameCenterLeaderboardImages1 && IsGameCenterLeaderboardImages2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardImages = null, - global::System.Func? gameCenterLeaderboardVersions = null, + global::System.Func? gameCenterLeaderboardImages1 = null, + global::System.Func? gameCenterLeaderboardImages2 = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardImages is { } __value0 && gameCenterLeaderboardImages != null) + if (GameCenterLeaderboardImages1 is { } __value0 && gameCenterLeaderboardImages1 != null) { - return gameCenterLeaderboardImages(__value0); + return gameCenterLeaderboardImages1(__value0); } - else if (GameCenterLeaderboardVersions is { } __value1 && gameCenterLeaderboardVersions != null) + else if (GameCenterLeaderboardImages2 is { } __value1 && gameCenterLeaderboardImages2 != null) { - return gameCenterLeaderboardVersions(__value1); + return gameCenterLeaderboardImages2(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardImages = null, + global::System.Action? gameCenterLeaderboardImages1 = null, - global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? gameCenterLeaderboardImages2 = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterLeaderboardImages is { } __value0) + if (GameCenterLeaderboardImages1 is { } __value0) { - gameCenterLeaderboardImages?.Invoke(__value0); + gameCenterLeaderboardImages1?.Invoke(__value0); } - else if (GameCenterLeaderboardVersions is { } __value1) + else if (GameCenterLeaderboardImages2 is { } __value1) { - gameCenterLeaderboardVersions?.Invoke(__value1); + gameCenterLeaderboardImages2?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardImages = null, - global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? gameCenterLeaderboardImages1 = null, + global::System.Action? gameCenterLeaderboardImages2 = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardImages is { } __value0) + if (GameCenterLeaderboardImages1 is { } __value0) { - gameCenterLeaderboardImages?.Invoke(__value0); + gameCenterLeaderboardImages1?.Invoke(__value0); } - else if (GameCenterLeaderboardVersions is { } __value1) + else if (GameCenterLeaderboardImages2 is { } __value1) { - gameCenterLeaderboardVersions?.Invoke(__value1); + gameCenterLeaderboardImages2?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardImages, - typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), - GameCenterLeaderboardVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), + GameCenterLeaderboardImages1, + typeof(global::AppStoreConnect.GameCenterLeaderboardImage), + GameCenterLeaderboardImages2, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem108 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages, other.GameCenterLeaderboardImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages1, other.GameCenterLeaderboardImages1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages2, other.GameCenterLeaderboardImages2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem109.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem109.g.cs index 7a3ef8a7d..cb984272b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem109.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem109.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardImageV2? GameCenterLeaderboardImages { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardImage? GameCenterLeaderboardImages1 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardImageV2? GameCenterLeaderboardImages { get; } + public global::AppStoreConnect.GameCenterLeaderboardImage? GameCenterLeaderboardImages1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages1))] #endif - public bool IsGameCenterLeaderboardImages => GameCenterLeaderboardImages != null; + public bool IsGameCenterLeaderboardImages1 => GameCenterLeaderboardImages1 != null; /// /// /// - public bool TryPickGameCenterLeaderboardImages( + public bool TryPickGameCenterLeaderboardImages1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardImageV2? value) + out global::AppStoreConnect.GameCenterLeaderboardImage? value) { - value = GameCenterLeaderboardImages; - return IsGameCenterLeaderboardImages; + value = GameCenterLeaderboardImages1; + return IsGameCenterLeaderboardImages1; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardImageV2 PickGameCenterLeaderboardImages() => GameCenterLeaderboardImages is { } value + public global::AppStoreConnect.GameCenterLeaderboardImage PickGameCenterLeaderboardImages1() => GameCenterLeaderboardImages1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardImages2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardImages2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages2))] #endif - public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; + public bool IsGameCenterLeaderboardImages2 => GameCenterLeaderboardImages2 != null; /// /// /// - public bool TryPickGameCenterLeaderboardVersions( + public bool TryPickGameCenterLeaderboardImages2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardVersions; - return IsGameCenterLeaderboardVersions; + value = GameCenterLeaderboardImages2; + return IsGameCenterLeaderboardImages2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardImages2() => GameCenterLeaderboardImages2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages2' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem109(global::AppStoreConnect.GameCenterLeaderboardImageV2 value) => new IncludedItem109((global::AppStoreConnect.GameCenterLeaderboardImageV2?)value); + public static implicit operator IncludedItem109(global::AppStoreConnect.GameCenterLeaderboardImage value) => new IncludedItem109((global::AppStoreConnect.GameCenterLeaderboardImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardImageV2?(IncludedItem109 @this) => @this.GameCenterLeaderboardImages; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardImage?(IncludedItem109 @this) => @this.GameCenterLeaderboardImages1; /// /// /// - public IncludedItem109(global::AppStoreConnect.GameCenterLeaderboardImageV2? value) + public IncludedItem109(global::AppStoreConnect.GameCenterLeaderboardImage? value) { - GameCenterLeaderboardImages = value; + GameCenterLeaderboardImages1 = value; } /// /// /// - public static IncludedItem109 FromGameCenterLeaderboardImages(global::AppStoreConnect.GameCenterLeaderboardImageV2? value) => new IncludedItem109(value); + public static IncludedItem109 FromGameCenterLeaderboardImages1(global::AppStoreConnect.GameCenterLeaderboardImage? value) => new IncludedItem109(value); /// /// /// - public static implicit operator IncludedItem109(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem109((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); + public static implicit operator IncludedItem109(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem109((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem109 @this) => @this.GameCenterLeaderboardVersions; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem109 @this) => @this.GameCenterLeaderboardImages2; /// /// /// - public IncludedItem109(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + public IncludedItem109(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardVersions = value; + GameCenterLeaderboardImages2 = value; } /// /// /// - public static IncludedItem109 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem109(value); + public static IncludedItem109 FromGameCenterLeaderboardImages2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem109(value); /// /// /// public IncludedItem109( - global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardImageV2? gameCenterLeaderboardImages, - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions + global::AppStoreConnect.GameCenterLeaderboardLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardImage? gameCenterLeaderboardImages1, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardImages2 ) { Type = type; - GameCenterLeaderboardImages = gameCenterLeaderboardImages; - GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; + GameCenterLeaderboardImages1 = gameCenterLeaderboardImages1; + GameCenterLeaderboardImages2 = gameCenterLeaderboardImages2; } /// /// /// public object? Object => - GameCenterLeaderboardVersions as object ?? - GameCenterLeaderboardImages as object + GameCenterLeaderboardImages2 as object ?? + GameCenterLeaderboardImages1 as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardImages?.ToString() ?? - GameCenterLeaderboardVersions?.ToString() + GameCenterLeaderboardImages1?.ToString() ?? + GameCenterLeaderboardImages2?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterLeaderboardImages as object /// public bool Validate() { - return IsGameCenterLeaderboardImages && !IsGameCenterLeaderboardVersions || !IsGameCenterLeaderboardImages && IsGameCenterLeaderboardVersions; + return IsGameCenterLeaderboardImages1 && !IsGameCenterLeaderboardImages2 || !IsGameCenterLeaderboardImages1 && IsGameCenterLeaderboardImages2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardImages = null, - global::System.Func? gameCenterLeaderboardVersions = null, + global::System.Func? gameCenterLeaderboardImages1 = null, + global::System.Func? gameCenterLeaderboardImages2 = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardImages is { } __value0 && gameCenterLeaderboardImages != null) + if (GameCenterLeaderboardImages1 is { } __value0 && gameCenterLeaderboardImages1 != null) { - return gameCenterLeaderboardImages(__value0); + return gameCenterLeaderboardImages1(__value0); } - else if (GameCenterLeaderboardVersions is { } __value1 && gameCenterLeaderboardVersions != null) + else if (GameCenterLeaderboardImages2 is { } __value1 && gameCenterLeaderboardImages2 != null) { - return gameCenterLeaderboardVersions(__value1); + return gameCenterLeaderboardImages2(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardImages = null, + global::System.Action? gameCenterLeaderboardImages1 = null, - global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? gameCenterLeaderboardImages2 = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterLeaderboardImages is { } __value0) + if (GameCenterLeaderboardImages1 is { } __value0) { - gameCenterLeaderboardImages?.Invoke(__value0); + gameCenterLeaderboardImages1?.Invoke(__value0); } - else if (GameCenterLeaderboardVersions is { } __value1) + else if (GameCenterLeaderboardImages2 is { } __value1) { - gameCenterLeaderboardVersions?.Invoke(__value1); + gameCenterLeaderboardImages2?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardImages = null, - global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? gameCenterLeaderboardImages1 = null, + global::System.Action? gameCenterLeaderboardImages2 = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardImages is { } __value0) + if (GameCenterLeaderboardImages1 is { } __value0) { - gameCenterLeaderboardImages?.Invoke(__value0); + gameCenterLeaderboardImages1?.Invoke(__value0); } - else if (GameCenterLeaderboardVersions is { } __value1) + else if (GameCenterLeaderboardImages2 is { } __value1) { - gameCenterLeaderboardVersions?.Invoke(__value1); + gameCenterLeaderboardImages2?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardImages, - typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), - GameCenterLeaderboardVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), + GameCenterLeaderboardImages1, + typeof(global::AppStoreConnect.GameCenterLeaderboardImage), + GameCenterLeaderboardImages2, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem109 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages, other.GameCenterLeaderboardImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages1, other.GameCenterLeaderboardImages1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages2, other.GameCenterLeaderboardImages2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem11.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem11.g.cs index 486f23b5d..6683a202c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem11.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem11.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences1))] #endif - public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; + public bool IsAppClipDefaultExperiences1 => AppClipDefaultExperiences1 != null; /// /// /// - public bool TryPickAppCustomProductPageVersions( + public bool TryPickAppClipDefaultExperiences1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPageVersion? value) + out global::AppStoreConnect.AppClipDefaultExperience? value) { - value = AppCustomProductPageVersions; - return IsAppCustomProductPageVersions; + value = AppClipDefaultExperiences1; + return IsAppClipDefaultExperiences1; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value + public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences1() => AppClipDefaultExperiences1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppKeyword? AppKeywords { get; init; } + public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; init; } #else - public global::AppStoreConnect.AppKeyword? AppKeywords { get; } + public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppKeywords))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences2))] #endif - public bool IsAppKeywords => AppKeywords != null; + public bool IsAppClipDefaultExperiences2 => AppClipDefaultExperiences2 != null; /// /// /// - public bool TryPickAppKeywords( + public bool TryPickAppClipDefaultExperiences2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppKeyword? value) + out global::AppStoreConnect.App? value) { - value = AppKeywords; - return IsAppKeywords; + value = AppClipDefaultExperiences2; + return IsAppClipDefaultExperiences2; } /// /// /// - public global::AppStoreConnect.AppKeyword PickAppKeywords() => AppKeywords is { } value + public global::AppStoreConnect.App PickAppClipDefaultExperiences2() => AppClipDefaultExperiences2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppKeywords' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } -#else - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] -#endif - public bool IsAppPreviewSets => AppPreviewSets != null; - - /// - /// - /// - public bool TryPickAppPreviewSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppPreviewSet? value) - { - value = AppPreviewSets; - return IsAppPreviewSets; - } - - /// - /// - /// - public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } -#else - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] -#endif - public bool IsAppScreenshotSets => AppScreenshotSets != null; - - /// - /// - /// - public bool TryPickAppScreenshotSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppScreenshotSet? value) - { - value = AppScreenshotSets; - return IsAppScreenshotSets; - } - - /// - /// - /// - public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem11(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem11((global::AppStoreConnect.AppCustomProductPageVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem11 @this) => @this.AppCustomProductPageVersions; - - /// - /// - /// - public IncludedItem11(global::AppStoreConnect.AppCustomProductPageVersion? value) - { - AppCustomProductPageVersions = value; - } - - /// - /// - /// - public static IncludedItem11 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem11(value); - - /// - /// - /// - public static implicit operator IncludedItem11(global::AppStoreConnect.AppKeyword value) => new IncludedItem11((global::AppStoreConnect.AppKeyword?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppKeyword?(IncludedItem11 @this) => @this.AppKeywords; - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences2' but the value was {ToString()}."); /// /// /// - public IncludedItem11(global::AppStoreConnect.AppKeyword? value) - { - AppKeywords = value; - } + public static implicit operator IncludedItem11(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem11((global::AppStoreConnect.AppClipDefaultExperience?)value); /// /// /// - public static IncludedItem11 FromAppKeywords(global::AppStoreConnect.AppKeyword? value) => new IncludedItem11(value); + public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem11 @this) => @this.AppClipDefaultExperiences1; /// /// /// - public static implicit operator IncludedItem11(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem11((global::AppStoreConnect.AppPreviewSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem11 @this) => @this.AppPreviewSets; - - /// - /// - /// - public IncludedItem11(global::AppStoreConnect.AppPreviewSet? value) + public IncludedItem11(global::AppStoreConnect.AppClipDefaultExperience? value) { - AppPreviewSets = value; + AppClipDefaultExperiences1 = value; } /// /// /// - public static IncludedItem11 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem11(value); + public static IncludedItem11 FromAppClipDefaultExperiences1(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem11(value); /// /// /// - public static implicit operator IncludedItem11(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem11((global::AppStoreConnect.AppScreenshotSet?)value); + public static implicit operator IncludedItem11(global::AppStoreConnect.App value) => new IncludedItem11((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem11 @this) => @this.AppScreenshotSets; + public static implicit operator global::AppStoreConnect.App?(IncludedItem11 @this) => @this.AppClipDefaultExperiences2; /// /// /// - public IncludedItem11(global::AppStoreConnect.AppScreenshotSet? value) + public IncludedItem11(global::AppStoreConnect.App? value) { - AppScreenshotSets = value; + AppClipDefaultExperiences2 = value; } /// /// /// - public static IncludedItem11 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem11(value); + public static IncludedItem11 FromAppClipDefaultExperiences2(global::AppStoreConnect.App? value) => new IncludedItem11(value); /// /// /// public IncludedItem11( - global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, - global::AppStoreConnect.AppKeyword? appKeywords, - global::AppStoreConnect.AppPreviewSet? appPreviewSets, - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets + global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1, + global::AppStoreConnect.App? appClipDefaultExperiences2 ) { Type = type; - AppCustomProductPageVersions = appCustomProductPageVersions; - AppKeywords = appKeywords; - AppPreviewSets = appPreviewSets; - AppScreenshotSets = appScreenshotSets; + AppClipDefaultExperiences1 = appClipDefaultExperiences1; + AppClipDefaultExperiences2 = appClipDefaultExperiences2; } /// /// /// public object? Object => - AppScreenshotSets as object ?? - AppPreviewSets as object ?? - AppKeywords as object ?? - AppCustomProductPageVersions as object + AppClipDefaultExperiences2 as object ?? + AppClipDefaultExperiences1 as object ; /// /// /// public override string? ToString() => - AppCustomProductPageVersions?.ToString() ?? - AppKeywords?.ToString() ?? - AppPreviewSets?.ToString() ?? - AppScreenshotSets?.ToString() + AppClipDefaultExperiences1?.ToString() ?? + AppClipDefaultExperiences2?.ToString() ; /// @@ -297,17 +169,15 @@ AppCustomProductPageVersions as object /// public bool Validate() { - return IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppCustomProductPageVersions && IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppCustomProductPageVersions && !IsAppKeywords && IsAppPreviewSets && !IsAppScreenshotSets || !IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && IsAppScreenshotSets; + return IsAppClipDefaultExperiences1 && !IsAppClipDefaultExperiences2 || !IsAppClipDefaultExperiences1 && IsAppClipDefaultExperiences2; } /// /// /// public TResult? Match( - global::System.Func? appCustomProductPageVersions = null, - global::System.Func? appKeywords = null, - global::System.Func? appPreviewSets = null, - global::System.Func? appScreenshotSets = null, + global::System.Func? appClipDefaultExperiences1 = null, + global::System.Func? appClipDefaultExperiences2 = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (AppCustomProductPageVersions is { } __value0 && appCustomProductPageVersions != null) - { - return appCustomProductPageVersions(__value0); - } - else if (AppKeywords is { } __value1 && appKeywords != null) - { - return appKeywords(__value1); - } - else if (AppPreviewSets is { } __value2 && appPreviewSets != null) + if (AppClipDefaultExperiences1 is { } __value0 && appClipDefaultExperiences1 != null) { - return appPreviewSets(__value2); + return appClipDefaultExperiences1(__value0); } - else if (AppScreenshotSets is { } __value3 && appScreenshotSets != null) + else if (AppClipDefaultExperiences2 is { } __value1 && appClipDefaultExperiences2 != null) { - return appScreenshotSets(__value3); + return appClipDefaultExperiences2(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appCustomProductPageVersions = null, - - global::System.Action? appKeywords = null, + global::System.Action? appClipDefaultExperiences1 = null, - global::System.Action? appPreviewSets = null, - - global::System.Action? appScreenshotSets = null, + global::System.Action? appClipDefaultExperiences2 = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (AppCustomProductPageVersions is { } __value0) - { - appCustomProductPageVersions?.Invoke(__value0); - } - else if (AppKeywords is { } __value1) + if (AppClipDefaultExperiences1 is { } __value0) { - appKeywords?.Invoke(__value1); + appClipDefaultExperiences1?.Invoke(__value0); } - else if (AppPreviewSets is { } __value2) + else if (AppClipDefaultExperiences2 is { } __value1) { - appPreviewSets?.Invoke(__value2); - } - else if (AppScreenshotSets is { } __value3) - { - appScreenshotSets?.Invoke(__value3); + appClipDefaultExperiences2?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appCustomProductPageVersions = null, - global::System.Action? appKeywords = null, - global::System.Action? appPreviewSets = null, - global::System.Action? appScreenshotSets = null, + global::System.Action? appClipDefaultExperiences1 = null, + global::System.Action? appClipDefaultExperiences2 = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (AppCustomProductPageVersions is { } __value0) - { - appCustomProductPageVersions?.Invoke(__value0); - } - else if (AppKeywords is { } __value1) - { - appKeywords?.Invoke(__value1); - } - else if (AppPreviewSets is { } __value2) + if (AppClipDefaultExperiences1 is { } __value0) { - appPreviewSets?.Invoke(__value2); + appClipDefaultExperiences1?.Invoke(__value0); } - else if (AppScreenshotSets is { } __value3) + else if (AppClipDefaultExperiences2 is { } __value1) { - appScreenshotSets?.Invoke(__value3); + appClipDefaultExperiences2?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppCustomProductPageVersions, - typeof(global::AppStoreConnect.AppCustomProductPageVersion), - AppKeywords, - typeof(global::AppStoreConnect.AppKeyword), - AppPreviewSets, - typeof(global::AppStoreConnect.AppPreviewSet), - AppScreenshotSets, - typeof(global::AppStoreConnect.AppScreenshotSet), + AppClipDefaultExperiences1, + typeof(global::AppStoreConnect.AppClipDefaultExperience), + AppClipDefaultExperiences2, + typeof(global::AppStoreConnect.App), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem11 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppKeywords, other.AppKeywords) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences1, other.AppClipDefaultExperiences1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences2, other.AppClipDefaultExperiences2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem110.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem110.g.cs index 6236f77c5..b22579ddc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem110.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem110.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2? GameCenterLeaderboardImages { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2? GameCenterLeaderboardImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterLeaderboardImages => GameCenterLeaderboardImages != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterLeaderboardImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterLeaderboardImageV2? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterLeaderboardImages; + return IsGameCenterLeaderboardImages; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterLeaderboardImageV2 PickGameCenterLeaderboardImages() => GameCenterLeaderboardImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] #endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; /// /// /// - public bool TryPickGameCenterLeaderboards( + public bool TryPickGameCenterLeaderboardVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; + value = GameCenterLeaderboardVersions; + return IsGameCenterLeaderboardVersions; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value + public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem110(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem110((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem110(global::AppStoreConnect.GameCenterLeaderboardImageV2 value) => new IncludedItem110((global::AppStoreConnect.GameCenterLeaderboardImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem110 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardImageV2?(IncludedItem110 @this) => @this.GameCenterLeaderboardImages; /// /// /// - public IncludedItem110(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem110(global::AppStoreConnect.GameCenterLeaderboardImageV2? value) { - GameCenterDetails = value; + GameCenterLeaderboardImages = value; } /// /// /// - public static IncludedItem110 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem110(value); + public static IncludedItem110 FromGameCenterLeaderboardImages(global::AppStoreConnect.GameCenterLeaderboardImageV2? value) => new IncludedItem110(value); /// /// /// - public static implicit operator IncludedItem110(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem110((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem110(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem110((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem110 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem110 @this) => @this.GameCenterLeaderboardVersions; /// /// /// - public IncludedItem110(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem110(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) { - GameCenterLeaderboards = value; + GameCenterLeaderboardVersions = value; } /// /// /// - public static IncludedItem110 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem110(value); + public static IncludedItem110 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem110(value); /// /// /// public IncludedItem110( - global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards + global::AppStoreConnect.GameCenterLeaderboardLocalizationsV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardImageV2? gameCenterLeaderboardImages, + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions ) { Type = type; - GameCenterDetails = gameCenterDetails; - GameCenterLeaderboards = gameCenterLeaderboards; + GameCenterLeaderboardImages = gameCenterLeaderboardImages; + GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? - GameCenterDetails as object + GameCenterLeaderboardVersions as object ?? + GameCenterLeaderboardImages as object ; /// /// /// public override string? ToString() => - GameCenterDetails?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterLeaderboardImages?.ToString() ?? + GameCenterLeaderboardVersions?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterDetails as object /// public bool Validate() { - return IsGameCenterDetails && !IsGameCenterLeaderboards || !IsGameCenterDetails && IsGameCenterLeaderboards; + return IsGameCenterLeaderboardImages && !IsGameCenterLeaderboardVersions || !IsGameCenterLeaderboardImages && IsGameCenterLeaderboardVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterLeaderboards = null, + global::System.Func? gameCenterLeaderboardImages = null, + global::System.Func? gameCenterLeaderboardVersions = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterDetails is { } __value0 && gameCenterDetails != null) + if (GameCenterLeaderboardImages is { } __value0 && gameCenterLeaderboardImages != null) { - return gameCenterDetails(__value0); + return gameCenterLeaderboardImages(__value0); } - else if (GameCenterLeaderboards is { } __value1 && gameCenterLeaderboards != null) + else if (GameCenterLeaderboardVersions is { } __value1 && gameCenterLeaderboardVersions != null) { - return gameCenterLeaderboards(__value1); + return gameCenterLeaderboardVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboardImages = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardVersions = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterDetails is { } __value0) + if (GameCenterLeaderboardImages is { } __value0) { - gameCenterDetails?.Invoke(__value0); + gameCenterLeaderboardImages?.Invoke(__value0); } - else if (GameCenterLeaderboards is { } __value1) + else if (GameCenterLeaderboardVersions is { } __value1) { - gameCenterLeaderboards?.Invoke(__value1); + gameCenterLeaderboardVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardImages = null, + global::System.Action? gameCenterLeaderboardVersions = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterDetails is { } __value0) + if (GameCenterLeaderboardImages is { } __value0) { - gameCenterDetails?.Invoke(__value0); + gameCenterLeaderboardImages?.Invoke(__value0); } - else if (GameCenterLeaderboards is { } __value1) + else if (GameCenterLeaderboardVersions is { } __value1) { - gameCenterLeaderboards?.Invoke(__value1); + gameCenterLeaderboardVersions?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + GameCenterLeaderboardImages, + typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), + GameCenterLeaderboardVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem110 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages, other.GameCenterLeaderboardImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem111.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem111.g.cs index 34dbc061c..436de861b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem111.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem111.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2? GameCenterLeaderboardImages { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterLeaderboardImageV2? GameCenterLeaderboardImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardImages))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterLeaderboardImages => GameCenterLeaderboardImages != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterLeaderboardImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterLeaderboardImageV2? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterLeaderboardImages; + return IsGameCenterLeaderboardImages; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterLeaderboardImageV2 PickGameCenterLeaderboardImages() => GameCenterLeaderboardImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] #endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; /// /// /// - public bool TryPickGameCenterLeaderboards( + public bool TryPickGameCenterLeaderboardVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; + value = GameCenterLeaderboardVersions; + return IsGameCenterLeaderboardVersions; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value + public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem111(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem111((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem111(global::AppStoreConnect.GameCenterLeaderboardImageV2 value) => new IncludedItem111((global::AppStoreConnect.GameCenterLeaderboardImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem111 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardImageV2?(IncludedItem111 @this) => @this.GameCenterLeaderboardImages; /// /// /// - public IncludedItem111(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem111(global::AppStoreConnect.GameCenterLeaderboardImageV2? value) { - GameCenterDetails = value; + GameCenterLeaderboardImages = value; } /// /// /// - public static IncludedItem111 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem111(value); + public static IncludedItem111 FromGameCenterLeaderboardImages(global::AppStoreConnect.GameCenterLeaderboardImageV2? value) => new IncludedItem111(value); /// /// /// - public static implicit operator IncludedItem111(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem111((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem111(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem111((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem111 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem111 @this) => @this.GameCenterLeaderboardVersions; /// /// /// - public IncludedItem111(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem111(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) { - GameCenterLeaderboards = value; + GameCenterLeaderboardVersions = value; } /// /// /// - public static IncludedItem111 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem111(value); + public static IncludedItem111 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem111(value); /// /// /// public IncludedItem111( - global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards + global::AppStoreConnect.GameCenterLeaderboardLocalizationV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardImageV2? gameCenterLeaderboardImages, + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions ) { Type = type; - GameCenterDetails = gameCenterDetails; - GameCenterLeaderboards = gameCenterLeaderboards; + GameCenterLeaderboardImages = gameCenterLeaderboardImages; + GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? - GameCenterDetails as object + GameCenterLeaderboardVersions as object ?? + GameCenterLeaderboardImages as object ; /// /// /// public override string? ToString() => - GameCenterDetails?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterLeaderboardImages?.ToString() ?? + GameCenterLeaderboardVersions?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterDetails as object /// public bool Validate() { - return IsGameCenterDetails && !IsGameCenterLeaderboards || !IsGameCenterDetails && IsGameCenterLeaderboards; + return IsGameCenterLeaderboardImages && !IsGameCenterLeaderboardVersions || !IsGameCenterLeaderboardImages && IsGameCenterLeaderboardVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterLeaderboards = null, + global::System.Func? gameCenterLeaderboardImages = null, + global::System.Func? gameCenterLeaderboardVersions = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterDetails is { } __value0 && gameCenterDetails != null) + if (GameCenterLeaderboardImages is { } __value0 && gameCenterLeaderboardImages != null) { - return gameCenterDetails(__value0); + return gameCenterLeaderboardImages(__value0); } - else if (GameCenterLeaderboards is { } __value1 && gameCenterLeaderboards != null) + else if (GameCenterLeaderboardVersions is { } __value1 && gameCenterLeaderboardVersions != null) { - return gameCenterLeaderboards(__value1); + return gameCenterLeaderboardVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboardImages = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardVersions = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterDetails is { } __value0) + if (GameCenterLeaderboardImages is { } __value0) { - gameCenterDetails?.Invoke(__value0); + gameCenterLeaderboardImages?.Invoke(__value0); } - else if (GameCenterLeaderboards is { } __value1) + else if (GameCenterLeaderboardVersions is { } __value1) { - gameCenterLeaderboards?.Invoke(__value1); + gameCenterLeaderboardVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardImages = null, + global::System.Action? gameCenterLeaderboardVersions = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterDetails is { } __value0) + if (GameCenterLeaderboardImages is { } __value0) { - gameCenterDetails?.Invoke(__value0); + gameCenterLeaderboardImages?.Invoke(__value0); } - else if (GameCenterLeaderboards is { } __value1) + else if (GameCenterLeaderboardVersions is { } __value1) { - gameCenterLeaderboards?.Invoke(__value1); + gameCenterLeaderboardVersions?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + GameCenterLeaderboardImages, + typeof(global::AppStoreConnect.GameCenterLeaderboardImageV2), + GameCenterLeaderboardVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem111 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardImages, other.GameCenterLeaderboardImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem112.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem112.g.cs index f2d3b9136..4c3139ca7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem112.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem112.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetImage? GameCenterLeaderboardSetImages { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetImage? GameCenterLeaderboardSetImages { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterLeaderboardSetImages => GameCenterLeaderboardSetImages != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetImages( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetImage? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterLeaderboardSetImages; - return IsGameCenterLeaderboardSetImages; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImage PickGameCenterLeaderboardSetImages() => GameCenterLeaderboardSetImages is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] #endif - public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets( + public bool TryPickGameCenterLeaderboards( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) + out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardSets; - return IsGameCenterLeaderboardSets; + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem112(global::AppStoreConnect.GameCenterLeaderboardSetImage value) => new IncludedItem112((global::AppStoreConnect.GameCenterLeaderboardSetImage?)value); + public static implicit operator IncludedItem112(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem112((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetImage?(IncludedItem112 @this) => @this.GameCenterLeaderboardSetImages; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem112 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem112(global::AppStoreConnect.GameCenterLeaderboardSetImage? value) + public IncludedItem112(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterLeaderboardSetImages = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem112 FromGameCenterLeaderboardSetImages(global::AppStoreConnect.GameCenterLeaderboardSetImage? value) => new IncludedItem112(value); + public static IncludedItem112 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem112(value); /// /// /// - public static implicit operator IncludedItem112(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem112((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + public static implicit operator IncludedItem112(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem112((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem112 @this) => @this.GameCenterLeaderboardSets; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem112 @this) => @this.GameCenterLeaderboards; /// /// /// - public IncludedItem112(global::AppStoreConnect.GameCenterLeaderboardSet? value) + public IncludedItem112(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardSets = value; + GameCenterLeaderboards = value; } /// /// /// - public static IncludedItem112 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem112(value); + public static IncludedItem112 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem112(value); /// /// /// public IncludedItem112( - global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardSetImage? gameCenterLeaderboardSetImages, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets + global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards ) { Type = type; - GameCenterLeaderboardSetImages = gameCenterLeaderboardSetImages; - GameCenterLeaderboardSets = gameCenterLeaderboardSets; + GameCenterDetails = gameCenterDetails; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboardSets as object ?? - GameCenterLeaderboardSetImages as object + GameCenterLeaderboards as object ?? + GameCenterDetails as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardSetImages?.ToString() ?? - GameCenterLeaderboardSets?.ToString() + GameCenterDetails?.ToString() ?? + GameCenterLeaderboards?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterLeaderboardSetImages as object /// public bool Validate() { - return IsGameCenterLeaderboardSetImages && !IsGameCenterLeaderboardSets || !IsGameCenterLeaderboardSetImages && IsGameCenterLeaderboardSets; + return IsGameCenterDetails && !IsGameCenterLeaderboards || !IsGameCenterDetails && IsGameCenterLeaderboards; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardSetImages = null, - global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardSetImages is { } __value0 && gameCenterLeaderboardSetImages != null) + if (GameCenterDetails is { } __value0 && gameCenterDetails != null) { - return gameCenterLeaderboardSetImages(__value0); + return gameCenterDetails(__value0); } - else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) + else if (GameCenterLeaderboards is { } __value1 && gameCenterLeaderboards != null) { - return gameCenterLeaderboardSets(__value1); + return gameCenterLeaderboards(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardSetImages = null, + global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterLeaderboardSetImages is { } __value0) + if (GameCenterDetails is { } __value0) { - gameCenterLeaderboardSetImages?.Invoke(__value0); + gameCenterDetails?.Invoke(__value0); } - else if (GameCenterLeaderboardSets is { } __value1) + else if (GameCenterLeaderboards is { } __value1) { - gameCenterLeaderboardSets?.Invoke(__value1); + gameCenterLeaderboards?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardSetImages = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardSetImages is { } __value0) + if (GameCenterDetails is { } __value0) { - gameCenterLeaderboardSetImages?.Invoke(__value0); + gameCenterDetails?.Invoke(__value0); } - else if (GameCenterLeaderboardSets is { } __value1) + else if (GameCenterLeaderboards is { } __value1) { - gameCenterLeaderboardSets?.Invoke(__value1); + gameCenterLeaderboards?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardSetImages, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), - GameCenterLeaderboardSets, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterLeaderboards, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem112 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetImages, other.GameCenterLeaderboardSetImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem113.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem113.g.cs index 12ac3ea4b..8c149d517 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem113.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem113.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetImage? GameCenterLeaderboardSetImages { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetImage? GameCenterLeaderboardSetImages { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterLeaderboardSetImages => GameCenterLeaderboardSetImages != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetImages( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetImage? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterLeaderboardSetImages; - return IsGameCenterLeaderboardSetImages; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImage PickGameCenterLeaderboardSetImages() => GameCenterLeaderboardSetImages is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] #endif - public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets( + public bool TryPickGameCenterLeaderboards( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) + out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardSets; - return IsGameCenterLeaderboardSets; + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem113(global::AppStoreConnect.GameCenterLeaderboardSetImage value) => new IncludedItem113((global::AppStoreConnect.GameCenterLeaderboardSetImage?)value); + public static implicit operator IncludedItem113(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem113((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetImage?(IncludedItem113 @this) => @this.GameCenterLeaderboardSetImages; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem113 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem113(global::AppStoreConnect.GameCenterLeaderboardSetImage? value) + public IncludedItem113(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterLeaderboardSetImages = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem113 FromGameCenterLeaderboardSetImages(global::AppStoreConnect.GameCenterLeaderboardSetImage? value) => new IncludedItem113(value); + public static IncludedItem113 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem113(value); /// /// /// - public static implicit operator IncludedItem113(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem113((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + public static implicit operator IncludedItem113(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem113((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem113 @this) => @this.GameCenterLeaderboardSets; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem113 @this) => @this.GameCenterLeaderboards; /// /// /// - public IncludedItem113(global::AppStoreConnect.GameCenterLeaderboardSet? value) + public IncludedItem113(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardSets = value; + GameCenterLeaderboards = value; } /// /// /// - public static IncludedItem113 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem113(value); + public static IncludedItem113 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem113(value); /// /// /// public IncludedItem113( - global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardSetImage? gameCenterLeaderboardSetImages, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets + global::AppStoreConnect.GameCenterLeaderboardReleaseResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards ) { Type = type; - GameCenterLeaderboardSetImages = gameCenterLeaderboardSetImages; - GameCenterLeaderboardSets = gameCenterLeaderboardSets; + GameCenterDetails = gameCenterDetails; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboardSets as object ?? - GameCenterLeaderboardSetImages as object + GameCenterLeaderboards as object ?? + GameCenterDetails as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardSetImages?.ToString() ?? - GameCenterLeaderboardSets?.ToString() + GameCenterDetails?.ToString() ?? + GameCenterLeaderboards?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterLeaderboardSetImages as object /// public bool Validate() { - return IsGameCenterLeaderboardSetImages && !IsGameCenterLeaderboardSets || !IsGameCenterLeaderboardSetImages && IsGameCenterLeaderboardSets; + return IsGameCenterDetails && !IsGameCenterLeaderboards || !IsGameCenterDetails && IsGameCenterLeaderboards; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardSetImages = null, - global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardSetImages is { } __value0 && gameCenterLeaderboardSetImages != null) + if (GameCenterDetails is { } __value0 && gameCenterDetails != null) { - return gameCenterLeaderboardSetImages(__value0); + return gameCenterDetails(__value0); } - else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) + else if (GameCenterLeaderboards is { } __value1 && gameCenterLeaderboards != null) { - return gameCenterLeaderboardSets(__value1); + return gameCenterLeaderboards(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardSetImages = null, + global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterLeaderboardSetImages is { } __value0) + if (GameCenterDetails is { } __value0) { - gameCenterLeaderboardSetImages?.Invoke(__value0); + gameCenterDetails?.Invoke(__value0); } - else if (GameCenterLeaderboardSets is { } __value1) + else if (GameCenterLeaderboards is { } __value1) { - gameCenterLeaderboardSets?.Invoke(__value1); + gameCenterLeaderboards?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardSetImages = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardSetImages is { } __value0) + if (GameCenterDetails is { } __value0) { - gameCenterLeaderboardSetImages?.Invoke(__value0); + gameCenterDetails?.Invoke(__value0); } - else if (GameCenterLeaderboardSets is { } __value1) + else if (GameCenterLeaderboards is { } __value1) { - gameCenterLeaderboardSets?.Invoke(__value1); + gameCenterLeaderboards?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardSetImages, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), - GameCenterLeaderboardSets, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterLeaderboards, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem113 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetImages, other.GameCenterLeaderboardSetImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem114.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem114.g.cs index aefd6aa8e..e97e35cbd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem114.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem114.g.cs @@ -12,15 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? GameCenterLeaderboardSetImages { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetImage? GameCenterLeaderboardSetImages { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? GameCenterLeaderboardSetImages { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetImage? GameCenterLeaderboardSetImages { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickGameCenterLeaderboardSetImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) + out global::AppStoreConnect.GameCenterLeaderboardSetImage? value) { value = GameCenterLeaderboardSetImages; return IsGameCenterLeaderboardSetImages; @@ -47,7 +47,7 @@ public bool TryPickGameCenterLeaderboardSetImages( /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2 PickGameCenterLeaderboardSetImages() => GameCenterLeaderboardSetImages is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetImage PickGameCenterLeaderboardSetImages() => GameCenterLeaderboardSetImages is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetImages' but the value was {ToString()}."); @@ -55,52 +55,52 @@ public bool TryPickGameCenterLeaderboardSetImages( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] #endif - public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; + public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetVersions( + public bool TryPickGameCenterLeaderboardSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + out global::AppStoreConnect.GameCenterLeaderboardSet? value) { - value = GameCenterLeaderboardSetVersions; - return IsGameCenterLeaderboardSetVersions; + value = GameCenterLeaderboardSets; + return IsGameCenterLeaderboardSets; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem114(global::AppStoreConnect.GameCenterLeaderboardSetImageV2 value) => new IncludedItem114((global::AppStoreConnect.GameCenterLeaderboardSetImageV2?)value); + public static implicit operator IncludedItem114(global::AppStoreConnect.GameCenterLeaderboardSetImage value) => new IncludedItem114((global::AppStoreConnect.GameCenterLeaderboardSetImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetImageV2?(IncludedItem114 @this) => @this.GameCenterLeaderboardSetImages; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetImage?(IncludedItem114 @this) => @this.GameCenterLeaderboardSetImages; /// /// /// - public IncludedItem114(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) + public IncludedItem114(global::AppStoreConnect.GameCenterLeaderboardSetImage? value) { GameCenterLeaderboardSetImages = value; } @@ -108,51 +108,51 @@ public IncludedItem114(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? /// /// /// - public static IncludedItem114 FromGameCenterLeaderboardSetImages(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) => new IncludedItem114(value); + public static IncludedItem114 FromGameCenterLeaderboardSetImages(global::AppStoreConnect.GameCenterLeaderboardSetImage? value) => new IncludedItem114(value); /// /// /// - public static implicit operator IncludedItem114(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem114((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); + public static implicit operator IncludedItem114(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem114((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem114 @this) => @this.GameCenterLeaderboardSetVersions; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem114 @this) => @this.GameCenterLeaderboardSets; /// /// /// - public IncludedItem114(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + public IncludedItem114(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - GameCenterLeaderboardSetVersions = value; + GameCenterLeaderboardSets = value; } /// /// /// - public static IncludedItem114 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem114(value); + public static IncludedItem114 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem114(value); /// /// /// public IncludedItem114( - global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardSetImageV2? gameCenterLeaderboardSetImages, - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions + global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSetImage? gameCenterLeaderboardSetImages, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets ) { Type = type; GameCenterLeaderboardSetImages = gameCenterLeaderboardSetImages; - GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; + GameCenterLeaderboardSets = gameCenterLeaderboardSets; } /// /// /// public object? Object => - GameCenterLeaderboardSetVersions as object ?? + GameCenterLeaderboardSets as object ?? GameCenterLeaderboardSetImages as object ; @@ -161,7 +161,7 @@ GameCenterLeaderboardSetImages as object /// public override string? ToString() => GameCenterLeaderboardSetImages?.ToString() ?? - GameCenterLeaderboardSetVersions?.ToString() + GameCenterLeaderboardSets?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterLeaderboardSetImages as object /// public bool Validate() { - return IsGameCenterLeaderboardSetImages && !IsGameCenterLeaderboardSetVersions || !IsGameCenterLeaderboardSetImages && IsGameCenterLeaderboardSetVersions; + return IsGameCenterLeaderboardSetImages && !IsGameCenterLeaderboardSets || !IsGameCenterLeaderboardSetImages && IsGameCenterLeaderboardSets; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardSetImages = null, - global::System.Func? gameCenterLeaderboardSetVersions = null, + global::System.Func? gameCenterLeaderboardSetImages = null, + global::System.Func? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -189,9 +189,9 @@ public bool Validate() { return gameCenterLeaderboardSetImages(__value0); } - else if (GameCenterLeaderboardSetVersions is { } __value1 && gameCenterLeaderboardSetVersions != null) + else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) { - return gameCenterLeaderboardSetVersions(__value1); + return gameCenterLeaderboardSets(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardSetImages = null, + global::System.Action? gameCenterLeaderboardSetImages = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -215,9 +215,9 @@ public void Match( { gameCenterLeaderboardSetImages?.Invoke(__value0); } - else if (GameCenterLeaderboardSetVersions is { } __value1) + else if (GameCenterLeaderboardSets is { } __value1) { - gameCenterLeaderboardSetVersions?.Invoke(__value1); + gameCenterLeaderboardSets?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardSetImages = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, + global::System.Action? gameCenterLeaderboardSetImages = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -238,9 +238,9 @@ public void Switch( { gameCenterLeaderboardSetImages?.Invoke(__value0); } - else if (GameCenterLeaderboardSetVersions is { } __value1) + else if (GameCenterLeaderboardSets is { } __value1) { - gameCenterLeaderboardSetVersions?.Invoke(__value1); + gameCenterLeaderboardSets?.Invoke(__value1); } } @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { GameCenterLeaderboardSetImages, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), - GameCenterLeaderboardSetVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), + typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), + GameCenterLeaderboardSets, + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem114 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetImages, other.GameCenterLeaderboardSetImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetImages, other.GameCenterLeaderboardSetImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem115.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem115.g.cs index 277a4bcbb..9a873a00e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem115.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem115.g.cs @@ -12,15 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? GameCenterLeaderboardSetImages { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetImage? GameCenterLeaderboardSetImages { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? GameCenterLeaderboardSetImages { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetImage? GameCenterLeaderboardSetImages { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickGameCenterLeaderboardSetImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) + out global::AppStoreConnect.GameCenterLeaderboardSetImage? value) { value = GameCenterLeaderboardSetImages; return IsGameCenterLeaderboardSetImages; @@ -47,7 +47,7 @@ public bool TryPickGameCenterLeaderboardSetImages( /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetImageV2 PickGameCenterLeaderboardSetImages() => GameCenterLeaderboardSetImages is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetImage PickGameCenterLeaderboardSetImages() => GameCenterLeaderboardSetImages is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetImages' but the value was {ToString()}."); @@ -55,52 +55,52 @@ public bool TryPickGameCenterLeaderboardSetImages( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] #endif - public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; + public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetVersions( + public bool TryPickGameCenterLeaderboardSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + out global::AppStoreConnect.GameCenterLeaderboardSet? value) { - value = GameCenterLeaderboardSetVersions; - return IsGameCenterLeaderboardSetVersions; + value = GameCenterLeaderboardSets; + return IsGameCenterLeaderboardSets; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem115(global::AppStoreConnect.GameCenterLeaderboardSetImageV2 value) => new IncludedItem115((global::AppStoreConnect.GameCenterLeaderboardSetImageV2?)value); + public static implicit operator IncludedItem115(global::AppStoreConnect.GameCenterLeaderboardSetImage value) => new IncludedItem115((global::AppStoreConnect.GameCenterLeaderboardSetImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetImageV2?(IncludedItem115 @this) => @this.GameCenterLeaderboardSetImages; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetImage?(IncludedItem115 @this) => @this.GameCenterLeaderboardSetImages; /// /// /// - public IncludedItem115(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) + public IncludedItem115(global::AppStoreConnect.GameCenterLeaderboardSetImage? value) { GameCenterLeaderboardSetImages = value; } @@ -108,51 +108,51 @@ public IncludedItem115(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? /// /// /// - public static IncludedItem115 FromGameCenterLeaderboardSetImages(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) => new IncludedItem115(value); + public static IncludedItem115 FromGameCenterLeaderboardSetImages(global::AppStoreConnect.GameCenterLeaderboardSetImage? value) => new IncludedItem115(value); /// /// /// - public static implicit operator IncludedItem115(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem115((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); + public static implicit operator IncludedItem115(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem115((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem115 @this) => @this.GameCenterLeaderboardSetVersions; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem115 @this) => @this.GameCenterLeaderboardSets; /// /// /// - public IncludedItem115(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + public IncludedItem115(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - GameCenterLeaderboardSetVersions = value; + GameCenterLeaderboardSets = value; } /// /// /// - public static IncludedItem115 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem115(value); + public static IncludedItem115 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem115(value); /// /// /// public IncludedItem115( - global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardSetImageV2? gameCenterLeaderboardSetImages, - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions + global::AppStoreConnect.GameCenterLeaderboardSetLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSetImage? gameCenterLeaderboardSetImages, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets ) { Type = type; GameCenterLeaderboardSetImages = gameCenterLeaderboardSetImages; - GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; + GameCenterLeaderboardSets = gameCenterLeaderboardSets; } /// /// /// public object? Object => - GameCenterLeaderboardSetVersions as object ?? + GameCenterLeaderboardSets as object ?? GameCenterLeaderboardSetImages as object ; @@ -161,7 +161,7 @@ GameCenterLeaderboardSetImages as object /// public override string? ToString() => GameCenterLeaderboardSetImages?.ToString() ?? - GameCenterLeaderboardSetVersions?.ToString() + GameCenterLeaderboardSets?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterLeaderboardSetImages as object /// public bool Validate() { - return IsGameCenterLeaderboardSetImages && !IsGameCenterLeaderboardSetVersions || !IsGameCenterLeaderboardSetImages && IsGameCenterLeaderboardSetVersions; + return IsGameCenterLeaderboardSetImages && !IsGameCenterLeaderboardSets || !IsGameCenterLeaderboardSetImages && IsGameCenterLeaderboardSets; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardSetImages = null, - global::System.Func? gameCenterLeaderboardSetVersions = null, + global::System.Func? gameCenterLeaderboardSetImages = null, + global::System.Func? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -189,9 +189,9 @@ public bool Validate() { return gameCenterLeaderboardSetImages(__value0); } - else if (GameCenterLeaderboardSetVersions is { } __value1 && gameCenterLeaderboardSetVersions != null) + else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) { - return gameCenterLeaderboardSetVersions(__value1); + return gameCenterLeaderboardSets(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardSetImages = null, + global::System.Action? gameCenterLeaderboardSetImages = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -215,9 +215,9 @@ public void Match( { gameCenterLeaderboardSetImages?.Invoke(__value0); } - else if (GameCenterLeaderboardSetVersions is { } __value1) + else if (GameCenterLeaderboardSets is { } __value1) { - gameCenterLeaderboardSetVersions?.Invoke(__value1); + gameCenterLeaderboardSets?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardSetImages = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, + global::System.Action? gameCenterLeaderboardSetImages = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -238,9 +238,9 @@ public void Switch( { gameCenterLeaderboardSetImages?.Invoke(__value0); } - else if (GameCenterLeaderboardSetVersions is { } __value1) + else if (GameCenterLeaderboardSets is { } __value1) { - gameCenterLeaderboardSetVersions?.Invoke(__value1); + gameCenterLeaderboardSets?.Invoke(__value1); } } @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { GameCenterLeaderboardSetImages, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), - GameCenterLeaderboardSetVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), + typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage), + GameCenterLeaderboardSets, + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem115 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetImages, other.GameCenterLeaderboardSetImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetImages, other.GameCenterLeaderboardSetImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem116.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem116.g.cs index 47bdb0e1f..9cc75c288 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem116.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem116.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? GameCenterLeaderboardSetImages { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? GameCenterLeaderboardSetImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetImages))] #endif - public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; + public bool IsGameCenterLeaderboardSetImages => GameCenterLeaderboardSetImages != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets1( + public bool TryPickGameCenterLeaderboardSetImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) + out global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) { - value = GameCenterLeaderboardSets1; - return IsGameCenterLeaderboardSets1; + value = GameCenterLeaderboardSetImages; + return IsGameCenterLeaderboardSetImages; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2 PickGameCenterLeaderboardSetImages() => GameCenterLeaderboardSetImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] #endif - public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; + public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets2( + public bool TryPickGameCenterLeaderboardSetVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) { - value = GameCenterLeaderboardSets2; - return IsGameCenterLeaderboardSets2; + value = GameCenterLeaderboardSetVersions; + return IsGameCenterLeaderboardSetVersions; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem116(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem116((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + public static implicit operator IncludedItem116(global::AppStoreConnect.GameCenterLeaderboardSetImageV2 value) => new IncludedItem116((global::AppStoreConnect.GameCenterLeaderboardSetImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem116 @this) => @this.GameCenterLeaderboardSets1; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetImageV2?(IncludedItem116 @this) => @this.GameCenterLeaderboardSetImages; /// /// /// - public IncludedItem116(global::AppStoreConnect.GameCenterLeaderboardSet? value) + public IncludedItem116(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) { - GameCenterLeaderboardSets1 = value; + GameCenterLeaderboardSetImages = value; } /// /// /// - public static IncludedItem116 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem116(value); + public static IncludedItem116 FromGameCenterLeaderboardSetImages(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) => new IncludedItem116(value); /// /// /// - public static implicit operator IncludedItem116(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem116((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem116(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem116((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem116 @this) => @this.GameCenterLeaderboardSets2; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem116 @this) => @this.GameCenterLeaderboardSetVersions; /// /// /// - public IncludedItem116(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem116(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) { - GameCenterLeaderboardSets2 = value; + GameCenterLeaderboardSetVersions = value; } /// /// /// - public static IncludedItem116 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem116(value); + public static IncludedItem116 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem116(value); /// /// /// public IncludedItem116( - global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 + global::AppStoreConnect.GameCenterLeaderboardSetLocalizationsV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSetImageV2? gameCenterLeaderboardSetImages, + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions ) { Type = type; - GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; - GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; + GameCenterLeaderboardSetImages = gameCenterLeaderboardSetImages; + GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; } /// /// /// public object? Object => - GameCenterLeaderboardSets2 as object ?? - GameCenterLeaderboardSets1 as object + GameCenterLeaderboardSetVersions as object ?? + GameCenterLeaderboardSetImages as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardSets1?.ToString() ?? - GameCenterLeaderboardSets2?.ToString() + GameCenterLeaderboardSetImages?.ToString() ?? + GameCenterLeaderboardSetVersions?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterLeaderboardSets1 as object /// public bool Validate() { - return IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; + return IsGameCenterLeaderboardSetImages && !IsGameCenterLeaderboardSetVersions || !IsGameCenterLeaderboardSetImages && IsGameCenterLeaderboardSetVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardSets1 = null, - global::System.Func? gameCenterLeaderboardSets2 = null, + global::System.Func? gameCenterLeaderboardSetImages = null, + global::System.Func? gameCenterLeaderboardSetVersions = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardSets1 is { } __value0 && gameCenterLeaderboardSets1 != null) + if (GameCenterLeaderboardSetImages is { } __value0 && gameCenterLeaderboardSetImages != null) { - return gameCenterLeaderboardSets1(__value0); + return gameCenterLeaderboardSetImages(__value0); } - else if (GameCenterLeaderboardSets2 is { } __value1 && gameCenterLeaderboardSets2 != null) + else if (GameCenterLeaderboardSetVersions is { } __value1 && gameCenterLeaderboardSetVersions != null) { - return gameCenterLeaderboardSets2(__value1); + return gameCenterLeaderboardSetVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardSets1 = null, + global::System.Action? gameCenterLeaderboardSetImages = null, - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterLeaderboardSets1 is { } __value0) + if (GameCenterLeaderboardSetImages is { } __value0) { - gameCenterLeaderboardSets1?.Invoke(__value0); + gameCenterLeaderboardSetImages?.Invoke(__value0); } - else if (GameCenterLeaderboardSets2 is { } __value1) + else if (GameCenterLeaderboardSetVersions is { } __value1) { - gameCenterLeaderboardSets2?.Invoke(__value1); + gameCenterLeaderboardSetVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardSets1 = null, - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterLeaderboardSetImages = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardSets1 is { } __value0) + if (GameCenterLeaderboardSetImages is { } __value0) { - gameCenterLeaderboardSets1?.Invoke(__value0); + gameCenterLeaderboardSetImages?.Invoke(__value0); } - else if (GameCenterLeaderboardSets2 is { } __value1) + else if (GameCenterLeaderboardSetVersions is { } __value1) { - gameCenterLeaderboardSets2?.Invoke(__value1); + gameCenterLeaderboardSetVersions?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardSets1, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardSets2, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + GameCenterLeaderboardSetImages, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), + GameCenterLeaderboardSetVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem116 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetImages, other.GameCenterLeaderboardSetImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem117.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem117.g.cs index 936d86b11..1488afb03 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem117.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem117.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? GameCenterLeaderboardSetImages { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2? GameCenterLeaderboardSetImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetImages))] #endif - public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; + public bool IsGameCenterLeaderboardSetImages => GameCenterLeaderboardSetImages != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets1( + public bool TryPickGameCenterLeaderboardSetImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) + out global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) { - value = GameCenterLeaderboardSets1; - return IsGameCenterLeaderboardSets1; + value = GameCenterLeaderboardSetImages; + return IsGameCenterLeaderboardSetImages; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetImageV2 PickGameCenterLeaderboardSetImages() => GameCenterLeaderboardSetImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] #endif - public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; + public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets2( + public bool TryPickGameCenterLeaderboardSetVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) { - value = GameCenterLeaderboardSets2; - return IsGameCenterLeaderboardSets2; + value = GameCenterLeaderboardSetVersions; + return IsGameCenterLeaderboardSetVersions; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem117(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem117((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + public static implicit operator IncludedItem117(global::AppStoreConnect.GameCenterLeaderboardSetImageV2 value) => new IncludedItem117((global::AppStoreConnect.GameCenterLeaderboardSetImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem117 @this) => @this.GameCenterLeaderboardSets1; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetImageV2?(IncludedItem117 @this) => @this.GameCenterLeaderboardSetImages; /// /// /// - public IncludedItem117(global::AppStoreConnect.GameCenterLeaderboardSet? value) + public IncludedItem117(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) { - GameCenterLeaderboardSets1 = value; + GameCenterLeaderboardSetImages = value; } /// /// /// - public static IncludedItem117 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem117(value); + public static IncludedItem117 FromGameCenterLeaderboardSetImages(global::AppStoreConnect.GameCenterLeaderboardSetImageV2? value) => new IncludedItem117(value); /// /// /// - public static implicit operator IncludedItem117(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem117((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem117(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem117((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem117 @this) => @this.GameCenterLeaderboardSets2; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem117 @this) => @this.GameCenterLeaderboardSetVersions; /// /// /// - public IncludedItem117(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem117(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) { - GameCenterLeaderboardSets2 = value; + GameCenterLeaderboardSetVersions = value; } /// /// /// - public static IncludedItem117 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem117(value); + public static IncludedItem117 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem117(value); /// /// /// public IncludedItem117( - global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 + global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSetImageV2? gameCenterLeaderboardSetImages, + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions ) { Type = type; - GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; - GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; + GameCenterLeaderboardSetImages = gameCenterLeaderboardSetImages; + GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; } /// /// /// public object? Object => - GameCenterLeaderboardSets2 as object ?? - GameCenterLeaderboardSets1 as object + GameCenterLeaderboardSetVersions as object ?? + GameCenterLeaderboardSetImages as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardSets1?.ToString() ?? - GameCenterLeaderboardSets2?.ToString() + GameCenterLeaderboardSetImages?.ToString() ?? + GameCenterLeaderboardSetVersions?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterLeaderboardSets1 as object /// public bool Validate() { - return IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; + return IsGameCenterLeaderboardSetImages && !IsGameCenterLeaderboardSetVersions || !IsGameCenterLeaderboardSetImages && IsGameCenterLeaderboardSetVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardSets1 = null, - global::System.Func? gameCenterLeaderboardSets2 = null, + global::System.Func? gameCenterLeaderboardSetImages = null, + global::System.Func? gameCenterLeaderboardSetVersions = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardSets1 is { } __value0 && gameCenterLeaderboardSets1 != null) + if (GameCenterLeaderboardSetImages is { } __value0 && gameCenterLeaderboardSetImages != null) { - return gameCenterLeaderboardSets1(__value0); + return gameCenterLeaderboardSetImages(__value0); } - else if (GameCenterLeaderboardSets2 is { } __value1 && gameCenterLeaderboardSets2 != null) + else if (GameCenterLeaderboardSetVersions is { } __value1 && gameCenterLeaderboardSetVersions != null) { - return gameCenterLeaderboardSets2(__value1); + return gameCenterLeaderboardSetVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardSets1 = null, + global::System.Action? gameCenterLeaderboardSetImages = null, - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterLeaderboardSets1 is { } __value0) + if (GameCenterLeaderboardSetImages is { } __value0) { - gameCenterLeaderboardSets1?.Invoke(__value0); + gameCenterLeaderboardSetImages?.Invoke(__value0); } - else if (GameCenterLeaderboardSets2 is { } __value1) + else if (GameCenterLeaderboardSetVersions is { } __value1) { - gameCenterLeaderboardSets2?.Invoke(__value1); + gameCenterLeaderboardSetVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardSets1 = null, - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterLeaderboardSetImages = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardSets1 is { } __value0) + if (GameCenterLeaderboardSetImages is { } __value0) { - gameCenterLeaderboardSets1?.Invoke(__value0); + gameCenterLeaderboardSetImages?.Invoke(__value0); } - else if (GameCenterLeaderboardSets2 is { } __value1) + else if (GameCenterLeaderboardSetVersions is { } __value1) { - gameCenterLeaderboardSets2?.Invoke(__value1); + gameCenterLeaderboardSetVersions?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardSets1, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardSets2, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + GameCenterLeaderboardSetImages, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageV2), + GameCenterLeaderboardSetVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem117 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetImages, other.GameCenterLeaderboardSetImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem118.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem118.g.cs index c50b7bc7d..085fa3e9e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem118.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem118.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterLeaderboardSets1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterLeaderboardSet? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterLeaderboardSets1; + return IsGameCenterLeaderboardSets1; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] #endif - public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; + public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets( + public bool TryPickGameCenterLeaderboardSets2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) + out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardSets; - return IsGameCenterLeaderboardSets; + value = GameCenterLeaderboardSets2; + return IsGameCenterLeaderboardSets2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem118(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem118((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem118(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem118((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem118 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem118 @this) => @this.GameCenterLeaderboardSets1; /// /// /// - public IncludedItem118(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem118(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - GameCenterDetails = value; + GameCenterLeaderboardSets1 = value; } /// /// /// - public static IncludedItem118 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem118(value); + public static IncludedItem118 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem118(value); /// /// /// - public static implicit operator IncludedItem118(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem118((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + public static implicit operator IncludedItem118(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem118((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem118 @this) => @this.GameCenterLeaderboardSets; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem118 @this) => @this.GameCenterLeaderboardSets2; /// /// /// - public IncludedItem118(global::AppStoreConnect.GameCenterLeaderboardSet? value) + public IncludedItem118(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardSets = value; + GameCenterLeaderboardSets2 = value; } /// /// /// - public static IncludedItem118 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem118(value); + public static IncludedItem118 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem118(value); /// /// /// public IncludedItem118( - global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets + global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 ) { Type = type; - GameCenterDetails = gameCenterDetails; - GameCenterLeaderboardSets = gameCenterLeaderboardSets; + GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; + GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; } /// /// /// public object? Object => - GameCenterLeaderboardSets as object ?? - GameCenterDetails as object + GameCenterLeaderboardSets2 as object ?? + GameCenterLeaderboardSets1 as object ; /// /// /// public override string? ToString() => - GameCenterDetails?.ToString() ?? - GameCenterLeaderboardSets?.ToString() + GameCenterLeaderboardSets1?.ToString() ?? + GameCenterLeaderboardSets2?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterDetails as object /// public bool Validate() { - return IsGameCenterDetails && !IsGameCenterLeaderboardSets || !IsGameCenterDetails && IsGameCenterLeaderboardSets; + return IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterLeaderboardSets1 = null, + global::System.Func? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterDetails is { } __value0 && gameCenterDetails != null) + if (GameCenterLeaderboardSets1 is { } __value0 && gameCenterLeaderboardSets1 != null) { - return gameCenterDetails(__value0); + return gameCenterLeaderboardSets1(__value0); } - else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) + else if (GameCenterLeaderboardSets2 is { } __value1 && gameCenterLeaderboardSets2 != null) { - return gameCenterLeaderboardSets(__value1); + return gameCenterLeaderboardSets2(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboardSets1 = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterDetails is { } __value0) + if (GameCenterLeaderboardSets1 is { } __value0) { - gameCenterDetails?.Invoke(__value0); + gameCenterLeaderboardSets1?.Invoke(__value0); } - else if (GameCenterLeaderboardSets is { } __value1) + else if (GameCenterLeaderboardSets2 is { } __value1) { - gameCenterLeaderboardSets?.Invoke(__value1); + gameCenterLeaderboardSets2?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardSets1 = null, + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterDetails is { } __value0) + if (GameCenterLeaderboardSets1 is { } __value0) { - gameCenterDetails?.Invoke(__value0); + gameCenterLeaderboardSets1?.Invoke(__value0); } - else if (GameCenterLeaderboardSets is { } __value1) + else if (GameCenterLeaderboardSets2 is { } __value1) { - gameCenterLeaderboardSets?.Invoke(__value1); + gameCenterLeaderboardSets2?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterLeaderboardSets, + GameCenterLeaderboardSets1, typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterLeaderboardSets2, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem118 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem119.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem119.g.cs index 3beaf1c52..212bd4dcd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem119.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem119.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterLeaderboardSets1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterLeaderboardSet? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterLeaderboardSets1; + return IsGameCenterLeaderboardSets1; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] #endif - public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; + public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; /// /// /// - public bool TryPickGameCenterLeaderboardSets( + public bool TryPickGameCenterLeaderboardSets2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) + out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardSets; - return IsGameCenterLeaderboardSets; + value = GameCenterLeaderboardSets2; + return IsGameCenterLeaderboardSets2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem119(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem119((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem119(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem119((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem119 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem119 @this) => @this.GameCenterLeaderboardSets1; /// /// /// - public IncludedItem119(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem119(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - GameCenterDetails = value; + GameCenterLeaderboardSets1 = value; } /// /// /// - public static IncludedItem119 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem119(value); + public static IncludedItem119 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem119(value); /// /// /// - public static implicit operator IncludedItem119(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem119((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + public static implicit operator IncludedItem119(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem119((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem119 @this) => @this.GameCenterLeaderboardSets; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem119 @this) => @this.GameCenterLeaderboardSets2; /// /// /// - public IncludedItem119(global::AppStoreConnect.GameCenterLeaderboardSet? value) + public IncludedItem119(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardSets = value; + GameCenterLeaderboardSets2 = value; } /// /// /// - public static IncludedItem119 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem119(value); + public static IncludedItem119 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem119(value); /// /// /// public IncludedItem119( - global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets + global::AppStoreConnect.GameCenterLeaderboardSetMemberLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 ) { Type = type; - GameCenterDetails = gameCenterDetails; - GameCenterLeaderboardSets = gameCenterLeaderboardSets; + GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; + GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; } /// /// /// public object? Object => - GameCenterLeaderboardSets as object ?? - GameCenterDetails as object + GameCenterLeaderboardSets2 as object ?? + GameCenterLeaderboardSets1 as object ; /// /// /// public override string? ToString() => - GameCenterDetails?.ToString() ?? - GameCenterLeaderboardSets?.ToString() + GameCenterLeaderboardSets1?.ToString() ?? + GameCenterLeaderboardSets2?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterDetails as object /// public bool Validate() { - return IsGameCenterDetails && !IsGameCenterLeaderboardSets || !IsGameCenterDetails && IsGameCenterLeaderboardSets; + return IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterLeaderboardSets1 = null, + global::System.Func? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterDetails is { } __value0 && gameCenterDetails != null) + if (GameCenterLeaderboardSets1 is { } __value0 && gameCenterLeaderboardSets1 != null) { - return gameCenterDetails(__value0); + return gameCenterLeaderboardSets1(__value0); } - else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) + else if (GameCenterLeaderboardSets2 is { } __value1 && gameCenterLeaderboardSets2 != null) { - return gameCenterLeaderboardSets(__value1); + return gameCenterLeaderboardSets2(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboardSets1 = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterDetails is { } __value0) + if (GameCenterLeaderboardSets1 is { } __value0) { - gameCenterDetails?.Invoke(__value0); + gameCenterLeaderboardSets1?.Invoke(__value0); } - else if (GameCenterLeaderboardSets is { } __value1) + else if (GameCenterLeaderboardSets2 is { } __value1) { - gameCenterLeaderboardSets?.Invoke(__value1); + gameCenterLeaderboardSets2?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardSets1 = null, + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterDetails is { } __value0) + if (GameCenterLeaderboardSets1 is { } __value0) { - gameCenterDetails?.Invoke(__value0); + gameCenterLeaderboardSets1?.Invoke(__value0); } - else if (GameCenterLeaderboardSets is { } __value1) + else if (GameCenterLeaderboardSets2 is { } __value1) { - gameCenterLeaderboardSets?.Invoke(__value1); + gameCenterLeaderboardSets2?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterLeaderboardSets, + GameCenterLeaderboardSets1, typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterLeaderboardSets2, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem119 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem12.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem12.g.cs index 4eba9fd99..24bea372d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem12.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem12.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences1))] #endif - public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; + public bool IsAppClipDefaultExperiences1 => AppClipDefaultExperiences1 != null; /// /// /// - public bool TryPickAppCustomProductPageVersions( + public bool TryPickAppClipDefaultExperiences1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPageVersion? value) + out global::AppStoreConnect.AppClipDefaultExperience? value) { - value = AppCustomProductPageVersions; - return IsAppCustomProductPageVersions; + value = AppClipDefaultExperiences1; + return IsAppClipDefaultExperiences1; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value + public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences1() => AppClipDefaultExperiences1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppKeyword? AppKeywords { get; init; } + public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; init; } #else - public global::AppStoreConnect.AppKeyword? AppKeywords { get; } + public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppKeywords))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences2))] #endif - public bool IsAppKeywords => AppKeywords != null; + public bool IsAppClipDefaultExperiences2 => AppClipDefaultExperiences2 != null; /// /// /// - public bool TryPickAppKeywords( + public bool TryPickAppClipDefaultExperiences2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppKeyword? value) + out global::AppStoreConnect.App? value) { - value = AppKeywords; - return IsAppKeywords; + value = AppClipDefaultExperiences2; + return IsAppClipDefaultExperiences2; } /// /// /// - public global::AppStoreConnect.AppKeyword PickAppKeywords() => AppKeywords is { } value + public global::AppStoreConnect.App PickAppClipDefaultExperiences2() => AppClipDefaultExperiences2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppKeywords' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } -#else - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] -#endif - public bool IsAppPreviewSets => AppPreviewSets != null; - - /// - /// - /// - public bool TryPickAppPreviewSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppPreviewSet? value) - { - value = AppPreviewSets; - return IsAppPreviewSets; - } - - /// - /// - /// - public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } -#else - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] -#endif - public bool IsAppScreenshotSets => AppScreenshotSets != null; - - /// - /// - /// - public bool TryPickAppScreenshotSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppScreenshotSet? value) - { - value = AppScreenshotSets; - return IsAppScreenshotSets; - } - - /// - /// - /// - public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem12(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem12((global::AppStoreConnect.AppCustomProductPageVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem12 @this) => @this.AppCustomProductPageVersions; - - /// - /// - /// - public IncludedItem12(global::AppStoreConnect.AppCustomProductPageVersion? value) - { - AppCustomProductPageVersions = value; - } - - /// - /// - /// - public static IncludedItem12 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem12(value); - - /// - /// - /// - public static implicit operator IncludedItem12(global::AppStoreConnect.AppKeyword value) => new IncludedItem12((global::AppStoreConnect.AppKeyword?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppKeyword?(IncludedItem12 @this) => @this.AppKeywords; - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences2' but the value was {ToString()}."); /// /// /// - public IncludedItem12(global::AppStoreConnect.AppKeyword? value) - { - AppKeywords = value; - } + public static implicit operator IncludedItem12(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem12((global::AppStoreConnect.AppClipDefaultExperience?)value); /// /// /// - public static IncludedItem12 FromAppKeywords(global::AppStoreConnect.AppKeyword? value) => new IncludedItem12(value); + public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem12 @this) => @this.AppClipDefaultExperiences1; /// /// /// - public static implicit operator IncludedItem12(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem12((global::AppStoreConnect.AppPreviewSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem12 @this) => @this.AppPreviewSets; - - /// - /// - /// - public IncludedItem12(global::AppStoreConnect.AppPreviewSet? value) + public IncludedItem12(global::AppStoreConnect.AppClipDefaultExperience? value) { - AppPreviewSets = value; + AppClipDefaultExperiences1 = value; } /// /// /// - public static IncludedItem12 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem12(value); + public static IncludedItem12 FromAppClipDefaultExperiences1(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem12(value); /// /// /// - public static implicit operator IncludedItem12(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem12((global::AppStoreConnect.AppScreenshotSet?)value); + public static implicit operator IncludedItem12(global::AppStoreConnect.App value) => new IncludedItem12((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem12 @this) => @this.AppScreenshotSets; + public static implicit operator global::AppStoreConnect.App?(IncludedItem12 @this) => @this.AppClipDefaultExperiences2; /// /// /// - public IncludedItem12(global::AppStoreConnect.AppScreenshotSet? value) + public IncludedItem12(global::AppStoreConnect.App? value) { - AppScreenshotSets = value; + AppClipDefaultExperiences2 = value; } /// /// /// - public static IncludedItem12 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem12(value); + public static IncludedItem12 FromAppClipDefaultExperiences2(global::AppStoreConnect.App? value) => new IncludedItem12(value); /// /// /// public IncludedItem12( - global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, - global::AppStoreConnect.AppKeyword? appKeywords, - global::AppStoreConnect.AppPreviewSet? appPreviewSets, - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets + global::AppStoreConnect.AppClipResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1, + global::AppStoreConnect.App? appClipDefaultExperiences2 ) { Type = type; - AppCustomProductPageVersions = appCustomProductPageVersions; - AppKeywords = appKeywords; - AppPreviewSets = appPreviewSets; - AppScreenshotSets = appScreenshotSets; + AppClipDefaultExperiences1 = appClipDefaultExperiences1; + AppClipDefaultExperiences2 = appClipDefaultExperiences2; } /// /// /// public object? Object => - AppScreenshotSets as object ?? - AppPreviewSets as object ?? - AppKeywords as object ?? - AppCustomProductPageVersions as object + AppClipDefaultExperiences2 as object ?? + AppClipDefaultExperiences1 as object ; /// /// /// public override string? ToString() => - AppCustomProductPageVersions?.ToString() ?? - AppKeywords?.ToString() ?? - AppPreviewSets?.ToString() ?? - AppScreenshotSets?.ToString() + AppClipDefaultExperiences1?.ToString() ?? + AppClipDefaultExperiences2?.ToString() ; /// @@ -297,17 +169,15 @@ AppCustomProductPageVersions as object /// public bool Validate() { - return IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppCustomProductPageVersions && IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppCustomProductPageVersions && !IsAppKeywords && IsAppPreviewSets && !IsAppScreenshotSets || !IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && IsAppScreenshotSets; + return IsAppClipDefaultExperiences1 && !IsAppClipDefaultExperiences2 || !IsAppClipDefaultExperiences1 && IsAppClipDefaultExperiences2; } /// /// /// public TResult? Match( - global::System.Func? appCustomProductPageVersions = null, - global::System.Func? appKeywords = null, - global::System.Func? appPreviewSets = null, - global::System.Func? appScreenshotSets = null, + global::System.Func? appClipDefaultExperiences1 = null, + global::System.Func? appClipDefaultExperiences2 = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (AppCustomProductPageVersions is { } __value0 && appCustomProductPageVersions != null) - { - return appCustomProductPageVersions(__value0); - } - else if (AppKeywords is { } __value1 && appKeywords != null) - { - return appKeywords(__value1); - } - else if (AppPreviewSets is { } __value2 && appPreviewSets != null) + if (AppClipDefaultExperiences1 is { } __value0 && appClipDefaultExperiences1 != null) { - return appPreviewSets(__value2); + return appClipDefaultExperiences1(__value0); } - else if (AppScreenshotSets is { } __value3 && appScreenshotSets != null) + else if (AppClipDefaultExperiences2 is { } __value1 && appClipDefaultExperiences2 != null) { - return appScreenshotSets(__value3); + return appClipDefaultExperiences2(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appCustomProductPageVersions = null, - - global::System.Action? appKeywords = null, + global::System.Action? appClipDefaultExperiences1 = null, - global::System.Action? appPreviewSets = null, - - global::System.Action? appScreenshotSets = null, + global::System.Action? appClipDefaultExperiences2 = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (AppCustomProductPageVersions is { } __value0) - { - appCustomProductPageVersions?.Invoke(__value0); - } - else if (AppKeywords is { } __value1) + if (AppClipDefaultExperiences1 is { } __value0) { - appKeywords?.Invoke(__value1); + appClipDefaultExperiences1?.Invoke(__value0); } - else if (AppPreviewSets is { } __value2) + else if (AppClipDefaultExperiences2 is { } __value1) { - appPreviewSets?.Invoke(__value2); - } - else if (AppScreenshotSets is { } __value3) - { - appScreenshotSets?.Invoke(__value3); + appClipDefaultExperiences2?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appCustomProductPageVersions = null, - global::System.Action? appKeywords = null, - global::System.Action? appPreviewSets = null, - global::System.Action? appScreenshotSets = null, + global::System.Action? appClipDefaultExperiences1 = null, + global::System.Action? appClipDefaultExperiences2 = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (AppCustomProductPageVersions is { } __value0) - { - appCustomProductPageVersions?.Invoke(__value0); - } - else if (AppKeywords is { } __value1) - { - appKeywords?.Invoke(__value1); - } - else if (AppPreviewSets is { } __value2) + if (AppClipDefaultExperiences1 is { } __value0) { - appPreviewSets?.Invoke(__value2); + appClipDefaultExperiences1?.Invoke(__value0); } - else if (AppScreenshotSets is { } __value3) + else if (AppClipDefaultExperiences2 is { } __value1) { - appScreenshotSets?.Invoke(__value3); + appClipDefaultExperiences2?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppCustomProductPageVersions, - typeof(global::AppStoreConnect.AppCustomProductPageVersion), - AppKeywords, - typeof(global::AppStoreConnect.AppKeyword), - AppPreviewSets, - typeof(global::AppStoreConnect.AppPreviewSet), - AppScreenshotSets, - typeof(global::AppStoreConnect.AppScreenshotSet), + AppClipDefaultExperiences1, + typeof(global::AppStoreConnect.AppClipDefaultExperience), + AppClipDefaultExperiences2, + typeof(global::AppStoreConnect.App), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem12 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppKeywords, other.AppKeywords) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences1, other.AppClipDefaultExperiences1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences2, other.AppClipDefaultExperiences2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem120.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem120.g.cs index 29788c7c1..2deb2055b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem120.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem120.g.cs @@ -12,52 +12,52 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? GameCenterLeaderboardSetLocalizations { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? GameCenterLeaderboardSetLocalizations { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterLeaderboardSetLocalizations => GameCenterLeaderboardSetLocalizations != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetLocalizations( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterLeaderboardSetLocalizations; - return IsGameCenterLeaderboardSetLocalizations; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2 PickGameCenterLeaderboardSetLocalizations() => GameCenterLeaderboardSetLocalizations is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickGameCenterLeaderboardSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + out global::AppStoreConnect.GameCenterLeaderboardSet? value) { value = GameCenterLeaderboardSets; return IsGameCenterLeaderboardSets; @@ -84,46 +84,46 @@ public bool TryPickGameCenterLeaderboardSets( /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2 PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem120(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2 value) => new IncludedItem120((global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2?)value); + public static implicit operator IncludedItem120(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem120((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2?(IncludedItem120 @this) => @this.GameCenterLeaderboardSetLocalizations; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem120 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem120(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) + public IncludedItem120(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterLeaderboardSetLocalizations = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem120 FromGameCenterLeaderboardSetLocalizations(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) => new IncludedItem120(value); + public static IncludedItem120 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem120(value); /// /// /// - public static implicit operator IncludedItem120(global::AppStoreConnect.GameCenterLeaderboardSetV2 value) => new IncludedItem120((global::AppStoreConnect.GameCenterLeaderboardSetV2?)value); + public static implicit operator IncludedItem120(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem120((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetV2?(IncludedItem120 @this) => @this.GameCenterLeaderboardSets; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem120 @this) => @this.GameCenterLeaderboardSets; /// /// /// - public IncludedItem120(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + public IncludedItem120(global::AppStoreConnect.GameCenterLeaderboardSet? value) { GameCenterLeaderboardSets = value; } @@ -131,20 +131,20 @@ public IncludedItem120(global::AppStoreConnect.GameCenterLeaderboardSetV2? value /// /// /// - public static IncludedItem120 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) => new IncludedItem120(value); + public static IncludedItem120 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem120(value); /// /// /// public IncludedItem120( - global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? gameCenterLeaderboardSetLocalizations, - global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets + global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets ) { Type = type; - GameCenterLeaderboardSetLocalizations = gameCenterLeaderboardSetLocalizations; + GameCenterDetails = gameCenterDetails; GameCenterLeaderboardSets = gameCenterLeaderboardSets; } @@ -153,14 +153,14 @@ public IncludedItem120( /// public object? Object => GameCenterLeaderboardSets as object ?? - GameCenterLeaderboardSetLocalizations as object + GameCenterDetails as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardSetLocalizations?.ToString() ?? + GameCenterDetails?.ToString() ?? GameCenterLeaderboardSets?.ToString() ; @@ -169,15 +169,15 @@ GameCenterLeaderboardSetLocalizations as object /// public bool Validate() { - return IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSets || !IsGameCenterLeaderboardSetLocalizations && IsGameCenterLeaderboardSets; + return IsGameCenterDetails && !IsGameCenterLeaderboardSets || !IsGameCenterDetails && IsGameCenterLeaderboardSets; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardSetLocalizations = null, - global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -185,9 +185,9 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardSetLocalizations is { } __value0 && gameCenterLeaderboardSetLocalizations != null) + if (GameCenterDetails is { } __value0 && gameCenterDetails != null) { - return gameCenterLeaderboardSetLocalizations(__value0); + return gameCenterDetails(__value0); } else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) { @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardSetLocalizations = null, + global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -211,9 +211,9 @@ public void Match( Validate(); } - if (GameCenterLeaderboardSetLocalizations is { } __value0) + if (GameCenterDetails is { } __value0) { - gameCenterLeaderboardSetLocalizations?.Invoke(__value0); + gameCenterDetails?.Invoke(__value0); } else if (GameCenterLeaderboardSets is { } __value1) { @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardSetLocalizations = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -234,9 +234,9 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardSetLocalizations is { } __value0) + if (GameCenterDetails is { } __value0) { - gameCenterLeaderboardSetLocalizations?.Invoke(__value0); + gameCenterDetails?.Invoke(__value0); } else if (GameCenterLeaderboardSets is { } __value1) { @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardSetLocalizations, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), GameCenterLeaderboardSets, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem120 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetLocalizations, other.GameCenterLeaderboardSetLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem121.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem121.g.cs index c7dace982..d7c521723 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem121.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem121.g.cs @@ -12,52 +12,52 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? GameCenterLeaderboardSetLocalizations { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? GameCenterLeaderboardSetLocalizations { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterLeaderboardSetLocalizations => GameCenterLeaderboardSetLocalizations != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetLocalizations( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterLeaderboardSetLocalizations; - return IsGameCenterLeaderboardSetLocalizations; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2 PickGameCenterLeaderboardSetLocalizations() => GameCenterLeaderboardSetLocalizations is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; } + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickGameCenterLeaderboardSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + out global::AppStoreConnect.GameCenterLeaderboardSet? value) { value = GameCenterLeaderboardSets; return IsGameCenterLeaderboardSets; @@ -84,46 +84,46 @@ public bool TryPickGameCenterLeaderboardSets( /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2 PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem121(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2 value) => new IncludedItem121((global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2?)value); + public static implicit operator IncludedItem121(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem121((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2?(IncludedItem121 @this) => @this.GameCenterLeaderboardSetLocalizations; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem121 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem121(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) + public IncludedItem121(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterLeaderboardSetLocalizations = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem121 FromGameCenterLeaderboardSetLocalizations(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) => new IncludedItem121(value); + public static IncludedItem121 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem121(value); /// /// /// - public static implicit operator IncludedItem121(global::AppStoreConnect.GameCenterLeaderboardSetV2 value) => new IncludedItem121((global::AppStoreConnect.GameCenterLeaderboardSetV2?)value); + public static implicit operator IncludedItem121(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem121((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetV2?(IncludedItem121 @this) => @this.GameCenterLeaderboardSets; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem121 @this) => @this.GameCenterLeaderboardSets; /// /// /// - public IncludedItem121(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + public IncludedItem121(global::AppStoreConnect.GameCenterLeaderboardSet? value) { GameCenterLeaderboardSets = value; } @@ -131,20 +131,20 @@ public IncludedItem121(global::AppStoreConnect.GameCenterLeaderboardSetV2? value /// /// /// - public static IncludedItem121 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) => new IncludedItem121(value); + public static IncludedItem121 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem121(value); /// /// /// public IncludedItem121( - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? gameCenterLeaderboardSetLocalizations, - global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets + global::AppStoreConnect.GameCenterLeaderboardSetReleaseResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets ) { Type = type; - GameCenterLeaderboardSetLocalizations = gameCenterLeaderboardSetLocalizations; + GameCenterDetails = gameCenterDetails; GameCenterLeaderboardSets = gameCenterLeaderboardSets; } @@ -153,14 +153,14 @@ public IncludedItem121( /// public object? Object => GameCenterLeaderboardSets as object ?? - GameCenterLeaderboardSetLocalizations as object + GameCenterDetails as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardSetLocalizations?.ToString() ?? + GameCenterDetails?.ToString() ?? GameCenterLeaderboardSets?.ToString() ; @@ -169,15 +169,15 @@ GameCenterLeaderboardSetLocalizations as object /// public bool Validate() { - return IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSets || !IsGameCenterLeaderboardSetLocalizations && IsGameCenterLeaderboardSets; + return IsGameCenterDetails && !IsGameCenterLeaderboardSets || !IsGameCenterDetails && IsGameCenterLeaderboardSets; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardSetLocalizations = null, - global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -185,9 +185,9 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardSetLocalizations is { } __value0 && gameCenterLeaderboardSetLocalizations != null) + if (GameCenterDetails is { } __value0 && gameCenterDetails != null) { - return gameCenterLeaderboardSetLocalizations(__value0); + return gameCenterDetails(__value0); } else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) { @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardSetLocalizations = null, + global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -211,9 +211,9 @@ public void Match( Validate(); } - if (GameCenterLeaderboardSetLocalizations is { } __value0) + if (GameCenterDetails is { } __value0) { - gameCenterLeaderboardSetLocalizations?.Invoke(__value0); + gameCenterDetails?.Invoke(__value0); } else if (GameCenterLeaderboardSets is { } __value1) { @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardSetLocalizations = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -234,9 +234,9 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardSetLocalizations is { } __value0) + if (GameCenterDetails is { } __value0) { - gameCenterLeaderboardSetLocalizations?.Invoke(__value0); + gameCenterDetails?.Invoke(__value0); } else if (GameCenterLeaderboardSets is { } __value1) { @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardSetLocalizations, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), GameCenterLeaderboardSets, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem121 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetLocalizations, other.GameCenterLeaderboardSetLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem122.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem122.g.cs index 0ab85a72c..d5b071ee8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem122.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem122.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? GameCenterLeaderboardSetLocalizations { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? GameCenterLeaderboardSetLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetLocalizations))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterLeaderboardSetLocalizations => GameCenterLeaderboardSetLocalizations != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterLeaderboardSetLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterLeaderboardSetLocalizations; + return IsGameCenterLeaderboardSetLocalizations; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2 PickGameCenterLeaderboardSetLocalizations() => GameCenterLeaderboardSetLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; init; } #else - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] #endif - public bool IsGameCenterGroups => GameCenterGroups != null; + public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; /// /// /// - public bool TryPickGameCenterGroups( + public bool TryPickGameCenterLeaderboardSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterGroup? value) + out global::AppStoreConnect.GameCenterLeaderboardSetV2? value) { - value = GameCenterGroups; - return IsGameCenterGroups; + value = GameCenterLeaderboardSets; + return IsGameCenterLeaderboardSets; } /// /// /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetV2 PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] -#endif - public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSetVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) - { - value = GameCenterLeaderboardSetVersions; - return IsGameCenterLeaderboardSetVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] -#endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboards( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardV2? value) - { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardV2 PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem122(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem122((global::AppStoreConnect.GameCenterDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem122 @this) => @this.GameCenterDetails; - - /// - /// - /// - public IncludedItem122(global::AppStoreConnect.GameCenterDetail? value) - { - GameCenterDetails = value; - } - - /// - /// - /// - public static IncludedItem122 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem122(value); - - /// - /// - /// - public static implicit operator IncludedItem122(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem122((global::AppStoreConnect.GameCenterGroup?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem122 @this) => @this.GameCenterGroups; - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); /// /// /// - public IncludedItem122(global::AppStoreConnect.GameCenterGroup? value) - { - GameCenterGroups = value; - } + public static implicit operator IncludedItem122(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2 value) => new IncludedItem122((global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2?)value); /// /// /// - public static IncludedItem122 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem122(value); + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2?(IncludedItem122 @this) => @this.GameCenterLeaderboardSetLocalizations; /// /// /// - public static implicit operator IncludedItem122(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem122((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem122 @this) => @this.GameCenterLeaderboardSetVersions; - - /// - /// - /// - public IncludedItem122(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + public IncludedItem122(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) { - GameCenterLeaderboardSetVersions = value; + GameCenterLeaderboardSetLocalizations = value; } /// /// /// - public static IncludedItem122 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem122(value); + public static IncludedItem122 FromGameCenterLeaderboardSetLocalizations(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) => new IncludedItem122(value); /// /// /// - public static implicit operator IncludedItem122(global::AppStoreConnect.GameCenterLeaderboardV2 value) => new IncludedItem122((global::AppStoreConnect.GameCenterLeaderboardV2?)value); + public static implicit operator IncludedItem122(global::AppStoreConnect.GameCenterLeaderboardSetV2 value) => new IncludedItem122((global::AppStoreConnect.GameCenterLeaderboardSetV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardV2?(IncludedItem122 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetV2?(IncludedItem122 @this) => @this.GameCenterLeaderboardSets; /// /// /// - public IncludedItem122(global::AppStoreConnect.GameCenterLeaderboardV2? value) + public IncludedItem122(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) { - GameCenterLeaderboards = value; + GameCenterLeaderboardSets = value; } /// /// /// - public static IncludedItem122 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboardV2? value) => new IncludedItem122(value); + public static IncludedItem122 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) => new IncludedItem122(value); /// /// /// public IncludedItem122( - global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions, - global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards + global::AppStoreConnect.GameCenterLeaderboardSetVersionsV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? gameCenterLeaderboardSetLocalizations, + global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets ) { Type = type; - GameCenterDetails = gameCenterDetails; - GameCenterGroups = gameCenterGroups; - GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; - GameCenterLeaderboards = gameCenterLeaderboards; + GameCenterLeaderboardSetLocalizations = gameCenterLeaderboardSetLocalizations; + GameCenterLeaderboardSets = gameCenterLeaderboardSets; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? - GameCenterLeaderboardSetVersions as object ?? - GameCenterGroups as object ?? - GameCenterDetails as object + GameCenterLeaderboardSets as object ?? + GameCenterLeaderboardSetLocalizations as object ; /// /// /// public override string? ToString() => - GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() ?? - GameCenterLeaderboardSetVersions?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterLeaderboardSetLocalizations?.ToString() ?? + GameCenterLeaderboardSets?.ToString() ; /// @@ -297,17 +169,15 @@ GameCenterDetails as object /// public bool Validate() { - return IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && IsGameCenterLeaderboards; + return IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSets || !IsGameCenterLeaderboardSetLocalizations && IsGameCenterLeaderboardSets; } /// /// /// public TResult? Match( - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardSetVersions = null, - global::System.Func? gameCenterLeaderboards = null, + global::System.Func? gameCenterLeaderboardSetLocalizations = null, + global::System.Func? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterDetails is { } __value0 && gameCenterDetails != null) - { - return gameCenterDetails(__value0); - } - else if (GameCenterGroups is { } __value1 && gameCenterGroups != null) - { - return gameCenterGroups(__value1); - } - else if (GameCenterLeaderboardSetVersions is { } __value2 && gameCenterLeaderboardSetVersions != null) + if (GameCenterLeaderboardSetLocalizations is { } __value0 && gameCenterLeaderboardSetLocalizations != null) { - return gameCenterLeaderboardSetVersions(__value2); + return gameCenterLeaderboardSetLocalizations(__value0); } - else if (GameCenterLeaderboards is { } __value3 && gameCenterLeaderboards != null) + else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) { - return gameCenterLeaderboards(__value3); + return gameCenterLeaderboardSets(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterDetails = null, - - global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboardSetLocalizations = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, - - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (GameCenterDetails is { } __value0) - { - gameCenterDetails?.Invoke(__value0); - } - else if (GameCenterGroups is { } __value1) + if (GameCenterLeaderboardSetLocalizations is { } __value0) { - gameCenterGroups?.Invoke(__value1); + gameCenterLeaderboardSetLocalizations?.Invoke(__value0); } - else if (GameCenterLeaderboardSetVersions is { } __value2) + else if (GameCenterLeaderboardSets is { } __value1) { - gameCenterLeaderboardSetVersions?.Invoke(__value2); - } - else if (GameCenterLeaderboards is { } __value3) - { - gameCenterLeaderboards?.Invoke(__value3); + gameCenterLeaderboardSets?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardSetLocalizations = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (GameCenterDetails is { } __value0) - { - gameCenterDetails?.Invoke(__value0); - } - else if (GameCenterGroups is { } __value1) - { - gameCenterGroups?.Invoke(__value1); - } - else if (GameCenterLeaderboardSetVersions is { } __value2) + if (GameCenterLeaderboardSetLocalizations is { } __value0) { - gameCenterLeaderboardSetVersions?.Invoke(__value2); + gameCenterLeaderboardSetLocalizations?.Invoke(__value0); } - else if (GameCenterLeaderboards is { } __value3) + else if (GameCenterLeaderboardSets is { } __value1) { - gameCenterLeaderboards?.Invoke(__value3); + gameCenterLeaderboardSets?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterGroups, - typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboardSetVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboardV2), + GameCenterLeaderboardSetLocalizations, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), + GameCenterLeaderboardSets, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem122 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetLocalizations, other.GameCenterLeaderboardSetLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem123.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem123.g.cs index 491231ec4..948913bea 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem123.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem123.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? GameCenterLeaderboardSetLocalizations { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? GameCenterLeaderboardSetLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetLocalizations))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterLeaderboardSetLocalizations => GameCenterLeaderboardSetLocalizations != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterLeaderboardSetLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterLeaderboardSetLocalizations; + return IsGameCenterLeaderboardSetLocalizations; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2 PickGameCenterLeaderboardSetLocalizations() => GameCenterLeaderboardSetLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; init; } #else - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] #endif - public bool IsGameCenterGroups => GameCenterGroups != null; + public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; /// /// /// - public bool TryPickGameCenterGroups( + public bool TryPickGameCenterLeaderboardSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterGroup? value) + out global::AppStoreConnect.GameCenterLeaderboardSetV2? value) { - value = GameCenterGroups; - return IsGameCenterGroups; + value = GameCenterLeaderboardSets; + return IsGameCenterLeaderboardSets; } /// /// /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetV2 PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] -#endif - public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSetVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) - { - value = GameCenterLeaderboardSetVersions; - return IsGameCenterLeaderboardSetVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] -#endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboards( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardV2? value) - { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardV2 PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem123(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem123((global::AppStoreConnect.GameCenterDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem123 @this) => @this.GameCenterDetails; - - /// - /// - /// - public IncludedItem123(global::AppStoreConnect.GameCenterDetail? value) - { - GameCenterDetails = value; - } - - /// - /// - /// - public static IncludedItem123 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem123(value); - - /// - /// - /// - public static implicit operator IncludedItem123(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem123((global::AppStoreConnect.GameCenterGroup?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem123 @this) => @this.GameCenterGroups; - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); /// /// /// - public IncludedItem123(global::AppStoreConnect.GameCenterGroup? value) - { - GameCenterGroups = value; - } + public static implicit operator IncludedItem123(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2 value) => new IncludedItem123((global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2?)value); /// /// /// - public static IncludedItem123 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem123(value); + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2?(IncludedItem123 @this) => @this.GameCenterLeaderboardSetLocalizations; /// /// /// - public static implicit operator IncludedItem123(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem123((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem123 @this) => @this.GameCenterLeaderboardSetVersions; - - /// - /// - /// - public IncludedItem123(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + public IncludedItem123(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) { - GameCenterLeaderboardSetVersions = value; + GameCenterLeaderboardSetLocalizations = value; } /// /// /// - public static IncludedItem123 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem123(value); + public static IncludedItem123 FromGameCenterLeaderboardSetLocalizations(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? value) => new IncludedItem123(value); /// /// /// - public static implicit operator IncludedItem123(global::AppStoreConnect.GameCenterLeaderboardV2 value) => new IncludedItem123((global::AppStoreConnect.GameCenterLeaderboardV2?)value); + public static implicit operator IncludedItem123(global::AppStoreConnect.GameCenterLeaderboardSetV2 value) => new IncludedItem123((global::AppStoreConnect.GameCenterLeaderboardSetV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardV2?(IncludedItem123 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetV2?(IncludedItem123 @this) => @this.GameCenterLeaderboardSets; /// /// /// - public IncludedItem123(global::AppStoreConnect.GameCenterLeaderboardV2? value) + public IncludedItem123(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) { - GameCenterLeaderboards = value; + GameCenterLeaderboardSets = value; } /// /// /// - public static IncludedItem123 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboardV2? value) => new IncludedItem123(value); + public static IncludedItem123 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) => new IncludedItem123(value); /// /// /// public IncludedItem123( - global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions, - global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2? gameCenterLeaderboardSetLocalizations, + global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets ) { Type = type; - GameCenterDetails = gameCenterDetails; - GameCenterGroups = gameCenterGroups; - GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; - GameCenterLeaderboards = gameCenterLeaderboards; + GameCenterLeaderboardSetLocalizations = gameCenterLeaderboardSetLocalizations; + GameCenterLeaderboardSets = gameCenterLeaderboardSets; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? - GameCenterLeaderboardSetVersions as object ?? - GameCenterGroups as object ?? - GameCenterDetails as object + GameCenterLeaderboardSets as object ?? + GameCenterLeaderboardSetLocalizations as object ; /// /// /// public override string? ToString() => - GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() ?? - GameCenterLeaderboardSetVersions?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterLeaderboardSetLocalizations?.ToString() ?? + GameCenterLeaderboardSets?.ToString() ; /// @@ -297,17 +169,15 @@ GameCenterDetails as object /// public bool Validate() { - return IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && IsGameCenterLeaderboards; + return IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSets || !IsGameCenterLeaderboardSetLocalizations && IsGameCenterLeaderboardSets; } /// /// /// public TResult? Match( - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardSetVersions = null, - global::System.Func? gameCenterLeaderboards = null, + global::System.Func? gameCenterLeaderboardSetLocalizations = null, + global::System.Func? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterDetails is { } __value0 && gameCenterDetails != null) - { - return gameCenterDetails(__value0); - } - else if (GameCenterGroups is { } __value1 && gameCenterGroups != null) - { - return gameCenterGroups(__value1); - } - else if (GameCenterLeaderboardSetVersions is { } __value2 && gameCenterLeaderboardSetVersions != null) + if (GameCenterLeaderboardSetLocalizations is { } __value0 && gameCenterLeaderboardSetLocalizations != null) { - return gameCenterLeaderboardSetVersions(__value2); + return gameCenterLeaderboardSetLocalizations(__value0); } - else if (GameCenterLeaderboards is { } __value3 && gameCenterLeaderboards != null) + else if (GameCenterLeaderboardSets is { } __value1 && gameCenterLeaderboardSets != null) { - return gameCenterLeaderboards(__value3); + return gameCenterLeaderboardSets(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterDetails = null, - - global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboardSetLocalizations = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, - - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (GameCenterDetails is { } __value0) - { - gameCenterDetails?.Invoke(__value0); - } - else if (GameCenterGroups is { } __value1) + if (GameCenterLeaderboardSetLocalizations is { } __value0) { - gameCenterGroups?.Invoke(__value1); + gameCenterLeaderboardSetLocalizations?.Invoke(__value0); } - else if (GameCenterLeaderboardSetVersions is { } __value2) + else if (GameCenterLeaderboardSets is { } __value1) { - gameCenterLeaderboardSetVersions?.Invoke(__value2); - } - else if (GameCenterLeaderboards is { } __value3) - { - gameCenterLeaderboards?.Invoke(__value3); + gameCenterLeaderboardSets?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardSetLocalizations = null, + global::System.Action? gameCenterLeaderboardSets = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (GameCenterDetails is { } __value0) - { - gameCenterDetails?.Invoke(__value0); - } - else if (GameCenterGroups is { } __value1) - { - gameCenterGroups?.Invoke(__value1); - } - else if (GameCenterLeaderboardSetVersions is { } __value2) + if (GameCenterLeaderboardSetLocalizations is { } __value0) { - gameCenterLeaderboardSetVersions?.Invoke(__value2); + gameCenterLeaderboardSetLocalizations?.Invoke(__value0); } - else if (GameCenterLeaderboards is { } __value3) + else if (GameCenterLeaderboardSets is { } __value1) { - gameCenterLeaderboards?.Invoke(__value3); + gameCenterLeaderboardSets?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterGroups, - typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboardSetVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboardV2), + GameCenterLeaderboardSetLocalizations, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2), + GameCenterLeaderboardSets, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem123 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetLocalizations, other.GameCenterLeaderboardSetLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem124.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem124.g.cs index 5c53463f0..da54824d3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem124.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem124.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -92,149 +92,75 @@ public bool TryPickGameCenterGroups( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? GameCenterLeaderboardSetLocalizations { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? GameCenterLeaderboardSetLocalizations { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] #endif - public bool IsGameCenterLeaderboardSetLocalizations => GameCenterLeaderboardSetLocalizations != null; + public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetLocalizations( + public bool TryPickGameCenterLeaderboardSetVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) + out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) { - value = GameCenterLeaderboardSetLocalizations; - return IsGameCenterLeaderboardSetLocalizations; + value = GameCenterLeaderboardSetVersions; + return IsGameCenterLeaderboardSetVersions; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalization PickGameCenterLeaderboardSetLocalizations() => GameCenterLeaderboardSetLocalizations is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases { get; } + public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] #endif - public bool IsGameCenterLeaderboardSetReleases => GameCenterLeaderboardSetReleases != null; + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetReleases( + public bool TryPickGameCenterLeaderboards( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) + out global::AppStoreConnect.GameCenterLeaderboardV2? value) { - value = GameCenterLeaderboardSetReleases; - return IsGameCenterLeaderboardSetReleases; + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelease PickGameCenterLeaderboardSetReleases() => GameCenterLeaderboardSetReleases is { } value + public global::AppStoreConnect.GameCenterLeaderboardV2 PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] -#endif - public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSets1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) - { - value = GameCenterLeaderboardSets1; - return IsGameCenterLeaderboardSets1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] -#endif - public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSets2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboard? value) - { - value = GameCenterLeaderboardSets2; - return IsGameCenterLeaderboardSets2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// @@ -284,126 +210,74 @@ public IncludedItem124(global::AppStoreConnect.GameCenterGroup? value) /// /// /// - public static implicit operator IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardSetLocalization value) => new IncludedItem124((global::AppStoreConnect.GameCenterLeaderboardSetLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetLocalization?(IncludedItem124 @this) => @this.GameCenterLeaderboardSetLocalizations; - - /// - /// - /// - public IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) - { - GameCenterLeaderboardSetLocalizations = value; - } - - /// - /// - /// - public static IncludedItem124 FromGameCenterLeaderboardSetLocalizations(global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) => new IncludedItem124(value); - - /// - /// - /// - public static implicit operator IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardSetRelease value) => new IncludedItem124((global::AppStoreConnect.GameCenterLeaderboardSetRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetRelease?(IncludedItem124 @this) => @this.GameCenterLeaderboardSetReleases; - - /// - /// - /// - public IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) - { - GameCenterLeaderboardSetReleases = value; - } + public static implicit operator IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem124((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); /// /// /// - public static IncludedItem124 FromGameCenterLeaderboardSetReleases(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) => new IncludedItem124(value); + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem124 @this) => @this.GameCenterLeaderboardSetVersions; /// /// /// - public static implicit operator IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem124((global::AppStoreConnect.GameCenterLeaderboardSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem124 @this) => @this.GameCenterLeaderboardSets1; - - /// - /// - /// - public IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardSet? value) + public IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) { - GameCenterLeaderboardSets1 = value; + GameCenterLeaderboardSetVersions = value; } /// /// /// - public static IncludedItem124 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem124(value); + public static IncludedItem124 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem124(value); /// /// /// - public static implicit operator IncludedItem124(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem124((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardV2 value) => new IncludedItem124((global::AppStoreConnect.GameCenterLeaderboardV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem124 @this) => @this.GameCenterLeaderboardSets2; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardV2?(IncludedItem124 @this) => @this.GameCenterLeaderboards; /// /// /// - public IncludedItem124(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem124(global::AppStoreConnect.GameCenterLeaderboardV2? value) { - GameCenterLeaderboardSets2 = value; + GameCenterLeaderboards = value; } /// /// /// - public static IncludedItem124 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem124(value); + public static IncludedItem124 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboardV2? value) => new IncludedItem124(value); /// /// /// public IncludedItem124( - global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.GameCenterDetail? gameCenterDetails, global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardSetLocalization? gameCenterLeaderboardSetLocalizations, - global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions, + global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards ) { Type = type; GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; - GameCenterLeaderboardSetLocalizations = gameCenterLeaderboardSetLocalizations; - GameCenterLeaderboardSetReleases = gameCenterLeaderboardSetReleases; - GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; - GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; + GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboardSets2 as object ?? - GameCenterLeaderboardSets1 as object ?? - GameCenterLeaderboardSetReleases as object ?? - GameCenterLeaderboardSetLocalizations as object ?? + GameCenterLeaderboards as object ?? + GameCenterLeaderboardSetVersions as object ?? GameCenterGroups as object ?? GameCenterDetails as object ; @@ -414,10 +288,8 @@ GameCenterDetails as object public override string? ToString() => GameCenterDetails?.ToString() ?? GameCenterGroups?.ToString() ?? - GameCenterLeaderboardSetLocalizations?.ToString() ?? - GameCenterLeaderboardSetReleases?.ToString() ?? - GameCenterLeaderboardSets1?.ToString() ?? - GameCenterLeaderboardSets2?.ToString() + GameCenterLeaderboardSetVersions?.ToString() ?? + GameCenterLeaderboards?.ToString() ; /// @@ -425,7 +297,7 @@ GameCenterDetails as object /// public bool Validate() { - return IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; + return IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && IsGameCenterLeaderboards; } /// @@ -434,10 +306,8 @@ public bool Validate() public TResult? Match( global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardSetLocalizations = null, - global::System.Func? gameCenterLeaderboardSetReleases = null, - global::System.Func? gameCenterLeaderboardSets1 = null, - global::System.Func? gameCenterLeaderboardSets2 = null, + global::System.Func? gameCenterLeaderboardSetVersions = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -453,21 +323,13 @@ public bool Validate() { return gameCenterGroups(__value1); } - else if (GameCenterLeaderboardSetLocalizations is { } __value2 && gameCenterLeaderboardSetLocalizations != null) - { - return gameCenterLeaderboardSetLocalizations(__value2); - } - else if (GameCenterLeaderboardSetReleases is { } __value3 && gameCenterLeaderboardSetReleases != null) - { - return gameCenterLeaderboardSetReleases(__value3); - } - else if (GameCenterLeaderboardSets1 is { } __value4 && gameCenterLeaderboardSets1 != null) + else if (GameCenterLeaderboardSetVersions is { } __value2 && gameCenterLeaderboardSetVersions != null) { - return gameCenterLeaderboardSets1(__value4); + return gameCenterLeaderboardSetVersions(__value2); } - else if (GameCenterLeaderboardSets2 is { } __value5 && gameCenterLeaderboardSets2 != null) + else if (GameCenterLeaderboards is { } __value3 && gameCenterLeaderboards != null) { - return gameCenterLeaderboardSets2(__value5); + return gameCenterLeaderboards(__value3); } return default(TResult); @@ -481,13 +343,9 @@ public void Match( global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSetLocalizations = null, - - global::System.Action? gameCenterLeaderboardSetReleases = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, - global::System.Action? gameCenterLeaderboardSets1 = null, - - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -503,21 +361,13 @@ public void Match( { gameCenterGroups?.Invoke(__value1); } - else if (GameCenterLeaderboardSetLocalizations is { } __value2) - { - gameCenterLeaderboardSetLocalizations?.Invoke(__value2); - } - else if (GameCenterLeaderboardSetReleases is { } __value3) + else if (GameCenterLeaderboardSetVersions is { } __value2) { - gameCenterLeaderboardSetReleases?.Invoke(__value3); + gameCenterLeaderboardSetVersions?.Invoke(__value2); } - else if (GameCenterLeaderboardSets1 is { } __value4) + else if (GameCenterLeaderboards is { } __value3) { - gameCenterLeaderboardSets1?.Invoke(__value4); - } - else if (GameCenterLeaderboardSets2 is { } __value5) - { - gameCenterLeaderboardSets2?.Invoke(__value5); + gameCenterLeaderboards?.Invoke(__value3); } } @@ -527,10 +377,8 @@ public void Match( public void Switch( global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSetLocalizations = null, - global::System.Action? gameCenterLeaderboardSetReleases = null, - global::System.Action? gameCenterLeaderboardSets1 = null, - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -546,21 +394,13 @@ public void Switch( { gameCenterGroups?.Invoke(__value1); } - else if (GameCenterLeaderboardSetLocalizations is { } __value2) - { - gameCenterLeaderboardSetLocalizations?.Invoke(__value2); - } - else if (GameCenterLeaderboardSetReleases is { } __value3) - { - gameCenterLeaderboardSetReleases?.Invoke(__value3); - } - else if (GameCenterLeaderboardSets1 is { } __value4) + else if (GameCenterLeaderboardSetVersions is { } __value2) { - gameCenterLeaderboardSets1?.Invoke(__value4); + gameCenterLeaderboardSetVersions?.Invoke(__value2); } - else if (GameCenterLeaderboardSets2 is { } __value5) + else if (GameCenterLeaderboards is { } __value3) { - gameCenterLeaderboardSets2?.Invoke(__value5); + gameCenterLeaderboards?.Invoke(__value3); } } @@ -575,14 +415,10 @@ public override int GetHashCode() typeof(global::AppStoreConnect.GameCenterDetail), GameCenterGroups, typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboardSetLocalizations, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), - GameCenterLeaderboardSetReleases, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), - GameCenterLeaderboardSets1, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardSets2, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + GameCenterLeaderboardSetVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), + GameCenterLeaderboards, + typeof(global::AppStoreConnect.GameCenterLeaderboardV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -601,10 +437,8 @@ public bool Equals(IncludedItem124 other) return global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetLocalizations, other.GameCenterLeaderboardSetLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases, other.GameCenterLeaderboardSetReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem125.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem125.g.cs index db8a93d3e..349b0b15e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem125.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem125.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -92,149 +92,75 @@ public bool TryPickGameCenterGroups( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? GameCenterLeaderboardSetLocalizations { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? GameCenterLeaderboardSetLocalizations { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] #endif - public bool IsGameCenterLeaderboardSetLocalizations => GameCenterLeaderboardSetLocalizations != null; + public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetLocalizations( + public bool TryPickGameCenterLeaderboardSetVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) + out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) { - value = GameCenterLeaderboardSetLocalizations; - return IsGameCenterLeaderboardSetLocalizations; + value = GameCenterLeaderboardSetVersions; + return IsGameCenterLeaderboardSetVersions; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetLocalization PickGameCenterLeaderboardSetLocalizations() => GameCenterLeaderboardSetLocalizations is { } value + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases { get; } + public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] #endif - public bool IsGameCenterLeaderboardSetReleases => GameCenterLeaderboardSetReleases != null; + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; /// /// /// - public bool TryPickGameCenterLeaderboardSetReleases( + public bool TryPickGameCenterLeaderboards( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) + out global::AppStoreConnect.GameCenterLeaderboardV2? value) { - value = GameCenterLeaderboardSetReleases; - return IsGameCenterLeaderboardSetReleases; + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetRelease PickGameCenterLeaderboardSetReleases() => GameCenterLeaderboardSetReleases is { } value + public global::AppStoreConnect.GameCenterLeaderboardV2 PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] -#endif - public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSets1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) - { - value = GameCenterLeaderboardSets1; - return IsGameCenterLeaderboardSets1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] -#endif - public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSets2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboard? value) - { - value = GameCenterLeaderboardSets2; - return IsGameCenterLeaderboardSets2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// @@ -284,126 +210,74 @@ public IncludedItem125(global::AppStoreConnect.GameCenterGroup? value) /// /// /// - public static implicit operator IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardSetLocalization value) => new IncludedItem125((global::AppStoreConnect.GameCenterLeaderboardSetLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetLocalization?(IncludedItem125 @this) => @this.GameCenterLeaderboardSetLocalizations; - - /// - /// - /// - public IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) - { - GameCenterLeaderboardSetLocalizations = value; - } - - /// - /// - /// - public static IncludedItem125 FromGameCenterLeaderboardSetLocalizations(global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) => new IncludedItem125(value); - - /// - /// - /// - public static implicit operator IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardSetRelease value) => new IncludedItem125((global::AppStoreConnect.GameCenterLeaderboardSetRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetRelease?(IncludedItem125 @this) => @this.GameCenterLeaderboardSetReleases; - - /// - /// - /// - public IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) - { - GameCenterLeaderboardSetReleases = value; - } + public static implicit operator IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem125((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); /// /// /// - public static IncludedItem125 FromGameCenterLeaderboardSetReleases(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) => new IncludedItem125(value); + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem125 @this) => @this.GameCenterLeaderboardSetVersions; /// /// /// - public static implicit operator IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem125((global::AppStoreConnect.GameCenterLeaderboardSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem125 @this) => @this.GameCenterLeaderboardSets1; - - /// - /// - /// - public IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardSet? value) + public IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) { - GameCenterLeaderboardSets1 = value; + GameCenterLeaderboardSetVersions = value; } /// /// /// - public static IncludedItem125 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem125(value); + public static IncludedItem125 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem125(value); /// /// /// - public static implicit operator IncludedItem125(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem125((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardV2 value) => new IncludedItem125((global::AppStoreConnect.GameCenterLeaderboardV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem125 @this) => @this.GameCenterLeaderboardSets2; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardV2?(IncludedItem125 @this) => @this.GameCenterLeaderboards; /// /// /// - public IncludedItem125(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem125(global::AppStoreConnect.GameCenterLeaderboardV2? value) { - GameCenterLeaderboardSets2 = value; + GameCenterLeaderboards = value; } /// /// /// - public static IncludedItem125 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem125(value); + public static IncludedItem125 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboardV2? value) => new IncludedItem125(value); /// /// /// public IncludedItem125( - global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardSetV2ResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.GameCenterDetail? gameCenterDetails, global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardSetLocalization? gameCenterLeaderboardSetLocalizations, - global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions, + global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards ) { Type = type; GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; - GameCenterLeaderboardSetLocalizations = gameCenterLeaderboardSetLocalizations; - GameCenterLeaderboardSetReleases = gameCenterLeaderboardSetReleases; - GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; - GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; + GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboardSets2 as object ?? - GameCenterLeaderboardSets1 as object ?? - GameCenterLeaderboardSetReleases as object ?? - GameCenterLeaderboardSetLocalizations as object ?? + GameCenterLeaderboards as object ?? + GameCenterLeaderboardSetVersions as object ?? GameCenterGroups as object ?? GameCenterDetails as object ; @@ -414,10 +288,8 @@ GameCenterDetails as object public override string? ToString() => GameCenterDetails?.ToString() ?? GameCenterGroups?.ToString() ?? - GameCenterLeaderboardSetLocalizations?.ToString() ?? - GameCenterLeaderboardSetReleases?.ToString() ?? - GameCenterLeaderboardSets1?.ToString() ?? - GameCenterLeaderboardSets2?.ToString() + GameCenterLeaderboardSetVersions?.ToString() ?? + GameCenterLeaderboards?.ToString() ; /// @@ -425,7 +297,7 @@ GameCenterDetails as object /// public bool Validate() { - return IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; + return IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboards || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetVersions && IsGameCenterLeaderboards; } /// @@ -434,10 +306,8 @@ public bool Validate() public TResult? Match( global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardSetLocalizations = null, - global::System.Func? gameCenterLeaderboardSetReleases = null, - global::System.Func? gameCenterLeaderboardSets1 = null, - global::System.Func? gameCenterLeaderboardSets2 = null, + global::System.Func? gameCenterLeaderboardSetVersions = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -453,21 +323,13 @@ public bool Validate() { return gameCenterGroups(__value1); } - else if (GameCenterLeaderboardSetLocalizations is { } __value2 && gameCenterLeaderboardSetLocalizations != null) - { - return gameCenterLeaderboardSetLocalizations(__value2); - } - else if (GameCenterLeaderboardSetReleases is { } __value3 && gameCenterLeaderboardSetReleases != null) - { - return gameCenterLeaderboardSetReleases(__value3); - } - else if (GameCenterLeaderboardSets1 is { } __value4 && gameCenterLeaderboardSets1 != null) + else if (GameCenterLeaderboardSetVersions is { } __value2 && gameCenterLeaderboardSetVersions != null) { - return gameCenterLeaderboardSets1(__value4); + return gameCenterLeaderboardSetVersions(__value2); } - else if (GameCenterLeaderboardSets2 is { } __value5 && gameCenterLeaderboardSets2 != null) + else if (GameCenterLeaderboards is { } __value3 && gameCenterLeaderboards != null) { - return gameCenterLeaderboardSets2(__value5); + return gameCenterLeaderboards(__value3); } return default(TResult); @@ -481,13 +343,9 @@ public void Match( global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSetLocalizations = null, - - global::System.Action? gameCenterLeaderboardSetReleases = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, - global::System.Action? gameCenterLeaderboardSets1 = null, - - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -503,21 +361,13 @@ public void Match( { gameCenterGroups?.Invoke(__value1); } - else if (GameCenterLeaderboardSetLocalizations is { } __value2) - { - gameCenterLeaderboardSetLocalizations?.Invoke(__value2); - } - else if (GameCenterLeaderboardSetReleases is { } __value3) + else if (GameCenterLeaderboardSetVersions is { } __value2) { - gameCenterLeaderboardSetReleases?.Invoke(__value3); + gameCenterLeaderboardSetVersions?.Invoke(__value2); } - else if (GameCenterLeaderboardSets1 is { } __value4) + else if (GameCenterLeaderboards is { } __value3) { - gameCenterLeaderboardSets1?.Invoke(__value4); - } - else if (GameCenterLeaderboardSets2 is { } __value5) - { - gameCenterLeaderboardSets2?.Invoke(__value5); + gameCenterLeaderboards?.Invoke(__value3); } } @@ -527,10 +377,8 @@ public void Match( public void Switch( global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSetLocalizations = null, - global::System.Action? gameCenterLeaderboardSetReleases = null, - global::System.Action? gameCenterLeaderboardSets1 = null, - global::System.Action? gameCenterLeaderboardSets2 = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -546,21 +394,13 @@ public void Switch( { gameCenterGroups?.Invoke(__value1); } - else if (GameCenterLeaderboardSetLocalizations is { } __value2) - { - gameCenterLeaderboardSetLocalizations?.Invoke(__value2); - } - else if (GameCenterLeaderboardSetReleases is { } __value3) - { - gameCenterLeaderboardSetReleases?.Invoke(__value3); - } - else if (GameCenterLeaderboardSets1 is { } __value4) + else if (GameCenterLeaderboardSetVersions is { } __value2) { - gameCenterLeaderboardSets1?.Invoke(__value4); + gameCenterLeaderboardSetVersions?.Invoke(__value2); } - else if (GameCenterLeaderboardSets2 is { } __value5) + else if (GameCenterLeaderboards is { } __value3) { - gameCenterLeaderboardSets2?.Invoke(__value5); + gameCenterLeaderboards?.Invoke(__value3); } } @@ -575,14 +415,10 @@ public override int GetHashCode() typeof(global::AppStoreConnect.GameCenterDetail), GameCenterGroups, typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboardSetLocalizations, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), - GameCenterLeaderboardSetReleases, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), - GameCenterLeaderboardSets1, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardSets2, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + GameCenterLeaderboardSetVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), + GameCenterLeaderboards, + typeof(global::AppStoreConnect.GameCenterLeaderboardV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -601,10 +437,8 @@ public bool Equals(IncludedItem125 other) return global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetLocalizations, other.GameCenterLeaderboardSetLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases, other.GameCenterLeaderboardSetReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem126.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem126.g.cs index 108b7a25b..af455bb11 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem126.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem126.g.cs @@ -12,156 +12,412 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? GameCenterLeaderboardLocalizations { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? GameCenterLeaderboardLocalizations { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterLeaderboardLocalizations => GameCenterLeaderboardLocalizations != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterLeaderboardLocalizations( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterLeaderboardLocalizations; - return IsGameCenterLeaderboardLocalizations; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2 PickGameCenterLeaderboardLocalizations() => GameCenterLeaderboardLocalizations is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; init; } + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; } + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] #endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + public bool IsGameCenterGroups => GameCenterGroups != null; /// /// /// - public bool TryPickGameCenterLeaderboards( + public bool TryPickGameCenterGroups( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardV2? value) + out global::AppStoreConnect.GameCenterGroup? value) { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; + value = GameCenterGroups; + return IsGameCenterGroups; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2 PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? GameCenterLeaderboardSetLocalizations { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? GameCenterLeaderboardSetLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetLocalizations))] +#endif + public bool IsGameCenterLeaderboardSetLocalizations => GameCenterLeaderboardSetLocalizations != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSetLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) + { + value = GameCenterLeaderboardSetLocalizations; + return IsGameCenterLeaderboardSetLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSetLocalization PickGameCenterLeaderboardSetLocalizations() => GameCenterLeaderboardSetLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases))] +#endif + public bool IsGameCenterLeaderboardSetReleases => GameCenterLeaderboardSetReleases != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSetReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) + { + value = GameCenterLeaderboardSetReleases; + return IsGameCenterLeaderboardSetReleases; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSetRelease PickGameCenterLeaderboardSetReleases() => GameCenterLeaderboardSetReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] +#endif + public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSet? value) + { + value = GameCenterLeaderboardSets1; + return IsGameCenterLeaderboardSets1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] +#endif + public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboard? value) + { + value = GameCenterLeaderboardSets2; + return IsGameCenterLeaderboardSets2; + } + /// /// /// - public static implicit operator IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2 value) => new IncludedItem126((global::AppStoreConnect.GameCenterLeaderboardLocalizationV2?)value); + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem126(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem126((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem126 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem126(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + + /// + /// + /// + public static IncludedItem126 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem126(value); + + /// + /// + /// + public static implicit operator IncludedItem126(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem126((global::AppStoreConnect.GameCenterGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem126 @this) => @this.GameCenterGroups; + + /// + /// + /// + public IncludedItem126(global::AppStoreConnect.GameCenterGroup? value) + { + GameCenterGroups = value; + } + + /// + /// + /// + public static IncludedItem126 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem126(value); + + /// + /// + /// + public static implicit operator IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardSetLocalization value) => new IncludedItem126((global::AppStoreConnect.GameCenterLeaderboardSetLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetLocalization?(IncludedItem126 @this) => @this.GameCenterLeaderboardSetLocalizations; + + /// + /// + /// + public IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) + { + GameCenterLeaderboardSetLocalizations = value; + } + + /// + /// + /// + public static IncludedItem126 FromGameCenterLeaderboardSetLocalizations(global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) => new IncludedItem126(value); + + /// + /// + /// + public static implicit operator IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardSetRelease value) => new IncludedItem126((global::AppStoreConnect.GameCenterLeaderboardSetRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetRelease?(IncludedItem126 @this) => @this.GameCenterLeaderboardSetReleases; + + /// + /// + /// + public IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) + { + GameCenterLeaderboardSetReleases = value; + } + + /// + /// + /// + public static IncludedItem126 FromGameCenterLeaderboardSetReleases(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) => new IncludedItem126(value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardLocalizationV2?(IncludedItem126 @this) => @this.GameCenterLeaderboardLocalizations; + public static implicit operator IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem126((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem126 @this) => @this.GameCenterLeaderboardSets1; + + /// + /// + /// + public IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - GameCenterLeaderboardLocalizations = value; + GameCenterLeaderboardSets1 = value; } /// /// /// - public static IncludedItem126 FromGameCenterLeaderboardLocalizations(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) => new IncludedItem126(value); + public static IncludedItem126 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem126(value); /// /// /// - public static implicit operator IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardV2 value) => new IncludedItem126((global::AppStoreConnect.GameCenterLeaderboardV2?)value); + public static implicit operator IncludedItem126(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem126((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardV2?(IncludedItem126 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem126 @this) => @this.GameCenterLeaderboardSets2; /// /// /// - public IncludedItem126(global::AppStoreConnect.GameCenterLeaderboardV2? value) + public IncludedItem126(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboards = value; + GameCenterLeaderboardSets2 = value; } /// /// /// - public static IncludedItem126 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboardV2? value) => new IncludedItem126(value); + public static IncludedItem126 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem126(value); /// /// /// public IncludedItem126( - global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? gameCenterLeaderboardLocalizations, - global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards + global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterGroup? gameCenterGroups, + global::AppStoreConnect.GameCenterLeaderboardSetLocalization? gameCenterLeaderboardSetLocalizations, + global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 ) { Type = type; - GameCenterLeaderboardLocalizations = gameCenterLeaderboardLocalizations; - GameCenterLeaderboards = gameCenterLeaderboards; + GameCenterDetails = gameCenterDetails; + GameCenterGroups = gameCenterGroups; + GameCenterLeaderboardSetLocalizations = gameCenterLeaderboardSetLocalizations; + GameCenterLeaderboardSetReleases = gameCenterLeaderboardSetReleases; + GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; + GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? - GameCenterLeaderboardLocalizations as object + GameCenterLeaderboardSets2 as object ?? + GameCenterLeaderboardSets1 as object ?? + GameCenterLeaderboardSetReleases as object ?? + GameCenterLeaderboardSetLocalizations as object ?? + GameCenterGroups as object ?? + GameCenterDetails as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardLocalizations?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterDetails?.ToString() ?? + GameCenterGroups?.ToString() ?? + GameCenterLeaderboardSetLocalizations?.ToString() ?? + GameCenterLeaderboardSetReleases?.ToString() ?? + GameCenterLeaderboardSets1?.ToString() ?? + GameCenterLeaderboardSets2?.ToString() ; /// @@ -169,15 +425,19 @@ GameCenterLeaderboardLocalizations as object /// public bool Validate() { - return IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboards || !IsGameCenterLeaderboardLocalizations && IsGameCenterLeaderboards; + return IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardLocalizations = null, - global::System.Func? gameCenterLeaderboards = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterLeaderboardSetLocalizations = null, + global::System.Func? gameCenterLeaderboardSetReleases = null, + global::System.Func? gameCenterLeaderboardSets1 = null, + global::System.Func? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -185,13 +445,29 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardLocalizations is { } __value0 && gameCenterLeaderboardLocalizations != null) + if (GameCenterDetails is { } __value0 && gameCenterDetails != null) + { + return gameCenterDetails(__value0); + } + else if (GameCenterGroups is { } __value1 && gameCenterGroups != null) { - return gameCenterLeaderboardLocalizations(__value0); + return gameCenterGroups(__value1); } - else if (GameCenterLeaderboards is { } __value1 && gameCenterLeaderboards != null) + else if (GameCenterLeaderboardSetLocalizations is { } __value2 && gameCenterLeaderboardSetLocalizations != null) { - return gameCenterLeaderboards(__value1); + return gameCenterLeaderboardSetLocalizations(__value2); + } + else if (GameCenterLeaderboardSetReleases is { } __value3 && gameCenterLeaderboardSetReleases != null) + { + return gameCenterLeaderboardSetReleases(__value3); + } + else if (GameCenterLeaderboardSets1 is { } __value4 && gameCenterLeaderboardSets1 != null) + { + return gameCenterLeaderboardSets1(__value4); + } + else if (GameCenterLeaderboardSets2 is { } __value5 && gameCenterLeaderboardSets2 != null) + { + return gameCenterLeaderboardSets2(__value5); } return default(TResult); @@ -201,9 +477,17 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardLocalizations = null, + global::System.Action? gameCenterDetails = null, + + global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardSetLocalizations = null, + + global::System.Action? gameCenterLeaderboardSetReleases = null, + + global::System.Action? gameCenterLeaderboardSets1 = null, + + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -211,13 +495,29 @@ public void Match( Validate(); } - if (GameCenterLeaderboardLocalizations is { } __value0) + if (GameCenterDetails is { } __value0) + { + gameCenterDetails?.Invoke(__value0); + } + else if (GameCenterGroups is { } __value1) + { + gameCenterGroups?.Invoke(__value1); + } + else if (GameCenterLeaderboardSetLocalizations is { } __value2) + { + gameCenterLeaderboardSetLocalizations?.Invoke(__value2); + } + else if (GameCenterLeaderboardSetReleases is { } __value3) { - gameCenterLeaderboardLocalizations?.Invoke(__value0); + gameCenterLeaderboardSetReleases?.Invoke(__value3); } - else if (GameCenterLeaderboards is { } __value1) + else if (GameCenterLeaderboardSets1 is { } __value4) { - gameCenterLeaderboards?.Invoke(__value1); + gameCenterLeaderboardSets1?.Invoke(__value4); + } + else if (GameCenterLeaderboardSets2 is { } __value5) + { + gameCenterLeaderboardSets2?.Invoke(__value5); } } @@ -225,8 +525,12 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardLocalizations = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboardSetLocalizations = null, + global::System.Action? gameCenterLeaderboardSetReleases = null, + global::System.Action? gameCenterLeaderboardSets1 = null, + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -234,13 +538,29 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardLocalizations is { } __value0) + if (GameCenterDetails is { } __value0) + { + gameCenterDetails?.Invoke(__value0); + } + else if (GameCenterGroups is { } __value1) + { + gameCenterGroups?.Invoke(__value1); + } + else if (GameCenterLeaderboardSetLocalizations is { } __value2) + { + gameCenterLeaderboardSetLocalizations?.Invoke(__value2); + } + else if (GameCenterLeaderboardSetReleases is { } __value3) + { + gameCenterLeaderboardSetReleases?.Invoke(__value3); + } + else if (GameCenterLeaderboardSets1 is { } __value4) { - gameCenterLeaderboardLocalizations?.Invoke(__value0); + gameCenterLeaderboardSets1?.Invoke(__value4); } - else if (GameCenterLeaderboards is { } __value1) + else if (GameCenterLeaderboardSets2 is { } __value5) { - gameCenterLeaderboards?.Invoke(__value1); + gameCenterLeaderboardSets2?.Invoke(__value5); } } @@ -251,10 +571,18 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardLocalizations, - typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboardV2), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterGroups, + typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboardSetLocalizations, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), + GameCenterLeaderboardSetReleases, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), + GameCenterLeaderboardSets1, + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterLeaderboardSets2, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +599,12 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem126 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardLocalizations, other.GameCenterLeaderboardLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetLocalizations, other.GameCenterLeaderboardSetLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases, other.GameCenterLeaderboardSetReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem127.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem127.g.cs index 60571304b..19c75c772 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem127.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem127.g.cs @@ -12,156 +12,412 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? GameCenterLeaderboardLocalizations { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? GameCenterLeaderboardLocalizations { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterLeaderboardLocalizations => GameCenterLeaderboardLocalizations != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterLeaderboardLocalizations( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterLeaderboardLocalizations; - return IsGameCenterLeaderboardLocalizations; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2 PickGameCenterLeaderboardLocalizations() => GameCenterLeaderboardLocalizations is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; init; } + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; } + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] #endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + public bool IsGameCenterGroups => GameCenterGroups != null; /// /// /// - public bool TryPickGameCenterLeaderboards( + public bool TryPickGameCenterGroups( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardV2? value) + out global::AppStoreConnect.GameCenterGroup? value) { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; + value = GameCenterGroups; + return IsGameCenterGroups; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2 PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? GameCenterLeaderboardSetLocalizations { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSetLocalization? GameCenterLeaderboardSetLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetLocalizations))] +#endif + public bool IsGameCenterLeaderboardSetLocalizations => GameCenterLeaderboardSetLocalizations != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSetLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) + { + value = GameCenterLeaderboardSetLocalizations; + return IsGameCenterLeaderboardSetLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSetLocalization PickGameCenterLeaderboardSetLocalizations() => GameCenterLeaderboardSetLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSetRelease? GameCenterLeaderboardSetReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetReleases))] +#endif + public bool IsGameCenterLeaderboardSetReleases => GameCenterLeaderboardSetReleases != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSetReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) + { + value = GameCenterLeaderboardSetReleases; + return IsGameCenterLeaderboardSetReleases; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSetRelease PickGameCenterLeaderboardSetReleases() => GameCenterLeaderboardSetReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets1))] +#endif + public bool IsGameCenterLeaderboardSets1 => GameCenterLeaderboardSets1 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSet? value) + { + value = GameCenterLeaderboardSets1; + return IsGameCenterLeaderboardSets1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets1() => GameCenterLeaderboardSets1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardSets2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets2))] +#endif + public bool IsGameCenterLeaderboardSets2 => GameCenterLeaderboardSets2 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboard? value) + { + value = GameCenterLeaderboardSets2; + return IsGameCenterLeaderboardSets2; + } + /// /// /// - public static implicit operator IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2 value) => new IncludedItem127((global::AppStoreConnect.GameCenterLeaderboardLocalizationV2?)value); + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardSets2() => GameCenterLeaderboardSets2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem127(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem127((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem127 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem127(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + + /// + /// + /// + public static IncludedItem127 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem127(value); + + /// + /// + /// + public static implicit operator IncludedItem127(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem127((global::AppStoreConnect.GameCenterGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem127 @this) => @this.GameCenterGroups; + + /// + /// + /// + public IncludedItem127(global::AppStoreConnect.GameCenterGroup? value) + { + GameCenterGroups = value; + } + + /// + /// + /// + public static IncludedItem127 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem127(value); + + /// + /// + /// + public static implicit operator IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardSetLocalization value) => new IncludedItem127((global::AppStoreConnect.GameCenterLeaderboardSetLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetLocalization?(IncludedItem127 @this) => @this.GameCenterLeaderboardSetLocalizations; + + /// + /// + /// + public IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) + { + GameCenterLeaderboardSetLocalizations = value; + } + + /// + /// + /// + public static IncludedItem127 FromGameCenterLeaderboardSetLocalizations(global::AppStoreConnect.GameCenterLeaderboardSetLocalization? value) => new IncludedItem127(value); + + /// + /// + /// + public static implicit operator IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardSetRelease value) => new IncludedItem127((global::AppStoreConnect.GameCenterLeaderboardSetRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetRelease?(IncludedItem127 @this) => @this.GameCenterLeaderboardSetReleases; + + /// + /// + /// + public IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) + { + GameCenterLeaderboardSetReleases = value; + } + + /// + /// + /// + public static IncludedItem127 FromGameCenterLeaderboardSetReleases(global::AppStoreConnect.GameCenterLeaderboardSetRelease? value) => new IncludedItem127(value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardLocalizationV2?(IncludedItem127 @this) => @this.GameCenterLeaderboardLocalizations; + public static implicit operator IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem127((global::AppStoreConnect.GameCenterLeaderboardSet?)value); /// /// /// - public IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem127 @this) => @this.GameCenterLeaderboardSets1; + + /// + /// + /// + public IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardSet? value) { - GameCenterLeaderboardLocalizations = value; + GameCenterLeaderboardSets1 = value; } /// /// /// - public static IncludedItem127 FromGameCenterLeaderboardLocalizations(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) => new IncludedItem127(value); + public static IncludedItem127 FromGameCenterLeaderboardSets1(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem127(value); /// /// /// - public static implicit operator IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardV2 value) => new IncludedItem127((global::AppStoreConnect.GameCenterLeaderboardV2?)value); + public static implicit operator IncludedItem127(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem127((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardV2?(IncludedItem127 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem127 @this) => @this.GameCenterLeaderboardSets2; /// /// /// - public IncludedItem127(global::AppStoreConnect.GameCenterLeaderboardV2? value) + public IncludedItem127(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboards = value; + GameCenterLeaderboardSets2 = value; } /// /// /// - public static IncludedItem127 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboardV2? value) => new IncludedItem127(value); + public static IncludedItem127 FromGameCenterLeaderboardSets2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem127(value); /// /// /// public IncludedItem127( - global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? gameCenterLeaderboardLocalizations, - global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards + global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterGroup? gameCenterGroups, + global::AppStoreConnect.GameCenterLeaderboardSetLocalization? gameCenterLeaderboardSetLocalizations, + global::AppStoreConnect.GameCenterLeaderboardSetRelease? gameCenterLeaderboardSetReleases, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets1, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardSets2 ) { Type = type; - GameCenterLeaderboardLocalizations = gameCenterLeaderboardLocalizations; - GameCenterLeaderboards = gameCenterLeaderboards; + GameCenterDetails = gameCenterDetails; + GameCenterGroups = gameCenterGroups; + GameCenterLeaderboardSetLocalizations = gameCenterLeaderboardSetLocalizations; + GameCenterLeaderboardSetReleases = gameCenterLeaderboardSetReleases; + GameCenterLeaderboardSets1 = gameCenterLeaderboardSets1; + GameCenterLeaderboardSets2 = gameCenterLeaderboardSets2; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? - GameCenterLeaderboardLocalizations as object + GameCenterLeaderboardSets2 as object ?? + GameCenterLeaderboardSets1 as object ?? + GameCenterLeaderboardSetReleases as object ?? + GameCenterLeaderboardSetLocalizations as object ?? + GameCenterGroups as object ?? + GameCenterDetails as object ; /// /// /// public override string? ToString() => - GameCenterLeaderboardLocalizations?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterDetails?.ToString() ?? + GameCenterGroups?.ToString() ?? + GameCenterLeaderboardSetLocalizations?.ToString() ?? + GameCenterLeaderboardSetReleases?.ToString() ?? + GameCenterLeaderboardSets1?.ToString() ?? + GameCenterLeaderboardSets2?.ToString() ; /// @@ -169,15 +425,19 @@ GameCenterLeaderboardLocalizations as object /// public bool Validate() { - return IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboards || !IsGameCenterLeaderboardLocalizations && IsGameCenterLeaderboards; + return IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && IsGameCenterLeaderboardSets1 && !IsGameCenterLeaderboardSets2 || !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSetLocalizations && !IsGameCenterLeaderboardSetReleases && !IsGameCenterLeaderboardSets1 && IsGameCenterLeaderboardSets2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterLeaderboardLocalizations = null, - global::System.Func? gameCenterLeaderboards = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterLeaderboardSetLocalizations = null, + global::System.Func? gameCenterLeaderboardSetReleases = null, + global::System.Func? gameCenterLeaderboardSets1 = null, + global::System.Func? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -185,13 +445,29 @@ public bool Validate() Validate(); } - if (GameCenterLeaderboardLocalizations is { } __value0 && gameCenterLeaderboardLocalizations != null) + if (GameCenterDetails is { } __value0 && gameCenterDetails != null) + { + return gameCenterDetails(__value0); + } + else if (GameCenterGroups is { } __value1 && gameCenterGroups != null) { - return gameCenterLeaderboardLocalizations(__value0); + return gameCenterGroups(__value1); } - else if (GameCenterLeaderboards is { } __value1 && gameCenterLeaderboards != null) + else if (GameCenterLeaderboardSetLocalizations is { } __value2 && gameCenterLeaderboardSetLocalizations != null) { - return gameCenterLeaderboards(__value1); + return gameCenterLeaderboardSetLocalizations(__value2); + } + else if (GameCenterLeaderboardSetReleases is { } __value3 && gameCenterLeaderboardSetReleases != null) + { + return gameCenterLeaderboardSetReleases(__value3); + } + else if (GameCenterLeaderboardSets1 is { } __value4 && gameCenterLeaderboardSets1 != null) + { + return gameCenterLeaderboardSets1(__value4); + } + else if (GameCenterLeaderboardSets2 is { } __value5 && gameCenterLeaderboardSets2 != null) + { + return gameCenterLeaderboardSets2(__value5); } return default(TResult); @@ -201,9 +477,17 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterLeaderboardLocalizations = null, + global::System.Action? gameCenterDetails = null, + + global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterLeaderboardSetLocalizations = null, + + global::System.Action? gameCenterLeaderboardSetReleases = null, + + global::System.Action? gameCenterLeaderboardSets1 = null, + + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -211,13 +495,29 @@ public void Match( Validate(); } - if (GameCenterLeaderboardLocalizations is { } __value0) + if (GameCenterDetails is { } __value0) + { + gameCenterDetails?.Invoke(__value0); + } + else if (GameCenterGroups is { } __value1) + { + gameCenterGroups?.Invoke(__value1); + } + else if (GameCenterLeaderboardSetLocalizations is { } __value2) + { + gameCenterLeaderboardSetLocalizations?.Invoke(__value2); + } + else if (GameCenterLeaderboardSetReleases is { } __value3) { - gameCenterLeaderboardLocalizations?.Invoke(__value0); + gameCenterLeaderboardSetReleases?.Invoke(__value3); } - else if (GameCenterLeaderboards is { } __value1) + else if (GameCenterLeaderboardSets1 is { } __value4) { - gameCenterLeaderboards?.Invoke(__value1); + gameCenterLeaderboardSets1?.Invoke(__value4); + } + else if (GameCenterLeaderboardSets2 is { } __value5) + { + gameCenterLeaderboardSets2?.Invoke(__value5); } } @@ -225,8 +525,12 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterLeaderboardLocalizations = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboardSetLocalizations = null, + global::System.Action? gameCenterLeaderboardSetReleases = null, + global::System.Action? gameCenterLeaderboardSets1 = null, + global::System.Action? gameCenterLeaderboardSets2 = null, bool validate = true) { if (validate) @@ -234,13 +538,29 @@ public void Switch( Validate(); } - if (GameCenterLeaderboardLocalizations is { } __value0) + if (GameCenterDetails is { } __value0) + { + gameCenterDetails?.Invoke(__value0); + } + else if (GameCenterGroups is { } __value1) + { + gameCenterGroups?.Invoke(__value1); + } + else if (GameCenterLeaderboardSetLocalizations is { } __value2) + { + gameCenterLeaderboardSetLocalizations?.Invoke(__value2); + } + else if (GameCenterLeaderboardSetReleases is { } __value3) + { + gameCenterLeaderboardSetReleases?.Invoke(__value3); + } + else if (GameCenterLeaderboardSets1 is { } __value4) { - gameCenterLeaderboardLocalizations?.Invoke(__value0); + gameCenterLeaderboardSets1?.Invoke(__value4); } - else if (GameCenterLeaderboards is { } __value1) + else if (GameCenterLeaderboardSets2 is { } __value5) { - gameCenterLeaderboards?.Invoke(__value1); + gameCenterLeaderboardSets2?.Invoke(__value5); } } @@ -251,10 +571,18 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterLeaderboardLocalizations, - typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboardV2), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterGroups, + typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboardSetLocalizations, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalization), + GameCenterLeaderboardSetReleases, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelease), + GameCenterLeaderboardSets1, + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterLeaderboardSets2, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +599,12 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem127 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardLocalizations, other.GameCenterLeaderboardLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetLocalizations, other.GameCenterLeaderboardSetLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetReleases, other.GameCenterLeaderboardSetReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets1, other.GameCenterLeaderboardSets1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets2, other.GameCenterLeaderboardSets2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem128.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem128.g.cs index d9affff54..78b10251b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem128.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem128.g.cs @@ -12,163 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? GameCenterLeaderboardLocalizations { get; init; } #else - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] -#endif - public bool IsGameCenterActivities => GameCenterActivities != null; - - /// - /// - /// - public bool TryPickGameCenterActivities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivity? value) - { - value = GameCenterActivities; - return IsGameCenterActivities; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; init; } -#else - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallenges))] -#endif - public bool IsGameCenterChallenges => GameCenterChallenges != null; - - /// - /// - /// - public bool TryPickGameCenterChallenges( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallenge? value) - { - value = GameCenterChallenges; - return IsGameCenterChallenges; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallenges() => GameCenterChallenges is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallenges' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } -#else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] -#endif - public bool IsGameCenterDetails => GameCenterDetails != null; - - /// - /// - /// - public bool TryPickGameCenterDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterDetail? value) - { - value = GameCenterDetails; - return IsGameCenterDetails; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } -#else - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] -#endif - public bool IsGameCenterGroups => GameCenterGroups != null; - - /// - /// - /// - public bool TryPickGameCenterGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterGroup? value) - { - value = GameCenterGroups; - return IsGameCenterGroups; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardLocalization? GameCenterLeaderboardLocalizations { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardLocalization? GameCenterLeaderboardLocalizations { get; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? GameCenterLeaderboardLocalizations { get; } #endif /// @@ -186,7 +38,7 @@ public bool TryPickGameCenterLeaderboardLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardLocalization? value) + out global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) { value = GameCenterLeaderboardLocalizations; return IsGameCenterLeaderboardLocalizations; @@ -195,7 +47,7 @@ public bool TryPickGameCenterLeaderboardLocalizations( /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalization PickGameCenterLeaderboardLocalizations() => GameCenterLeaderboardLocalizations is { } value + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2 PickGameCenterLeaderboardLocalizations() => GameCenterLeaderboardLocalizations is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardLocalizations' but the value was {ToString()}."); @@ -203,218 +55,52 @@ public bool TryPickGameCenterLeaderboardLocalizations( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases1))] -#endif - public bool IsGameCenterLeaderboardReleases1 => GameCenterLeaderboardReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardRelease? value) - { - value = GameCenterLeaderboardReleases1; - return IsGameCenterLeaderboardReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardRelease PickGameCenterLeaderboardReleases1() => GameCenterLeaderboardReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] -#endif - public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) - { - value = GameCenterLeaderboardSets; - return IsGameCenterLeaderboardSets; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; } + public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] #endif - public bool IsGameCenterLeaderboardReleases2 => GameCenterLeaderboardReleases2 != null; + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; /// /// /// - public bool TryPickGameCenterLeaderboardReleases2( + public bool TryPickGameCenterLeaderboards( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + out global::AppStoreConnect.GameCenterLeaderboardV2? value) { - value = GameCenterLeaderboardReleases2; - return IsGameCenterLeaderboardReleases2; + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardReleases2() => GameCenterLeaderboardReleases2 is { } value + public global::AppStoreConnect.GameCenterLeaderboardV2 PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases2' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem128((global::AppStoreConnect.GameCenterActivity?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem128 @this) => @this.GameCenterActivities; - - /// - /// - /// - public IncludedItem128(global::AppStoreConnect.GameCenterActivity? value) - { - GameCenterActivities = value; - } - - /// - /// - /// - public static IncludedItem128 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem128(value); - - /// - /// - /// - public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem128((global::AppStoreConnect.GameCenterChallenge?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem128 @this) => @this.GameCenterChallenges; - - /// - /// - /// - public IncludedItem128(global::AppStoreConnect.GameCenterChallenge? value) - { - GameCenterChallenges = value; - } - - /// - /// - /// - public static IncludedItem128 FromGameCenterChallenges(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem128(value); - - /// - /// - /// - public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem128((global::AppStoreConnect.GameCenterDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem128 @this) => @this.GameCenterDetails; - - /// - /// - /// - public IncludedItem128(global::AppStoreConnect.GameCenterDetail? value) - { - GameCenterDetails = value; - } - - /// - /// - /// - public static IncludedItem128 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem128(value); - - /// - /// - /// - public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem128((global::AppStoreConnect.GameCenterGroup?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem128 @this) => @this.GameCenterGroups; - - /// - /// - /// - public IncludedItem128(global::AppStoreConnect.GameCenterGroup? value) - { - GameCenterGroups = value; - } - - /// - /// - /// - public static IncludedItem128 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem128(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardLocalization value) => new IncludedItem128((global::AppStoreConnect.GameCenterLeaderboardLocalization?)value); + public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2 value) => new IncludedItem128((global::AppStoreConnect.GameCenterLeaderboardLocalizationV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardLocalization?(IncludedItem128 @this) => @this.GameCenterLeaderboardLocalizations; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardLocalizationV2?(IncludedItem128 @this) => @this.GameCenterLeaderboardLocalizations; /// /// /// - public IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardLocalization? value) + public IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) { GameCenterLeaderboardLocalizations = value; } @@ -422,130 +108,60 @@ public IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardLocalization /// /// /// - public static IncludedItem128 FromGameCenterLeaderboardLocalizations(global::AppStoreConnect.GameCenterLeaderboardLocalization? value) => new IncludedItem128(value); + public static IncludedItem128 FromGameCenterLeaderboardLocalizations(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) => new IncludedItem128(value); /// /// /// - public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardRelease value) => new IncludedItem128((global::AppStoreConnect.GameCenterLeaderboardRelease?)value); + public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardV2 value) => new IncludedItem128((global::AppStoreConnect.GameCenterLeaderboardV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardRelease?(IncludedItem128 @this) => @this.GameCenterLeaderboardReleases1; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardV2?(IncludedItem128 @this) => @this.GameCenterLeaderboards; /// /// /// - public IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardRelease? value) + public IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardV2? value) { - GameCenterLeaderboardReleases1 = value; + GameCenterLeaderboards = value; } /// /// /// - public static IncludedItem128 FromGameCenterLeaderboardReleases1(global::AppStoreConnect.GameCenterLeaderboardRelease? value) => new IncludedItem128(value); - - /// - /// - /// - public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem128((global::AppStoreConnect.GameCenterLeaderboardSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem128 @this) => @this.GameCenterLeaderboardSets; - - /// - /// - /// - public IncludedItem128(global::AppStoreConnect.GameCenterLeaderboardSet? value) - { - GameCenterLeaderboardSets = value; - } - - /// - /// - /// - public static IncludedItem128 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem128(value); - - /// - /// - /// - public static implicit operator IncludedItem128(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem128((global::AppStoreConnect.GameCenterLeaderboard?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem128 @this) => @this.GameCenterLeaderboardReleases2; - - /// - /// - /// - public IncludedItem128(global::AppStoreConnect.GameCenterLeaderboard? value) - { - GameCenterLeaderboardReleases2 = value; - } - - /// - /// - /// - public static IncludedItem128 FromGameCenterLeaderboardReleases2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem128(value); + public static IncludedItem128 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboardV2? value) => new IncludedItem128(value); /// /// /// public IncludedItem128( - global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterActivity? gameCenterActivities, - global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardLocalization? gameCenterLeaderboardLocalizations, - global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 + global::AppStoreConnect.GameCenterLeaderboardVersionsV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? gameCenterLeaderboardLocalizations, + global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards ) { Type = type; - GameCenterActivities = gameCenterActivities; - GameCenterChallenges = gameCenterChallenges; - GameCenterDetails = gameCenterDetails; - GameCenterGroups = gameCenterGroups; GameCenterLeaderboardLocalizations = gameCenterLeaderboardLocalizations; - GameCenterLeaderboardReleases1 = gameCenterLeaderboardReleases1; - GameCenterLeaderboardSets = gameCenterLeaderboardSets; - GameCenterLeaderboardReleases2 = gameCenterLeaderboardReleases2; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboardReleases2 as object ?? - GameCenterLeaderboardSets as object ?? - GameCenterLeaderboardReleases1 as object ?? - GameCenterLeaderboardLocalizations as object ?? - GameCenterGroups as object ?? - GameCenterDetails as object ?? - GameCenterChallenges as object ?? - GameCenterActivities as object + GameCenterLeaderboards as object ?? + GameCenterLeaderboardLocalizations as object ; /// /// /// public override string? ToString() => - GameCenterActivities?.ToString() ?? - GameCenterChallenges?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() ?? GameCenterLeaderboardLocalizations?.ToString() ?? - GameCenterLeaderboardReleases1?.ToString() ?? - GameCenterLeaderboardSets?.ToString() ?? - GameCenterLeaderboardReleases2?.ToString() + GameCenterLeaderboards?.ToString() ; /// @@ -553,21 +169,15 @@ GameCenterActivities as object /// public bool Validate() { - return IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && IsGameCenterLeaderboardReleases2; + return IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboards || !IsGameCenterLeaderboardLocalizations && IsGameCenterLeaderboards; } /// /// /// public TResult? Match( - global::System.Func? gameCenterActivities = null, - global::System.Func? gameCenterChallenges = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardLocalizations = null, - global::System.Func? gameCenterLeaderboardReleases1 = null, - global::System.Func? gameCenterLeaderboardSets = null, - global::System.Func? gameCenterLeaderboardReleases2 = null, + global::System.Func? gameCenterLeaderboardLocalizations = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -575,37 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterActivities is { } __value0 && gameCenterActivities != null) - { - return gameCenterActivities(__value0); - } - else if (GameCenterChallenges is { } __value1 && gameCenterChallenges != null) - { - return gameCenterChallenges(__value1); - } - else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) - { - return gameCenterDetails(__value2); - } - else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) - { - return gameCenterGroups(__value3); - } - else if (GameCenterLeaderboardLocalizations is { } __value4 && gameCenterLeaderboardLocalizations != null) + if (GameCenterLeaderboardLocalizations is { } __value0 && gameCenterLeaderboardLocalizations != null) { - return gameCenterLeaderboardLocalizations(__value4); + return gameCenterLeaderboardLocalizations(__value0); } - else if (GameCenterLeaderboardReleases1 is { } __value5 && gameCenterLeaderboardReleases1 != null) + else if (GameCenterLeaderboards is { } __value1 && gameCenterLeaderboards != null) { - return gameCenterLeaderboardReleases1(__value5); - } - else if (GameCenterLeaderboardSets is { } __value6 && gameCenterLeaderboardSets != null) - { - return gameCenterLeaderboardSets(__value6); - } - else if (GameCenterLeaderboardReleases2 is { } __value7 && gameCenterLeaderboardReleases2 != null) - { - return gameCenterLeaderboardReleases2(__value7); + return gameCenterLeaderboards(__value1); } return default(TResult); @@ -615,21 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterActivities = null, - - global::System.Action? gameCenterChallenges = null, + global::System.Action? gameCenterLeaderboardLocalizations = null, - global::System.Action? gameCenterDetails = null, - - global::System.Action? gameCenterGroups = null, - - global::System.Action? gameCenterLeaderboardLocalizations = null, - - global::System.Action? gameCenterLeaderboardReleases1 = null, - - global::System.Action? gameCenterLeaderboardSets = null, - - global::System.Action? gameCenterLeaderboardReleases2 = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -637,37 +211,13 @@ public void Match( Validate(); } - if (GameCenterActivities is { } __value0) + if (GameCenterLeaderboardLocalizations is { } __value0) { - gameCenterActivities?.Invoke(__value0); + gameCenterLeaderboardLocalizations?.Invoke(__value0); } - else if (GameCenterChallenges is { } __value1) + else if (GameCenterLeaderboards is { } __value1) { - gameCenterChallenges?.Invoke(__value1); - } - else if (GameCenterDetails is { } __value2) - { - gameCenterDetails?.Invoke(__value2); - } - else if (GameCenterGroups is { } __value3) - { - gameCenterGroups?.Invoke(__value3); - } - else if (GameCenterLeaderboardLocalizations is { } __value4) - { - gameCenterLeaderboardLocalizations?.Invoke(__value4); - } - else if (GameCenterLeaderboardReleases1 is { } __value5) - { - gameCenterLeaderboardReleases1?.Invoke(__value5); - } - else if (GameCenterLeaderboardSets is { } __value6) - { - gameCenterLeaderboardSets?.Invoke(__value6); - } - else if (GameCenterLeaderboardReleases2 is { } __value7) - { - gameCenterLeaderboardReleases2?.Invoke(__value7); + gameCenterLeaderboards?.Invoke(__value1); } } @@ -675,14 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterChallenges = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardLocalizations = null, - global::System.Action? gameCenterLeaderboardReleases1 = null, - global::System.Action? gameCenterLeaderboardSets = null, - global::System.Action? gameCenterLeaderboardReleases2 = null, + global::System.Action? gameCenterLeaderboardLocalizations = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -690,37 +234,13 @@ public void Switch( Validate(); } - if (GameCenterActivities is { } __value0) - { - gameCenterActivities?.Invoke(__value0); - } - else if (GameCenterChallenges is { } __value1) - { - gameCenterChallenges?.Invoke(__value1); - } - else if (GameCenterDetails is { } __value2) - { - gameCenterDetails?.Invoke(__value2); - } - else if (GameCenterGroups is { } __value3) - { - gameCenterGroups?.Invoke(__value3); - } - else if (GameCenterLeaderboardLocalizations is { } __value4) - { - gameCenterLeaderboardLocalizations?.Invoke(__value4); - } - else if (GameCenterLeaderboardReleases1 is { } __value5) - { - gameCenterLeaderboardReleases1?.Invoke(__value5); - } - else if (GameCenterLeaderboardSets is { } __value6) + if (GameCenterLeaderboardLocalizations is { } __value0) { - gameCenterLeaderboardSets?.Invoke(__value6); + gameCenterLeaderboardLocalizations?.Invoke(__value0); } - else if (GameCenterLeaderboardReleases2 is { } __value7) + else if (GameCenterLeaderboards is { } __value1) { - gameCenterLeaderboardReleases2?.Invoke(__value7); + gameCenterLeaderboards?.Invoke(__value1); } } @@ -731,22 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterActivities, - typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterChallenges, - typeof(global::AppStoreConnect.GameCenterChallenge), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterGroups, - typeof(global::AppStoreConnect.GameCenterGroup), GameCenterLeaderboardLocalizations, - typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), - GameCenterLeaderboardReleases1, - typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), - GameCenterLeaderboardSets, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardReleases2, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), + GameCenterLeaderboards, + typeof(global::AppStoreConnect.GameCenterLeaderboardV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -763,14 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem128 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardLocalizations, other.GameCenterLeaderboardLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases1, other.GameCenterLeaderboardReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases2, other.GameCenterLeaderboardReleases2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardLocalizations, other.GameCenterLeaderboardLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem129.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem129.g.cs index cfe3d2e17..35c66f4f6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem129.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem129.g.cs @@ -12,163 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? GameCenterLeaderboardLocalizations { get; init; } #else - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] -#endif - public bool IsGameCenterActivities => GameCenterActivities != null; - - /// - /// - /// - public bool TryPickGameCenterActivities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivity? value) - { - value = GameCenterActivities; - return IsGameCenterActivities; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; init; } -#else - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallenges))] -#endif - public bool IsGameCenterChallenges => GameCenterChallenges != null; - - /// - /// - /// - public bool TryPickGameCenterChallenges( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallenge? value) - { - value = GameCenterChallenges; - return IsGameCenterChallenges; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallenges() => GameCenterChallenges is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallenges' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } -#else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] -#endif - public bool IsGameCenterDetails => GameCenterDetails != null; - - /// - /// - /// - public bool TryPickGameCenterDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterDetail? value) - { - value = GameCenterDetails; - return IsGameCenterDetails; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } -#else - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] -#endif - public bool IsGameCenterGroups => GameCenterGroups != null; - - /// - /// - /// - public bool TryPickGameCenterGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterGroup? value) - { - value = GameCenterGroups; - return IsGameCenterGroups; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardLocalization? GameCenterLeaderboardLocalizations { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardLocalization? GameCenterLeaderboardLocalizations { get; } + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? GameCenterLeaderboardLocalizations { get; } #endif /// @@ -186,7 +38,7 @@ public bool TryPickGameCenterLeaderboardLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardLocalization? value) + out global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) { value = GameCenterLeaderboardLocalizations; return IsGameCenterLeaderboardLocalizations; @@ -195,7 +47,7 @@ public bool TryPickGameCenterLeaderboardLocalizations( /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardLocalization PickGameCenterLeaderboardLocalizations() => GameCenterLeaderboardLocalizations is { } value + public global::AppStoreConnect.GameCenterLeaderboardLocalizationV2 PickGameCenterLeaderboardLocalizations() => GameCenterLeaderboardLocalizations is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardLocalizations' but the value was {ToString()}."); @@ -203,218 +55,52 @@ public bool TryPickGameCenterLeaderboardLocalizations( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases1))] -#endif - public bool IsGameCenterLeaderboardReleases1 => GameCenterLeaderboardReleases1 != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardReleases1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardRelease? value) - { - value = GameCenterLeaderboardReleases1; - return IsGameCenterLeaderboardReleases1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardRelease PickGameCenterLeaderboardReleases1() => GameCenterLeaderboardReleases1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] -#endif - public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSet? value) - { - value = GameCenterLeaderboardSets; - return IsGameCenterLeaderboardSets; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; } + public global::AppStoreConnect.GameCenterLeaderboardV2? GameCenterLeaderboards { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] #endif - public bool IsGameCenterLeaderboardReleases2 => GameCenterLeaderboardReleases2 != null; + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; /// /// /// - public bool TryPickGameCenterLeaderboardReleases2( + public bool TryPickGameCenterLeaderboards( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + out global::AppStoreConnect.GameCenterLeaderboardV2? value) { - value = GameCenterLeaderboardReleases2; - return IsGameCenterLeaderboardReleases2; + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardReleases2() => GameCenterLeaderboardReleases2 is { } value + public global::AppStoreConnect.GameCenterLeaderboardV2 PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases2' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem129((global::AppStoreConnect.GameCenterActivity?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem129 @this) => @this.GameCenterActivities; - - /// - /// - /// - public IncludedItem129(global::AppStoreConnect.GameCenterActivity? value) - { - GameCenterActivities = value; - } - - /// - /// - /// - public static IncludedItem129 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem129(value); - - /// - /// - /// - public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem129((global::AppStoreConnect.GameCenterChallenge?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem129 @this) => @this.GameCenterChallenges; - - /// - /// - /// - public IncludedItem129(global::AppStoreConnect.GameCenterChallenge? value) - { - GameCenterChallenges = value; - } - - /// - /// - /// - public static IncludedItem129 FromGameCenterChallenges(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem129(value); - - /// - /// - /// - public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem129((global::AppStoreConnect.GameCenterDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem129 @this) => @this.GameCenterDetails; - - /// - /// - /// - public IncludedItem129(global::AppStoreConnect.GameCenterDetail? value) - { - GameCenterDetails = value; - } - - /// - /// - /// - public static IncludedItem129 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem129(value); - - /// - /// - /// - public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem129((global::AppStoreConnect.GameCenterGroup?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem129 @this) => @this.GameCenterGroups; - - /// - /// - /// - public IncludedItem129(global::AppStoreConnect.GameCenterGroup? value) - { - GameCenterGroups = value; - } - - /// - /// - /// - public static IncludedItem129 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem129(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardLocalization value) => new IncludedItem129((global::AppStoreConnect.GameCenterLeaderboardLocalization?)value); + public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2 value) => new IncludedItem129((global::AppStoreConnect.GameCenterLeaderboardLocalizationV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardLocalization?(IncludedItem129 @this) => @this.GameCenterLeaderboardLocalizations; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardLocalizationV2?(IncludedItem129 @this) => @this.GameCenterLeaderboardLocalizations; /// /// /// - public IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardLocalization? value) + public IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) { GameCenterLeaderboardLocalizations = value; } @@ -422,130 +108,60 @@ public IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardLocalization /// /// /// - public static IncludedItem129 FromGameCenterLeaderboardLocalizations(global::AppStoreConnect.GameCenterLeaderboardLocalization? value) => new IncludedItem129(value); + public static IncludedItem129 FromGameCenterLeaderboardLocalizations(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? value) => new IncludedItem129(value); /// /// /// - public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardRelease value) => new IncludedItem129((global::AppStoreConnect.GameCenterLeaderboardRelease?)value); + public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardV2 value) => new IncludedItem129((global::AppStoreConnect.GameCenterLeaderboardV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardRelease?(IncludedItem129 @this) => @this.GameCenterLeaderboardReleases1; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardV2?(IncludedItem129 @this) => @this.GameCenterLeaderboards; /// /// /// - public IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardRelease? value) + public IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardV2? value) { - GameCenterLeaderboardReleases1 = value; + GameCenterLeaderboards = value; } /// /// /// - public static IncludedItem129 FromGameCenterLeaderboardReleases1(global::AppStoreConnect.GameCenterLeaderboardRelease? value) => new IncludedItem129(value); - - /// - /// - /// - public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem129((global::AppStoreConnect.GameCenterLeaderboardSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem129 @this) => @this.GameCenterLeaderboardSets; - - /// - /// - /// - public IncludedItem129(global::AppStoreConnect.GameCenterLeaderboardSet? value) - { - GameCenterLeaderboardSets = value; - } - - /// - /// - /// - public static IncludedItem129 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem129(value); - - /// - /// - /// - public static implicit operator IncludedItem129(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem129((global::AppStoreConnect.GameCenterLeaderboard?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem129 @this) => @this.GameCenterLeaderboardReleases2; - - /// - /// - /// - public IncludedItem129(global::AppStoreConnect.GameCenterLeaderboard? value) - { - GameCenterLeaderboardReleases2 = value; - } - - /// - /// - /// - public static IncludedItem129 FromGameCenterLeaderboardReleases2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem129(value); + public static IncludedItem129 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboardV2? value) => new IncludedItem129(value); /// /// /// public IncludedItem129( - global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterActivity? gameCenterActivities, - global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardLocalization? gameCenterLeaderboardLocalizations, - global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1, - global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 + global::AppStoreConnect.GameCenterLeaderboardVersionV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardLocalizationV2? gameCenterLeaderboardLocalizations, + global::AppStoreConnect.GameCenterLeaderboardV2? gameCenterLeaderboards ) { Type = type; - GameCenterActivities = gameCenterActivities; - GameCenterChallenges = gameCenterChallenges; - GameCenterDetails = gameCenterDetails; - GameCenterGroups = gameCenterGroups; GameCenterLeaderboardLocalizations = gameCenterLeaderboardLocalizations; - GameCenterLeaderboardReleases1 = gameCenterLeaderboardReleases1; - GameCenterLeaderboardSets = gameCenterLeaderboardSets; - GameCenterLeaderboardReleases2 = gameCenterLeaderboardReleases2; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboardReleases2 as object ?? - GameCenterLeaderboardSets as object ?? - GameCenterLeaderboardReleases1 as object ?? - GameCenterLeaderboardLocalizations as object ?? - GameCenterGroups as object ?? - GameCenterDetails as object ?? - GameCenterChallenges as object ?? - GameCenterActivities as object + GameCenterLeaderboards as object ?? + GameCenterLeaderboardLocalizations as object ; /// /// /// public override string? ToString() => - GameCenterActivities?.ToString() ?? - GameCenterChallenges?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() ?? GameCenterLeaderboardLocalizations?.ToString() ?? - GameCenterLeaderboardReleases1?.ToString() ?? - GameCenterLeaderboardSets?.ToString() ?? - GameCenterLeaderboardReleases2?.ToString() + GameCenterLeaderboards?.ToString() ; /// @@ -553,21 +169,15 @@ GameCenterActivities as object /// public bool Validate() { - return IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && IsGameCenterLeaderboardReleases2; + return IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboards || !IsGameCenterLeaderboardLocalizations && IsGameCenterLeaderboards; } /// /// /// public TResult? Match( - global::System.Func? gameCenterActivities = null, - global::System.Func? gameCenterChallenges = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardLocalizations = null, - global::System.Func? gameCenterLeaderboardReleases1 = null, - global::System.Func? gameCenterLeaderboardSets = null, - global::System.Func? gameCenterLeaderboardReleases2 = null, + global::System.Func? gameCenterLeaderboardLocalizations = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -575,37 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterActivities is { } __value0 && gameCenterActivities != null) - { - return gameCenterActivities(__value0); - } - else if (GameCenterChallenges is { } __value1 && gameCenterChallenges != null) - { - return gameCenterChallenges(__value1); - } - else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) - { - return gameCenterDetails(__value2); - } - else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) - { - return gameCenterGroups(__value3); - } - else if (GameCenterLeaderboardLocalizations is { } __value4 && gameCenterLeaderboardLocalizations != null) + if (GameCenterLeaderboardLocalizations is { } __value0 && gameCenterLeaderboardLocalizations != null) { - return gameCenterLeaderboardLocalizations(__value4); + return gameCenterLeaderboardLocalizations(__value0); } - else if (GameCenterLeaderboardReleases1 is { } __value5 && gameCenterLeaderboardReleases1 != null) + else if (GameCenterLeaderboards is { } __value1 && gameCenterLeaderboards != null) { - return gameCenterLeaderboardReleases1(__value5); - } - else if (GameCenterLeaderboardSets is { } __value6 && gameCenterLeaderboardSets != null) - { - return gameCenterLeaderboardSets(__value6); - } - else if (GameCenterLeaderboardReleases2 is { } __value7 && gameCenterLeaderboardReleases2 != null) - { - return gameCenterLeaderboardReleases2(__value7); + return gameCenterLeaderboards(__value1); } return default(TResult); @@ -615,21 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterActivities = null, - - global::System.Action? gameCenterChallenges = null, + global::System.Action? gameCenterLeaderboardLocalizations = null, - global::System.Action? gameCenterDetails = null, - - global::System.Action? gameCenterGroups = null, - - global::System.Action? gameCenterLeaderboardLocalizations = null, - - global::System.Action? gameCenterLeaderboardReleases1 = null, - - global::System.Action? gameCenterLeaderboardSets = null, - - global::System.Action? gameCenterLeaderboardReleases2 = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -637,37 +211,13 @@ public void Match( Validate(); } - if (GameCenterActivities is { } __value0) + if (GameCenterLeaderboardLocalizations is { } __value0) { - gameCenterActivities?.Invoke(__value0); + gameCenterLeaderboardLocalizations?.Invoke(__value0); } - else if (GameCenterChallenges is { } __value1) + else if (GameCenterLeaderboards is { } __value1) { - gameCenterChallenges?.Invoke(__value1); - } - else if (GameCenterDetails is { } __value2) - { - gameCenterDetails?.Invoke(__value2); - } - else if (GameCenterGroups is { } __value3) - { - gameCenterGroups?.Invoke(__value3); - } - else if (GameCenterLeaderboardLocalizations is { } __value4) - { - gameCenterLeaderboardLocalizations?.Invoke(__value4); - } - else if (GameCenterLeaderboardReleases1 is { } __value5) - { - gameCenterLeaderboardReleases1?.Invoke(__value5); - } - else if (GameCenterLeaderboardSets is { } __value6) - { - gameCenterLeaderboardSets?.Invoke(__value6); - } - else if (GameCenterLeaderboardReleases2 is { } __value7) - { - gameCenterLeaderboardReleases2?.Invoke(__value7); + gameCenterLeaderboards?.Invoke(__value1); } } @@ -675,14 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterChallenges = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardLocalizations = null, - global::System.Action? gameCenterLeaderboardReleases1 = null, - global::System.Action? gameCenterLeaderboardSets = null, - global::System.Action? gameCenterLeaderboardReleases2 = null, + global::System.Action? gameCenterLeaderboardLocalizations = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -690,37 +234,13 @@ public void Switch( Validate(); } - if (GameCenterActivities is { } __value0) - { - gameCenterActivities?.Invoke(__value0); - } - else if (GameCenterChallenges is { } __value1) - { - gameCenterChallenges?.Invoke(__value1); - } - else if (GameCenterDetails is { } __value2) - { - gameCenterDetails?.Invoke(__value2); - } - else if (GameCenterGroups is { } __value3) - { - gameCenterGroups?.Invoke(__value3); - } - else if (GameCenterLeaderboardLocalizations is { } __value4) - { - gameCenterLeaderboardLocalizations?.Invoke(__value4); - } - else if (GameCenterLeaderboardReleases1 is { } __value5) - { - gameCenterLeaderboardReleases1?.Invoke(__value5); - } - else if (GameCenterLeaderboardSets is { } __value6) + if (GameCenterLeaderboardLocalizations is { } __value0) { - gameCenterLeaderboardSets?.Invoke(__value6); + gameCenterLeaderboardLocalizations?.Invoke(__value0); } - else if (GameCenterLeaderboardReleases2 is { } __value7) + else if (GameCenterLeaderboards is { } __value1) { - gameCenterLeaderboardReleases2?.Invoke(__value7); + gameCenterLeaderboards?.Invoke(__value1); } } @@ -731,22 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterActivities, - typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterChallenges, - typeof(global::AppStoreConnect.GameCenterChallenge), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterGroups, - typeof(global::AppStoreConnect.GameCenterGroup), GameCenterLeaderboardLocalizations, - typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), - GameCenterLeaderboardReleases1, - typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), - GameCenterLeaderboardSets, - typeof(global::AppStoreConnect.GameCenterLeaderboardSet), - GameCenterLeaderboardReleases2, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2), + GameCenterLeaderboards, + typeof(global::AppStoreConnect.GameCenterLeaderboardV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -763,14 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem129 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardLocalizations, other.GameCenterLeaderboardLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases1, other.GameCenterLeaderboardReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases2, other.GameCenterLeaderboardReleases2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardLocalizations, other.GameCenterLeaderboardLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem13.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem13.g.cs index ef5e4b57d..7a02a9ce9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem13.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem13.g.cs @@ -12,156 +12,348 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations1 { get; init; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations1 { get; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacements))] #endif - public bool IsAppCustomProductPageLocalizations1 => AppCustomProductPageLocalizations1 != null; + public bool IsAppAssetLibraryPlacements => AppAssetLibraryPlacements != null; /// /// /// - public bool TryPickAppCustomProductPageLocalizations1( + public bool TryPickAppAssetLibraryPlacements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPageLocalization? value) + out global::AppStoreConnect.AppAssetLibraryPlacement? value) { - value = AppCustomProductPageLocalizations1; - return IsAppCustomProductPageLocalizations1; + value = AppAssetLibraryPlacements; + return IsAppAssetLibraryPlacements; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations1() => AppCustomProductPageLocalizations1 is { } value + public global::AppStoreConnect.AppAssetLibraryPlacement PickAppAssetLibraryPlacements() => AppAssetLibraryPlacements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPageLocalizations2 { get; init; } + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } #else - public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPageLocalizations2 { get; } + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] #endif - public bool IsAppCustomProductPageLocalizations2 => AppCustomProductPageLocalizations2 != null; + public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; /// /// /// - public bool TryPickAppCustomProductPageLocalizations2( + public bool TryPickAppCustomProductPageVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPage? value) + out global::AppStoreConnect.AppCustomProductPageVersion? value) { - value = AppCustomProductPageLocalizations2; - return IsAppCustomProductPageLocalizations2; + value = AppCustomProductPageVersions; + return IsAppCustomProductPageVersions; } /// /// /// - public global::AppStoreConnect.AppCustomProductPage PickAppCustomProductPageLocalizations2() => AppCustomProductPageLocalizations2 is { } value + public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppKeyword? AppKeywords { get; init; } +#else + public global::AppStoreConnect.AppKeyword? AppKeywords { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppKeywords))] +#endif + public bool IsAppKeywords => AppKeywords != null; + + /// + /// + /// + public bool TryPickAppKeywords( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppKeyword? value) + { + value = AppKeywords; + return IsAppKeywords; + } + + /// + /// + /// + public global::AppStoreConnect.AppKeyword PickAppKeywords() => AppKeywords is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppKeywords' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } +#else + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] +#endif + public bool IsAppPreviewSets => AppPreviewSets != null; + + /// + /// + /// + public bool TryPickAppPreviewSets( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppPreviewSet? value) + { + value = AppPreviewSets; + return IsAppPreviewSets; + } + + /// + /// + /// + public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } +#else + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] +#endif + public bool IsAppScreenshotSets => AppScreenshotSets != null; + + /// + /// + /// + public bool TryPickAppScreenshotSets( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppScreenshotSet? value) + { + value = AppScreenshotSets; + return IsAppScreenshotSets; + } + + /// + /// + /// + public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem13(global::AppStoreConnect.AppAssetLibraryPlacement value) => new IncludedItem13((global::AppStoreConnect.AppAssetLibraryPlacement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacement?(IncludedItem13 @this) => @this.AppAssetLibraryPlacements; + + /// + /// + /// + public IncludedItem13(global::AppStoreConnect.AppAssetLibraryPlacement? value) + { + AppAssetLibraryPlacements = value; + } + + /// + /// + /// + public static IncludedItem13 FromAppAssetLibraryPlacements(global::AppStoreConnect.AppAssetLibraryPlacement? value) => new IncludedItem13(value); + + /// + /// + /// + public static implicit operator IncludedItem13(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem13((global::AppStoreConnect.AppCustomProductPageVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem13 @this) => @this.AppCustomProductPageVersions; + + /// + /// + /// + public IncludedItem13(global::AppStoreConnect.AppCustomProductPageVersion? value) + { + AppCustomProductPageVersions = value; + } + + /// + /// + /// + public static IncludedItem13 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem13(value); + /// /// /// - public static implicit operator IncludedItem13(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem13((global::AppStoreConnect.AppCustomProductPageLocalization?)value); + public static implicit operator IncludedItem13(global::AppStoreConnect.AppKeyword value) => new IncludedItem13((global::AppStoreConnect.AppKeyword?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem13 @this) => @this.AppCustomProductPageLocalizations1; + public static implicit operator global::AppStoreConnect.AppKeyword?(IncludedItem13 @this) => @this.AppKeywords; /// /// /// - public IncludedItem13(global::AppStoreConnect.AppCustomProductPageLocalization? value) + public IncludedItem13(global::AppStoreConnect.AppKeyword? value) { - AppCustomProductPageLocalizations1 = value; + AppKeywords = value; } /// /// /// - public static IncludedItem13 FromAppCustomProductPageLocalizations1(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem13(value); + public static IncludedItem13 FromAppKeywords(global::AppStoreConnect.AppKeyword? value) => new IncludedItem13(value); /// /// /// - public static implicit operator IncludedItem13(global::AppStoreConnect.AppCustomProductPage value) => new IncludedItem13((global::AppStoreConnect.AppCustomProductPage?)value); + public static implicit operator IncludedItem13(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem13((global::AppStoreConnect.AppPreviewSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppCustomProductPage?(IncludedItem13 @this) => @this.AppCustomProductPageLocalizations2; + public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem13 @this) => @this.AppPreviewSets; /// /// /// - public IncludedItem13(global::AppStoreConnect.AppCustomProductPage? value) + public IncludedItem13(global::AppStoreConnect.AppPreviewSet? value) { - AppCustomProductPageLocalizations2 = value; + AppPreviewSets = value; } /// /// /// - public static IncludedItem13 FromAppCustomProductPageLocalizations2(global::AppStoreConnect.AppCustomProductPage? value) => new IncludedItem13(value); + public static IncludedItem13 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem13(value); + + /// + /// + /// + public static implicit operator IncludedItem13(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem13((global::AppStoreConnect.AppScreenshotSet?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem13 @this) => @this.AppScreenshotSets; + + /// + /// + /// + public IncludedItem13(global::AppStoreConnect.AppScreenshotSet? value) + { + AppScreenshotSets = value; + } + + /// + /// + /// + public static IncludedItem13 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem13(value); /// /// /// public IncludedItem13( - global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1, - global::AppStoreConnect.AppCustomProductPage? appCustomProductPageLocalizations2 + global::AppStoreConnect.AppCustomProductPageLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements, + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, + global::AppStoreConnect.AppKeyword? appKeywords, + global::AppStoreConnect.AppPreviewSet? appPreviewSets, + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets ) { Type = type; - AppCustomProductPageLocalizations1 = appCustomProductPageLocalizations1; - AppCustomProductPageLocalizations2 = appCustomProductPageLocalizations2; + AppAssetLibraryPlacements = appAssetLibraryPlacements; + AppCustomProductPageVersions = appCustomProductPageVersions; + AppKeywords = appKeywords; + AppPreviewSets = appPreviewSets; + AppScreenshotSets = appScreenshotSets; } /// /// /// public object? Object => - AppCustomProductPageLocalizations2 as object ?? - AppCustomProductPageLocalizations1 as object + AppScreenshotSets as object ?? + AppPreviewSets as object ?? + AppKeywords as object ?? + AppCustomProductPageVersions as object ?? + AppAssetLibraryPlacements as object ; /// /// /// public override string? ToString() => - AppCustomProductPageLocalizations1?.ToString() ?? - AppCustomProductPageLocalizations2?.ToString() + AppAssetLibraryPlacements?.ToString() ?? + AppCustomProductPageVersions?.ToString() ?? + AppKeywords?.ToString() ?? + AppPreviewSets?.ToString() ?? + AppScreenshotSets?.ToString() ; /// @@ -169,15 +361,18 @@ AppCustomProductPageLocalizations1 as object /// public bool Validate() { - return IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && IsAppCustomProductPageLocalizations2; + return IsAppAssetLibraryPlacements && !IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppAssetLibraryPlacements && IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppAssetLibraryPlacements && !IsAppCustomProductPageVersions && IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppAssetLibraryPlacements && !IsAppCustomProductPageVersions && !IsAppKeywords && IsAppPreviewSets && !IsAppScreenshotSets || !IsAppAssetLibraryPlacements && !IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && IsAppScreenshotSets; } /// /// /// public TResult? Match( - global::System.Func? appCustomProductPageLocalizations1 = null, - global::System.Func? appCustomProductPageLocalizations2 = null, + global::System.Func? appAssetLibraryPlacements = null, + global::System.Func? appCustomProductPageVersions = null, + global::System.Func? appKeywords = null, + global::System.Func? appPreviewSets = null, + global::System.Func? appScreenshotSets = null, bool validate = true) { if (validate) @@ -185,13 +380,25 @@ public bool Validate() Validate(); } - if (AppCustomProductPageLocalizations1 is { } __value0 && appCustomProductPageLocalizations1 != null) + if (AppAssetLibraryPlacements is { } __value0 && appAssetLibraryPlacements != null) + { + return appAssetLibraryPlacements(__value0); + } + else if (AppCustomProductPageVersions is { } __value1 && appCustomProductPageVersions != null) { - return appCustomProductPageLocalizations1(__value0); + return appCustomProductPageVersions(__value1); } - else if (AppCustomProductPageLocalizations2 is { } __value1 && appCustomProductPageLocalizations2 != null) + else if (AppKeywords is { } __value2 && appKeywords != null) { - return appCustomProductPageLocalizations2(__value1); + return appKeywords(__value2); + } + else if (AppPreviewSets is { } __value3 && appPreviewSets != null) + { + return appPreviewSets(__value3); + } + else if (AppScreenshotSets is { } __value4 && appScreenshotSets != null) + { + return appScreenshotSets(__value4); } return default(TResult); @@ -201,9 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? appCustomProductPageLocalizations1 = null, + global::System.Action? appAssetLibraryPlacements = null, + + global::System.Action? appCustomProductPageVersions = null, - global::System.Action? appCustomProductPageLocalizations2 = null, + global::System.Action? appKeywords = null, + + global::System.Action? appPreviewSets = null, + + global::System.Action? appScreenshotSets = null, bool validate = true) { if (validate) @@ -211,13 +424,25 @@ public void Match( Validate(); } - if (AppCustomProductPageLocalizations1 is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) { - appCustomProductPageLocalizations1?.Invoke(__value0); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppCustomProductPageLocalizations2 is { } __value1) + else if (AppCustomProductPageVersions is { } __value1) { - appCustomProductPageLocalizations2?.Invoke(__value1); + appCustomProductPageVersions?.Invoke(__value1); + } + else if (AppKeywords is { } __value2) + { + appKeywords?.Invoke(__value2); + } + else if (AppPreviewSets is { } __value3) + { + appPreviewSets?.Invoke(__value3); + } + else if (AppScreenshotSets is { } __value4) + { + appScreenshotSets?.Invoke(__value4); } } @@ -225,8 +450,11 @@ public void Match( /// /// public void Switch( - global::System.Action? appCustomProductPageLocalizations1 = null, - global::System.Action? appCustomProductPageLocalizations2 = null, + global::System.Action? appAssetLibraryPlacements = null, + global::System.Action? appCustomProductPageVersions = null, + global::System.Action? appKeywords = null, + global::System.Action? appPreviewSets = null, + global::System.Action? appScreenshotSets = null, bool validate = true) { if (validate) @@ -234,13 +462,25 @@ public void Switch( Validate(); } - if (AppCustomProductPageLocalizations1 is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) + { + appAssetLibraryPlacements?.Invoke(__value0); + } + else if (AppCustomProductPageVersions is { } __value1) + { + appCustomProductPageVersions?.Invoke(__value1); + } + else if (AppKeywords is { } __value2) + { + appKeywords?.Invoke(__value2); + } + else if (AppPreviewSets is { } __value3) { - appCustomProductPageLocalizations1?.Invoke(__value0); + appPreviewSets?.Invoke(__value3); } - else if (AppCustomProductPageLocalizations2 is { } __value1) + else if (AppScreenshotSets is { } __value4) { - appCustomProductPageLocalizations2?.Invoke(__value1); + appScreenshotSets?.Invoke(__value4); } } @@ -251,10 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - AppCustomProductPageLocalizations1, - typeof(global::AppStoreConnect.AppCustomProductPageLocalization), - AppCustomProductPageLocalizations2, - typeof(global::AppStoreConnect.AppCustomProductPage), + AppAssetLibraryPlacements, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + AppCustomProductPageVersions, + typeof(global::AppStoreConnect.AppCustomProductPageVersion), + AppKeywords, + typeof(global::AppStoreConnect.AppKeyword), + AppPreviewSets, + typeof(global::AppStoreConnect.AppPreviewSet), + AppScreenshotSets, + typeof(global::AppStoreConnect.AppScreenshotSet), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem13 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations1, other.AppCustomProductPageLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations2, other.AppCustomProductPageLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacements, other.AppAssetLibraryPlacements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppKeywords, other.AppKeywords) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem130.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem130.g.cs index 18dbe120d..1a23cde01 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem130.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem130.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -166,9 +166,83 @@ public bool TryPickGameCenterGroups( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardLocalization? GameCenterLeaderboardLocalizations { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; } + public global::AppStoreConnect.GameCenterLeaderboardLocalization? GameCenterLeaderboardLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardLocalizations))] +#endif + public bool IsGameCenterLeaderboardLocalizations => GameCenterLeaderboardLocalizations != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardLocalization? value) + { + value = GameCenterLeaderboardLocalizations; + return IsGameCenterLeaderboardLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardLocalization PickGameCenterLeaderboardLocalizations() => GameCenterLeaderboardLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases1))] +#endif + public bool IsGameCenterLeaderboardReleases1 => GameCenterLeaderboardReleases1 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardReleases1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardRelease? value) + { + value = GameCenterLeaderboardReleases1; + return IsGameCenterLeaderboardReleases1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardRelease PickGameCenterLeaderboardReleases1() => GameCenterLeaderboardReleases1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } #endif /// @@ -186,7 +260,7 @@ public bool TryPickGameCenterLeaderboardSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + out global::AppStoreConnect.GameCenterLeaderboardSet? value) { value = GameCenterLeaderboardSets; return IsGameCenterLeaderboardSets; @@ -195,7 +269,7 @@ public bool TryPickGameCenterLeaderboardSets( /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2 PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); @@ -203,38 +277,38 @@ public bool TryPickGameCenterLeaderboardSets( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases2))] #endif - public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; + public bool IsGameCenterLeaderboardReleases2 => GameCenterLeaderboardReleases2 != null; /// /// /// - public bool TryPickGameCenterLeaderboardVersions( + public bool TryPickGameCenterLeaderboardReleases2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardVersions; - return IsGameCenterLeaderboardVersions; + value = GameCenterLeaderboardReleases2; + return IsGameCenterLeaderboardReleases2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardReleases2() => GameCenterLeaderboardReleases2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases2' but the value was {ToString()}."); /// /// /// @@ -330,17 +404,63 @@ public IncludedItem130(global::AppStoreConnect.GameCenterGroup? value) /// /// /// - public static implicit operator IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardSetV2 value) => new IncludedItem130((global::AppStoreConnect.GameCenterLeaderboardSetV2?)value); + public static implicit operator IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardLocalization value) => new IncludedItem130((global::AppStoreConnect.GameCenterLeaderboardLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardLocalization?(IncludedItem130 @this) => @this.GameCenterLeaderboardLocalizations; + + /// + /// + /// + public IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardLocalization? value) + { + GameCenterLeaderboardLocalizations = value; + } + + /// + /// + /// + public static IncludedItem130 FromGameCenterLeaderboardLocalizations(global::AppStoreConnect.GameCenterLeaderboardLocalization? value) => new IncludedItem130(value); + + /// + /// + /// + public static implicit operator IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardRelease value) => new IncludedItem130((global::AppStoreConnect.GameCenterLeaderboardRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardRelease?(IncludedItem130 @this) => @this.GameCenterLeaderboardReleases1; + + /// + /// + /// + public IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardRelease? value) + { + GameCenterLeaderboardReleases1 = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetV2?(IncludedItem130 @this) => @this.GameCenterLeaderboardSets; + public static IncludedItem130 FromGameCenterLeaderboardReleases1(global::AppStoreConnect.GameCenterLeaderboardRelease? value) => new IncludedItem130(value); /// /// /// - public IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + public static implicit operator IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem130((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem130 @this) => @this.GameCenterLeaderboardSets; + + /// + /// + /// + public IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardSet? value) { GameCenterLeaderboardSets = value; } @@ -348,42 +468,44 @@ public IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardSetV2? value /// /// /// - public static IncludedItem130 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) => new IncludedItem130(value); + public static IncludedItem130 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem130(value); /// /// /// - public static implicit operator IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem130((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); + public static implicit operator IncludedItem130(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem130((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem130 @this) => @this.GameCenterLeaderboardVersions; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem130 @this) => @this.GameCenterLeaderboardReleases2; /// /// /// - public IncludedItem130(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + public IncludedItem130(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardVersions = value; + GameCenterLeaderboardReleases2 = value; } /// /// /// - public static IncludedItem130 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem130(value); + public static IncludedItem130 FromGameCenterLeaderboardReleases2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem130(value); /// /// /// public IncludedItem130( - global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.GameCenterActivity? gameCenterActivities, global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, global::AppStoreConnect.GameCenterDetail? gameCenterDetails, global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets, - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions + global::AppStoreConnect.GameCenterLeaderboardLocalization? gameCenterLeaderboardLocalizations, + global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 ) { Type = type; @@ -392,16 +514,20 @@ public IncludedItem130( GameCenterChallenges = gameCenterChallenges; GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; + GameCenterLeaderboardLocalizations = gameCenterLeaderboardLocalizations; + GameCenterLeaderboardReleases1 = gameCenterLeaderboardReleases1; GameCenterLeaderboardSets = gameCenterLeaderboardSets; - GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; + GameCenterLeaderboardReleases2 = gameCenterLeaderboardReleases2; } /// /// /// public object? Object => - GameCenterLeaderboardVersions as object ?? + GameCenterLeaderboardReleases2 as object ?? GameCenterLeaderboardSets as object ?? + GameCenterLeaderboardReleases1 as object ?? + GameCenterLeaderboardLocalizations as object ?? GameCenterGroups as object ?? GameCenterDetails as object ?? GameCenterChallenges as object ?? @@ -416,8 +542,10 @@ GameCenterActivities as object GameCenterChallenges?.ToString() ?? GameCenterDetails?.ToString() ?? GameCenterGroups?.ToString() ?? + GameCenterLeaderboardLocalizations?.ToString() ?? + GameCenterLeaderboardReleases1?.ToString() ?? GameCenterLeaderboardSets?.ToString() ?? - GameCenterLeaderboardVersions?.ToString() + GameCenterLeaderboardReleases2?.ToString() ; /// @@ -425,7 +553,7 @@ GameCenterActivities as object /// public bool Validate() { - return IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && IsGameCenterLeaderboardVersions; + return IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && IsGameCenterLeaderboardReleases2; } /// @@ -436,8 +564,10 @@ public bool Validate() global::System.Func? gameCenterChallenges = null, global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardSets = null, - global::System.Func? gameCenterLeaderboardVersions = null, + global::System.Func? gameCenterLeaderboardLocalizations = null, + global::System.Func? gameCenterLeaderboardReleases1 = null, + global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -461,13 +591,21 @@ public bool Validate() { return gameCenterGroups(__value3); } - else if (GameCenterLeaderboardSets is { } __value4 && gameCenterLeaderboardSets != null) + else if (GameCenterLeaderboardLocalizations is { } __value4 && gameCenterLeaderboardLocalizations != null) + { + return gameCenterLeaderboardLocalizations(__value4); + } + else if (GameCenterLeaderboardReleases1 is { } __value5 && gameCenterLeaderboardReleases1 != null) + { + return gameCenterLeaderboardReleases1(__value5); + } + else if (GameCenterLeaderboardSets is { } __value6 && gameCenterLeaderboardSets != null) { - return gameCenterLeaderboardSets(__value4); + return gameCenterLeaderboardSets(__value6); } - else if (GameCenterLeaderboardVersions is { } __value5 && gameCenterLeaderboardVersions != null) + else if (GameCenterLeaderboardReleases2 is { } __value7 && gameCenterLeaderboardReleases2 != null) { - return gameCenterLeaderboardVersions(__value5); + return gameCenterLeaderboardReleases2(__value7); } return default(TResult); @@ -485,9 +623,13 @@ public void Match( global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardLocalizations = null, + + global::System.Action? gameCenterLeaderboardReleases1 = null, - global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? gameCenterLeaderboardSets = null, + + global::System.Action? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -511,13 +653,21 @@ public void Match( { gameCenterGroups?.Invoke(__value3); } - else if (GameCenterLeaderboardSets is { } __value4) + else if (GameCenterLeaderboardLocalizations is { } __value4) + { + gameCenterLeaderboardLocalizations?.Invoke(__value4); + } + else if (GameCenterLeaderboardReleases1 is { } __value5) { - gameCenterLeaderboardSets?.Invoke(__value4); + gameCenterLeaderboardReleases1?.Invoke(__value5); } - else if (GameCenterLeaderboardVersions is { } __value5) + else if (GameCenterLeaderboardSets is { } __value6) { - gameCenterLeaderboardVersions?.Invoke(__value5); + gameCenterLeaderboardSets?.Invoke(__value6); + } + else if (GameCenterLeaderboardReleases2 is { } __value7) + { + gameCenterLeaderboardReleases2?.Invoke(__value7); } } @@ -529,8 +679,10 @@ public void Switch( global::System.Action? gameCenterChallenges = null, global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSets = null, - global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? gameCenterLeaderboardLocalizations = null, + global::System.Action? gameCenterLeaderboardReleases1 = null, + global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -554,13 +706,21 @@ public void Switch( { gameCenterGroups?.Invoke(__value3); } - else if (GameCenterLeaderboardSets is { } __value4) + else if (GameCenterLeaderboardLocalizations is { } __value4) + { + gameCenterLeaderboardLocalizations?.Invoke(__value4); + } + else if (GameCenterLeaderboardReleases1 is { } __value5) + { + gameCenterLeaderboardReleases1?.Invoke(__value5); + } + else if (GameCenterLeaderboardSets is { } __value6) { - gameCenterLeaderboardSets?.Invoke(__value4); + gameCenterLeaderboardSets?.Invoke(__value6); } - else if (GameCenterLeaderboardVersions is { } __value5) + else if (GameCenterLeaderboardReleases2 is { } __value7) { - gameCenterLeaderboardVersions?.Invoke(__value5); + gameCenterLeaderboardReleases2?.Invoke(__value7); } } @@ -579,10 +739,14 @@ public override int GetHashCode() typeof(global::AppStoreConnect.GameCenterDetail), GameCenterGroups, typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboardLocalizations, + typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), + GameCenterLeaderboardReleases1, + typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), GameCenterLeaderboardSets, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), - GameCenterLeaderboardVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterLeaderboardReleases2, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -603,8 +767,10 @@ public bool Equals(IncludedItem130 other) global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardLocalizations, other.GameCenterLeaderboardLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases1, other.GameCenterLeaderboardReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases2, other.GameCenterLeaderboardReleases2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem131.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem131.g.cs index dfa1b0246..0d7a46c25 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem131.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem131.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -166,9 +166,83 @@ public bool TryPickGameCenterGroups( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; init; } + public global::AppStoreConnect.GameCenterLeaderboardLocalization? GameCenterLeaderboardLocalizations { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; } + public global::AppStoreConnect.GameCenterLeaderboardLocalization? GameCenterLeaderboardLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardLocalizations))] +#endif + public bool IsGameCenterLeaderboardLocalizations => GameCenterLeaderboardLocalizations != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardLocalization? value) + { + value = GameCenterLeaderboardLocalizations; + return IsGameCenterLeaderboardLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardLocalization PickGameCenterLeaderboardLocalizations() => GameCenterLeaderboardLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardRelease? GameCenterLeaderboardReleases1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases1))] +#endif + public bool IsGameCenterLeaderboardReleases1 => GameCenterLeaderboardReleases1 != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardReleases1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardRelease? value) + { + value = GameCenterLeaderboardReleases1; + return IsGameCenterLeaderboardReleases1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardRelease PickGameCenterLeaderboardReleases1() => GameCenterLeaderboardReleases1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSet? GameCenterLeaderboardSets { get; } #endif /// @@ -186,7 +260,7 @@ public bool TryPickGameCenterLeaderboardSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + out global::AppStoreConnect.GameCenterLeaderboardSet? value) { value = GameCenterLeaderboardSets; return IsGameCenterLeaderboardSets; @@ -195,7 +269,7 @@ public bool TryPickGameCenterLeaderboardSets( /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardSetV2 PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + public global::AppStoreConnect.GameCenterLeaderboardSet PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); @@ -203,38 +277,38 @@ public bool TryPickGameCenterLeaderboardSets( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboardReleases2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardReleases2))] #endif - public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; + public bool IsGameCenterLeaderboardReleases2 => GameCenterLeaderboardReleases2 != null; /// /// /// - public bool TryPickGameCenterLeaderboardVersions( + public bool TryPickGameCenterLeaderboardReleases2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + out global::AppStoreConnect.GameCenterLeaderboard? value) { - value = GameCenterLeaderboardVersions; - return IsGameCenterLeaderboardVersions; + value = GameCenterLeaderboardReleases2; + return IsGameCenterLeaderboardReleases2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboardReleases2() => GameCenterLeaderboardReleases2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardReleases2' but the value was {ToString()}."); /// /// /// @@ -330,17 +404,63 @@ public IncludedItem131(global::AppStoreConnect.GameCenterGroup? value) /// /// /// - public static implicit operator IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardSetV2 value) => new IncludedItem131((global::AppStoreConnect.GameCenterLeaderboardSetV2?)value); + public static implicit operator IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardLocalization value) => new IncludedItem131((global::AppStoreConnect.GameCenterLeaderboardLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardLocalization?(IncludedItem131 @this) => @this.GameCenterLeaderboardLocalizations; + + /// + /// + /// + public IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardLocalization? value) + { + GameCenterLeaderboardLocalizations = value; + } + + /// + /// + /// + public static IncludedItem131 FromGameCenterLeaderboardLocalizations(global::AppStoreConnect.GameCenterLeaderboardLocalization? value) => new IncludedItem131(value); + + /// + /// + /// + public static implicit operator IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardRelease value) => new IncludedItem131((global::AppStoreConnect.GameCenterLeaderboardRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardRelease?(IncludedItem131 @this) => @this.GameCenterLeaderboardReleases1; + + /// + /// + /// + public IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardRelease? value) + { + GameCenterLeaderboardReleases1 = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetV2?(IncludedItem131 @this) => @this.GameCenterLeaderboardSets; + public static IncludedItem131 FromGameCenterLeaderboardReleases1(global::AppStoreConnect.GameCenterLeaderboardRelease? value) => new IncludedItem131(value); /// /// /// - public IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + public static implicit operator IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardSet value) => new IncludedItem131((global::AppStoreConnect.GameCenterLeaderboardSet?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSet?(IncludedItem131 @this) => @this.GameCenterLeaderboardSets; + + /// + /// + /// + public IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardSet? value) { GameCenterLeaderboardSets = value; } @@ -348,42 +468,44 @@ public IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardSetV2? value /// /// /// - public static IncludedItem131 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) => new IncludedItem131(value); + public static IncludedItem131 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSet? value) => new IncludedItem131(value); /// /// /// - public static implicit operator IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem131((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); + public static implicit operator IncludedItem131(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem131((global::AppStoreConnect.GameCenterLeaderboard?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem131 @this) => @this.GameCenterLeaderboardVersions; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem131 @this) => @this.GameCenterLeaderboardReleases2; /// /// /// - public IncludedItem131(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + public IncludedItem131(global::AppStoreConnect.GameCenterLeaderboard? value) { - GameCenterLeaderboardVersions = value; + GameCenterLeaderboardReleases2 = value; } /// /// /// - public static IncludedItem131 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem131(value); + public static IncludedItem131 FromGameCenterLeaderboardReleases2(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem131(value); /// /// /// public IncludedItem131( - global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.GameCenterActivity? gameCenterActivities, global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, global::AppStoreConnect.GameCenterDetail? gameCenterDetails, global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets, - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions + global::AppStoreConnect.GameCenterLeaderboardLocalization? gameCenterLeaderboardLocalizations, + global::AppStoreConnect.GameCenterLeaderboardRelease? gameCenterLeaderboardReleases1, + global::AppStoreConnect.GameCenterLeaderboardSet? gameCenterLeaderboardSets, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboardReleases2 ) { Type = type; @@ -392,16 +514,20 @@ public IncludedItem131( GameCenterChallenges = gameCenterChallenges; GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; + GameCenterLeaderboardLocalizations = gameCenterLeaderboardLocalizations; + GameCenterLeaderboardReleases1 = gameCenterLeaderboardReleases1; GameCenterLeaderboardSets = gameCenterLeaderboardSets; - GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; + GameCenterLeaderboardReleases2 = gameCenterLeaderboardReleases2; } /// /// /// public object? Object => - GameCenterLeaderboardVersions as object ?? + GameCenterLeaderboardReleases2 as object ?? GameCenterLeaderboardSets as object ?? + GameCenterLeaderboardReleases1 as object ?? + GameCenterLeaderboardLocalizations as object ?? GameCenterGroups as object ?? GameCenterDetails as object ?? GameCenterChallenges as object ?? @@ -416,8 +542,10 @@ GameCenterActivities as object GameCenterChallenges?.ToString() ?? GameCenterDetails?.ToString() ?? GameCenterGroups?.ToString() ?? + GameCenterLeaderboardLocalizations?.ToString() ?? + GameCenterLeaderboardReleases1?.ToString() ?? GameCenterLeaderboardSets?.ToString() ?? - GameCenterLeaderboardVersions?.ToString() + GameCenterLeaderboardReleases2?.ToString() ; /// @@ -425,7 +553,7 @@ GameCenterActivities as object /// public bool Validate() { - return IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && IsGameCenterLeaderboardVersions; + return IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardReleases2 || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardLocalizations && !IsGameCenterLeaderboardReleases1 && !IsGameCenterLeaderboardSets && IsGameCenterLeaderboardReleases2; } /// @@ -436,8 +564,10 @@ public bool Validate() global::System.Func? gameCenterChallenges = null, global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboardSets = null, - global::System.Func? gameCenterLeaderboardVersions = null, + global::System.Func? gameCenterLeaderboardLocalizations = null, + global::System.Func? gameCenterLeaderboardReleases1 = null, + global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -461,13 +591,21 @@ public bool Validate() { return gameCenterGroups(__value3); } - else if (GameCenterLeaderboardSets is { } __value4 && gameCenterLeaderboardSets != null) + else if (GameCenterLeaderboardLocalizations is { } __value4 && gameCenterLeaderboardLocalizations != null) + { + return gameCenterLeaderboardLocalizations(__value4); + } + else if (GameCenterLeaderboardReleases1 is { } __value5 && gameCenterLeaderboardReleases1 != null) + { + return gameCenterLeaderboardReleases1(__value5); + } + else if (GameCenterLeaderboardSets is { } __value6 && gameCenterLeaderboardSets != null) { - return gameCenterLeaderboardSets(__value4); + return gameCenterLeaderboardSets(__value6); } - else if (GameCenterLeaderboardVersions is { } __value5 && gameCenterLeaderboardVersions != null) + else if (GameCenterLeaderboardReleases2 is { } __value7 && gameCenterLeaderboardReleases2 != null) { - return gameCenterLeaderboardVersions(__value5); + return gameCenterLeaderboardReleases2(__value7); } return default(TResult); @@ -485,9 +623,13 @@ public void Match( global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardLocalizations = null, + + global::System.Action? gameCenterLeaderboardReleases1 = null, - global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? gameCenterLeaderboardSets = null, + + global::System.Action? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -511,13 +653,21 @@ public void Match( { gameCenterGroups?.Invoke(__value3); } - else if (GameCenterLeaderboardSets is { } __value4) + else if (GameCenterLeaderboardLocalizations is { } __value4) + { + gameCenterLeaderboardLocalizations?.Invoke(__value4); + } + else if (GameCenterLeaderboardReleases1 is { } __value5) { - gameCenterLeaderboardSets?.Invoke(__value4); + gameCenterLeaderboardReleases1?.Invoke(__value5); } - else if (GameCenterLeaderboardVersions is { } __value5) + else if (GameCenterLeaderboardSets is { } __value6) { - gameCenterLeaderboardVersions?.Invoke(__value5); + gameCenterLeaderboardSets?.Invoke(__value6); + } + else if (GameCenterLeaderboardReleases2 is { } __value7) + { + gameCenterLeaderboardReleases2?.Invoke(__value7); } } @@ -529,8 +679,10 @@ public void Switch( global::System.Action? gameCenterChallenges = null, global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboardSets = null, - global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? gameCenterLeaderboardLocalizations = null, + global::System.Action? gameCenterLeaderboardReleases1 = null, + global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardReleases2 = null, bool validate = true) { if (validate) @@ -554,13 +706,21 @@ public void Switch( { gameCenterGroups?.Invoke(__value3); } - else if (GameCenterLeaderboardSets is { } __value4) + else if (GameCenterLeaderboardLocalizations is { } __value4) + { + gameCenterLeaderboardLocalizations?.Invoke(__value4); + } + else if (GameCenterLeaderboardReleases1 is { } __value5) + { + gameCenterLeaderboardReleases1?.Invoke(__value5); + } + else if (GameCenterLeaderboardSets is { } __value6) { - gameCenterLeaderboardSets?.Invoke(__value4); + gameCenterLeaderboardSets?.Invoke(__value6); } - else if (GameCenterLeaderboardVersions is { } __value5) + else if (GameCenterLeaderboardReleases2 is { } __value7) { - gameCenterLeaderboardVersions?.Invoke(__value5); + gameCenterLeaderboardReleases2?.Invoke(__value7); } } @@ -579,10 +739,14 @@ public override int GetHashCode() typeof(global::AppStoreConnect.GameCenterDetail), GameCenterGroups, typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboardLocalizations, + typeof(global::AppStoreConnect.GameCenterLeaderboardLocalization), + GameCenterLeaderboardReleases1, + typeof(global::AppStoreConnect.GameCenterLeaderboardRelease), GameCenterLeaderboardSets, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), - GameCenterLeaderboardVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), + typeof(global::AppStoreConnect.GameCenterLeaderboardSet), + GameCenterLeaderboardReleases2, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -603,8 +767,10 @@ public bool Equals(IncludedItem131 other) global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardLocalizations, other.GameCenterLeaderboardLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases1, other.GameCenterLeaderboardReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardReleases2, other.GameCenterLeaderboardReleases2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem132.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem132.g.cs index 312a0abc8..94e2162ef 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem132.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem132.g.cs @@ -12,156 +12,412 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? GameCenterMatchmakingTestPlayerProperties { get; init; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } #else - public global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? GameCenterMatchmakingTestPlayerProperties { get; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingTestPlayerProperties))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] #endif - public bool IsGameCenterMatchmakingTestPlayerProperties => GameCenterMatchmakingTestPlayerProperties != null; + public bool IsGameCenterActivities => GameCenterActivities != null; /// /// /// - public bool TryPickGameCenterMatchmakingTestPlayerProperties( + public bool TryPickGameCenterActivities( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? value) + out global::AppStoreConnect.GameCenterActivity? value) { - value = GameCenterMatchmakingTestPlayerProperties; - return IsGameCenterMatchmakingTestPlayerProperties; + value = GameCenterActivities; + return IsGameCenterActivities; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty PickGameCenterMatchmakingTestPlayerProperties() => GameCenterMatchmakingTestPlayerProperties is { } value + public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingTestPlayerProperties' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterMatchmakingTestRequest? GameCenterMatchmakingTestRequests { get; init; } + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; init; } #else - public global::AppStoreConnect.GameCenterMatchmakingTestRequest? GameCenterMatchmakingTestRequests { get; } + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingTestRequests))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallenges))] #endif - public bool IsGameCenterMatchmakingTestRequests => GameCenterMatchmakingTestRequests != null; + public bool IsGameCenterChallenges => GameCenterChallenges != null; /// /// /// - public bool TryPickGameCenterMatchmakingTestRequests( + public bool TryPickGameCenterChallenges( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterMatchmakingTestRequest? value) + out global::AppStoreConnect.GameCenterChallenge? value) { - value = GameCenterMatchmakingTestRequests; - return IsGameCenterMatchmakingTestRequests; + value = GameCenterChallenges; + return IsGameCenterChallenges; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingTestRequest PickGameCenterMatchmakingTestRequests() => GameCenterMatchmakingTestRequests is { } value + public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallenges() => GameCenterChallenges is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingTestRequests' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallenges' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } +#else + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] +#endif + public bool IsGameCenterDetails => GameCenterDetails != null; + + /// + /// + /// + public bool TryPickGameCenterDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterDetail? value) + { + value = GameCenterDetails; + return IsGameCenterDetails; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } +#else + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] +#endif + public bool IsGameCenterGroups => GameCenterGroups != null; + + /// + /// + /// + public bool TryPickGameCenterGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterGroup? value) + { + value = GameCenterGroups; + return IsGameCenterGroups; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] +#endif + public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + { + value = GameCenterLeaderboardSets; + return IsGameCenterLeaderboardSets; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSetV2 PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] +#endif + public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + { + value = GameCenterLeaderboardVersions; + return IsGameCenterLeaderboardVersions; + } + /// /// /// - public static implicit operator IncludedItem132(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty value) => new IncludedItem132((global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty?)value); + public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem132(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem132((global::AppStoreConnect.GameCenterActivity?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem132 @this) => @this.GameCenterActivities; + + /// + /// + /// + public IncludedItem132(global::AppStoreConnect.GameCenterActivity? value) + { + GameCenterActivities = value; + } + + /// + /// + /// + public static IncludedItem132 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem132(value); + + /// + /// + /// + public static implicit operator IncludedItem132(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem132((global::AppStoreConnect.GameCenterChallenge?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem132 @this) => @this.GameCenterChallenges; + + /// + /// + /// + public IncludedItem132(global::AppStoreConnect.GameCenterChallenge? value) + { + GameCenterChallenges = value; + } + + /// + /// + /// + public static IncludedItem132 FromGameCenterChallenges(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem132(value); + + /// + /// + /// + public static implicit operator IncludedItem132(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem132((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem132 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem132(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + + /// + /// + /// + public static IncludedItem132 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem132(value); + + /// + /// + /// + public static implicit operator IncludedItem132(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem132((global::AppStoreConnect.GameCenterGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem132 @this) => @this.GameCenterGroups; + + /// + /// + /// + public IncludedItem132(global::AppStoreConnect.GameCenterGroup? value) + { + GameCenterGroups = value; + } + + /// + /// + /// + public static IncludedItem132 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem132(value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty?(IncludedItem132 @this) => @this.GameCenterMatchmakingTestPlayerProperties; + public static implicit operator IncludedItem132(global::AppStoreConnect.GameCenterLeaderboardSetV2 value) => new IncludedItem132((global::AppStoreConnect.GameCenterLeaderboardSetV2?)value); /// /// /// - public IncludedItem132(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? value) + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetV2?(IncludedItem132 @this) => @this.GameCenterLeaderboardSets; + + /// + /// + /// + public IncludedItem132(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) { - GameCenterMatchmakingTestPlayerProperties = value; + GameCenterLeaderboardSets = value; } /// /// /// - public static IncludedItem132 FromGameCenterMatchmakingTestPlayerProperties(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? value) => new IncludedItem132(value); + public static IncludedItem132 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) => new IncludedItem132(value); /// /// /// - public static implicit operator IncludedItem132(global::AppStoreConnect.GameCenterMatchmakingTestRequest value) => new IncludedItem132((global::AppStoreConnect.GameCenterMatchmakingTestRequest?)value); + public static implicit operator IncludedItem132(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem132((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterMatchmakingTestRequest?(IncludedItem132 @this) => @this.GameCenterMatchmakingTestRequests; + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem132 @this) => @this.GameCenterLeaderboardVersions; /// /// /// - public IncludedItem132(global::AppStoreConnect.GameCenterMatchmakingTestRequest? value) + public IncludedItem132(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) { - GameCenterMatchmakingTestRequests = value; + GameCenterLeaderboardVersions = value; } /// /// /// - public static IncludedItem132 FromGameCenterMatchmakingTestRequests(global::AppStoreConnect.GameCenterMatchmakingTestRequest? value) => new IncludedItem132(value); + public static IncludedItem132 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem132(value); /// /// /// public IncludedItem132( - global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? gameCenterMatchmakingTestPlayerProperties, - global::AppStoreConnect.GameCenterMatchmakingTestRequest? gameCenterMatchmakingTestRequests + global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterActivity? gameCenterActivities, + global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterGroup? gameCenterGroups, + global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets, + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions ) { Type = type; - GameCenterMatchmakingTestPlayerProperties = gameCenterMatchmakingTestPlayerProperties; - GameCenterMatchmakingTestRequests = gameCenterMatchmakingTestRequests; + GameCenterActivities = gameCenterActivities; + GameCenterChallenges = gameCenterChallenges; + GameCenterDetails = gameCenterDetails; + GameCenterGroups = gameCenterGroups; + GameCenterLeaderboardSets = gameCenterLeaderboardSets; + GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; } /// /// /// public object? Object => - GameCenterMatchmakingTestRequests as object ?? - GameCenterMatchmakingTestPlayerProperties as object + GameCenterLeaderboardVersions as object ?? + GameCenterLeaderboardSets as object ?? + GameCenterGroups as object ?? + GameCenterDetails as object ?? + GameCenterChallenges as object ?? + GameCenterActivities as object ; /// /// /// public override string? ToString() => - GameCenterMatchmakingTestPlayerProperties?.ToString() ?? - GameCenterMatchmakingTestRequests?.ToString() + GameCenterActivities?.ToString() ?? + GameCenterChallenges?.ToString() ?? + GameCenterDetails?.ToString() ?? + GameCenterGroups?.ToString() ?? + GameCenterLeaderboardSets?.ToString() ?? + GameCenterLeaderboardVersions?.ToString() ; /// @@ -169,15 +425,19 @@ GameCenterMatchmakingTestPlayerProperties as object /// public bool Validate() { - return IsGameCenterMatchmakingTestPlayerProperties && !IsGameCenterMatchmakingTestRequests || !IsGameCenterMatchmakingTestPlayerProperties && IsGameCenterMatchmakingTestRequests; + return IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && IsGameCenterLeaderboardVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterMatchmakingTestPlayerProperties = null, - global::System.Func? gameCenterMatchmakingTestRequests = null, + global::System.Func? gameCenterActivities = null, + global::System.Func? gameCenterChallenges = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterLeaderboardVersions = null, bool validate = true) { if (validate) @@ -185,13 +445,29 @@ public bool Validate() Validate(); } - if (GameCenterMatchmakingTestPlayerProperties is { } __value0 && gameCenterMatchmakingTestPlayerProperties != null) + if (GameCenterActivities is { } __value0 && gameCenterActivities != null) + { + return gameCenterActivities(__value0); + } + else if (GameCenterChallenges is { } __value1 && gameCenterChallenges != null) { - return gameCenterMatchmakingTestPlayerProperties(__value0); + return gameCenterChallenges(__value1); } - else if (GameCenterMatchmakingTestRequests is { } __value1 && gameCenterMatchmakingTestRequests != null) + else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) { - return gameCenterMatchmakingTestRequests(__value1); + return gameCenterDetails(__value2); + } + else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) + { + return gameCenterGroups(__value3); + } + else if (GameCenterLeaderboardSets is { } __value4 && gameCenterLeaderboardSets != null) + { + return gameCenterLeaderboardSets(__value4); + } + else if (GameCenterLeaderboardVersions is { } __value5 && gameCenterLeaderboardVersions != null) + { + return gameCenterLeaderboardVersions(__value5); } return default(TResult); @@ -201,9 +477,17 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterMatchmakingTestPlayerProperties = null, + global::System.Action? gameCenterActivities = null, + + global::System.Action? gameCenterChallenges = null, - global::System.Action? gameCenterMatchmakingTestRequests = null, + global::System.Action? gameCenterDetails = null, + + global::System.Action? gameCenterGroups = null, + + global::System.Action? gameCenterLeaderboardSets = null, + + global::System.Action? gameCenterLeaderboardVersions = null, bool validate = true) { if (validate) @@ -211,13 +495,29 @@ public void Match( Validate(); } - if (GameCenterMatchmakingTestPlayerProperties is { } __value0) + if (GameCenterActivities is { } __value0) + { + gameCenterActivities?.Invoke(__value0); + } + else if (GameCenterChallenges is { } __value1) + { + gameCenterChallenges?.Invoke(__value1); + } + else if (GameCenterDetails is { } __value2) + { + gameCenterDetails?.Invoke(__value2); + } + else if (GameCenterGroups is { } __value3) { - gameCenterMatchmakingTestPlayerProperties?.Invoke(__value0); + gameCenterGroups?.Invoke(__value3); } - else if (GameCenterMatchmakingTestRequests is { } __value1) + else if (GameCenterLeaderboardSets is { } __value4) { - gameCenterMatchmakingTestRequests?.Invoke(__value1); + gameCenterLeaderboardSets?.Invoke(__value4); + } + else if (GameCenterLeaderboardVersions is { } __value5) + { + gameCenterLeaderboardVersions?.Invoke(__value5); } } @@ -225,8 +525,12 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterMatchmakingTestPlayerProperties = null, - global::System.Action? gameCenterMatchmakingTestRequests = null, + global::System.Action? gameCenterActivities = null, + global::System.Action? gameCenterChallenges = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardVersions = null, bool validate = true) { if (validate) @@ -234,13 +538,29 @@ public void Switch( Validate(); } - if (GameCenterMatchmakingTestPlayerProperties is { } __value0) + if (GameCenterActivities is { } __value0) + { + gameCenterActivities?.Invoke(__value0); + } + else if (GameCenterChallenges is { } __value1) + { + gameCenterChallenges?.Invoke(__value1); + } + else if (GameCenterDetails is { } __value2) + { + gameCenterDetails?.Invoke(__value2); + } + else if (GameCenterGroups is { } __value3) + { + gameCenterGroups?.Invoke(__value3); + } + else if (GameCenterLeaderboardSets is { } __value4) { - gameCenterMatchmakingTestPlayerProperties?.Invoke(__value0); + gameCenterLeaderboardSets?.Invoke(__value4); } - else if (GameCenterMatchmakingTestRequests is { } __value1) + else if (GameCenterLeaderboardVersions is { } __value5) { - gameCenterMatchmakingTestRequests?.Invoke(__value1); + gameCenterLeaderboardVersions?.Invoke(__value5); } } @@ -251,10 +571,18 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterMatchmakingTestPlayerProperties, - typeof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty), - GameCenterMatchmakingTestRequests, - typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequest), + GameCenterActivities, + typeof(global::AppStoreConnect.GameCenterActivity), + GameCenterChallenges, + typeof(global::AppStoreConnect.GameCenterChallenge), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterGroups, + typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboardSets, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), + GameCenterLeaderboardVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +599,12 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem132 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingTestPlayerProperties, other.GameCenterMatchmakingTestPlayerProperties) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingTestRequests, other.GameCenterMatchmakingTestRequests) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem135.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem133.Json.g.cs similarity index 89% rename from src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem135.Json.g.cs rename to src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem133.Json.g.cs index 6cea4fe04..ffc0e2138 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem135.Json.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem133.Json.g.cs @@ -2,7 +2,7 @@ namespace AppStoreConnect { - public readonly partial struct IncludedItem135 + public readonly partial struct IncludedItem133 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AppStoreConnect.IncludedItem135? FromJson( + public static global::AppStoreConnect.IncludedItem133? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AppStoreConnect.IncludedItem135), - jsonSerializerContext) as global::AppStoreConnect.IncludedItem135?; + typeof(global::AppStoreConnect.IncludedItem133), + jsonSerializerContext) as global::AppStoreConnect.IncludedItem133?; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AppStoreConnect.IncludedItem135? FromJson( + public static global::AppStoreConnect.IncludedItem133? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AppStoreConnect.IncludedItem135? FromJson( + public static global::AppStoreConnect.IncludedItem133? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AppStoreConnect.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AppStoreConnect.IncludedItem135), - jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem135?; + typeof(global::AppStoreConnect.IncludedItem133), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem133?; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AppStoreConnect.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem133.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem133.g.cs new file mode 100644 index 000000000..005906c0b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem133.g.cs @@ -0,0 +1,635 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct IncludedItem133 : global::System.IEquatable + { + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } +#else + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] +#endif + public bool IsGameCenterActivities => GameCenterActivities != null; + + /// + /// + /// + public bool TryPickGameCenterActivities( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivity? value) + { + value = GameCenterActivities; + return IsGameCenterActivities; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; init; } +#else + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallenges { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallenges))] +#endif + public bool IsGameCenterChallenges => GameCenterChallenges != null; + + /// + /// + /// + public bool TryPickGameCenterChallenges( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterChallenge? value) + { + value = GameCenterChallenges; + return IsGameCenterChallenges; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallenges() => GameCenterChallenges is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallenges' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } +#else + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] +#endif + public bool IsGameCenterDetails => GameCenterDetails != null; + + /// + /// + /// + public bool TryPickGameCenterDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterDetail? value) + { + value = GameCenterDetails; + return IsGameCenterDetails; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } +#else + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] +#endif + public bool IsGameCenterGroups => GameCenterGroups != null; + + /// + /// + /// + public bool TryPickGameCenterGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterGroup? value) + { + value = GameCenterGroups; + return IsGameCenterGroups; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSetV2? GameCenterLeaderboardSets { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSets))] +#endif + public bool IsGameCenterLeaderboardSets => GameCenterLeaderboardSets != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSets( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + { + value = GameCenterLeaderboardSets; + return IsGameCenterLeaderboardSets; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSetV2 PickGameCenterLeaderboardSets() => GameCenterLeaderboardSets is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSets' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] +#endif + public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + { + value = GameCenterLeaderboardVersions; + return IsGameCenterLeaderboardVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem133(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem133((global::AppStoreConnect.GameCenterActivity?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem133 @this) => @this.GameCenterActivities; + + /// + /// + /// + public IncludedItem133(global::AppStoreConnect.GameCenterActivity? value) + { + GameCenterActivities = value; + } + + /// + /// + /// + public static IncludedItem133 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem133(value); + + /// + /// + /// + public static implicit operator IncludedItem133(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem133((global::AppStoreConnect.GameCenterChallenge?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem133 @this) => @this.GameCenterChallenges; + + /// + /// + /// + public IncludedItem133(global::AppStoreConnect.GameCenterChallenge? value) + { + GameCenterChallenges = value; + } + + /// + /// + /// + public static IncludedItem133 FromGameCenterChallenges(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem133(value); + + /// + /// + /// + public static implicit operator IncludedItem133(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem133((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem133 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem133(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + + /// + /// + /// + public static IncludedItem133 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem133(value); + + /// + /// + /// + public static implicit operator IncludedItem133(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem133((global::AppStoreConnect.GameCenterGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem133 @this) => @this.GameCenterGroups; + + /// + /// + /// + public IncludedItem133(global::AppStoreConnect.GameCenterGroup? value) + { + GameCenterGroups = value; + } + + /// + /// + /// + public static IncludedItem133 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem133(value); + + /// + /// + /// + public static implicit operator IncludedItem133(global::AppStoreConnect.GameCenterLeaderboardSetV2 value) => new IncludedItem133((global::AppStoreConnect.GameCenterLeaderboardSetV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetV2?(IncludedItem133 @this) => @this.GameCenterLeaderboardSets; + + /// + /// + /// + public IncludedItem133(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) + { + GameCenterLeaderboardSets = value; + } + + /// + /// + /// + public static IncludedItem133 FromGameCenterLeaderboardSets(global::AppStoreConnect.GameCenterLeaderboardSetV2? value) => new IncludedItem133(value); + + /// + /// + /// + public static implicit operator IncludedItem133(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem133((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem133 @this) => @this.GameCenterLeaderboardVersions; + + /// + /// + /// + public IncludedItem133(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + { + GameCenterLeaderboardVersions = value; + } + + /// + /// + /// + public static IncludedItem133 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem133(value); + + /// + /// + /// + public IncludedItem133( + global::AppStoreConnect.GameCenterLeaderboardV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterActivity? gameCenterActivities, + global::AppStoreConnect.GameCenterChallenge? gameCenterChallenges, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterGroup? gameCenterGroups, + global::AppStoreConnect.GameCenterLeaderboardSetV2? gameCenterLeaderboardSets, + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions + ) + { + Type = type; + + GameCenterActivities = gameCenterActivities; + GameCenterChallenges = gameCenterChallenges; + GameCenterDetails = gameCenterDetails; + GameCenterGroups = gameCenterGroups; + GameCenterLeaderboardSets = gameCenterLeaderboardSets; + GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; + } + + /// + /// + /// + public object? Object => + GameCenterLeaderboardVersions as object ?? + GameCenterLeaderboardSets as object ?? + GameCenterGroups as object ?? + GameCenterDetails as object ?? + GameCenterChallenges as object ?? + GameCenterActivities as object + ; + + /// + /// + /// + public override string? ToString() => + GameCenterActivities?.ToString() ?? + GameCenterChallenges?.ToString() ?? + GameCenterDetails?.ToString() ?? + GameCenterGroups?.ToString() ?? + GameCenterLeaderboardSets?.ToString() ?? + GameCenterLeaderboardVersions?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboardSets && !IsGameCenterLeaderboardVersions || !IsGameCenterActivities && !IsGameCenterChallenges && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboardSets && IsGameCenterLeaderboardVersions; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? gameCenterActivities = null, + global::System.Func? gameCenterChallenges = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterLeaderboardSets = null, + global::System.Func? gameCenterLeaderboardVersions = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (GameCenterActivities is { } __value0 && gameCenterActivities != null) + { + return gameCenterActivities(__value0); + } + else if (GameCenterChallenges is { } __value1 && gameCenterChallenges != null) + { + return gameCenterChallenges(__value1); + } + else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) + { + return gameCenterDetails(__value2); + } + else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) + { + return gameCenterGroups(__value3); + } + else if (GameCenterLeaderboardSets is { } __value4 && gameCenterLeaderboardSets != null) + { + return gameCenterLeaderboardSets(__value4); + } + else if (GameCenterLeaderboardVersions is { } __value5 && gameCenterLeaderboardVersions != null) + { + return gameCenterLeaderboardVersions(__value5); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? gameCenterActivities = null, + + global::System.Action? gameCenterChallenges = null, + + global::System.Action? gameCenterDetails = null, + + global::System.Action? gameCenterGroups = null, + + global::System.Action? gameCenterLeaderboardSets = null, + + global::System.Action? gameCenterLeaderboardVersions = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (GameCenterActivities is { } __value0) + { + gameCenterActivities?.Invoke(__value0); + } + else if (GameCenterChallenges is { } __value1) + { + gameCenterChallenges?.Invoke(__value1); + } + else if (GameCenterDetails is { } __value2) + { + gameCenterDetails?.Invoke(__value2); + } + else if (GameCenterGroups is { } __value3) + { + gameCenterGroups?.Invoke(__value3); + } + else if (GameCenterLeaderboardSets is { } __value4) + { + gameCenterLeaderboardSets?.Invoke(__value4); + } + else if (GameCenterLeaderboardVersions is { } __value5) + { + gameCenterLeaderboardVersions?.Invoke(__value5); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? gameCenterActivities = null, + global::System.Action? gameCenterChallenges = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboardSets = null, + global::System.Action? gameCenterLeaderboardVersions = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (GameCenterActivities is { } __value0) + { + gameCenterActivities?.Invoke(__value0); + } + else if (GameCenterChallenges is { } __value1) + { + gameCenterChallenges?.Invoke(__value1); + } + else if (GameCenterDetails is { } __value2) + { + gameCenterDetails?.Invoke(__value2); + } + else if (GameCenterGroups is { } __value3) + { + gameCenterGroups?.Invoke(__value3); + } + else if (GameCenterLeaderboardSets is { } __value4) + { + gameCenterLeaderboardSets?.Invoke(__value4); + } + else if (GameCenterLeaderboardVersions is { } __value5) + { + gameCenterLeaderboardVersions?.Invoke(__value5); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + GameCenterActivities, + typeof(global::AppStoreConnect.GameCenterActivity), + GameCenterChallenges, + typeof(global::AppStoreConnect.GameCenterChallenge), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterGroups, + typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboardSets, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2), + GameCenterLeaderboardVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(IncludedItem133 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallenges, other.GameCenterChallenges) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSets, other.GameCenterLeaderboardSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) + ; + } + + /// + /// + /// + public static bool operator ==(IncludedItem133 obj1, IncludedItem133 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(IncludedItem133 obj1, IncludedItem133 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is IncludedItem133 o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem134.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem134.g.cs index 41503571e..b9398f199 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem134.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem134.g.cs @@ -12,220 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterMatchmakingQueue? GameCenterMatchmakingQueues { get; init; } + public global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? GameCenterMatchmakingTestPlayerProperties { get; init; } #else - public global::AppStoreConnect.GameCenterMatchmakingQueue? GameCenterMatchmakingQueues { get; } + public global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? GameCenterMatchmakingTestPlayerProperties { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingQueues))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingTestPlayerProperties))] #endif - public bool IsGameCenterMatchmakingQueues => GameCenterMatchmakingQueues != null; + public bool IsGameCenterMatchmakingTestPlayerProperties => GameCenterMatchmakingTestPlayerProperties != null; /// /// /// - public bool TryPickGameCenterMatchmakingQueues( + public bool TryPickGameCenterMatchmakingTestPlayerProperties( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterMatchmakingQueue? value) + out global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? value) { - value = GameCenterMatchmakingQueues; - return IsGameCenterMatchmakingQueues; + value = GameCenterMatchmakingTestPlayerProperties; + return IsGameCenterMatchmakingTestPlayerProperties; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingQueue PickGameCenterMatchmakingQueues() => GameCenterMatchmakingQueues is { } value + public global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty PickGameCenterMatchmakingTestPlayerProperties() => GameCenterMatchmakingTestPlayerProperties is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingQueues' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingTestPlayerProperties' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterMatchmakingRule? GameCenterMatchmakingRules { get; init; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequest? GameCenterMatchmakingTestRequests { get; init; } #else - public global::AppStoreConnect.GameCenterMatchmakingRule? GameCenterMatchmakingRules { get; } + public global::AppStoreConnect.GameCenterMatchmakingTestRequest? GameCenterMatchmakingTestRequests { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingRules))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingTestRequests))] #endif - public bool IsGameCenterMatchmakingRules => GameCenterMatchmakingRules != null; + public bool IsGameCenterMatchmakingTestRequests => GameCenterMatchmakingTestRequests != null; /// /// /// - public bool TryPickGameCenterMatchmakingRules( + public bool TryPickGameCenterMatchmakingTestRequests( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterMatchmakingRule? value) + out global::AppStoreConnect.GameCenterMatchmakingTestRequest? value) { - value = GameCenterMatchmakingRules; - return IsGameCenterMatchmakingRules; + value = GameCenterMatchmakingTestRequests; + return IsGameCenterMatchmakingTestRequests; } /// /// /// - public global::AppStoreConnect.GameCenterMatchmakingRule PickGameCenterMatchmakingRules() => GameCenterMatchmakingRules is { } value + public global::AppStoreConnect.GameCenterMatchmakingTestRequest PickGameCenterMatchmakingTestRequests() => GameCenterMatchmakingTestRequests is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingRules' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterMatchmakingTeam? GameCenterMatchmakingTeams { get; init; } -#else - public global::AppStoreConnect.GameCenterMatchmakingTeam? GameCenterMatchmakingTeams { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingTeams))] -#endif - public bool IsGameCenterMatchmakingTeams => GameCenterMatchmakingTeams != null; - - /// - /// - /// - public bool TryPickGameCenterMatchmakingTeams( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterMatchmakingTeam? value) - { - value = GameCenterMatchmakingTeams; - return IsGameCenterMatchmakingTeams; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterMatchmakingTeam PickGameCenterMatchmakingTeams() => GameCenterMatchmakingTeams is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingTeams' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingQueue value) => new IncludedItem134((global::AppStoreConnect.GameCenterMatchmakingQueue?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterMatchmakingQueue?(IncludedItem134 @this) => @this.GameCenterMatchmakingQueues; - - /// - /// - /// - public IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingQueue? value) - { - GameCenterMatchmakingQueues = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingTestRequests' but the value was {ToString()}."); /// /// /// - public static IncludedItem134 FromGameCenterMatchmakingQueues(global::AppStoreConnect.GameCenterMatchmakingQueue? value) => new IncludedItem134(value); + public static implicit operator IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty value) => new IncludedItem134((global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty?)value); /// /// /// - public static implicit operator IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingRule value) => new IncludedItem134((global::AppStoreConnect.GameCenterMatchmakingRule?)value); + public static implicit operator global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty?(IncludedItem134 @this) => @this.GameCenterMatchmakingTestPlayerProperties; /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterMatchmakingRule?(IncludedItem134 @this) => @this.GameCenterMatchmakingRules; - - /// - /// - /// - public IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingRule? value) + public IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? value) { - GameCenterMatchmakingRules = value; + GameCenterMatchmakingTestPlayerProperties = value; } /// /// /// - public static IncludedItem134 FromGameCenterMatchmakingRules(global::AppStoreConnect.GameCenterMatchmakingRule? value) => new IncludedItem134(value); + public static IncludedItem134 FromGameCenterMatchmakingTestPlayerProperties(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? value) => new IncludedItem134(value); /// /// /// - public static implicit operator IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingTeam value) => new IncludedItem134((global::AppStoreConnect.GameCenterMatchmakingTeam?)value); + public static implicit operator IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingTestRequest value) => new IncludedItem134((global::AppStoreConnect.GameCenterMatchmakingTestRequest?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterMatchmakingTeam?(IncludedItem134 @this) => @this.GameCenterMatchmakingTeams; + public static implicit operator global::AppStoreConnect.GameCenterMatchmakingTestRequest?(IncludedItem134 @this) => @this.GameCenterMatchmakingTestRequests; /// /// /// - public IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingTeam? value) + public IncludedItem134(global::AppStoreConnect.GameCenterMatchmakingTestRequest? value) { - GameCenterMatchmakingTeams = value; + GameCenterMatchmakingTestRequests = value; } /// /// /// - public static IncludedItem134 FromGameCenterMatchmakingTeams(global::AppStoreConnect.GameCenterMatchmakingTeam? value) => new IncludedItem134(value); + public static IncludedItem134 FromGameCenterMatchmakingTestRequests(global::AppStoreConnect.GameCenterMatchmakingTestRequest? value) => new IncludedItem134(value); /// /// /// public IncludedItem134( - global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterMatchmakingQueue? gameCenterMatchmakingQueues, - global::AppStoreConnect.GameCenterMatchmakingRule? gameCenterMatchmakingRules, - global::AppStoreConnect.GameCenterMatchmakingTeam? gameCenterMatchmakingTeams + global::AppStoreConnect.GameCenterMatchmakingRuleSetTestResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty? gameCenterMatchmakingTestPlayerProperties, + global::AppStoreConnect.GameCenterMatchmakingTestRequest? gameCenterMatchmakingTestRequests ) { Type = type; - GameCenterMatchmakingQueues = gameCenterMatchmakingQueues; - GameCenterMatchmakingRules = gameCenterMatchmakingRules; - GameCenterMatchmakingTeams = gameCenterMatchmakingTeams; + GameCenterMatchmakingTestPlayerProperties = gameCenterMatchmakingTestPlayerProperties; + GameCenterMatchmakingTestRequests = gameCenterMatchmakingTestRequests; } /// /// /// public object? Object => - GameCenterMatchmakingTeams as object ?? - GameCenterMatchmakingRules as object ?? - GameCenterMatchmakingQueues as object + GameCenterMatchmakingTestRequests as object ?? + GameCenterMatchmakingTestPlayerProperties as object ; /// /// /// public override string? ToString() => - GameCenterMatchmakingQueues?.ToString() ?? - GameCenterMatchmakingRules?.ToString() ?? - GameCenterMatchmakingTeams?.ToString() + GameCenterMatchmakingTestPlayerProperties?.ToString() ?? + GameCenterMatchmakingTestRequests?.ToString() ; /// @@ -233,16 +169,15 @@ GameCenterMatchmakingQueues as object /// public bool Validate() { - return IsGameCenterMatchmakingQueues && !IsGameCenterMatchmakingRules && !IsGameCenterMatchmakingTeams || !IsGameCenterMatchmakingQueues && IsGameCenterMatchmakingRules && !IsGameCenterMatchmakingTeams || !IsGameCenterMatchmakingQueues && !IsGameCenterMatchmakingRules && IsGameCenterMatchmakingTeams; + return IsGameCenterMatchmakingTestPlayerProperties && !IsGameCenterMatchmakingTestRequests || !IsGameCenterMatchmakingTestPlayerProperties && IsGameCenterMatchmakingTestRequests; } /// /// /// public TResult? Match( - global::System.Func? gameCenterMatchmakingQueues = null, - global::System.Func? gameCenterMatchmakingRules = null, - global::System.Func? gameCenterMatchmakingTeams = null, + global::System.Func? gameCenterMatchmakingTestPlayerProperties = null, + global::System.Func? gameCenterMatchmakingTestRequests = null, bool validate = true) { if (validate) @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterMatchmakingQueues is { } __value0 && gameCenterMatchmakingQueues != null) + if (GameCenterMatchmakingTestPlayerProperties is { } __value0 && gameCenterMatchmakingTestPlayerProperties != null) { - return gameCenterMatchmakingQueues(__value0); + return gameCenterMatchmakingTestPlayerProperties(__value0); } - else if (GameCenterMatchmakingRules is { } __value1 && gameCenterMatchmakingRules != null) + else if (GameCenterMatchmakingTestRequests is { } __value1 && gameCenterMatchmakingTestRequests != null) { - return gameCenterMatchmakingRules(__value1); - } - else if (GameCenterMatchmakingTeams is { } __value2 && gameCenterMatchmakingTeams != null) - { - return gameCenterMatchmakingTeams(__value2); + return gameCenterMatchmakingTestRequests(__value1); } return default(TResult); @@ -270,11 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterMatchmakingQueues = null, - - global::System.Action? gameCenterMatchmakingRules = null, + global::System.Action? gameCenterMatchmakingTestPlayerProperties = null, - global::System.Action? gameCenterMatchmakingTeams = null, + global::System.Action? gameCenterMatchmakingTestRequests = null, bool validate = true) { if (validate) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (GameCenterMatchmakingQueues is { } __value0) - { - gameCenterMatchmakingQueues?.Invoke(__value0); - } - else if (GameCenterMatchmakingRules is { } __value1) + if (GameCenterMatchmakingTestPlayerProperties is { } __value0) { - gameCenterMatchmakingRules?.Invoke(__value1); + gameCenterMatchmakingTestPlayerProperties?.Invoke(__value0); } - else if (GameCenterMatchmakingTeams is { } __value2) + else if (GameCenterMatchmakingTestRequests is { } __value1) { - gameCenterMatchmakingTeams?.Invoke(__value2); + gameCenterMatchmakingTestRequests?.Invoke(__value1); } } @@ -300,9 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterMatchmakingQueues = null, - global::System.Action? gameCenterMatchmakingRules = null, - global::System.Action? gameCenterMatchmakingTeams = null, + global::System.Action? gameCenterMatchmakingTestPlayerProperties = null, + global::System.Action? gameCenterMatchmakingTestRequests = null, bool validate = true) { if (validate) @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (GameCenterMatchmakingQueues is { } __value0) - { - gameCenterMatchmakingQueues?.Invoke(__value0); - } - else if (GameCenterMatchmakingRules is { } __value1) + if (GameCenterMatchmakingTestPlayerProperties is { } __value0) { - gameCenterMatchmakingRules?.Invoke(__value1); + gameCenterMatchmakingTestPlayerProperties?.Invoke(__value0); } - else if (GameCenterMatchmakingTeams is { } __value2) + else if (GameCenterMatchmakingTestRequests is { } __value1) { - gameCenterMatchmakingTeams?.Invoke(__value2); + gameCenterMatchmakingTestRequests?.Invoke(__value1); } } @@ -331,12 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterMatchmakingQueues, - typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), - GameCenterMatchmakingRules, - typeof(global::AppStoreConnect.GameCenterMatchmakingRule), - GameCenterMatchmakingTeams, - typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), + GameCenterMatchmakingTestPlayerProperties, + typeof(global::AppStoreConnect.GameCenterMatchmakingTestPlayerProperty), + GameCenterMatchmakingTestRequests, + typeof(global::AppStoreConnect.GameCenterMatchmakingTestRequest), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem134 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingQueues, other.GameCenterMatchmakingQueues) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingRules, other.GameCenterMatchmakingRules) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingTeams, other.GameCenterMatchmakingTeams) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingTestPlayerProperties, other.GameCenterMatchmakingTestPlayerProperties) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingTestRequests, other.GameCenterMatchmakingTestRequests) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem135.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem135.g.cs deleted file mode 100644 index fa784d8d1..000000000 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem135.g.cs +++ /dev/null @@ -1,386 +0,0 @@ -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace AppStoreConnect -{ - /// - /// - /// - public readonly partial struct IncludedItem135 : global::System.IEquatable - { - /// - /// - /// - public global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType? Type { get; } - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterMatchmakingQueue? GameCenterMatchmakingQueues { get; init; } -#else - public global::AppStoreConnect.GameCenterMatchmakingQueue? GameCenterMatchmakingQueues { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingQueues))] -#endif - public bool IsGameCenterMatchmakingQueues => GameCenterMatchmakingQueues != null; - - /// - /// - /// - public bool TryPickGameCenterMatchmakingQueues( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterMatchmakingQueue? value) - { - value = GameCenterMatchmakingQueues; - return IsGameCenterMatchmakingQueues; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterMatchmakingQueue PickGameCenterMatchmakingQueues() => GameCenterMatchmakingQueues is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingQueues' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterMatchmakingRule? GameCenterMatchmakingRules { get; init; } -#else - public global::AppStoreConnect.GameCenterMatchmakingRule? GameCenterMatchmakingRules { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingRules))] -#endif - public bool IsGameCenterMatchmakingRules => GameCenterMatchmakingRules != null; - - /// - /// - /// - public bool TryPickGameCenterMatchmakingRules( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterMatchmakingRule? value) - { - value = GameCenterMatchmakingRules; - return IsGameCenterMatchmakingRules; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterMatchmakingRule PickGameCenterMatchmakingRules() => GameCenterMatchmakingRules is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingRules' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterMatchmakingTeam? GameCenterMatchmakingTeams { get; init; } -#else - public global::AppStoreConnect.GameCenterMatchmakingTeam? GameCenterMatchmakingTeams { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingTeams))] -#endif - public bool IsGameCenterMatchmakingTeams => GameCenterMatchmakingTeams != null; - - /// - /// - /// - public bool TryPickGameCenterMatchmakingTeams( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterMatchmakingTeam? value) - { - value = GameCenterMatchmakingTeams; - return IsGameCenterMatchmakingTeams; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterMatchmakingTeam PickGameCenterMatchmakingTeams() => GameCenterMatchmakingTeams is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingTeams' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem135(global::AppStoreConnect.GameCenterMatchmakingQueue value) => new IncludedItem135((global::AppStoreConnect.GameCenterMatchmakingQueue?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterMatchmakingQueue?(IncludedItem135 @this) => @this.GameCenterMatchmakingQueues; - - /// - /// - /// - public IncludedItem135(global::AppStoreConnect.GameCenterMatchmakingQueue? value) - { - GameCenterMatchmakingQueues = value; - } - - /// - /// - /// - public static IncludedItem135 FromGameCenterMatchmakingQueues(global::AppStoreConnect.GameCenterMatchmakingQueue? value) => new IncludedItem135(value); - - /// - /// - /// - public static implicit operator IncludedItem135(global::AppStoreConnect.GameCenterMatchmakingRule value) => new IncludedItem135((global::AppStoreConnect.GameCenterMatchmakingRule?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterMatchmakingRule?(IncludedItem135 @this) => @this.GameCenterMatchmakingRules; - - /// - /// - /// - public IncludedItem135(global::AppStoreConnect.GameCenterMatchmakingRule? value) - { - GameCenterMatchmakingRules = value; - } - - /// - /// - /// - public static IncludedItem135 FromGameCenterMatchmakingRules(global::AppStoreConnect.GameCenterMatchmakingRule? value) => new IncludedItem135(value); - - /// - /// - /// - public static implicit operator IncludedItem135(global::AppStoreConnect.GameCenterMatchmakingTeam value) => new IncludedItem135((global::AppStoreConnect.GameCenterMatchmakingTeam?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterMatchmakingTeam?(IncludedItem135 @this) => @this.GameCenterMatchmakingTeams; - - /// - /// - /// - public IncludedItem135(global::AppStoreConnect.GameCenterMatchmakingTeam? value) - { - GameCenterMatchmakingTeams = value; - } - - /// - /// - /// - public static IncludedItem135 FromGameCenterMatchmakingTeams(global::AppStoreConnect.GameCenterMatchmakingTeam? value) => new IncludedItem135(value); - - /// - /// - /// - public IncludedItem135( - global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterMatchmakingQueue? gameCenterMatchmakingQueues, - global::AppStoreConnect.GameCenterMatchmakingRule? gameCenterMatchmakingRules, - global::AppStoreConnect.GameCenterMatchmakingTeam? gameCenterMatchmakingTeams - ) - { - Type = type; - - GameCenterMatchmakingQueues = gameCenterMatchmakingQueues; - GameCenterMatchmakingRules = gameCenterMatchmakingRules; - GameCenterMatchmakingTeams = gameCenterMatchmakingTeams; - } - - /// - /// - /// - public object? Object => - GameCenterMatchmakingTeams as object ?? - GameCenterMatchmakingRules as object ?? - GameCenterMatchmakingQueues as object - ; - - /// - /// - /// - public override string? ToString() => - GameCenterMatchmakingQueues?.ToString() ?? - GameCenterMatchmakingRules?.ToString() ?? - GameCenterMatchmakingTeams?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsGameCenterMatchmakingQueues && !IsGameCenterMatchmakingRules && !IsGameCenterMatchmakingTeams || !IsGameCenterMatchmakingQueues && IsGameCenterMatchmakingRules && !IsGameCenterMatchmakingTeams || !IsGameCenterMatchmakingQueues && !IsGameCenterMatchmakingRules && IsGameCenterMatchmakingTeams; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? gameCenterMatchmakingQueues = null, - global::System.Func? gameCenterMatchmakingRules = null, - global::System.Func? gameCenterMatchmakingTeams = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (GameCenterMatchmakingQueues is { } __value0 && gameCenterMatchmakingQueues != null) - { - return gameCenterMatchmakingQueues(__value0); - } - else if (GameCenterMatchmakingRules is { } __value1 && gameCenterMatchmakingRules != null) - { - return gameCenterMatchmakingRules(__value1); - } - else if (GameCenterMatchmakingTeams is { } __value2 && gameCenterMatchmakingTeams != null) - { - return gameCenterMatchmakingTeams(__value2); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? gameCenterMatchmakingQueues = null, - - global::System.Action? gameCenterMatchmakingRules = null, - - global::System.Action? gameCenterMatchmakingTeams = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (GameCenterMatchmakingQueues is { } __value0) - { - gameCenterMatchmakingQueues?.Invoke(__value0); - } - else if (GameCenterMatchmakingRules is { } __value1) - { - gameCenterMatchmakingRules?.Invoke(__value1); - } - else if (GameCenterMatchmakingTeams is { } __value2) - { - gameCenterMatchmakingTeams?.Invoke(__value2); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? gameCenterMatchmakingQueues = null, - global::System.Action? gameCenterMatchmakingRules = null, - global::System.Action? gameCenterMatchmakingTeams = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (GameCenterMatchmakingQueues is { } __value0) - { - gameCenterMatchmakingQueues?.Invoke(__value0); - } - else if (GameCenterMatchmakingRules is { } __value1) - { - gameCenterMatchmakingRules?.Invoke(__value1); - } - else if (GameCenterMatchmakingTeams is { } __value2) - { - gameCenterMatchmakingTeams?.Invoke(__value2); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - GameCenterMatchmakingQueues, - typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), - GameCenterMatchmakingRules, - typeof(global::AppStoreConnect.GameCenterMatchmakingRule), - GameCenterMatchmakingTeams, - typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(IncludedItem135 other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingQueues, other.GameCenterMatchmakingQueues) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingRules, other.GameCenterMatchmakingRules) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingTeams, other.GameCenterMatchmakingTeams) - ; - } - - /// - /// - /// - public static bool operator ==(IncludedItem135 obj1, IncludedItem135 obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(IncludedItem135 obj1, IncludedItem135 obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is IncludedItem135 o && Equals(o); - } - } -} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem136.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem136.g.cs index 514972151..bbb722b31 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem136.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem136.g.cs @@ -12,220 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? InAppPurchaseOfferCodeCustomCodes { get; init; } + public global::AppStoreConnect.GameCenterMatchmakingQueue? GameCenterMatchmakingQueues { get; init; } #else - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? InAppPurchaseOfferCodeCustomCodes { get; } + public global::AppStoreConnect.GameCenterMatchmakingQueue? GameCenterMatchmakingQueues { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodeCustomCodes))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingQueues))] #endif - public bool IsInAppPurchaseOfferCodeCustomCodes => InAppPurchaseOfferCodeCustomCodes != null; + public bool IsGameCenterMatchmakingQueues => GameCenterMatchmakingQueues != null; /// /// /// - public bool TryPickInAppPurchaseOfferCodeCustomCodes( + public bool TryPickGameCenterMatchmakingQueues( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) + out global::AppStoreConnect.GameCenterMatchmakingQueue? value) { - value = InAppPurchaseOfferCodeCustomCodes; - return IsInAppPurchaseOfferCodeCustomCodes; + value = GameCenterMatchmakingQueues; + return IsGameCenterMatchmakingQueues; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode PickInAppPurchaseOfferCodeCustomCodes() => InAppPurchaseOfferCodeCustomCodes is { } value + public global::AppStoreConnect.GameCenterMatchmakingQueue PickGameCenterMatchmakingQueues() => GameCenterMatchmakingQueues is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodeCustomCodes' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingQueues' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? InAppPurchaseOfferCodeOneTimeUseCodes { get; init; } + public global::AppStoreConnect.GameCenterMatchmakingRule? GameCenterMatchmakingRules { get; init; } #else - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? InAppPurchaseOfferCodeOneTimeUseCodes { get; } + public global::AppStoreConnect.GameCenterMatchmakingRule? GameCenterMatchmakingRules { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodeOneTimeUseCodes))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingRules))] #endif - public bool IsInAppPurchaseOfferCodeOneTimeUseCodes => InAppPurchaseOfferCodeOneTimeUseCodes != null; + public bool IsGameCenterMatchmakingRules => GameCenterMatchmakingRules != null; /// /// /// - public bool TryPickInAppPurchaseOfferCodeOneTimeUseCodes( + public bool TryPickGameCenterMatchmakingRules( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) + out global::AppStoreConnect.GameCenterMatchmakingRule? value) { - value = InAppPurchaseOfferCodeOneTimeUseCodes; - return IsInAppPurchaseOfferCodeOneTimeUseCodes; + value = GameCenterMatchmakingRules; + return IsGameCenterMatchmakingRules; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode PickInAppPurchaseOfferCodeOneTimeUseCodes() => InAppPurchaseOfferCodeOneTimeUseCodes is { } value + public global::AppStoreConnect.GameCenterMatchmakingRule PickGameCenterMatchmakingRules() => GameCenterMatchmakingRules is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodeOneTimeUseCodes' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingRules' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseOfferPrice? InAppPurchaseOfferPrices { get; init; } + public global::AppStoreConnect.GameCenterMatchmakingTeam? GameCenterMatchmakingTeams { get; init; } #else - public global::AppStoreConnect.InAppPurchaseOfferPrice? InAppPurchaseOfferPrices { get; } + public global::AppStoreConnect.GameCenterMatchmakingTeam? GameCenterMatchmakingTeams { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferPrices))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingTeams))] #endif - public bool IsInAppPurchaseOfferPrices => InAppPurchaseOfferPrices != null; + public bool IsGameCenterMatchmakingTeams => GameCenterMatchmakingTeams != null; /// /// /// - public bool TryPickInAppPurchaseOfferPrices( + public bool TryPickGameCenterMatchmakingTeams( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseOfferPrice? value) + out global::AppStoreConnect.GameCenterMatchmakingTeam? value) { - value = InAppPurchaseOfferPrices; - return IsInAppPurchaseOfferPrices; + value = GameCenterMatchmakingTeams; + return IsGameCenterMatchmakingTeams; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPrice PickInAppPurchaseOfferPrices() => InAppPurchaseOfferPrices is { } value + public global::AppStoreConnect.GameCenterMatchmakingTeam PickGameCenterMatchmakingTeams() => GameCenterMatchmakingTeams is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferPrices' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingTeams' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem136(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode value) => new IncludedItem136((global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode?)value); + public static implicit operator IncludedItem136(global::AppStoreConnect.GameCenterMatchmakingQueue value) => new IncludedItem136((global::AppStoreConnect.GameCenterMatchmakingQueue?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode?(IncludedItem136 @this) => @this.InAppPurchaseOfferCodeCustomCodes; + public static implicit operator global::AppStoreConnect.GameCenterMatchmakingQueue?(IncludedItem136 @this) => @this.GameCenterMatchmakingQueues; /// /// /// - public IncludedItem136(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) + public IncludedItem136(global::AppStoreConnect.GameCenterMatchmakingQueue? value) { - InAppPurchaseOfferCodeCustomCodes = value; + GameCenterMatchmakingQueues = value; } /// /// /// - public static IncludedItem136 FromInAppPurchaseOfferCodeCustomCodes(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) => new IncludedItem136(value); + public static IncludedItem136 FromGameCenterMatchmakingQueues(global::AppStoreConnect.GameCenterMatchmakingQueue? value) => new IncludedItem136(value); /// /// /// - public static implicit operator IncludedItem136(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode value) => new IncludedItem136((global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode?)value); + public static implicit operator IncludedItem136(global::AppStoreConnect.GameCenterMatchmakingRule value) => new IncludedItem136((global::AppStoreConnect.GameCenterMatchmakingRule?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode?(IncludedItem136 @this) => @this.InAppPurchaseOfferCodeOneTimeUseCodes; + public static implicit operator global::AppStoreConnect.GameCenterMatchmakingRule?(IncludedItem136 @this) => @this.GameCenterMatchmakingRules; /// /// /// - public IncludedItem136(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) + public IncludedItem136(global::AppStoreConnect.GameCenterMatchmakingRule? value) { - InAppPurchaseOfferCodeOneTimeUseCodes = value; + GameCenterMatchmakingRules = value; } /// /// /// - public static IncludedItem136 FromInAppPurchaseOfferCodeOneTimeUseCodes(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) => new IncludedItem136(value); + public static IncludedItem136 FromGameCenterMatchmakingRules(global::AppStoreConnect.GameCenterMatchmakingRule? value) => new IncludedItem136(value); /// /// /// - public static implicit operator IncludedItem136(global::AppStoreConnect.InAppPurchaseOfferPrice value) => new IncludedItem136((global::AppStoreConnect.InAppPurchaseOfferPrice?)value); + public static implicit operator IncludedItem136(global::AppStoreConnect.GameCenterMatchmakingTeam value) => new IncludedItem136((global::AppStoreConnect.GameCenterMatchmakingTeam?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseOfferPrice?(IncludedItem136 @this) => @this.InAppPurchaseOfferPrices; + public static implicit operator global::AppStoreConnect.GameCenterMatchmakingTeam?(IncludedItem136 @this) => @this.GameCenterMatchmakingTeams; /// /// /// - public IncludedItem136(global::AppStoreConnect.InAppPurchaseOfferPrice? value) + public IncludedItem136(global::AppStoreConnect.GameCenterMatchmakingTeam? value) { - InAppPurchaseOfferPrices = value; + GameCenterMatchmakingTeams = value; } /// /// /// - public static IncludedItem136 FromInAppPurchaseOfferPrices(global::AppStoreConnect.InAppPurchaseOfferPrice? value) => new IncludedItem136(value); + public static IncludedItem136 FromGameCenterMatchmakingTeams(global::AppStoreConnect.GameCenterMatchmakingTeam? value) => new IncludedItem136(value); /// /// /// public IncludedItem136( - global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? inAppPurchaseOfferCodeCustomCodes, - global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? inAppPurchaseOfferCodeOneTimeUseCodes, - global::AppStoreConnect.InAppPurchaseOfferPrice? inAppPurchaseOfferPrices + global::AppStoreConnect.GameCenterMatchmakingRuleSetsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterMatchmakingQueue? gameCenterMatchmakingQueues, + global::AppStoreConnect.GameCenterMatchmakingRule? gameCenterMatchmakingRules, + global::AppStoreConnect.GameCenterMatchmakingTeam? gameCenterMatchmakingTeams ) { Type = type; - InAppPurchaseOfferCodeCustomCodes = inAppPurchaseOfferCodeCustomCodes; - InAppPurchaseOfferCodeOneTimeUseCodes = inAppPurchaseOfferCodeOneTimeUseCodes; - InAppPurchaseOfferPrices = inAppPurchaseOfferPrices; + GameCenterMatchmakingQueues = gameCenterMatchmakingQueues; + GameCenterMatchmakingRules = gameCenterMatchmakingRules; + GameCenterMatchmakingTeams = gameCenterMatchmakingTeams; } /// /// /// public object? Object => - InAppPurchaseOfferPrices as object ?? - InAppPurchaseOfferCodeOneTimeUseCodes as object ?? - InAppPurchaseOfferCodeCustomCodes as object + GameCenterMatchmakingTeams as object ?? + GameCenterMatchmakingRules as object ?? + GameCenterMatchmakingQueues as object ; /// /// /// public override string? ToString() => - InAppPurchaseOfferCodeCustomCodes?.ToString() ?? - InAppPurchaseOfferCodeOneTimeUseCodes?.ToString() ?? - InAppPurchaseOfferPrices?.ToString() + GameCenterMatchmakingQueues?.ToString() ?? + GameCenterMatchmakingRules?.ToString() ?? + GameCenterMatchmakingTeams?.ToString() ; /// @@ -233,16 +233,16 @@ InAppPurchaseOfferCodeCustomCodes as object /// public bool Validate() { - return IsInAppPurchaseOfferCodeCustomCodes && !IsInAppPurchaseOfferCodeOneTimeUseCodes && !IsInAppPurchaseOfferPrices || !IsInAppPurchaseOfferCodeCustomCodes && IsInAppPurchaseOfferCodeOneTimeUseCodes && !IsInAppPurchaseOfferPrices || !IsInAppPurchaseOfferCodeCustomCodes && !IsInAppPurchaseOfferCodeOneTimeUseCodes && IsInAppPurchaseOfferPrices; + return IsGameCenterMatchmakingQueues && !IsGameCenterMatchmakingRules && !IsGameCenterMatchmakingTeams || !IsGameCenterMatchmakingQueues && IsGameCenterMatchmakingRules && !IsGameCenterMatchmakingTeams || !IsGameCenterMatchmakingQueues && !IsGameCenterMatchmakingRules && IsGameCenterMatchmakingTeams; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchaseOfferCodeCustomCodes = null, - global::System.Func? inAppPurchaseOfferCodeOneTimeUseCodes = null, - global::System.Func? inAppPurchaseOfferPrices = null, + global::System.Func? gameCenterMatchmakingQueues = null, + global::System.Func? gameCenterMatchmakingRules = null, + global::System.Func? gameCenterMatchmakingTeams = null, bool validate = true) { if (validate) @@ -250,17 +250,17 @@ public bool Validate() Validate(); } - if (InAppPurchaseOfferCodeCustomCodes is { } __value0 && inAppPurchaseOfferCodeCustomCodes != null) + if (GameCenterMatchmakingQueues is { } __value0 && gameCenterMatchmakingQueues != null) { - return inAppPurchaseOfferCodeCustomCodes(__value0); + return gameCenterMatchmakingQueues(__value0); } - else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1 && inAppPurchaseOfferCodeOneTimeUseCodes != null) + else if (GameCenterMatchmakingRules is { } __value1 && gameCenterMatchmakingRules != null) { - return inAppPurchaseOfferCodeOneTimeUseCodes(__value1); + return gameCenterMatchmakingRules(__value1); } - else if (InAppPurchaseOfferPrices is { } __value2 && inAppPurchaseOfferPrices != null) + else if (GameCenterMatchmakingTeams is { } __value2 && gameCenterMatchmakingTeams != null) { - return inAppPurchaseOfferPrices(__value2); + return gameCenterMatchmakingTeams(__value2); } return default(TResult); @@ -270,11 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchaseOfferCodeCustomCodes = null, + global::System.Action? gameCenterMatchmakingQueues = null, - global::System.Action? inAppPurchaseOfferCodeOneTimeUseCodes = null, + global::System.Action? gameCenterMatchmakingRules = null, - global::System.Action? inAppPurchaseOfferPrices = null, + global::System.Action? gameCenterMatchmakingTeams = null, bool validate = true) { if (validate) @@ -282,17 +282,17 @@ public void Match( Validate(); } - if (InAppPurchaseOfferCodeCustomCodes is { } __value0) + if (GameCenterMatchmakingQueues is { } __value0) { - inAppPurchaseOfferCodeCustomCodes?.Invoke(__value0); + gameCenterMatchmakingQueues?.Invoke(__value0); } - else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1) + else if (GameCenterMatchmakingRules is { } __value1) { - inAppPurchaseOfferCodeOneTimeUseCodes?.Invoke(__value1); + gameCenterMatchmakingRules?.Invoke(__value1); } - else if (InAppPurchaseOfferPrices is { } __value2) + else if (GameCenterMatchmakingTeams is { } __value2) { - inAppPurchaseOfferPrices?.Invoke(__value2); + gameCenterMatchmakingTeams?.Invoke(__value2); } } @@ -300,9 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchaseOfferCodeCustomCodes = null, - global::System.Action? inAppPurchaseOfferCodeOneTimeUseCodes = null, - global::System.Action? inAppPurchaseOfferPrices = null, + global::System.Action? gameCenterMatchmakingQueues = null, + global::System.Action? gameCenterMatchmakingRules = null, + global::System.Action? gameCenterMatchmakingTeams = null, bool validate = true) { if (validate) @@ -310,17 +310,17 @@ public void Switch( Validate(); } - if (InAppPurchaseOfferCodeCustomCodes is { } __value0) + if (GameCenterMatchmakingQueues is { } __value0) { - inAppPurchaseOfferCodeCustomCodes?.Invoke(__value0); + gameCenterMatchmakingQueues?.Invoke(__value0); } - else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1) + else if (GameCenterMatchmakingRules is { } __value1) { - inAppPurchaseOfferCodeOneTimeUseCodes?.Invoke(__value1); + gameCenterMatchmakingRules?.Invoke(__value1); } - else if (InAppPurchaseOfferPrices is { } __value2) + else if (GameCenterMatchmakingTeams is { } __value2) { - inAppPurchaseOfferPrices?.Invoke(__value2); + gameCenterMatchmakingTeams?.Invoke(__value2); } } @@ -331,12 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchaseOfferCodeCustomCodes, - typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), - InAppPurchaseOfferCodeOneTimeUseCodes, - typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), - InAppPurchaseOfferPrices, - typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), + GameCenterMatchmakingQueues, + typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), + GameCenterMatchmakingRules, + typeof(global::AppStoreConnect.GameCenterMatchmakingRule), + GameCenterMatchmakingTeams, + typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem136 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodeCustomCodes, other.InAppPurchaseOfferCodeCustomCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodeOneTimeUseCodes, other.InAppPurchaseOfferCodeOneTimeUseCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferPrices, other.InAppPurchaseOfferPrices) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingQueues, other.GameCenterMatchmakingQueues) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingRules, other.GameCenterMatchmakingRules) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingTeams, other.GameCenterMatchmakingTeams) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem137.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem137.g.cs index c588a5b05..f5e377f76 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem137.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem137.g.cs @@ -12,220 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? InAppPurchaseOfferCodeCustomCodes { get; init; } + public global::AppStoreConnect.GameCenterMatchmakingQueue? GameCenterMatchmakingQueues { get; init; } #else - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? InAppPurchaseOfferCodeCustomCodes { get; } + public global::AppStoreConnect.GameCenterMatchmakingQueue? GameCenterMatchmakingQueues { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodeCustomCodes))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingQueues))] #endif - public bool IsInAppPurchaseOfferCodeCustomCodes => InAppPurchaseOfferCodeCustomCodes != null; + public bool IsGameCenterMatchmakingQueues => GameCenterMatchmakingQueues != null; /// /// /// - public bool TryPickInAppPurchaseOfferCodeCustomCodes( + public bool TryPickGameCenterMatchmakingQueues( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) + out global::AppStoreConnect.GameCenterMatchmakingQueue? value) { - value = InAppPurchaseOfferCodeCustomCodes; - return IsInAppPurchaseOfferCodeCustomCodes; + value = GameCenterMatchmakingQueues; + return IsGameCenterMatchmakingQueues; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode PickInAppPurchaseOfferCodeCustomCodes() => InAppPurchaseOfferCodeCustomCodes is { } value + public global::AppStoreConnect.GameCenterMatchmakingQueue PickGameCenterMatchmakingQueues() => GameCenterMatchmakingQueues is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodeCustomCodes' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingQueues' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? InAppPurchaseOfferCodeOneTimeUseCodes { get; init; } + public global::AppStoreConnect.GameCenterMatchmakingRule? GameCenterMatchmakingRules { get; init; } #else - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? InAppPurchaseOfferCodeOneTimeUseCodes { get; } + public global::AppStoreConnect.GameCenterMatchmakingRule? GameCenterMatchmakingRules { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodeOneTimeUseCodes))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingRules))] #endif - public bool IsInAppPurchaseOfferCodeOneTimeUseCodes => InAppPurchaseOfferCodeOneTimeUseCodes != null; + public bool IsGameCenterMatchmakingRules => GameCenterMatchmakingRules != null; /// /// /// - public bool TryPickInAppPurchaseOfferCodeOneTimeUseCodes( + public bool TryPickGameCenterMatchmakingRules( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) + out global::AppStoreConnect.GameCenterMatchmakingRule? value) { - value = InAppPurchaseOfferCodeOneTimeUseCodes; - return IsInAppPurchaseOfferCodeOneTimeUseCodes; + value = GameCenterMatchmakingRules; + return IsGameCenterMatchmakingRules; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode PickInAppPurchaseOfferCodeOneTimeUseCodes() => InAppPurchaseOfferCodeOneTimeUseCodes is { } value + public global::AppStoreConnect.GameCenterMatchmakingRule PickGameCenterMatchmakingRules() => GameCenterMatchmakingRules is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodeOneTimeUseCodes' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingRules' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseOfferPrice? InAppPurchaseOfferPrices { get; init; } + public global::AppStoreConnect.GameCenterMatchmakingTeam? GameCenterMatchmakingTeams { get; init; } #else - public global::AppStoreConnect.InAppPurchaseOfferPrice? InAppPurchaseOfferPrices { get; } + public global::AppStoreConnect.GameCenterMatchmakingTeam? GameCenterMatchmakingTeams { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferPrices))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterMatchmakingTeams))] #endif - public bool IsInAppPurchaseOfferPrices => InAppPurchaseOfferPrices != null; + public bool IsGameCenterMatchmakingTeams => GameCenterMatchmakingTeams != null; /// /// /// - public bool TryPickInAppPurchaseOfferPrices( + public bool TryPickGameCenterMatchmakingTeams( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseOfferPrice? value) + out global::AppStoreConnect.GameCenterMatchmakingTeam? value) { - value = InAppPurchaseOfferPrices; - return IsInAppPurchaseOfferPrices; + value = GameCenterMatchmakingTeams; + return IsGameCenterMatchmakingTeams; } /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPrice PickInAppPurchaseOfferPrices() => InAppPurchaseOfferPrices is { } value + public global::AppStoreConnect.GameCenterMatchmakingTeam PickGameCenterMatchmakingTeams() => GameCenterMatchmakingTeams is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferPrices' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterMatchmakingTeams' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem137(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode value) => new IncludedItem137((global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode?)value); + public static implicit operator IncludedItem137(global::AppStoreConnect.GameCenterMatchmakingQueue value) => new IncludedItem137((global::AppStoreConnect.GameCenterMatchmakingQueue?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode?(IncludedItem137 @this) => @this.InAppPurchaseOfferCodeCustomCodes; + public static implicit operator global::AppStoreConnect.GameCenterMatchmakingQueue?(IncludedItem137 @this) => @this.GameCenterMatchmakingQueues; /// /// /// - public IncludedItem137(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) + public IncludedItem137(global::AppStoreConnect.GameCenterMatchmakingQueue? value) { - InAppPurchaseOfferCodeCustomCodes = value; + GameCenterMatchmakingQueues = value; } /// /// /// - public static IncludedItem137 FromInAppPurchaseOfferCodeCustomCodes(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) => new IncludedItem137(value); + public static IncludedItem137 FromGameCenterMatchmakingQueues(global::AppStoreConnect.GameCenterMatchmakingQueue? value) => new IncludedItem137(value); /// /// /// - public static implicit operator IncludedItem137(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode value) => new IncludedItem137((global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode?)value); + public static implicit operator IncludedItem137(global::AppStoreConnect.GameCenterMatchmakingRule value) => new IncludedItem137((global::AppStoreConnect.GameCenterMatchmakingRule?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode?(IncludedItem137 @this) => @this.InAppPurchaseOfferCodeOneTimeUseCodes; + public static implicit operator global::AppStoreConnect.GameCenterMatchmakingRule?(IncludedItem137 @this) => @this.GameCenterMatchmakingRules; /// /// /// - public IncludedItem137(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) + public IncludedItem137(global::AppStoreConnect.GameCenterMatchmakingRule? value) { - InAppPurchaseOfferCodeOneTimeUseCodes = value; + GameCenterMatchmakingRules = value; } /// /// /// - public static IncludedItem137 FromInAppPurchaseOfferCodeOneTimeUseCodes(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) => new IncludedItem137(value); + public static IncludedItem137 FromGameCenterMatchmakingRules(global::AppStoreConnect.GameCenterMatchmakingRule? value) => new IncludedItem137(value); /// /// /// - public static implicit operator IncludedItem137(global::AppStoreConnect.InAppPurchaseOfferPrice value) => new IncludedItem137((global::AppStoreConnect.InAppPurchaseOfferPrice?)value); + public static implicit operator IncludedItem137(global::AppStoreConnect.GameCenterMatchmakingTeam value) => new IncludedItem137((global::AppStoreConnect.GameCenterMatchmakingTeam?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseOfferPrice?(IncludedItem137 @this) => @this.InAppPurchaseOfferPrices; + public static implicit operator global::AppStoreConnect.GameCenterMatchmakingTeam?(IncludedItem137 @this) => @this.GameCenterMatchmakingTeams; /// /// /// - public IncludedItem137(global::AppStoreConnect.InAppPurchaseOfferPrice? value) + public IncludedItem137(global::AppStoreConnect.GameCenterMatchmakingTeam? value) { - InAppPurchaseOfferPrices = value; + GameCenterMatchmakingTeams = value; } /// /// /// - public static IncludedItem137 FromInAppPurchaseOfferPrices(global::AppStoreConnect.InAppPurchaseOfferPrice? value) => new IncludedItem137(value); + public static IncludedItem137 FromGameCenterMatchmakingTeams(global::AppStoreConnect.GameCenterMatchmakingTeam? value) => new IncludedItem137(value); /// /// /// public IncludedItem137( - global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? inAppPurchaseOfferCodeCustomCodes, - global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? inAppPurchaseOfferCodeOneTimeUseCodes, - global::AppStoreConnect.InAppPurchaseOfferPrice? inAppPurchaseOfferPrices + global::AppStoreConnect.GameCenterMatchmakingRuleSetResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterMatchmakingQueue? gameCenterMatchmakingQueues, + global::AppStoreConnect.GameCenterMatchmakingRule? gameCenterMatchmakingRules, + global::AppStoreConnect.GameCenterMatchmakingTeam? gameCenterMatchmakingTeams ) { Type = type; - InAppPurchaseOfferCodeCustomCodes = inAppPurchaseOfferCodeCustomCodes; - InAppPurchaseOfferCodeOneTimeUseCodes = inAppPurchaseOfferCodeOneTimeUseCodes; - InAppPurchaseOfferPrices = inAppPurchaseOfferPrices; + GameCenterMatchmakingQueues = gameCenterMatchmakingQueues; + GameCenterMatchmakingRules = gameCenterMatchmakingRules; + GameCenterMatchmakingTeams = gameCenterMatchmakingTeams; } /// /// /// public object? Object => - InAppPurchaseOfferPrices as object ?? - InAppPurchaseOfferCodeOneTimeUseCodes as object ?? - InAppPurchaseOfferCodeCustomCodes as object + GameCenterMatchmakingTeams as object ?? + GameCenterMatchmakingRules as object ?? + GameCenterMatchmakingQueues as object ; /// /// /// public override string? ToString() => - InAppPurchaseOfferCodeCustomCodes?.ToString() ?? - InAppPurchaseOfferCodeOneTimeUseCodes?.ToString() ?? - InAppPurchaseOfferPrices?.ToString() + GameCenterMatchmakingQueues?.ToString() ?? + GameCenterMatchmakingRules?.ToString() ?? + GameCenterMatchmakingTeams?.ToString() ; /// @@ -233,16 +233,16 @@ InAppPurchaseOfferCodeCustomCodes as object /// public bool Validate() { - return IsInAppPurchaseOfferCodeCustomCodes && !IsInAppPurchaseOfferCodeOneTimeUseCodes && !IsInAppPurchaseOfferPrices || !IsInAppPurchaseOfferCodeCustomCodes && IsInAppPurchaseOfferCodeOneTimeUseCodes && !IsInAppPurchaseOfferPrices || !IsInAppPurchaseOfferCodeCustomCodes && !IsInAppPurchaseOfferCodeOneTimeUseCodes && IsInAppPurchaseOfferPrices; + return IsGameCenterMatchmakingQueues && !IsGameCenterMatchmakingRules && !IsGameCenterMatchmakingTeams || !IsGameCenterMatchmakingQueues && IsGameCenterMatchmakingRules && !IsGameCenterMatchmakingTeams || !IsGameCenterMatchmakingQueues && !IsGameCenterMatchmakingRules && IsGameCenterMatchmakingTeams; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchaseOfferCodeCustomCodes = null, - global::System.Func? inAppPurchaseOfferCodeOneTimeUseCodes = null, - global::System.Func? inAppPurchaseOfferPrices = null, + global::System.Func? gameCenterMatchmakingQueues = null, + global::System.Func? gameCenterMatchmakingRules = null, + global::System.Func? gameCenterMatchmakingTeams = null, bool validate = true) { if (validate) @@ -250,17 +250,17 @@ public bool Validate() Validate(); } - if (InAppPurchaseOfferCodeCustomCodes is { } __value0 && inAppPurchaseOfferCodeCustomCodes != null) + if (GameCenterMatchmakingQueues is { } __value0 && gameCenterMatchmakingQueues != null) { - return inAppPurchaseOfferCodeCustomCodes(__value0); + return gameCenterMatchmakingQueues(__value0); } - else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1 && inAppPurchaseOfferCodeOneTimeUseCodes != null) + else if (GameCenterMatchmakingRules is { } __value1 && gameCenterMatchmakingRules != null) { - return inAppPurchaseOfferCodeOneTimeUseCodes(__value1); + return gameCenterMatchmakingRules(__value1); } - else if (InAppPurchaseOfferPrices is { } __value2 && inAppPurchaseOfferPrices != null) + else if (GameCenterMatchmakingTeams is { } __value2 && gameCenterMatchmakingTeams != null) { - return inAppPurchaseOfferPrices(__value2); + return gameCenterMatchmakingTeams(__value2); } return default(TResult); @@ -270,11 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchaseOfferCodeCustomCodes = null, + global::System.Action? gameCenterMatchmakingQueues = null, - global::System.Action? inAppPurchaseOfferCodeOneTimeUseCodes = null, + global::System.Action? gameCenterMatchmakingRules = null, - global::System.Action? inAppPurchaseOfferPrices = null, + global::System.Action? gameCenterMatchmakingTeams = null, bool validate = true) { if (validate) @@ -282,17 +282,17 @@ public void Match( Validate(); } - if (InAppPurchaseOfferCodeCustomCodes is { } __value0) + if (GameCenterMatchmakingQueues is { } __value0) { - inAppPurchaseOfferCodeCustomCodes?.Invoke(__value0); + gameCenterMatchmakingQueues?.Invoke(__value0); } - else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1) + else if (GameCenterMatchmakingRules is { } __value1) { - inAppPurchaseOfferCodeOneTimeUseCodes?.Invoke(__value1); + gameCenterMatchmakingRules?.Invoke(__value1); } - else if (InAppPurchaseOfferPrices is { } __value2) + else if (GameCenterMatchmakingTeams is { } __value2) { - inAppPurchaseOfferPrices?.Invoke(__value2); + gameCenterMatchmakingTeams?.Invoke(__value2); } } @@ -300,9 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchaseOfferCodeCustomCodes = null, - global::System.Action? inAppPurchaseOfferCodeOneTimeUseCodes = null, - global::System.Action? inAppPurchaseOfferPrices = null, + global::System.Action? gameCenterMatchmakingQueues = null, + global::System.Action? gameCenterMatchmakingRules = null, + global::System.Action? gameCenterMatchmakingTeams = null, bool validate = true) { if (validate) @@ -310,17 +310,17 @@ public void Switch( Validate(); } - if (InAppPurchaseOfferCodeCustomCodes is { } __value0) + if (GameCenterMatchmakingQueues is { } __value0) { - inAppPurchaseOfferCodeCustomCodes?.Invoke(__value0); + gameCenterMatchmakingQueues?.Invoke(__value0); } - else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1) + else if (GameCenterMatchmakingRules is { } __value1) { - inAppPurchaseOfferCodeOneTimeUseCodes?.Invoke(__value1); + gameCenterMatchmakingRules?.Invoke(__value1); } - else if (InAppPurchaseOfferPrices is { } __value2) + else if (GameCenterMatchmakingTeams is { } __value2) { - inAppPurchaseOfferPrices?.Invoke(__value2); + gameCenterMatchmakingTeams?.Invoke(__value2); } } @@ -331,12 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchaseOfferCodeCustomCodes, - typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), - InAppPurchaseOfferCodeOneTimeUseCodes, - typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), - InAppPurchaseOfferPrices, - typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), + GameCenterMatchmakingQueues, + typeof(global::AppStoreConnect.GameCenterMatchmakingQueue), + GameCenterMatchmakingRules, + typeof(global::AppStoreConnect.GameCenterMatchmakingRule), + GameCenterMatchmakingTeams, + typeof(global::AppStoreConnect.GameCenterMatchmakingTeam), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem137 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodeCustomCodes, other.InAppPurchaseOfferCodeCustomCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodeOneTimeUseCodes, other.InAppPurchaseOfferCodeOneTimeUseCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferPrices, other.InAppPurchaseOfferPrices) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingQueues, other.GameCenterMatchmakingQueues) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingRules, other.GameCenterMatchmakingRules) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterMatchmakingTeams, other.GameCenterMatchmakingTeams) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem138.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem138.g.cs index 16ce8b122..e679727ed 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem138.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem138.g.cs @@ -12,156 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; init; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? InAppPurchaseOfferCodeCustomCodes { get; init; } #else - public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? InAppPurchaseOfferCodeCustomCodes { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePricePoints))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodeCustomCodes))] #endif - public bool IsInAppPurchasePricePoints => InAppPurchasePricePoints != null; + public bool IsInAppPurchaseOfferCodeCustomCodes => InAppPurchaseOfferCodeCustomCodes != null; /// /// /// - public bool TryPickInAppPurchasePricePoints( + public bool TryPickInAppPurchaseOfferCodeCustomCodes( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchasePricePoint? value) + out global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) { - value = InAppPurchasePricePoints; - return IsInAppPurchasePricePoints; + value = InAppPurchaseOfferCodeCustomCodes; + return IsInAppPurchaseOfferCodeCustomCodes; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePoint PickInAppPurchasePricePoints() => InAppPurchasePricePoints is { } value + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode PickInAppPurchaseOfferCodeCustomCodes() => InAppPurchaseOfferCodeCustomCodes is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePricePoints' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodeCustomCodes' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? InAppPurchaseOfferCodeOneTimeUseCodes { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? InAppPurchaseOfferCodeOneTimeUseCodes { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodeOneTimeUseCodes))] #endif - public bool IsTerritories => Territories != null; + public bool IsInAppPurchaseOfferCodeOneTimeUseCodes => InAppPurchaseOfferCodeOneTimeUseCodes != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickInAppPurchaseOfferCodeOneTimeUseCodes( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) { - value = Territories; - return IsTerritories; + value = InAppPurchaseOfferCodeOneTimeUseCodes; + return IsInAppPurchaseOfferCodeOneTimeUseCodes; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode PickInAppPurchaseOfferCodeOneTimeUseCodes() => InAppPurchaseOfferCodeOneTimeUseCodes is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodeOneTimeUseCodes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseOfferPrice? InAppPurchaseOfferPrices { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseOfferPrice? InAppPurchaseOfferPrices { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferPrices))] +#endif + public bool IsInAppPurchaseOfferPrices => InAppPurchaseOfferPrices != null; + + /// + /// + /// + public bool TryPickInAppPurchaseOfferPrices( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseOfferPrice? value) + { + value = InAppPurchaseOfferPrices; + return IsInAppPurchaseOfferPrices; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferPrice PickInAppPurchaseOfferPrices() => InAppPurchaseOfferPrices is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferPrices' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem138(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode value) => new IncludedItem138((global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode?(IncludedItem138 @this) => @this.InAppPurchaseOfferCodeCustomCodes; + + /// + /// + /// + public IncludedItem138(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) + { + InAppPurchaseOfferCodeCustomCodes = value; + } + /// /// /// - public static implicit operator IncludedItem138(global::AppStoreConnect.InAppPurchasePricePoint value) => new IncludedItem138((global::AppStoreConnect.InAppPurchasePricePoint?)value); + public static IncludedItem138 FromInAppPurchaseOfferCodeCustomCodes(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) => new IncludedItem138(value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchasePricePoint?(IncludedItem138 @this) => @this.InAppPurchasePricePoints; + public static implicit operator IncludedItem138(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode value) => new IncludedItem138((global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode?)value); /// /// /// - public IncludedItem138(global::AppStoreConnect.InAppPurchasePricePoint? value) + public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode?(IncludedItem138 @this) => @this.InAppPurchaseOfferCodeOneTimeUseCodes; + + /// + /// + /// + public IncludedItem138(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) { - InAppPurchasePricePoints = value; + InAppPurchaseOfferCodeOneTimeUseCodes = value; } /// /// /// - public static IncludedItem138 FromInAppPurchasePricePoints(global::AppStoreConnect.InAppPurchasePricePoint? value) => new IncludedItem138(value); + public static IncludedItem138 FromInAppPurchaseOfferCodeOneTimeUseCodes(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) => new IncludedItem138(value); /// /// /// - public static implicit operator IncludedItem138(global::AppStoreConnect.Territory value) => new IncludedItem138((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem138(global::AppStoreConnect.InAppPurchaseOfferPrice value) => new IncludedItem138((global::AppStoreConnect.InAppPurchaseOfferPrice?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem138 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.InAppPurchaseOfferPrice?(IncludedItem138 @this) => @this.InAppPurchaseOfferPrices; /// /// /// - public IncludedItem138(global::AppStoreConnect.Territory? value) + public IncludedItem138(global::AppStoreConnect.InAppPurchaseOfferPrice? value) { - Territories = value; + InAppPurchaseOfferPrices = value; } /// /// /// - public static IncludedItem138 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem138(value); + public static IncludedItem138 FromInAppPurchaseOfferPrices(global::AppStoreConnect.InAppPurchaseOfferPrice? value) => new IncludedItem138(value); /// /// /// public IncludedItem138( - global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.InAppPurchaseOfferCodesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? inAppPurchaseOfferCodeCustomCodes, + global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? inAppPurchaseOfferCodeOneTimeUseCodes, + global::AppStoreConnect.InAppPurchaseOfferPrice? inAppPurchaseOfferPrices ) { Type = type; - InAppPurchasePricePoints = inAppPurchasePricePoints; - Territories = territories; + InAppPurchaseOfferCodeCustomCodes = inAppPurchaseOfferCodeCustomCodes; + InAppPurchaseOfferCodeOneTimeUseCodes = inAppPurchaseOfferCodeOneTimeUseCodes; + InAppPurchaseOfferPrices = inAppPurchaseOfferPrices; } /// /// /// public object? Object => - Territories as object ?? - InAppPurchasePricePoints as object + InAppPurchaseOfferPrices as object ?? + InAppPurchaseOfferCodeOneTimeUseCodes as object ?? + InAppPurchaseOfferCodeCustomCodes as object ; /// /// /// public override string? ToString() => - InAppPurchasePricePoints?.ToString() ?? - Territories?.ToString() + InAppPurchaseOfferCodeCustomCodes?.ToString() ?? + InAppPurchaseOfferCodeOneTimeUseCodes?.ToString() ?? + InAppPurchaseOfferPrices?.ToString() ; /// @@ -169,15 +233,16 @@ InAppPurchasePricePoints as object /// public bool Validate() { - return IsInAppPurchasePricePoints && !IsTerritories || !IsInAppPurchasePricePoints && IsTerritories; + return IsInAppPurchaseOfferCodeCustomCodes && !IsInAppPurchaseOfferCodeOneTimeUseCodes && !IsInAppPurchaseOfferPrices || !IsInAppPurchaseOfferCodeCustomCodes && IsInAppPurchaseOfferCodeOneTimeUseCodes && !IsInAppPurchaseOfferPrices || !IsInAppPurchaseOfferCodeCustomCodes && !IsInAppPurchaseOfferCodeOneTimeUseCodes && IsInAppPurchaseOfferPrices; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchasePricePoints = null, - global::System.Func? territories = null, + global::System.Func? inAppPurchaseOfferCodeCustomCodes = null, + global::System.Func? inAppPurchaseOfferCodeOneTimeUseCodes = null, + global::System.Func? inAppPurchaseOfferPrices = null, bool validate = true) { if (validate) @@ -185,13 +250,17 @@ public bool Validate() Validate(); } - if (InAppPurchasePricePoints is { } __value0 && inAppPurchasePricePoints != null) + if (InAppPurchaseOfferCodeCustomCodes is { } __value0 && inAppPurchaseOfferCodeCustomCodes != null) { - return inAppPurchasePricePoints(__value0); + return inAppPurchaseOfferCodeCustomCodes(__value0); } - else if (Territories is { } __value1 && territories != null) + else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1 && inAppPurchaseOfferCodeOneTimeUseCodes != null) { - return territories(__value1); + return inAppPurchaseOfferCodeOneTimeUseCodes(__value1); + } + else if (InAppPurchaseOfferPrices is { } __value2 && inAppPurchaseOfferPrices != null) + { + return inAppPurchaseOfferPrices(__value2); } return default(TResult); @@ -201,9 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchasePricePoints = null, + global::System.Action? inAppPurchaseOfferCodeCustomCodes = null, + + global::System.Action? inAppPurchaseOfferCodeOneTimeUseCodes = null, - global::System.Action? territories = null, + global::System.Action? inAppPurchaseOfferPrices = null, bool validate = true) { if (validate) @@ -211,13 +282,17 @@ public void Match( Validate(); } - if (InAppPurchasePricePoints is { } __value0) + if (InAppPurchaseOfferCodeCustomCodes is { } __value0) + { + inAppPurchaseOfferCodeCustomCodes?.Invoke(__value0); + } + else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1) { - inAppPurchasePricePoints?.Invoke(__value0); + inAppPurchaseOfferCodeOneTimeUseCodes?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (InAppPurchaseOfferPrices is { } __value2) { - territories?.Invoke(__value1); + inAppPurchaseOfferPrices?.Invoke(__value2); } } @@ -225,8 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchasePricePoints = null, - global::System.Action? territories = null, + global::System.Action? inAppPurchaseOfferCodeCustomCodes = null, + global::System.Action? inAppPurchaseOfferCodeOneTimeUseCodes = null, + global::System.Action? inAppPurchaseOfferPrices = null, bool validate = true) { if (validate) @@ -234,13 +310,17 @@ public void Switch( Validate(); } - if (InAppPurchasePricePoints is { } __value0) + if (InAppPurchaseOfferCodeCustomCodes is { } __value0) + { + inAppPurchaseOfferCodeCustomCodes?.Invoke(__value0); + } + else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1) { - inAppPurchasePricePoints?.Invoke(__value0); + inAppPurchaseOfferCodeOneTimeUseCodes?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (InAppPurchaseOfferPrices is { } __value2) { - territories?.Invoke(__value1); + inAppPurchaseOfferPrices?.Invoke(__value2); } } @@ -251,10 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchasePricePoints, - typeof(global::AppStoreConnect.InAppPurchasePricePoint), - Territories, - typeof(global::AppStoreConnect.Territory), + InAppPurchaseOfferCodeCustomCodes, + typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), + InAppPurchaseOfferCodeOneTimeUseCodes, + typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), + InAppPurchaseOfferPrices, + typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem138 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePricePoints, other.InAppPurchasePricePoints) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodeCustomCodes, other.InAppPurchaseOfferCodeCustomCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodeOneTimeUseCodes, other.InAppPurchaseOfferCodeOneTimeUseCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferPrices, other.InAppPurchaseOfferPrices) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem139.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem139.g.cs index 5339bbd36..75081172e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem139.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem139.g.cs @@ -12,156 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchasePrice? InAppPurchasePrices { get; init; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? InAppPurchaseOfferCodeCustomCodes { get; init; } #else - public global::AppStoreConnect.InAppPurchasePrice? InAppPurchasePrices { get; } + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? InAppPurchaseOfferCodeCustomCodes { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePrices))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodeCustomCodes))] #endif - public bool IsInAppPurchasePrices => InAppPurchasePrices != null; + public bool IsInAppPurchaseOfferCodeCustomCodes => InAppPurchaseOfferCodeCustomCodes != null; /// /// /// - public bool TryPickInAppPurchasePrices( + public bool TryPickInAppPurchaseOfferCodeCustomCodes( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchasePrice? value) + out global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) { - value = InAppPurchasePrices; - return IsInAppPurchasePrices; + value = InAppPurchaseOfferCodeCustomCodes; + return IsInAppPurchaseOfferCodeCustomCodes; } /// /// /// - public global::AppStoreConnect.InAppPurchasePrice PickInAppPurchasePrices() => InAppPurchasePrices is { } value + public global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode PickInAppPurchaseOfferCodeCustomCodes() => InAppPurchaseOfferCodeCustomCodes is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePrices' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodeCustomCodes' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? InAppPurchaseOfferCodeOneTimeUseCodes { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? InAppPurchaseOfferCodeOneTimeUseCodes { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodeOneTimeUseCodes))] #endif - public bool IsTerritories => Territories != null; + public bool IsInAppPurchaseOfferCodeOneTimeUseCodes => InAppPurchaseOfferCodeOneTimeUseCodes != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickInAppPurchaseOfferCodeOneTimeUseCodes( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) { - value = Territories; - return IsTerritories; + value = InAppPurchaseOfferCodeOneTimeUseCodes; + return IsInAppPurchaseOfferCodeOneTimeUseCodes; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode PickInAppPurchaseOfferCodeOneTimeUseCodes() => InAppPurchaseOfferCodeOneTimeUseCodes is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodeOneTimeUseCodes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseOfferPrice? InAppPurchaseOfferPrices { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseOfferPrice? InAppPurchaseOfferPrices { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferPrices))] +#endif + public bool IsInAppPurchaseOfferPrices => InAppPurchaseOfferPrices != null; + + /// + /// + /// + public bool TryPickInAppPurchaseOfferPrices( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseOfferPrice? value) + { + value = InAppPurchaseOfferPrices; + return IsInAppPurchaseOfferPrices; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferPrice PickInAppPurchaseOfferPrices() => InAppPurchaseOfferPrices is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferPrices' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem139(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode value) => new IncludedItem139((global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode?(IncludedItem139 @this) => @this.InAppPurchaseOfferCodeCustomCodes; + + /// + /// + /// + public IncludedItem139(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) + { + InAppPurchaseOfferCodeCustomCodes = value; + } + /// /// /// - public static implicit operator IncludedItem139(global::AppStoreConnect.InAppPurchasePrice value) => new IncludedItem139((global::AppStoreConnect.InAppPurchasePrice?)value); + public static IncludedItem139 FromInAppPurchaseOfferCodeCustomCodes(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? value) => new IncludedItem139(value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchasePrice?(IncludedItem139 @this) => @this.InAppPurchasePrices; + public static implicit operator IncludedItem139(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode value) => new IncludedItem139((global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode?)value); /// /// /// - public IncludedItem139(global::AppStoreConnect.InAppPurchasePrice? value) + public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode?(IncludedItem139 @this) => @this.InAppPurchaseOfferCodeOneTimeUseCodes; + + /// + /// + /// + public IncludedItem139(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) { - InAppPurchasePrices = value; + InAppPurchaseOfferCodeOneTimeUseCodes = value; } /// /// /// - public static IncludedItem139 FromInAppPurchasePrices(global::AppStoreConnect.InAppPurchasePrice? value) => new IncludedItem139(value); + public static IncludedItem139 FromInAppPurchaseOfferCodeOneTimeUseCodes(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? value) => new IncludedItem139(value); /// /// /// - public static implicit operator IncludedItem139(global::AppStoreConnect.Territory value) => new IncludedItem139((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem139(global::AppStoreConnect.InAppPurchaseOfferPrice value) => new IncludedItem139((global::AppStoreConnect.InAppPurchaseOfferPrice?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem139 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.InAppPurchaseOfferPrice?(IncludedItem139 @this) => @this.InAppPurchaseOfferPrices; /// /// /// - public IncludedItem139(global::AppStoreConnect.Territory? value) + public IncludedItem139(global::AppStoreConnect.InAppPurchaseOfferPrice? value) { - Territories = value; + InAppPurchaseOfferPrices = value; } /// /// /// - public static IncludedItem139 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem139(value); + public static IncludedItem139 FromInAppPurchaseOfferPrices(global::AppStoreConnect.InAppPurchaseOfferPrice? value) => new IncludedItem139(value); /// /// /// public IncludedItem139( - global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchasePrice? inAppPurchasePrices, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.InAppPurchaseOfferCodeResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode? inAppPurchaseOfferCodeCustomCodes, + global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode? inAppPurchaseOfferCodeOneTimeUseCodes, + global::AppStoreConnect.InAppPurchaseOfferPrice? inAppPurchaseOfferPrices ) { Type = type; - InAppPurchasePrices = inAppPurchasePrices; - Territories = territories; + InAppPurchaseOfferCodeCustomCodes = inAppPurchaseOfferCodeCustomCodes; + InAppPurchaseOfferCodeOneTimeUseCodes = inAppPurchaseOfferCodeOneTimeUseCodes; + InAppPurchaseOfferPrices = inAppPurchaseOfferPrices; } /// /// /// public object? Object => - Territories as object ?? - InAppPurchasePrices as object + InAppPurchaseOfferPrices as object ?? + InAppPurchaseOfferCodeOneTimeUseCodes as object ?? + InAppPurchaseOfferCodeCustomCodes as object ; /// /// /// public override string? ToString() => - InAppPurchasePrices?.ToString() ?? - Territories?.ToString() + InAppPurchaseOfferCodeCustomCodes?.ToString() ?? + InAppPurchaseOfferCodeOneTimeUseCodes?.ToString() ?? + InAppPurchaseOfferPrices?.ToString() ; /// @@ -169,15 +233,16 @@ InAppPurchasePrices as object /// public bool Validate() { - return IsInAppPurchasePrices && !IsTerritories || !IsInAppPurchasePrices && IsTerritories; + return IsInAppPurchaseOfferCodeCustomCodes && !IsInAppPurchaseOfferCodeOneTimeUseCodes && !IsInAppPurchaseOfferPrices || !IsInAppPurchaseOfferCodeCustomCodes && IsInAppPurchaseOfferCodeOneTimeUseCodes && !IsInAppPurchaseOfferPrices || !IsInAppPurchaseOfferCodeCustomCodes && !IsInAppPurchaseOfferCodeOneTimeUseCodes && IsInAppPurchaseOfferPrices; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchasePrices = null, - global::System.Func? territories = null, + global::System.Func? inAppPurchaseOfferCodeCustomCodes = null, + global::System.Func? inAppPurchaseOfferCodeOneTimeUseCodes = null, + global::System.Func? inAppPurchaseOfferPrices = null, bool validate = true) { if (validate) @@ -185,13 +250,17 @@ public bool Validate() Validate(); } - if (InAppPurchasePrices is { } __value0 && inAppPurchasePrices != null) + if (InAppPurchaseOfferCodeCustomCodes is { } __value0 && inAppPurchaseOfferCodeCustomCodes != null) { - return inAppPurchasePrices(__value0); + return inAppPurchaseOfferCodeCustomCodes(__value0); } - else if (Territories is { } __value1 && territories != null) + else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1 && inAppPurchaseOfferCodeOneTimeUseCodes != null) { - return territories(__value1); + return inAppPurchaseOfferCodeOneTimeUseCodes(__value1); + } + else if (InAppPurchaseOfferPrices is { } __value2 && inAppPurchaseOfferPrices != null) + { + return inAppPurchaseOfferPrices(__value2); } return default(TResult); @@ -201,9 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchasePrices = null, + global::System.Action? inAppPurchaseOfferCodeCustomCodes = null, + + global::System.Action? inAppPurchaseOfferCodeOneTimeUseCodes = null, - global::System.Action? territories = null, + global::System.Action? inAppPurchaseOfferPrices = null, bool validate = true) { if (validate) @@ -211,13 +282,17 @@ public void Match( Validate(); } - if (InAppPurchasePrices is { } __value0) + if (InAppPurchaseOfferCodeCustomCodes is { } __value0) + { + inAppPurchaseOfferCodeCustomCodes?.Invoke(__value0); + } + else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1) { - inAppPurchasePrices?.Invoke(__value0); + inAppPurchaseOfferCodeOneTimeUseCodes?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (InAppPurchaseOfferPrices is { } __value2) { - territories?.Invoke(__value1); + inAppPurchaseOfferPrices?.Invoke(__value2); } } @@ -225,8 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchasePrices = null, - global::System.Action? territories = null, + global::System.Action? inAppPurchaseOfferCodeCustomCodes = null, + global::System.Action? inAppPurchaseOfferCodeOneTimeUseCodes = null, + global::System.Action? inAppPurchaseOfferPrices = null, bool validate = true) { if (validate) @@ -234,13 +310,17 @@ public void Switch( Validate(); } - if (InAppPurchasePrices is { } __value0) + if (InAppPurchaseOfferCodeCustomCodes is { } __value0) + { + inAppPurchaseOfferCodeCustomCodes?.Invoke(__value0); + } + else if (InAppPurchaseOfferCodeOneTimeUseCodes is { } __value1) { - inAppPurchasePrices?.Invoke(__value0); + inAppPurchaseOfferCodeOneTimeUseCodes?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (InAppPurchaseOfferPrices is { } __value2) { - territories?.Invoke(__value1); + inAppPurchaseOfferPrices?.Invoke(__value2); } } @@ -251,10 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchasePrices, - typeof(global::AppStoreConnect.InAppPurchasePrice), - Territories, - typeof(global::AppStoreConnect.Territory), + InAppPurchaseOfferCodeCustomCodes, + typeof(global::AppStoreConnect.InAppPurchaseOfferCodeCustomCode), + InAppPurchaseOfferCodeOneTimeUseCodes, + typeof(global::AppStoreConnect.InAppPurchaseOfferCodeOneTimeUseCode), + InAppPurchaseOfferPrices, + typeof(global::AppStoreConnect.InAppPurchaseOfferPrice), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem139 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePrices, other.InAppPurchasePrices) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodeCustomCodes, other.InAppPurchaseOfferCodeCustomCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodeOneTimeUseCodes, other.InAppPurchaseOfferCodeOneTimeUseCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferPrices, other.InAppPurchaseOfferPrices) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem14.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem14.g.cs index 75ce3a218..8295f646d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem14.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem14.g.cs @@ -12,156 +12,348 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations1 { get; init; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations1 { get; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacements))] #endif - public bool IsAppCustomProductPageLocalizations1 => AppCustomProductPageLocalizations1 != null; + public bool IsAppAssetLibraryPlacements => AppAssetLibraryPlacements != null; /// /// /// - public bool TryPickAppCustomProductPageLocalizations1( + public bool TryPickAppAssetLibraryPlacements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPageLocalization? value) + out global::AppStoreConnect.AppAssetLibraryPlacement? value) { - value = AppCustomProductPageLocalizations1; - return IsAppCustomProductPageLocalizations1; + value = AppAssetLibraryPlacements; + return IsAppAssetLibraryPlacements; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations1() => AppCustomProductPageLocalizations1 is { } value + public global::AppStoreConnect.AppAssetLibraryPlacement PickAppAssetLibraryPlacements() => AppAssetLibraryPlacements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPageLocalizations2 { get; init; } + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } #else - public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPageLocalizations2 { get; } + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] #endif - public bool IsAppCustomProductPageLocalizations2 => AppCustomProductPageLocalizations2 != null; + public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; /// /// /// - public bool TryPickAppCustomProductPageLocalizations2( + public bool TryPickAppCustomProductPageVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPage? value) + out global::AppStoreConnect.AppCustomProductPageVersion? value) { - value = AppCustomProductPageLocalizations2; - return IsAppCustomProductPageLocalizations2; + value = AppCustomProductPageVersions; + return IsAppCustomProductPageVersions; } /// /// /// - public global::AppStoreConnect.AppCustomProductPage PickAppCustomProductPageLocalizations2() => AppCustomProductPageLocalizations2 is { } value + public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppKeyword? AppKeywords { get; init; } +#else + public global::AppStoreConnect.AppKeyword? AppKeywords { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppKeywords))] +#endif + public bool IsAppKeywords => AppKeywords != null; + + /// + /// + /// + public bool TryPickAppKeywords( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppKeyword? value) + { + value = AppKeywords; + return IsAppKeywords; + } + + /// + /// + /// + public global::AppStoreConnect.AppKeyword PickAppKeywords() => AppKeywords is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppKeywords' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } +#else + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] +#endif + public bool IsAppPreviewSets => AppPreviewSets != null; + + /// + /// + /// + public bool TryPickAppPreviewSets( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppPreviewSet? value) + { + value = AppPreviewSets; + return IsAppPreviewSets; + } + + /// + /// + /// + public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } +#else + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] +#endif + public bool IsAppScreenshotSets => AppScreenshotSets != null; + + /// + /// + /// + public bool TryPickAppScreenshotSets( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppScreenshotSet? value) + { + value = AppScreenshotSets; + return IsAppScreenshotSets; + } + + /// + /// + /// + public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem14(global::AppStoreConnect.AppAssetLibraryPlacement value) => new IncludedItem14((global::AppStoreConnect.AppAssetLibraryPlacement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacement?(IncludedItem14 @this) => @this.AppAssetLibraryPlacements; + + /// + /// + /// + public IncludedItem14(global::AppStoreConnect.AppAssetLibraryPlacement? value) + { + AppAssetLibraryPlacements = value; + } + + /// + /// + /// + public static IncludedItem14 FromAppAssetLibraryPlacements(global::AppStoreConnect.AppAssetLibraryPlacement? value) => new IncludedItem14(value); + + /// + /// + /// + public static implicit operator IncludedItem14(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem14((global::AppStoreConnect.AppCustomProductPageVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem14 @this) => @this.AppCustomProductPageVersions; + + /// + /// + /// + public IncludedItem14(global::AppStoreConnect.AppCustomProductPageVersion? value) + { + AppCustomProductPageVersions = value; + } + + /// + /// + /// + public static IncludedItem14 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem14(value); + /// /// /// - public static implicit operator IncludedItem14(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem14((global::AppStoreConnect.AppCustomProductPageLocalization?)value); + public static implicit operator IncludedItem14(global::AppStoreConnect.AppKeyword value) => new IncludedItem14((global::AppStoreConnect.AppKeyword?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem14 @this) => @this.AppCustomProductPageLocalizations1; + public static implicit operator global::AppStoreConnect.AppKeyword?(IncludedItem14 @this) => @this.AppKeywords; /// /// /// - public IncludedItem14(global::AppStoreConnect.AppCustomProductPageLocalization? value) + public IncludedItem14(global::AppStoreConnect.AppKeyword? value) { - AppCustomProductPageLocalizations1 = value; + AppKeywords = value; } /// /// /// - public static IncludedItem14 FromAppCustomProductPageLocalizations1(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem14(value); + public static IncludedItem14 FromAppKeywords(global::AppStoreConnect.AppKeyword? value) => new IncludedItem14(value); /// /// /// - public static implicit operator IncludedItem14(global::AppStoreConnect.AppCustomProductPage value) => new IncludedItem14((global::AppStoreConnect.AppCustomProductPage?)value); + public static implicit operator IncludedItem14(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem14((global::AppStoreConnect.AppPreviewSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppCustomProductPage?(IncludedItem14 @this) => @this.AppCustomProductPageLocalizations2; + public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem14 @this) => @this.AppPreviewSets; /// /// /// - public IncludedItem14(global::AppStoreConnect.AppCustomProductPage? value) + public IncludedItem14(global::AppStoreConnect.AppPreviewSet? value) { - AppCustomProductPageLocalizations2 = value; + AppPreviewSets = value; } /// /// /// - public static IncludedItem14 FromAppCustomProductPageLocalizations2(global::AppStoreConnect.AppCustomProductPage? value) => new IncludedItem14(value); + public static IncludedItem14 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem14(value); + + /// + /// + /// + public static implicit operator IncludedItem14(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem14((global::AppStoreConnect.AppScreenshotSet?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem14 @this) => @this.AppScreenshotSets; + + /// + /// + /// + public IncludedItem14(global::AppStoreConnect.AppScreenshotSet? value) + { + AppScreenshotSets = value; + } + + /// + /// + /// + public static IncludedItem14 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem14(value); /// /// /// public IncludedItem14( - global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1, - global::AppStoreConnect.AppCustomProductPage? appCustomProductPageLocalizations2 + global::AppStoreConnect.AppCustomProductPageLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements, + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, + global::AppStoreConnect.AppKeyword? appKeywords, + global::AppStoreConnect.AppPreviewSet? appPreviewSets, + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets ) { Type = type; - AppCustomProductPageLocalizations1 = appCustomProductPageLocalizations1; - AppCustomProductPageLocalizations2 = appCustomProductPageLocalizations2; + AppAssetLibraryPlacements = appAssetLibraryPlacements; + AppCustomProductPageVersions = appCustomProductPageVersions; + AppKeywords = appKeywords; + AppPreviewSets = appPreviewSets; + AppScreenshotSets = appScreenshotSets; } /// /// /// public object? Object => - AppCustomProductPageLocalizations2 as object ?? - AppCustomProductPageLocalizations1 as object + AppScreenshotSets as object ?? + AppPreviewSets as object ?? + AppKeywords as object ?? + AppCustomProductPageVersions as object ?? + AppAssetLibraryPlacements as object ; /// /// /// public override string? ToString() => - AppCustomProductPageLocalizations1?.ToString() ?? - AppCustomProductPageLocalizations2?.ToString() + AppAssetLibraryPlacements?.ToString() ?? + AppCustomProductPageVersions?.ToString() ?? + AppKeywords?.ToString() ?? + AppPreviewSets?.ToString() ?? + AppScreenshotSets?.ToString() ; /// @@ -169,15 +361,18 @@ AppCustomProductPageLocalizations1 as object /// public bool Validate() { - return IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && IsAppCustomProductPageLocalizations2; + return IsAppAssetLibraryPlacements && !IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppAssetLibraryPlacements && IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppAssetLibraryPlacements && !IsAppCustomProductPageVersions && IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets || !IsAppAssetLibraryPlacements && !IsAppCustomProductPageVersions && !IsAppKeywords && IsAppPreviewSets && !IsAppScreenshotSets || !IsAppAssetLibraryPlacements && !IsAppCustomProductPageVersions && !IsAppKeywords && !IsAppPreviewSets && IsAppScreenshotSets; } /// /// /// public TResult? Match( - global::System.Func? appCustomProductPageLocalizations1 = null, - global::System.Func? appCustomProductPageLocalizations2 = null, + global::System.Func? appAssetLibraryPlacements = null, + global::System.Func? appCustomProductPageVersions = null, + global::System.Func? appKeywords = null, + global::System.Func? appPreviewSets = null, + global::System.Func? appScreenshotSets = null, bool validate = true) { if (validate) @@ -185,13 +380,25 @@ public bool Validate() Validate(); } - if (AppCustomProductPageLocalizations1 is { } __value0 && appCustomProductPageLocalizations1 != null) + if (AppAssetLibraryPlacements is { } __value0 && appAssetLibraryPlacements != null) + { + return appAssetLibraryPlacements(__value0); + } + else if (AppCustomProductPageVersions is { } __value1 && appCustomProductPageVersions != null) { - return appCustomProductPageLocalizations1(__value0); + return appCustomProductPageVersions(__value1); } - else if (AppCustomProductPageLocalizations2 is { } __value1 && appCustomProductPageLocalizations2 != null) + else if (AppKeywords is { } __value2 && appKeywords != null) { - return appCustomProductPageLocalizations2(__value1); + return appKeywords(__value2); + } + else if (AppPreviewSets is { } __value3 && appPreviewSets != null) + { + return appPreviewSets(__value3); + } + else if (AppScreenshotSets is { } __value4 && appScreenshotSets != null) + { + return appScreenshotSets(__value4); } return default(TResult); @@ -201,9 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? appCustomProductPageLocalizations1 = null, + global::System.Action? appAssetLibraryPlacements = null, + + global::System.Action? appCustomProductPageVersions = null, - global::System.Action? appCustomProductPageLocalizations2 = null, + global::System.Action? appKeywords = null, + + global::System.Action? appPreviewSets = null, + + global::System.Action? appScreenshotSets = null, bool validate = true) { if (validate) @@ -211,13 +424,25 @@ public void Match( Validate(); } - if (AppCustomProductPageLocalizations1 is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) { - appCustomProductPageLocalizations1?.Invoke(__value0); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppCustomProductPageLocalizations2 is { } __value1) + else if (AppCustomProductPageVersions is { } __value1) { - appCustomProductPageLocalizations2?.Invoke(__value1); + appCustomProductPageVersions?.Invoke(__value1); + } + else if (AppKeywords is { } __value2) + { + appKeywords?.Invoke(__value2); + } + else if (AppPreviewSets is { } __value3) + { + appPreviewSets?.Invoke(__value3); + } + else if (AppScreenshotSets is { } __value4) + { + appScreenshotSets?.Invoke(__value4); } } @@ -225,8 +450,11 @@ public void Match( /// /// public void Switch( - global::System.Action? appCustomProductPageLocalizations1 = null, - global::System.Action? appCustomProductPageLocalizations2 = null, + global::System.Action? appAssetLibraryPlacements = null, + global::System.Action? appCustomProductPageVersions = null, + global::System.Action? appKeywords = null, + global::System.Action? appPreviewSets = null, + global::System.Action? appScreenshotSets = null, bool validate = true) { if (validate) @@ -234,13 +462,25 @@ public void Switch( Validate(); } - if (AppCustomProductPageLocalizations1 is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) + { + appAssetLibraryPlacements?.Invoke(__value0); + } + else if (AppCustomProductPageVersions is { } __value1) + { + appCustomProductPageVersions?.Invoke(__value1); + } + else if (AppKeywords is { } __value2) + { + appKeywords?.Invoke(__value2); + } + else if (AppPreviewSets is { } __value3) { - appCustomProductPageLocalizations1?.Invoke(__value0); + appPreviewSets?.Invoke(__value3); } - else if (AppCustomProductPageLocalizations2 is { } __value1) + else if (AppScreenshotSets is { } __value4) { - appCustomProductPageLocalizations2?.Invoke(__value1); + appScreenshotSets?.Invoke(__value4); } } @@ -251,10 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - AppCustomProductPageLocalizations1, - typeof(global::AppStoreConnect.AppCustomProductPageLocalization), - AppCustomProductPageLocalizations2, - typeof(global::AppStoreConnect.AppCustomProductPage), + AppAssetLibraryPlacements, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + AppCustomProductPageVersions, + typeof(global::AppStoreConnect.AppCustomProductPageVersion), + AppKeywords, + typeof(global::AppStoreConnect.AppKeyword), + AppPreviewSets, + typeof(global::AppStoreConnect.AppPreviewSet), + AppScreenshotSets, + typeof(global::AppStoreConnect.AppScreenshotSet), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem14 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations1, other.AppCustomProductPageLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations2, other.AppCustomProductPageLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacements, other.AppAssetLibraryPlacements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppKeywords, other.AppKeywords) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem140.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem140.Json.g.cs new file mode 100644 index 000000000..2be8ad7cf --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem140.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct IncludedItem140 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.IncludedItem140? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.IncludedItem140), + jsonSerializerContext) as global::AppStoreConnect.IncludedItem140?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.IncludedItem140? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.IncludedItem140? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.IncludedItem140), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem140?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem140.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem140.g.cs new file mode 100644 index 000000000..63479a613 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem140.g.cs @@ -0,0 +1,303 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct IncludedItem140 : global::System.IEquatable + { + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; init; } +#else + public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePricePoints))] +#endif + public bool IsInAppPurchasePricePoints => InAppPurchasePricePoints != null; + + /// + /// + /// + public bool TryPickInAppPurchasePricePoints( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchasePricePoint? value) + { + value = InAppPurchasePricePoints; + return IsInAppPurchasePricePoints; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePricePoint PickInAppPurchasePricePoints() => InAppPurchasePricePoints is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePricePoints' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Territory? Territories { get; init; } +#else + public global::AppStoreConnect.Territory? Territories { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] +#endif + public bool IsTerritories => Territories != null; + + /// + /// + /// + public bool TryPickTerritories( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Territory? value) + { + value = Territories; + return IsTerritories; + } + + /// + /// + /// + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem140(global::AppStoreConnect.InAppPurchasePricePoint value) => new IncludedItem140((global::AppStoreConnect.InAppPurchasePricePoint?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchasePricePoint?(IncludedItem140 @this) => @this.InAppPurchasePricePoints; + + /// + /// + /// + public IncludedItem140(global::AppStoreConnect.InAppPurchasePricePoint? value) + { + InAppPurchasePricePoints = value; + } + + /// + /// + /// + public static IncludedItem140 FromInAppPurchasePricePoints(global::AppStoreConnect.InAppPurchasePricePoint? value) => new IncludedItem140(value); + + /// + /// + /// + public static implicit operator IncludedItem140(global::AppStoreConnect.Territory value) => new IncludedItem140((global::AppStoreConnect.Territory?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem140 @this) => @this.Territories; + + /// + /// + /// + public IncludedItem140(global::AppStoreConnect.Territory? value) + { + Territories = value; + } + + /// + /// + /// + public static IncludedItem140 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem140(value); + + /// + /// + /// + public IncludedItem140( + global::AppStoreConnect.InAppPurchaseOfferPricesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints, + global::AppStoreConnect.Territory? territories + ) + { + Type = type; + + InAppPurchasePricePoints = inAppPurchasePricePoints; + Territories = territories; + } + + /// + /// + /// + public object? Object => + Territories as object ?? + InAppPurchasePricePoints as object + ; + + /// + /// + /// + public override string? ToString() => + InAppPurchasePricePoints?.ToString() ?? + Territories?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsInAppPurchasePricePoints && !IsTerritories || !IsInAppPurchasePricePoints && IsTerritories; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? inAppPurchasePricePoints = null, + global::System.Func? territories = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (InAppPurchasePricePoints is { } __value0 && inAppPurchasePricePoints != null) + { + return inAppPurchasePricePoints(__value0); + } + else if (Territories is { } __value1 && territories != null) + { + return territories(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? inAppPurchasePricePoints = null, + + global::System.Action? territories = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (InAppPurchasePricePoints is { } __value0) + { + inAppPurchasePricePoints?.Invoke(__value0); + } + else if (Territories is { } __value1) + { + territories?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? inAppPurchasePricePoints = null, + global::System.Action? territories = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (InAppPurchasePricePoints is { } __value0) + { + inAppPurchasePricePoints?.Invoke(__value0); + } + else if (Territories is { } __value1) + { + territories?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + InAppPurchasePricePoints, + typeof(global::AppStoreConnect.InAppPurchasePricePoint), + Territories, + typeof(global::AppStoreConnect.Territory), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(IncludedItem140 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePricePoints, other.InAppPurchasePricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + ; + } + + /// + /// + /// + public static bool operator ==(IncludedItem140 obj1, IncludedItem140 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(IncludedItem140 obj1, IncludedItem140 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is IncludedItem140 o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem141.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem141.g.cs index 20c0f4392..1db2082be 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem141.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem141.g.cs @@ -12,44 +12,44 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; init; } + public global::AppStoreConnect.InAppPurchasePrice? InAppPurchasePrices { get; init; } #else - public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; } + public global::AppStoreConnect.InAppPurchasePrice? InAppPurchasePrices { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePricePoints))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePrices))] #endif - public bool IsInAppPurchasePricePoints => InAppPurchasePricePoints != null; + public bool IsInAppPurchasePrices => InAppPurchasePrices != null; /// /// /// - public bool TryPickInAppPurchasePricePoints( + public bool TryPickInAppPurchasePrices( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchasePricePoint? value) + out global::AppStoreConnect.InAppPurchasePrice? value) { - value = InAppPurchasePricePoints; - return IsInAppPurchasePricePoints; + value = InAppPurchasePrices; + return IsInAppPurchasePrices; } /// /// /// - public global::AppStoreConnect.InAppPurchasePricePoint PickInAppPurchasePricePoints() => InAppPurchasePricePoints is { } value + public global::AppStoreConnect.InAppPurchasePrice PickInAppPurchasePrices() => InAppPurchasePrices is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePricePoints' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePrices' but the value was {ToString()}."); /// /// @@ -90,25 +90,25 @@ public bool TryPickTerritories( /// /// /// - public static implicit operator IncludedItem141(global::AppStoreConnect.InAppPurchasePricePoint value) => new IncludedItem141((global::AppStoreConnect.InAppPurchasePricePoint?)value); + public static implicit operator IncludedItem141(global::AppStoreConnect.InAppPurchasePrice value) => new IncludedItem141((global::AppStoreConnect.InAppPurchasePrice?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchasePricePoint?(IncludedItem141 @this) => @this.InAppPurchasePricePoints; + public static implicit operator global::AppStoreConnect.InAppPurchasePrice?(IncludedItem141 @this) => @this.InAppPurchasePrices; /// /// /// - public IncludedItem141(global::AppStoreConnect.InAppPurchasePricePoint? value) + public IncludedItem141(global::AppStoreConnect.InAppPurchasePrice? value) { - InAppPurchasePricePoints = value; + InAppPurchasePrices = value; } /// /// /// - public static IncludedItem141 FromInAppPurchasePricePoints(global::AppStoreConnect.InAppPurchasePricePoint? value) => new IncludedItem141(value); + public static IncludedItem141 FromInAppPurchasePrices(global::AppStoreConnect.InAppPurchasePrice? value) => new IncludedItem141(value); /// /// @@ -137,14 +137,14 @@ public IncludedItem141(global::AppStoreConnect.Territory? value) /// /// public IncludedItem141( - global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints, + global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchasePrice? inAppPurchasePrices, global::AppStoreConnect.Territory? territories ) { Type = type; - InAppPurchasePricePoints = inAppPurchasePricePoints; + InAppPurchasePrices = inAppPurchasePrices; Territories = territories; } @@ -153,14 +153,14 @@ public IncludedItem141( /// public object? Object => Territories as object ?? - InAppPurchasePricePoints as object + InAppPurchasePrices as object ; /// /// /// public override string? ToString() => - InAppPurchasePricePoints?.ToString() ?? + InAppPurchasePrices?.ToString() ?? Territories?.ToString() ; @@ -169,14 +169,14 @@ InAppPurchasePricePoints as object /// public bool Validate() { - return IsInAppPurchasePricePoints && !IsTerritories || !IsInAppPurchasePricePoints && IsTerritories; + return IsInAppPurchasePrices && !IsTerritories || !IsInAppPurchasePrices && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchasePricePoints = null, + global::System.Func? inAppPurchasePrices = null, global::System.Func? territories = null, bool validate = true) { @@ -185,9 +185,9 @@ public bool Validate() Validate(); } - if (InAppPurchasePricePoints is { } __value0 && inAppPurchasePricePoints != null) + if (InAppPurchasePrices is { } __value0 && inAppPurchasePrices != null) { - return inAppPurchasePricePoints(__value0); + return inAppPurchasePrices(__value0); } else if (Territories is { } __value1 && territories != null) { @@ -201,7 +201,7 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchasePricePoints = null, + global::System.Action? inAppPurchasePrices = null, global::System.Action? territories = null, bool validate = true) @@ -211,9 +211,9 @@ public void Match( Validate(); } - if (InAppPurchasePricePoints is { } __value0) + if (InAppPurchasePrices is { } __value0) { - inAppPurchasePricePoints?.Invoke(__value0); + inAppPurchasePrices?.Invoke(__value0); } else if (Territories is { } __value1) { @@ -225,7 +225,7 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchasePricePoints = null, + global::System.Action? inAppPurchasePrices = null, global::System.Action? territories = null, bool validate = true) { @@ -234,9 +234,9 @@ public void Switch( Validate(); } - if (InAppPurchasePricePoints is { } __value0) + if (InAppPurchasePrices is { } __value0) { - inAppPurchasePricePoints?.Invoke(__value0); + inAppPurchasePrices?.Invoke(__value0); } else if (Territories is { } __value1) { @@ -251,8 +251,8 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchasePricePoints, - typeof(global::AppStoreConnect.InAppPurchasePricePoint), + InAppPurchasePrices, + typeof(global::AppStoreConnect.InAppPurchasePrice), Territories, typeof(global::AppStoreConnect.Territory), }; @@ -271,7 +271,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem141 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePricePoints, other.InAppPurchasePricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePrices, other.InAppPurchasePrices) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem142.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem142.g.cs deleted file mode 100644 index df0816e99..000000000 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem142.g.cs +++ /dev/null @@ -1,386 +0,0 @@ -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace AppStoreConnect -{ - /// - /// - /// - public readonly partial struct IncludedItem142 : global::System.IEquatable - { - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType? Type { get; } - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseImageV2? InAppPurchaseImages { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseImageV2? InAppPurchaseImages { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseImages))] -#endif - public bool IsInAppPurchaseImages => InAppPurchaseImages != null; - - /// - /// - /// - public bool TryPickInAppPurchaseImages( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseImageV2? value) - { - value = InAppPurchaseImages; - return IsInAppPurchaseImages; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseImageV2 PickInAppPurchaseImages() => InAppPurchaseImages is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseImages' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseLocalizationV2? InAppPurchaseLocalizations { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseLocalizationV2? InAppPurchaseLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseLocalizations))] -#endif - public bool IsInAppPurchaseLocalizations => InAppPurchaseLocalizations != null; - - /// - /// - /// - public bool TryPickInAppPurchaseLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseLocalizationV2? value) - { - value = InAppPurchaseLocalizations; - return IsInAppPurchaseLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2 PickInAppPurchaseLocalizations() => InAppPurchaseLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] -#endif - public bool IsInAppPurchases => InAppPurchases != null; - - /// - /// - /// - public bool TryPickInAppPurchases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseV2? value) - { - value = InAppPurchases; - return IsInAppPurchases; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseV2 PickInAppPurchases() => InAppPurchases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem142(global::AppStoreConnect.InAppPurchaseImageV2 value) => new IncludedItem142((global::AppStoreConnect.InAppPurchaseImageV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseImageV2?(IncludedItem142 @this) => @this.InAppPurchaseImages; - - /// - /// - /// - public IncludedItem142(global::AppStoreConnect.InAppPurchaseImageV2? value) - { - InAppPurchaseImages = value; - } - - /// - /// - /// - public static IncludedItem142 FromInAppPurchaseImages(global::AppStoreConnect.InAppPurchaseImageV2? value) => new IncludedItem142(value); - - /// - /// - /// - public static implicit operator IncludedItem142(global::AppStoreConnect.InAppPurchaseLocalizationV2 value) => new IncludedItem142((global::AppStoreConnect.InAppPurchaseLocalizationV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseLocalizationV2?(IncludedItem142 @this) => @this.InAppPurchaseLocalizations; - - /// - /// - /// - public IncludedItem142(global::AppStoreConnect.InAppPurchaseLocalizationV2? value) - { - InAppPurchaseLocalizations = value; - } - - /// - /// - /// - public static IncludedItem142 FromInAppPurchaseLocalizations(global::AppStoreConnect.InAppPurchaseLocalizationV2? value) => new IncludedItem142(value); - - /// - /// - /// - public static implicit operator IncludedItem142(global::AppStoreConnect.InAppPurchaseV2 value) => new IncludedItem142((global::AppStoreConnect.InAppPurchaseV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseV2?(IncludedItem142 @this) => @this.InAppPurchases; - - /// - /// - /// - public IncludedItem142(global::AppStoreConnect.InAppPurchaseV2? value) - { - InAppPurchases = value; - } - - /// - /// - /// - public static IncludedItem142 FromInAppPurchases(global::AppStoreConnect.InAppPurchaseV2? value) => new IncludedItem142(value); - - /// - /// - /// - public IncludedItem142( - global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchaseImageV2? inAppPurchaseImages, - global::AppStoreConnect.InAppPurchaseLocalizationV2? inAppPurchaseLocalizations, - global::AppStoreConnect.InAppPurchaseV2? inAppPurchases - ) - { - Type = type; - - InAppPurchaseImages = inAppPurchaseImages; - InAppPurchaseLocalizations = inAppPurchaseLocalizations; - InAppPurchases = inAppPurchases; - } - - /// - /// - /// - public object? Object => - InAppPurchases as object ?? - InAppPurchaseLocalizations as object ?? - InAppPurchaseImages as object - ; - - /// - /// - /// - public override string? ToString() => - InAppPurchaseImages?.ToString() ?? - InAppPurchaseLocalizations?.ToString() ?? - InAppPurchases?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchases || !IsInAppPurchaseImages && IsInAppPurchaseLocalizations && !IsInAppPurchases || !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && IsInAppPurchases; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? inAppPurchaseImages = null, - global::System.Func? inAppPurchaseLocalizations = null, - global::System.Func? inAppPurchases = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (InAppPurchaseImages is { } __value0 && inAppPurchaseImages != null) - { - return inAppPurchaseImages(__value0); - } - else if (InAppPurchaseLocalizations is { } __value1 && inAppPurchaseLocalizations != null) - { - return inAppPurchaseLocalizations(__value1); - } - else if (InAppPurchases is { } __value2 && inAppPurchases != null) - { - return inAppPurchases(__value2); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? inAppPurchaseImages = null, - - global::System.Action? inAppPurchaseLocalizations = null, - - global::System.Action? inAppPurchases = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (InAppPurchaseImages is { } __value0) - { - inAppPurchaseImages?.Invoke(__value0); - } - else if (InAppPurchaseLocalizations is { } __value1) - { - inAppPurchaseLocalizations?.Invoke(__value1); - } - else if (InAppPurchases is { } __value2) - { - inAppPurchases?.Invoke(__value2); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? inAppPurchaseImages = null, - global::System.Action? inAppPurchaseLocalizations = null, - global::System.Action? inAppPurchases = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (InAppPurchaseImages is { } __value0) - { - inAppPurchaseImages?.Invoke(__value0); - } - else if (InAppPurchaseLocalizations is { } __value1) - { - inAppPurchaseLocalizations?.Invoke(__value1); - } - else if (InAppPurchases is { } __value2) - { - inAppPurchases?.Invoke(__value2); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - InAppPurchaseImages, - typeof(global::AppStoreConnect.InAppPurchaseImageV2), - InAppPurchaseLocalizations, - typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), - InAppPurchases, - typeof(global::AppStoreConnect.InAppPurchaseV2), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(IncludedItem142 other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseImages, other.InAppPurchaseImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseLocalizations, other.InAppPurchaseLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) - ; - } - - /// - /// - /// - public static bool operator ==(IncludedItem142 obj1, IncludedItem142 obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(IncludedItem142 obj1, IncludedItem142 obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is IncludedItem142 o && Equals(o); - } - } -} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem143.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem143.g.cs index 0f000e67e..346a0dd3c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem143.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem143.g.cs @@ -12,220 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseImageV2? InAppPurchaseImages { get; init; } + public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; init; } #else - public global::AppStoreConnect.InAppPurchaseImageV2? InAppPurchaseImages { get; } + public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePricePoints))] #endif - public bool IsInAppPurchaseImages => InAppPurchaseImages != null; + public bool IsInAppPurchasePricePoints => InAppPurchasePricePoints != null; /// /// /// - public bool TryPickInAppPurchaseImages( + public bool TryPickInAppPurchasePricePoints( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseImageV2? value) + out global::AppStoreConnect.InAppPurchasePricePoint? value) { - value = InAppPurchaseImages; - return IsInAppPurchaseImages; + value = InAppPurchasePricePoints; + return IsInAppPurchasePricePoints; } /// /// /// - public global::AppStoreConnect.InAppPurchaseImageV2 PickInAppPurchaseImages() => InAppPurchaseImages is { } value + public global::AppStoreConnect.InAppPurchasePricePoint PickInAppPurchasePricePoints() => InAppPurchasePricePoints is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePricePoints' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseLocalizationV2? InAppPurchaseLocalizations { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.InAppPurchaseLocalizationV2? InAppPurchaseLocalizations { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsInAppPurchaseLocalizations => InAppPurchaseLocalizations != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickInAppPurchaseLocalizations( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseLocalizationV2? value) + out global::AppStoreConnect.Territory? value) { - value = InAppPurchaseLocalizations; - return IsInAppPurchaseLocalizations; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalizationV2 PickInAppPurchaseLocalizations() => InAppPurchaseLocalizations is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] -#endif - public bool IsInAppPurchases => InAppPurchases != null; - - /// - /// - /// - public bool TryPickInAppPurchases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseV2? value) - { - value = InAppPurchases; - return IsInAppPurchases; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseV2 PickInAppPurchases() => InAppPurchases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem143(global::AppStoreConnect.InAppPurchaseImageV2 value) => new IncludedItem143((global::AppStoreConnect.InAppPurchaseImageV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseImageV2?(IncludedItem143 @this) => @this.InAppPurchaseImages; - - /// - /// - /// - public IncludedItem143(global::AppStoreConnect.InAppPurchaseImageV2? value) - { - InAppPurchaseImages = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); /// /// /// - public static IncludedItem143 FromInAppPurchaseImages(global::AppStoreConnect.InAppPurchaseImageV2? value) => new IncludedItem143(value); + public static implicit operator IncludedItem143(global::AppStoreConnect.InAppPurchasePricePoint value) => new IncludedItem143((global::AppStoreConnect.InAppPurchasePricePoint?)value); /// /// /// - public static implicit operator IncludedItem143(global::AppStoreConnect.InAppPurchaseLocalizationV2 value) => new IncludedItem143((global::AppStoreConnect.InAppPurchaseLocalizationV2?)value); + public static implicit operator global::AppStoreConnect.InAppPurchasePricePoint?(IncludedItem143 @this) => @this.InAppPurchasePricePoints; /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseLocalizationV2?(IncludedItem143 @this) => @this.InAppPurchaseLocalizations; - - /// - /// - /// - public IncludedItem143(global::AppStoreConnect.InAppPurchaseLocalizationV2? value) + public IncludedItem143(global::AppStoreConnect.InAppPurchasePricePoint? value) { - InAppPurchaseLocalizations = value; + InAppPurchasePricePoints = value; } /// /// /// - public static IncludedItem143 FromInAppPurchaseLocalizations(global::AppStoreConnect.InAppPurchaseLocalizationV2? value) => new IncludedItem143(value); + public static IncludedItem143 FromInAppPurchasePricePoints(global::AppStoreConnect.InAppPurchasePricePoint? value) => new IncludedItem143(value); /// /// /// - public static implicit operator IncludedItem143(global::AppStoreConnect.InAppPurchaseV2 value) => new IncludedItem143((global::AppStoreConnect.InAppPurchaseV2?)value); + public static implicit operator IncludedItem143(global::AppStoreConnect.Territory value) => new IncludedItem143((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseV2?(IncludedItem143 @this) => @this.InAppPurchases; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem143 @this) => @this.Territories; /// /// /// - public IncludedItem143(global::AppStoreConnect.InAppPurchaseV2? value) + public IncludedItem143(global::AppStoreConnect.Territory? value) { - InAppPurchases = value; + Territories = value; } /// /// /// - public static IncludedItem143 FromInAppPurchases(global::AppStoreConnect.InAppPurchaseV2? value) => new IncludedItem143(value); + public static IncludedItem143 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem143(value); /// /// /// public IncludedItem143( - global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchaseImageV2? inAppPurchaseImages, - global::AppStoreConnect.InAppPurchaseLocalizationV2? inAppPurchaseLocalizations, - global::AppStoreConnect.InAppPurchaseV2? inAppPurchases + global::AppStoreConnect.InAppPurchasePricesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints, + global::AppStoreConnect.Territory? territories ) { Type = type; - InAppPurchaseImages = inAppPurchaseImages; - InAppPurchaseLocalizations = inAppPurchaseLocalizations; - InAppPurchases = inAppPurchases; + InAppPurchasePricePoints = inAppPurchasePricePoints; + Territories = territories; } /// /// /// public object? Object => - InAppPurchases as object ?? - InAppPurchaseLocalizations as object ?? - InAppPurchaseImages as object + Territories as object ?? + InAppPurchasePricePoints as object ; /// /// /// public override string? ToString() => - InAppPurchaseImages?.ToString() ?? - InAppPurchaseLocalizations?.ToString() ?? - InAppPurchases?.ToString() + InAppPurchasePricePoints?.ToString() ?? + Territories?.ToString() ; /// @@ -233,16 +169,15 @@ InAppPurchaseImages as object /// public bool Validate() { - return IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchases || !IsInAppPurchaseImages && IsInAppPurchaseLocalizations && !IsInAppPurchases || !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && IsInAppPurchases; + return IsInAppPurchasePricePoints && !IsTerritories || !IsInAppPurchasePricePoints && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchaseImages = null, - global::System.Func? inAppPurchaseLocalizations = null, - global::System.Func? inAppPurchases = null, + global::System.Func? inAppPurchasePricePoints = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (InAppPurchaseImages is { } __value0 && inAppPurchaseImages != null) + if (InAppPurchasePricePoints is { } __value0 && inAppPurchasePricePoints != null) { - return inAppPurchaseImages(__value0); + return inAppPurchasePricePoints(__value0); } - else if (InAppPurchaseLocalizations is { } __value1 && inAppPurchaseLocalizations != null) + else if (Territories is { } __value1 && territories != null) { - return inAppPurchaseLocalizations(__value1); - } - else if (InAppPurchases is { } __value2 && inAppPurchases != null) - { - return inAppPurchases(__value2); + return territories(__value1); } return default(TResult); @@ -270,11 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchaseImages = null, - - global::System.Action? inAppPurchaseLocalizations = null, + global::System.Action? inAppPurchasePricePoints = null, - global::System.Action? inAppPurchases = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (InAppPurchaseImages is { } __value0) - { - inAppPurchaseImages?.Invoke(__value0); - } - else if (InAppPurchaseLocalizations is { } __value1) + if (InAppPurchasePricePoints is { } __value0) { - inAppPurchaseLocalizations?.Invoke(__value1); + inAppPurchasePricePoints?.Invoke(__value0); } - else if (InAppPurchases is { } __value2) + else if (Territories is { } __value1) { - inAppPurchases?.Invoke(__value2); + territories?.Invoke(__value1); } } @@ -300,9 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchaseImages = null, - global::System.Action? inAppPurchaseLocalizations = null, - global::System.Action? inAppPurchases = null, + global::System.Action? inAppPurchasePricePoints = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (InAppPurchaseImages is { } __value0) - { - inAppPurchaseImages?.Invoke(__value0); - } - else if (InAppPurchaseLocalizations is { } __value1) + if (InAppPurchasePricePoints is { } __value0) { - inAppPurchaseLocalizations?.Invoke(__value1); + inAppPurchasePricePoints?.Invoke(__value0); } - else if (InAppPurchases is { } __value2) + else if (Territories is { } __value1) { - inAppPurchases?.Invoke(__value2); + territories?.Invoke(__value1); } } @@ -331,12 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchaseImages, - typeof(global::AppStoreConnect.InAppPurchaseImageV2), - InAppPurchaseLocalizations, - typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), - InAppPurchases, - typeof(global::AppStoreConnect.InAppPurchaseV2), + InAppPurchasePricePoints, + typeof(global::AppStoreConnect.InAppPurchasePricePoint), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem143 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseImages, other.InAppPurchaseImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseLocalizations, other.InAppPurchaseLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePricePoints, other.InAppPurchasePricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem144.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem144.g.cs index 0497c24f0..b74cfcf2a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem144.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem144.g.cs @@ -12,126 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? InAppPurchaseAppStoreReviewScreenshots { get; init; } + public global::AppStoreConnect.InAppPurchaseImageV2? InAppPurchaseImages { get; init; } #else - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? InAppPurchaseAppStoreReviewScreenshots { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseAppStoreReviewScreenshots))] -#endif - public bool IsInAppPurchaseAppStoreReviewScreenshots => InAppPurchaseAppStoreReviewScreenshots != null; - - /// - /// - /// - public bool TryPickInAppPurchaseAppStoreReviewScreenshots( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) - { - value = InAppPurchaseAppStoreReviewScreenshots; - return IsInAppPurchaseAppStoreReviewScreenshots; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot PickInAppPurchaseAppStoreReviewScreenshots() => InAppPurchaseAppStoreReviewScreenshots is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseAppStoreReviewScreenshots' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseAvailability? InAppPurchaseAvailabilities { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseAvailability? InAppPurchaseAvailabilities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseAvailabilities))] -#endif - public bool IsInAppPurchaseAvailabilities => InAppPurchaseAvailabilities != null; - - /// - /// - /// - public bool TryPickInAppPurchaseAvailabilities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseAvailability? value) - { - value = InAppPurchaseAvailabilities; - return IsInAppPurchaseAvailabilities; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseAvailability PickInAppPurchaseAvailabilities() => InAppPurchaseAvailabilities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseAvailabilities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseContent? InAppPurchaseContents { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseContent? InAppPurchaseContents { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseContents))] -#endif - public bool IsInAppPurchaseContents => InAppPurchaseContents != null; - - /// - /// - /// - public bool TryPickInAppPurchaseContents( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseContent? value) - { - value = InAppPurchaseContents; - return IsInAppPurchaseContents; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseContent PickInAppPurchaseContents() => InAppPurchaseContents is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseContents' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseImage? InAppPurchaseImages { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseImage? InAppPurchaseImages { get; } + public global::AppStoreConnect.InAppPurchaseImageV2? InAppPurchaseImages { get; } #endif /// @@ -149,7 +38,7 @@ public bool TryPickInAppPurchaseImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseImage? value) + out global::AppStoreConnect.InAppPurchaseImageV2? value) { value = InAppPurchaseImages; return IsInAppPurchaseImages; @@ -158,7 +47,7 @@ public bool TryPickInAppPurchaseImages( /// /// /// - public global::AppStoreConnect.InAppPurchaseImage PickInAppPurchaseImages() => InAppPurchaseImages is { } value + public global::AppStoreConnect.InAppPurchaseImageV2 PickInAppPurchaseImages() => InAppPurchaseImages is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseImages' but the value was {ToString()}."); @@ -166,9 +55,9 @@ public bool TryPickInAppPurchaseImages( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseLocalization? InAppPurchaseLocalizations { get; init; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2? InAppPurchaseLocalizations { get; init; } #else - public global::AppStoreConnect.InAppPurchaseLocalization? InAppPurchaseLocalizations { get; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2? InAppPurchaseLocalizations { get; } #endif /// @@ -186,7 +75,7 @@ public bool TryPickInAppPurchaseLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseLocalization? value) + out global::AppStoreConnect.InAppPurchaseLocalizationV2? value) { value = InAppPurchaseLocalizations; return IsInAppPurchaseLocalizations; @@ -195,7 +84,7 @@ public bool TryPickInAppPurchaseLocalizations( /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalization PickInAppPurchaseLocalizations() => InAppPurchaseLocalizations is { } value + public global::AppStoreConnect.InAppPurchaseLocalizationV2 PickInAppPurchaseLocalizations() => InAppPurchaseLocalizations is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseLocalizations' but the value was {ToString()}."); @@ -203,269 +92,52 @@ public bool TryPickInAppPurchaseLocalizations( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseOfferCode? InAppPurchaseOfferCodes { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseOfferCode? InAppPurchaseOfferCodes { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodes))] -#endif - public bool IsInAppPurchaseOfferCodes => InAppPurchaseOfferCodes != null; - - /// - /// - /// - public bool TryPickInAppPurchaseOfferCodes( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseOfferCode? value) - { - value = InAppPurchaseOfferCodes; - return IsInAppPurchaseOfferCodes; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseOfferCode PickInAppPurchaseOfferCodes() => InAppPurchaseOfferCodes is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodes' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; init; } -#else - public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePricePoints))] -#endif - public bool IsInAppPurchasePricePoints => InAppPurchasePricePoints != null; - - /// - /// - /// - public bool TryPickInAppPurchasePricePoints( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchasePricePoint? value) - { - value = InAppPurchasePricePoints; - return IsInAppPurchasePricePoints; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchasePricePoint PickInAppPurchasePricePoints() => InAppPurchasePricePoints is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePricePoints' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchasePriceSchedule? InAppPurchasePriceSchedules { get; init; } -#else - public global::AppStoreConnect.InAppPurchasePriceSchedule? InAppPurchasePriceSchedules { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePriceSchedules))] -#endif - public bool IsInAppPurchasePriceSchedules => InAppPurchasePriceSchedules != null; - - /// - /// - /// - public bool TryPickInAppPurchasePriceSchedules( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchasePriceSchedule? value) - { - value = InAppPurchasePriceSchedules; - return IsInAppPurchasePriceSchedules; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchasePriceSchedule PickInAppPurchasePriceSchedules() => InAppPurchasePriceSchedules is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePriceSchedules' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseVersions))] -#endif - public bool IsInAppPurchaseVersions => InAppPurchaseVersions != null; - - /// - /// - /// - public bool TryPickInAppPurchaseVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseVersion? value) - { - value = InAppPurchaseVersions; - return IsInAppPurchaseVersions; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseVersion PickInAppPurchaseVersions() => InAppPurchaseVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } + public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; init; } #else - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } + public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] #endif - public bool IsPromotedPurchases => PromotedPurchases != null; + public bool IsInAppPurchases => InAppPurchases != null; /// /// /// - public bool TryPickPromotedPurchases( + public bool TryPickInAppPurchases( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.PromotedPurchase? value) + out global::AppStoreConnect.InAppPurchaseV2? value) { - value = PromotedPurchases; - return IsPromotedPurchases; + value = InAppPurchases; + return IsInAppPurchases; } /// /// /// - public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value + public global::AppStoreConnect.InAppPurchaseV2 PickInAppPurchases() => InAppPurchases is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot?(IncludedItem144 @this) => @this.InAppPurchaseAppStoreReviewScreenshots; - - /// - /// - /// - public IncludedItem144(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) - { - InAppPurchaseAppStoreReviewScreenshots = value; - } - - /// - /// - /// - public static IncludedItem144 FromInAppPurchaseAppStoreReviewScreenshots(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) => new IncludedItem144(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseAvailability value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseAvailability?)value); + public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseImageV2 value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseAvailability?(IncludedItem144 @this) => @this.InAppPurchaseAvailabilities; + public static implicit operator global::AppStoreConnect.InAppPurchaseImageV2?(IncludedItem144 @this) => @this.InAppPurchaseImages; /// /// /// - public IncludedItem144(global::AppStoreConnect.InAppPurchaseAvailability? value) - { - InAppPurchaseAvailabilities = value; - } - - /// - /// - /// - public static IncludedItem144 FromInAppPurchaseAvailabilities(global::AppStoreConnect.InAppPurchaseAvailability? value) => new IncludedItem144(value); - - /// - /// - /// - public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseContent value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseContent?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseContent?(IncludedItem144 @this) => @this.InAppPurchaseContents; - - /// - /// - /// - public IncludedItem144(global::AppStoreConnect.InAppPurchaseContent? value) - { - InAppPurchaseContents = value; - } - - /// - /// - /// - public static IncludedItem144 FromInAppPurchaseContents(global::AppStoreConnect.InAppPurchaseContent? value) => new IncludedItem144(value); - - /// - /// - /// - public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseImage value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseImage?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseImage?(IncludedItem144 @this) => @this.InAppPurchaseImages; - - /// - /// - /// - public IncludedItem144(global::AppStoreConnect.InAppPurchaseImage? value) + public IncludedItem144(global::AppStoreConnect.InAppPurchaseImageV2? value) { InAppPurchaseImages = value; } @@ -473,22 +145,22 @@ public IncludedItem144(global::AppStoreConnect.InAppPurchaseImage? value) /// /// /// - public static IncludedItem144 FromInAppPurchaseImages(global::AppStoreConnect.InAppPurchaseImage? value) => new IncludedItem144(value); + public static IncludedItem144 FromInAppPurchaseImages(global::AppStoreConnect.InAppPurchaseImageV2? value) => new IncludedItem144(value); /// /// /// - public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseLocalization value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseLocalization?)value); + public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseLocalizationV2 value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseLocalizationV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseLocalization?(IncludedItem144 @this) => @this.InAppPurchaseLocalizations; + public static implicit operator global::AppStoreConnect.InAppPurchaseLocalizationV2?(IncludedItem144 @this) => @this.InAppPurchaseLocalizations; /// /// /// - public IncludedItem144(global::AppStoreConnect.InAppPurchaseLocalization? value) + public IncludedItem144(global::AppStoreConnect.InAppPurchaseLocalizationV2? value) { InAppPurchaseLocalizations = value; } @@ -496,184 +168,64 @@ public IncludedItem144(global::AppStoreConnect.InAppPurchaseLocalization? value) /// /// /// - public static IncludedItem144 FromInAppPurchaseLocalizations(global::AppStoreConnect.InAppPurchaseLocalization? value) => new IncludedItem144(value); - - /// - /// - /// - public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseOfferCode value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseOfferCode?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCode?(IncludedItem144 @this) => @this.InAppPurchaseOfferCodes; - - /// - /// - /// - public IncludedItem144(global::AppStoreConnect.InAppPurchaseOfferCode? value) - { - InAppPurchaseOfferCodes = value; - } - - /// - /// - /// - public static IncludedItem144 FromInAppPurchaseOfferCodes(global::AppStoreConnect.InAppPurchaseOfferCode? value) => new IncludedItem144(value); - - /// - /// - /// - public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchasePricePoint value) => new IncludedItem144((global::AppStoreConnect.InAppPurchasePricePoint?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchasePricePoint?(IncludedItem144 @this) => @this.InAppPurchasePricePoints; - - /// - /// - /// - public IncludedItem144(global::AppStoreConnect.InAppPurchasePricePoint? value) - { - InAppPurchasePricePoints = value; - } - - /// - /// - /// - public static IncludedItem144 FromInAppPurchasePricePoints(global::AppStoreConnect.InAppPurchasePricePoint? value) => new IncludedItem144(value); - - /// - /// - /// - public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchasePriceSchedule value) => new IncludedItem144((global::AppStoreConnect.InAppPurchasePriceSchedule?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchasePriceSchedule?(IncludedItem144 @this) => @this.InAppPurchasePriceSchedules; - - /// - /// - /// - public IncludedItem144(global::AppStoreConnect.InAppPurchasePriceSchedule? value) - { - InAppPurchasePriceSchedules = value; - } - - /// - /// - /// - public static IncludedItem144 FromInAppPurchasePriceSchedules(global::AppStoreConnect.InAppPurchasePriceSchedule? value) => new IncludedItem144(value); + public static IncludedItem144 FromInAppPurchaseLocalizations(global::AppStoreConnect.InAppPurchaseLocalizationV2? value) => new IncludedItem144(value); /// /// /// - public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseVersion value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseVersion?)value); + public static implicit operator IncludedItem144(global::AppStoreConnect.InAppPurchaseV2 value) => new IncludedItem144((global::AppStoreConnect.InAppPurchaseV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseVersion?(IncludedItem144 @this) => @this.InAppPurchaseVersions; + public static implicit operator global::AppStoreConnect.InAppPurchaseV2?(IncludedItem144 @this) => @this.InAppPurchases; /// /// /// - public IncludedItem144(global::AppStoreConnect.InAppPurchaseVersion? value) + public IncludedItem144(global::AppStoreConnect.InAppPurchaseV2? value) { - InAppPurchaseVersions = value; + InAppPurchases = value; } /// /// /// - public static IncludedItem144 FromInAppPurchaseVersions(global::AppStoreConnect.InAppPurchaseVersion? value) => new IncludedItem144(value); - - /// - /// - /// - public static implicit operator IncludedItem144(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem144((global::AppStoreConnect.PromotedPurchase?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem144 @this) => @this.PromotedPurchases; - - /// - /// - /// - public IncludedItem144(global::AppStoreConnect.PromotedPurchase? value) - { - PromotedPurchases = value; - } - - /// - /// - /// - public static IncludedItem144 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem144(value); + public static IncludedItem144 FromInAppPurchases(global::AppStoreConnect.InAppPurchaseV2? value) => new IncludedItem144(value); /// /// /// public IncludedItem144( - global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? inAppPurchaseAppStoreReviewScreenshots, - global::AppStoreConnect.InAppPurchaseAvailability? inAppPurchaseAvailabilities, - global::AppStoreConnect.InAppPurchaseContent? inAppPurchaseContents, - global::AppStoreConnect.InAppPurchaseImage? inAppPurchaseImages, - global::AppStoreConnect.InAppPurchaseLocalization? inAppPurchaseLocalizations, - global::AppStoreConnect.InAppPurchaseOfferCode? inAppPurchaseOfferCodes, - global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints, - global::AppStoreConnect.InAppPurchasePriceSchedule? inAppPurchasePriceSchedules, - global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions, - global::AppStoreConnect.PromotedPurchase? promotedPurchases + global::AppStoreConnect.InAppPurchaseVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchaseImageV2? inAppPurchaseImages, + global::AppStoreConnect.InAppPurchaseLocalizationV2? inAppPurchaseLocalizations, + global::AppStoreConnect.InAppPurchaseV2? inAppPurchases ) { Type = type; - InAppPurchaseAppStoreReviewScreenshots = inAppPurchaseAppStoreReviewScreenshots; - InAppPurchaseAvailabilities = inAppPurchaseAvailabilities; - InAppPurchaseContents = inAppPurchaseContents; InAppPurchaseImages = inAppPurchaseImages; InAppPurchaseLocalizations = inAppPurchaseLocalizations; - InAppPurchaseOfferCodes = inAppPurchaseOfferCodes; - InAppPurchasePricePoints = inAppPurchasePricePoints; - InAppPurchasePriceSchedules = inAppPurchasePriceSchedules; - InAppPurchaseVersions = inAppPurchaseVersions; - PromotedPurchases = promotedPurchases; + InAppPurchases = inAppPurchases; } /// /// /// public object? Object => - PromotedPurchases as object ?? - InAppPurchaseVersions as object ?? - InAppPurchasePriceSchedules as object ?? - InAppPurchasePricePoints as object ?? - InAppPurchaseOfferCodes as object ?? + InAppPurchases as object ?? InAppPurchaseLocalizations as object ?? - InAppPurchaseImages as object ?? - InAppPurchaseContents as object ?? - InAppPurchaseAvailabilities as object ?? - InAppPurchaseAppStoreReviewScreenshots as object + InAppPurchaseImages as object ; /// /// /// public override string? ToString() => - InAppPurchaseAppStoreReviewScreenshots?.ToString() ?? - InAppPurchaseAvailabilities?.ToString() ?? - InAppPurchaseContents?.ToString() ?? InAppPurchaseImages?.ToString() ?? InAppPurchaseLocalizations?.ToString() ?? - InAppPurchaseOfferCodes?.ToString() ?? - InAppPurchasePricePoints?.ToString() ?? - InAppPurchasePriceSchedules?.ToString() ?? - InAppPurchaseVersions?.ToString() ?? - PromotedPurchases?.ToString() + InAppPurchases?.ToString() ; /// @@ -681,23 +233,16 @@ InAppPurchaseAppStoreReviewScreenshots as object /// public bool Validate() { - return IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && IsPromotedPurchases; + return IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchases || !IsInAppPurchaseImages && IsInAppPurchaseLocalizations && !IsInAppPurchases || !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && IsInAppPurchases; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchaseAppStoreReviewScreenshots = null, - global::System.Func? inAppPurchaseAvailabilities = null, - global::System.Func? inAppPurchaseContents = null, - global::System.Func? inAppPurchaseImages = null, - global::System.Func? inAppPurchaseLocalizations = null, - global::System.Func? inAppPurchaseOfferCodes = null, - global::System.Func? inAppPurchasePricePoints = null, - global::System.Func? inAppPurchasePriceSchedules = null, - global::System.Func? inAppPurchaseVersions = null, - global::System.Func? promotedPurchases = null, + global::System.Func? inAppPurchaseImages = null, + global::System.Func? inAppPurchaseLocalizations = null, + global::System.Func? inAppPurchases = null, bool validate = true) { if (validate) @@ -705,45 +250,17 @@ public bool Validate() Validate(); } - if (InAppPurchaseAppStoreReviewScreenshots is { } __value0 && inAppPurchaseAppStoreReviewScreenshots != null) - { - return inAppPurchaseAppStoreReviewScreenshots(__value0); - } - else if (InAppPurchaseAvailabilities is { } __value1 && inAppPurchaseAvailabilities != null) - { - return inAppPurchaseAvailabilities(__value1); - } - else if (InAppPurchaseContents is { } __value2 && inAppPurchaseContents != null) + if (InAppPurchaseImages is { } __value0 && inAppPurchaseImages != null) { - return inAppPurchaseContents(__value2); + return inAppPurchaseImages(__value0); } - else if (InAppPurchaseImages is { } __value3 && inAppPurchaseImages != null) + else if (InAppPurchaseLocalizations is { } __value1 && inAppPurchaseLocalizations != null) { - return inAppPurchaseImages(__value3); + return inAppPurchaseLocalizations(__value1); } - else if (InAppPurchaseLocalizations is { } __value4 && inAppPurchaseLocalizations != null) + else if (InAppPurchases is { } __value2 && inAppPurchases != null) { - return inAppPurchaseLocalizations(__value4); - } - else if (InAppPurchaseOfferCodes is { } __value5 && inAppPurchaseOfferCodes != null) - { - return inAppPurchaseOfferCodes(__value5); - } - else if (InAppPurchasePricePoints is { } __value6 && inAppPurchasePricePoints != null) - { - return inAppPurchasePricePoints(__value6); - } - else if (InAppPurchasePriceSchedules is { } __value7 && inAppPurchasePriceSchedules != null) - { - return inAppPurchasePriceSchedules(__value7); - } - else if (InAppPurchaseVersions is { } __value8 && inAppPurchaseVersions != null) - { - return inAppPurchaseVersions(__value8); - } - else if (PromotedPurchases is { } __value9 && promotedPurchases != null) - { - return promotedPurchases(__value9); + return inAppPurchases(__value2); } return default(TResult); @@ -753,25 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchaseAppStoreReviewScreenshots = null, - - global::System.Action? inAppPurchaseAvailabilities = null, - - global::System.Action? inAppPurchaseContents = null, + global::System.Action? inAppPurchaseImages = null, - global::System.Action? inAppPurchaseImages = null, + global::System.Action? inAppPurchaseLocalizations = null, - global::System.Action? inAppPurchaseLocalizations = null, - - global::System.Action? inAppPurchaseOfferCodes = null, - - global::System.Action? inAppPurchasePricePoints = null, - - global::System.Action? inAppPurchasePriceSchedules = null, - - global::System.Action? inAppPurchaseVersions = null, - - global::System.Action? promotedPurchases = null, + global::System.Action? inAppPurchases = null, bool validate = true) { if (validate) @@ -779,45 +282,17 @@ public void Match( Validate(); } - if (InAppPurchaseAppStoreReviewScreenshots is { } __value0) - { - inAppPurchaseAppStoreReviewScreenshots?.Invoke(__value0); - } - else if (InAppPurchaseAvailabilities is { } __value1) - { - inAppPurchaseAvailabilities?.Invoke(__value1); - } - else if (InAppPurchaseContents is { } __value2) - { - inAppPurchaseContents?.Invoke(__value2); - } - else if (InAppPurchaseImages is { } __value3) + if (InAppPurchaseImages is { } __value0) { - inAppPurchaseImages?.Invoke(__value3); + inAppPurchaseImages?.Invoke(__value0); } - else if (InAppPurchaseLocalizations is { } __value4) + else if (InAppPurchaseLocalizations is { } __value1) { - inAppPurchaseLocalizations?.Invoke(__value4); + inAppPurchaseLocalizations?.Invoke(__value1); } - else if (InAppPurchaseOfferCodes is { } __value5) + else if (InAppPurchases is { } __value2) { - inAppPurchaseOfferCodes?.Invoke(__value5); - } - else if (InAppPurchasePricePoints is { } __value6) - { - inAppPurchasePricePoints?.Invoke(__value6); - } - else if (InAppPurchasePriceSchedules is { } __value7) - { - inAppPurchasePriceSchedules?.Invoke(__value7); - } - else if (InAppPurchaseVersions is { } __value8) - { - inAppPurchaseVersions?.Invoke(__value8); - } - else if (PromotedPurchases is { } __value9) - { - promotedPurchases?.Invoke(__value9); + inAppPurchases?.Invoke(__value2); } } @@ -825,16 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchaseAppStoreReviewScreenshots = null, - global::System.Action? inAppPurchaseAvailabilities = null, - global::System.Action? inAppPurchaseContents = null, - global::System.Action? inAppPurchaseImages = null, - global::System.Action? inAppPurchaseLocalizations = null, - global::System.Action? inAppPurchaseOfferCodes = null, - global::System.Action? inAppPurchasePricePoints = null, - global::System.Action? inAppPurchasePriceSchedules = null, - global::System.Action? inAppPurchaseVersions = null, - global::System.Action? promotedPurchases = null, + global::System.Action? inAppPurchaseImages = null, + global::System.Action? inAppPurchaseLocalizations = null, + global::System.Action? inAppPurchases = null, bool validate = true) { if (validate) @@ -842,45 +310,17 @@ public void Switch( Validate(); } - if (InAppPurchaseAppStoreReviewScreenshots is { } __value0) - { - inAppPurchaseAppStoreReviewScreenshots?.Invoke(__value0); - } - else if (InAppPurchaseAvailabilities is { } __value1) - { - inAppPurchaseAvailabilities?.Invoke(__value1); - } - else if (InAppPurchaseContents is { } __value2) - { - inAppPurchaseContents?.Invoke(__value2); - } - else if (InAppPurchaseImages is { } __value3) - { - inAppPurchaseImages?.Invoke(__value3); - } - else if (InAppPurchaseLocalizations is { } __value4) - { - inAppPurchaseLocalizations?.Invoke(__value4); - } - else if (InAppPurchaseOfferCodes is { } __value5) - { - inAppPurchaseOfferCodes?.Invoke(__value5); - } - else if (InAppPurchasePricePoints is { } __value6) - { - inAppPurchasePricePoints?.Invoke(__value6); - } - else if (InAppPurchasePriceSchedules is { } __value7) + if (InAppPurchaseImages is { } __value0) { - inAppPurchasePriceSchedules?.Invoke(__value7); + inAppPurchaseImages?.Invoke(__value0); } - else if (InAppPurchaseVersions is { } __value8) + else if (InAppPurchaseLocalizations is { } __value1) { - inAppPurchaseVersions?.Invoke(__value8); + inAppPurchaseLocalizations?.Invoke(__value1); } - else if (PromotedPurchases is { } __value9) + else if (InAppPurchases is { } __value2) { - promotedPurchases?.Invoke(__value9); + inAppPurchases?.Invoke(__value2); } } @@ -891,26 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchaseAppStoreReviewScreenshots, - typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), - InAppPurchaseAvailabilities, - typeof(global::AppStoreConnect.InAppPurchaseAvailability), - InAppPurchaseContents, - typeof(global::AppStoreConnect.InAppPurchaseContent), InAppPurchaseImages, - typeof(global::AppStoreConnect.InAppPurchaseImage), + typeof(global::AppStoreConnect.InAppPurchaseImageV2), InAppPurchaseLocalizations, - typeof(global::AppStoreConnect.InAppPurchaseLocalization), - InAppPurchaseOfferCodes, - typeof(global::AppStoreConnect.InAppPurchaseOfferCode), - InAppPurchasePricePoints, - typeof(global::AppStoreConnect.InAppPurchasePricePoint), - InAppPurchasePriceSchedules, - typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), - InAppPurchaseVersions, - typeof(global::AppStoreConnect.InAppPurchaseVersion), - PromotedPurchases, - typeof(global::AppStoreConnect.PromotedPurchase), + typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), + InAppPurchases, + typeof(global::AppStoreConnect.InAppPurchaseV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -927,16 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem144 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseAppStoreReviewScreenshots, other.InAppPurchaseAppStoreReviewScreenshots) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseAvailabilities, other.InAppPurchaseAvailabilities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseContents, other.InAppPurchaseContents) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseImages, other.InAppPurchaseImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseLocalizations, other.InAppPurchaseLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodes, other.InAppPurchaseOfferCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePricePoints, other.InAppPurchasePricePoints) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePriceSchedules, other.InAppPurchasePriceSchedules) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseVersions, other.InAppPurchaseVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseImages, other.InAppPurchaseImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseLocalizations, other.InAppPurchaseLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem145.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem145.g.cs index 99eb1ff9f..96504928d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem145.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem145.g.cs @@ -12,126 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? InAppPurchaseAppStoreReviewScreenshots { get; init; } + public global::AppStoreConnect.InAppPurchaseImageV2? InAppPurchaseImages { get; init; } #else - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? InAppPurchaseAppStoreReviewScreenshots { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseAppStoreReviewScreenshots))] -#endif - public bool IsInAppPurchaseAppStoreReviewScreenshots => InAppPurchaseAppStoreReviewScreenshots != null; - - /// - /// - /// - public bool TryPickInAppPurchaseAppStoreReviewScreenshots( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) - { - value = InAppPurchaseAppStoreReviewScreenshots; - return IsInAppPurchaseAppStoreReviewScreenshots; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot PickInAppPurchaseAppStoreReviewScreenshots() => InAppPurchaseAppStoreReviewScreenshots is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseAppStoreReviewScreenshots' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseAvailability? InAppPurchaseAvailabilities { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseAvailability? InAppPurchaseAvailabilities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseAvailabilities))] -#endif - public bool IsInAppPurchaseAvailabilities => InAppPurchaseAvailabilities != null; - - /// - /// - /// - public bool TryPickInAppPurchaseAvailabilities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseAvailability? value) - { - value = InAppPurchaseAvailabilities; - return IsInAppPurchaseAvailabilities; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseAvailability PickInAppPurchaseAvailabilities() => InAppPurchaseAvailabilities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseAvailabilities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseContent? InAppPurchaseContents { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseContent? InAppPurchaseContents { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseContents))] -#endif - public bool IsInAppPurchaseContents => InAppPurchaseContents != null; - - /// - /// - /// - public bool TryPickInAppPurchaseContents( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseContent? value) - { - value = InAppPurchaseContents; - return IsInAppPurchaseContents; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseContent PickInAppPurchaseContents() => InAppPurchaseContents is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseContents' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseImage? InAppPurchaseImages { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseImage? InAppPurchaseImages { get; } + public global::AppStoreConnect.InAppPurchaseImageV2? InAppPurchaseImages { get; } #endif /// @@ -149,7 +38,7 @@ public bool TryPickInAppPurchaseImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseImage? value) + out global::AppStoreConnect.InAppPurchaseImageV2? value) { value = InAppPurchaseImages; return IsInAppPurchaseImages; @@ -158,7 +47,7 @@ public bool TryPickInAppPurchaseImages( /// /// /// - public global::AppStoreConnect.InAppPurchaseImage PickInAppPurchaseImages() => InAppPurchaseImages is { } value + public global::AppStoreConnect.InAppPurchaseImageV2 PickInAppPurchaseImages() => InAppPurchaseImages is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseImages' but the value was {ToString()}."); @@ -166,9 +55,9 @@ public bool TryPickInAppPurchaseImages( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseLocalization? InAppPurchaseLocalizations { get; init; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2? InAppPurchaseLocalizations { get; init; } #else - public global::AppStoreConnect.InAppPurchaseLocalization? InAppPurchaseLocalizations { get; } + public global::AppStoreConnect.InAppPurchaseLocalizationV2? InAppPurchaseLocalizations { get; } #endif /// @@ -186,7 +75,7 @@ public bool TryPickInAppPurchaseLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseLocalization? value) + out global::AppStoreConnect.InAppPurchaseLocalizationV2? value) { value = InAppPurchaseLocalizations; return IsInAppPurchaseLocalizations; @@ -195,7 +84,7 @@ public bool TryPickInAppPurchaseLocalizations( /// /// /// - public global::AppStoreConnect.InAppPurchaseLocalization PickInAppPurchaseLocalizations() => InAppPurchaseLocalizations is { } value + public global::AppStoreConnect.InAppPurchaseLocalizationV2 PickInAppPurchaseLocalizations() => InAppPurchaseLocalizations is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseLocalizations' but the value was {ToString()}."); @@ -203,269 +92,52 @@ public bool TryPickInAppPurchaseLocalizations( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseOfferCode? InAppPurchaseOfferCodes { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseOfferCode? InAppPurchaseOfferCodes { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodes))] -#endif - public bool IsInAppPurchaseOfferCodes => InAppPurchaseOfferCodes != null; - - /// - /// - /// - public bool TryPickInAppPurchaseOfferCodes( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseOfferCode? value) - { - value = InAppPurchaseOfferCodes; - return IsInAppPurchaseOfferCodes; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseOfferCode PickInAppPurchaseOfferCodes() => InAppPurchaseOfferCodes is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodes' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; init; } -#else - public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePricePoints))] -#endif - public bool IsInAppPurchasePricePoints => InAppPurchasePricePoints != null; - - /// - /// - /// - public bool TryPickInAppPurchasePricePoints( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchasePricePoint? value) - { - value = InAppPurchasePricePoints; - return IsInAppPurchasePricePoints; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchasePricePoint PickInAppPurchasePricePoints() => InAppPurchasePricePoints is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePricePoints' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchasePriceSchedule? InAppPurchasePriceSchedules { get; init; } -#else - public global::AppStoreConnect.InAppPurchasePriceSchedule? InAppPurchasePriceSchedules { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePriceSchedules))] -#endif - public bool IsInAppPurchasePriceSchedules => InAppPurchasePriceSchedules != null; - - /// - /// - /// - public bool TryPickInAppPurchasePriceSchedules( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchasePriceSchedule? value) - { - value = InAppPurchasePriceSchedules; - return IsInAppPurchasePriceSchedules; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchasePriceSchedule PickInAppPurchasePriceSchedules() => InAppPurchasePriceSchedules is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePriceSchedules' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseVersions))] -#endif - public bool IsInAppPurchaseVersions => InAppPurchaseVersions != null; - - /// - /// - /// - public bool TryPickInAppPurchaseVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseVersion? value) - { - value = InAppPurchaseVersions; - return IsInAppPurchaseVersions; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseVersion PickInAppPurchaseVersions() => InAppPurchaseVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } + public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; init; } #else - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } + public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] #endif - public bool IsPromotedPurchases => PromotedPurchases != null; + public bool IsInAppPurchases => InAppPurchases != null; /// /// /// - public bool TryPickPromotedPurchases( + public bool TryPickInAppPurchases( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.PromotedPurchase? value) + out global::AppStoreConnect.InAppPurchaseV2? value) { - value = PromotedPurchases; - return IsPromotedPurchases; + value = InAppPurchases; + return IsInAppPurchases; } /// /// /// - public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value + public global::AppStoreConnect.InAppPurchaseV2 PickInAppPurchases() => InAppPurchases is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot?(IncludedItem145 @this) => @this.InAppPurchaseAppStoreReviewScreenshots; - - /// - /// - /// - public IncludedItem145(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) - { - InAppPurchaseAppStoreReviewScreenshots = value; - } - - /// - /// - /// - public static IncludedItem145 FromInAppPurchaseAppStoreReviewScreenshots(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) => new IncludedItem145(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseAvailability value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseAvailability?)value); + public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseImageV2 value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseAvailability?(IncludedItem145 @this) => @this.InAppPurchaseAvailabilities; + public static implicit operator global::AppStoreConnect.InAppPurchaseImageV2?(IncludedItem145 @this) => @this.InAppPurchaseImages; /// /// /// - public IncludedItem145(global::AppStoreConnect.InAppPurchaseAvailability? value) - { - InAppPurchaseAvailabilities = value; - } - - /// - /// - /// - public static IncludedItem145 FromInAppPurchaseAvailabilities(global::AppStoreConnect.InAppPurchaseAvailability? value) => new IncludedItem145(value); - - /// - /// - /// - public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseContent value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseContent?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseContent?(IncludedItem145 @this) => @this.InAppPurchaseContents; - - /// - /// - /// - public IncludedItem145(global::AppStoreConnect.InAppPurchaseContent? value) - { - InAppPurchaseContents = value; - } - - /// - /// - /// - public static IncludedItem145 FromInAppPurchaseContents(global::AppStoreConnect.InAppPurchaseContent? value) => new IncludedItem145(value); - - /// - /// - /// - public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseImage value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseImage?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseImage?(IncludedItem145 @this) => @this.InAppPurchaseImages; - - /// - /// - /// - public IncludedItem145(global::AppStoreConnect.InAppPurchaseImage? value) + public IncludedItem145(global::AppStoreConnect.InAppPurchaseImageV2? value) { InAppPurchaseImages = value; } @@ -473,22 +145,22 @@ public IncludedItem145(global::AppStoreConnect.InAppPurchaseImage? value) /// /// /// - public static IncludedItem145 FromInAppPurchaseImages(global::AppStoreConnect.InAppPurchaseImage? value) => new IncludedItem145(value); + public static IncludedItem145 FromInAppPurchaseImages(global::AppStoreConnect.InAppPurchaseImageV2? value) => new IncludedItem145(value); /// /// /// - public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseLocalization value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseLocalization?)value); + public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseLocalizationV2 value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseLocalizationV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseLocalization?(IncludedItem145 @this) => @this.InAppPurchaseLocalizations; + public static implicit operator global::AppStoreConnect.InAppPurchaseLocalizationV2?(IncludedItem145 @this) => @this.InAppPurchaseLocalizations; /// /// /// - public IncludedItem145(global::AppStoreConnect.InAppPurchaseLocalization? value) + public IncludedItem145(global::AppStoreConnect.InAppPurchaseLocalizationV2? value) { InAppPurchaseLocalizations = value; } @@ -496,184 +168,64 @@ public IncludedItem145(global::AppStoreConnect.InAppPurchaseLocalization? value) /// /// /// - public static IncludedItem145 FromInAppPurchaseLocalizations(global::AppStoreConnect.InAppPurchaseLocalization? value) => new IncludedItem145(value); - - /// - /// - /// - public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseOfferCode value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseOfferCode?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCode?(IncludedItem145 @this) => @this.InAppPurchaseOfferCodes; - - /// - /// - /// - public IncludedItem145(global::AppStoreConnect.InAppPurchaseOfferCode? value) - { - InAppPurchaseOfferCodes = value; - } - - /// - /// - /// - public static IncludedItem145 FromInAppPurchaseOfferCodes(global::AppStoreConnect.InAppPurchaseOfferCode? value) => new IncludedItem145(value); - - /// - /// - /// - public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchasePricePoint value) => new IncludedItem145((global::AppStoreConnect.InAppPurchasePricePoint?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchasePricePoint?(IncludedItem145 @this) => @this.InAppPurchasePricePoints; - - /// - /// - /// - public IncludedItem145(global::AppStoreConnect.InAppPurchasePricePoint? value) - { - InAppPurchasePricePoints = value; - } - - /// - /// - /// - public static IncludedItem145 FromInAppPurchasePricePoints(global::AppStoreConnect.InAppPurchasePricePoint? value) => new IncludedItem145(value); - - /// - /// - /// - public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchasePriceSchedule value) => new IncludedItem145((global::AppStoreConnect.InAppPurchasePriceSchedule?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchasePriceSchedule?(IncludedItem145 @this) => @this.InAppPurchasePriceSchedules; - - /// - /// - /// - public IncludedItem145(global::AppStoreConnect.InAppPurchasePriceSchedule? value) - { - InAppPurchasePriceSchedules = value; - } - - /// - /// - /// - public static IncludedItem145 FromInAppPurchasePriceSchedules(global::AppStoreConnect.InAppPurchasePriceSchedule? value) => new IncludedItem145(value); + public static IncludedItem145 FromInAppPurchaseLocalizations(global::AppStoreConnect.InAppPurchaseLocalizationV2? value) => new IncludedItem145(value); /// /// /// - public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseVersion value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseVersion?)value); + public static implicit operator IncludedItem145(global::AppStoreConnect.InAppPurchaseV2 value) => new IncludedItem145((global::AppStoreConnect.InAppPurchaseV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseVersion?(IncludedItem145 @this) => @this.InAppPurchaseVersions; + public static implicit operator global::AppStoreConnect.InAppPurchaseV2?(IncludedItem145 @this) => @this.InAppPurchases; /// /// /// - public IncludedItem145(global::AppStoreConnect.InAppPurchaseVersion? value) + public IncludedItem145(global::AppStoreConnect.InAppPurchaseV2? value) { - InAppPurchaseVersions = value; + InAppPurchases = value; } /// /// /// - public static IncludedItem145 FromInAppPurchaseVersions(global::AppStoreConnect.InAppPurchaseVersion? value) => new IncludedItem145(value); - - /// - /// - /// - public static implicit operator IncludedItem145(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem145((global::AppStoreConnect.PromotedPurchase?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem145 @this) => @this.PromotedPurchases; - - /// - /// - /// - public IncludedItem145(global::AppStoreConnect.PromotedPurchase? value) - { - PromotedPurchases = value; - } - - /// - /// - /// - public static IncludedItem145 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem145(value); + public static IncludedItem145 FromInAppPurchases(global::AppStoreConnect.InAppPurchaseV2? value) => new IncludedItem145(value); /// /// /// public IncludedItem145( - global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? inAppPurchaseAppStoreReviewScreenshots, - global::AppStoreConnect.InAppPurchaseAvailability? inAppPurchaseAvailabilities, - global::AppStoreConnect.InAppPurchaseContent? inAppPurchaseContents, - global::AppStoreConnect.InAppPurchaseImage? inAppPurchaseImages, - global::AppStoreConnect.InAppPurchaseLocalization? inAppPurchaseLocalizations, - global::AppStoreConnect.InAppPurchaseOfferCode? inAppPurchaseOfferCodes, - global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints, - global::AppStoreConnect.InAppPurchasePriceSchedule? inAppPurchasePriceSchedules, - global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions, - global::AppStoreConnect.PromotedPurchase? promotedPurchases + global::AppStoreConnect.InAppPurchaseVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchaseImageV2? inAppPurchaseImages, + global::AppStoreConnect.InAppPurchaseLocalizationV2? inAppPurchaseLocalizations, + global::AppStoreConnect.InAppPurchaseV2? inAppPurchases ) { Type = type; - InAppPurchaseAppStoreReviewScreenshots = inAppPurchaseAppStoreReviewScreenshots; - InAppPurchaseAvailabilities = inAppPurchaseAvailabilities; - InAppPurchaseContents = inAppPurchaseContents; InAppPurchaseImages = inAppPurchaseImages; InAppPurchaseLocalizations = inAppPurchaseLocalizations; - InAppPurchaseOfferCodes = inAppPurchaseOfferCodes; - InAppPurchasePricePoints = inAppPurchasePricePoints; - InAppPurchasePriceSchedules = inAppPurchasePriceSchedules; - InAppPurchaseVersions = inAppPurchaseVersions; - PromotedPurchases = promotedPurchases; + InAppPurchases = inAppPurchases; } /// /// /// public object? Object => - PromotedPurchases as object ?? - InAppPurchaseVersions as object ?? - InAppPurchasePriceSchedules as object ?? - InAppPurchasePricePoints as object ?? - InAppPurchaseOfferCodes as object ?? + InAppPurchases as object ?? InAppPurchaseLocalizations as object ?? - InAppPurchaseImages as object ?? - InAppPurchaseContents as object ?? - InAppPurchaseAvailabilities as object ?? - InAppPurchaseAppStoreReviewScreenshots as object + InAppPurchaseImages as object ; /// /// /// public override string? ToString() => - InAppPurchaseAppStoreReviewScreenshots?.ToString() ?? - InAppPurchaseAvailabilities?.ToString() ?? - InAppPurchaseContents?.ToString() ?? InAppPurchaseImages?.ToString() ?? InAppPurchaseLocalizations?.ToString() ?? - InAppPurchaseOfferCodes?.ToString() ?? - InAppPurchasePricePoints?.ToString() ?? - InAppPurchasePriceSchedules?.ToString() ?? - InAppPurchaseVersions?.ToString() ?? - PromotedPurchases?.ToString() + InAppPurchases?.ToString() ; /// @@ -681,23 +233,16 @@ InAppPurchaseAppStoreReviewScreenshots as object /// public bool Validate() { - return IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && IsPromotedPurchases; + return IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchases || !IsInAppPurchaseImages && IsInAppPurchaseLocalizations && !IsInAppPurchases || !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && IsInAppPurchases; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchaseAppStoreReviewScreenshots = null, - global::System.Func? inAppPurchaseAvailabilities = null, - global::System.Func? inAppPurchaseContents = null, - global::System.Func? inAppPurchaseImages = null, - global::System.Func? inAppPurchaseLocalizations = null, - global::System.Func? inAppPurchaseOfferCodes = null, - global::System.Func? inAppPurchasePricePoints = null, - global::System.Func? inAppPurchasePriceSchedules = null, - global::System.Func? inAppPurchaseVersions = null, - global::System.Func? promotedPurchases = null, + global::System.Func? inAppPurchaseImages = null, + global::System.Func? inAppPurchaseLocalizations = null, + global::System.Func? inAppPurchases = null, bool validate = true) { if (validate) @@ -705,45 +250,17 @@ public bool Validate() Validate(); } - if (InAppPurchaseAppStoreReviewScreenshots is { } __value0 && inAppPurchaseAppStoreReviewScreenshots != null) - { - return inAppPurchaseAppStoreReviewScreenshots(__value0); - } - else if (InAppPurchaseAvailabilities is { } __value1 && inAppPurchaseAvailabilities != null) - { - return inAppPurchaseAvailabilities(__value1); - } - else if (InAppPurchaseContents is { } __value2 && inAppPurchaseContents != null) + if (InAppPurchaseImages is { } __value0 && inAppPurchaseImages != null) { - return inAppPurchaseContents(__value2); + return inAppPurchaseImages(__value0); } - else if (InAppPurchaseImages is { } __value3 && inAppPurchaseImages != null) + else if (InAppPurchaseLocalizations is { } __value1 && inAppPurchaseLocalizations != null) { - return inAppPurchaseImages(__value3); + return inAppPurchaseLocalizations(__value1); } - else if (InAppPurchaseLocalizations is { } __value4 && inAppPurchaseLocalizations != null) + else if (InAppPurchases is { } __value2 && inAppPurchases != null) { - return inAppPurchaseLocalizations(__value4); - } - else if (InAppPurchaseOfferCodes is { } __value5 && inAppPurchaseOfferCodes != null) - { - return inAppPurchaseOfferCodes(__value5); - } - else if (InAppPurchasePricePoints is { } __value6 && inAppPurchasePricePoints != null) - { - return inAppPurchasePricePoints(__value6); - } - else if (InAppPurchasePriceSchedules is { } __value7 && inAppPurchasePriceSchedules != null) - { - return inAppPurchasePriceSchedules(__value7); - } - else if (InAppPurchaseVersions is { } __value8 && inAppPurchaseVersions != null) - { - return inAppPurchaseVersions(__value8); - } - else if (PromotedPurchases is { } __value9 && promotedPurchases != null) - { - return promotedPurchases(__value9); + return inAppPurchases(__value2); } return default(TResult); @@ -753,25 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchaseAppStoreReviewScreenshots = null, - - global::System.Action? inAppPurchaseAvailabilities = null, - - global::System.Action? inAppPurchaseContents = null, + global::System.Action? inAppPurchaseImages = null, - global::System.Action? inAppPurchaseImages = null, + global::System.Action? inAppPurchaseLocalizations = null, - global::System.Action? inAppPurchaseLocalizations = null, - - global::System.Action? inAppPurchaseOfferCodes = null, - - global::System.Action? inAppPurchasePricePoints = null, - - global::System.Action? inAppPurchasePriceSchedules = null, - - global::System.Action? inAppPurchaseVersions = null, - - global::System.Action? promotedPurchases = null, + global::System.Action? inAppPurchases = null, bool validate = true) { if (validate) @@ -779,45 +282,17 @@ public void Match( Validate(); } - if (InAppPurchaseAppStoreReviewScreenshots is { } __value0) - { - inAppPurchaseAppStoreReviewScreenshots?.Invoke(__value0); - } - else if (InAppPurchaseAvailabilities is { } __value1) - { - inAppPurchaseAvailabilities?.Invoke(__value1); - } - else if (InAppPurchaseContents is { } __value2) - { - inAppPurchaseContents?.Invoke(__value2); - } - else if (InAppPurchaseImages is { } __value3) + if (InAppPurchaseImages is { } __value0) { - inAppPurchaseImages?.Invoke(__value3); + inAppPurchaseImages?.Invoke(__value0); } - else if (InAppPurchaseLocalizations is { } __value4) + else if (InAppPurchaseLocalizations is { } __value1) { - inAppPurchaseLocalizations?.Invoke(__value4); + inAppPurchaseLocalizations?.Invoke(__value1); } - else if (InAppPurchaseOfferCodes is { } __value5) + else if (InAppPurchases is { } __value2) { - inAppPurchaseOfferCodes?.Invoke(__value5); - } - else if (InAppPurchasePricePoints is { } __value6) - { - inAppPurchasePricePoints?.Invoke(__value6); - } - else if (InAppPurchasePriceSchedules is { } __value7) - { - inAppPurchasePriceSchedules?.Invoke(__value7); - } - else if (InAppPurchaseVersions is { } __value8) - { - inAppPurchaseVersions?.Invoke(__value8); - } - else if (PromotedPurchases is { } __value9) - { - promotedPurchases?.Invoke(__value9); + inAppPurchases?.Invoke(__value2); } } @@ -825,16 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchaseAppStoreReviewScreenshots = null, - global::System.Action? inAppPurchaseAvailabilities = null, - global::System.Action? inAppPurchaseContents = null, - global::System.Action? inAppPurchaseImages = null, - global::System.Action? inAppPurchaseLocalizations = null, - global::System.Action? inAppPurchaseOfferCodes = null, - global::System.Action? inAppPurchasePricePoints = null, - global::System.Action? inAppPurchasePriceSchedules = null, - global::System.Action? inAppPurchaseVersions = null, - global::System.Action? promotedPurchases = null, + global::System.Action? inAppPurchaseImages = null, + global::System.Action? inAppPurchaseLocalizations = null, + global::System.Action? inAppPurchases = null, bool validate = true) { if (validate) @@ -842,45 +310,17 @@ public void Switch( Validate(); } - if (InAppPurchaseAppStoreReviewScreenshots is { } __value0) - { - inAppPurchaseAppStoreReviewScreenshots?.Invoke(__value0); - } - else if (InAppPurchaseAvailabilities is { } __value1) - { - inAppPurchaseAvailabilities?.Invoke(__value1); - } - else if (InAppPurchaseContents is { } __value2) - { - inAppPurchaseContents?.Invoke(__value2); - } - else if (InAppPurchaseImages is { } __value3) - { - inAppPurchaseImages?.Invoke(__value3); - } - else if (InAppPurchaseLocalizations is { } __value4) - { - inAppPurchaseLocalizations?.Invoke(__value4); - } - else if (InAppPurchaseOfferCodes is { } __value5) - { - inAppPurchaseOfferCodes?.Invoke(__value5); - } - else if (InAppPurchasePricePoints is { } __value6) - { - inAppPurchasePricePoints?.Invoke(__value6); - } - else if (InAppPurchasePriceSchedules is { } __value7) + if (InAppPurchaseImages is { } __value0) { - inAppPurchasePriceSchedules?.Invoke(__value7); + inAppPurchaseImages?.Invoke(__value0); } - else if (InAppPurchaseVersions is { } __value8) + else if (InAppPurchaseLocalizations is { } __value1) { - inAppPurchaseVersions?.Invoke(__value8); + inAppPurchaseLocalizations?.Invoke(__value1); } - else if (PromotedPurchases is { } __value9) + else if (InAppPurchases is { } __value2) { - promotedPurchases?.Invoke(__value9); + inAppPurchases?.Invoke(__value2); } } @@ -891,26 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchaseAppStoreReviewScreenshots, - typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), - InAppPurchaseAvailabilities, - typeof(global::AppStoreConnect.InAppPurchaseAvailability), - InAppPurchaseContents, - typeof(global::AppStoreConnect.InAppPurchaseContent), InAppPurchaseImages, - typeof(global::AppStoreConnect.InAppPurchaseImage), + typeof(global::AppStoreConnect.InAppPurchaseImageV2), InAppPurchaseLocalizations, - typeof(global::AppStoreConnect.InAppPurchaseLocalization), - InAppPurchaseOfferCodes, - typeof(global::AppStoreConnect.InAppPurchaseOfferCode), - InAppPurchasePricePoints, - typeof(global::AppStoreConnect.InAppPurchasePricePoint), - InAppPurchasePriceSchedules, - typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), - InAppPurchaseVersions, - typeof(global::AppStoreConnect.InAppPurchaseVersion), - PromotedPurchases, - typeof(global::AppStoreConnect.PromotedPurchase), + typeof(global::AppStoreConnect.InAppPurchaseLocalizationV2), + InAppPurchases, + typeof(global::AppStoreConnect.InAppPurchaseV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -927,16 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem145 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseAppStoreReviewScreenshots, other.InAppPurchaseAppStoreReviewScreenshots) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseAvailabilities, other.InAppPurchaseAvailabilities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseContents, other.InAppPurchaseContents) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseImages, other.InAppPurchaseImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseLocalizations, other.InAppPurchaseLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodes, other.InAppPurchaseOfferCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePricePoints, other.InAppPurchasePricePoints) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePriceSchedules, other.InAppPurchasePriceSchedules) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseVersions, other.InAppPurchaseVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseImages, other.InAppPurchaseImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseLocalizations, other.InAppPurchaseLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem146.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem146.g.cs index dd77b57ef..4357e8aa2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem146.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem146.g.cs @@ -12,284 +12,668 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Actor? Actors { get; init; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? InAppPurchaseAppStoreReviewScreenshots { get; init; } #else - public global::AppStoreConnect.Actor? Actors { get; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? InAppPurchaseAppStoreReviewScreenshots { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Actors))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseAppStoreReviewScreenshots))] #endif - public bool IsActors => Actors != null; + public bool IsInAppPurchaseAppStoreReviewScreenshots => InAppPurchaseAppStoreReviewScreenshots != null; /// /// /// - public bool TryPickActors( + public bool TryPickInAppPurchaseAppStoreReviewScreenshots( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Actor? value) + out global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) { - value = Actors; - return IsActors; + value = InAppPurchaseAppStoreReviewScreenshots; + return IsInAppPurchaseAppStoreReviewScreenshots; } /// /// /// - public global::AppStoreConnect.Actor PickActors() => Actors is { } value + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot PickInAppPurchaseAppStoreReviewScreenshots() => InAppPurchaseAppStoreReviewScreenshots is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Actors' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseAppStoreReviewScreenshots' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEvent? AppEvents1 { get; init; } + public global::AppStoreConnect.InAppPurchaseAvailability? InAppPurchaseAvailabilities { get; init; } #else - public global::AppStoreConnect.AppEvent? AppEvents1 { get; } + public global::AppStoreConnect.InAppPurchaseAvailability? InAppPurchaseAvailabilities { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseAvailabilities))] #endif - public bool IsAppEvents1 => AppEvents1 != null; + public bool IsInAppPurchaseAvailabilities => InAppPurchaseAvailabilities != null; /// /// /// - public bool TryPickAppEvents1( + public bool TryPickInAppPurchaseAvailabilities( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEvent? value) + out global::AppStoreConnect.InAppPurchaseAvailability? value) { - value = AppEvents1; - return IsAppEvents1; + value = InAppPurchaseAvailabilities; + return IsInAppPurchaseAvailabilities; } /// /// /// - public global::AppStoreConnect.AppEvent PickAppEvents1() => AppEvents1 is { } value + public global::AppStoreConnect.InAppPurchaseAvailability PickInAppPurchaseAvailabilities() => InAppPurchaseAvailabilities is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseAvailabilities' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppEvents2 { get; init; } + public global::AppStoreConnect.InAppPurchaseContent? InAppPurchaseContents { get; init; } #else - public global::AppStoreConnect.App? AppEvents2 { get; } + public global::AppStoreConnect.InAppPurchaseContent? InAppPurchaseContents { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseContents))] #endif - public bool IsAppEvents2 => AppEvents2 != null; + public bool IsInAppPurchaseContents => InAppPurchaseContents != null; /// /// /// - public bool TryPickAppEvents2( + public bool TryPickInAppPurchaseContents( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.InAppPurchaseContent? value) { - value = AppEvents2; - return IsAppEvents2; + value = InAppPurchaseContents; + return IsInAppPurchaseContents; } /// /// /// - public global::AppStoreConnect.App PickAppEvents2() => AppEvents2 is { } value + public global::AppStoreConnect.InAppPurchaseContent PickInAppPurchaseContents() => InAppPurchaseContents is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseContents' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.InAppPurchaseImage? InAppPurchaseImages { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.InAppPurchaseImage? InAppPurchaseImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseImages))] #endif - public bool IsTerritories => Territories != null; + public bool IsInAppPurchaseImages => InAppPurchaseImages != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickInAppPurchaseImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.InAppPurchaseImage? value) { - value = Territories; - return IsTerritories; + value = InAppPurchaseImages; + return IsInAppPurchaseImages; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.InAppPurchaseImage PickInAppPurchaseImages() => InAppPurchaseImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseImages' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseLocalization? InAppPurchaseLocalizations { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseLocalization? InAppPurchaseLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseLocalizations))] +#endif + public bool IsInAppPurchaseLocalizations => InAppPurchaseLocalizations != null; + + /// + /// + /// + public bool TryPickInAppPurchaseLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseLocalization? value) + { + value = InAppPurchaseLocalizations; + return IsInAppPurchaseLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseLocalization PickInAppPurchaseLocalizations() => InAppPurchaseLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseOfferCode? InAppPurchaseOfferCodes { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseOfferCode? InAppPurchaseOfferCodes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodes))] +#endif + public bool IsInAppPurchaseOfferCodes => InAppPurchaseOfferCodes != null; + + /// + /// + /// + public bool TryPickInAppPurchaseOfferCodes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseOfferCode? value) + { + value = InAppPurchaseOfferCodes; + return IsInAppPurchaseOfferCodes; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCode PickInAppPurchaseOfferCodes() => InAppPurchaseOfferCodes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; init; } +#else + public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePricePoints))] +#endif + public bool IsInAppPurchasePricePoints => InAppPurchasePricePoints != null; + + /// + /// + /// + public bool TryPickInAppPurchasePricePoints( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchasePricePoint? value) + { + value = InAppPurchasePricePoints; + return IsInAppPurchasePricePoints; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePricePoint PickInAppPurchasePricePoints() => InAppPurchasePricePoints is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePricePoints' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchasePriceSchedule? InAppPurchasePriceSchedules { get; init; } +#else + public global::AppStoreConnect.InAppPurchasePriceSchedule? InAppPurchasePriceSchedules { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePriceSchedules))] +#endif + public bool IsInAppPurchasePriceSchedules => InAppPurchasePriceSchedules != null; + + /// + /// + /// + public bool TryPickInAppPurchasePriceSchedules( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchasePriceSchedule? value) + { + value = InAppPurchasePriceSchedules; + return IsInAppPurchasePriceSchedules; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedule PickInAppPurchasePriceSchedules() => InAppPurchasePriceSchedules is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePriceSchedules' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseVersions))] +#endif + public bool IsInAppPurchaseVersions => InAppPurchaseVersions != null; + + /// + /// + /// + public bool TryPickInAppPurchaseVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseVersion? value) + { + value = InAppPurchaseVersions; + return IsInAppPurchaseVersions; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseVersion PickInAppPurchaseVersions() => InAppPurchaseVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } +#else + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] +#endif + public bool IsPromotedPurchases => PromotedPurchases != null; + + /// + /// + /// + public bool TryPickPromotedPurchases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.PromotedPurchase? value) + { + value = PromotedPurchases; + return IsPromotedPurchases; + } + + /// + /// + /// + public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem146(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot value) => new IncludedItem146((global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot?(IncludedItem146 @this) => @this.InAppPurchaseAppStoreReviewScreenshots; + + /// + /// + /// + public IncludedItem146(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) + { + InAppPurchaseAppStoreReviewScreenshots = value; + } + + /// + /// + /// + public static IncludedItem146 FromInAppPurchaseAppStoreReviewScreenshots(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) => new IncludedItem146(value); + + /// + /// + /// + public static implicit operator IncludedItem146(global::AppStoreConnect.InAppPurchaseAvailability value) => new IncludedItem146((global::AppStoreConnect.InAppPurchaseAvailability?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseAvailability?(IncludedItem146 @this) => @this.InAppPurchaseAvailabilities; + + /// + /// + /// + public IncludedItem146(global::AppStoreConnect.InAppPurchaseAvailability? value) + { + InAppPurchaseAvailabilities = value; + } + + /// + /// + /// + public static IncludedItem146 FromInAppPurchaseAvailabilities(global::AppStoreConnect.InAppPurchaseAvailability? value) => new IncludedItem146(value); + + /// + /// + /// + public static implicit operator IncludedItem146(global::AppStoreConnect.InAppPurchaseContent value) => new IncludedItem146((global::AppStoreConnect.InAppPurchaseContent?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseContent?(IncludedItem146 @this) => @this.InAppPurchaseContents; + + /// + /// + /// + public IncludedItem146(global::AppStoreConnect.InAppPurchaseContent? value) + { + InAppPurchaseContents = value; + } + + /// + /// + /// + public static IncludedItem146 FromInAppPurchaseContents(global::AppStoreConnect.InAppPurchaseContent? value) => new IncludedItem146(value); + + /// + /// + /// + public static implicit operator IncludedItem146(global::AppStoreConnect.InAppPurchaseImage value) => new IncludedItem146((global::AppStoreConnect.InAppPurchaseImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseImage?(IncludedItem146 @this) => @this.InAppPurchaseImages; + + /// + /// + /// + public IncludedItem146(global::AppStoreConnect.InAppPurchaseImage? value) + { + InAppPurchaseImages = value; + } + + /// + /// + /// + public static IncludedItem146 FromInAppPurchaseImages(global::AppStoreConnect.InAppPurchaseImage? value) => new IncludedItem146(value); + /// /// /// - public static implicit operator IncludedItem146(global::AppStoreConnect.Actor value) => new IncludedItem146((global::AppStoreConnect.Actor?)value); + public static implicit operator IncludedItem146(global::AppStoreConnect.InAppPurchaseLocalization value) => new IncludedItem146((global::AppStoreConnect.InAppPurchaseLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Actor?(IncludedItem146 @this) => @this.Actors; + public static implicit operator global::AppStoreConnect.InAppPurchaseLocalization?(IncludedItem146 @this) => @this.InAppPurchaseLocalizations; /// /// /// - public IncludedItem146(global::AppStoreConnect.Actor? value) + public IncludedItem146(global::AppStoreConnect.InAppPurchaseLocalization? value) { - Actors = value; + InAppPurchaseLocalizations = value; } /// /// /// - public static IncludedItem146 FromActors(global::AppStoreConnect.Actor? value) => new IncludedItem146(value); + public static IncludedItem146 FromInAppPurchaseLocalizations(global::AppStoreConnect.InAppPurchaseLocalization? value) => new IncludedItem146(value); /// /// /// - public static implicit operator IncludedItem146(global::AppStoreConnect.AppEvent value) => new IncludedItem146((global::AppStoreConnect.AppEvent?)value); + public static implicit operator IncludedItem146(global::AppStoreConnect.InAppPurchaseOfferCode value) => new IncludedItem146((global::AppStoreConnect.InAppPurchaseOfferCode?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem146 @this) => @this.AppEvents1; + public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCode?(IncludedItem146 @this) => @this.InAppPurchaseOfferCodes; /// /// /// - public IncludedItem146(global::AppStoreConnect.AppEvent? value) + public IncludedItem146(global::AppStoreConnect.InAppPurchaseOfferCode? value) { - AppEvents1 = value; + InAppPurchaseOfferCodes = value; } /// /// /// - public static IncludedItem146 FromAppEvents1(global::AppStoreConnect.AppEvent? value) => new IncludedItem146(value); + public static IncludedItem146 FromInAppPurchaseOfferCodes(global::AppStoreConnect.InAppPurchaseOfferCode? value) => new IncludedItem146(value); /// /// /// - public static implicit operator IncludedItem146(global::AppStoreConnect.App value) => new IncludedItem146((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem146(global::AppStoreConnect.InAppPurchasePricePoint value) => new IncludedItem146((global::AppStoreConnect.InAppPurchasePricePoint?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem146 @this) => @this.AppEvents2; + public static implicit operator global::AppStoreConnect.InAppPurchasePricePoint?(IncludedItem146 @this) => @this.InAppPurchasePricePoints; /// /// /// - public IncludedItem146(global::AppStoreConnect.App? value) + public IncludedItem146(global::AppStoreConnect.InAppPurchasePricePoint? value) { - AppEvents2 = value; + InAppPurchasePricePoints = value; } /// /// /// - public static IncludedItem146 FromAppEvents2(global::AppStoreConnect.App? value) => new IncludedItem146(value); + public static IncludedItem146 FromInAppPurchasePricePoints(global::AppStoreConnect.InAppPurchasePricePoint? value) => new IncludedItem146(value); /// /// /// - public static implicit operator IncludedItem146(global::AppStoreConnect.Territory value) => new IncludedItem146((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem146(global::AppStoreConnect.InAppPurchasePriceSchedule value) => new IncludedItem146((global::AppStoreConnect.InAppPurchasePriceSchedule?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem146 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.InAppPurchasePriceSchedule?(IncludedItem146 @this) => @this.InAppPurchasePriceSchedules; /// /// /// - public IncludedItem146(global::AppStoreConnect.Territory? value) + public IncludedItem146(global::AppStoreConnect.InAppPurchasePriceSchedule? value) { - Territories = value; + InAppPurchasePriceSchedules = value; } /// /// /// - public static IncludedItem146 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem146(value); + public static IncludedItem146 FromInAppPurchasePriceSchedules(global::AppStoreConnect.InAppPurchasePriceSchedule? value) => new IncludedItem146(value); + + /// + /// + /// + public static implicit operator IncludedItem146(global::AppStoreConnect.InAppPurchaseVersion value) => new IncludedItem146((global::AppStoreConnect.InAppPurchaseVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseVersion?(IncludedItem146 @this) => @this.InAppPurchaseVersions; + + /// + /// + /// + public IncludedItem146(global::AppStoreConnect.InAppPurchaseVersion? value) + { + InAppPurchaseVersions = value; + } + + /// + /// + /// + public static IncludedItem146 FromInAppPurchaseVersions(global::AppStoreConnect.InAppPurchaseVersion? value) => new IncludedItem146(value); + + /// + /// + /// + public static implicit operator IncludedItem146(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem146((global::AppStoreConnect.PromotedPurchase?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem146 @this) => @this.PromotedPurchases; + + /// + /// + /// + public IncludedItem146(global::AppStoreConnect.PromotedPurchase? value) + { + PromotedPurchases = value; + } + + /// + /// + /// + public static IncludedItem146 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem146(value); /// /// /// public IncludedItem146( - global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.Actor? actors, - global::AppStoreConnect.AppEvent? appEvents1, - global::AppStoreConnect.App? appEvents2, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.InAppPurchasesV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? inAppPurchaseAppStoreReviewScreenshots, + global::AppStoreConnect.InAppPurchaseAvailability? inAppPurchaseAvailabilities, + global::AppStoreConnect.InAppPurchaseContent? inAppPurchaseContents, + global::AppStoreConnect.InAppPurchaseImage? inAppPurchaseImages, + global::AppStoreConnect.InAppPurchaseLocalization? inAppPurchaseLocalizations, + global::AppStoreConnect.InAppPurchaseOfferCode? inAppPurchaseOfferCodes, + global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints, + global::AppStoreConnect.InAppPurchasePriceSchedule? inAppPurchasePriceSchedules, + global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions, + global::AppStoreConnect.PromotedPurchase? promotedPurchases ) { Type = type; - Actors = actors; - AppEvents1 = appEvents1; - AppEvents2 = appEvents2; - Territories = territories; + InAppPurchaseAppStoreReviewScreenshots = inAppPurchaseAppStoreReviewScreenshots; + InAppPurchaseAvailabilities = inAppPurchaseAvailabilities; + InAppPurchaseContents = inAppPurchaseContents; + InAppPurchaseImages = inAppPurchaseImages; + InAppPurchaseLocalizations = inAppPurchaseLocalizations; + InAppPurchaseOfferCodes = inAppPurchaseOfferCodes; + InAppPurchasePricePoints = inAppPurchasePricePoints; + InAppPurchasePriceSchedules = inAppPurchasePriceSchedules; + InAppPurchaseVersions = inAppPurchaseVersions; + PromotedPurchases = promotedPurchases; } /// /// /// public object? Object => - Territories as object ?? - AppEvents2 as object ?? - AppEvents1 as object ?? - Actors as object + PromotedPurchases as object ?? + InAppPurchaseVersions as object ?? + InAppPurchasePriceSchedules as object ?? + InAppPurchasePricePoints as object ?? + InAppPurchaseOfferCodes as object ?? + InAppPurchaseLocalizations as object ?? + InAppPurchaseImages as object ?? + InAppPurchaseContents as object ?? + InAppPurchaseAvailabilities as object ?? + InAppPurchaseAppStoreReviewScreenshots as object ; /// /// /// public override string? ToString() => - Actors?.ToString() ?? - AppEvents1?.ToString() ?? - AppEvents2?.ToString() ?? - Territories?.ToString() + InAppPurchaseAppStoreReviewScreenshots?.ToString() ?? + InAppPurchaseAvailabilities?.ToString() ?? + InAppPurchaseContents?.ToString() ?? + InAppPurchaseImages?.ToString() ?? + InAppPurchaseLocalizations?.ToString() ?? + InAppPurchaseOfferCodes?.ToString() ?? + InAppPurchasePricePoints?.ToString() ?? + InAppPurchasePriceSchedules?.ToString() ?? + InAppPurchaseVersions?.ToString() ?? + PromotedPurchases?.ToString() ; /// @@ -297,17 +681,23 @@ Actors as object /// public bool Validate() { - return IsActors && !IsAppEvents1 && !IsAppEvents2 && !IsTerritories || !IsActors && IsAppEvents1 && !IsAppEvents2 && !IsTerritories || !IsActors && !IsAppEvents1 && IsAppEvents2 && !IsTerritories || !IsActors && !IsAppEvents1 && !IsAppEvents2 && IsTerritories; + return IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && IsPromotedPurchases; } /// /// /// public TResult? Match( - global::System.Func? actors = null, - global::System.Func? appEvents1 = null, - global::System.Func? appEvents2 = null, - global::System.Func? territories = null, + global::System.Func? inAppPurchaseAppStoreReviewScreenshots = null, + global::System.Func? inAppPurchaseAvailabilities = null, + global::System.Func? inAppPurchaseContents = null, + global::System.Func? inAppPurchaseImages = null, + global::System.Func? inAppPurchaseLocalizations = null, + global::System.Func? inAppPurchaseOfferCodes = null, + global::System.Func? inAppPurchasePricePoints = null, + global::System.Func? inAppPurchasePriceSchedules = null, + global::System.Func? inAppPurchaseVersions = null, + global::System.Func? promotedPurchases = null, bool validate = true) { if (validate) @@ -315,21 +705,45 @@ public bool Validate() Validate(); } - if (Actors is { } __value0 && actors != null) + if (InAppPurchaseAppStoreReviewScreenshots is { } __value0 && inAppPurchaseAppStoreReviewScreenshots != null) + { + return inAppPurchaseAppStoreReviewScreenshots(__value0); + } + else if (InAppPurchaseAvailabilities is { } __value1 && inAppPurchaseAvailabilities != null) + { + return inAppPurchaseAvailabilities(__value1); + } + else if (InAppPurchaseContents is { } __value2 && inAppPurchaseContents != null) + { + return inAppPurchaseContents(__value2); + } + else if (InAppPurchaseImages is { } __value3 && inAppPurchaseImages != null) + { + return inAppPurchaseImages(__value3); + } + else if (InAppPurchaseLocalizations is { } __value4 && inAppPurchaseLocalizations != null) { - return actors(__value0); + return inAppPurchaseLocalizations(__value4); } - else if (AppEvents1 is { } __value1 && appEvents1 != null) + else if (InAppPurchaseOfferCodes is { } __value5 && inAppPurchaseOfferCodes != null) { - return appEvents1(__value1); + return inAppPurchaseOfferCodes(__value5); } - else if (AppEvents2 is { } __value2 && appEvents2 != null) + else if (InAppPurchasePricePoints is { } __value6 && inAppPurchasePricePoints != null) { - return appEvents2(__value2); + return inAppPurchasePricePoints(__value6); } - else if (Territories is { } __value3 && territories != null) + else if (InAppPurchasePriceSchedules is { } __value7 && inAppPurchasePriceSchedules != null) { - return territories(__value3); + return inAppPurchasePriceSchedules(__value7); + } + else if (InAppPurchaseVersions is { } __value8 && inAppPurchaseVersions != null) + { + return inAppPurchaseVersions(__value8); + } + else if (PromotedPurchases is { } __value9 && promotedPurchases != null) + { + return promotedPurchases(__value9); } return default(TResult); @@ -339,13 +753,25 @@ public bool Validate() /// /// public void Match( - global::System.Action? actors = null, + global::System.Action? inAppPurchaseAppStoreReviewScreenshots = null, + + global::System.Action? inAppPurchaseAvailabilities = null, - global::System.Action? appEvents1 = null, + global::System.Action? inAppPurchaseContents = null, - global::System.Action? appEvents2 = null, + global::System.Action? inAppPurchaseImages = null, - global::System.Action? territories = null, + global::System.Action? inAppPurchaseLocalizations = null, + + global::System.Action? inAppPurchaseOfferCodes = null, + + global::System.Action? inAppPurchasePricePoints = null, + + global::System.Action? inAppPurchasePriceSchedules = null, + + global::System.Action? inAppPurchaseVersions = null, + + global::System.Action? promotedPurchases = null, bool validate = true) { if (validate) @@ -353,21 +779,45 @@ public void Match( Validate(); } - if (Actors is { } __value0) + if (InAppPurchaseAppStoreReviewScreenshots is { } __value0) { - actors?.Invoke(__value0); + inAppPurchaseAppStoreReviewScreenshots?.Invoke(__value0); } - else if (AppEvents1 is { } __value1) + else if (InAppPurchaseAvailabilities is { } __value1) { - appEvents1?.Invoke(__value1); + inAppPurchaseAvailabilities?.Invoke(__value1); } - else if (AppEvents2 is { } __value2) + else if (InAppPurchaseContents is { } __value2) { - appEvents2?.Invoke(__value2); + inAppPurchaseContents?.Invoke(__value2); } - else if (Territories is { } __value3) + else if (InAppPurchaseImages is { } __value3) { - territories?.Invoke(__value3); + inAppPurchaseImages?.Invoke(__value3); + } + else if (InAppPurchaseLocalizations is { } __value4) + { + inAppPurchaseLocalizations?.Invoke(__value4); + } + else if (InAppPurchaseOfferCodes is { } __value5) + { + inAppPurchaseOfferCodes?.Invoke(__value5); + } + else if (InAppPurchasePricePoints is { } __value6) + { + inAppPurchasePricePoints?.Invoke(__value6); + } + else if (InAppPurchasePriceSchedules is { } __value7) + { + inAppPurchasePriceSchedules?.Invoke(__value7); + } + else if (InAppPurchaseVersions is { } __value8) + { + inAppPurchaseVersions?.Invoke(__value8); + } + else if (PromotedPurchases is { } __value9) + { + promotedPurchases?.Invoke(__value9); } } @@ -375,10 +825,16 @@ public void Match( /// /// public void Switch( - global::System.Action? actors = null, - global::System.Action? appEvents1 = null, - global::System.Action? appEvents2 = null, - global::System.Action? territories = null, + global::System.Action? inAppPurchaseAppStoreReviewScreenshots = null, + global::System.Action? inAppPurchaseAvailabilities = null, + global::System.Action? inAppPurchaseContents = null, + global::System.Action? inAppPurchaseImages = null, + global::System.Action? inAppPurchaseLocalizations = null, + global::System.Action? inAppPurchaseOfferCodes = null, + global::System.Action? inAppPurchasePricePoints = null, + global::System.Action? inAppPurchasePriceSchedules = null, + global::System.Action? inAppPurchaseVersions = null, + global::System.Action? promotedPurchases = null, bool validate = true) { if (validate) @@ -386,21 +842,45 @@ public void Switch( Validate(); } - if (Actors is { } __value0) + if (InAppPurchaseAppStoreReviewScreenshots is { } __value0) + { + inAppPurchaseAppStoreReviewScreenshots?.Invoke(__value0); + } + else if (InAppPurchaseAvailabilities is { } __value1) + { + inAppPurchaseAvailabilities?.Invoke(__value1); + } + else if (InAppPurchaseContents is { } __value2) + { + inAppPurchaseContents?.Invoke(__value2); + } + else if (InAppPurchaseImages is { } __value3) + { + inAppPurchaseImages?.Invoke(__value3); + } + else if (InAppPurchaseLocalizations is { } __value4) + { + inAppPurchaseLocalizations?.Invoke(__value4); + } + else if (InAppPurchaseOfferCodes is { } __value5) + { + inAppPurchaseOfferCodes?.Invoke(__value5); + } + else if (InAppPurchasePricePoints is { } __value6) { - actors?.Invoke(__value0); + inAppPurchasePricePoints?.Invoke(__value6); } - else if (AppEvents1 is { } __value1) + else if (InAppPurchasePriceSchedules is { } __value7) { - appEvents1?.Invoke(__value1); + inAppPurchasePriceSchedules?.Invoke(__value7); } - else if (AppEvents2 is { } __value2) + else if (InAppPurchaseVersions is { } __value8) { - appEvents2?.Invoke(__value2); + inAppPurchaseVersions?.Invoke(__value8); } - else if (Territories is { } __value3) + else if (PromotedPurchases is { } __value9) { - territories?.Invoke(__value3); + promotedPurchases?.Invoke(__value9); } } @@ -411,14 +891,26 @@ public override int GetHashCode() { var fields = new object?[] { - Actors, - typeof(global::AppStoreConnect.Actor), - AppEvents1, - typeof(global::AppStoreConnect.AppEvent), - AppEvents2, - typeof(global::AppStoreConnect.App), - Territories, - typeof(global::AppStoreConnect.Territory), + InAppPurchaseAppStoreReviewScreenshots, + typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), + InAppPurchaseAvailabilities, + typeof(global::AppStoreConnect.InAppPurchaseAvailability), + InAppPurchaseContents, + typeof(global::AppStoreConnect.InAppPurchaseContent), + InAppPurchaseImages, + typeof(global::AppStoreConnect.InAppPurchaseImage), + InAppPurchaseLocalizations, + typeof(global::AppStoreConnect.InAppPurchaseLocalization), + InAppPurchaseOfferCodes, + typeof(global::AppStoreConnect.InAppPurchaseOfferCode), + InAppPurchasePricePoints, + typeof(global::AppStoreConnect.InAppPurchasePricePoint), + InAppPurchasePriceSchedules, + typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), + InAppPurchaseVersions, + typeof(global::AppStoreConnect.InAppPurchaseVersion), + PromotedPurchases, + typeof(global::AppStoreConnect.PromotedPurchase), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +927,16 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem146 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Actors, other.Actors) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents1, other.AppEvents1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents2, other.AppEvents2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseAppStoreReviewScreenshots, other.InAppPurchaseAppStoreReviewScreenshots) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseAvailabilities, other.InAppPurchaseAvailabilities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseContents, other.InAppPurchaseContents) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseImages, other.InAppPurchaseImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseLocalizations, other.InAppPurchaseLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodes, other.InAppPurchaseOfferCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePricePoints, other.InAppPurchasePricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePriceSchedules, other.InAppPurchasePriceSchedules) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseVersions, other.InAppPurchaseVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem147.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem147.g.cs index 56da58deb..47d4ba878 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem147.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem147.g.cs @@ -12,284 +12,668 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Actor? Actors { get; init; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? InAppPurchaseAppStoreReviewScreenshots { get; init; } #else - public global::AppStoreConnect.Actor? Actors { get; } + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? InAppPurchaseAppStoreReviewScreenshots { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Actors))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseAppStoreReviewScreenshots))] #endif - public bool IsActors => Actors != null; + public bool IsInAppPurchaseAppStoreReviewScreenshots => InAppPurchaseAppStoreReviewScreenshots != null; /// /// /// - public bool TryPickActors( + public bool TryPickInAppPurchaseAppStoreReviewScreenshots( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Actor? value) + out global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) { - value = Actors; - return IsActors; + value = InAppPurchaseAppStoreReviewScreenshots; + return IsInAppPurchaseAppStoreReviewScreenshots; } /// /// /// - public global::AppStoreConnect.Actor PickActors() => Actors is { } value + public global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot PickInAppPurchaseAppStoreReviewScreenshots() => InAppPurchaseAppStoreReviewScreenshots is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Actors' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseAppStoreReviewScreenshots' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEvent? AppEvents1 { get; init; } + public global::AppStoreConnect.InAppPurchaseAvailability? InAppPurchaseAvailabilities { get; init; } #else - public global::AppStoreConnect.AppEvent? AppEvents1 { get; } + public global::AppStoreConnect.InAppPurchaseAvailability? InAppPurchaseAvailabilities { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseAvailabilities))] #endif - public bool IsAppEvents1 => AppEvents1 != null; + public bool IsInAppPurchaseAvailabilities => InAppPurchaseAvailabilities != null; /// /// /// - public bool TryPickAppEvents1( + public bool TryPickInAppPurchaseAvailabilities( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEvent? value) + out global::AppStoreConnect.InAppPurchaseAvailability? value) { - value = AppEvents1; - return IsAppEvents1; + value = InAppPurchaseAvailabilities; + return IsInAppPurchaseAvailabilities; } /// /// /// - public global::AppStoreConnect.AppEvent PickAppEvents1() => AppEvents1 is { } value + public global::AppStoreConnect.InAppPurchaseAvailability PickInAppPurchaseAvailabilities() => InAppPurchaseAvailabilities is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseAvailabilities' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppEvents2 { get; init; } + public global::AppStoreConnect.InAppPurchaseContent? InAppPurchaseContents { get; init; } #else - public global::AppStoreConnect.App? AppEvents2 { get; } + public global::AppStoreConnect.InAppPurchaseContent? InAppPurchaseContents { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseContents))] #endif - public bool IsAppEvents2 => AppEvents2 != null; + public bool IsInAppPurchaseContents => InAppPurchaseContents != null; /// /// /// - public bool TryPickAppEvents2( + public bool TryPickInAppPurchaseContents( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.InAppPurchaseContent? value) { - value = AppEvents2; - return IsAppEvents2; + value = InAppPurchaseContents; + return IsInAppPurchaseContents; } /// /// /// - public global::AppStoreConnect.App PickAppEvents2() => AppEvents2 is { } value + public global::AppStoreConnect.InAppPurchaseContent PickInAppPurchaseContents() => InAppPurchaseContents is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseContents' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.InAppPurchaseImage? InAppPurchaseImages { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.InAppPurchaseImage? InAppPurchaseImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseImages))] #endif - public bool IsTerritories => Territories != null; + public bool IsInAppPurchaseImages => InAppPurchaseImages != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickInAppPurchaseImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.InAppPurchaseImage? value) { - value = Territories; - return IsTerritories; + value = InAppPurchaseImages; + return IsInAppPurchaseImages; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.InAppPurchaseImage PickInAppPurchaseImages() => InAppPurchaseImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseImages' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseLocalization? InAppPurchaseLocalizations { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseLocalization? InAppPurchaseLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseLocalizations))] +#endif + public bool IsInAppPurchaseLocalizations => InAppPurchaseLocalizations != null; + + /// + /// + /// + public bool TryPickInAppPurchaseLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseLocalization? value) + { + value = InAppPurchaseLocalizations; + return IsInAppPurchaseLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseLocalization PickInAppPurchaseLocalizations() => InAppPurchaseLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseOfferCode? InAppPurchaseOfferCodes { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseOfferCode? InAppPurchaseOfferCodes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseOfferCodes))] +#endif + public bool IsInAppPurchaseOfferCodes => InAppPurchaseOfferCodes != null; + + /// + /// + /// + public bool TryPickInAppPurchaseOfferCodes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseOfferCode? value) + { + value = InAppPurchaseOfferCodes; + return IsInAppPurchaseOfferCodes; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseOfferCode PickInAppPurchaseOfferCodes() => InAppPurchaseOfferCodes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseOfferCodes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; init; } +#else + public global::AppStoreConnect.InAppPurchasePricePoint? InAppPurchasePricePoints { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePricePoints))] +#endif + public bool IsInAppPurchasePricePoints => InAppPurchasePricePoints != null; + + /// + /// + /// + public bool TryPickInAppPurchasePricePoints( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchasePricePoint? value) + { + value = InAppPurchasePricePoints; + return IsInAppPurchasePricePoints; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePricePoint PickInAppPurchasePricePoints() => InAppPurchasePricePoints is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePricePoints' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchasePriceSchedule? InAppPurchasePriceSchedules { get; init; } +#else + public global::AppStoreConnect.InAppPurchasePriceSchedule? InAppPurchasePriceSchedules { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchasePriceSchedules))] +#endif + public bool IsInAppPurchasePriceSchedules => InAppPurchasePriceSchedules != null; + + /// + /// + /// + public bool TryPickInAppPurchasePriceSchedules( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchasePriceSchedule? value) + { + value = InAppPurchasePriceSchedules; + return IsInAppPurchasePriceSchedules; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchasePriceSchedule PickInAppPurchasePriceSchedules() => InAppPurchasePriceSchedules is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchasePriceSchedules' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseVersions))] +#endif + public bool IsInAppPurchaseVersions => InAppPurchaseVersions != null; + + /// + /// + /// + public bool TryPickInAppPurchaseVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseVersion? value) + { + value = InAppPurchaseVersions; + return IsInAppPurchaseVersions; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseVersion PickInAppPurchaseVersions() => InAppPurchaseVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } +#else + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] +#endif + public bool IsPromotedPurchases => PromotedPurchases != null; + + /// + /// + /// + public bool TryPickPromotedPurchases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.PromotedPurchase? value) + { + value = PromotedPurchases; + return IsPromotedPurchases; + } + + /// + /// + /// + public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem147(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot value) => new IncludedItem147((global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot?(IncludedItem147 @this) => @this.InAppPurchaseAppStoreReviewScreenshots; + + /// + /// + /// + public IncludedItem147(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) + { + InAppPurchaseAppStoreReviewScreenshots = value; + } + + /// + /// + /// + public static IncludedItem147 FromInAppPurchaseAppStoreReviewScreenshots(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? value) => new IncludedItem147(value); + + /// + /// + /// + public static implicit operator IncludedItem147(global::AppStoreConnect.InAppPurchaseAvailability value) => new IncludedItem147((global::AppStoreConnect.InAppPurchaseAvailability?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseAvailability?(IncludedItem147 @this) => @this.InAppPurchaseAvailabilities; + + /// + /// + /// + public IncludedItem147(global::AppStoreConnect.InAppPurchaseAvailability? value) + { + InAppPurchaseAvailabilities = value; + } + + /// + /// + /// + public static IncludedItem147 FromInAppPurchaseAvailabilities(global::AppStoreConnect.InAppPurchaseAvailability? value) => new IncludedItem147(value); + + /// + /// + /// + public static implicit operator IncludedItem147(global::AppStoreConnect.InAppPurchaseContent value) => new IncludedItem147((global::AppStoreConnect.InAppPurchaseContent?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseContent?(IncludedItem147 @this) => @this.InAppPurchaseContents; + + /// + /// + /// + public IncludedItem147(global::AppStoreConnect.InAppPurchaseContent? value) + { + InAppPurchaseContents = value; + } + + /// + /// + /// + public static IncludedItem147 FromInAppPurchaseContents(global::AppStoreConnect.InAppPurchaseContent? value) => new IncludedItem147(value); + + /// + /// + /// + public static implicit operator IncludedItem147(global::AppStoreConnect.InAppPurchaseImage value) => new IncludedItem147((global::AppStoreConnect.InAppPurchaseImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseImage?(IncludedItem147 @this) => @this.InAppPurchaseImages; + + /// + /// + /// + public IncludedItem147(global::AppStoreConnect.InAppPurchaseImage? value) + { + InAppPurchaseImages = value; + } + + /// + /// + /// + public static IncludedItem147 FromInAppPurchaseImages(global::AppStoreConnect.InAppPurchaseImage? value) => new IncludedItem147(value); + /// /// /// - public static implicit operator IncludedItem147(global::AppStoreConnect.Actor value) => new IncludedItem147((global::AppStoreConnect.Actor?)value); + public static implicit operator IncludedItem147(global::AppStoreConnect.InAppPurchaseLocalization value) => new IncludedItem147((global::AppStoreConnect.InAppPurchaseLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Actor?(IncludedItem147 @this) => @this.Actors; + public static implicit operator global::AppStoreConnect.InAppPurchaseLocalization?(IncludedItem147 @this) => @this.InAppPurchaseLocalizations; /// /// /// - public IncludedItem147(global::AppStoreConnect.Actor? value) + public IncludedItem147(global::AppStoreConnect.InAppPurchaseLocalization? value) { - Actors = value; + InAppPurchaseLocalizations = value; } /// /// /// - public static IncludedItem147 FromActors(global::AppStoreConnect.Actor? value) => new IncludedItem147(value); + public static IncludedItem147 FromInAppPurchaseLocalizations(global::AppStoreConnect.InAppPurchaseLocalization? value) => new IncludedItem147(value); /// /// /// - public static implicit operator IncludedItem147(global::AppStoreConnect.AppEvent value) => new IncludedItem147((global::AppStoreConnect.AppEvent?)value); + public static implicit operator IncludedItem147(global::AppStoreConnect.InAppPurchaseOfferCode value) => new IncludedItem147((global::AppStoreConnect.InAppPurchaseOfferCode?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem147 @this) => @this.AppEvents1; + public static implicit operator global::AppStoreConnect.InAppPurchaseOfferCode?(IncludedItem147 @this) => @this.InAppPurchaseOfferCodes; /// /// /// - public IncludedItem147(global::AppStoreConnect.AppEvent? value) + public IncludedItem147(global::AppStoreConnect.InAppPurchaseOfferCode? value) { - AppEvents1 = value; + InAppPurchaseOfferCodes = value; } /// /// /// - public static IncludedItem147 FromAppEvents1(global::AppStoreConnect.AppEvent? value) => new IncludedItem147(value); + public static IncludedItem147 FromInAppPurchaseOfferCodes(global::AppStoreConnect.InAppPurchaseOfferCode? value) => new IncludedItem147(value); /// /// /// - public static implicit operator IncludedItem147(global::AppStoreConnect.App value) => new IncludedItem147((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem147(global::AppStoreConnect.InAppPurchasePricePoint value) => new IncludedItem147((global::AppStoreConnect.InAppPurchasePricePoint?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem147 @this) => @this.AppEvents2; + public static implicit operator global::AppStoreConnect.InAppPurchasePricePoint?(IncludedItem147 @this) => @this.InAppPurchasePricePoints; /// /// /// - public IncludedItem147(global::AppStoreConnect.App? value) + public IncludedItem147(global::AppStoreConnect.InAppPurchasePricePoint? value) { - AppEvents2 = value; + InAppPurchasePricePoints = value; } /// /// /// - public static IncludedItem147 FromAppEvents2(global::AppStoreConnect.App? value) => new IncludedItem147(value); + public static IncludedItem147 FromInAppPurchasePricePoints(global::AppStoreConnect.InAppPurchasePricePoint? value) => new IncludedItem147(value); /// /// /// - public static implicit operator IncludedItem147(global::AppStoreConnect.Territory value) => new IncludedItem147((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem147(global::AppStoreConnect.InAppPurchasePriceSchedule value) => new IncludedItem147((global::AppStoreConnect.InAppPurchasePriceSchedule?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem147 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.InAppPurchasePriceSchedule?(IncludedItem147 @this) => @this.InAppPurchasePriceSchedules; /// /// /// - public IncludedItem147(global::AppStoreConnect.Territory? value) + public IncludedItem147(global::AppStoreConnect.InAppPurchasePriceSchedule? value) { - Territories = value; + InAppPurchasePriceSchedules = value; } /// /// /// - public static IncludedItem147 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem147(value); + public static IncludedItem147 FromInAppPurchasePriceSchedules(global::AppStoreConnect.InAppPurchasePriceSchedule? value) => new IncludedItem147(value); + + /// + /// + /// + public static implicit operator IncludedItem147(global::AppStoreConnect.InAppPurchaseVersion value) => new IncludedItem147((global::AppStoreConnect.InAppPurchaseVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseVersion?(IncludedItem147 @this) => @this.InAppPurchaseVersions; + + /// + /// + /// + public IncludedItem147(global::AppStoreConnect.InAppPurchaseVersion? value) + { + InAppPurchaseVersions = value; + } + + /// + /// + /// + public static IncludedItem147 FromInAppPurchaseVersions(global::AppStoreConnect.InAppPurchaseVersion? value) => new IncludedItem147(value); + + /// + /// + /// + public static implicit operator IncludedItem147(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem147((global::AppStoreConnect.PromotedPurchase?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem147 @this) => @this.PromotedPurchases; + + /// + /// + /// + public IncludedItem147(global::AppStoreConnect.PromotedPurchase? value) + { + PromotedPurchases = value; + } + + /// + /// + /// + public static IncludedItem147 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem147(value); /// /// /// public IncludedItem147( - global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.Actor? actors, - global::AppStoreConnect.AppEvent? appEvents1, - global::AppStoreConnect.App? appEvents2, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.InAppPurchaseV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot? inAppPurchaseAppStoreReviewScreenshots, + global::AppStoreConnect.InAppPurchaseAvailability? inAppPurchaseAvailabilities, + global::AppStoreConnect.InAppPurchaseContent? inAppPurchaseContents, + global::AppStoreConnect.InAppPurchaseImage? inAppPurchaseImages, + global::AppStoreConnect.InAppPurchaseLocalization? inAppPurchaseLocalizations, + global::AppStoreConnect.InAppPurchaseOfferCode? inAppPurchaseOfferCodes, + global::AppStoreConnect.InAppPurchasePricePoint? inAppPurchasePricePoints, + global::AppStoreConnect.InAppPurchasePriceSchedule? inAppPurchasePriceSchedules, + global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions, + global::AppStoreConnect.PromotedPurchase? promotedPurchases ) { Type = type; - Actors = actors; - AppEvents1 = appEvents1; - AppEvents2 = appEvents2; - Territories = territories; + InAppPurchaseAppStoreReviewScreenshots = inAppPurchaseAppStoreReviewScreenshots; + InAppPurchaseAvailabilities = inAppPurchaseAvailabilities; + InAppPurchaseContents = inAppPurchaseContents; + InAppPurchaseImages = inAppPurchaseImages; + InAppPurchaseLocalizations = inAppPurchaseLocalizations; + InAppPurchaseOfferCodes = inAppPurchaseOfferCodes; + InAppPurchasePricePoints = inAppPurchasePricePoints; + InAppPurchasePriceSchedules = inAppPurchasePriceSchedules; + InAppPurchaseVersions = inAppPurchaseVersions; + PromotedPurchases = promotedPurchases; } /// /// /// public object? Object => - Territories as object ?? - AppEvents2 as object ?? - AppEvents1 as object ?? - Actors as object + PromotedPurchases as object ?? + InAppPurchaseVersions as object ?? + InAppPurchasePriceSchedules as object ?? + InAppPurchasePricePoints as object ?? + InAppPurchaseOfferCodes as object ?? + InAppPurchaseLocalizations as object ?? + InAppPurchaseImages as object ?? + InAppPurchaseContents as object ?? + InAppPurchaseAvailabilities as object ?? + InAppPurchaseAppStoreReviewScreenshots as object ; /// /// /// public override string? ToString() => - Actors?.ToString() ?? - AppEvents1?.ToString() ?? - AppEvents2?.ToString() ?? - Territories?.ToString() + InAppPurchaseAppStoreReviewScreenshots?.ToString() ?? + InAppPurchaseAvailabilities?.ToString() ?? + InAppPurchaseContents?.ToString() ?? + InAppPurchaseImages?.ToString() ?? + InAppPurchaseLocalizations?.ToString() ?? + InAppPurchaseOfferCodes?.ToString() ?? + InAppPurchasePricePoints?.ToString() ?? + InAppPurchasePriceSchedules?.ToString() ?? + InAppPurchaseVersions?.ToString() ?? + PromotedPurchases?.ToString() ; /// @@ -297,17 +681,23 @@ Actors as object /// public bool Validate() { - return IsActors && !IsAppEvents1 && !IsAppEvents2 && !IsTerritories || !IsActors && IsAppEvents1 && !IsAppEvents2 && !IsTerritories || !IsActors && !IsAppEvents1 && IsAppEvents2 && !IsTerritories || !IsActors && !IsAppEvents1 && !IsAppEvents2 && IsTerritories; + return IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && IsInAppPurchaseVersions && !IsPromotedPurchases || !IsInAppPurchaseAppStoreReviewScreenshots && !IsInAppPurchaseAvailabilities && !IsInAppPurchaseContents && !IsInAppPurchaseImages && !IsInAppPurchaseLocalizations && !IsInAppPurchaseOfferCodes && !IsInAppPurchasePricePoints && !IsInAppPurchasePriceSchedules && !IsInAppPurchaseVersions && IsPromotedPurchases; } /// /// /// public TResult? Match( - global::System.Func? actors = null, - global::System.Func? appEvents1 = null, - global::System.Func? appEvents2 = null, - global::System.Func? territories = null, + global::System.Func? inAppPurchaseAppStoreReviewScreenshots = null, + global::System.Func? inAppPurchaseAvailabilities = null, + global::System.Func? inAppPurchaseContents = null, + global::System.Func? inAppPurchaseImages = null, + global::System.Func? inAppPurchaseLocalizations = null, + global::System.Func? inAppPurchaseOfferCodes = null, + global::System.Func? inAppPurchasePricePoints = null, + global::System.Func? inAppPurchasePriceSchedules = null, + global::System.Func? inAppPurchaseVersions = null, + global::System.Func? promotedPurchases = null, bool validate = true) { if (validate) @@ -315,21 +705,45 @@ public bool Validate() Validate(); } - if (Actors is { } __value0 && actors != null) + if (InAppPurchaseAppStoreReviewScreenshots is { } __value0 && inAppPurchaseAppStoreReviewScreenshots != null) + { + return inAppPurchaseAppStoreReviewScreenshots(__value0); + } + else if (InAppPurchaseAvailabilities is { } __value1 && inAppPurchaseAvailabilities != null) + { + return inAppPurchaseAvailabilities(__value1); + } + else if (InAppPurchaseContents is { } __value2 && inAppPurchaseContents != null) + { + return inAppPurchaseContents(__value2); + } + else if (InAppPurchaseImages is { } __value3 && inAppPurchaseImages != null) + { + return inAppPurchaseImages(__value3); + } + else if (InAppPurchaseLocalizations is { } __value4 && inAppPurchaseLocalizations != null) { - return actors(__value0); + return inAppPurchaseLocalizations(__value4); } - else if (AppEvents1 is { } __value1 && appEvents1 != null) + else if (InAppPurchaseOfferCodes is { } __value5 && inAppPurchaseOfferCodes != null) { - return appEvents1(__value1); + return inAppPurchaseOfferCodes(__value5); } - else if (AppEvents2 is { } __value2 && appEvents2 != null) + else if (InAppPurchasePricePoints is { } __value6 && inAppPurchasePricePoints != null) { - return appEvents2(__value2); + return inAppPurchasePricePoints(__value6); } - else if (Territories is { } __value3 && territories != null) + else if (InAppPurchasePriceSchedules is { } __value7 && inAppPurchasePriceSchedules != null) { - return territories(__value3); + return inAppPurchasePriceSchedules(__value7); + } + else if (InAppPurchaseVersions is { } __value8 && inAppPurchaseVersions != null) + { + return inAppPurchaseVersions(__value8); + } + else if (PromotedPurchases is { } __value9 && promotedPurchases != null) + { + return promotedPurchases(__value9); } return default(TResult); @@ -339,13 +753,25 @@ public bool Validate() /// /// public void Match( - global::System.Action? actors = null, + global::System.Action? inAppPurchaseAppStoreReviewScreenshots = null, + + global::System.Action? inAppPurchaseAvailabilities = null, - global::System.Action? appEvents1 = null, + global::System.Action? inAppPurchaseContents = null, - global::System.Action? appEvents2 = null, + global::System.Action? inAppPurchaseImages = null, - global::System.Action? territories = null, + global::System.Action? inAppPurchaseLocalizations = null, + + global::System.Action? inAppPurchaseOfferCodes = null, + + global::System.Action? inAppPurchasePricePoints = null, + + global::System.Action? inAppPurchasePriceSchedules = null, + + global::System.Action? inAppPurchaseVersions = null, + + global::System.Action? promotedPurchases = null, bool validate = true) { if (validate) @@ -353,21 +779,45 @@ public void Match( Validate(); } - if (Actors is { } __value0) + if (InAppPurchaseAppStoreReviewScreenshots is { } __value0) { - actors?.Invoke(__value0); + inAppPurchaseAppStoreReviewScreenshots?.Invoke(__value0); } - else if (AppEvents1 is { } __value1) + else if (InAppPurchaseAvailabilities is { } __value1) { - appEvents1?.Invoke(__value1); + inAppPurchaseAvailabilities?.Invoke(__value1); } - else if (AppEvents2 is { } __value2) + else if (InAppPurchaseContents is { } __value2) { - appEvents2?.Invoke(__value2); + inAppPurchaseContents?.Invoke(__value2); } - else if (Territories is { } __value3) + else if (InAppPurchaseImages is { } __value3) { - territories?.Invoke(__value3); + inAppPurchaseImages?.Invoke(__value3); + } + else if (InAppPurchaseLocalizations is { } __value4) + { + inAppPurchaseLocalizations?.Invoke(__value4); + } + else if (InAppPurchaseOfferCodes is { } __value5) + { + inAppPurchaseOfferCodes?.Invoke(__value5); + } + else if (InAppPurchasePricePoints is { } __value6) + { + inAppPurchasePricePoints?.Invoke(__value6); + } + else if (InAppPurchasePriceSchedules is { } __value7) + { + inAppPurchasePriceSchedules?.Invoke(__value7); + } + else if (InAppPurchaseVersions is { } __value8) + { + inAppPurchaseVersions?.Invoke(__value8); + } + else if (PromotedPurchases is { } __value9) + { + promotedPurchases?.Invoke(__value9); } } @@ -375,10 +825,16 @@ public void Match( /// /// public void Switch( - global::System.Action? actors = null, - global::System.Action? appEvents1 = null, - global::System.Action? appEvents2 = null, - global::System.Action? territories = null, + global::System.Action? inAppPurchaseAppStoreReviewScreenshots = null, + global::System.Action? inAppPurchaseAvailabilities = null, + global::System.Action? inAppPurchaseContents = null, + global::System.Action? inAppPurchaseImages = null, + global::System.Action? inAppPurchaseLocalizations = null, + global::System.Action? inAppPurchaseOfferCodes = null, + global::System.Action? inAppPurchasePricePoints = null, + global::System.Action? inAppPurchasePriceSchedules = null, + global::System.Action? inAppPurchaseVersions = null, + global::System.Action? promotedPurchases = null, bool validate = true) { if (validate) @@ -386,21 +842,45 @@ public void Switch( Validate(); } - if (Actors is { } __value0) + if (InAppPurchaseAppStoreReviewScreenshots is { } __value0) + { + inAppPurchaseAppStoreReviewScreenshots?.Invoke(__value0); + } + else if (InAppPurchaseAvailabilities is { } __value1) + { + inAppPurchaseAvailabilities?.Invoke(__value1); + } + else if (InAppPurchaseContents is { } __value2) + { + inAppPurchaseContents?.Invoke(__value2); + } + else if (InAppPurchaseImages is { } __value3) + { + inAppPurchaseImages?.Invoke(__value3); + } + else if (InAppPurchaseLocalizations is { } __value4) + { + inAppPurchaseLocalizations?.Invoke(__value4); + } + else if (InAppPurchaseOfferCodes is { } __value5) + { + inAppPurchaseOfferCodes?.Invoke(__value5); + } + else if (InAppPurchasePricePoints is { } __value6) { - actors?.Invoke(__value0); + inAppPurchasePricePoints?.Invoke(__value6); } - else if (AppEvents1 is { } __value1) + else if (InAppPurchasePriceSchedules is { } __value7) { - appEvents1?.Invoke(__value1); + inAppPurchasePriceSchedules?.Invoke(__value7); } - else if (AppEvents2 is { } __value2) + else if (InAppPurchaseVersions is { } __value8) { - appEvents2?.Invoke(__value2); + inAppPurchaseVersions?.Invoke(__value8); } - else if (Territories is { } __value3) + else if (PromotedPurchases is { } __value9) { - territories?.Invoke(__value3); + promotedPurchases?.Invoke(__value9); } } @@ -411,14 +891,26 @@ public override int GetHashCode() { var fields = new object?[] { - Actors, - typeof(global::AppStoreConnect.Actor), - AppEvents1, - typeof(global::AppStoreConnect.AppEvent), - AppEvents2, - typeof(global::AppStoreConnect.App), - Territories, - typeof(global::AppStoreConnect.Territory), + InAppPurchaseAppStoreReviewScreenshots, + typeof(global::AppStoreConnect.InAppPurchaseAppStoreReviewScreenshot), + InAppPurchaseAvailabilities, + typeof(global::AppStoreConnect.InAppPurchaseAvailability), + InAppPurchaseContents, + typeof(global::AppStoreConnect.InAppPurchaseContent), + InAppPurchaseImages, + typeof(global::AppStoreConnect.InAppPurchaseImage), + InAppPurchaseLocalizations, + typeof(global::AppStoreConnect.InAppPurchaseLocalization), + InAppPurchaseOfferCodes, + typeof(global::AppStoreConnect.InAppPurchaseOfferCode), + InAppPurchasePricePoints, + typeof(global::AppStoreConnect.InAppPurchasePricePoint), + InAppPurchasePriceSchedules, + typeof(global::AppStoreConnect.InAppPurchasePriceSchedule), + InAppPurchaseVersions, + typeof(global::AppStoreConnect.InAppPurchaseVersion), + PromotedPurchases, + typeof(global::AppStoreConnect.PromotedPurchase), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +927,16 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem147 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Actors, other.Actors) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents1, other.AppEvents1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents2, other.AppEvents2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseAppStoreReviewScreenshots, other.InAppPurchaseAppStoreReviewScreenshots) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseAvailabilities, other.InAppPurchaseAvailabilities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseContents, other.InAppPurchaseContents) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseImages, other.InAppPurchaseImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseLocalizations, other.InAppPurchaseLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseOfferCodes, other.InAppPurchaseOfferCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePricePoints, other.InAppPurchasePricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchasePriceSchedules, other.InAppPurchasePriceSchedules) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseVersions, other.InAppPurchaseVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem148.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem148.g.cs index 84e4db090..2be802653 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem148.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem148.g.cs @@ -12,81 +12,201 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.Actor? Actors { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.Actor? Actors { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Actors))] #endif - public bool IsApps => Apps != null; + public bool IsActors => Actors != null; /// /// /// - public bool TryPickApps( + public bool TryPickActors( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Actor? value) + { + value = Actors; + return IsActors; + } + + /// + /// + /// + public global::AppStoreConnect.Actor PickActors() => Actors is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Actors' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppEvent? AppEvents1 { get; init; } +#else + public global::AppStoreConnect.AppEvent? AppEvents1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents1))] +#endif + public bool IsAppEvents1 => AppEvents1 != null; + + /// + /// + /// + public bool TryPickAppEvents1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppEvent? value) + { + value = AppEvents1; + return IsAppEvents1; + } + + /// + /// + /// + public global::AppStoreConnect.AppEvent PickAppEvents1() => AppEvents1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppEvents2 { get; init; } +#else + public global::AppStoreConnect.App? AppEvents2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents2))] +#endif + public bool IsAppEvents2 => AppEvents2 != null; + + /// + /// + /// + public bool TryPickAppEvents2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.App? value) { - value = Apps; - return IsApps; + value = AppEvents2; + return IsAppEvents2; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.App PickAppEvents2() => AppEvents2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents2' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.Build? Builds { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsBuilds => Builds != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickBuilds( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Build? value) + out global::AppStoreConnect.Territory? value) { - value = Builds; - return IsBuilds; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem148(global::AppStoreConnect.Actor value) => new IncludedItem148((global::AppStoreConnect.Actor?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Actor?(IncludedItem148 @this) => @this.Actors; + + /// + /// + /// + public IncludedItem148(global::AppStoreConnect.Actor? value) + { + Actors = value; + } + + /// + /// + /// + public static IncludedItem148 FromActors(global::AppStoreConnect.Actor? value) => new IncludedItem148(value); + + /// + /// + /// + public static implicit operator IncludedItem148(global::AppStoreConnect.AppEvent value) => new IncludedItem148((global::AppStoreConnect.AppEvent?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem148 @this) => @this.AppEvents1; + + /// + /// + /// + public IncludedItem148(global::AppStoreConnect.AppEvent? value) + { + AppEvents1 = value; + } + + /// + /// + /// + public static IncludedItem148 FromAppEvents1(global::AppStoreConnect.AppEvent? value) => new IncludedItem148(value); + /// /// /// @@ -95,73 +215,81 @@ public bool TryPickBuilds( /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem148 @this) => @this.Apps; + public static implicit operator global::AppStoreConnect.App?(IncludedItem148 @this) => @this.AppEvents2; /// /// /// public IncludedItem148(global::AppStoreConnect.App? value) { - Apps = value; + AppEvents2 = value; } /// /// /// - public static IncludedItem148 FromApps(global::AppStoreConnect.App? value) => new IncludedItem148(value); + public static IncludedItem148 FromAppEvents2(global::AppStoreConnect.App? value) => new IncludedItem148(value); /// /// /// - public static implicit operator IncludedItem148(global::AppStoreConnect.Build value) => new IncludedItem148((global::AppStoreConnect.Build?)value); + public static implicit operator IncludedItem148(global::AppStoreConnect.Territory value) => new IncludedItem148((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem148 @this) => @this.Builds; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem148 @this) => @this.Territories; /// /// /// - public IncludedItem148(global::AppStoreConnect.Build? value) + public IncludedItem148(global::AppStoreConnect.Territory? value) { - Builds = value; + Territories = value; } /// /// /// - public static IncludedItem148 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem148(value); + public static IncludedItem148 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem148(value); /// /// /// public IncludedItem148( - global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.Build? builds + global::AppStoreConnect.NominationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.Actor? actors, + global::AppStoreConnect.AppEvent? appEvents1, + global::AppStoreConnect.App? appEvents2, + global::AppStoreConnect.Territory? territories ) { Type = type; - Apps = apps; - Builds = builds; + Actors = actors; + AppEvents1 = appEvents1; + AppEvents2 = appEvents2; + Territories = territories; } /// /// /// public object? Object => - Builds as object ?? - Apps as object + Territories as object ?? + AppEvents2 as object ?? + AppEvents1 as object ?? + Actors as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - Builds?.ToString() + Actors?.ToString() ?? + AppEvents1?.ToString() ?? + AppEvents2?.ToString() ?? + Territories?.ToString() ; /// @@ -169,15 +297,17 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBuilds || !IsApps && IsBuilds; + return IsActors && !IsAppEvents1 && !IsAppEvents2 && !IsTerritories || !IsActors && IsAppEvents1 && !IsAppEvents2 && !IsTerritories || !IsActors && !IsAppEvents1 && IsAppEvents2 && !IsTerritories || !IsActors && !IsAppEvents1 && !IsAppEvents2 && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? builds = null, + global::System.Func? actors = null, + global::System.Func? appEvents1 = null, + global::System.Func? appEvents2 = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (Actors is { } __value0 && actors != null) + { + return actors(__value0); + } + else if (AppEvents1 is { } __value1 && appEvents1 != null) + { + return appEvents1(__value1); + } + else if (AppEvents2 is { } __value2 && appEvents2 != null) { - return apps(__value0); + return appEvents2(__value2); } - else if (Builds is { } __value1 && builds != null) + else if (Territories is { } __value3 && territories != null) { - return builds(__value1); + return territories(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? actors = null, + + global::System.Action? appEvents1 = null, - global::System.Action? builds = null, + global::System.Action? appEvents2 = null, + + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (Actors is { } __value0) + { + actors?.Invoke(__value0); + } + else if (AppEvents1 is { } __value1) { - apps?.Invoke(__value0); + appEvents1?.Invoke(__value1); } - else if (Builds is { } __value1) + else if (AppEvents2 is { } __value2) { - builds?.Invoke(__value1); + appEvents2?.Invoke(__value2); + } + else if (Territories is { } __value3) + { + territories?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? builds = null, + global::System.Action? actors = null, + global::System.Action? appEvents1 = null, + global::System.Action? appEvents2 = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (Actors is { } __value0) + { + actors?.Invoke(__value0); + } + else if (AppEvents1 is { } __value1) + { + appEvents1?.Invoke(__value1); + } + else if (AppEvents2 is { } __value2) { - apps?.Invoke(__value0); + appEvents2?.Invoke(__value2); } - else if (Builds is { } __value1) + else if (Territories is { } __value3) { - builds?.Invoke(__value1); + territories?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, + Actors, + typeof(global::AppStoreConnect.Actor), + AppEvents1, + typeof(global::AppStoreConnect.AppEvent), + AppEvents2, typeof(global::AppStoreConnect.App), - Builds, - typeof(global::AppStoreConnect.Build), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem148 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Actors, other.Actors) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents1, other.AppEvents1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents2, other.AppEvents2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem149.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem149.g.cs index d5073b9cf..f1bfc1dce 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem149.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem149.g.cs @@ -12,81 +12,201 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.Actor? Actors { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.Actor? Actors { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Actors))] #endif - public bool IsApps => Apps != null; + public bool IsActors => Actors != null; /// /// /// - public bool TryPickApps( + public bool TryPickActors( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Actor? value) + { + value = Actors; + return IsActors; + } + + /// + /// + /// + public global::AppStoreConnect.Actor PickActors() => Actors is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Actors' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppEvent? AppEvents1 { get; init; } +#else + public global::AppStoreConnect.AppEvent? AppEvents1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents1))] +#endif + public bool IsAppEvents1 => AppEvents1 != null; + + /// + /// + /// + public bool TryPickAppEvents1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppEvent? value) + { + value = AppEvents1; + return IsAppEvents1; + } + + /// + /// + /// + public global::AppStoreConnect.AppEvent PickAppEvents1() => AppEvents1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppEvents2 { get; init; } +#else + public global::AppStoreConnect.App? AppEvents2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents2))] +#endif + public bool IsAppEvents2 => AppEvents2 != null; + + /// + /// + /// + public bool TryPickAppEvents2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.App? value) { - value = Apps; - return IsApps; + value = AppEvents2; + return IsAppEvents2; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.App PickAppEvents2() => AppEvents2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents2' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.Build? Builds { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsBuilds => Builds != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickBuilds( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Build? value) + out global::AppStoreConnect.Territory? value) { - value = Builds; - return IsBuilds; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem149(global::AppStoreConnect.Actor value) => new IncludedItem149((global::AppStoreConnect.Actor?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Actor?(IncludedItem149 @this) => @this.Actors; + + /// + /// + /// + public IncludedItem149(global::AppStoreConnect.Actor? value) + { + Actors = value; + } + + /// + /// + /// + public static IncludedItem149 FromActors(global::AppStoreConnect.Actor? value) => new IncludedItem149(value); + + /// + /// + /// + public static implicit operator IncludedItem149(global::AppStoreConnect.AppEvent value) => new IncludedItem149((global::AppStoreConnect.AppEvent?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem149 @this) => @this.AppEvents1; + + /// + /// + /// + public IncludedItem149(global::AppStoreConnect.AppEvent? value) + { + AppEvents1 = value; + } + + /// + /// + /// + public static IncludedItem149 FromAppEvents1(global::AppStoreConnect.AppEvent? value) => new IncludedItem149(value); + /// /// /// @@ -95,73 +215,81 @@ public bool TryPickBuilds( /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem149 @this) => @this.Apps; + public static implicit operator global::AppStoreConnect.App?(IncludedItem149 @this) => @this.AppEvents2; /// /// /// public IncludedItem149(global::AppStoreConnect.App? value) { - Apps = value; + AppEvents2 = value; } /// /// /// - public static IncludedItem149 FromApps(global::AppStoreConnect.App? value) => new IncludedItem149(value); + public static IncludedItem149 FromAppEvents2(global::AppStoreConnect.App? value) => new IncludedItem149(value); /// /// /// - public static implicit operator IncludedItem149(global::AppStoreConnect.Build value) => new IncludedItem149((global::AppStoreConnect.Build?)value); + public static implicit operator IncludedItem149(global::AppStoreConnect.Territory value) => new IncludedItem149((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem149 @this) => @this.Builds; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem149 @this) => @this.Territories; /// /// /// - public IncludedItem149(global::AppStoreConnect.Build? value) + public IncludedItem149(global::AppStoreConnect.Territory? value) { - Builds = value; + Territories = value; } /// /// /// - public static IncludedItem149 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem149(value); + public static IncludedItem149 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem149(value); /// /// /// public IncludedItem149( - global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.Build? builds + global::AppStoreConnect.NominationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.Actor? actors, + global::AppStoreConnect.AppEvent? appEvents1, + global::AppStoreConnect.App? appEvents2, + global::AppStoreConnect.Territory? territories ) { Type = type; - Apps = apps; - Builds = builds; + Actors = actors; + AppEvents1 = appEvents1; + AppEvents2 = appEvents2; + Territories = territories; } /// /// /// public object? Object => - Builds as object ?? - Apps as object + Territories as object ?? + AppEvents2 as object ?? + AppEvents1 as object ?? + Actors as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - Builds?.ToString() + Actors?.ToString() ?? + AppEvents1?.ToString() ?? + AppEvents2?.ToString() ?? + Territories?.ToString() ; /// @@ -169,15 +297,17 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBuilds || !IsApps && IsBuilds; + return IsActors && !IsAppEvents1 && !IsAppEvents2 && !IsTerritories || !IsActors && IsAppEvents1 && !IsAppEvents2 && !IsTerritories || !IsActors && !IsAppEvents1 && IsAppEvents2 && !IsTerritories || !IsActors && !IsAppEvents1 && !IsAppEvents2 && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? builds = null, + global::System.Func? actors = null, + global::System.Func? appEvents1 = null, + global::System.Func? appEvents2 = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (Actors is { } __value0 && actors != null) + { + return actors(__value0); + } + else if (AppEvents1 is { } __value1 && appEvents1 != null) + { + return appEvents1(__value1); + } + else if (AppEvents2 is { } __value2 && appEvents2 != null) { - return apps(__value0); + return appEvents2(__value2); } - else if (Builds is { } __value1 && builds != null) + else if (Territories is { } __value3 && territories != null) { - return builds(__value1); + return territories(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? actors = null, + + global::System.Action? appEvents1 = null, - global::System.Action? builds = null, + global::System.Action? appEvents2 = null, + + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (Actors is { } __value0) + { + actors?.Invoke(__value0); + } + else if (AppEvents1 is { } __value1) { - apps?.Invoke(__value0); + appEvents1?.Invoke(__value1); } - else if (Builds is { } __value1) + else if (AppEvents2 is { } __value2) { - builds?.Invoke(__value1); + appEvents2?.Invoke(__value2); + } + else if (Territories is { } __value3) + { + territories?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? builds = null, + global::System.Action? actors = null, + global::System.Action? appEvents1 = null, + global::System.Action? appEvents2 = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (Actors is { } __value0) + { + actors?.Invoke(__value0); + } + else if (AppEvents1 is { } __value1) + { + appEvents1?.Invoke(__value1); + } + else if (AppEvents2 is { } __value2) { - apps?.Invoke(__value0); + appEvents2?.Invoke(__value2); } - else if (Builds is { } __value1) + else if (Territories is { } __value3) { - builds?.Invoke(__value1); + territories?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, + Actors, + typeof(global::AppStoreConnect.Actor), + AppEvents1, + typeof(global::AppStoreConnect.AppEvent), + AppEvents2, typeof(global::AppStoreConnect.App), - Builds, - typeof(global::AppStoreConnect.Build), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem149 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Actors, other.Actors) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents1, other.AppEvents1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents2, other.AppEvents2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem15.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem15.g.cs index f32e84d62..7c2db501e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem15.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem15.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -55,46 +55,9 @@ public bool TryPickAppCustomProductPageLocalizations1( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } + public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPageLocalizations2 { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] -#endif - public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; - - /// - /// - /// - public bool TryPickAppCustomProductPageVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppCustomProductPageVersion? value) - { - value = AppCustomProductPageVersions; - return IsAppCustomProductPageVersions; - } - - /// - /// - /// - public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppCustomProductPageLocalizations2 { get; init; } -#else - public global::AppStoreConnect.App? AppCustomProductPageLocalizations2 { get; } + public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPageLocalizations2 { get; } #endif /// @@ -112,7 +75,7 @@ public bool TryPickAppCustomProductPageLocalizations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.AppCustomProductPage? value) { value = AppCustomProductPageLocalizations2; return IsAppCustomProductPageLocalizations2; @@ -121,7 +84,7 @@ public bool TryPickAppCustomProductPageLocalizations2( /// /// /// - public global::AppStoreConnect.App PickAppCustomProductPageLocalizations2() => AppCustomProductPageLocalizations2 is { } value + public global::AppStoreConnect.AppCustomProductPage PickAppCustomProductPageLocalizations2() => AppCustomProductPageLocalizations2 is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations2' but the value was {ToString()}."); /// @@ -150,40 +113,17 @@ public IncludedItem15(global::AppStoreConnect.AppCustomProductPageLocalization? /// /// /// - public static implicit operator IncludedItem15(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem15((global::AppStoreConnect.AppCustomProductPageVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem15 @this) => @this.AppCustomProductPageVersions; - - /// - /// - /// - public IncludedItem15(global::AppStoreConnect.AppCustomProductPageVersion? value) - { - AppCustomProductPageVersions = value; - } - - /// - /// - /// - public static IncludedItem15 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem15(value); + public static implicit operator IncludedItem15(global::AppStoreConnect.AppCustomProductPage value) => new IncludedItem15((global::AppStoreConnect.AppCustomProductPage?)value); /// /// /// - public static implicit operator IncludedItem15(global::AppStoreConnect.App value) => new IncludedItem15((global::AppStoreConnect.App?)value); + public static implicit operator global::AppStoreConnect.AppCustomProductPage?(IncludedItem15 @this) => @this.AppCustomProductPageLocalizations2; /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem15 @this) => @this.AppCustomProductPageLocalizations2; - - /// - /// - /// - public IncludedItem15(global::AppStoreConnect.App? value) + public IncludedItem15(global::AppStoreConnect.AppCustomProductPage? value) { AppCustomProductPageLocalizations2 = value; } @@ -191,22 +131,20 @@ public IncludedItem15(global::AppStoreConnect.App? value) /// /// /// - public static IncludedItem15 FromAppCustomProductPageLocalizations2(global::AppStoreConnect.App? value) => new IncludedItem15(value); + public static IncludedItem15 FromAppCustomProductPageLocalizations2(global::AppStoreConnect.AppCustomProductPage? value) => new IncludedItem15(value); /// /// /// public IncludedItem15( - global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppCustomProductPageVersionsResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1, - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, - global::AppStoreConnect.App? appCustomProductPageLocalizations2 + global::AppStoreConnect.AppCustomProductPage? appCustomProductPageLocalizations2 ) { Type = type; AppCustomProductPageLocalizations1 = appCustomProductPageLocalizations1; - AppCustomProductPageVersions = appCustomProductPageVersions; AppCustomProductPageLocalizations2 = appCustomProductPageLocalizations2; } @@ -215,7 +153,6 @@ public IncludedItem15( /// public object? Object => AppCustomProductPageLocalizations2 as object ?? - AppCustomProductPageVersions as object ?? AppCustomProductPageLocalizations1 as object ; @@ -224,7 +161,6 @@ AppCustomProductPageLocalizations1 as object /// public override string? ToString() => AppCustomProductPageLocalizations1?.ToString() ?? - AppCustomProductPageVersions?.ToString() ?? AppCustomProductPageLocalizations2?.ToString() ; @@ -233,7 +169,7 @@ AppCustomProductPageLocalizations1 as object /// public bool Validate() { - return IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageVersions && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && IsAppCustomProductPageVersions && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageVersions && IsAppCustomProductPageLocalizations2; + return IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && IsAppCustomProductPageLocalizations2; } /// @@ -241,8 +177,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? appCustomProductPageLocalizations1 = null, - global::System.Func? appCustomProductPageVersions = null, - global::System.Func? appCustomProductPageLocalizations2 = null, + global::System.Func? appCustomProductPageLocalizations2 = null, bool validate = true) { if (validate) @@ -254,13 +189,9 @@ public bool Validate() { return appCustomProductPageLocalizations1(__value0); } - else if (AppCustomProductPageVersions is { } __value1 && appCustomProductPageVersions != null) + else if (AppCustomProductPageLocalizations2 is { } __value1 && appCustomProductPageLocalizations2 != null) { - return appCustomProductPageVersions(__value1); - } - else if (AppCustomProductPageLocalizations2 is { } __value2 && appCustomProductPageLocalizations2 != null) - { - return appCustomProductPageLocalizations2(__value2); + return appCustomProductPageLocalizations2(__value1); } return default(TResult); @@ -272,9 +203,7 @@ public bool Validate() public void Match( global::System.Action? appCustomProductPageLocalizations1 = null, - global::System.Action? appCustomProductPageVersions = null, - - global::System.Action? appCustomProductPageLocalizations2 = null, + global::System.Action? appCustomProductPageLocalizations2 = null, bool validate = true) { if (validate) @@ -286,13 +215,9 @@ public void Match( { appCustomProductPageLocalizations1?.Invoke(__value0); } - else if (AppCustomProductPageVersions is { } __value1) - { - appCustomProductPageVersions?.Invoke(__value1); - } - else if (AppCustomProductPageLocalizations2 is { } __value2) + else if (AppCustomProductPageLocalizations2 is { } __value1) { - appCustomProductPageLocalizations2?.Invoke(__value2); + appCustomProductPageLocalizations2?.Invoke(__value1); } } @@ -301,8 +226,7 @@ public void Match( /// public void Switch( global::System.Action? appCustomProductPageLocalizations1 = null, - global::System.Action? appCustomProductPageVersions = null, - global::System.Action? appCustomProductPageLocalizations2 = null, + global::System.Action? appCustomProductPageLocalizations2 = null, bool validate = true) { if (validate) @@ -314,13 +238,9 @@ public void Switch( { appCustomProductPageLocalizations1?.Invoke(__value0); } - else if (AppCustomProductPageVersions is { } __value1) - { - appCustomProductPageVersions?.Invoke(__value1); - } - else if (AppCustomProductPageLocalizations2 is { } __value2) + else if (AppCustomProductPageLocalizations2 is { } __value1) { - appCustomProductPageLocalizations2?.Invoke(__value2); + appCustomProductPageLocalizations2?.Invoke(__value1); } } @@ -333,10 +253,8 @@ public override int GetHashCode() { AppCustomProductPageLocalizations1, typeof(global::AppStoreConnect.AppCustomProductPageLocalization), - AppCustomProductPageVersions, - typeof(global::AppStoreConnect.AppCustomProductPageVersion), AppCustomProductPageLocalizations2, - typeof(global::AppStoreConnect.App), + typeof(global::AppStoreConnect.AppCustomProductPage), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -354,8 +272,7 @@ public bool Equals(IncludedItem15 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations1, other.AppCustomProductPageLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations2, other.AppCustomProductPageLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations2, other.AppCustomProductPageLocalizations2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem150.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem150.g.cs index 7c7a92602..9ade3e965 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem150.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem150.g.cs @@ -12,220 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BundleId? BundleIds { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.BundleId? BundleIds { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsBundleIds => BundleIds != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickBundleIds( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BundleId? value) + out global::AppStoreConnect.App? value) { - value = BundleIds; - return IsBundleIds; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.BundleId PickBundleIds() => BundleIds is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Certificate? Certificates { get; init; } + public global::AppStoreConnect.Build? Builds { get; init; } #else - public global::AppStoreConnect.Certificate? Certificates { get; } + public global::AppStoreConnect.Build? Builds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Certificates))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] #endif - public bool IsCertificates => Certificates != null; + public bool IsBuilds => Builds != null; /// /// /// - public bool TryPickCertificates( + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Certificate? value) + out global::AppStoreConnect.Build? value) { - value = Certificates; - return IsCertificates; + value = Builds; + return IsBuilds; } /// /// /// - public global::AppStoreConnect.Certificate PickCertificates() => Certificates is { } value + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Certificates' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Device? Devices { get; init; } -#else - public global::AppStoreConnect.Device? Devices { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Devices))] -#endif - public bool IsDevices => Devices != null; - - /// - /// - /// - public bool TryPickDevices( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Device? value) - { - value = Devices; - return IsDevices; - } - - /// - /// - /// - public global::AppStoreConnect.Device PickDevices() => Devices is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Devices' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem150(global::AppStoreConnect.BundleId value) => new IncludedItem150((global::AppStoreConnect.BundleId?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BundleId?(IncludedItem150 @this) => @this.BundleIds; - - /// - /// - /// - public IncludedItem150(global::AppStoreConnect.BundleId? value) - { - BundleIds = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); /// /// /// - public static IncludedItem150 FromBundleIds(global::AppStoreConnect.BundleId? value) => new IncludedItem150(value); + public static implicit operator IncludedItem150(global::AppStoreConnect.App value) => new IncludedItem150((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator IncludedItem150(global::AppStoreConnect.Certificate value) => new IncludedItem150((global::AppStoreConnect.Certificate?)value); + public static implicit operator global::AppStoreConnect.App?(IncludedItem150 @this) => @this.Apps; /// /// /// - public static implicit operator global::AppStoreConnect.Certificate?(IncludedItem150 @this) => @this.Certificates; - - /// - /// - /// - public IncludedItem150(global::AppStoreConnect.Certificate? value) + public IncludedItem150(global::AppStoreConnect.App? value) { - Certificates = value; + Apps = value; } /// /// /// - public static IncludedItem150 FromCertificates(global::AppStoreConnect.Certificate? value) => new IncludedItem150(value); + public static IncludedItem150 FromApps(global::AppStoreConnect.App? value) => new IncludedItem150(value); /// /// /// - public static implicit operator IncludedItem150(global::AppStoreConnect.Device value) => new IncludedItem150((global::AppStoreConnect.Device?)value); + public static implicit operator IncludedItem150(global::AppStoreConnect.Build value) => new IncludedItem150((global::AppStoreConnect.Build?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Device?(IncludedItem150 @this) => @this.Devices; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem150 @this) => @this.Builds; /// /// /// - public IncludedItem150(global::AppStoreConnect.Device? value) + public IncludedItem150(global::AppStoreConnect.Build? value) { - Devices = value; + Builds = value; } /// /// /// - public static IncludedItem150 FromDevices(global::AppStoreConnect.Device? value) => new IncludedItem150(value); + public static IncludedItem150 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem150(value); /// /// /// public IncludedItem150( - global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.BundleId? bundleIds, - global::AppStoreConnect.Certificate? certificates, - global::AppStoreConnect.Device? devices + global::AppStoreConnect.PreReleaseVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.Build? builds ) { Type = type; - BundleIds = bundleIds; - Certificates = certificates; - Devices = devices; + Apps = apps; + Builds = builds; } /// /// /// public object? Object => - Devices as object ?? - Certificates as object ?? - BundleIds as object + Builds as object ?? + Apps as object ; /// /// /// public override string? ToString() => - BundleIds?.ToString() ?? - Certificates?.ToString() ?? - Devices?.ToString() + Apps?.ToString() ?? + Builds?.ToString() ; /// @@ -233,16 +169,15 @@ BundleIds as object /// public bool Validate() { - return IsBundleIds && !IsCertificates && !IsDevices || !IsBundleIds && IsCertificates && !IsDevices || !IsBundleIds && !IsCertificates && IsDevices; + return IsApps && !IsBuilds || !IsApps && IsBuilds; } /// /// /// public TResult? Match( - global::System.Func? bundleIds = null, - global::System.Func? certificates = null, - global::System.Func? devices = null, + global::System.Func? apps = null, + global::System.Func? builds = null, bool validate = true) { if (validate) @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (BundleIds is { } __value0 && bundleIds != null) + if (Apps is { } __value0 && apps != null) { - return bundleIds(__value0); + return apps(__value0); } - else if (Certificates is { } __value1 && certificates != null) + else if (Builds is { } __value1 && builds != null) { - return certificates(__value1); - } - else if (Devices is { } __value2 && devices != null) - { - return devices(__value2); + return builds(__value1); } return default(TResult); @@ -270,11 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? bundleIds = null, - - global::System.Action? certificates = null, + global::System.Action? apps = null, - global::System.Action? devices = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (BundleIds is { } __value0) - { - bundleIds?.Invoke(__value0); - } - else if (Certificates is { } __value1) + if (Apps is { } __value0) { - certificates?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (Devices is { } __value2) + else if (Builds is { } __value1) { - devices?.Invoke(__value2); + builds?.Invoke(__value1); } } @@ -300,9 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? bundleIds = null, - global::System.Action? certificates = null, - global::System.Action? devices = null, + global::System.Action? apps = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (BundleIds is { } __value0) - { - bundleIds?.Invoke(__value0); - } - else if (Certificates is { } __value1) + if (Apps is { } __value0) { - certificates?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (Devices is { } __value2) + else if (Builds is { } __value1) { - devices?.Invoke(__value2); + builds?.Invoke(__value1); } } @@ -331,12 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - BundleIds, - typeof(global::AppStoreConnect.BundleId), - Certificates, - typeof(global::AppStoreConnect.Certificate), - Devices, - typeof(global::AppStoreConnect.Device), + Apps, + typeof(global::AppStoreConnect.App), + Builds, + typeof(global::AppStoreConnect.Build), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem150 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIds, other.BundleIds) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Certificates, other.Certificates) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Devices, other.Devices) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem151.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem151.g.cs index 33121baba..2a20e03ca 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem151.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem151.g.cs @@ -12,220 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BundleId? BundleIds { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.BundleId? BundleIds { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsBundleIds => BundleIds != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickBundleIds( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BundleId? value) + out global::AppStoreConnect.App? value) { - value = BundleIds; - return IsBundleIds; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.BundleId PickBundleIds() => BundleIds is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Certificate? Certificates { get; init; } + public global::AppStoreConnect.Build? Builds { get; init; } #else - public global::AppStoreConnect.Certificate? Certificates { get; } + public global::AppStoreConnect.Build? Builds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Certificates))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] #endif - public bool IsCertificates => Certificates != null; + public bool IsBuilds => Builds != null; /// /// /// - public bool TryPickCertificates( + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Certificate? value) + out global::AppStoreConnect.Build? value) { - value = Certificates; - return IsCertificates; + value = Builds; + return IsBuilds; } /// /// /// - public global::AppStoreConnect.Certificate PickCertificates() => Certificates is { } value + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Certificates' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Device? Devices { get; init; } -#else - public global::AppStoreConnect.Device? Devices { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Devices))] -#endif - public bool IsDevices => Devices != null; - - /// - /// - /// - public bool TryPickDevices( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Device? value) - { - value = Devices; - return IsDevices; - } - - /// - /// - /// - public global::AppStoreConnect.Device PickDevices() => Devices is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Devices' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem151(global::AppStoreConnect.BundleId value) => new IncludedItem151((global::AppStoreConnect.BundleId?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BundleId?(IncludedItem151 @this) => @this.BundleIds; - - /// - /// - /// - public IncludedItem151(global::AppStoreConnect.BundleId? value) - { - BundleIds = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); /// /// /// - public static IncludedItem151 FromBundleIds(global::AppStoreConnect.BundleId? value) => new IncludedItem151(value); + public static implicit operator IncludedItem151(global::AppStoreConnect.App value) => new IncludedItem151((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator IncludedItem151(global::AppStoreConnect.Certificate value) => new IncludedItem151((global::AppStoreConnect.Certificate?)value); + public static implicit operator global::AppStoreConnect.App?(IncludedItem151 @this) => @this.Apps; /// /// /// - public static implicit operator global::AppStoreConnect.Certificate?(IncludedItem151 @this) => @this.Certificates; - - /// - /// - /// - public IncludedItem151(global::AppStoreConnect.Certificate? value) + public IncludedItem151(global::AppStoreConnect.App? value) { - Certificates = value; + Apps = value; } /// /// /// - public static IncludedItem151 FromCertificates(global::AppStoreConnect.Certificate? value) => new IncludedItem151(value); + public static IncludedItem151 FromApps(global::AppStoreConnect.App? value) => new IncludedItem151(value); /// /// /// - public static implicit operator IncludedItem151(global::AppStoreConnect.Device value) => new IncludedItem151((global::AppStoreConnect.Device?)value); + public static implicit operator IncludedItem151(global::AppStoreConnect.Build value) => new IncludedItem151((global::AppStoreConnect.Build?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Device?(IncludedItem151 @this) => @this.Devices; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem151 @this) => @this.Builds; /// /// /// - public IncludedItem151(global::AppStoreConnect.Device? value) + public IncludedItem151(global::AppStoreConnect.Build? value) { - Devices = value; + Builds = value; } /// /// /// - public static IncludedItem151 FromDevices(global::AppStoreConnect.Device? value) => new IncludedItem151(value); + public static IncludedItem151 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem151(value); /// /// /// public IncludedItem151( - global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.BundleId? bundleIds, - global::AppStoreConnect.Certificate? certificates, - global::AppStoreConnect.Device? devices + global::AppStoreConnect.PrereleaseVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.Build? builds ) { Type = type; - BundleIds = bundleIds; - Certificates = certificates; - Devices = devices; + Apps = apps; + Builds = builds; } /// /// /// public object? Object => - Devices as object ?? - Certificates as object ?? - BundleIds as object + Builds as object ?? + Apps as object ; /// /// /// public override string? ToString() => - BundleIds?.ToString() ?? - Certificates?.ToString() ?? - Devices?.ToString() + Apps?.ToString() ?? + Builds?.ToString() ; /// @@ -233,16 +169,15 @@ BundleIds as object /// public bool Validate() { - return IsBundleIds && !IsCertificates && !IsDevices || !IsBundleIds && IsCertificates && !IsDevices || !IsBundleIds && !IsCertificates && IsDevices; + return IsApps && !IsBuilds || !IsApps && IsBuilds; } /// /// /// public TResult? Match( - global::System.Func? bundleIds = null, - global::System.Func? certificates = null, - global::System.Func? devices = null, + global::System.Func? apps = null, + global::System.Func? builds = null, bool validate = true) { if (validate) @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (BundleIds is { } __value0 && bundleIds != null) + if (Apps is { } __value0 && apps != null) { - return bundleIds(__value0); + return apps(__value0); } - else if (Certificates is { } __value1 && certificates != null) + else if (Builds is { } __value1 && builds != null) { - return certificates(__value1); - } - else if (Devices is { } __value2 && devices != null) - { - return devices(__value2); + return builds(__value1); } return default(TResult); @@ -270,11 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? bundleIds = null, - - global::System.Action? certificates = null, + global::System.Action? apps = null, - global::System.Action? devices = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (BundleIds is { } __value0) - { - bundleIds?.Invoke(__value0); - } - else if (Certificates is { } __value1) + if (Apps is { } __value0) { - certificates?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (Devices is { } __value2) + else if (Builds is { } __value1) { - devices?.Invoke(__value2); + builds?.Invoke(__value1); } } @@ -300,9 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? bundleIds = null, - global::System.Action? certificates = null, - global::System.Action? devices = null, + global::System.Action? apps = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (BundleIds is { } __value0) - { - bundleIds?.Invoke(__value0); - } - else if (Certificates is { } __value1) + if (Apps is { } __value0) { - certificates?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (Devices is { } __value2) + else if (Builds is { } __value1) { - devices?.Invoke(__value2); + builds?.Invoke(__value1); } } @@ -331,12 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - BundleIds, - typeof(global::AppStoreConnect.BundleId), - Certificates, - typeof(global::AppStoreConnect.Certificate), - Devices, - typeof(global::AppStoreConnect.Device), + Apps, + typeof(global::AppStoreConnect.App), + Builds, + typeof(global::AppStoreConnect.Build), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem151 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIds, other.BundleIds) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Certificates, other.Certificates) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Devices, other.Devices) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem152.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem152.g.cs index f5d0687b1..d61fb1002 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem152.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem152.g.cs @@ -12,156 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; init; } + public global::AppStoreConnect.BundleId? BundleIds { get; init; } #else - public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; } + public global::AppStoreConnect.BundleId? BundleIds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIds))] #endif - public bool IsInAppPurchases => InAppPurchases != null; + public bool IsBundleIds => BundleIds != null; /// /// /// - public bool TryPickInAppPurchases( + public bool TryPickBundleIds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseV2? value) + out global::AppStoreConnect.BundleId? value) { - value = InAppPurchases; - return IsInAppPurchases; + value = BundleIds; + return IsBundleIds; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2 PickInAppPurchases() => InAppPurchases is { } value + public global::AppStoreConnect.BundleId PickBundleIds() => BundleIds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIds' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? Subscriptions { get; init; } + public global::AppStoreConnect.Certificate? Certificates { get; init; } #else - public global::AppStoreConnect.Subscription? Subscriptions { get; } + public global::AppStoreConnect.Certificate? Certificates { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Certificates))] #endif - public bool IsSubscriptions => Subscriptions != null; + public bool IsCertificates => Certificates != null; /// /// /// - public bool TryPickSubscriptions( + public bool TryPickCertificates( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Subscription? value) + out global::AppStoreConnect.Certificate? value) { - value = Subscriptions; - return IsSubscriptions; + value = Certificates; + return IsCertificates; } /// /// /// - public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value + public global::AppStoreConnect.Certificate PickCertificates() => Certificates is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Certificates' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Device? Devices { get; init; } +#else + public global::AppStoreConnect.Device? Devices { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Devices))] +#endif + public bool IsDevices => Devices != null; + + /// + /// + /// + public bool TryPickDevices( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Device? value) + { + value = Devices; + return IsDevices; + } + + /// + /// + /// + public global::AppStoreConnect.Device PickDevices() => Devices is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Devices' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem152(global::AppStoreConnect.BundleId value) => new IncludedItem152((global::AppStoreConnect.BundleId?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BundleId?(IncludedItem152 @this) => @this.BundleIds; + + /// + /// + /// + public IncludedItem152(global::AppStoreConnect.BundleId? value) + { + BundleIds = value; + } + /// /// /// - public static implicit operator IncludedItem152(global::AppStoreConnect.InAppPurchaseV2 value) => new IncludedItem152((global::AppStoreConnect.InAppPurchaseV2?)value); + public static IncludedItem152 FromBundleIds(global::AppStoreConnect.BundleId? value) => new IncludedItem152(value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseV2?(IncludedItem152 @this) => @this.InAppPurchases; + public static implicit operator IncludedItem152(global::AppStoreConnect.Certificate value) => new IncludedItem152((global::AppStoreConnect.Certificate?)value); /// /// /// - public IncludedItem152(global::AppStoreConnect.InAppPurchaseV2? value) + public static implicit operator global::AppStoreConnect.Certificate?(IncludedItem152 @this) => @this.Certificates; + + /// + /// + /// + public IncludedItem152(global::AppStoreConnect.Certificate? value) { - InAppPurchases = value; + Certificates = value; } /// /// /// - public static IncludedItem152 FromInAppPurchases(global::AppStoreConnect.InAppPurchaseV2? value) => new IncludedItem152(value); + public static IncludedItem152 FromCertificates(global::AppStoreConnect.Certificate? value) => new IncludedItem152(value); /// /// /// - public static implicit operator IncludedItem152(global::AppStoreConnect.Subscription value) => new IncludedItem152((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem152(global::AppStoreConnect.Device value) => new IncludedItem152((global::AppStoreConnect.Device?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem152 @this) => @this.Subscriptions; + public static implicit operator global::AppStoreConnect.Device?(IncludedItem152 @this) => @this.Devices; /// /// /// - public IncludedItem152(global::AppStoreConnect.Subscription? value) + public IncludedItem152(global::AppStoreConnect.Device? value) { - Subscriptions = value; + Devices = value; } /// /// /// - public static IncludedItem152 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem152(value); + public static IncludedItem152 FromDevices(global::AppStoreConnect.Device? value) => new IncludedItem152(value); /// /// /// public IncludedItem152( - global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchaseV2? inAppPurchases, - global::AppStoreConnect.Subscription? subscriptions + global::AppStoreConnect.ProfilesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BundleId? bundleIds, + global::AppStoreConnect.Certificate? certificates, + global::AppStoreConnect.Device? devices ) { Type = type; - InAppPurchases = inAppPurchases; - Subscriptions = subscriptions; + BundleIds = bundleIds; + Certificates = certificates; + Devices = devices; } /// /// /// public object? Object => - Subscriptions as object ?? - InAppPurchases as object + Devices as object ?? + Certificates as object ?? + BundleIds as object ; /// /// /// public override string? ToString() => - InAppPurchases?.ToString() ?? - Subscriptions?.ToString() + BundleIds?.ToString() ?? + Certificates?.ToString() ?? + Devices?.ToString() ; /// @@ -169,15 +233,16 @@ InAppPurchases as object /// public bool Validate() { - return IsInAppPurchases && !IsSubscriptions || !IsInAppPurchases && IsSubscriptions; + return IsBundleIds && !IsCertificates && !IsDevices || !IsBundleIds && IsCertificates && !IsDevices || !IsBundleIds && !IsCertificates && IsDevices; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchases = null, - global::System.Func? subscriptions = null, + global::System.Func? bundleIds = null, + global::System.Func? certificates = null, + global::System.Func? devices = null, bool validate = true) { if (validate) @@ -185,13 +250,17 @@ public bool Validate() Validate(); } - if (InAppPurchases is { } __value0 && inAppPurchases != null) + if (BundleIds is { } __value0 && bundleIds != null) { - return inAppPurchases(__value0); + return bundleIds(__value0); } - else if (Subscriptions is { } __value1 && subscriptions != null) + else if (Certificates is { } __value1 && certificates != null) { - return subscriptions(__value1); + return certificates(__value1); + } + else if (Devices is { } __value2 && devices != null) + { + return devices(__value2); } return default(TResult); @@ -201,9 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchases = null, + global::System.Action? bundleIds = null, + + global::System.Action? certificates = null, - global::System.Action? subscriptions = null, + global::System.Action? devices = null, bool validate = true) { if (validate) @@ -211,13 +282,17 @@ public void Match( Validate(); } - if (InAppPurchases is { } __value0) + if (BundleIds is { } __value0) + { + bundleIds?.Invoke(__value0); + } + else if (Certificates is { } __value1) { - inAppPurchases?.Invoke(__value0); + certificates?.Invoke(__value1); } - else if (Subscriptions is { } __value1) + else if (Devices is { } __value2) { - subscriptions?.Invoke(__value1); + devices?.Invoke(__value2); } } @@ -225,8 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchases = null, - global::System.Action? subscriptions = null, + global::System.Action? bundleIds = null, + global::System.Action? certificates = null, + global::System.Action? devices = null, bool validate = true) { if (validate) @@ -234,13 +310,17 @@ public void Switch( Validate(); } - if (InAppPurchases is { } __value0) + if (BundleIds is { } __value0) + { + bundleIds?.Invoke(__value0); + } + else if (Certificates is { } __value1) { - inAppPurchases?.Invoke(__value0); + certificates?.Invoke(__value1); } - else if (Subscriptions is { } __value1) + else if (Devices is { } __value2) { - subscriptions?.Invoke(__value1); + devices?.Invoke(__value2); } } @@ -251,10 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchases, - typeof(global::AppStoreConnect.InAppPurchaseV2), - Subscriptions, - typeof(global::AppStoreConnect.Subscription), + BundleIds, + typeof(global::AppStoreConnect.BundleId), + Certificates, + typeof(global::AppStoreConnect.Certificate), + Devices, + typeof(global::AppStoreConnect.Device), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem152 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIds, other.BundleIds) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Certificates, other.Certificates) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Devices, other.Devices) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem153.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem153.g.cs index 4a0449d67..6b60325d2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem153.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem153.g.cs @@ -12,156 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; init; } + public global::AppStoreConnect.BundleId? BundleIds { get; init; } #else - public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; } + public global::AppStoreConnect.BundleId? BundleIds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIds))] #endif - public bool IsInAppPurchases => InAppPurchases != null; + public bool IsBundleIds => BundleIds != null; /// /// /// - public bool TryPickInAppPurchases( + public bool TryPickBundleIds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.InAppPurchaseV2? value) + out global::AppStoreConnect.BundleId? value) { - value = InAppPurchases; - return IsInAppPurchases; + value = BundleIds; + return IsBundleIds; } /// /// /// - public global::AppStoreConnect.InAppPurchaseV2 PickInAppPurchases() => InAppPurchases is { } value + public global::AppStoreConnect.BundleId PickBundleIds() => BundleIds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIds' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? Subscriptions { get; init; } + public global::AppStoreConnect.Certificate? Certificates { get; init; } #else - public global::AppStoreConnect.Subscription? Subscriptions { get; } + public global::AppStoreConnect.Certificate? Certificates { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Certificates))] #endif - public bool IsSubscriptions => Subscriptions != null; + public bool IsCertificates => Certificates != null; /// /// /// - public bool TryPickSubscriptions( + public bool TryPickCertificates( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Subscription? value) + out global::AppStoreConnect.Certificate? value) { - value = Subscriptions; - return IsSubscriptions; + value = Certificates; + return IsCertificates; } /// /// /// - public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value + public global::AppStoreConnect.Certificate PickCertificates() => Certificates is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Certificates' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Device? Devices { get; init; } +#else + public global::AppStoreConnect.Device? Devices { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Devices))] +#endif + public bool IsDevices => Devices != null; + + /// + /// + /// + public bool TryPickDevices( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Device? value) + { + value = Devices; + return IsDevices; + } + + /// + /// + /// + public global::AppStoreConnect.Device PickDevices() => Devices is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Devices' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem153(global::AppStoreConnect.BundleId value) => new IncludedItem153((global::AppStoreConnect.BundleId?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BundleId?(IncludedItem153 @this) => @this.BundleIds; + + /// + /// + /// + public IncludedItem153(global::AppStoreConnect.BundleId? value) + { + BundleIds = value; + } + /// /// /// - public static implicit operator IncludedItem153(global::AppStoreConnect.InAppPurchaseV2 value) => new IncludedItem153((global::AppStoreConnect.InAppPurchaseV2?)value); + public static IncludedItem153 FromBundleIds(global::AppStoreConnect.BundleId? value) => new IncludedItem153(value); /// /// /// - public static implicit operator global::AppStoreConnect.InAppPurchaseV2?(IncludedItem153 @this) => @this.InAppPurchases; + public static implicit operator IncludedItem153(global::AppStoreConnect.Certificate value) => new IncludedItem153((global::AppStoreConnect.Certificate?)value); /// /// /// - public IncludedItem153(global::AppStoreConnect.InAppPurchaseV2? value) + public static implicit operator global::AppStoreConnect.Certificate?(IncludedItem153 @this) => @this.Certificates; + + /// + /// + /// + public IncludedItem153(global::AppStoreConnect.Certificate? value) { - InAppPurchases = value; + Certificates = value; } /// /// /// - public static IncludedItem153 FromInAppPurchases(global::AppStoreConnect.InAppPurchaseV2? value) => new IncludedItem153(value); + public static IncludedItem153 FromCertificates(global::AppStoreConnect.Certificate? value) => new IncludedItem153(value); /// /// /// - public static implicit operator IncludedItem153(global::AppStoreConnect.Subscription value) => new IncludedItem153((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem153(global::AppStoreConnect.Device value) => new IncludedItem153((global::AppStoreConnect.Device?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem153 @this) => @this.Subscriptions; + public static implicit operator global::AppStoreConnect.Device?(IncludedItem153 @this) => @this.Devices; /// /// /// - public IncludedItem153(global::AppStoreConnect.Subscription? value) + public IncludedItem153(global::AppStoreConnect.Device? value) { - Subscriptions = value; + Devices = value; } /// /// /// - public static IncludedItem153 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem153(value); + public static IncludedItem153 FromDevices(global::AppStoreConnect.Device? value) => new IncludedItem153(value); /// /// /// public IncludedItem153( - global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.InAppPurchaseV2? inAppPurchases, - global::AppStoreConnect.Subscription? subscriptions + global::AppStoreConnect.ProfileResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BundleId? bundleIds, + global::AppStoreConnect.Certificate? certificates, + global::AppStoreConnect.Device? devices ) { Type = type; - InAppPurchases = inAppPurchases; - Subscriptions = subscriptions; + BundleIds = bundleIds; + Certificates = certificates; + Devices = devices; } /// /// /// public object? Object => - Subscriptions as object ?? - InAppPurchases as object + Devices as object ?? + Certificates as object ?? + BundleIds as object ; /// /// /// public override string? ToString() => - InAppPurchases?.ToString() ?? - Subscriptions?.ToString() + BundleIds?.ToString() ?? + Certificates?.ToString() ?? + Devices?.ToString() ; /// @@ -169,15 +233,16 @@ InAppPurchases as object /// public bool Validate() { - return IsInAppPurchases && !IsSubscriptions || !IsInAppPurchases && IsSubscriptions; + return IsBundleIds && !IsCertificates && !IsDevices || !IsBundleIds && IsCertificates && !IsDevices || !IsBundleIds && !IsCertificates && IsDevices; } /// /// /// public TResult? Match( - global::System.Func? inAppPurchases = null, - global::System.Func? subscriptions = null, + global::System.Func? bundleIds = null, + global::System.Func? certificates = null, + global::System.Func? devices = null, bool validate = true) { if (validate) @@ -185,13 +250,17 @@ public bool Validate() Validate(); } - if (InAppPurchases is { } __value0 && inAppPurchases != null) + if (BundleIds is { } __value0 && bundleIds != null) { - return inAppPurchases(__value0); + return bundleIds(__value0); } - else if (Subscriptions is { } __value1 && subscriptions != null) + else if (Certificates is { } __value1 && certificates != null) { - return subscriptions(__value1); + return certificates(__value1); + } + else if (Devices is { } __value2 && devices != null) + { + return devices(__value2); } return default(TResult); @@ -201,9 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? inAppPurchases = null, + global::System.Action? bundleIds = null, + + global::System.Action? certificates = null, - global::System.Action? subscriptions = null, + global::System.Action? devices = null, bool validate = true) { if (validate) @@ -211,13 +282,17 @@ public void Match( Validate(); } - if (InAppPurchases is { } __value0) + if (BundleIds is { } __value0) + { + bundleIds?.Invoke(__value0); + } + else if (Certificates is { } __value1) { - inAppPurchases?.Invoke(__value0); + certificates?.Invoke(__value1); } - else if (Subscriptions is { } __value1) + else if (Devices is { } __value2) { - subscriptions?.Invoke(__value1); + devices?.Invoke(__value2); } } @@ -225,8 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? inAppPurchases = null, - global::System.Action? subscriptions = null, + global::System.Action? bundleIds = null, + global::System.Action? certificates = null, + global::System.Action? devices = null, bool validate = true) { if (validate) @@ -234,13 +310,17 @@ public void Switch( Validate(); } - if (InAppPurchases is { } __value0) + if (BundleIds is { } __value0) + { + bundleIds?.Invoke(__value0); + } + else if (Certificates is { } __value1) { - inAppPurchases?.Invoke(__value0); + certificates?.Invoke(__value1); } - else if (Subscriptions is { } __value1) + else if (Devices is { } __value2) { - subscriptions?.Invoke(__value1); + devices?.Invoke(__value2); } } @@ -251,10 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - InAppPurchases, - typeof(global::AppStoreConnect.InAppPurchaseV2), - Subscriptions, - typeof(global::AppStoreConnect.Subscription), + BundleIds, + typeof(global::AppStoreConnect.BundleId), + Certificates, + typeof(global::AppStoreConnect.Certificate), + Devices, + typeof(global::AppStoreConnect.Device), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem153 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIds, other.BundleIds) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Certificates, other.Certificates) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Devices, other.Devices) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem154.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem154.g.cs index 16620d8b6..4023c53fd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem154.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem154.g.cs @@ -12,860 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } + public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } + public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] #endif - public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; + public bool IsInAppPurchases => InAppPurchases != null; /// /// /// - public bool TryPickAppCustomProductPageVersions( + public bool TryPickInAppPurchases( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPageVersion? value) + out global::AppStoreConnect.InAppPurchaseV2? value) { - value = AppCustomProductPageVersions; - return IsAppCustomProductPageVersions; + value = InAppPurchases; + return IsInAppPurchases; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value + public global::AppStoreConnect.InAppPurchaseV2 PickInAppPurchases() => InAppPurchases is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEvent? AppEvents { get; init; } + public global::AppStoreConnect.Subscription? Subscriptions { get; init; } #else - public global::AppStoreConnect.AppEvent? AppEvents { get; } + public global::AppStoreConnect.Subscription? Subscriptions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] #endif - public bool IsAppEvents => AppEvents != null; + public bool IsSubscriptions => Subscriptions != null; /// /// /// - public bool TryPickAppEvents( + public bool TryPickSubscriptions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEvent? value) + out global::AppStoreConnect.Subscription? value) { - value = AppEvents; - return IsAppEvents; + value = Subscriptions; + return IsSubscriptions; } /// /// /// - public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value + public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments1 { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments1))] -#endif - public bool IsAppStoreVersionExperiments1 => AppStoreVersionExperiments1 != null; - - /// - /// - /// - public bool TryPickAppStoreVersionExperiments1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionExperiment? value) - { - value = AppStoreVersionExperiments1; - return IsAppStoreVersionExperiments1; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperiments1() => AppStoreVersionExperiments1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; init; } -#else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments2))] -#endif - public bool IsAppStoreVersionExperiments2 => AppStoreVersionExperiments2 != null; - - /// - /// - /// - public bool TryPickAppStoreVersionExperiments2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersion? value) - { - value = AppStoreVersionExperiments2; - return IsAppStoreVersionExperiments2; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperiments2() => AppStoreVersionExperiments2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; init; } -#else - public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersions))] -#endif - public bool IsBackgroundAssetVersions => BackgroundAssetVersions != null; - - /// - /// - /// - public bool TryPickBackgroundAssetVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BackgroundAssetVersion? value) - { - value = BackgroundAssetVersions; - return IsBackgroundAssetVersions; - } - - /// - /// - /// - public global::AppStoreConnect.BackgroundAssetVersion PickBackgroundAssetVersions() => BackgroundAssetVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] -#endif - public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievementVersionV2? value) - { - value = GameCenterAchievementVersions; - return IsGameCenterAchievementVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersions))] -#endif - public bool IsGameCenterActivityVersions => GameCenterActivityVersions != null; - - /// - /// - /// - public bool TryPickGameCenterActivityVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivityVersion? value) - { - value = GameCenterActivityVersions; - return IsGameCenterActivityVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] -#endif - public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallengeVersion? value) - { - value = GameCenterChallengeVersions; - return IsGameCenterChallengeVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] -#endif - public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSetVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) - { - value = GameCenterLeaderboardSetVersions; - return IsGameCenterLeaderboardSetVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] -#endif - public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) - { - value = GameCenterLeaderboardVersions; - return IsGameCenterLeaderboardVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseVersions))] -#endif - public bool IsInAppPurchaseVersions => InAppPurchaseVersions != null; - - /// - /// - /// - public bool TryPickInAppPurchaseVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseVersion? value) - { - value = InAppPurchaseVersions; - return IsInAppPurchaseVersions; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseVersion PickInAppPurchaseVersions() => InAppPurchaseVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; init; } -#else - public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupVersions))] -#endif - public bool IsSubscriptionGroupVersions => SubscriptionGroupVersions != null; - - /// - /// - /// - public bool TryPickSubscriptionGroupVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionGroupVersion? value) - { - value = SubscriptionGroupVersions; - return IsSubscriptionGroupVersions; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionGroupVersion PickSubscriptionGroupVersions() => SubscriptionGroupVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; init; } -#else - public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionVersions))] -#endif - public bool IsSubscriptionVersions => SubscriptionVersions != null; - - /// - /// - /// - public bool TryPickSubscriptionVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionVersion? value) - { - value = SubscriptionVersions; - return IsSubscriptionVersions; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionVersion PickSubscriptionVersions() => SubscriptionVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionVersions' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem154((global::AppStoreConnect.AppCustomProductPageVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem154 @this) => @this.AppCustomProductPageVersions; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.AppCustomProductPageVersion? value) - { - AppCustomProductPageVersions = value; - } - - /// - /// - /// - public static IncludedItem154 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.AppEvent value) => new IncludedItem154((global::AppStoreConnect.AppEvent?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem154 @this) => @this.AppEvents; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.AppEvent? value) - { - AppEvents = value; - } - - /// - /// - /// - public static IncludedItem154 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem154((global::AppStoreConnect.AppStoreVersionExperiment?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem154 @this) => @this.AppStoreVersionExperiments1; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.AppStoreVersionExperiment? value) - { - AppStoreVersionExperiments1 = value; - } - - /// - /// - /// - public static IncludedItem154 FromAppStoreVersionExperiments1(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem154((global::AppStoreConnect.AppStoreVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem154 @this) => @this.AppStoreVersionExperiments2; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.AppStoreVersion? value) - { - AppStoreVersionExperiments2 = value; - } - - /// - /// - /// - public static IncludedItem154 FromAppStoreVersionExperiments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.BackgroundAssetVersion value) => new IncludedItem154((global::AppStoreConnect.BackgroundAssetVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersion?(IncludedItem154 @this) => @this.BackgroundAssetVersions; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.BackgroundAssetVersion? value) - { - BackgroundAssetVersions = value; - } - - /// - /// - /// - public static IncludedItem154 FromBackgroundAssetVersions(global::AppStoreConnect.BackgroundAssetVersion? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem154((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem154 @this) => @this.GameCenterAchievementVersions; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.GameCenterAchievementVersionV2? value) - { - GameCenterAchievementVersions = value; - } - - /// - /// - /// - public static IncludedItem154 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.GameCenterActivityVersion value) => new IncludedItem154((global::AppStoreConnect.GameCenterActivityVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivityVersion?(IncludedItem154 @this) => @this.GameCenterActivityVersions; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.GameCenterActivityVersion? value) - { - GameCenterActivityVersions = value; - } - - /// - /// - /// - public static IncludedItem154 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem154((global::AppStoreConnect.GameCenterChallengeVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem154 @this) => @this.GameCenterChallengeVersions; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.GameCenterChallengeVersion? value) - { - GameCenterChallengeVersions = value; - } - - /// - /// - /// - public static IncludedItem154 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem154((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem154 @this) => @this.GameCenterLeaderboardSetVersions; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) - { - GameCenterLeaderboardSetVersions = value; - } - - /// - /// - /// - public static IncludedItem154 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem154((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem154 @this) => @this.GameCenterLeaderboardVersions; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) - { - GameCenterLeaderboardVersions = value; - } - - /// - /// - /// - public static IncludedItem154 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem154(value); - - /// - /// - /// - public static implicit operator IncludedItem154(global::AppStoreConnect.InAppPurchaseVersion value) => new IncludedItem154((global::AppStoreConnect.InAppPurchaseVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseVersion?(IncludedItem154 @this) => @this.InAppPurchaseVersions; - - /// - /// - /// - public IncludedItem154(global::AppStoreConnect.InAppPurchaseVersion? value) - { - InAppPurchaseVersions = value; - } - - /// - /// - /// - public static IncludedItem154 FromInAppPurchaseVersions(global::AppStoreConnect.InAppPurchaseVersion? value) => new IncludedItem154(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem154(global::AppStoreConnect.SubscriptionGroupVersion value) => new IncludedItem154((global::AppStoreConnect.SubscriptionGroupVersion?)value); + public static implicit operator IncludedItem154(global::AppStoreConnect.InAppPurchaseV2 value) => new IncludedItem154((global::AppStoreConnect.InAppPurchaseV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroupVersion?(IncludedItem154 @this) => @this.SubscriptionGroupVersions; + public static implicit operator global::AppStoreConnect.InAppPurchaseV2?(IncludedItem154 @this) => @this.InAppPurchases; /// /// /// - public IncludedItem154(global::AppStoreConnect.SubscriptionGroupVersion? value) + public IncludedItem154(global::AppStoreConnect.InAppPurchaseV2? value) { - SubscriptionGroupVersions = value; + InAppPurchases = value; } /// /// /// - public static IncludedItem154 FromSubscriptionGroupVersions(global::AppStoreConnect.SubscriptionGroupVersion? value) => new IncludedItem154(value); + public static IncludedItem154 FromInAppPurchases(global::AppStoreConnect.InAppPurchaseV2? value) => new IncludedItem154(value); /// /// /// - public static implicit operator IncludedItem154(global::AppStoreConnect.SubscriptionVersion value) => new IncludedItem154((global::AppStoreConnect.SubscriptionVersion?)value); + public static implicit operator IncludedItem154(global::AppStoreConnect.Subscription value) => new IncludedItem154((global::AppStoreConnect.Subscription?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionVersion?(IncludedItem154 @this) => @this.SubscriptionVersions; + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem154 @this) => @this.Subscriptions; /// /// /// - public IncludedItem154(global::AppStoreConnect.SubscriptionVersion? value) + public IncludedItem154(global::AppStoreConnect.Subscription? value) { - SubscriptionVersions = value; + Subscriptions = value; } /// /// /// - public static IncludedItem154 FromSubscriptionVersions(global::AppStoreConnect.SubscriptionVersion? value) => new IncludedItem154(value); + public static IncludedItem154 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem154(value); /// /// /// public IncludedItem154( - global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, - global::AppStoreConnect.AppEvent? appEvents, - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments1, - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2, - global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions, - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions, - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions, - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions, - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions, - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions, - global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions, - global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions, - global::AppStoreConnect.SubscriptionVersion? subscriptionVersions + global::AppStoreConnect.PromotedPurchasesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchaseV2? inAppPurchases, + global::AppStoreConnect.Subscription? subscriptions ) { Type = type; - AppCustomProductPageVersions = appCustomProductPageVersions; - AppEvents = appEvents; - AppStoreVersionExperiments1 = appStoreVersionExperiments1; - AppStoreVersionExperiments2 = appStoreVersionExperiments2; - BackgroundAssetVersions = backgroundAssetVersions; - GameCenterAchievementVersions = gameCenterAchievementVersions; - GameCenterActivityVersions = gameCenterActivityVersions; - GameCenterChallengeVersions = gameCenterChallengeVersions; - GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; - GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; - InAppPurchaseVersions = inAppPurchaseVersions; - SubscriptionGroupVersions = subscriptionGroupVersions; - SubscriptionVersions = subscriptionVersions; + InAppPurchases = inAppPurchases; + Subscriptions = subscriptions; } /// /// /// public object? Object => - SubscriptionVersions as object ?? - SubscriptionGroupVersions as object ?? - InAppPurchaseVersions as object ?? - GameCenterLeaderboardVersions as object ?? - GameCenterLeaderboardSetVersions as object ?? - GameCenterChallengeVersions as object ?? - GameCenterActivityVersions as object ?? - GameCenterAchievementVersions as object ?? - BackgroundAssetVersions as object ?? - AppStoreVersionExperiments2 as object ?? - AppStoreVersionExperiments1 as object ?? - AppEvents as object ?? - AppCustomProductPageVersions as object + Subscriptions as object ?? + InAppPurchases as object ; /// /// /// public override string? ToString() => - AppCustomProductPageVersions?.ToString() ?? - AppEvents?.ToString() ?? - AppStoreVersionExperiments1?.ToString() ?? - AppStoreVersionExperiments2?.ToString() ?? - BackgroundAssetVersions?.ToString() ?? - GameCenterAchievementVersions?.ToString() ?? - GameCenterActivityVersions?.ToString() ?? - GameCenterChallengeVersions?.ToString() ?? - GameCenterLeaderboardSetVersions?.ToString() ?? - GameCenterLeaderboardVersions?.ToString() ?? - InAppPurchaseVersions?.ToString() ?? - SubscriptionGroupVersions?.ToString() ?? - SubscriptionVersions?.ToString() + InAppPurchases?.ToString() ?? + Subscriptions?.ToString() ; /// @@ -873,26 +169,15 @@ AppCustomProductPageVersions as object /// public bool Validate() { - return IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && IsSubscriptionVersions; + return IsInAppPurchases && !IsSubscriptions || !IsInAppPurchases && IsSubscriptions; } /// /// /// public TResult? Match( - global::System.Func? appCustomProductPageVersions = null, - global::System.Func? appEvents = null, - global::System.Func? appStoreVersionExperiments1 = null, - global::System.Func? appStoreVersionExperiments2 = null, - global::System.Func? backgroundAssetVersions = null, - global::System.Func? gameCenterAchievementVersions = null, - global::System.Func? gameCenterActivityVersions = null, - global::System.Func? gameCenterChallengeVersions = null, - global::System.Func? gameCenterLeaderboardSetVersions = null, - global::System.Func? gameCenterLeaderboardVersions = null, - global::System.Func? inAppPurchaseVersions = null, - global::System.Func? subscriptionGroupVersions = null, - global::System.Func? subscriptionVersions = null, + global::System.Func? inAppPurchases = null, + global::System.Func? subscriptions = null, bool validate = true) { if (validate) @@ -900,57 +185,13 @@ public bool Validate() Validate(); } - if (AppCustomProductPageVersions is { } __value0 && appCustomProductPageVersions != null) - { - return appCustomProductPageVersions(__value0); - } - else if (AppEvents is { } __value1 && appEvents != null) - { - return appEvents(__value1); - } - else if (AppStoreVersionExperiments1 is { } __value2 && appStoreVersionExperiments1 != null) - { - return appStoreVersionExperiments1(__value2); - } - else if (AppStoreVersionExperiments2 is { } __value3 && appStoreVersionExperiments2 != null) - { - return appStoreVersionExperiments2(__value3); - } - else if (BackgroundAssetVersions is { } __value4 && backgroundAssetVersions != null) - { - return backgroundAssetVersions(__value4); - } - else if (GameCenterAchievementVersions is { } __value5 && gameCenterAchievementVersions != null) - { - return gameCenterAchievementVersions(__value5); - } - else if (GameCenterActivityVersions is { } __value6 && gameCenterActivityVersions != null) - { - return gameCenterActivityVersions(__value6); - } - else if (GameCenterChallengeVersions is { } __value7 && gameCenterChallengeVersions != null) - { - return gameCenterChallengeVersions(__value7); - } - else if (GameCenterLeaderboardSetVersions is { } __value8 && gameCenterLeaderboardSetVersions != null) - { - return gameCenterLeaderboardSetVersions(__value8); - } - else if (GameCenterLeaderboardVersions is { } __value9 && gameCenterLeaderboardVersions != null) - { - return gameCenterLeaderboardVersions(__value9); - } - else if (InAppPurchaseVersions is { } __value10 && inAppPurchaseVersions != null) - { - return inAppPurchaseVersions(__value10); - } - else if (SubscriptionGroupVersions is { } __value11 && subscriptionGroupVersions != null) + if (InAppPurchases is { } __value0 && inAppPurchases != null) { - return subscriptionGroupVersions(__value11); + return inAppPurchases(__value0); } - else if (SubscriptionVersions is { } __value12 && subscriptionVersions != null) + else if (Subscriptions is { } __value1 && subscriptions != null) { - return subscriptionVersions(__value12); + return subscriptions(__value1); } return default(TResult); @@ -960,31 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appCustomProductPageVersions = null, - - global::System.Action? appEvents = null, - - global::System.Action? appStoreVersionExperiments1 = null, - - global::System.Action? appStoreVersionExperiments2 = null, - - global::System.Action? backgroundAssetVersions = null, - - global::System.Action? gameCenterAchievementVersions = null, - - global::System.Action? gameCenterActivityVersions = null, - - global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? inAppPurchases = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, - - global::System.Action? gameCenterLeaderboardVersions = null, - - global::System.Action? inAppPurchaseVersions = null, - - global::System.Action? subscriptionGroupVersions = null, - - global::System.Action? subscriptionVersions = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -992,57 +211,13 @@ public void Match( Validate(); } - if (AppCustomProductPageVersions is { } __value0) - { - appCustomProductPageVersions?.Invoke(__value0); - } - else if (AppEvents is { } __value1) - { - appEvents?.Invoke(__value1); - } - else if (AppStoreVersionExperiments1 is { } __value2) - { - appStoreVersionExperiments1?.Invoke(__value2); - } - else if (AppStoreVersionExperiments2 is { } __value3) - { - appStoreVersionExperiments2?.Invoke(__value3); - } - else if (BackgroundAssetVersions is { } __value4) - { - backgroundAssetVersions?.Invoke(__value4); - } - else if (GameCenterAchievementVersions is { } __value5) - { - gameCenterAchievementVersions?.Invoke(__value5); - } - else if (GameCenterActivityVersions is { } __value6) + if (InAppPurchases is { } __value0) { - gameCenterActivityVersions?.Invoke(__value6); + inAppPurchases?.Invoke(__value0); } - else if (GameCenterChallengeVersions is { } __value7) + else if (Subscriptions is { } __value1) { - gameCenterChallengeVersions?.Invoke(__value7); - } - else if (GameCenterLeaderboardSetVersions is { } __value8) - { - gameCenterLeaderboardSetVersions?.Invoke(__value8); - } - else if (GameCenterLeaderboardVersions is { } __value9) - { - gameCenterLeaderboardVersions?.Invoke(__value9); - } - else if (InAppPurchaseVersions is { } __value10) - { - inAppPurchaseVersions?.Invoke(__value10); - } - else if (SubscriptionGroupVersions is { } __value11) - { - subscriptionGroupVersions?.Invoke(__value11); - } - else if (SubscriptionVersions is { } __value12) - { - subscriptionVersions?.Invoke(__value12); + subscriptions?.Invoke(__value1); } } @@ -1050,19 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appCustomProductPageVersions = null, - global::System.Action? appEvents = null, - global::System.Action? appStoreVersionExperiments1 = null, - global::System.Action? appStoreVersionExperiments2 = null, - global::System.Action? backgroundAssetVersions = null, - global::System.Action? gameCenterAchievementVersions = null, - global::System.Action? gameCenterActivityVersions = null, - global::System.Action? gameCenterChallengeVersions = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, - global::System.Action? gameCenterLeaderboardVersions = null, - global::System.Action? inAppPurchaseVersions = null, - global::System.Action? subscriptionGroupVersions = null, - global::System.Action? subscriptionVersions = null, + global::System.Action? inAppPurchases = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -1070,57 +234,13 @@ public void Switch( Validate(); } - if (AppCustomProductPageVersions is { } __value0) - { - appCustomProductPageVersions?.Invoke(__value0); - } - else if (AppEvents is { } __value1) - { - appEvents?.Invoke(__value1); - } - else if (AppStoreVersionExperiments1 is { } __value2) - { - appStoreVersionExperiments1?.Invoke(__value2); - } - else if (AppStoreVersionExperiments2 is { } __value3) - { - appStoreVersionExperiments2?.Invoke(__value3); - } - else if (BackgroundAssetVersions is { } __value4) - { - backgroundAssetVersions?.Invoke(__value4); - } - else if (GameCenterAchievementVersions is { } __value5) - { - gameCenterAchievementVersions?.Invoke(__value5); - } - else if (GameCenterActivityVersions is { } __value6) - { - gameCenterActivityVersions?.Invoke(__value6); - } - else if (GameCenterChallengeVersions is { } __value7) - { - gameCenterChallengeVersions?.Invoke(__value7); - } - else if (GameCenterLeaderboardSetVersions is { } __value8) - { - gameCenterLeaderboardSetVersions?.Invoke(__value8); - } - else if (GameCenterLeaderboardVersions is { } __value9) - { - gameCenterLeaderboardVersions?.Invoke(__value9); - } - else if (InAppPurchaseVersions is { } __value10) - { - inAppPurchaseVersions?.Invoke(__value10); - } - else if (SubscriptionGroupVersions is { } __value11) + if (InAppPurchases is { } __value0) { - subscriptionGroupVersions?.Invoke(__value11); + inAppPurchases?.Invoke(__value0); } - else if (SubscriptionVersions is { } __value12) + else if (Subscriptions is { } __value1) { - subscriptionVersions?.Invoke(__value12); + subscriptions?.Invoke(__value1); } } @@ -1131,32 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppCustomProductPageVersions, - typeof(global::AppStoreConnect.AppCustomProductPageVersion), - AppEvents, - typeof(global::AppStoreConnect.AppEvent), - AppStoreVersionExperiments1, - typeof(global::AppStoreConnect.AppStoreVersionExperiment), - AppStoreVersionExperiments2, - typeof(global::AppStoreConnect.AppStoreVersion), - BackgroundAssetVersions, - typeof(global::AppStoreConnect.BackgroundAssetVersion), - GameCenterAchievementVersions, - typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), - GameCenterActivityVersions, - typeof(global::AppStoreConnect.GameCenterActivityVersion), - GameCenterChallengeVersions, - typeof(global::AppStoreConnect.GameCenterChallengeVersion), - GameCenterLeaderboardSetVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), - GameCenterLeaderboardVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), - InAppPurchaseVersions, - typeof(global::AppStoreConnect.InAppPurchaseVersion), - SubscriptionGroupVersions, - typeof(global::AppStoreConnect.SubscriptionGroupVersion), - SubscriptionVersions, - typeof(global::AppStoreConnect.SubscriptionVersion), + InAppPurchases, + typeof(global::AppStoreConnect.InAppPurchaseV2), + Subscriptions, + typeof(global::AppStoreConnect.Subscription), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1173,19 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem154 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments1, other.AppStoreVersionExperiments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments2, other.AppStoreVersionExperiments2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersions, other.BackgroundAssetVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseVersions, other.InAppPurchaseVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupVersions, other.SubscriptionGroupVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionVersions, other.SubscriptionVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem155.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem155.g.cs index 6de2e99b8..3138f8a32 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem155.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem155.g.cs @@ -12,860 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } + public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } + public global::AppStoreConnect.InAppPurchaseV2? InAppPurchases { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] #endif - public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; + public bool IsInAppPurchases => InAppPurchases != null; /// /// /// - public bool TryPickAppCustomProductPageVersions( + public bool TryPickInAppPurchases( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPageVersion? value) + out global::AppStoreConnect.InAppPurchaseV2? value) { - value = AppCustomProductPageVersions; - return IsAppCustomProductPageVersions; + value = InAppPurchases; + return IsInAppPurchases; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value + public global::AppStoreConnect.InAppPurchaseV2 PickInAppPurchases() => InAppPurchases is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEvent? AppEvents { get; init; } + public global::AppStoreConnect.Subscription? Subscriptions { get; init; } #else - public global::AppStoreConnect.AppEvent? AppEvents { get; } + public global::AppStoreConnect.Subscription? Subscriptions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] #endif - public bool IsAppEvents => AppEvents != null; + public bool IsSubscriptions => Subscriptions != null; /// /// /// - public bool TryPickAppEvents( + public bool TryPickSubscriptions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEvent? value) + out global::AppStoreConnect.Subscription? value) { - value = AppEvents; - return IsAppEvents; + value = Subscriptions; + return IsSubscriptions; } /// /// /// - public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value + public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments1 { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments1))] -#endif - public bool IsAppStoreVersionExperiments1 => AppStoreVersionExperiments1 != null; - - /// - /// - /// - public bool TryPickAppStoreVersionExperiments1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionExperiment? value) - { - value = AppStoreVersionExperiments1; - return IsAppStoreVersionExperiments1; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperiments1() => AppStoreVersionExperiments1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; init; } -#else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments2))] -#endif - public bool IsAppStoreVersionExperiments2 => AppStoreVersionExperiments2 != null; - - /// - /// - /// - public bool TryPickAppStoreVersionExperiments2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersion? value) - { - value = AppStoreVersionExperiments2; - return IsAppStoreVersionExperiments2; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperiments2() => AppStoreVersionExperiments2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; init; } -#else - public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersions))] -#endif - public bool IsBackgroundAssetVersions => BackgroundAssetVersions != null; - - /// - /// - /// - public bool TryPickBackgroundAssetVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BackgroundAssetVersion? value) - { - value = BackgroundAssetVersions; - return IsBackgroundAssetVersions; - } - - /// - /// - /// - public global::AppStoreConnect.BackgroundAssetVersion PickBackgroundAssetVersions() => BackgroundAssetVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] -#endif - public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievementVersionV2? value) - { - value = GameCenterAchievementVersions; - return IsGameCenterAchievementVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersions))] -#endif - public bool IsGameCenterActivityVersions => GameCenterActivityVersions != null; - - /// - /// - /// - public bool TryPickGameCenterActivityVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivityVersion? value) - { - value = GameCenterActivityVersions; - return IsGameCenterActivityVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] -#endif - public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallengeVersion? value) - { - value = GameCenterChallengeVersions; - return IsGameCenterChallengeVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] -#endif - public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardSetVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) - { - value = GameCenterLeaderboardSetVersions; - return IsGameCenterLeaderboardSetVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] -#endif - public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; - - /// - /// - /// - public bool TryPickGameCenterLeaderboardVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) - { - value = GameCenterLeaderboardVersions; - return IsGameCenterLeaderboardVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; init; } -#else - public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseVersions))] -#endif - public bool IsInAppPurchaseVersions => InAppPurchaseVersions != null; - - /// - /// - /// - public bool TryPickInAppPurchaseVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchaseVersion? value) - { - value = InAppPurchaseVersions; - return IsInAppPurchaseVersions; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchaseVersion PickInAppPurchaseVersions() => InAppPurchaseVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; init; } -#else - public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupVersions))] -#endif - public bool IsSubscriptionGroupVersions => SubscriptionGroupVersions != null; - - /// - /// - /// - public bool TryPickSubscriptionGroupVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionGroupVersion? value) - { - value = SubscriptionGroupVersions; - return IsSubscriptionGroupVersions; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionGroupVersion PickSubscriptionGroupVersions() => SubscriptionGroupVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; init; } -#else - public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionVersions))] -#endif - public bool IsSubscriptionVersions => SubscriptionVersions != null; - - /// - /// - /// - public bool TryPickSubscriptionVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionVersion? value) - { - value = SubscriptionVersions; - return IsSubscriptionVersions; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionVersion PickSubscriptionVersions() => SubscriptionVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionVersions' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem155((global::AppStoreConnect.AppCustomProductPageVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem155 @this) => @this.AppCustomProductPageVersions; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.AppCustomProductPageVersion? value) - { - AppCustomProductPageVersions = value; - } - - /// - /// - /// - public static IncludedItem155 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.AppEvent value) => new IncludedItem155((global::AppStoreConnect.AppEvent?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem155 @this) => @this.AppEvents; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.AppEvent? value) - { - AppEvents = value; - } - - /// - /// - /// - public static IncludedItem155 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem155((global::AppStoreConnect.AppStoreVersionExperiment?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem155 @this) => @this.AppStoreVersionExperiments1; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.AppStoreVersionExperiment? value) - { - AppStoreVersionExperiments1 = value; - } - - /// - /// - /// - public static IncludedItem155 FromAppStoreVersionExperiments1(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem155((global::AppStoreConnect.AppStoreVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem155 @this) => @this.AppStoreVersionExperiments2; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.AppStoreVersion? value) - { - AppStoreVersionExperiments2 = value; - } - - /// - /// - /// - public static IncludedItem155 FromAppStoreVersionExperiments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.BackgroundAssetVersion value) => new IncludedItem155((global::AppStoreConnect.BackgroundAssetVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersion?(IncludedItem155 @this) => @this.BackgroundAssetVersions; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.BackgroundAssetVersion? value) - { - BackgroundAssetVersions = value; - } - - /// - /// - /// - public static IncludedItem155 FromBackgroundAssetVersions(global::AppStoreConnect.BackgroundAssetVersion? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem155((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem155 @this) => @this.GameCenterAchievementVersions; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.GameCenterAchievementVersionV2? value) - { - GameCenterAchievementVersions = value; - } - - /// - /// - /// - public static IncludedItem155 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.GameCenterActivityVersion value) => new IncludedItem155((global::AppStoreConnect.GameCenterActivityVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivityVersion?(IncludedItem155 @this) => @this.GameCenterActivityVersions; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.GameCenterActivityVersion? value) - { - GameCenterActivityVersions = value; - } - - /// - /// - /// - public static IncludedItem155 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem155((global::AppStoreConnect.GameCenterChallengeVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem155 @this) => @this.GameCenterChallengeVersions; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.GameCenterChallengeVersion? value) - { - GameCenterChallengeVersions = value; - } - - /// - /// - /// - public static IncludedItem155 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem155((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem155 @this) => @this.GameCenterLeaderboardSetVersions; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) - { - GameCenterLeaderboardSetVersions = value; - } - - /// - /// - /// - public static IncludedItem155 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem155((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem155 @this) => @this.GameCenterLeaderboardVersions; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) - { - GameCenterLeaderboardVersions = value; - } - - /// - /// - /// - public static IncludedItem155 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem155(value); - - /// - /// - /// - public static implicit operator IncludedItem155(global::AppStoreConnect.InAppPurchaseVersion value) => new IncludedItem155((global::AppStoreConnect.InAppPurchaseVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchaseVersion?(IncludedItem155 @this) => @this.InAppPurchaseVersions; - - /// - /// - /// - public IncludedItem155(global::AppStoreConnect.InAppPurchaseVersion? value) - { - InAppPurchaseVersions = value; - } - - /// - /// - /// - public static IncludedItem155 FromInAppPurchaseVersions(global::AppStoreConnect.InAppPurchaseVersion? value) => new IncludedItem155(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem155(global::AppStoreConnect.SubscriptionGroupVersion value) => new IncludedItem155((global::AppStoreConnect.SubscriptionGroupVersion?)value); + public static implicit operator IncludedItem155(global::AppStoreConnect.InAppPurchaseV2 value) => new IncludedItem155((global::AppStoreConnect.InAppPurchaseV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroupVersion?(IncludedItem155 @this) => @this.SubscriptionGroupVersions; + public static implicit operator global::AppStoreConnect.InAppPurchaseV2?(IncludedItem155 @this) => @this.InAppPurchases; /// /// /// - public IncludedItem155(global::AppStoreConnect.SubscriptionGroupVersion? value) + public IncludedItem155(global::AppStoreConnect.InAppPurchaseV2? value) { - SubscriptionGroupVersions = value; + InAppPurchases = value; } /// /// /// - public static IncludedItem155 FromSubscriptionGroupVersions(global::AppStoreConnect.SubscriptionGroupVersion? value) => new IncludedItem155(value); + public static IncludedItem155 FromInAppPurchases(global::AppStoreConnect.InAppPurchaseV2? value) => new IncludedItem155(value); /// /// /// - public static implicit operator IncludedItem155(global::AppStoreConnect.SubscriptionVersion value) => new IncludedItem155((global::AppStoreConnect.SubscriptionVersion?)value); + public static implicit operator IncludedItem155(global::AppStoreConnect.Subscription value) => new IncludedItem155((global::AppStoreConnect.Subscription?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionVersion?(IncludedItem155 @this) => @this.SubscriptionVersions; + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem155 @this) => @this.Subscriptions; /// /// /// - public IncludedItem155(global::AppStoreConnect.SubscriptionVersion? value) + public IncludedItem155(global::AppStoreConnect.Subscription? value) { - SubscriptionVersions = value; + Subscriptions = value; } /// /// /// - public static IncludedItem155 FromSubscriptionVersions(global::AppStoreConnect.SubscriptionVersion? value) => new IncludedItem155(value); + public static IncludedItem155 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem155(value); /// /// /// public IncludedItem155( - global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, - global::AppStoreConnect.AppEvent? appEvents, - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments1, - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2, - global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions, - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions, - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions, - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions, - global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions, - global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions, - global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions, - global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions, - global::AppStoreConnect.SubscriptionVersion? subscriptionVersions + global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.InAppPurchaseV2? inAppPurchases, + global::AppStoreConnect.Subscription? subscriptions ) { Type = type; - AppCustomProductPageVersions = appCustomProductPageVersions; - AppEvents = appEvents; - AppStoreVersionExperiments1 = appStoreVersionExperiments1; - AppStoreVersionExperiments2 = appStoreVersionExperiments2; - BackgroundAssetVersions = backgroundAssetVersions; - GameCenterAchievementVersions = gameCenterAchievementVersions; - GameCenterActivityVersions = gameCenterActivityVersions; - GameCenterChallengeVersions = gameCenterChallengeVersions; - GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; - GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; - InAppPurchaseVersions = inAppPurchaseVersions; - SubscriptionGroupVersions = subscriptionGroupVersions; - SubscriptionVersions = subscriptionVersions; + InAppPurchases = inAppPurchases; + Subscriptions = subscriptions; } /// /// /// public object? Object => - SubscriptionVersions as object ?? - SubscriptionGroupVersions as object ?? - InAppPurchaseVersions as object ?? - GameCenterLeaderboardVersions as object ?? - GameCenterLeaderboardSetVersions as object ?? - GameCenterChallengeVersions as object ?? - GameCenterActivityVersions as object ?? - GameCenterAchievementVersions as object ?? - BackgroundAssetVersions as object ?? - AppStoreVersionExperiments2 as object ?? - AppStoreVersionExperiments1 as object ?? - AppEvents as object ?? - AppCustomProductPageVersions as object + Subscriptions as object ?? + InAppPurchases as object ; /// /// /// public override string? ToString() => - AppCustomProductPageVersions?.ToString() ?? - AppEvents?.ToString() ?? - AppStoreVersionExperiments1?.ToString() ?? - AppStoreVersionExperiments2?.ToString() ?? - BackgroundAssetVersions?.ToString() ?? - GameCenterAchievementVersions?.ToString() ?? - GameCenterActivityVersions?.ToString() ?? - GameCenterChallengeVersions?.ToString() ?? - GameCenterLeaderboardSetVersions?.ToString() ?? - GameCenterLeaderboardVersions?.ToString() ?? - InAppPurchaseVersions?.ToString() ?? - SubscriptionGroupVersions?.ToString() ?? - SubscriptionVersions?.ToString() + InAppPurchases?.ToString() ?? + Subscriptions?.ToString() ; /// @@ -873,26 +169,15 @@ AppCustomProductPageVersions as object /// public bool Validate() { - return IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && IsSubscriptionVersions; + return IsInAppPurchases && !IsSubscriptions || !IsInAppPurchases && IsSubscriptions; } /// /// /// public TResult? Match( - global::System.Func? appCustomProductPageVersions = null, - global::System.Func? appEvents = null, - global::System.Func? appStoreVersionExperiments1 = null, - global::System.Func? appStoreVersionExperiments2 = null, - global::System.Func? backgroundAssetVersions = null, - global::System.Func? gameCenterAchievementVersions = null, - global::System.Func? gameCenterActivityVersions = null, - global::System.Func? gameCenterChallengeVersions = null, - global::System.Func? gameCenterLeaderboardSetVersions = null, - global::System.Func? gameCenterLeaderboardVersions = null, - global::System.Func? inAppPurchaseVersions = null, - global::System.Func? subscriptionGroupVersions = null, - global::System.Func? subscriptionVersions = null, + global::System.Func? inAppPurchases = null, + global::System.Func? subscriptions = null, bool validate = true) { if (validate) @@ -900,57 +185,13 @@ public bool Validate() Validate(); } - if (AppCustomProductPageVersions is { } __value0 && appCustomProductPageVersions != null) - { - return appCustomProductPageVersions(__value0); - } - else if (AppEvents is { } __value1 && appEvents != null) - { - return appEvents(__value1); - } - else if (AppStoreVersionExperiments1 is { } __value2 && appStoreVersionExperiments1 != null) - { - return appStoreVersionExperiments1(__value2); - } - else if (AppStoreVersionExperiments2 is { } __value3 && appStoreVersionExperiments2 != null) - { - return appStoreVersionExperiments2(__value3); - } - else if (BackgroundAssetVersions is { } __value4 && backgroundAssetVersions != null) - { - return backgroundAssetVersions(__value4); - } - else if (GameCenterAchievementVersions is { } __value5 && gameCenterAchievementVersions != null) - { - return gameCenterAchievementVersions(__value5); - } - else if (GameCenterActivityVersions is { } __value6 && gameCenterActivityVersions != null) - { - return gameCenterActivityVersions(__value6); - } - else if (GameCenterChallengeVersions is { } __value7 && gameCenterChallengeVersions != null) - { - return gameCenterChallengeVersions(__value7); - } - else if (GameCenterLeaderboardSetVersions is { } __value8 && gameCenterLeaderboardSetVersions != null) - { - return gameCenterLeaderboardSetVersions(__value8); - } - else if (GameCenterLeaderboardVersions is { } __value9 && gameCenterLeaderboardVersions != null) - { - return gameCenterLeaderboardVersions(__value9); - } - else if (InAppPurchaseVersions is { } __value10 && inAppPurchaseVersions != null) - { - return inAppPurchaseVersions(__value10); - } - else if (SubscriptionGroupVersions is { } __value11 && subscriptionGroupVersions != null) + if (InAppPurchases is { } __value0 && inAppPurchases != null) { - return subscriptionGroupVersions(__value11); + return inAppPurchases(__value0); } - else if (SubscriptionVersions is { } __value12 && subscriptionVersions != null) + else if (Subscriptions is { } __value1 && subscriptions != null) { - return subscriptionVersions(__value12); + return subscriptions(__value1); } return default(TResult); @@ -960,31 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appCustomProductPageVersions = null, - - global::System.Action? appEvents = null, - - global::System.Action? appStoreVersionExperiments1 = null, - - global::System.Action? appStoreVersionExperiments2 = null, - - global::System.Action? backgroundAssetVersions = null, - - global::System.Action? gameCenterAchievementVersions = null, - - global::System.Action? gameCenterActivityVersions = null, - - global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? inAppPurchases = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, - - global::System.Action? gameCenterLeaderboardVersions = null, - - global::System.Action? inAppPurchaseVersions = null, - - global::System.Action? subscriptionGroupVersions = null, - - global::System.Action? subscriptionVersions = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -992,57 +211,13 @@ public void Match( Validate(); } - if (AppCustomProductPageVersions is { } __value0) - { - appCustomProductPageVersions?.Invoke(__value0); - } - else if (AppEvents is { } __value1) - { - appEvents?.Invoke(__value1); - } - else if (AppStoreVersionExperiments1 is { } __value2) - { - appStoreVersionExperiments1?.Invoke(__value2); - } - else if (AppStoreVersionExperiments2 is { } __value3) - { - appStoreVersionExperiments2?.Invoke(__value3); - } - else if (BackgroundAssetVersions is { } __value4) - { - backgroundAssetVersions?.Invoke(__value4); - } - else if (GameCenterAchievementVersions is { } __value5) - { - gameCenterAchievementVersions?.Invoke(__value5); - } - else if (GameCenterActivityVersions is { } __value6) + if (InAppPurchases is { } __value0) { - gameCenterActivityVersions?.Invoke(__value6); + inAppPurchases?.Invoke(__value0); } - else if (GameCenterChallengeVersions is { } __value7) + else if (Subscriptions is { } __value1) { - gameCenterChallengeVersions?.Invoke(__value7); - } - else if (GameCenterLeaderboardSetVersions is { } __value8) - { - gameCenterLeaderboardSetVersions?.Invoke(__value8); - } - else if (GameCenterLeaderboardVersions is { } __value9) - { - gameCenterLeaderboardVersions?.Invoke(__value9); - } - else if (InAppPurchaseVersions is { } __value10) - { - inAppPurchaseVersions?.Invoke(__value10); - } - else if (SubscriptionGroupVersions is { } __value11) - { - subscriptionGroupVersions?.Invoke(__value11); - } - else if (SubscriptionVersions is { } __value12) - { - subscriptionVersions?.Invoke(__value12); + subscriptions?.Invoke(__value1); } } @@ -1050,19 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appCustomProductPageVersions = null, - global::System.Action? appEvents = null, - global::System.Action? appStoreVersionExperiments1 = null, - global::System.Action? appStoreVersionExperiments2 = null, - global::System.Action? backgroundAssetVersions = null, - global::System.Action? gameCenterAchievementVersions = null, - global::System.Action? gameCenterActivityVersions = null, - global::System.Action? gameCenterChallengeVersions = null, - global::System.Action? gameCenterLeaderboardSetVersions = null, - global::System.Action? gameCenterLeaderboardVersions = null, - global::System.Action? inAppPurchaseVersions = null, - global::System.Action? subscriptionGroupVersions = null, - global::System.Action? subscriptionVersions = null, + global::System.Action? inAppPurchases = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -1070,57 +234,13 @@ public void Switch( Validate(); } - if (AppCustomProductPageVersions is { } __value0) - { - appCustomProductPageVersions?.Invoke(__value0); - } - else if (AppEvents is { } __value1) - { - appEvents?.Invoke(__value1); - } - else if (AppStoreVersionExperiments1 is { } __value2) - { - appStoreVersionExperiments1?.Invoke(__value2); - } - else if (AppStoreVersionExperiments2 is { } __value3) - { - appStoreVersionExperiments2?.Invoke(__value3); - } - else if (BackgroundAssetVersions is { } __value4) - { - backgroundAssetVersions?.Invoke(__value4); - } - else if (GameCenterAchievementVersions is { } __value5) - { - gameCenterAchievementVersions?.Invoke(__value5); - } - else if (GameCenterActivityVersions is { } __value6) - { - gameCenterActivityVersions?.Invoke(__value6); - } - else if (GameCenterChallengeVersions is { } __value7) - { - gameCenterChallengeVersions?.Invoke(__value7); - } - else if (GameCenterLeaderboardSetVersions is { } __value8) - { - gameCenterLeaderboardSetVersions?.Invoke(__value8); - } - else if (GameCenterLeaderboardVersions is { } __value9) - { - gameCenterLeaderboardVersions?.Invoke(__value9); - } - else if (InAppPurchaseVersions is { } __value10) - { - inAppPurchaseVersions?.Invoke(__value10); - } - else if (SubscriptionGroupVersions is { } __value11) + if (InAppPurchases is { } __value0) { - subscriptionGroupVersions?.Invoke(__value11); + inAppPurchases?.Invoke(__value0); } - else if (SubscriptionVersions is { } __value12) + else if (Subscriptions is { } __value1) { - subscriptionVersions?.Invoke(__value12); + subscriptions?.Invoke(__value1); } } @@ -1131,32 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppCustomProductPageVersions, - typeof(global::AppStoreConnect.AppCustomProductPageVersion), - AppEvents, - typeof(global::AppStoreConnect.AppEvent), - AppStoreVersionExperiments1, - typeof(global::AppStoreConnect.AppStoreVersionExperiment), - AppStoreVersionExperiments2, - typeof(global::AppStoreConnect.AppStoreVersion), - BackgroundAssetVersions, - typeof(global::AppStoreConnect.BackgroundAssetVersion), - GameCenterAchievementVersions, - typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), - GameCenterActivityVersions, - typeof(global::AppStoreConnect.GameCenterActivityVersion), - GameCenterChallengeVersions, - typeof(global::AppStoreConnect.GameCenterChallengeVersion), - GameCenterLeaderboardSetVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), - GameCenterLeaderboardVersions, - typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), - InAppPurchaseVersions, - typeof(global::AppStoreConnect.InAppPurchaseVersion), - SubscriptionGroupVersions, - typeof(global::AppStoreConnect.SubscriptionGroupVersion), - SubscriptionVersions, - typeof(global::AppStoreConnect.SubscriptionVersion), + InAppPurchases, + typeof(global::AppStoreConnect.InAppPurchaseV2), + Subscriptions, + typeof(global::AppStoreConnect.Subscription), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1173,19 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem155 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments1, other.AppStoreVersionExperiments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments2, other.AppStoreVersionExperiments2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersions, other.BackgroundAssetVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseVersions, other.InAppPurchaseVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupVersions, other.SubscriptionGroupVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionVersions, other.SubscriptionVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem156.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem156.g.cs index 8c5ee4863..4065b34e1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem156.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem156.g.cs @@ -12,177 +12,676 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Actor? Actors { get; init; } + public global::AppStoreConnect.AppAssetLibraryImage? AppAssetLibraryImages { get; init; } #else - public global::AppStoreConnect.Actor? Actors { get; } + public global::AppStoreConnect.AppAssetLibraryImage? AppAssetLibraryImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Actors))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImages))] #endif - public bool IsActors => Actors != null; + public bool IsAppAssetLibraryImages => AppAssetLibraryImages != null; /// /// /// - public bool TryPickActors( + public bool TryPickAppAssetLibraryImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Actor? value) + out global::AppStoreConnect.AppAssetLibraryImage? value) { - value = Actors; - return IsActors; + value = AppAssetLibraryImages; + return IsAppAssetLibraryImages; } /// /// /// - public global::AppStoreConnect.Actor PickActors() => Actors is { } value + public global::AppStoreConnect.AppAssetLibraryImage PickAppAssetLibraryImages() => AppAssetLibraryImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Actors' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions1 { get; init; } + public global::AppStoreConnect.AppAssetLibraryVideo? AppAssetLibraryVideos { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions1 { get; } + public global::AppStoreConnect.AppAssetLibraryVideo? AppAssetLibraryVideos { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideos))] #endif - public bool IsAppStoreVersions1 => AppStoreVersions1 != null; + public bool IsAppAssetLibraryVideos => AppAssetLibraryVideos != null; /// /// /// - public bool TryPickAppStoreVersions1( + public bool TryPickAppAssetLibraryVideos( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideo? value) + { + value = AppAssetLibraryVideos; + return IsAppAssetLibraryVideos; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideo PickAppAssetLibraryVideos() => AppAssetLibraryVideos is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideos' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } +#else + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] +#endif + public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; + + /// + /// + /// + public bool TryPickAppCustomProductPageVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppCustomProductPageVersion? value) + { + value = AppCustomProductPageVersions; + return IsAppCustomProductPageVersions; + } + + /// + /// + /// + public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppEvent? AppEvents { get; init; } +#else + public global::AppStoreConnect.AppEvent? AppEvents { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] +#endif + public bool IsAppEvents => AppEvents != null; + + /// + /// + /// + public bool TryPickAppEvents( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppEvent? value) + { + value = AppEvents; + return IsAppEvents; + } + + /// + /// + /// + public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments1 { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments1))] +#endif + public bool IsAppStoreVersionExperiments1 => AppStoreVersionExperiments1 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperiments1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperiment? value) + { + value = AppStoreVersionExperiments1; + return IsAppStoreVersionExperiments1; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperiments1() => AppStoreVersionExperiments1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; init; } +#else + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments2))] +#endif + public bool IsAppStoreVersionExperiments2 => AppStoreVersionExperiments2 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperiments2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.AppStoreVersion? value) { - value = AppStoreVersions1; - return IsAppStoreVersions1; + value = AppStoreVersionExperiments2; + return IsAppStoreVersionExperiments2; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperiments2() => AppStoreVersionExperiments2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; init; } +#else + public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersions))] +#endif + public bool IsBackgroundAssetVersions => BackgroundAssetVersions != null; + + /// + /// + /// + public bool TryPickBackgroundAssetVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BackgroundAssetVersion? value) + { + value = BackgroundAssetVersions; + return IsBackgroundAssetVersions; + } + + /// + /// + /// + public global::AppStoreConnect.BackgroundAssetVersion PickBackgroundAssetVersions() => BackgroundAssetVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] +#endif + public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAchievementVersionV2? value) + { + value = GameCenterAchievementVersions; + return IsGameCenterAchievementVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersions))] +#endif + public bool IsGameCenterActivityVersions => GameCenterActivityVersions != null; + + /// + /// + /// + public bool TryPickGameCenterActivityVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivityVersion? value) + { + value = GameCenterActivityVersions; + return IsGameCenterActivityVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] +#endif + public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; + + /// + /// + /// + public bool TryPickGameCenterChallengeVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterChallengeVersion? value) + { + value = GameCenterChallengeVersions; + return IsGameCenterChallengeVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] +#endif + public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSetVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + { + value = GameCenterLeaderboardSetVersions; + return IsGameCenterLeaderboardSetVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] +#endif + public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + { + value = GameCenterLeaderboardVersions; + return IsGameCenterLeaderboardVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseVersions))] +#endif + public bool IsInAppPurchaseVersions => InAppPurchaseVersions != null; + + /// + /// + /// + public bool TryPickInAppPurchaseVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseVersion? value) + { + value = InAppPurchaseVersions; + return IsInAppPurchaseVersions; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseVersion PickInAppPurchaseVersions() => InAppPurchaseVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; init; } +#else + public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupVersions))] +#endif + public bool IsSubscriptionGroupVersions => SubscriptionGroupVersions != null; + + /// + /// + /// + public bool TryPickSubscriptionGroupVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionGroupVersion? value) + { + value = SubscriptionGroupVersions; + return IsSubscriptionGroupVersions; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupVersion PickSubscriptionGroupVersions() => SubscriptionGroupVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; init; } +#else + public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionVersions))] +#endif + public bool IsSubscriptionVersions => SubscriptionVersions != null; + + /// + /// + /// + public bool TryPickSubscriptionVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionVersion? value) + { + value = SubscriptionVersions; + return IsSubscriptionVersions; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionVersion PickSubscriptionVersions() => SubscriptionVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionVersions' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem156(global::AppStoreConnect.AppAssetLibraryImage value) => new IncludedItem156((global::AppStoreConnect.AppAssetLibraryImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImage?(IncludedItem156 @this) => @this.AppAssetLibraryImages; + + /// + /// + /// + public IncludedItem156(global::AppStoreConnect.AppAssetLibraryImage? value) + { + AppAssetLibraryImages = value; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions1() => AppStoreVersions1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions1' but the value was {ToString()}."); + public static IncludedItem156 FromAppAssetLibraryImages(global::AppStoreConnect.AppAssetLibraryImage? value) => new IncludedItem156(value); /// /// /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppStoreVersions2 { get; init; } -#else - public global::AppStoreConnect.App? AppStoreVersions2 { get; } -#endif + public static implicit operator IncludedItem156(global::AppStoreConnect.AppAssetLibraryVideo value) => new IncludedItem156((global::AppStoreConnect.AppAssetLibraryVideo?)value); /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions2))] -#endif - public bool IsAppStoreVersions2 => AppStoreVersions2 != null; + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideo?(IncludedItem156 @this) => @this.AppAssetLibraryVideos; /// /// /// - public bool TryPickAppStoreVersions2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) + public IncludedItem156(global::AppStoreConnect.AppAssetLibraryVideo? value) { - value = AppStoreVersions2; - return IsAppStoreVersions2; + AppAssetLibraryVideos = value; } /// /// /// - public global::AppStoreConnect.App PickAppStoreVersions2() => AppStoreVersions2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions2' but the value was {ToString()}."); + public static IncludedItem156 FromAppAssetLibraryVideos(global::AppStoreConnect.AppAssetLibraryVideo? value) => new IncludedItem156(value); /// /// /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.ReviewSubmissionItem? ReviewSubmissionItems { get; init; } -#else - public global::AppStoreConnect.ReviewSubmissionItem? ReviewSubmissionItems { get; } -#endif + public static implicit operator IncludedItem156(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem156((global::AppStoreConnect.AppCustomProductPageVersion?)value); /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReviewSubmissionItems))] -#endif - public bool IsReviewSubmissionItems => ReviewSubmissionItems != null; + public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem156 @this) => @this.AppCustomProductPageVersions; /// /// /// - public bool TryPickReviewSubmissionItems( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.ReviewSubmissionItem? value) + public IncludedItem156(global::AppStoreConnect.AppCustomProductPageVersion? value) { - value = ReviewSubmissionItems; - return IsReviewSubmissionItems; + AppCustomProductPageVersions = value; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItem PickReviewSubmissionItems() => ReviewSubmissionItems is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ReviewSubmissionItems' but the value was {ToString()}."); + public static IncludedItem156 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem156(value); + + /// + /// + /// + public static implicit operator IncludedItem156(global::AppStoreConnect.AppEvent value) => new IncludedItem156((global::AppStoreConnect.AppEvent?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem156 @this) => @this.AppEvents; + + /// + /// + /// + public IncludedItem156(global::AppStoreConnect.AppEvent? value) + { + AppEvents = value; + } + + /// + /// + /// + public static IncludedItem156 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem156(value); + /// /// /// - public static implicit operator IncludedItem156(global::AppStoreConnect.Actor value) => new IncludedItem156((global::AppStoreConnect.Actor?)value); + public static implicit operator IncludedItem156(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem156((global::AppStoreConnect.AppStoreVersionExperiment?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Actor?(IncludedItem156 @this) => @this.Actors; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem156 @this) => @this.AppStoreVersionExperiments1; /// /// /// - public IncludedItem156(global::AppStoreConnect.Actor? value) + public IncludedItem156(global::AppStoreConnect.AppStoreVersionExperiment? value) { - Actors = value; + AppStoreVersionExperiments1 = value; } /// /// /// - public static IncludedItem156 FromActors(global::AppStoreConnect.Actor? value) => new IncludedItem156(value); + public static IncludedItem156 FromAppStoreVersionExperiments1(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem156(value); /// /// @@ -192,104 +691,309 @@ public IncludedItem156(global::AppStoreConnect.Actor? value) /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem156 @this) => @this.AppStoreVersions1; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem156 @this) => @this.AppStoreVersionExperiments2; /// /// /// public IncludedItem156(global::AppStoreConnect.AppStoreVersion? value) { - AppStoreVersions1 = value; + AppStoreVersionExperiments2 = value; + } + + /// + /// + /// + public static IncludedItem156 FromAppStoreVersionExperiments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem156(value); + + /// + /// + /// + public static implicit operator IncludedItem156(global::AppStoreConnect.BackgroundAssetVersion value) => new IncludedItem156((global::AppStoreConnect.BackgroundAssetVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BackgroundAssetVersion?(IncludedItem156 @this) => @this.BackgroundAssetVersions; + + /// + /// + /// + public IncludedItem156(global::AppStoreConnect.BackgroundAssetVersion? value) + { + BackgroundAssetVersions = value; + } + + /// + /// + /// + public static IncludedItem156 FromBackgroundAssetVersions(global::AppStoreConnect.BackgroundAssetVersion? value) => new IncludedItem156(value); + + /// + /// + /// + public static implicit operator IncludedItem156(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem156((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem156 @this) => @this.GameCenterAchievementVersions; + + /// + /// + /// + public IncludedItem156(global::AppStoreConnect.GameCenterAchievementVersionV2? value) + { + GameCenterAchievementVersions = value; + } + + /// + /// + /// + public static IncludedItem156 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem156(value); + + /// + /// + /// + public static implicit operator IncludedItem156(global::AppStoreConnect.GameCenterActivityVersion value) => new IncludedItem156((global::AppStoreConnect.GameCenterActivityVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivityVersion?(IncludedItem156 @this) => @this.GameCenterActivityVersions; + + /// + /// + /// + public IncludedItem156(global::AppStoreConnect.GameCenterActivityVersion? value) + { + GameCenterActivityVersions = value; + } + + /// + /// + /// + public static IncludedItem156 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem156(value); + + /// + /// + /// + public static implicit operator IncludedItem156(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem156((global::AppStoreConnect.GameCenterChallengeVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem156 @this) => @this.GameCenterChallengeVersions; + + /// + /// + /// + public IncludedItem156(global::AppStoreConnect.GameCenterChallengeVersion? value) + { + GameCenterChallengeVersions = value; + } + + /// + /// + /// + public static IncludedItem156 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem156(value); + + /// + /// + /// + public static implicit operator IncludedItem156(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem156((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem156 @this) => @this.GameCenterLeaderboardSetVersions; + + /// + /// + /// + public IncludedItem156(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + { + GameCenterLeaderboardSetVersions = value; + } + + /// + /// + /// + public static IncludedItem156 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem156(value); + + /// + /// + /// + public static implicit operator IncludedItem156(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem156((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem156 @this) => @this.GameCenterLeaderboardVersions; + + /// + /// + /// + public IncludedItem156(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + { + GameCenterLeaderboardVersions = value; + } + + /// + /// + /// + public static IncludedItem156 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem156(value); + + /// + /// + /// + public static implicit operator IncludedItem156(global::AppStoreConnect.InAppPurchaseVersion value) => new IncludedItem156((global::AppStoreConnect.InAppPurchaseVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseVersion?(IncludedItem156 @this) => @this.InAppPurchaseVersions; + + /// + /// + /// + public IncludedItem156(global::AppStoreConnect.InAppPurchaseVersion? value) + { + InAppPurchaseVersions = value; } /// /// /// - public static IncludedItem156 FromAppStoreVersions1(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem156(value); + public static IncludedItem156 FromInAppPurchaseVersions(global::AppStoreConnect.InAppPurchaseVersion? value) => new IncludedItem156(value); /// /// /// - public static implicit operator IncludedItem156(global::AppStoreConnect.App value) => new IncludedItem156((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem156(global::AppStoreConnect.SubscriptionGroupVersion value) => new IncludedItem156((global::AppStoreConnect.SubscriptionGroupVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem156 @this) => @this.AppStoreVersions2; + public static implicit operator global::AppStoreConnect.SubscriptionGroupVersion?(IncludedItem156 @this) => @this.SubscriptionGroupVersions; /// /// /// - public IncludedItem156(global::AppStoreConnect.App? value) + public IncludedItem156(global::AppStoreConnect.SubscriptionGroupVersion? value) { - AppStoreVersions2 = value; + SubscriptionGroupVersions = value; } /// /// /// - public static IncludedItem156 FromAppStoreVersions2(global::AppStoreConnect.App? value) => new IncludedItem156(value); + public static IncludedItem156 FromSubscriptionGroupVersions(global::AppStoreConnect.SubscriptionGroupVersion? value) => new IncludedItem156(value); /// /// /// - public static implicit operator IncludedItem156(global::AppStoreConnect.ReviewSubmissionItem value) => new IncludedItem156((global::AppStoreConnect.ReviewSubmissionItem?)value); + public static implicit operator IncludedItem156(global::AppStoreConnect.SubscriptionVersion value) => new IncludedItem156((global::AppStoreConnect.SubscriptionVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ReviewSubmissionItem?(IncludedItem156 @this) => @this.ReviewSubmissionItems; + public static implicit operator global::AppStoreConnect.SubscriptionVersion?(IncludedItem156 @this) => @this.SubscriptionVersions; /// /// /// - public IncludedItem156(global::AppStoreConnect.ReviewSubmissionItem? value) + public IncludedItem156(global::AppStoreConnect.SubscriptionVersion? value) { - ReviewSubmissionItems = value; + SubscriptionVersions = value; } /// /// /// - public static IncludedItem156 FromReviewSubmissionItems(global::AppStoreConnect.ReviewSubmissionItem? value) => new IncludedItem156(value); + public static IncludedItem156 FromSubscriptionVersions(global::AppStoreConnect.SubscriptionVersion? value) => new IncludedItem156(value); /// /// /// public IncludedItem156( - global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.Actor? actors, - global::AppStoreConnect.AppStoreVersion? appStoreVersions1, - global::AppStoreConnect.App? appStoreVersions2, - global::AppStoreConnect.ReviewSubmissionItem? reviewSubmissionItems + global::AppStoreConnect.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryImage? appAssetLibraryImages, + global::AppStoreConnect.AppAssetLibraryVideo? appAssetLibraryVideos, + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, + global::AppStoreConnect.AppEvent? appEvents, + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments1, + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2, + global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions, + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions, + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions, + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions, + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions, + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions, + global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions, + global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions, + global::AppStoreConnect.SubscriptionVersion? subscriptionVersions ) { Type = type; - Actors = actors; - AppStoreVersions1 = appStoreVersions1; - AppStoreVersions2 = appStoreVersions2; - ReviewSubmissionItems = reviewSubmissionItems; + AppAssetLibraryImages = appAssetLibraryImages; + AppAssetLibraryVideos = appAssetLibraryVideos; + AppCustomProductPageVersions = appCustomProductPageVersions; + AppEvents = appEvents; + AppStoreVersionExperiments1 = appStoreVersionExperiments1; + AppStoreVersionExperiments2 = appStoreVersionExperiments2; + BackgroundAssetVersions = backgroundAssetVersions; + GameCenterAchievementVersions = gameCenterAchievementVersions; + GameCenterActivityVersions = gameCenterActivityVersions; + GameCenterChallengeVersions = gameCenterChallengeVersions; + GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; + GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; + InAppPurchaseVersions = inAppPurchaseVersions; + SubscriptionGroupVersions = subscriptionGroupVersions; + SubscriptionVersions = subscriptionVersions; } /// /// /// public object? Object => - ReviewSubmissionItems as object ?? - AppStoreVersions2 as object ?? - AppStoreVersions1 as object ?? - Actors as object + SubscriptionVersions as object ?? + SubscriptionGroupVersions as object ?? + InAppPurchaseVersions as object ?? + GameCenterLeaderboardVersions as object ?? + GameCenterLeaderboardSetVersions as object ?? + GameCenterChallengeVersions as object ?? + GameCenterActivityVersions as object ?? + GameCenterAchievementVersions as object ?? + BackgroundAssetVersions as object ?? + AppStoreVersionExperiments2 as object ?? + AppStoreVersionExperiments1 as object ?? + AppEvents as object ?? + AppCustomProductPageVersions as object ?? + AppAssetLibraryVideos as object ?? + AppAssetLibraryImages as object ; /// /// /// public override string? ToString() => - Actors?.ToString() ?? - AppStoreVersions1?.ToString() ?? - AppStoreVersions2?.ToString() ?? - ReviewSubmissionItems?.ToString() + AppAssetLibraryImages?.ToString() ?? + AppAssetLibraryVideos?.ToString() ?? + AppCustomProductPageVersions?.ToString() ?? + AppEvents?.ToString() ?? + AppStoreVersionExperiments1?.ToString() ?? + AppStoreVersionExperiments2?.ToString() ?? + BackgroundAssetVersions?.ToString() ?? + GameCenterAchievementVersions?.ToString() ?? + GameCenterActivityVersions?.ToString() ?? + GameCenterChallengeVersions?.ToString() ?? + GameCenterLeaderboardSetVersions?.ToString() ?? + GameCenterLeaderboardVersions?.ToString() ?? + InAppPurchaseVersions?.ToString() ?? + SubscriptionGroupVersions?.ToString() ?? + SubscriptionVersions?.ToString() ; /// @@ -297,17 +1001,28 @@ Actors as object /// public bool Validate() { - return IsActors && !IsAppStoreVersions1 && !IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && IsAppStoreVersions1 && !IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && !IsAppStoreVersions1 && IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && !IsAppStoreVersions1 && !IsAppStoreVersions2 && IsReviewSubmissionItems; + return IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && IsSubscriptionVersions; } /// /// /// public TResult? Match( - global::System.Func? actors = null, - global::System.Func? appStoreVersions1 = null, - global::System.Func? appStoreVersions2 = null, - global::System.Func? reviewSubmissionItems = null, + global::System.Func? appAssetLibraryImages = null, + global::System.Func? appAssetLibraryVideos = null, + global::System.Func? appCustomProductPageVersions = null, + global::System.Func? appEvents = null, + global::System.Func? appStoreVersionExperiments1 = null, + global::System.Func? appStoreVersionExperiments2 = null, + global::System.Func? backgroundAssetVersions = null, + global::System.Func? gameCenterAchievementVersions = null, + global::System.Func? gameCenterActivityVersions = null, + global::System.Func? gameCenterChallengeVersions = null, + global::System.Func? gameCenterLeaderboardSetVersions = null, + global::System.Func? gameCenterLeaderboardVersions = null, + global::System.Func? inAppPurchaseVersions = null, + global::System.Func? subscriptionGroupVersions = null, + global::System.Func? subscriptionVersions = null, bool validate = true) { if (validate) @@ -315,21 +1030,65 @@ public bool Validate() Validate(); } - if (Actors is { } __value0 && actors != null) + if (AppAssetLibraryImages is { } __value0 && appAssetLibraryImages != null) + { + return appAssetLibraryImages(__value0); + } + else if (AppAssetLibraryVideos is { } __value1 && appAssetLibraryVideos != null) + { + return appAssetLibraryVideos(__value1); + } + else if (AppCustomProductPageVersions is { } __value2 && appCustomProductPageVersions != null) + { + return appCustomProductPageVersions(__value2); + } + else if (AppEvents is { } __value3 && appEvents != null) + { + return appEvents(__value3); + } + else if (AppStoreVersionExperiments1 is { } __value4 && appStoreVersionExperiments1 != null) + { + return appStoreVersionExperiments1(__value4); + } + else if (AppStoreVersionExperiments2 is { } __value5 && appStoreVersionExperiments2 != null) + { + return appStoreVersionExperiments2(__value5); + } + else if (BackgroundAssetVersions is { } __value6 && backgroundAssetVersions != null) + { + return backgroundAssetVersions(__value6); + } + else if (GameCenterAchievementVersions is { } __value7 && gameCenterAchievementVersions != null) + { + return gameCenterAchievementVersions(__value7); + } + else if (GameCenterActivityVersions is { } __value8 && gameCenterActivityVersions != null) + { + return gameCenterActivityVersions(__value8); + } + else if (GameCenterChallengeVersions is { } __value9 && gameCenterChallengeVersions != null) + { + return gameCenterChallengeVersions(__value9); + } + else if (GameCenterLeaderboardSetVersions is { } __value10 && gameCenterLeaderboardSetVersions != null) + { + return gameCenterLeaderboardSetVersions(__value10); + } + else if (GameCenterLeaderboardVersions is { } __value11 && gameCenterLeaderboardVersions != null) { - return actors(__value0); + return gameCenterLeaderboardVersions(__value11); } - else if (AppStoreVersions1 is { } __value1 && appStoreVersions1 != null) + else if (InAppPurchaseVersions is { } __value12 && inAppPurchaseVersions != null) { - return appStoreVersions1(__value1); + return inAppPurchaseVersions(__value12); } - else if (AppStoreVersions2 is { } __value2 && appStoreVersions2 != null) + else if (SubscriptionGroupVersions is { } __value13 && subscriptionGroupVersions != null) { - return appStoreVersions2(__value2); + return subscriptionGroupVersions(__value13); } - else if (ReviewSubmissionItems is { } __value3 && reviewSubmissionItems != null) + else if (SubscriptionVersions is { } __value14 && subscriptionVersions != null) { - return reviewSubmissionItems(__value3); + return subscriptionVersions(__value14); } return default(TResult); @@ -339,13 +1098,35 @@ public bool Validate() /// /// public void Match( - global::System.Action? actors = null, + global::System.Action? appAssetLibraryImages = null, + + global::System.Action? appAssetLibraryVideos = null, + + global::System.Action? appCustomProductPageVersions = null, + + global::System.Action? appEvents = null, + + global::System.Action? appStoreVersionExperiments1 = null, + + global::System.Action? appStoreVersionExperiments2 = null, + + global::System.Action? backgroundAssetVersions = null, + + global::System.Action? gameCenterAchievementVersions = null, - global::System.Action? appStoreVersions1 = null, + global::System.Action? gameCenterActivityVersions = null, - global::System.Action? appStoreVersions2 = null, + global::System.Action? gameCenterChallengeVersions = null, - global::System.Action? reviewSubmissionItems = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, + + global::System.Action? gameCenterLeaderboardVersions = null, + + global::System.Action? inAppPurchaseVersions = null, + + global::System.Action? subscriptionGroupVersions = null, + + global::System.Action? subscriptionVersions = null, bool validate = true) { if (validate) @@ -353,21 +1134,65 @@ public void Match( Validate(); } - if (Actors is { } __value0) + if (AppAssetLibraryImages is { } __value0) + { + appAssetLibraryImages?.Invoke(__value0); + } + else if (AppAssetLibraryVideos is { } __value1) + { + appAssetLibraryVideos?.Invoke(__value1); + } + else if (AppCustomProductPageVersions is { } __value2) + { + appCustomProductPageVersions?.Invoke(__value2); + } + else if (AppEvents is { } __value3) + { + appEvents?.Invoke(__value3); + } + else if (AppStoreVersionExperiments1 is { } __value4) + { + appStoreVersionExperiments1?.Invoke(__value4); + } + else if (AppStoreVersionExperiments2 is { } __value5) + { + appStoreVersionExperiments2?.Invoke(__value5); + } + else if (BackgroundAssetVersions is { } __value6) { - actors?.Invoke(__value0); + backgroundAssetVersions?.Invoke(__value6); } - else if (AppStoreVersions1 is { } __value1) + else if (GameCenterAchievementVersions is { } __value7) { - appStoreVersions1?.Invoke(__value1); + gameCenterAchievementVersions?.Invoke(__value7); } - else if (AppStoreVersions2 is { } __value2) + else if (GameCenterActivityVersions is { } __value8) { - appStoreVersions2?.Invoke(__value2); + gameCenterActivityVersions?.Invoke(__value8); } - else if (ReviewSubmissionItems is { } __value3) + else if (GameCenterChallengeVersions is { } __value9) { - reviewSubmissionItems?.Invoke(__value3); + gameCenterChallengeVersions?.Invoke(__value9); + } + else if (GameCenterLeaderboardSetVersions is { } __value10) + { + gameCenterLeaderboardSetVersions?.Invoke(__value10); + } + else if (GameCenterLeaderboardVersions is { } __value11) + { + gameCenterLeaderboardVersions?.Invoke(__value11); + } + else if (InAppPurchaseVersions is { } __value12) + { + inAppPurchaseVersions?.Invoke(__value12); + } + else if (SubscriptionGroupVersions is { } __value13) + { + subscriptionGroupVersions?.Invoke(__value13); + } + else if (SubscriptionVersions is { } __value14) + { + subscriptionVersions?.Invoke(__value14); } } @@ -375,10 +1200,21 @@ public void Match( /// /// public void Switch( - global::System.Action? actors = null, - global::System.Action? appStoreVersions1 = null, - global::System.Action? appStoreVersions2 = null, - global::System.Action? reviewSubmissionItems = null, + global::System.Action? appAssetLibraryImages = null, + global::System.Action? appAssetLibraryVideos = null, + global::System.Action? appCustomProductPageVersions = null, + global::System.Action? appEvents = null, + global::System.Action? appStoreVersionExperiments1 = null, + global::System.Action? appStoreVersionExperiments2 = null, + global::System.Action? backgroundAssetVersions = null, + global::System.Action? gameCenterAchievementVersions = null, + global::System.Action? gameCenterActivityVersions = null, + global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, + global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? inAppPurchaseVersions = null, + global::System.Action? subscriptionGroupVersions = null, + global::System.Action? subscriptionVersions = null, bool validate = true) { if (validate) @@ -386,21 +1222,65 @@ public void Switch( Validate(); } - if (Actors is { } __value0) + if (AppAssetLibraryImages is { } __value0) + { + appAssetLibraryImages?.Invoke(__value0); + } + else if (AppAssetLibraryVideos is { } __value1) + { + appAssetLibraryVideos?.Invoke(__value1); + } + else if (AppCustomProductPageVersions is { } __value2) + { + appCustomProductPageVersions?.Invoke(__value2); + } + else if (AppEvents is { } __value3) + { + appEvents?.Invoke(__value3); + } + else if (AppStoreVersionExperiments1 is { } __value4) + { + appStoreVersionExperiments1?.Invoke(__value4); + } + else if (AppStoreVersionExperiments2 is { } __value5) + { + appStoreVersionExperiments2?.Invoke(__value5); + } + else if (BackgroundAssetVersions is { } __value6) + { + backgroundAssetVersions?.Invoke(__value6); + } + else if (GameCenterAchievementVersions is { } __value7) + { + gameCenterAchievementVersions?.Invoke(__value7); + } + else if (GameCenterActivityVersions is { } __value8) + { + gameCenterActivityVersions?.Invoke(__value8); + } + else if (GameCenterChallengeVersions is { } __value9) + { + gameCenterChallengeVersions?.Invoke(__value9); + } + else if (GameCenterLeaderboardSetVersions is { } __value10) + { + gameCenterLeaderboardSetVersions?.Invoke(__value10); + } + else if (GameCenterLeaderboardVersions is { } __value11) { - actors?.Invoke(__value0); + gameCenterLeaderboardVersions?.Invoke(__value11); } - else if (AppStoreVersions1 is { } __value1) + else if (InAppPurchaseVersions is { } __value12) { - appStoreVersions1?.Invoke(__value1); + inAppPurchaseVersions?.Invoke(__value12); } - else if (AppStoreVersions2 is { } __value2) + else if (SubscriptionGroupVersions is { } __value13) { - appStoreVersions2?.Invoke(__value2); + subscriptionGroupVersions?.Invoke(__value13); } - else if (ReviewSubmissionItems is { } __value3) + else if (SubscriptionVersions is { } __value14) { - reviewSubmissionItems?.Invoke(__value3); + subscriptionVersions?.Invoke(__value14); } } @@ -411,14 +1291,36 @@ public override int GetHashCode() { var fields = new object?[] { - Actors, - typeof(global::AppStoreConnect.Actor), - AppStoreVersions1, + AppAssetLibraryImages, + typeof(global::AppStoreConnect.AppAssetLibraryImage), + AppAssetLibraryVideos, + typeof(global::AppStoreConnect.AppAssetLibraryVideo), + AppCustomProductPageVersions, + typeof(global::AppStoreConnect.AppCustomProductPageVersion), + AppEvents, + typeof(global::AppStoreConnect.AppEvent), + AppStoreVersionExperiments1, + typeof(global::AppStoreConnect.AppStoreVersionExperiment), + AppStoreVersionExperiments2, typeof(global::AppStoreConnect.AppStoreVersion), - AppStoreVersions2, - typeof(global::AppStoreConnect.App), - ReviewSubmissionItems, - typeof(global::AppStoreConnect.ReviewSubmissionItem), + BackgroundAssetVersions, + typeof(global::AppStoreConnect.BackgroundAssetVersion), + GameCenterAchievementVersions, + typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), + GameCenterActivityVersions, + typeof(global::AppStoreConnect.GameCenterActivityVersion), + GameCenterChallengeVersions, + typeof(global::AppStoreConnect.GameCenterChallengeVersion), + GameCenterLeaderboardSetVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), + GameCenterLeaderboardVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), + InAppPurchaseVersions, + typeof(global::AppStoreConnect.InAppPurchaseVersion), + SubscriptionGroupVersions, + typeof(global::AppStoreConnect.SubscriptionGroupVersion), + SubscriptionVersions, + typeof(global::AppStoreConnect.SubscriptionVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +1337,21 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem156 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Actors, other.Actors) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions1, other.AppStoreVersions1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions2, other.AppStoreVersions2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ReviewSubmissionItems, other.ReviewSubmissionItems) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImages, other.AppAssetLibraryImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideos, other.AppAssetLibraryVideos) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments1, other.AppStoreVersionExperiments1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments2, other.AppStoreVersionExperiments2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersions, other.BackgroundAssetVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseVersions, other.InAppPurchaseVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupVersions, other.SubscriptionGroupVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionVersions, other.SubscriptionVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem157.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem157.g.cs index 4f63bd25c..f7f4d5f00 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem157.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem157.g.cs @@ -12,177 +12,676 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Actor? Actors { get; init; } + public global::AppStoreConnect.AppAssetLibraryImage? AppAssetLibraryImages { get; init; } #else - public global::AppStoreConnect.Actor? Actors { get; } + public global::AppStoreConnect.AppAssetLibraryImage? AppAssetLibraryImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Actors))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImages))] #endif - public bool IsActors => Actors != null; + public bool IsAppAssetLibraryImages => AppAssetLibraryImages != null; /// /// /// - public bool TryPickActors( + public bool TryPickAppAssetLibraryImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Actor? value) + out global::AppStoreConnect.AppAssetLibraryImage? value) { - value = Actors; - return IsActors; + value = AppAssetLibraryImages; + return IsAppAssetLibraryImages; } /// /// /// - public global::AppStoreConnect.Actor PickActors() => Actors is { } value + public global::AppStoreConnect.AppAssetLibraryImage PickAppAssetLibraryImages() => AppAssetLibraryImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Actors' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions1 { get; init; } + public global::AppStoreConnect.AppAssetLibraryVideo? AppAssetLibraryVideos { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions1 { get; } + public global::AppStoreConnect.AppAssetLibraryVideo? AppAssetLibraryVideos { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideos))] #endif - public bool IsAppStoreVersions1 => AppStoreVersions1 != null; + public bool IsAppAssetLibraryVideos => AppAssetLibraryVideos != null; /// /// /// - public bool TryPickAppStoreVersions1( + public bool TryPickAppAssetLibraryVideos( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryVideo? value) + { + value = AppAssetLibraryVideos; + return IsAppAssetLibraryVideos; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryVideo PickAppAssetLibraryVideos() => AppAssetLibraryVideos is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideos' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } +#else + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] +#endif + public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; + + /// + /// + /// + public bool TryPickAppCustomProductPageVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppCustomProductPageVersion? value) + { + value = AppCustomProductPageVersions; + return IsAppCustomProductPageVersions; + } + + /// + /// + /// + public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppEvent? AppEvents { get; init; } +#else + public global::AppStoreConnect.AppEvent? AppEvents { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] +#endif + public bool IsAppEvents => AppEvents != null; + + /// + /// + /// + public bool TryPickAppEvents( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppEvent? value) + { + value = AppEvents; + return IsAppEvents; + } + + /// + /// + /// + public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments1 { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments1))] +#endif + public bool IsAppStoreVersionExperiments1 => AppStoreVersionExperiments1 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperiments1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperiment? value) + { + value = AppStoreVersionExperiments1; + return IsAppStoreVersionExperiments1; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperiments1() => AppStoreVersionExperiments1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; init; } +#else + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments2))] +#endif + public bool IsAppStoreVersionExperiments2 => AppStoreVersionExperiments2 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperiments2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.AppStoreVersion? value) { - value = AppStoreVersions1; - return IsAppStoreVersions1; + value = AppStoreVersionExperiments2; + return IsAppStoreVersionExperiments2; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperiments2() => AppStoreVersionExperiments2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; init; } +#else + public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersions))] +#endif + public bool IsBackgroundAssetVersions => BackgroundAssetVersions != null; + + /// + /// + /// + public bool TryPickBackgroundAssetVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BackgroundAssetVersion? value) + { + value = BackgroundAssetVersions; + return IsBackgroundAssetVersions; + } + + /// + /// + /// + public global::AppStoreConnect.BackgroundAssetVersion PickBackgroundAssetVersions() => BackgroundAssetVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] +#endif + public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAchievementVersionV2? value) + { + value = GameCenterAchievementVersions; + return IsGameCenterAchievementVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersions))] +#endif + public bool IsGameCenterActivityVersions => GameCenterActivityVersions != null; + + /// + /// + /// + public bool TryPickGameCenterActivityVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivityVersion? value) + { + value = GameCenterActivityVersions; + return IsGameCenterActivityVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] +#endif + public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; + + /// + /// + /// + public bool TryPickGameCenterChallengeVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterChallengeVersion? value) + { + value = GameCenterChallengeVersions; + return IsGameCenterChallengeVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? GameCenterLeaderboardSetVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardSetVersions))] +#endif + public bool IsGameCenterLeaderboardSetVersions => GameCenterLeaderboardSetVersions != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardSetVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + { + value = GameCenterLeaderboardSetVersions; + return IsGameCenterLeaderboardSetVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 PickGameCenterLeaderboardSetVersions() => GameCenterLeaderboardSetVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardSetVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboardVersionV2? GameCenterLeaderboardVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboardVersions))] +#endif + public bool IsGameCenterLeaderboardVersions => GameCenterLeaderboardVersions != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboardVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + { + value = GameCenterLeaderboardVersions; + return IsGameCenterLeaderboardVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboardVersionV2 PickGameCenterLeaderboardVersions() => GameCenterLeaderboardVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboardVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; init; } +#else + public global::AppStoreConnect.InAppPurchaseVersion? InAppPurchaseVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchaseVersions))] +#endif + public bool IsInAppPurchaseVersions => InAppPurchaseVersions != null; + + /// + /// + /// + public bool TryPickInAppPurchaseVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchaseVersion? value) + { + value = InAppPurchaseVersions; + return IsInAppPurchaseVersions; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchaseVersion PickInAppPurchaseVersions() => InAppPurchaseVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchaseVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; init; } +#else + public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupVersions))] +#endif + public bool IsSubscriptionGroupVersions => SubscriptionGroupVersions != null; + + /// + /// + /// + public bool TryPickSubscriptionGroupVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionGroupVersion? value) + { + value = SubscriptionGroupVersions; + return IsSubscriptionGroupVersions; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroupVersion PickSubscriptionGroupVersions() => SubscriptionGroupVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; init; } +#else + public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionVersions))] +#endif + public bool IsSubscriptionVersions => SubscriptionVersions != null; + + /// + /// + /// + public bool TryPickSubscriptionVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionVersion? value) + { + value = SubscriptionVersions; + return IsSubscriptionVersions; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionVersion PickSubscriptionVersions() => SubscriptionVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionVersions' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem157(global::AppStoreConnect.AppAssetLibraryImage value) => new IncludedItem157((global::AppStoreConnect.AppAssetLibraryImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImage?(IncludedItem157 @this) => @this.AppAssetLibraryImages; + + /// + /// + /// + public IncludedItem157(global::AppStoreConnect.AppAssetLibraryImage? value) + { + AppAssetLibraryImages = value; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions1() => AppStoreVersions1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions1' but the value was {ToString()}."); + public static IncludedItem157 FromAppAssetLibraryImages(global::AppStoreConnect.AppAssetLibraryImage? value) => new IncludedItem157(value); /// /// /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppStoreVersions2 { get; init; } -#else - public global::AppStoreConnect.App? AppStoreVersions2 { get; } -#endif + public static implicit operator IncludedItem157(global::AppStoreConnect.AppAssetLibraryVideo value) => new IncludedItem157((global::AppStoreConnect.AppAssetLibraryVideo?)value); /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions2))] -#endif - public bool IsAppStoreVersions2 => AppStoreVersions2 != null; + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideo?(IncludedItem157 @this) => @this.AppAssetLibraryVideos; /// /// /// - public bool TryPickAppStoreVersions2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) + public IncludedItem157(global::AppStoreConnect.AppAssetLibraryVideo? value) { - value = AppStoreVersions2; - return IsAppStoreVersions2; + AppAssetLibraryVideos = value; } /// /// /// - public global::AppStoreConnect.App PickAppStoreVersions2() => AppStoreVersions2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions2' but the value was {ToString()}."); + public static IncludedItem157 FromAppAssetLibraryVideos(global::AppStoreConnect.AppAssetLibraryVideo? value) => new IncludedItem157(value); /// /// /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.ReviewSubmissionItem? ReviewSubmissionItems { get; init; } -#else - public global::AppStoreConnect.ReviewSubmissionItem? ReviewSubmissionItems { get; } -#endif + public static implicit operator IncludedItem157(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem157((global::AppStoreConnect.AppCustomProductPageVersion?)value); /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReviewSubmissionItems))] -#endif - public bool IsReviewSubmissionItems => ReviewSubmissionItems != null; + public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem157 @this) => @this.AppCustomProductPageVersions; /// /// /// - public bool TryPickReviewSubmissionItems( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.ReviewSubmissionItem? value) + public IncludedItem157(global::AppStoreConnect.AppCustomProductPageVersion? value) { - value = ReviewSubmissionItems; - return IsReviewSubmissionItems; + AppCustomProductPageVersions = value; } /// /// /// - public global::AppStoreConnect.ReviewSubmissionItem PickReviewSubmissionItems() => ReviewSubmissionItems is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ReviewSubmissionItems' but the value was {ToString()}."); + public static IncludedItem157 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem157(value); + + /// + /// + /// + public static implicit operator IncludedItem157(global::AppStoreConnect.AppEvent value) => new IncludedItem157((global::AppStoreConnect.AppEvent?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem157 @this) => @this.AppEvents; + + /// + /// + /// + public IncludedItem157(global::AppStoreConnect.AppEvent? value) + { + AppEvents = value; + } + + /// + /// + /// + public static IncludedItem157 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem157(value); + /// /// /// - public static implicit operator IncludedItem157(global::AppStoreConnect.Actor value) => new IncludedItem157((global::AppStoreConnect.Actor?)value); + public static implicit operator IncludedItem157(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem157((global::AppStoreConnect.AppStoreVersionExperiment?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Actor?(IncludedItem157 @this) => @this.Actors; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem157 @this) => @this.AppStoreVersionExperiments1; /// /// /// - public IncludedItem157(global::AppStoreConnect.Actor? value) + public IncludedItem157(global::AppStoreConnect.AppStoreVersionExperiment? value) { - Actors = value; + AppStoreVersionExperiments1 = value; } /// /// /// - public static IncludedItem157 FromActors(global::AppStoreConnect.Actor? value) => new IncludedItem157(value); + public static IncludedItem157 FromAppStoreVersionExperiments1(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem157(value); /// /// @@ -192,104 +691,309 @@ public IncludedItem157(global::AppStoreConnect.Actor? value) /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem157 @this) => @this.AppStoreVersions1; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem157 @this) => @this.AppStoreVersionExperiments2; /// /// /// public IncludedItem157(global::AppStoreConnect.AppStoreVersion? value) { - AppStoreVersions1 = value; + AppStoreVersionExperiments2 = value; + } + + /// + /// + /// + public static IncludedItem157 FromAppStoreVersionExperiments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem157(value); + + /// + /// + /// + public static implicit operator IncludedItem157(global::AppStoreConnect.BackgroundAssetVersion value) => new IncludedItem157((global::AppStoreConnect.BackgroundAssetVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BackgroundAssetVersion?(IncludedItem157 @this) => @this.BackgroundAssetVersions; + + /// + /// + /// + public IncludedItem157(global::AppStoreConnect.BackgroundAssetVersion? value) + { + BackgroundAssetVersions = value; + } + + /// + /// + /// + public static IncludedItem157 FromBackgroundAssetVersions(global::AppStoreConnect.BackgroundAssetVersion? value) => new IncludedItem157(value); + + /// + /// + /// + public static implicit operator IncludedItem157(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem157((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem157 @this) => @this.GameCenterAchievementVersions; + + /// + /// + /// + public IncludedItem157(global::AppStoreConnect.GameCenterAchievementVersionV2? value) + { + GameCenterAchievementVersions = value; + } + + /// + /// + /// + public static IncludedItem157 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem157(value); + + /// + /// + /// + public static implicit operator IncludedItem157(global::AppStoreConnect.GameCenterActivityVersion value) => new IncludedItem157((global::AppStoreConnect.GameCenterActivityVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivityVersion?(IncludedItem157 @this) => @this.GameCenterActivityVersions; + + /// + /// + /// + public IncludedItem157(global::AppStoreConnect.GameCenterActivityVersion? value) + { + GameCenterActivityVersions = value; + } + + /// + /// + /// + public static IncludedItem157 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem157(value); + + /// + /// + /// + public static implicit operator IncludedItem157(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem157((global::AppStoreConnect.GameCenterChallengeVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem157 @this) => @this.GameCenterChallengeVersions; + + /// + /// + /// + public IncludedItem157(global::AppStoreConnect.GameCenterChallengeVersion? value) + { + GameCenterChallengeVersions = value; + } + + /// + /// + /// + public static IncludedItem157 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem157(value); + + /// + /// + /// + public static implicit operator IncludedItem157(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2 value) => new IncludedItem157((global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardSetVersionV2?(IncludedItem157 @this) => @this.GameCenterLeaderboardSetVersions; + + /// + /// + /// + public IncludedItem157(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) + { + GameCenterLeaderboardSetVersions = value; + } + + /// + /// + /// + public static IncludedItem157 FromGameCenterLeaderboardSetVersions(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? value) => new IncludedItem157(value); + + /// + /// + /// + public static implicit operator IncludedItem157(global::AppStoreConnect.GameCenterLeaderboardVersionV2 value) => new IncludedItem157((global::AppStoreConnect.GameCenterLeaderboardVersionV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboardVersionV2?(IncludedItem157 @this) => @this.GameCenterLeaderboardVersions; + + /// + /// + /// + public IncludedItem157(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) + { + GameCenterLeaderboardVersions = value; + } + + /// + /// + /// + public static IncludedItem157 FromGameCenterLeaderboardVersions(global::AppStoreConnect.GameCenterLeaderboardVersionV2? value) => new IncludedItem157(value); + + /// + /// + /// + public static implicit operator IncludedItem157(global::AppStoreConnect.InAppPurchaseVersion value) => new IncludedItem157((global::AppStoreConnect.InAppPurchaseVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchaseVersion?(IncludedItem157 @this) => @this.InAppPurchaseVersions; + + /// + /// + /// + public IncludedItem157(global::AppStoreConnect.InAppPurchaseVersion? value) + { + InAppPurchaseVersions = value; } /// /// /// - public static IncludedItem157 FromAppStoreVersions1(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem157(value); + public static IncludedItem157 FromInAppPurchaseVersions(global::AppStoreConnect.InAppPurchaseVersion? value) => new IncludedItem157(value); /// /// /// - public static implicit operator IncludedItem157(global::AppStoreConnect.App value) => new IncludedItem157((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem157(global::AppStoreConnect.SubscriptionGroupVersion value) => new IncludedItem157((global::AppStoreConnect.SubscriptionGroupVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem157 @this) => @this.AppStoreVersions2; + public static implicit operator global::AppStoreConnect.SubscriptionGroupVersion?(IncludedItem157 @this) => @this.SubscriptionGroupVersions; /// /// /// - public IncludedItem157(global::AppStoreConnect.App? value) + public IncludedItem157(global::AppStoreConnect.SubscriptionGroupVersion? value) { - AppStoreVersions2 = value; + SubscriptionGroupVersions = value; } /// /// /// - public static IncludedItem157 FromAppStoreVersions2(global::AppStoreConnect.App? value) => new IncludedItem157(value); + public static IncludedItem157 FromSubscriptionGroupVersions(global::AppStoreConnect.SubscriptionGroupVersion? value) => new IncludedItem157(value); /// /// /// - public static implicit operator IncludedItem157(global::AppStoreConnect.ReviewSubmissionItem value) => new IncludedItem157((global::AppStoreConnect.ReviewSubmissionItem?)value); + public static implicit operator IncludedItem157(global::AppStoreConnect.SubscriptionVersion value) => new IncludedItem157((global::AppStoreConnect.SubscriptionVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ReviewSubmissionItem?(IncludedItem157 @this) => @this.ReviewSubmissionItems; + public static implicit operator global::AppStoreConnect.SubscriptionVersion?(IncludedItem157 @this) => @this.SubscriptionVersions; /// /// /// - public IncludedItem157(global::AppStoreConnect.ReviewSubmissionItem? value) + public IncludedItem157(global::AppStoreConnect.SubscriptionVersion? value) { - ReviewSubmissionItems = value; + SubscriptionVersions = value; } /// /// /// - public static IncludedItem157 FromReviewSubmissionItems(global::AppStoreConnect.ReviewSubmissionItem? value) => new IncludedItem157(value); + public static IncludedItem157 FromSubscriptionVersions(global::AppStoreConnect.SubscriptionVersion? value) => new IncludedItem157(value); /// /// /// public IncludedItem157( - global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.Actor? actors, - global::AppStoreConnect.AppStoreVersion? appStoreVersions1, - global::AppStoreConnect.App? appStoreVersions2, - global::AppStoreConnect.ReviewSubmissionItem? reviewSubmissionItems + global::AppStoreConnect.ReviewSubmissionItemResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryImage? appAssetLibraryImages, + global::AppStoreConnect.AppAssetLibraryVideo? appAssetLibraryVideos, + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, + global::AppStoreConnect.AppEvent? appEvents, + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments1, + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2, + global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions, + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions, + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions, + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions, + global::AppStoreConnect.GameCenterLeaderboardSetVersionV2? gameCenterLeaderboardSetVersions, + global::AppStoreConnect.GameCenterLeaderboardVersionV2? gameCenterLeaderboardVersions, + global::AppStoreConnect.InAppPurchaseVersion? inAppPurchaseVersions, + global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions, + global::AppStoreConnect.SubscriptionVersion? subscriptionVersions ) { Type = type; - Actors = actors; - AppStoreVersions1 = appStoreVersions1; - AppStoreVersions2 = appStoreVersions2; - ReviewSubmissionItems = reviewSubmissionItems; + AppAssetLibraryImages = appAssetLibraryImages; + AppAssetLibraryVideos = appAssetLibraryVideos; + AppCustomProductPageVersions = appCustomProductPageVersions; + AppEvents = appEvents; + AppStoreVersionExperiments1 = appStoreVersionExperiments1; + AppStoreVersionExperiments2 = appStoreVersionExperiments2; + BackgroundAssetVersions = backgroundAssetVersions; + GameCenterAchievementVersions = gameCenterAchievementVersions; + GameCenterActivityVersions = gameCenterActivityVersions; + GameCenterChallengeVersions = gameCenterChallengeVersions; + GameCenterLeaderboardSetVersions = gameCenterLeaderboardSetVersions; + GameCenterLeaderboardVersions = gameCenterLeaderboardVersions; + InAppPurchaseVersions = inAppPurchaseVersions; + SubscriptionGroupVersions = subscriptionGroupVersions; + SubscriptionVersions = subscriptionVersions; } /// /// /// public object? Object => - ReviewSubmissionItems as object ?? - AppStoreVersions2 as object ?? - AppStoreVersions1 as object ?? - Actors as object + SubscriptionVersions as object ?? + SubscriptionGroupVersions as object ?? + InAppPurchaseVersions as object ?? + GameCenterLeaderboardVersions as object ?? + GameCenterLeaderboardSetVersions as object ?? + GameCenterChallengeVersions as object ?? + GameCenterActivityVersions as object ?? + GameCenterAchievementVersions as object ?? + BackgroundAssetVersions as object ?? + AppStoreVersionExperiments2 as object ?? + AppStoreVersionExperiments1 as object ?? + AppEvents as object ?? + AppCustomProductPageVersions as object ?? + AppAssetLibraryVideos as object ?? + AppAssetLibraryImages as object ; /// /// /// public override string? ToString() => - Actors?.ToString() ?? - AppStoreVersions1?.ToString() ?? - AppStoreVersions2?.ToString() ?? - ReviewSubmissionItems?.ToString() + AppAssetLibraryImages?.ToString() ?? + AppAssetLibraryVideos?.ToString() ?? + AppCustomProductPageVersions?.ToString() ?? + AppEvents?.ToString() ?? + AppStoreVersionExperiments1?.ToString() ?? + AppStoreVersionExperiments2?.ToString() ?? + BackgroundAssetVersions?.ToString() ?? + GameCenterAchievementVersions?.ToString() ?? + GameCenterActivityVersions?.ToString() ?? + GameCenterChallengeVersions?.ToString() ?? + GameCenterLeaderboardSetVersions?.ToString() ?? + GameCenterLeaderboardVersions?.ToString() ?? + InAppPurchaseVersions?.ToString() ?? + SubscriptionGroupVersions?.ToString() ?? + SubscriptionVersions?.ToString() ; /// @@ -297,17 +1001,28 @@ Actors as object /// public bool Validate() { - return IsActors && !IsAppStoreVersions1 && !IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && IsAppStoreVersions1 && !IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && !IsAppStoreVersions1 && IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && !IsAppStoreVersions1 && !IsAppStoreVersions2 && IsReviewSubmissionItems; + return IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && IsSubscriptionGroupVersions && !IsSubscriptionVersions || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageVersions && !IsAppEvents && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBackgroundAssetVersions && !IsGameCenterAchievementVersions && !IsGameCenterActivityVersions && !IsGameCenterChallengeVersions && !IsGameCenterLeaderboardSetVersions && !IsGameCenterLeaderboardVersions && !IsInAppPurchaseVersions && !IsSubscriptionGroupVersions && IsSubscriptionVersions; } /// /// /// public TResult? Match( - global::System.Func? actors = null, - global::System.Func? appStoreVersions1 = null, - global::System.Func? appStoreVersions2 = null, - global::System.Func? reviewSubmissionItems = null, + global::System.Func? appAssetLibraryImages = null, + global::System.Func? appAssetLibraryVideos = null, + global::System.Func? appCustomProductPageVersions = null, + global::System.Func? appEvents = null, + global::System.Func? appStoreVersionExperiments1 = null, + global::System.Func? appStoreVersionExperiments2 = null, + global::System.Func? backgroundAssetVersions = null, + global::System.Func? gameCenterAchievementVersions = null, + global::System.Func? gameCenterActivityVersions = null, + global::System.Func? gameCenterChallengeVersions = null, + global::System.Func? gameCenterLeaderboardSetVersions = null, + global::System.Func? gameCenterLeaderboardVersions = null, + global::System.Func? inAppPurchaseVersions = null, + global::System.Func? subscriptionGroupVersions = null, + global::System.Func? subscriptionVersions = null, bool validate = true) { if (validate) @@ -315,21 +1030,65 @@ public bool Validate() Validate(); } - if (Actors is { } __value0 && actors != null) + if (AppAssetLibraryImages is { } __value0 && appAssetLibraryImages != null) + { + return appAssetLibraryImages(__value0); + } + else if (AppAssetLibraryVideos is { } __value1 && appAssetLibraryVideos != null) + { + return appAssetLibraryVideos(__value1); + } + else if (AppCustomProductPageVersions is { } __value2 && appCustomProductPageVersions != null) + { + return appCustomProductPageVersions(__value2); + } + else if (AppEvents is { } __value3 && appEvents != null) + { + return appEvents(__value3); + } + else if (AppStoreVersionExperiments1 is { } __value4 && appStoreVersionExperiments1 != null) + { + return appStoreVersionExperiments1(__value4); + } + else if (AppStoreVersionExperiments2 is { } __value5 && appStoreVersionExperiments2 != null) + { + return appStoreVersionExperiments2(__value5); + } + else if (BackgroundAssetVersions is { } __value6 && backgroundAssetVersions != null) + { + return backgroundAssetVersions(__value6); + } + else if (GameCenterAchievementVersions is { } __value7 && gameCenterAchievementVersions != null) + { + return gameCenterAchievementVersions(__value7); + } + else if (GameCenterActivityVersions is { } __value8 && gameCenterActivityVersions != null) + { + return gameCenterActivityVersions(__value8); + } + else if (GameCenterChallengeVersions is { } __value9 && gameCenterChallengeVersions != null) + { + return gameCenterChallengeVersions(__value9); + } + else if (GameCenterLeaderboardSetVersions is { } __value10 && gameCenterLeaderboardSetVersions != null) + { + return gameCenterLeaderboardSetVersions(__value10); + } + else if (GameCenterLeaderboardVersions is { } __value11 && gameCenterLeaderboardVersions != null) { - return actors(__value0); + return gameCenterLeaderboardVersions(__value11); } - else if (AppStoreVersions1 is { } __value1 && appStoreVersions1 != null) + else if (InAppPurchaseVersions is { } __value12 && inAppPurchaseVersions != null) { - return appStoreVersions1(__value1); + return inAppPurchaseVersions(__value12); } - else if (AppStoreVersions2 is { } __value2 && appStoreVersions2 != null) + else if (SubscriptionGroupVersions is { } __value13 && subscriptionGroupVersions != null) { - return appStoreVersions2(__value2); + return subscriptionGroupVersions(__value13); } - else if (ReviewSubmissionItems is { } __value3 && reviewSubmissionItems != null) + else if (SubscriptionVersions is { } __value14 && subscriptionVersions != null) { - return reviewSubmissionItems(__value3); + return subscriptionVersions(__value14); } return default(TResult); @@ -339,13 +1098,35 @@ public bool Validate() /// /// public void Match( - global::System.Action? actors = null, + global::System.Action? appAssetLibraryImages = null, + + global::System.Action? appAssetLibraryVideos = null, + + global::System.Action? appCustomProductPageVersions = null, + + global::System.Action? appEvents = null, + + global::System.Action? appStoreVersionExperiments1 = null, + + global::System.Action? appStoreVersionExperiments2 = null, + + global::System.Action? backgroundAssetVersions = null, + + global::System.Action? gameCenterAchievementVersions = null, - global::System.Action? appStoreVersions1 = null, + global::System.Action? gameCenterActivityVersions = null, - global::System.Action? appStoreVersions2 = null, + global::System.Action? gameCenterChallengeVersions = null, - global::System.Action? reviewSubmissionItems = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, + + global::System.Action? gameCenterLeaderboardVersions = null, + + global::System.Action? inAppPurchaseVersions = null, + + global::System.Action? subscriptionGroupVersions = null, + + global::System.Action? subscriptionVersions = null, bool validate = true) { if (validate) @@ -353,21 +1134,65 @@ public void Match( Validate(); } - if (Actors is { } __value0) + if (AppAssetLibraryImages is { } __value0) + { + appAssetLibraryImages?.Invoke(__value0); + } + else if (AppAssetLibraryVideos is { } __value1) + { + appAssetLibraryVideos?.Invoke(__value1); + } + else if (AppCustomProductPageVersions is { } __value2) + { + appCustomProductPageVersions?.Invoke(__value2); + } + else if (AppEvents is { } __value3) + { + appEvents?.Invoke(__value3); + } + else if (AppStoreVersionExperiments1 is { } __value4) + { + appStoreVersionExperiments1?.Invoke(__value4); + } + else if (AppStoreVersionExperiments2 is { } __value5) + { + appStoreVersionExperiments2?.Invoke(__value5); + } + else if (BackgroundAssetVersions is { } __value6) { - actors?.Invoke(__value0); + backgroundAssetVersions?.Invoke(__value6); } - else if (AppStoreVersions1 is { } __value1) + else if (GameCenterAchievementVersions is { } __value7) { - appStoreVersions1?.Invoke(__value1); + gameCenterAchievementVersions?.Invoke(__value7); } - else if (AppStoreVersions2 is { } __value2) + else if (GameCenterActivityVersions is { } __value8) { - appStoreVersions2?.Invoke(__value2); + gameCenterActivityVersions?.Invoke(__value8); } - else if (ReviewSubmissionItems is { } __value3) + else if (GameCenterChallengeVersions is { } __value9) { - reviewSubmissionItems?.Invoke(__value3); + gameCenterChallengeVersions?.Invoke(__value9); + } + else if (GameCenterLeaderboardSetVersions is { } __value10) + { + gameCenterLeaderboardSetVersions?.Invoke(__value10); + } + else if (GameCenterLeaderboardVersions is { } __value11) + { + gameCenterLeaderboardVersions?.Invoke(__value11); + } + else if (InAppPurchaseVersions is { } __value12) + { + inAppPurchaseVersions?.Invoke(__value12); + } + else if (SubscriptionGroupVersions is { } __value13) + { + subscriptionGroupVersions?.Invoke(__value13); + } + else if (SubscriptionVersions is { } __value14) + { + subscriptionVersions?.Invoke(__value14); } } @@ -375,10 +1200,21 @@ public void Match( /// /// public void Switch( - global::System.Action? actors = null, - global::System.Action? appStoreVersions1 = null, - global::System.Action? appStoreVersions2 = null, - global::System.Action? reviewSubmissionItems = null, + global::System.Action? appAssetLibraryImages = null, + global::System.Action? appAssetLibraryVideos = null, + global::System.Action? appCustomProductPageVersions = null, + global::System.Action? appEvents = null, + global::System.Action? appStoreVersionExperiments1 = null, + global::System.Action? appStoreVersionExperiments2 = null, + global::System.Action? backgroundAssetVersions = null, + global::System.Action? gameCenterAchievementVersions = null, + global::System.Action? gameCenterActivityVersions = null, + global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? gameCenterLeaderboardSetVersions = null, + global::System.Action? gameCenterLeaderboardVersions = null, + global::System.Action? inAppPurchaseVersions = null, + global::System.Action? subscriptionGroupVersions = null, + global::System.Action? subscriptionVersions = null, bool validate = true) { if (validate) @@ -386,21 +1222,65 @@ public void Switch( Validate(); } - if (Actors is { } __value0) + if (AppAssetLibraryImages is { } __value0) + { + appAssetLibraryImages?.Invoke(__value0); + } + else if (AppAssetLibraryVideos is { } __value1) + { + appAssetLibraryVideos?.Invoke(__value1); + } + else if (AppCustomProductPageVersions is { } __value2) + { + appCustomProductPageVersions?.Invoke(__value2); + } + else if (AppEvents is { } __value3) + { + appEvents?.Invoke(__value3); + } + else if (AppStoreVersionExperiments1 is { } __value4) + { + appStoreVersionExperiments1?.Invoke(__value4); + } + else if (AppStoreVersionExperiments2 is { } __value5) + { + appStoreVersionExperiments2?.Invoke(__value5); + } + else if (BackgroundAssetVersions is { } __value6) + { + backgroundAssetVersions?.Invoke(__value6); + } + else if (GameCenterAchievementVersions is { } __value7) + { + gameCenterAchievementVersions?.Invoke(__value7); + } + else if (GameCenterActivityVersions is { } __value8) + { + gameCenterActivityVersions?.Invoke(__value8); + } + else if (GameCenterChallengeVersions is { } __value9) + { + gameCenterChallengeVersions?.Invoke(__value9); + } + else if (GameCenterLeaderboardSetVersions is { } __value10) + { + gameCenterLeaderboardSetVersions?.Invoke(__value10); + } + else if (GameCenterLeaderboardVersions is { } __value11) { - actors?.Invoke(__value0); + gameCenterLeaderboardVersions?.Invoke(__value11); } - else if (AppStoreVersions1 is { } __value1) + else if (InAppPurchaseVersions is { } __value12) { - appStoreVersions1?.Invoke(__value1); + inAppPurchaseVersions?.Invoke(__value12); } - else if (AppStoreVersions2 is { } __value2) + else if (SubscriptionGroupVersions is { } __value13) { - appStoreVersions2?.Invoke(__value2); + subscriptionGroupVersions?.Invoke(__value13); } - else if (ReviewSubmissionItems is { } __value3) + else if (SubscriptionVersions is { } __value14) { - reviewSubmissionItems?.Invoke(__value3); + subscriptionVersions?.Invoke(__value14); } } @@ -411,14 +1291,36 @@ public override int GetHashCode() { var fields = new object?[] { - Actors, - typeof(global::AppStoreConnect.Actor), - AppStoreVersions1, + AppAssetLibraryImages, + typeof(global::AppStoreConnect.AppAssetLibraryImage), + AppAssetLibraryVideos, + typeof(global::AppStoreConnect.AppAssetLibraryVideo), + AppCustomProductPageVersions, + typeof(global::AppStoreConnect.AppCustomProductPageVersion), + AppEvents, + typeof(global::AppStoreConnect.AppEvent), + AppStoreVersionExperiments1, + typeof(global::AppStoreConnect.AppStoreVersionExperiment), + AppStoreVersionExperiments2, typeof(global::AppStoreConnect.AppStoreVersion), - AppStoreVersions2, - typeof(global::AppStoreConnect.App), - ReviewSubmissionItems, - typeof(global::AppStoreConnect.ReviewSubmissionItem), + BackgroundAssetVersions, + typeof(global::AppStoreConnect.BackgroundAssetVersion), + GameCenterAchievementVersions, + typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), + GameCenterActivityVersions, + typeof(global::AppStoreConnect.GameCenterActivityVersion), + GameCenterChallengeVersions, + typeof(global::AppStoreConnect.GameCenterChallengeVersion), + GameCenterLeaderboardSetVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2), + GameCenterLeaderboardVersions, + typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2), + InAppPurchaseVersions, + typeof(global::AppStoreConnect.InAppPurchaseVersion), + SubscriptionGroupVersions, + typeof(global::AppStoreConnect.SubscriptionGroupVersion), + SubscriptionVersions, + typeof(global::AppStoreConnect.SubscriptionVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +1337,21 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem157 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Actors, other.Actors) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions1, other.AppStoreVersions1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions2, other.AppStoreVersions2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ReviewSubmissionItems, other.ReviewSubmissionItems) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImages, other.AppAssetLibraryImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideos, other.AppAssetLibraryVideos) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments1, other.AppStoreVersionExperiments1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments2, other.AppStoreVersionExperiments2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersions, other.BackgroundAssetVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardSetVersions, other.GameCenterLeaderboardSetVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboardVersions, other.GameCenterLeaderboardVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchaseVersions, other.InAppPurchaseVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupVersions, other.SubscriptionGroupVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionVersions, other.SubscriptionVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem158.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem158.g.cs index f0afed9fd..3db975386 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem158.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem158.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; init; } + public global::AppStoreConnect.Actor? Actors { get; init; } #else - public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; } + public global::AppStoreConnect.Actor? Actors { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmGitReferences))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Actors))] #endif - public bool IsScmGitReferences => ScmGitReferences != null; + public bool IsActors => Actors != null; /// /// /// - public bool TryPickScmGitReferences( + public bool TryPickActors( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.ScmGitReference? value) + out global::AppStoreConnect.Actor? value) { - value = ScmGitReferences; - return IsScmGitReferences; + value = Actors; + return IsActors; } /// /// /// - public global::AppStoreConnect.ScmGitReference PickScmGitReferences() => ScmGitReferences is { } value + public global::AppStoreConnect.Actor PickActors() => Actors is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmGitReferences' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Actors' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmProvider? ScmProviders { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions1 { get; init; } #else - public global::AppStoreConnect.ScmProvider? ScmProviders { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmProviders))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions1))] #endif - public bool IsScmProviders => ScmProviders != null; + public bool IsAppStoreVersions1 => AppStoreVersions1 != null; /// /// /// - public bool TryPickScmProviders( + public bool TryPickAppStoreVersions1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.ScmProvider? value) + out global::AppStoreConnect.AppStoreVersion? value) { - value = ScmProviders; - return IsScmProviders; + value = AppStoreVersions1; + return IsAppStoreVersions1; } /// /// /// - public global::AppStoreConnect.ScmProvider PickScmProviders() => ScmProviders is { } value + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions1() => AppStoreVersions1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmProviders' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppStoreVersions2 { get; init; } +#else + public global::AppStoreConnect.App? AppStoreVersions2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions2))] +#endif + public bool IsAppStoreVersions2 => AppStoreVersions2 != null; + + /// + /// + /// + public bool TryPickAppStoreVersions2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.App? value) + { + value = AppStoreVersions2; + return IsAppStoreVersions2; + } + + /// + /// + /// + public global::AppStoreConnect.App PickAppStoreVersions2() => AppStoreVersions2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ReviewSubmissionItem? ReviewSubmissionItems { get; init; } +#else + public global::AppStoreConnect.ReviewSubmissionItem? ReviewSubmissionItems { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReviewSubmissionItems))] +#endif + public bool IsReviewSubmissionItems => ReviewSubmissionItems != null; + + /// + /// + /// + public bool TryPickReviewSubmissionItems( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ReviewSubmissionItem? value) + { + value = ReviewSubmissionItems; + return IsReviewSubmissionItems; + } + + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionItem PickReviewSubmissionItems() => ReviewSubmissionItems is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ReviewSubmissionItems' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem158(global::AppStoreConnect.Actor value) => new IncludedItem158((global::AppStoreConnect.Actor?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Actor?(IncludedItem158 @this) => @this.Actors; + + /// + /// + /// + public IncludedItem158(global::AppStoreConnect.Actor? value) + { + Actors = value; + } + + /// + /// + /// + public static IncludedItem158 FromActors(global::AppStoreConnect.Actor? value) => new IncludedItem158(value); + + /// + /// + /// + public static implicit operator IncludedItem158(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem158((global::AppStoreConnect.AppStoreVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem158 @this) => @this.AppStoreVersions1; + /// /// /// - public static implicit operator IncludedItem158(global::AppStoreConnect.ScmGitReference value) => new IncludedItem158((global::AppStoreConnect.ScmGitReference?)value); + public IncludedItem158(global::AppStoreConnect.AppStoreVersion? value) + { + AppStoreVersions1 = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.ScmGitReference?(IncludedItem158 @this) => @this.ScmGitReferences; + public static IncludedItem158 FromAppStoreVersions1(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem158(value); /// /// /// - public IncludedItem158(global::AppStoreConnect.ScmGitReference? value) + public static implicit operator IncludedItem158(global::AppStoreConnect.App value) => new IncludedItem158((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem158 @this) => @this.AppStoreVersions2; + + /// + /// + /// + public IncludedItem158(global::AppStoreConnect.App? value) { - ScmGitReferences = value; + AppStoreVersions2 = value; } /// /// /// - public static IncludedItem158 FromScmGitReferences(global::AppStoreConnect.ScmGitReference? value) => new IncludedItem158(value); + public static IncludedItem158 FromAppStoreVersions2(global::AppStoreConnect.App? value) => new IncludedItem158(value); /// /// /// - public static implicit operator IncludedItem158(global::AppStoreConnect.ScmProvider value) => new IncludedItem158((global::AppStoreConnect.ScmProvider?)value); + public static implicit operator IncludedItem158(global::AppStoreConnect.ReviewSubmissionItem value) => new IncludedItem158((global::AppStoreConnect.ReviewSubmissionItem?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ScmProvider?(IncludedItem158 @this) => @this.ScmProviders; + public static implicit operator global::AppStoreConnect.ReviewSubmissionItem?(IncludedItem158 @this) => @this.ReviewSubmissionItems; /// /// /// - public IncludedItem158(global::AppStoreConnect.ScmProvider? value) + public IncludedItem158(global::AppStoreConnect.ReviewSubmissionItem? value) { - ScmProviders = value; + ReviewSubmissionItems = value; } /// /// /// - public static IncludedItem158 FromScmProviders(global::AppStoreConnect.ScmProvider? value) => new IncludedItem158(value); + public static IncludedItem158 FromReviewSubmissionItems(global::AppStoreConnect.ReviewSubmissionItem? value) => new IncludedItem158(value); /// /// /// public IncludedItem158( - global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.ScmGitReference? scmGitReferences, - global::AppStoreConnect.ScmProvider? scmProviders + global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.Actor? actors, + global::AppStoreConnect.AppStoreVersion? appStoreVersions1, + global::AppStoreConnect.App? appStoreVersions2, + global::AppStoreConnect.ReviewSubmissionItem? reviewSubmissionItems ) { Type = type; - ScmGitReferences = scmGitReferences; - ScmProviders = scmProviders; + Actors = actors; + AppStoreVersions1 = appStoreVersions1; + AppStoreVersions2 = appStoreVersions2; + ReviewSubmissionItems = reviewSubmissionItems; } /// /// /// public object? Object => - ScmProviders as object ?? - ScmGitReferences as object + ReviewSubmissionItems as object ?? + AppStoreVersions2 as object ?? + AppStoreVersions1 as object ?? + Actors as object ; /// /// /// public override string? ToString() => - ScmGitReferences?.ToString() ?? - ScmProviders?.ToString() + Actors?.ToString() ?? + AppStoreVersions1?.ToString() ?? + AppStoreVersions2?.ToString() ?? + ReviewSubmissionItems?.ToString() ; /// @@ -169,15 +297,17 @@ ScmGitReferences as object /// public bool Validate() { - return IsScmGitReferences && !IsScmProviders || !IsScmGitReferences && IsScmProviders; + return IsActors && !IsAppStoreVersions1 && !IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && IsAppStoreVersions1 && !IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && !IsAppStoreVersions1 && IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && !IsAppStoreVersions1 && !IsAppStoreVersions2 && IsReviewSubmissionItems; } /// /// /// public TResult? Match( - global::System.Func? scmGitReferences = null, - global::System.Func? scmProviders = null, + global::System.Func? actors = null, + global::System.Func? appStoreVersions1 = null, + global::System.Func? appStoreVersions2 = null, + global::System.Func? reviewSubmissionItems = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (ScmGitReferences is { } __value0 && scmGitReferences != null) + if (Actors is { } __value0 && actors != null) + { + return actors(__value0); + } + else if (AppStoreVersions1 is { } __value1 && appStoreVersions1 != null) + { + return appStoreVersions1(__value1); + } + else if (AppStoreVersions2 is { } __value2 && appStoreVersions2 != null) { - return scmGitReferences(__value0); + return appStoreVersions2(__value2); } - else if (ScmProviders is { } __value1 && scmProviders != null) + else if (ReviewSubmissionItems is { } __value3 && reviewSubmissionItems != null) { - return scmProviders(__value1); + return reviewSubmissionItems(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? scmGitReferences = null, + global::System.Action? actors = null, + + global::System.Action? appStoreVersions1 = null, - global::System.Action? scmProviders = null, + global::System.Action? appStoreVersions2 = null, + + global::System.Action? reviewSubmissionItems = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (ScmGitReferences is { } __value0) + if (Actors is { } __value0) + { + actors?.Invoke(__value0); + } + else if (AppStoreVersions1 is { } __value1) { - scmGitReferences?.Invoke(__value0); + appStoreVersions1?.Invoke(__value1); } - else if (ScmProviders is { } __value1) + else if (AppStoreVersions2 is { } __value2) { - scmProviders?.Invoke(__value1); + appStoreVersions2?.Invoke(__value2); + } + else if (ReviewSubmissionItems is { } __value3) + { + reviewSubmissionItems?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? scmGitReferences = null, - global::System.Action? scmProviders = null, + global::System.Action? actors = null, + global::System.Action? appStoreVersions1 = null, + global::System.Action? appStoreVersions2 = null, + global::System.Action? reviewSubmissionItems = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (ScmGitReferences is { } __value0) + if (Actors is { } __value0) + { + actors?.Invoke(__value0); + } + else if (AppStoreVersions1 is { } __value1) + { + appStoreVersions1?.Invoke(__value1); + } + else if (AppStoreVersions2 is { } __value2) { - scmGitReferences?.Invoke(__value0); + appStoreVersions2?.Invoke(__value2); } - else if (ScmProviders is { } __value1) + else if (ReviewSubmissionItems is { } __value3) { - scmProviders?.Invoke(__value1); + reviewSubmissionItems?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - ScmGitReferences, - typeof(global::AppStoreConnect.ScmGitReference), - ScmProviders, - typeof(global::AppStoreConnect.ScmProvider), + Actors, + typeof(global::AppStoreConnect.Actor), + AppStoreVersions1, + typeof(global::AppStoreConnect.AppStoreVersion), + AppStoreVersions2, + typeof(global::AppStoreConnect.App), + ReviewSubmissionItems, + typeof(global::AppStoreConnect.ReviewSubmissionItem), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem158 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmGitReferences, other.ScmGitReferences) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmProviders, other.ScmProviders) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Actors, other.Actors) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions1, other.AppStoreVersions1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions2, other.AppStoreVersions2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ReviewSubmissionItems, other.ReviewSubmissionItems) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem159.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem159.g.cs index 39f3aa5a1..dcec8bd17 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem159.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem159.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; init; } + public global::AppStoreConnect.Actor? Actors { get; init; } #else - public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; } + public global::AppStoreConnect.Actor? Actors { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmGitReferences))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Actors))] #endif - public bool IsScmGitReferences => ScmGitReferences != null; + public bool IsActors => Actors != null; /// /// /// - public bool TryPickScmGitReferences( + public bool TryPickActors( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.ScmGitReference? value) + out global::AppStoreConnect.Actor? value) { - value = ScmGitReferences; - return IsScmGitReferences; + value = Actors; + return IsActors; } /// /// /// - public global::AppStoreConnect.ScmGitReference PickScmGitReferences() => ScmGitReferences is { } value + public global::AppStoreConnect.Actor PickActors() => Actors is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmGitReferences' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Actors' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmProvider? ScmProviders { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions1 { get; init; } #else - public global::AppStoreConnect.ScmProvider? ScmProviders { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmProviders))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions1))] #endif - public bool IsScmProviders => ScmProviders != null; + public bool IsAppStoreVersions1 => AppStoreVersions1 != null; /// /// /// - public bool TryPickScmProviders( + public bool TryPickAppStoreVersions1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.ScmProvider? value) + out global::AppStoreConnect.AppStoreVersion? value) { - value = ScmProviders; - return IsScmProviders; + value = AppStoreVersions1; + return IsAppStoreVersions1; } /// /// /// - public global::AppStoreConnect.ScmProvider PickScmProviders() => ScmProviders is { } value + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions1() => AppStoreVersions1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmProviders' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppStoreVersions2 { get; init; } +#else + public global::AppStoreConnect.App? AppStoreVersions2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions2))] +#endif + public bool IsAppStoreVersions2 => AppStoreVersions2 != null; + + /// + /// + /// + public bool TryPickAppStoreVersions2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.App? value) + { + value = AppStoreVersions2; + return IsAppStoreVersions2; + } + + /// + /// + /// + public global::AppStoreConnect.App PickAppStoreVersions2() => AppStoreVersions2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ReviewSubmissionItem? ReviewSubmissionItems { get; init; } +#else + public global::AppStoreConnect.ReviewSubmissionItem? ReviewSubmissionItems { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReviewSubmissionItems))] +#endif + public bool IsReviewSubmissionItems => ReviewSubmissionItems != null; + + /// + /// + /// + public bool TryPickReviewSubmissionItems( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ReviewSubmissionItem? value) + { + value = ReviewSubmissionItems; + return IsReviewSubmissionItems; + } + + /// + /// + /// + public global::AppStoreConnect.ReviewSubmissionItem PickReviewSubmissionItems() => ReviewSubmissionItems is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ReviewSubmissionItems' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem159(global::AppStoreConnect.Actor value) => new IncludedItem159((global::AppStoreConnect.Actor?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Actor?(IncludedItem159 @this) => @this.Actors; + + /// + /// + /// + public IncludedItem159(global::AppStoreConnect.Actor? value) + { + Actors = value; + } + + /// + /// + /// + public static IncludedItem159 FromActors(global::AppStoreConnect.Actor? value) => new IncludedItem159(value); + + /// + /// + /// + public static implicit operator IncludedItem159(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem159((global::AppStoreConnect.AppStoreVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem159 @this) => @this.AppStoreVersions1; + /// /// /// - public static implicit operator IncludedItem159(global::AppStoreConnect.ScmGitReference value) => new IncludedItem159((global::AppStoreConnect.ScmGitReference?)value); + public IncludedItem159(global::AppStoreConnect.AppStoreVersion? value) + { + AppStoreVersions1 = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.ScmGitReference?(IncludedItem159 @this) => @this.ScmGitReferences; + public static IncludedItem159 FromAppStoreVersions1(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem159(value); /// /// /// - public IncludedItem159(global::AppStoreConnect.ScmGitReference? value) + public static implicit operator IncludedItem159(global::AppStoreConnect.App value) => new IncludedItem159((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem159 @this) => @this.AppStoreVersions2; + + /// + /// + /// + public IncludedItem159(global::AppStoreConnect.App? value) { - ScmGitReferences = value; + AppStoreVersions2 = value; } /// /// /// - public static IncludedItem159 FromScmGitReferences(global::AppStoreConnect.ScmGitReference? value) => new IncludedItem159(value); + public static IncludedItem159 FromAppStoreVersions2(global::AppStoreConnect.App? value) => new IncludedItem159(value); /// /// /// - public static implicit operator IncludedItem159(global::AppStoreConnect.ScmProvider value) => new IncludedItem159((global::AppStoreConnect.ScmProvider?)value); + public static implicit operator IncludedItem159(global::AppStoreConnect.ReviewSubmissionItem value) => new IncludedItem159((global::AppStoreConnect.ReviewSubmissionItem?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ScmProvider?(IncludedItem159 @this) => @this.ScmProviders; + public static implicit operator global::AppStoreConnect.ReviewSubmissionItem?(IncludedItem159 @this) => @this.ReviewSubmissionItems; /// /// /// - public IncludedItem159(global::AppStoreConnect.ScmProvider? value) + public IncludedItem159(global::AppStoreConnect.ReviewSubmissionItem? value) { - ScmProviders = value; + ReviewSubmissionItems = value; } /// /// /// - public static IncludedItem159 FromScmProviders(global::AppStoreConnect.ScmProvider? value) => new IncludedItem159(value); + public static IncludedItem159 FromReviewSubmissionItems(global::AppStoreConnect.ReviewSubmissionItem? value) => new IncludedItem159(value); /// /// /// public IncludedItem159( - global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.ScmGitReference? scmGitReferences, - global::AppStoreConnect.ScmProvider? scmProviders + global::AppStoreConnect.ReviewSubmissionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.Actor? actors, + global::AppStoreConnect.AppStoreVersion? appStoreVersions1, + global::AppStoreConnect.App? appStoreVersions2, + global::AppStoreConnect.ReviewSubmissionItem? reviewSubmissionItems ) { Type = type; - ScmGitReferences = scmGitReferences; - ScmProviders = scmProviders; + Actors = actors; + AppStoreVersions1 = appStoreVersions1; + AppStoreVersions2 = appStoreVersions2; + ReviewSubmissionItems = reviewSubmissionItems; } /// /// /// public object? Object => - ScmProviders as object ?? - ScmGitReferences as object + ReviewSubmissionItems as object ?? + AppStoreVersions2 as object ?? + AppStoreVersions1 as object ?? + Actors as object ; /// /// /// public override string? ToString() => - ScmGitReferences?.ToString() ?? - ScmProviders?.ToString() + Actors?.ToString() ?? + AppStoreVersions1?.ToString() ?? + AppStoreVersions2?.ToString() ?? + ReviewSubmissionItems?.ToString() ; /// @@ -169,15 +297,17 @@ ScmGitReferences as object /// public bool Validate() { - return IsScmGitReferences && !IsScmProviders || !IsScmGitReferences && IsScmProviders; + return IsActors && !IsAppStoreVersions1 && !IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && IsAppStoreVersions1 && !IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && !IsAppStoreVersions1 && IsAppStoreVersions2 && !IsReviewSubmissionItems || !IsActors && !IsAppStoreVersions1 && !IsAppStoreVersions2 && IsReviewSubmissionItems; } /// /// /// public TResult? Match( - global::System.Func? scmGitReferences = null, - global::System.Func? scmProviders = null, + global::System.Func? actors = null, + global::System.Func? appStoreVersions1 = null, + global::System.Func? appStoreVersions2 = null, + global::System.Func? reviewSubmissionItems = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (ScmGitReferences is { } __value0 && scmGitReferences != null) + if (Actors is { } __value0 && actors != null) + { + return actors(__value0); + } + else if (AppStoreVersions1 is { } __value1 && appStoreVersions1 != null) + { + return appStoreVersions1(__value1); + } + else if (AppStoreVersions2 is { } __value2 && appStoreVersions2 != null) { - return scmGitReferences(__value0); + return appStoreVersions2(__value2); } - else if (ScmProviders is { } __value1 && scmProviders != null) + else if (ReviewSubmissionItems is { } __value3 && reviewSubmissionItems != null) { - return scmProviders(__value1); + return reviewSubmissionItems(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? scmGitReferences = null, + global::System.Action? actors = null, + + global::System.Action? appStoreVersions1 = null, - global::System.Action? scmProviders = null, + global::System.Action? appStoreVersions2 = null, + + global::System.Action? reviewSubmissionItems = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (ScmGitReferences is { } __value0) + if (Actors is { } __value0) + { + actors?.Invoke(__value0); + } + else if (AppStoreVersions1 is { } __value1) { - scmGitReferences?.Invoke(__value0); + appStoreVersions1?.Invoke(__value1); } - else if (ScmProviders is { } __value1) + else if (AppStoreVersions2 is { } __value2) { - scmProviders?.Invoke(__value1); + appStoreVersions2?.Invoke(__value2); + } + else if (ReviewSubmissionItems is { } __value3) + { + reviewSubmissionItems?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? scmGitReferences = null, - global::System.Action? scmProviders = null, + global::System.Action? actors = null, + global::System.Action? appStoreVersions1 = null, + global::System.Action? appStoreVersions2 = null, + global::System.Action? reviewSubmissionItems = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (ScmGitReferences is { } __value0) + if (Actors is { } __value0) + { + actors?.Invoke(__value0); + } + else if (AppStoreVersions1 is { } __value1) + { + appStoreVersions1?.Invoke(__value1); + } + else if (AppStoreVersions2 is { } __value2) { - scmGitReferences?.Invoke(__value0); + appStoreVersions2?.Invoke(__value2); } - else if (ScmProviders is { } __value1) + else if (ReviewSubmissionItems is { } __value3) { - scmProviders?.Invoke(__value1); + reviewSubmissionItems?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - ScmGitReferences, - typeof(global::AppStoreConnect.ScmGitReference), - ScmProviders, - typeof(global::AppStoreConnect.ScmProvider), + Actors, + typeof(global::AppStoreConnect.Actor), + AppStoreVersions1, + typeof(global::AppStoreConnect.AppStoreVersion), + AppStoreVersions2, + typeof(global::AppStoreConnect.App), + ReviewSubmissionItems, + typeof(global::AppStoreConnect.ReviewSubmissionItem), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem159 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmGitReferences, other.ScmGitReferences) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmProviders, other.ScmProviders) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Actors, other.Actors) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions1, other.AppStoreVersions1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions2, other.AppStoreVersions2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ReviewSubmissionItems, other.ReviewSubmissionItems) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem16.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem16.g.cs index ef12308ae..25bf7eff8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem16.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem16.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -55,46 +55,9 @@ public bool TryPickAppCustomProductPageLocalizations1( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } + public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPageLocalizations2 { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] -#endif - public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; - - /// - /// - /// - public bool TryPickAppCustomProductPageVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppCustomProductPageVersion? value) - { - value = AppCustomProductPageVersions; - return IsAppCustomProductPageVersions; - } - - /// - /// - /// - public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppCustomProductPageLocalizations2 { get; init; } -#else - public global::AppStoreConnect.App? AppCustomProductPageLocalizations2 { get; } + public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPageLocalizations2 { get; } #endif /// @@ -112,7 +75,7 @@ public bool TryPickAppCustomProductPageLocalizations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.AppCustomProductPage? value) { value = AppCustomProductPageLocalizations2; return IsAppCustomProductPageLocalizations2; @@ -121,7 +84,7 @@ public bool TryPickAppCustomProductPageLocalizations2( /// /// /// - public global::AppStoreConnect.App PickAppCustomProductPageLocalizations2() => AppCustomProductPageLocalizations2 is { } value + public global::AppStoreConnect.AppCustomProductPage PickAppCustomProductPageLocalizations2() => AppCustomProductPageLocalizations2 is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations2' but the value was {ToString()}."); /// @@ -150,40 +113,17 @@ public IncludedItem16(global::AppStoreConnect.AppCustomProductPageLocalization? /// /// /// - public static implicit operator IncludedItem16(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem16((global::AppStoreConnect.AppCustomProductPageVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem16 @this) => @this.AppCustomProductPageVersions; - - /// - /// - /// - public IncludedItem16(global::AppStoreConnect.AppCustomProductPageVersion? value) - { - AppCustomProductPageVersions = value; - } - - /// - /// - /// - public static IncludedItem16 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem16(value); + public static implicit operator IncludedItem16(global::AppStoreConnect.AppCustomProductPage value) => new IncludedItem16((global::AppStoreConnect.AppCustomProductPage?)value); /// /// /// - public static implicit operator IncludedItem16(global::AppStoreConnect.App value) => new IncludedItem16((global::AppStoreConnect.App?)value); + public static implicit operator global::AppStoreConnect.AppCustomProductPage?(IncludedItem16 @this) => @this.AppCustomProductPageLocalizations2; /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem16 @this) => @this.AppCustomProductPageLocalizations2; - - /// - /// - /// - public IncludedItem16(global::AppStoreConnect.App? value) + public IncludedItem16(global::AppStoreConnect.AppCustomProductPage? value) { AppCustomProductPageLocalizations2 = value; } @@ -191,22 +131,20 @@ public IncludedItem16(global::AppStoreConnect.App? value) /// /// /// - public static IncludedItem16 FromAppCustomProductPageLocalizations2(global::AppStoreConnect.App? value) => new IncludedItem16(value); + public static IncludedItem16 FromAppCustomProductPageLocalizations2(global::AppStoreConnect.AppCustomProductPage? value) => new IncludedItem16(value); /// /// /// public IncludedItem16( - global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppCustomProductPageVersionResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1, - global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, - global::AppStoreConnect.App? appCustomProductPageLocalizations2 + global::AppStoreConnect.AppCustomProductPage? appCustomProductPageLocalizations2 ) { Type = type; AppCustomProductPageLocalizations1 = appCustomProductPageLocalizations1; - AppCustomProductPageVersions = appCustomProductPageVersions; AppCustomProductPageLocalizations2 = appCustomProductPageLocalizations2; } @@ -215,7 +153,6 @@ public IncludedItem16( /// public object? Object => AppCustomProductPageLocalizations2 as object ?? - AppCustomProductPageVersions as object ?? AppCustomProductPageLocalizations1 as object ; @@ -224,7 +161,6 @@ AppCustomProductPageLocalizations1 as object /// public override string? ToString() => AppCustomProductPageLocalizations1?.ToString() ?? - AppCustomProductPageVersions?.ToString() ?? AppCustomProductPageLocalizations2?.ToString() ; @@ -233,7 +169,7 @@ AppCustomProductPageLocalizations1 as object /// public bool Validate() { - return IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageVersions && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && IsAppCustomProductPageVersions && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageVersions && IsAppCustomProductPageLocalizations2; + return IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && IsAppCustomProductPageLocalizations2; } /// @@ -241,8 +177,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? appCustomProductPageLocalizations1 = null, - global::System.Func? appCustomProductPageVersions = null, - global::System.Func? appCustomProductPageLocalizations2 = null, + global::System.Func? appCustomProductPageLocalizations2 = null, bool validate = true) { if (validate) @@ -254,13 +189,9 @@ public bool Validate() { return appCustomProductPageLocalizations1(__value0); } - else if (AppCustomProductPageVersions is { } __value1 && appCustomProductPageVersions != null) + else if (AppCustomProductPageLocalizations2 is { } __value1 && appCustomProductPageLocalizations2 != null) { - return appCustomProductPageVersions(__value1); - } - else if (AppCustomProductPageLocalizations2 is { } __value2 && appCustomProductPageLocalizations2 != null) - { - return appCustomProductPageLocalizations2(__value2); + return appCustomProductPageLocalizations2(__value1); } return default(TResult); @@ -272,9 +203,7 @@ public bool Validate() public void Match( global::System.Action? appCustomProductPageLocalizations1 = null, - global::System.Action? appCustomProductPageVersions = null, - - global::System.Action? appCustomProductPageLocalizations2 = null, + global::System.Action? appCustomProductPageLocalizations2 = null, bool validate = true) { if (validate) @@ -286,13 +215,9 @@ public void Match( { appCustomProductPageLocalizations1?.Invoke(__value0); } - else if (AppCustomProductPageVersions is { } __value1) - { - appCustomProductPageVersions?.Invoke(__value1); - } - else if (AppCustomProductPageLocalizations2 is { } __value2) + else if (AppCustomProductPageLocalizations2 is { } __value1) { - appCustomProductPageLocalizations2?.Invoke(__value2); + appCustomProductPageLocalizations2?.Invoke(__value1); } } @@ -301,8 +226,7 @@ public void Match( /// public void Switch( global::System.Action? appCustomProductPageLocalizations1 = null, - global::System.Action? appCustomProductPageVersions = null, - global::System.Action? appCustomProductPageLocalizations2 = null, + global::System.Action? appCustomProductPageLocalizations2 = null, bool validate = true) { if (validate) @@ -314,13 +238,9 @@ public void Switch( { appCustomProductPageLocalizations1?.Invoke(__value0); } - else if (AppCustomProductPageVersions is { } __value1) - { - appCustomProductPageVersions?.Invoke(__value1); - } - else if (AppCustomProductPageLocalizations2 is { } __value2) + else if (AppCustomProductPageLocalizations2 is { } __value1) { - appCustomProductPageLocalizations2?.Invoke(__value2); + appCustomProductPageLocalizations2?.Invoke(__value1); } } @@ -333,10 +253,8 @@ public override int GetHashCode() { AppCustomProductPageLocalizations1, typeof(global::AppStoreConnect.AppCustomProductPageLocalization), - AppCustomProductPageVersions, - typeof(global::AppStoreConnect.AppCustomProductPageVersion), AppCustomProductPageLocalizations2, - typeof(global::AppStoreConnect.App), + typeof(global::AppStoreConnect.AppCustomProductPage), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -354,8 +272,7 @@ public bool Equals(IncludedItem16 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations1, other.AppCustomProductPageLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations2, other.AppCustomProductPageLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations2, other.AppCustomProductPageLocalizations2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem160.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem160.g.cs index 35ff3427e..727cb6e52 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem160.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem160.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroupLocalizationV2? SubscriptionGroupLocalizations { get; init; } + public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; init; } #else - public global::AppStoreConnect.SubscriptionGroupLocalizationV2? SubscriptionGroupLocalizations { get; } + public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmGitReferences))] #endif - public bool IsSubscriptionGroupLocalizations => SubscriptionGroupLocalizations != null; + public bool IsScmGitReferences => ScmGitReferences != null; /// /// /// - public bool TryPickSubscriptionGroupLocalizations( + public bool TryPickScmGitReferences( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) + out global::AppStoreConnect.ScmGitReference? value) { - value = SubscriptionGroupLocalizations; - return IsSubscriptionGroupLocalizations; + value = ScmGitReferences; + return IsScmGitReferences; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2 PickSubscriptionGroupLocalizations() => SubscriptionGroupLocalizations is { } value + public global::AppStoreConnect.ScmGitReference PickScmGitReferences() => ScmGitReferences is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmGitReferences' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } + public global::AppStoreConnect.ScmProvider? ScmProviders { get; init; } #else - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } + public global::AppStoreConnect.ScmProvider? ScmProviders { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmProviders))] #endif - public bool IsSubscriptionGroups => SubscriptionGroups != null; + public bool IsScmProviders => ScmProviders != null; /// /// /// - public bool TryPickSubscriptionGroups( + public bool TryPickScmProviders( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionGroup? value) + out global::AppStoreConnect.ScmProvider? value) { - value = SubscriptionGroups; - return IsSubscriptionGroups; + value = ScmProviders; + return IsScmProviders; } /// /// /// - public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value + public global::AppStoreConnect.ScmProvider PickScmProviders() => ScmProviders is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmProviders' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem160(global::AppStoreConnect.SubscriptionGroupLocalizationV2 value) => new IncludedItem160((global::AppStoreConnect.SubscriptionGroupLocalizationV2?)value); + public static implicit operator IncludedItem160(global::AppStoreConnect.ScmGitReference value) => new IncludedItem160((global::AppStoreConnect.ScmGitReference?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroupLocalizationV2?(IncludedItem160 @this) => @this.SubscriptionGroupLocalizations; + public static implicit operator global::AppStoreConnect.ScmGitReference?(IncludedItem160 @this) => @this.ScmGitReferences; /// /// /// - public IncludedItem160(global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) + public IncludedItem160(global::AppStoreConnect.ScmGitReference? value) { - SubscriptionGroupLocalizations = value; + ScmGitReferences = value; } /// /// /// - public static IncludedItem160 FromSubscriptionGroupLocalizations(global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) => new IncludedItem160(value); + public static IncludedItem160 FromScmGitReferences(global::AppStoreConnect.ScmGitReference? value) => new IncludedItem160(value); /// /// /// - public static implicit operator IncludedItem160(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem160((global::AppStoreConnect.SubscriptionGroup?)value); + public static implicit operator IncludedItem160(global::AppStoreConnect.ScmProvider value) => new IncludedItem160((global::AppStoreConnect.ScmProvider?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem160 @this) => @this.SubscriptionGroups; + public static implicit operator global::AppStoreConnect.ScmProvider?(IncludedItem160 @this) => @this.ScmProviders; /// /// /// - public IncludedItem160(global::AppStoreConnect.SubscriptionGroup? value) + public IncludedItem160(global::AppStoreConnect.ScmProvider? value) { - SubscriptionGroups = value; + ScmProviders = value; } /// /// /// - public static IncludedItem160 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem160(value); + public static IncludedItem160 FromScmProviders(global::AppStoreConnect.ScmProvider? value) => new IncludedItem160(value); /// /// /// public IncludedItem160( - global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionGroupLocalizationV2? subscriptionGroupLocalizations, - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups + global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.ScmGitReference? scmGitReferences, + global::AppStoreConnect.ScmProvider? scmProviders ) { Type = type; - SubscriptionGroupLocalizations = subscriptionGroupLocalizations; - SubscriptionGroups = subscriptionGroups; + ScmGitReferences = scmGitReferences; + ScmProviders = scmProviders; } /// /// /// public object? Object => - SubscriptionGroups as object ?? - SubscriptionGroupLocalizations as object + ScmProviders as object ?? + ScmGitReferences as object ; /// /// /// public override string? ToString() => - SubscriptionGroupLocalizations?.ToString() ?? - SubscriptionGroups?.ToString() + ScmGitReferences?.ToString() ?? + ScmProviders?.ToString() ; /// @@ -169,15 +169,15 @@ SubscriptionGroupLocalizations as object /// public bool Validate() { - return IsSubscriptionGroupLocalizations && !IsSubscriptionGroups || !IsSubscriptionGroupLocalizations && IsSubscriptionGroups; + return IsScmGitReferences && !IsScmProviders || !IsScmGitReferences && IsScmProviders; } /// /// /// public TResult? Match( - global::System.Func? subscriptionGroupLocalizations = null, - global::System.Func? subscriptionGroups = null, + global::System.Func? scmGitReferences = null, + global::System.Func? scmProviders = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (SubscriptionGroupLocalizations is { } __value0 && subscriptionGroupLocalizations != null) + if (ScmGitReferences is { } __value0 && scmGitReferences != null) { - return subscriptionGroupLocalizations(__value0); + return scmGitReferences(__value0); } - else if (SubscriptionGroups is { } __value1 && subscriptionGroups != null) + else if (ScmProviders is { } __value1 && scmProviders != null) { - return subscriptionGroups(__value1); + return scmProviders(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionGroupLocalizations = null, + global::System.Action? scmGitReferences = null, - global::System.Action? subscriptionGroups = null, + global::System.Action? scmProviders = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (SubscriptionGroupLocalizations is { } __value0) + if (ScmGitReferences is { } __value0) { - subscriptionGroupLocalizations?.Invoke(__value0); + scmGitReferences?.Invoke(__value0); } - else if (SubscriptionGroups is { } __value1) + else if (ScmProviders is { } __value1) { - subscriptionGroups?.Invoke(__value1); + scmProviders?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionGroupLocalizations = null, - global::System.Action? subscriptionGroups = null, + global::System.Action? scmGitReferences = null, + global::System.Action? scmProviders = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (SubscriptionGroupLocalizations is { } __value0) + if (ScmGitReferences is { } __value0) { - subscriptionGroupLocalizations?.Invoke(__value0); + scmGitReferences?.Invoke(__value0); } - else if (SubscriptionGroups is { } __value1) + else if (ScmProviders is { } __value1) { - subscriptionGroups?.Invoke(__value1); + scmProviders?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionGroupLocalizations, - typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), - SubscriptionGroups, - typeof(global::AppStoreConnect.SubscriptionGroup), + ScmGitReferences, + typeof(global::AppStoreConnect.ScmGitReference), + ScmProviders, + typeof(global::AppStoreConnect.ScmProvider), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem160 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupLocalizations, other.SubscriptionGroupLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmGitReferences, other.ScmGitReferences) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmProviders, other.ScmProviders) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem161.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem161.g.cs index 675444e81..ab960fa7c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem161.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem161.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroupLocalizationV2? SubscriptionGroupLocalizations { get; init; } + public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; init; } #else - public global::AppStoreConnect.SubscriptionGroupLocalizationV2? SubscriptionGroupLocalizations { get; } + public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmGitReferences))] #endif - public bool IsSubscriptionGroupLocalizations => SubscriptionGroupLocalizations != null; + public bool IsScmGitReferences => ScmGitReferences != null; /// /// /// - public bool TryPickSubscriptionGroupLocalizations( + public bool TryPickScmGitReferences( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) + out global::AppStoreConnect.ScmGitReference? value) { - value = SubscriptionGroupLocalizations; - return IsSubscriptionGroupLocalizations; + value = ScmGitReferences; + return IsScmGitReferences; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalizationV2 PickSubscriptionGroupLocalizations() => SubscriptionGroupLocalizations is { } value + public global::AppStoreConnect.ScmGitReference PickScmGitReferences() => ScmGitReferences is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmGitReferences' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } + public global::AppStoreConnect.ScmProvider? ScmProviders { get; init; } #else - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } + public global::AppStoreConnect.ScmProvider? ScmProviders { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmProviders))] #endif - public bool IsSubscriptionGroups => SubscriptionGroups != null; + public bool IsScmProviders => ScmProviders != null; /// /// /// - public bool TryPickSubscriptionGroups( + public bool TryPickScmProviders( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionGroup? value) + out global::AppStoreConnect.ScmProvider? value) { - value = SubscriptionGroups; - return IsSubscriptionGroups; + value = ScmProviders; + return IsScmProviders; } /// /// /// - public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value + public global::AppStoreConnect.ScmProvider PickScmProviders() => ScmProviders is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmProviders' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem161(global::AppStoreConnect.SubscriptionGroupLocalizationV2 value) => new IncludedItem161((global::AppStoreConnect.SubscriptionGroupLocalizationV2?)value); + public static implicit operator IncludedItem161(global::AppStoreConnect.ScmGitReference value) => new IncludedItem161((global::AppStoreConnect.ScmGitReference?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroupLocalizationV2?(IncludedItem161 @this) => @this.SubscriptionGroupLocalizations; + public static implicit operator global::AppStoreConnect.ScmGitReference?(IncludedItem161 @this) => @this.ScmGitReferences; /// /// /// - public IncludedItem161(global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) + public IncludedItem161(global::AppStoreConnect.ScmGitReference? value) { - SubscriptionGroupLocalizations = value; + ScmGitReferences = value; } /// /// /// - public static IncludedItem161 FromSubscriptionGroupLocalizations(global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) => new IncludedItem161(value); + public static IncludedItem161 FromScmGitReferences(global::AppStoreConnect.ScmGitReference? value) => new IncludedItem161(value); /// /// /// - public static implicit operator IncludedItem161(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem161((global::AppStoreConnect.SubscriptionGroup?)value); + public static implicit operator IncludedItem161(global::AppStoreConnect.ScmProvider value) => new IncludedItem161((global::AppStoreConnect.ScmProvider?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem161 @this) => @this.SubscriptionGroups; + public static implicit operator global::AppStoreConnect.ScmProvider?(IncludedItem161 @this) => @this.ScmProviders; /// /// /// - public IncludedItem161(global::AppStoreConnect.SubscriptionGroup? value) + public IncludedItem161(global::AppStoreConnect.ScmProvider? value) { - SubscriptionGroups = value; + ScmProviders = value; } /// /// /// - public static IncludedItem161 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem161(value); + public static IncludedItem161 FromScmProviders(global::AppStoreConnect.ScmProvider? value) => new IncludedItem161(value); /// /// /// public IncludedItem161( - global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionGroupLocalizationV2? subscriptionGroupLocalizations, - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups + global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.ScmGitReference? scmGitReferences, + global::AppStoreConnect.ScmProvider? scmProviders ) { Type = type; - SubscriptionGroupLocalizations = subscriptionGroupLocalizations; - SubscriptionGroups = subscriptionGroups; + ScmGitReferences = scmGitReferences; + ScmProviders = scmProviders; } /// /// /// public object? Object => - SubscriptionGroups as object ?? - SubscriptionGroupLocalizations as object + ScmProviders as object ?? + ScmGitReferences as object ; /// /// /// public override string? ToString() => - SubscriptionGroupLocalizations?.ToString() ?? - SubscriptionGroups?.ToString() + ScmGitReferences?.ToString() ?? + ScmProviders?.ToString() ; /// @@ -169,15 +169,15 @@ SubscriptionGroupLocalizations as object /// public bool Validate() { - return IsSubscriptionGroupLocalizations && !IsSubscriptionGroups || !IsSubscriptionGroupLocalizations && IsSubscriptionGroups; + return IsScmGitReferences && !IsScmProviders || !IsScmGitReferences && IsScmProviders; } /// /// /// public TResult? Match( - global::System.Func? subscriptionGroupLocalizations = null, - global::System.Func? subscriptionGroups = null, + global::System.Func? scmGitReferences = null, + global::System.Func? scmProviders = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (SubscriptionGroupLocalizations is { } __value0 && subscriptionGroupLocalizations != null) + if (ScmGitReferences is { } __value0 && scmGitReferences != null) { - return subscriptionGroupLocalizations(__value0); + return scmGitReferences(__value0); } - else if (SubscriptionGroups is { } __value1 && subscriptionGroups != null) + else if (ScmProviders is { } __value1 && scmProviders != null) { - return subscriptionGroups(__value1); + return scmProviders(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionGroupLocalizations = null, + global::System.Action? scmGitReferences = null, - global::System.Action? subscriptionGroups = null, + global::System.Action? scmProviders = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (SubscriptionGroupLocalizations is { } __value0) + if (ScmGitReferences is { } __value0) { - subscriptionGroupLocalizations?.Invoke(__value0); + scmGitReferences?.Invoke(__value0); } - else if (SubscriptionGroups is { } __value1) + else if (ScmProviders is { } __value1) { - subscriptionGroups?.Invoke(__value1); + scmProviders?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionGroupLocalizations = null, - global::System.Action? subscriptionGroups = null, + global::System.Action? scmGitReferences = null, + global::System.Action? scmProviders = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (SubscriptionGroupLocalizations is { } __value0) + if (ScmGitReferences is { } __value0) { - subscriptionGroupLocalizations?.Invoke(__value0); + scmGitReferences?.Invoke(__value0); } - else if (SubscriptionGroups is { } __value1) + else if (ScmProviders is { } __value1) { - subscriptionGroups?.Invoke(__value1); + scmProviders?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionGroupLocalizations, - typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), - SubscriptionGroups, - typeof(global::AppStoreConnect.SubscriptionGroup), + ScmGitReferences, + typeof(global::AppStoreConnect.ScmGitReference), + ScmProviders, + typeof(global::AppStoreConnect.ScmProvider), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem161 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupLocalizations, other.SubscriptionGroupLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmGitReferences, other.ScmGitReferences) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmProviders, other.ScmProviders) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem162.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem162.g.cs index aca963e9f..8b724c967 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem162.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem162.g.cs @@ -12,15 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroupLocalization? SubscriptionGroupLocalizations { get; init; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2? SubscriptionGroupLocalizations { get; init; } #else - public global::AppStoreConnect.SubscriptionGroupLocalization? SubscriptionGroupLocalizations { get; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2? SubscriptionGroupLocalizations { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickSubscriptionGroupLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionGroupLocalization? value) + out global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) { value = SubscriptionGroupLocalizations; return IsSubscriptionGroupLocalizations; @@ -47,7 +47,7 @@ public bool TryPickSubscriptionGroupLocalizations( /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalization PickSubscriptionGroupLocalizations() => SubscriptionGroupLocalizations is { } value + public global::AppStoreConnect.SubscriptionGroupLocalizationV2 PickSubscriptionGroupLocalizations() => SubscriptionGroupLocalizations is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupLocalizations' but the value was {ToString()}."); @@ -55,89 +55,52 @@ public bool TryPickSubscriptionGroupLocalizations( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; init; } + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } #else - public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; } + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] #endif - public bool IsSubscriptionGroupVersions => SubscriptionGroupVersions != null; + public bool IsSubscriptionGroups => SubscriptionGroups != null; /// /// /// - public bool TryPickSubscriptionGroupVersions( + public bool TryPickSubscriptionGroups( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionGroupVersion? value) + out global::AppStoreConnect.SubscriptionGroup? value) { - value = SubscriptionGroupVersions; - return IsSubscriptionGroupVersions; + value = SubscriptionGroups; + return IsSubscriptionGroups; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersion PickSubscriptionGroupVersions() => SubscriptionGroupVersions is { } value + public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? Subscriptions { get; init; } -#else - public global::AppStoreConnect.Subscription? Subscriptions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] -#endif - public bool IsSubscriptions => Subscriptions != null; - - /// - /// - /// - public bool TryPickSubscriptions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Subscription? value) - { - value = Subscriptions; - return IsSubscriptions; - } - - /// - /// - /// - public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem162(global::AppStoreConnect.SubscriptionGroupLocalization value) => new IncludedItem162((global::AppStoreConnect.SubscriptionGroupLocalization?)value); + public static implicit operator IncludedItem162(global::AppStoreConnect.SubscriptionGroupLocalizationV2 value) => new IncludedItem162((global::AppStoreConnect.SubscriptionGroupLocalizationV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroupLocalization?(IncludedItem162 @this) => @this.SubscriptionGroupLocalizations; + public static implicit operator global::AppStoreConnect.SubscriptionGroupLocalizationV2?(IncludedItem162 @this) => @this.SubscriptionGroupLocalizations; /// /// /// - public IncludedItem162(global::AppStoreConnect.SubscriptionGroupLocalization? value) + public IncludedItem162(global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) { SubscriptionGroupLocalizations = value; } @@ -145,77 +108,51 @@ public IncludedItem162(global::AppStoreConnect.SubscriptionGroupLocalization? va /// /// /// - public static IncludedItem162 FromSubscriptionGroupLocalizations(global::AppStoreConnect.SubscriptionGroupLocalization? value) => new IncludedItem162(value); - - /// - /// - /// - public static implicit operator IncludedItem162(global::AppStoreConnect.SubscriptionGroupVersion value) => new IncludedItem162((global::AppStoreConnect.SubscriptionGroupVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionGroupVersion?(IncludedItem162 @this) => @this.SubscriptionGroupVersions; - - /// - /// - /// - public IncludedItem162(global::AppStoreConnect.SubscriptionGroupVersion? value) - { - SubscriptionGroupVersions = value; - } - - /// - /// - /// - public static IncludedItem162 FromSubscriptionGroupVersions(global::AppStoreConnect.SubscriptionGroupVersion? value) => new IncludedItem162(value); + public static IncludedItem162 FromSubscriptionGroupLocalizations(global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) => new IncludedItem162(value); /// /// /// - public static implicit operator IncludedItem162(global::AppStoreConnect.Subscription value) => new IncludedItem162((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem162(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem162((global::AppStoreConnect.SubscriptionGroup?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem162 @this) => @this.Subscriptions; + public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem162 @this) => @this.SubscriptionGroups; /// /// /// - public IncludedItem162(global::AppStoreConnect.Subscription? value) + public IncludedItem162(global::AppStoreConnect.SubscriptionGroup? value) { - Subscriptions = value; + SubscriptionGroups = value; } /// /// /// - public static IncludedItem162 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem162(value); + public static IncludedItem162 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem162(value); /// /// /// public IncludedItem162( - global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionGroupLocalization? subscriptionGroupLocalizations, - global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions, - global::AppStoreConnect.Subscription? subscriptions + global::AppStoreConnect.SubscriptionGroupVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionGroupLocalizationV2? subscriptionGroupLocalizations, + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups ) { Type = type; SubscriptionGroupLocalizations = subscriptionGroupLocalizations; - SubscriptionGroupVersions = subscriptionGroupVersions; - Subscriptions = subscriptions; + SubscriptionGroups = subscriptionGroups; } /// /// /// public object? Object => - Subscriptions as object ?? - SubscriptionGroupVersions as object ?? + SubscriptionGroups as object ?? SubscriptionGroupLocalizations as object ; @@ -224,8 +161,7 @@ SubscriptionGroupLocalizations as object /// public override string? ToString() => SubscriptionGroupLocalizations?.ToString() ?? - SubscriptionGroupVersions?.ToString() ?? - Subscriptions?.ToString() + SubscriptionGroups?.ToString() ; /// @@ -233,16 +169,15 @@ SubscriptionGroupLocalizations as object /// public bool Validate() { - return IsSubscriptionGroupLocalizations && !IsSubscriptionGroupVersions && !IsSubscriptions || !IsSubscriptionGroupLocalizations && IsSubscriptionGroupVersions && !IsSubscriptions || !IsSubscriptionGroupLocalizations && !IsSubscriptionGroupVersions && IsSubscriptions; + return IsSubscriptionGroupLocalizations && !IsSubscriptionGroups || !IsSubscriptionGroupLocalizations && IsSubscriptionGroups; } /// /// /// public TResult? Match( - global::System.Func? subscriptionGroupLocalizations = null, - global::System.Func? subscriptionGroupVersions = null, - global::System.Func? subscriptions = null, + global::System.Func? subscriptionGroupLocalizations = null, + global::System.Func? subscriptionGroups = null, bool validate = true) { if (validate) @@ -254,13 +189,9 @@ public bool Validate() { return subscriptionGroupLocalizations(__value0); } - else if (SubscriptionGroupVersions is { } __value1 && subscriptionGroupVersions != null) + else if (SubscriptionGroups is { } __value1 && subscriptionGroups != null) { - return subscriptionGroupVersions(__value1); - } - else if (Subscriptions is { } __value2 && subscriptions != null) - { - return subscriptions(__value2); + return subscriptionGroups(__value1); } return default(TResult); @@ -270,11 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionGroupLocalizations = null, - - global::System.Action? subscriptionGroupVersions = null, + global::System.Action? subscriptionGroupLocalizations = null, - global::System.Action? subscriptions = null, + global::System.Action? subscriptionGroups = null, bool validate = true) { if (validate) @@ -286,13 +215,9 @@ public void Match( { subscriptionGroupLocalizations?.Invoke(__value0); } - else if (SubscriptionGroupVersions is { } __value1) - { - subscriptionGroupVersions?.Invoke(__value1); - } - else if (Subscriptions is { } __value2) + else if (SubscriptionGroups is { } __value1) { - subscriptions?.Invoke(__value2); + subscriptionGroups?.Invoke(__value1); } } @@ -300,9 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionGroupLocalizations = null, - global::System.Action? subscriptionGroupVersions = null, - global::System.Action? subscriptions = null, + global::System.Action? subscriptionGroupLocalizations = null, + global::System.Action? subscriptionGroups = null, bool validate = true) { if (validate) @@ -314,13 +238,9 @@ public void Switch( { subscriptionGroupLocalizations?.Invoke(__value0); } - else if (SubscriptionGroupVersions is { } __value1) - { - subscriptionGroupVersions?.Invoke(__value1); - } - else if (Subscriptions is { } __value2) + else if (SubscriptionGroups is { } __value1) { - subscriptions?.Invoke(__value2); + subscriptionGroups?.Invoke(__value1); } } @@ -332,11 +252,9 @@ public override int GetHashCode() var fields = new object?[] { SubscriptionGroupLocalizations, - typeof(global::AppStoreConnect.SubscriptionGroupLocalization), - SubscriptionGroupVersions, - typeof(global::AppStoreConnect.SubscriptionGroupVersion), - Subscriptions, - typeof(global::AppStoreConnect.Subscription), + typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), + SubscriptionGroups, + typeof(global::AppStoreConnect.SubscriptionGroup), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem162 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupLocalizations, other.SubscriptionGroupLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupVersions, other.SubscriptionGroupVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupLocalizations, other.SubscriptionGroupLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem163.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem163.g.cs index 25272e3d2..7fc6f22cc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem163.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem163.g.cs @@ -12,15 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroupLocalization? SubscriptionGroupLocalizations { get; init; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2? SubscriptionGroupLocalizations { get; init; } #else - public global::AppStoreConnect.SubscriptionGroupLocalization? SubscriptionGroupLocalizations { get; } + public global::AppStoreConnect.SubscriptionGroupLocalizationV2? SubscriptionGroupLocalizations { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickSubscriptionGroupLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionGroupLocalization? value) + out global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) { value = SubscriptionGroupLocalizations; return IsSubscriptionGroupLocalizations; @@ -47,7 +47,7 @@ public bool TryPickSubscriptionGroupLocalizations( /// /// /// - public global::AppStoreConnect.SubscriptionGroupLocalization PickSubscriptionGroupLocalizations() => SubscriptionGroupLocalizations is { } value + public global::AppStoreConnect.SubscriptionGroupLocalizationV2 PickSubscriptionGroupLocalizations() => SubscriptionGroupLocalizations is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupLocalizations' but the value was {ToString()}."); @@ -55,89 +55,52 @@ public bool TryPickSubscriptionGroupLocalizations( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; init; } + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } #else - public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; } + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] #endif - public bool IsSubscriptionGroupVersions => SubscriptionGroupVersions != null; + public bool IsSubscriptionGroups => SubscriptionGroups != null; /// /// /// - public bool TryPickSubscriptionGroupVersions( + public bool TryPickSubscriptionGroups( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionGroupVersion? value) + out global::AppStoreConnect.SubscriptionGroup? value) { - value = SubscriptionGroupVersions; - return IsSubscriptionGroupVersions; + value = SubscriptionGroups; + return IsSubscriptionGroups; } /// /// /// - public global::AppStoreConnect.SubscriptionGroupVersion PickSubscriptionGroupVersions() => SubscriptionGroupVersions is { } value + public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? Subscriptions { get; init; } -#else - public global::AppStoreConnect.Subscription? Subscriptions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] -#endif - public bool IsSubscriptions => Subscriptions != null; - - /// - /// - /// - public bool TryPickSubscriptions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Subscription? value) - { - value = Subscriptions; - return IsSubscriptions; - } - - /// - /// - /// - public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem163(global::AppStoreConnect.SubscriptionGroupLocalization value) => new IncludedItem163((global::AppStoreConnect.SubscriptionGroupLocalization?)value); + public static implicit operator IncludedItem163(global::AppStoreConnect.SubscriptionGroupLocalizationV2 value) => new IncludedItem163((global::AppStoreConnect.SubscriptionGroupLocalizationV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroupLocalization?(IncludedItem163 @this) => @this.SubscriptionGroupLocalizations; + public static implicit operator global::AppStoreConnect.SubscriptionGroupLocalizationV2?(IncludedItem163 @this) => @this.SubscriptionGroupLocalizations; /// /// /// - public IncludedItem163(global::AppStoreConnect.SubscriptionGroupLocalization? value) + public IncludedItem163(global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) { SubscriptionGroupLocalizations = value; } @@ -145,77 +108,51 @@ public IncludedItem163(global::AppStoreConnect.SubscriptionGroupLocalization? va /// /// /// - public static IncludedItem163 FromSubscriptionGroupLocalizations(global::AppStoreConnect.SubscriptionGroupLocalization? value) => new IncludedItem163(value); - - /// - /// - /// - public static implicit operator IncludedItem163(global::AppStoreConnect.SubscriptionGroupVersion value) => new IncludedItem163((global::AppStoreConnect.SubscriptionGroupVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionGroupVersion?(IncludedItem163 @this) => @this.SubscriptionGroupVersions; - - /// - /// - /// - public IncludedItem163(global::AppStoreConnect.SubscriptionGroupVersion? value) - { - SubscriptionGroupVersions = value; - } - - /// - /// - /// - public static IncludedItem163 FromSubscriptionGroupVersions(global::AppStoreConnect.SubscriptionGroupVersion? value) => new IncludedItem163(value); + public static IncludedItem163 FromSubscriptionGroupLocalizations(global::AppStoreConnect.SubscriptionGroupLocalizationV2? value) => new IncludedItem163(value); /// /// /// - public static implicit operator IncludedItem163(global::AppStoreConnect.Subscription value) => new IncludedItem163((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem163(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem163((global::AppStoreConnect.SubscriptionGroup?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem163 @this) => @this.Subscriptions; + public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem163 @this) => @this.SubscriptionGroups; /// /// /// - public IncludedItem163(global::AppStoreConnect.Subscription? value) + public IncludedItem163(global::AppStoreConnect.SubscriptionGroup? value) { - Subscriptions = value; + SubscriptionGroups = value; } /// /// /// - public static IncludedItem163 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem163(value); + public static IncludedItem163 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem163(value); /// /// /// public IncludedItem163( - global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionGroupLocalization? subscriptionGroupLocalizations, - global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions, - global::AppStoreConnect.Subscription? subscriptions + global::AppStoreConnect.SubscriptionGroupVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionGroupLocalizationV2? subscriptionGroupLocalizations, + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups ) { Type = type; SubscriptionGroupLocalizations = subscriptionGroupLocalizations; - SubscriptionGroupVersions = subscriptionGroupVersions; - Subscriptions = subscriptions; + SubscriptionGroups = subscriptionGroups; } /// /// /// public object? Object => - Subscriptions as object ?? - SubscriptionGroupVersions as object ?? + SubscriptionGroups as object ?? SubscriptionGroupLocalizations as object ; @@ -224,8 +161,7 @@ SubscriptionGroupLocalizations as object /// public override string? ToString() => SubscriptionGroupLocalizations?.ToString() ?? - SubscriptionGroupVersions?.ToString() ?? - Subscriptions?.ToString() + SubscriptionGroups?.ToString() ; /// @@ -233,16 +169,15 @@ SubscriptionGroupLocalizations as object /// public bool Validate() { - return IsSubscriptionGroupLocalizations && !IsSubscriptionGroupVersions && !IsSubscriptions || !IsSubscriptionGroupLocalizations && IsSubscriptionGroupVersions && !IsSubscriptions || !IsSubscriptionGroupLocalizations && !IsSubscriptionGroupVersions && IsSubscriptions; + return IsSubscriptionGroupLocalizations && !IsSubscriptionGroups || !IsSubscriptionGroupLocalizations && IsSubscriptionGroups; } /// /// /// public TResult? Match( - global::System.Func? subscriptionGroupLocalizations = null, - global::System.Func? subscriptionGroupVersions = null, - global::System.Func? subscriptions = null, + global::System.Func? subscriptionGroupLocalizations = null, + global::System.Func? subscriptionGroups = null, bool validate = true) { if (validate) @@ -254,13 +189,9 @@ public bool Validate() { return subscriptionGroupLocalizations(__value0); } - else if (SubscriptionGroupVersions is { } __value1 && subscriptionGroupVersions != null) + else if (SubscriptionGroups is { } __value1 && subscriptionGroups != null) { - return subscriptionGroupVersions(__value1); - } - else if (Subscriptions is { } __value2 && subscriptions != null) - { - return subscriptions(__value2); + return subscriptionGroups(__value1); } return default(TResult); @@ -270,11 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionGroupLocalizations = null, - - global::System.Action? subscriptionGroupVersions = null, + global::System.Action? subscriptionGroupLocalizations = null, - global::System.Action? subscriptions = null, + global::System.Action? subscriptionGroups = null, bool validate = true) { if (validate) @@ -286,13 +215,9 @@ public void Match( { subscriptionGroupLocalizations?.Invoke(__value0); } - else if (SubscriptionGroupVersions is { } __value1) - { - subscriptionGroupVersions?.Invoke(__value1); - } - else if (Subscriptions is { } __value2) + else if (SubscriptionGroups is { } __value1) { - subscriptions?.Invoke(__value2); + subscriptionGroups?.Invoke(__value1); } } @@ -300,9 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionGroupLocalizations = null, - global::System.Action? subscriptionGroupVersions = null, - global::System.Action? subscriptions = null, + global::System.Action? subscriptionGroupLocalizations = null, + global::System.Action? subscriptionGroups = null, bool validate = true) { if (validate) @@ -314,13 +238,9 @@ public void Switch( { subscriptionGroupLocalizations?.Invoke(__value0); } - else if (SubscriptionGroupVersions is { } __value1) - { - subscriptionGroupVersions?.Invoke(__value1); - } - else if (Subscriptions is { } __value2) + else if (SubscriptionGroups is { } __value1) { - subscriptions?.Invoke(__value2); + subscriptionGroups?.Invoke(__value1); } } @@ -332,11 +252,9 @@ public override int GetHashCode() var fields = new object?[] { SubscriptionGroupLocalizations, - typeof(global::AppStoreConnect.SubscriptionGroupLocalization), - SubscriptionGroupVersions, - typeof(global::AppStoreConnect.SubscriptionGroupVersion), - Subscriptions, - typeof(global::AppStoreConnect.Subscription), + typeof(global::AppStoreConnect.SubscriptionGroupLocalizationV2), + SubscriptionGroups, + typeof(global::AppStoreConnect.SubscriptionGroup), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem163 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupLocalizations, other.SubscriptionGroupLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupVersions, other.SubscriptionGroupVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupLocalizations, other.SubscriptionGroupLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem164.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem164.g.cs index 3d2094ec0..7332402d8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem164.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem164.g.cs @@ -12,220 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } + public global::AppStoreConnect.SubscriptionGroupLocalization? SubscriptionGroupLocalizations { get; init; } #else - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } + public global::AppStoreConnect.SubscriptionGroupLocalization? SubscriptionGroupLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupLocalizations))] #endif - public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; + public bool IsSubscriptionGroupLocalizations => SubscriptionGroupLocalizations != null; /// /// /// - public bool TryPickSubscriptionPricePoints( + public bool TryPickSubscriptionGroupLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionPricePoint? value) + out global::AppStoreConnect.SubscriptionGroupLocalization? value) { - value = SubscriptionPricePoints; - return IsSubscriptionPricePoints; + value = SubscriptionGroupLocalizations; + return IsSubscriptionGroupLocalizations; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value + public global::AppStoreConnect.SubscriptionGroupLocalization PickSubscriptionGroupLocalizations() => SubscriptionGroupLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? Subscriptions { get; init; } + public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; init; } #else - public global::AppStoreConnect.Subscription? Subscriptions { get; } + public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupVersions))] #endif - public bool IsSubscriptions => Subscriptions != null; + public bool IsSubscriptionGroupVersions => SubscriptionGroupVersions != null; /// /// /// - public bool TryPickSubscriptions( + public bool TryPickSubscriptionGroupVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Subscription? value) + out global::AppStoreConnect.SubscriptionGroupVersion? value) { - value = Subscriptions; - return IsSubscriptions; + value = SubscriptionGroupVersions; + return IsSubscriptionGroupVersions; } /// /// /// - public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value + public global::AppStoreConnect.SubscriptionGroupVersion PickSubscriptionGroupVersions() => SubscriptionGroupVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.Subscription? Subscriptions { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.Subscription? Subscriptions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] #endif - public bool IsTerritories => Territories != null; + public bool IsSubscriptions => Subscriptions != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickSubscriptions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.Subscription? value) { - value = Territories; - return IsTerritories; + value = Subscriptions; + return IsSubscriptions; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem164(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem164((global::AppStoreConnect.SubscriptionPricePoint?)value); + public static implicit operator IncludedItem164(global::AppStoreConnect.SubscriptionGroupLocalization value) => new IncludedItem164((global::AppStoreConnect.SubscriptionGroupLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem164 @this) => @this.SubscriptionPricePoints; + public static implicit operator global::AppStoreConnect.SubscriptionGroupLocalization?(IncludedItem164 @this) => @this.SubscriptionGroupLocalizations; /// /// /// - public IncludedItem164(global::AppStoreConnect.SubscriptionPricePoint? value) + public IncludedItem164(global::AppStoreConnect.SubscriptionGroupLocalization? value) { - SubscriptionPricePoints = value; + SubscriptionGroupLocalizations = value; } /// /// /// - public static IncludedItem164 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem164(value); + public static IncludedItem164 FromSubscriptionGroupLocalizations(global::AppStoreConnect.SubscriptionGroupLocalization? value) => new IncludedItem164(value); /// /// /// - public static implicit operator IncludedItem164(global::AppStoreConnect.Subscription value) => new IncludedItem164((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem164(global::AppStoreConnect.SubscriptionGroupVersion value) => new IncludedItem164((global::AppStoreConnect.SubscriptionGroupVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem164 @this) => @this.Subscriptions; + public static implicit operator global::AppStoreConnect.SubscriptionGroupVersion?(IncludedItem164 @this) => @this.SubscriptionGroupVersions; /// /// /// - public IncludedItem164(global::AppStoreConnect.Subscription? value) + public IncludedItem164(global::AppStoreConnect.SubscriptionGroupVersion? value) { - Subscriptions = value; + SubscriptionGroupVersions = value; } /// /// /// - public static IncludedItem164 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem164(value); + public static IncludedItem164 FromSubscriptionGroupVersions(global::AppStoreConnect.SubscriptionGroupVersion? value) => new IncludedItem164(value); /// /// /// - public static implicit operator IncludedItem164(global::AppStoreConnect.Territory value) => new IncludedItem164((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem164(global::AppStoreConnect.Subscription value) => new IncludedItem164((global::AppStoreConnect.Subscription?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem164 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem164 @this) => @this.Subscriptions; /// /// /// - public IncludedItem164(global::AppStoreConnect.Territory? value) + public IncludedItem164(global::AppStoreConnect.Subscription? value) { - Territories = value; + Subscriptions = value; } /// /// /// - public static IncludedItem164 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem164(value); + public static IncludedItem164 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem164(value); /// /// /// public IncludedItem164( - global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, - global::AppStoreConnect.Subscription? subscriptions, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.SubscriptionGroupsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionGroupLocalization? subscriptionGroupLocalizations, + global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions, + global::AppStoreConnect.Subscription? subscriptions ) { Type = type; - SubscriptionPricePoints = subscriptionPricePoints; + SubscriptionGroupLocalizations = subscriptionGroupLocalizations; + SubscriptionGroupVersions = subscriptionGroupVersions; Subscriptions = subscriptions; - Territories = territories; } /// /// /// public object? Object => - Territories as object ?? Subscriptions as object ?? - SubscriptionPricePoints as object + SubscriptionGroupVersions as object ?? + SubscriptionGroupLocalizations as object ; /// /// /// public override string? ToString() => - SubscriptionPricePoints?.ToString() ?? - Subscriptions?.ToString() ?? - Territories?.ToString() + SubscriptionGroupLocalizations?.ToString() ?? + SubscriptionGroupVersions?.ToString() ?? + Subscriptions?.ToString() ; /// @@ -233,16 +233,16 @@ SubscriptionPricePoints as object /// public bool Validate() { - return IsSubscriptionPricePoints && !IsSubscriptions && !IsTerritories || !IsSubscriptionPricePoints && IsSubscriptions && !IsTerritories || !IsSubscriptionPricePoints && !IsSubscriptions && IsTerritories; + return IsSubscriptionGroupLocalizations && !IsSubscriptionGroupVersions && !IsSubscriptions || !IsSubscriptionGroupLocalizations && IsSubscriptionGroupVersions && !IsSubscriptions || !IsSubscriptionGroupLocalizations && !IsSubscriptionGroupVersions && IsSubscriptions; } /// /// /// public TResult? Match( - global::System.Func? subscriptionPricePoints = null, + global::System.Func? subscriptionGroupLocalizations = null, + global::System.Func? subscriptionGroupVersions = null, global::System.Func? subscriptions = null, - global::System.Func? territories = null, bool validate = true) { if (validate) @@ -250,17 +250,17 @@ public bool Validate() Validate(); } - if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) + if (SubscriptionGroupLocalizations is { } __value0 && subscriptionGroupLocalizations != null) { - return subscriptionPricePoints(__value0); + return subscriptionGroupLocalizations(__value0); } - else if (Subscriptions is { } __value1 && subscriptions != null) + else if (SubscriptionGroupVersions is { } __value1 && subscriptionGroupVersions != null) { - return subscriptions(__value1); + return subscriptionGroupVersions(__value1); } - else if (Territories is { } __value2 && territories != null) + else if (Subscriptions is { } __value2 && subscriptions != null) { - return territories(__value2); + return subscriptions(__value2); } return default(TResult); @@ -270,11 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionPricePoints = null, + global::System.Action? subscriptionGroupLocalizations = null, - global::System.Action? subscriptions = null, + global::System.Action? subscriptionGroupVersions = null, - global::System.Action? territories = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -282,17 +282,17 @@ public void Match( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (SubscriptionGroupLocalizations is { } __value0) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionGroupLocalizations?.Invoke(__value0); } - else if (Subscriptions is { } __value1) + else if (SubscriptionGroupVersions is { } __value1) { - subscriptions?.Invoke(__value1); + subscriptionGroupVersions?.Invoke(__value1); } - else if (Territories is { } __value2) + else if (Subscriptions is { } __value2) { - territories?.Invoke(__value2); + subscriptions?.Invoke(__value2); } } @@ -300,9 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionPricePoints = null, + global::System.Action? subscriptionGroupLocalizations = null, + global::System.Action? subscriptionGroupVersions = null, global::System.Action? subscriptions = null, - global::System.Action? territories = null, bool validate = true) { if (validate) @@ -310,17 +310,17 @@ public void Switch( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (SubscriptionGroupLocalizations is { } __value0) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionGroupLocalizations?.Invoke(__value0); } - else if (Subscriptions is { } __value1) + else if (SubscriptionGroupVersions is { } __value1) { - subscriptions?.Invoke(__value1); + subscriptionGroupVersions?.Invoke(__value1); } - else if (Territories is { } __value2) + else if (Subscriptions is { } __value2) { - territories?.Invoke(__value2); + subscriptions?.Invoke(__value2); } } @@ -331,12 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionPricePoints, - typeof(global::AppStoreConnect.SubscriptionPricePoint), + SubscriptionGroupLocalizations, + typeof(global::AppStoreConnect.SubscriptionGroupLocalization), + SubscriptionGroupVersions, + typeof(global::AppStoreConnect.SubscriptionGroupVersion), Subscriptions, typeof(global::AppStoreConnect.Subscription), - Territories, - typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem164 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupLocalizations, other.SubscriptionGroupLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupVersions, other.SubscriptionGroupVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem165.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem165.g.cs index c675c371f..eb4cf7737 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem165.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem165.g.cs @@ -12,220 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } + public global::AppStoreConnect.SubscriptionGroupLocalization? SubscriptionGroupLocalizations { get; init; } #else - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } + public global::AppStoreConnect.SubscriptionGroupLocalization? SubscriptionGroupLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupLocalizations))] #endif - public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; + public bool IsSubscriptionGroupLocalizations => SubscriptionGroupLocalizations != null; /// /// /// - public bool TryPickSubscriptionPricePoints( + public bool TryPickSubscriptionGroupLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionPricePoint? value) + out global::AppStoreConnect.SubscriptionGroupLocalization? value) { - value = SubscriptionPricePoints; - return IsSubscriptionPricePoints; + value = SubscriptionGroupLocalizations; + return IsSubscriptionGroupLocalizations; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value + public global::AppStoreConnect.SubscriptionGroupLocalization PickSubscriptionGroupLocalizations() => SubscriptionGroupLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? Subscriptions { get; init; } + public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; init; } #else - public global::AppStoreConnect.Subscription? Subscriptions { get; } + public global::AppStoreConnect.SubscriptionGroupVersion? SubscriptionGroupVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroupVersions))] #endif - public bool IsSubscriptions => Subscriptions != null; + public bool IsSubscriptionGroupVersions => SubscriptionGroupVersions != null; /// /// /// - public bool TryPickSubscriptions( + public bool TryPickSubscriptionGroupVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Subscription? value) + out global::AppStoreConnect.SubscriptionGroupVersion? value) { - value = Subscriptions; - return IsSubscriptions; + value = SubscriptionGroupVersions; + return IsSubscriptionGroupVersions; } /// /// /// - public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value + public global::AppStoreConnect.SubscriptionGroupVersion PickSubscriptionGroupVersions() => SubscriptionGroupVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroupVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.Subscription? Subscriptions { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.Subscription? Subscriptions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] #endif - public bool IsTerritories => Territories != null; + public bool IsSubscriptions => Subscriptions != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickSubscriptions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.Subscription? value) { - value = Territories; - return IsTerritories; + value = Subscriptions; + return IsSubscriptions; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem165(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem165((global::AppStoreConnect.SubscriptionPricePoint?)value); + public static implicit operator IncludedItem165(global::AppStoreConnect.SubscriptionGroupLocalization value) => new IncludedItem165((global::AppStoreConnect.SubscriptionGroupLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem165 @this) => @this.SubscriptionPricePoints; + public static implicit operator global::AppStoreConnect.SubscriptionGroupLocalization?(IncludedItem165 @this) => @this.SubscriptionGroupLocalizations; /// /// /// - public IncludedItem165(global::AppStoreConnect.SubscriptionPricePoint? value) + public IncludedItem165(global::AppStoreConnect.SubscriptionGroupLocalization? value) { - SubscriptionPricePoints = value; + SubscriptionGroupLocalizations = value; } /// /// /// - public static IncludedItem165 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem165(value); + public static IncludedItem165 FromSubscriptionGroupLocalizations(global::AppStoreConnect.SubscriptionGroupLocalization? value) => new IncludedItem165(value); /// /// /// - public static implicit operator IncludedItem165(global::AppStoreConnect.Subscription value) => new IncludedItem165((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem165(global::AppStoreConnect.SubscriptionGroupVersion value) => new IncludedItem165((global::AppStoreConnect.SubscriptionGroupVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem165 @this) => @this.Subscriptions; + public static implicit operator global::AppStoreConnect.SubscriptionGroupVersion?(IncludedItem165 @this) => @this.SubscriptionGroupVersions; /// /// /// - public IncludedItem165(global::AppStoreConnect.Subscription? value) + public IncludedItem165(global::AppStoreConnect.SubscriptionGroupVersion? value) { - Subscriptions = value; + SubscriptionGroupVersions = value; } /// /// /// - public static IncludedItem165 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem165(value); + public static IncludedItem165 FromSubscriptionGroupVersions(global::AppStoreConnect.SubscriptionGroupVersion? value) => new IncludedItem165(value); /// /// /// - public static implicit operator IncludedItem165(global::AppStoreConnect.Territory value) => new IncludedItem165((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem165(global::AppStoreConnect.Subscription value) => new IncludedItem165((global::AppStoreConnect.Subscription?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem165 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem165 @this) => @this.Subscriptions; /// /// /// - public IncludedItem165(global::AppStoreConnect.Territory? value) + public IncludedItem165(global::AppStoreConnect.Subscription? value) { - Territories = value; + Subscriptions = value; } /// /// /// - public static IncludedItem165 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem165(value); + public static IncludedItem165 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem165(value); /// /// /// public IncludedItem165( - global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, - global::AppStoreConnect.Subscription? subscriptions, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.SubscriptionGroupResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionGroupLocalization? subscriptionGroupLocalizations, + global::AppStoreConnect.SubscriptionGroupVersion? subscriptionGroupVersions, + global::AppStoreConnect.Subscription? subscriptions ) { Type = type; - SubscriptionPricePoints = subscriptionPricePoints; + SubscriptionGroupLocalizations = subscriptionGroupLocalizations; + SubscriptionGroupVersions = subscriptionGroupVersions; Subscriptions = subscriptions; - Territories = territories; } /// /// /// public object? Object => - Territories as object ?? Subscriptions as object ?? - SubscriptionPricePoints as object + SubscriptionGroupVersions as object ?? + SubscriptionGroupLocalizations as object ; /// /// /// public override string? ToString() => - SubscriptionPricePoints?.ToString() ?? - Subscriptions?.ToString() ?? - Territories?.ToString() + SubscriptionGroupLocalizations?.ToString() ?? + SubscriptionGroupVersions?.ToString() ?? + Subscriptions?.ToString() ; /// @@ -233,16 +233,16 @@ SubscriptionPricePoints as object /// public bool Validate() { - return IsSubscriptionPricePoints && !IsSubscriptions && !IsTerritories || !IsSubscriptionPricePoints && IsSubscriptions && !IsTerritories || !IsSubscriptionPricePoints && !IsSubscriptions && IsTerritories; + return IsSubscriptionGroupLocalizations && !IsSubscriptionGroupVersions && !IsSubscriptions || !IsSubscriptionGroupLocalizations && IsSubscriptionGroupVersions && !IsSubscriptions || !IsSubscriptionGroupLocalizations && !IsSubscriptionGroupVersions && IsSubscriptions; } /// /// /// public TResult? Match( - global::System.Func? subscriptionPricePoints = null, + global::System.Func? subscriptionGroupLocalizations = null, + global::System.Func? subscriptionGroupVersions = null, global::System.Func? subscriptions = null, - global::System.Func? territories = null, bool validate = true) { if (validate) @@ -250,17 +250,17 @@ public bool Validate() Validate(); } - if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) + if (SubscriptionGroupLocalizations is { } __value0 && subscriptionGroupLocalizations != null) { - return subscriptionPricePoints(__value0); + return subscriptionGroupLocalizations(__value0); } - else if (Subscriptions is { } __value1 && subscriptions != null) + else if (SubscriptionGroupVersions is { } __value1 && subscriptionGroupVersions != null) { - return subscriptions(__value1); + return subscriptionGroupVersions(__value1); } - else if (Territories is { } __value2 && territories != null) + else if (Subscriptions is { } __value2 && subscriptions != null) { - return territories(__value2); + return subscriptions(__value2); } return default(TResult); @@ -270,11 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionPricePoints = null, + global::System.Action? subscriptionGroupLocalizations = null, - global::System.Action? subscriptions = null, + global::System.Action? subscriptionGroupVersions = null, - global::System.Action? territories = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -282,17 +282,17 @@ public void Match( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (SubscriptionGroupLocalizations is { } __value0) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionGroupLocalizations?.Invoke(__value0); } - else if (Subscriptions is { } __value1) + else if (SubscriptionGroupVersions is { } __value1) { - subscriptions?.Invoke(__value1); + subscriptionGroupVersions?.Invoke(__value1); } - else if (Territories is { } __value2) + else if (Subscriptions is { } __value2) { - territories?.Invoke(__value2); + subscriptions?.Invoke(__value2); } } @@ -300,9 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionPricePoints = null, + global::System.Action? subscriptionGroupLocalizations = null, + global::System.Action? subscriptionGroupVersions = null, global::System.Action? subscriptions = null, - global::System.Action? territories = null, bool validate = true) { if (validate) @@ -310,17 +310,17 @@ public void Switch( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (SubscriptionGroupLocalizations is { } __value0) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionGroupLocalizations?.Invoke(__value0); } - else if (Subscriptions is { } __value1) + else if (SubscriptionGroupVersions is { } __value1) { - subscriptions?.Invoke(__value1); + subscriptionGroupVersions?.Invoke(__value1); } - else if (Territories is { } __value2) + else if (Subscriptions is { } __value2) { - territories?.Invoke(__value2); + subscriptions?.Invoke(__value2); } } @@ -331,12 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionPricePoints, - typeof(global::AppStoreConnect.SubscriptionPricePoint), + SubscriptionGroupLocalizations, + typeof(global::AppStoreConnect.SubscriptionGroupLocalization), + SubscriptionGroupVersions, + typeof(global::AppStoreConnect.SubscriptionGroupVersion), Subscriptions, typeof(global::AppStoreConnect.Subscription), - Territories, - typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem165 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupLocalizations, other.SubscriptionGroupLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroupVersions, other.SubscriptionGroupVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem166.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem166.g.cs index 64fb1bd7f..2c1151df5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem166.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem166.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -51,6 +51,43 @@ public bool TryPickSubscriptionPricePoints( ? value : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Subscription? Subscriptions { get; init; } +#else + public global::AppStoreConnect.Subscription? Subscriptions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] +#endif + public bool IsSubscriptions => Subscriptions != null; + + /// + /// + /// + public bool TryPickSubscriptions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Subscription? value) + { + value = Subscriptions; + return IsSubscriptions; + } + + /// + /// + /// + public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); + /// /// /// @@ -110,6 +147,29 @@ public IncludedItem166(global::AppStoreConnect.SubscriptionPricePoint? value) /// public static IncludedItem166 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem166(value); + /// + /// + /// + public static implicit operator IncludedItem166(global::AppStoreConnect.Subscription value) => new IncludedItem166((global::AppStoreConnect.Subscription?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem166 @this) => @this.Subscriptions; + + /// + /// + /// + public IncludedItem166(global::AppStoreConnect.Subscription? value) + { + Subscriptions = value; + } + + /// + /// + /// + public static IncludedItem166 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem166(value); + /// /// /// @@ -137,14 +197,16 @@ public IncludedItem166(global::AppStoreConnect.Territory? value) /// /// public IncludedItem166( - global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionIntroductoryOffersResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, + global::AppStoreConnect.Subscription? subscriptions, global::AppStoreConnect.Territory? territories ) { Type = type; SubscriptionPricePoints = subscriptionPricePoints; + Subscriptions = subscriptions; Territories = territories; } @@ -153,6 +215,7 @@ public IncludedItem166( /// public object? Object => Territories as object ?? + Subscriptions as object ?? SubscriptionPricePoints as object ; @@ -161,6 +224,7 @@ SubscriptionPricePoints as object /// public override string? ToString() => SubscriptionPricePoints?.ToString() ?? + Subscriptions?.ToString() ?? Territories?.ToString() ; @@ -169,7 +233,7 @@ SubscriptionPricePoints as object /// public bool Validate() { - return IsSubscriptionPricePoints && !IsTerritories || !IsSubscriptionPricePoints && IsTerritories; + return IsSubscriptionPricePoints && !IsSubscriptions && !IsTerritories || !IsSubscriptionPricePoints && IsSubscriptions && !IsTerritories || !IsSubscriptionPricePoints && !IsSubscriptions && IsTerritories; } /// @@ -177,6 +241,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? subscriptionPricePoints = null, + global::System.Func? subscriptions = null, global::System.Func? territories = null, bool validate = true) { @@ -189,9 +254,13 @@ public bool Validate() { return subscriptionPricePoints(__value0); } - else if (Territories is { } __value1 && territories != null) + else if (Subscriptions is { } __value1 && subscriptions != null) { - return territories(__value1); + return subscriptions(__value1); + } + else if (Territories is { } __value2 && territories != null) + { + return territories(__value2); } return default(TResult); @@ -203,6 +272,8 @@ public bool Validate() public void Match( global::System.Action? subscriptionPricePoints = null, + global::System.Action? subscriptions = null, + global::System.Action? territories = null, bool validate = true) { @@ -215,9 +286,13 @@ public void Match( { subscriptionPricePoints?.Invoke(__value0); } - else if (Territories is { } __value1) + else if (Subscriptions is { } __value1) + { + subscriptions?.Invoke(__value1); + } + else if (Territories is { } __value2) { - territories?.Invoke(__value1); + territories?.Invoke(__value2); } } @@ -226,6 +301,7 @@ public void Match( /// public void Switch( global::System.Action? subscriptionPricePoints = null, + global::System.Action? subscriptions = null, global::System.Action? territories = null, bool validate = true) { @@ -238,9 +314,13 @@ public void Switch( { subscriptionPricePoints?.Invoke(__value0); } - else if (Territories is { } __value1) + else if (Subscriptions is { } __value1) + { + subscriptions?.Invoke(__value1); + } + else if (Territories is { } __value2) { - territories?.Invoke(__value1); + territories?.Invoke(__value2); } } @@ -253,6 +333,8 @@ public override int GetHashCode() { SubscriptionPricePoints, typeof(global::AppStoreConnect.SubscriptionPricePoint), + Subscriptions, + typeof(global::AppStoreConnect.Subscription), Territories, typeof(global::AppStoreConnect.Territory), }; @@ -272,6 +354,7 @@ public bool Equals(IncludedItem166 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem167.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem167.g.cs index 878c253fc..38297f95b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem167.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem167.g.cs @@ -12,284 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? SubscriptionOfferCodeCustomCodes { get; init; } + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } #else - public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? SubscriptionOfferCodeCustomCodes { get; } + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodeCustomCodes))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] #endif - public bool IsSubscriptionOfferCodeCustomCodes => SubscriptionOfferCodeCustomCodes != null; + public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; /// /// /// - public bool TryPickSubscriptionOfferCodeCustomCodes( + public bool TryPickSubscriptionPricePoints( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) + out global::AppStoreConnect.SubscriptionPricePoint? value) { - value = SubscriptionOfferCodeCustomCodes; - return IsSubscriptionOfferCodeCustomCodes; + value = SubscriptionPricePoints; + return IsSubscriptionPricePoints; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCode PickSubscriptionOfferCodeCustomCodes() => SubscriptionOfferCodeCustomCodes is { } value + public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodeCustomCodes' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? SubscriptionOfferCodeOneTimeUseCodes { get; init; } + public global::AppStoreConnect.Subscription? Subscriptions { get; init; } #else - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? SubscriptionOfferCodeOneTimeUseCodes { get; } + public global::AppStoreConnect.Subscription? Subscriptions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodeOneTimeUseCodes))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] #endif - public bool IsSubscriptionOfferCodeOneTimeUseCodes => SubscriptionOfferCodeOneTimeUseCodes != null; + public bool IsSubscriptions => Subscriptions != null; /// /// /// - public bool TryPickSubscriptionOfferCodeOneTimeUseCodes( + public bool TryPickSubscriptions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) - { - value = SubscriptionOfferCodeOneTimeUseCodes; - return IsSubscriptionOfferCodeOneTimeUseCodes; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode PickSubscriptionOfferCodeOneTimeUseCodes() => SubscriptionOfferCodeOneTimeUseCodes is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodeOneTimeUseCodes' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionOfferCodePrice? SubscriptionOfferCodePrices1 { get; init; } -#else - public global::AppStoreConnect.SubscriptionOfferCodePrice? SubscriptionOfferCodePrices1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodePrices1))] -#endif - public bool IsSubscriptionOfferCodePrices1 => SubscriptionOfferCodePrices1 != null; - - /// - /// - /// - public bool TryPickSubscriptionOfferCodePrices1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionOfferCodePrice? value) + out global::AppStoreConnect.Subscription? value) { - value = SubscriptionOfferCodePrices1; - return IsSubscriptionOfferCodePrices1; + value = Subscriptions; + return IsSubscriptions; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodePrice PickSubscriptionOfferCodePrices1() => SubscriptionOfferCodePrices1 is { } value + public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodePrices1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? SubscriptionOfferCodePrices2 { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.Subscription? SubscriptionOfferCodePrices2 { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodePrices2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsSubscriptionOfferCodePrices2 => SubscriptionOfferCodePrices2 != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickSubscriptionOfferCodePrices2( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Subscription? value) + out global::AppStoreConnect.Territory? value) { - value = SubscriptionOfferCodePrices2; - return IsSubscriptionOfferCodePrices2; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.Subscription PickSubscriptionOfferCodePrices2() => SubscriptionOfferCodePrices2 is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodePrices2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem167(global::AppStoreConnect.SubscriptionOfferCodeCustomCode value) => new IncludedItem167((global::AppStoreConnect.SubscriptionOfferCodeCustomCode?)value); + public static implicit operator IncludedItem167(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem167((global::AppStoreConnect.SubscriptionPricePoint?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionOfferCodeCustomCode?(IncludedItem167 @this) => @this.SubscriptionOfferCodeCustomCodes; + public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem167 @this) => @this.SubscriptionPricePoints; /// /// /// - public IncludedItem167(global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) + public IncludedItem167(global::AppStoreConnect.SubscriptionPricePoint? value) { - SubscriptionOfferCodeCustomCodes = value; + SubscriptionPricePoints = value; } /// /// /// - public static IncludedItem167 FromSubscriptionOfferCodeCustomCodes(global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) => new IncludedItem167(value); + public static IncludedItem167 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem167(value); /// /// /// - public static implicit operator IncludedItem167(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode value) => new IncludedItem167((global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode?(IncludedItem167 @this) => @this.SubscriptionOfferCodeOneTimeUseCodes; - - /// - /// - /// - public IncludedItem167(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) - { - SubscriptionOfferCodeOneTimeUseCodes = value; - } - - /// - /// - /// - public static IncludedItem167 FromSubscriptionOfferCodeOneTimeUseCodes(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) => new IncludedItem167(value); - - /// - /// - /// - public static implicit operator IncludedItem167(global::AppStoreConnect.SubscriptionOfferCodePrice value) => new IncludedItem167((global::AppStoreConnect.SubscriptionOfferCodePrice?)value); + public static implicit operator IncludedItem167(global::AppStoreConnect.Subscription value) => new IncludedItem167((global::AppStoreConnect.Subscription?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionOfferCodePrice?(IncludedItem167 @this) => @this.SubscriptionOfferCodePrices1; + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem167 @this) => @this.Subscriptions; /// /// /// - public IncludedItem167(global::AppStoreConnect.SubscriptionOfferCodePrice? value) + public IncludedItem167(global::AppStoreConnect.Subscription? value) { - SubscriptionOfferCodePrices1 = value; + Subscriptions = value; } /// /// /// - public static IncludedItem167 FromSubscriptionOfferCodePrices1(global::AppStoreConnect.SubscriptionOfferCodePrice? value) => new IncludedItem167(value); + public static IncludedItem167 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem167(value); /// /// /// - public static implicit operator IncludedItem167(global::AppStoreConnect.Subscription value) => new IncludedItem167((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem167(global::AppStoreConnect.Territory value) => new IncludedItem167((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem167 @this) => @this.SubscriptionOfferCodePrices2; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem167 @this) => @this.Territories; /// /// /// - public IncludedItem167(global::AppStoreConnect.Subscription? value) + public IncludedItem167(global::AppStoreConnect.Territory? value) { - SubscriptionOfferCodePrices2 = value; + Territories = value; } /// /// /// - public static IncludedItem167 FromSubscriptionOfferCodePrices2(global::AppStoreConnect.Subscription? value) => new IncludedItem167(value); + public static IncludedItem167 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem167(value); /// /// /// public IncludedItem167( - global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionOfferCodeCustomCode? subscriptionOfferCodeCustomCodes, - global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? subscriptionOfferCodeOneTimeUseCodes, - global::AppStoreConnect.SubscriptionOfferCodePrice? subscriptionOfferCodePrices1, - global::AppStoreConnect.Subscription? subscriptionOfferCodePrices2 + global::AppStoreConnect.SubscriptionIntroductoryOfferResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, + global::AppStoreConnect.Subscription? subscriptions, + global::AppStoreConnect.Territory? territories ) { Type = type; - SubscriptionOfferCodeCustomCodes = subscriptionOfferCodeCustomCodes; - SubscriptionOfferCodeOneTimeUseCodes = subscriptionOfferCodeOneTimeUseCodes; - SubscriptionOfferCodePrices1 = subscriptionOfferCodePrices1; - SubscriptionOfferCodePrices2 = subscriptionOfferCodePrices2; + SubscriptionPricePoints = subscriptionPricePoints; + Subscriptions = subscriptions; + Territories = territories; } /// /// /// public object? Object => - SubscriptionOfferCodePrices2 as object ?? - SubscriptionOfferCodePrices1 as object ?? - SubscriptionOfferCodeOneTimeUseCodes as object ?? - SubscriptionOfferCodeCustomCodes as object + Territories as object ?? + Subscriptions as object ?? + SubscriptionPricePoints as object ; /// /// /// public override string? ToString() => - SubscriptionOfferCodeCustomCodes?.ToString() ?? - SubscriptionOfferCodeOneTimeUseCodes?.ToString() ?? - SubscriptionOfferCodePrices1?.ToString() ?? - SubscriptionOfferCodePrices2?.ToString() + SubscriptionPricePoints?.ToString() ?? + Subscriptions?.ToString() ?? + Territories?.ToString() ; /// @@ -297,17 +233,16 @@ SubscriptionOfferCodeCustomCodes as object /// public bool Validate() { - return IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && IsSubscriptionOfferCodePrices2; + return IsSubscriptionPricePoints && !IsSubscriptions && !IsTerritories || !IsSubscriptionPricePoints && IsSubscriptions && !IsTerritories || !IsSubscriptionPricePoints && !IsSubscriptions && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? subscriptionOfferCodeCustomCodes = null, - global::System.Func? subscriptionOfferCodeOneTimeUseCodes = null, - global::System.Func? subscriptionOfferCodePrices1 = null, - global::System.Func? subscriptionOfferCodePrices2 = null, + global::System.Func? subscriptionPricePoints = null, + global::System.Func? subscriptions = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -315,21 +250,17 @@ public bool Validate() Validate(); } - if (SubscriptionOfferCodeCustomCodes is { } __value0 && subscriptionOfferCodeCustomCodes != null) + if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) { - return subscriptionOfferCodeCustomCodes(__value0); + return subscriptionPricePoints(__value0); } - else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1 && subscriptionOfferCodeOneTimeUseCodes != null) + else if (Subscriptions is { } __value1 && subscriptions != null) { - return subscriptionOfferCodeOneTimeUseCodes(__value1); + return subscriptions(__value1); } - else if (SubscriptionOfferCodePrices1 is { } __value2 && subscriptionOfferCodePrices1 != null) + else if (Territories is { } __value2 && territories != null) { - return subscriptionOfferCodePrices1(__value2); - } - else if (SubscriptionOfferCodePrices2 is { } __value3 && subscriptionOfferCodePrices2 != null) - { - return subscriptionOfferCodePrices2(__value3); + return territories(__value2); } return default(TResult); @@ -339,13 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionOfferCodeCustomCodes = null, + global::System.Action? subscriptionPricePoints = null, - global::System.Action? subscriptionOfferCodeOneTimeUseCodes = null, + global::System.Action? subscriptions = null, - global::System.Action? subscriptionOfferCodePrices1 = null, - - global::System.Action? subscriptionOfferCodePrices2 = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -353,21 +282,17 @@ public void Match( Validate(); } - if (SubscriptionOfferCodeCustomCodes is { } __value0) + if (SubscriptionPricePoints is { } __value0) { - subscriptionOfferCodeCustomCodes?.Invoke(__value0); + subscriptionPricePoints?.Invoke(__value0); } - else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1) + else if (Subscriptions is { } __value1) { - subscriptionOfferCodeOneTimeUseCodes?.Invoke(__value1); + subscriptions?.Invoke(__value1); } - else if (SubscriptionOfferCodePrices1 is { } __value2) + else if (Territories is { } __value2) { - subscriptionOfferCodePrices1?.Invoke(__value2); - } - else if (SubscriptionOfferCodePrices2 is { } __value3) - { - subscriptionOfferCodePrices2?.Invoke(__value3); + territories?.Invoke(__value2); } } @@ -375,10 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionOfferCodeCustomCodes = null, - global::System.Action? subscriptionOfferCodeOneTimeUseCodes = null, - global::System.Action? subscriptionOfferCodePrices1 = null, - global::System.Action? subscriptionOfferCodePrices2 = null, + global::System.Action? subscriptionPricePoints = null, + global::System.Action? subscriptions = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -386,21 +310,17 @@ public void Switch( Validate(); } - if (SubscriptionOfferCodeCustomCodes is { } __value0) - { - subscriptionOfferCodeCustomCodes?.Invoke(__value0); - } - else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1) + if (SubscriptionPricePoints is { } __value0) { - subscriptionOfferCodeOneTimeUseCodes?.Invoke(__value1); + subscriptionPricePoints?.Invoke(__value0); } - else if (SubscriptionOfferCodePrices1 is { } __value2) + else if (Subscriptions is { } __value1) { - subscriptionOfferCodePrices1?.Invoke(__value2); + subscriptions?.Invoke(__value1); } - else if (SubscriptionOfferCodePrices2 is { } __value3) + else if (Territories is { } __value2) { - subscriptionOfferCodePrices2?.Invoke(__value3); + territories?.Invoke(__value2); } } @@ -411,14 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionOfferCodeCustomCodes, - typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), - SubscriptionOfferCodeOneTimeUseCodes, - typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), - SubscriptionOfferCodePrices1, - typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), - SubscriptionOfferCodePrices2, + SubscriptionPricePoints, + typeof(global::AppStoreConnect.SubscriptionPricePoint), + Subscriptions, typeof(global::AppStoreConnect.Subscription), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem167 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodeCustomCodes, other.SubscriptionOfferCodeCustomCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodeOneTimeUseCodes, other.SubscriptionOfferCodeOneTimeUseCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodePrices1, other.SubscriptionOfferCodePrices1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodePrices2, other.SubscriptionOfferCodePrices2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem168.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem168.g.cs index 8a7f80240..9a9d94198 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem168.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem168.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? SubscriptionOfferCodeCustomCodes { get; init; } + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } #else - public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? SubscriptionOfferCodeCustomCodes { get; } + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodeCustomCodes))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] #endif - public bool IsSubscriptionOfferCodeCustomCodes => SubscriptionOfferCodeCustomCodes != null; + public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; /// /// /// - public bool TryPickSubscriptionOfferCodeCustomCodes( + public bool TryPickSubscriptionPricePoints( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) + out global::AppStoreConnect.SubscriptionPricePoint? value) { - value = SubscriptionOfferCodeCustomCodes; - return IsSubscriptionOfferCodeCustomCodes; + value = SubscriptionPricePoints; + return IsSubscriptionPricePoints; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeCustomCode PickSubscriptionOfferCodeCustomCodes() => SubscriptionOfferCodeCustomCodes is { } value + public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodeCustomCodes' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? SubscriptionOfferCodeOneTimeUseCodes { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? SubscriptionOfferCodeOneTimeUseCodes { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodeOneTimeUseCodes))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsSubscriptionOfferCodeOneTimeUseCodes => SubscriptionOfferCodeOneTimeUseCodes != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickSubscriptionOfferCodeOneTimeUseCodes( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) + out global::AppStoreConnect.Territory? value) { - value = SubscriptionOfferCodeOneTimeUseCodes; - return IsSubscriptionOfferCodeOneTimeUseCodes; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode PickSubscriptionOfferCodeOneTimeUseCodes() => SubscriptionOfferCodeOneTimeUseCodes is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodeOneTimeUseCodes' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionOfferCodePrice? SubscriptionOfferCodePrices1 { get; init; } -#else - public global::AppStoreConnect.SubscriptionOfferCodePrice? SubscriptionOfferCodePrices1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodePrices1))] -#endif - public bool IsSubscriptionOfferCodePrices1 => SubscriptionOfferCodePrices1 != null; - - /// - /// - /// - public bool TryPickSubscriptionOfferCodePrices1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionOfferCodePrice? value) - { - value = SubscriptionOfferCodePrices1; - return IsSubscriptionOfferCodePrices1; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionOfferCodePrice PickSubscriptionOfferCodePrices1() => SubscriptionOfferCodePrices1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodePrices1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? SubscriptionOfferCodePrices2 { get; init; } -#else - public global::AppStoreConnect.Subscription? SubscriptionOfferCodePrices2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodePrices2))] -#endif - public bool IsSubscriptionOfferCodePrices2 => SubscriptionOfferCodePrices2 != null; - - /// - /// - /// - public bool TryPickSubscriptionOfferCodePrices2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Subscription? value) - { - value = SubscriptionOfferCodePrices2; - return IsSubscriptionOfferCodePrices2; - } - - /// - /// - /// - public global::AppStoreConnect.Subscription PickSubscriptionOfferCodePrices2() => SubscriptionOfferCodePrices2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodePrices2' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem168(global::AppStoreConnect.SubscriptionOfferCodeCustomCode value) => new IncludedItem168((global::AppStoreConnect.SubscriptionOfferCodeCustomCode?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionOfferCodeCustomCode?(IncludedItem168 @this) => @this.SubscriptionOfferCodeCustomCodes; - - /// - /// - /// - public IncludedItem168(global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) - { - SubscriptionOfferCodeCustomCodes = value; - } - - /// - /// - /// - public static IncludedItem168 FromSubscriptionOfferCodeCustomCodes(global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) => new IncludedItem168(value); - - /// - /// - /// - public static implicit operator IncludedItem168(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode value) => new IncludedItem168((global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode?(IncludedItem168 @this) => @this.SubscriptionOfferCodeOneTimeUseCodes; - + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); /// /// /// - public IncludedItem168(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) - { - SubscriptionOfferCodeOneTimeUseCodes = value; - } + public static implicit operator IncludedItem168(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem168((global::AppStoreConnect.SubscriptionPricePoint?)value); /// /// /// - public static IncludedItem168 FromSubscriptionOfferCodeOneTimeUseCodes(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) => new IncludedItem168(value); + public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem168 @this) => @this.SubscriptionPricePoints; /// /// /// - public static implicit operator IncludedItem168(global::AppStoreConnect.SubscriptionOfferCodePrice value) => new IncludedItem168((global::AppStoreConnect.SubscriptionOfferCodePrice?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionOfferCodePrice?(IncludedItem168 @this) => @this.SubscriptionOfferCodePrices1; - - /// - /// - /// - public IncludedItem168(global::AppStoreConnect.SubscriptionOfferCodePrice? value) + public IncludedItem168(global::AppStoreConnect.SubscriptionPricePoint? value) { - SubscriptionOfferCodePrices1 = value; + SubscriptionPricePoints = value; } /// /// /// - public static IncludedItem168 FromSubscriptionOfferCodePrices1(global::AppStoreConnect.SubscriptionOfferCodePrice? value) => new IncludedItem168(value); + public static IncludedItem168 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem168(value); /// /// /// - public static implicit operator IncludedItem168(global::AppStoreConnect.Subscription value) => new IncludedItem168((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem168(global::AppStoreConnect.Territory value) => new IncludedItem168((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem168 @this) => @this.SubscriptionOfferCodePrices2; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem168 @this) => @this.Territories; /// /// /// - public IncludedItem168(global::AppStoreConnect.Subscription? value) + public IncludedItem168(global::AppStoreConnect.Territory? value) { - SubscriptionOfferCodePrices2 = value; + Territories = value; } /// /// /// - public static IncludedItem168 FromSubscriptionOfferCodePrices2(global::AppStoreConnect.Subscription? value) => new IncludedItem168(value); + public static IncludedItem168 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem168(value); /// /// /// public IncludedItem168( - global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionOfferCodeCustomCode? subscriptionOfferCodeCustomCodes, - global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? subscriptionOfferCodeOneTimeUseCodes, - global::AppStoreConnect.SubscriptionOfferCodePrice? subscriptionOfferCodePrices1, - global::AppStoreConnect.Subscription? subscriptionOfferCodePrices2 + global::AppStoreConnect.SubscriptionOfferCodePricesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, + global::AppStoreConnect.Territory? territories ) { Type = type; - SubscriptionOfferCodeCustomCodes = subscriptionOfferCodeCustomCodes; - SubscriptionOfferCodeOneTimeUseCodes = subscriptionOfferCodeOneTimeUseCodes; - SubscriptionOfferCodePrices1 = subscriptionOfferCodePrices1; - SubscriptionOfferCodePrices2 = subscriptionOfferCodePrices2; + SubscriptionPricePoints = subscriptionPricePoints; + Territories = territories; } /// /// /// public object? Object => - SubscriptionOfferCodePrices2 as object ?? - SubscriptionOfferCodePrices1 as object ?? - SubscriptionOfferCodeOneTimeUseCodes as object ?? - SubscriptionOfferCodeCustomCodes as object + Territories as object ?? + SubscriptionPricePoints as object ; /// /// /// public override string? ToString() => - SubscriptionOfferCodeCustomCodes?.ToString() ?? - SubscriptionOfferCodeOneTimeUseCodes?.ToString() ?? - SubscriptionOfferCodePrices1?.ToString() ?? - SubscriptionOfferCodePrices2?.ToString() + SubscriptionPricePoints?.ToString() ?? + Territories?.ToString() ; /// @@ -297,17 +169,15 @@ SubscriptionOfferCodeCustomCodes as object /// public bool Validate() { - return IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && IsSubscriptionOfferCodePrices2; + return IsSubscriptionPricePoints && !IsTerritories || !IsSubscriptionPricePoints && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? subscriptionOfferCodeCustomCodes = null, - global::System.Func? subscriptionOfferCodeOneTimeUseCodes = null, - global::System.Func? subscriptionOfferCodePrices1 = null, - global::System.Func? subscriptionOfferCodePrices2 = null, + global::System.Func? subscriptionPricePoints = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (SubscriptionOfferCodeCustomCodes is { } __value0 && subscriptionOfferCodeCustomCodes != null) - { - return subscriptionOfferCodeCustomCodes(__value0); - } - else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1 && subscriptionOfferCodeOneTimeUseCodes != null) - { - return subscriptionOfferCodeOneTimeUseCodes(__value1); - } - else if (SubscriptionOfferCodePrices1 is { } __value2 && subscriptionOfferCodePrices1 != null) + if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) { - return subscriptionOfferCodePrices1(__value2); + return subscriptionPricePoints(__value0); } - else if (SubscriptionOfferCodePrices2 is { } __value3 && subscriptionOfferCodePrices2 != null) + else if (Territories is { } __value1 && territories != null) { - return subscriptionOfferCodePrices2(__value3); + return territories(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionOfferCodeCustomCodes = null, - - global::System.Action? subscriptionOfferCodeOneTimeUseCodes = null, + global::System.Action? subscriptionPricePoints = null, - global::System.Action? subscriptionOfferCodePrices1 = null, - - global::System.Action? subscriptionOfferCodePrices2 = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (SubscriptionOfferCodeCustomCodes is { } __value0) - { - subscriptionOfferCodeCustomCodes?.Invoke(__value0); - } - else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1) + if (SubscriptionPricePoints is { } __value0) { - subscriptionOfferCodeOneTimeUseCodes?.Invoke(__value1); + subscriptionPricePoints?.Invoke(__value0); } - else if (SubscriptionOfferCodePrices1 is { } __value2) + else if (Territories is { } __value1) { - subscriptionOfferCodePrices1?.Invoke(__value2); - } - else if (SubscriptionOfferCodePrices2 is { } __value3) - { - subscriptionOfferCodePrices2?.Invoke(__value3); + territories?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionOfferCodeCustomCodes = null, - global::System.Action? subscriptionOfferCodeOneTimeUseCodes = null, - global::System.Action? subscriptionOfferCodePrices1 = null, - global::System.Action? subscriptionOfferCodePrices2 = null, + global::System.Action? subscriptionPricePoints = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (SubscriptionOfferCodeCustomCodes is { } __value0) - { - subscriptionOfferCodeCustomCodes?.Invoke(__value0); - } - else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1) - { - subscriptionOfferCodeOneTimeUseCodes?.Invoke(__value1); - } - else if (SubscriptionOfferCodePrices1 is { } __value2) + if (SubscriptionPricePoints is { } __value0) { - subscriptionOfferCodePrices1?.Invoke(__value2); + subscriptionPricePoints?.Invoke(__value0); } - else if (SubscriptionOfferCodePrices2 is { } __value3) + else if (Territories is { } __value1) { - subscriptionOfferCodePrices2?.Invoke(__value3); + territories?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionOfferCodeCustomCodes, - typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), - SubscriptionOfferCodeOneTimeUseCodes, - typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), - SubscriptionOfferCodePrices1, - typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), - SubscriptionOfferCodePrices2, - typeof(global::AppStoreConnect.Subscription), + SubscriptionPricePoints, + typeof(global::AppStoreConnect.SubscriptionPricePoint), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem168 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodeCustomCodes, other.SubscriptionOfferCodeCustomCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodeOneTimeUseCodes, other.SubscriptionOfferCodeOneTimeUseCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodePrices1, other.SubscriptionOfferCodePrices1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodePrices2, other.SubscriptionOfferCodePrices2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem169.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem169.g.cs index 03eb0bdb2..5e213c20b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem169.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem169.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? SubscriptionOfferCodeCustomCodes { get; init; } #else - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? SubscriptionOfferCodeCustomCodes { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodeCustomCodes))] #endif - public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; + public bool IsSubscriptionOfferCodeCustomCodes => SubscriptionOfferCodeCustomCodes != null; /// /// /// - public bool TryPickSubscriptionPricePoints( + public bool TryPickSubscriptionOfferCodeCustomCodes( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionPricePoint? value) + out global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) { - value = SubscriptionPricePoints; - return IsSubscriptionPricePoints; + value = SubscriptionOfferCodeCustomCodes; + return IsSubscriptionOfferCodeCustomCodes; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value + public global::AppStoreConnect.SubscriptionOfferCodeCustomCode PickSubscriptionOfferCodeCustomCodes() => SubscriptionOfferCodeCustomCodes is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodeCustomCodes' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? SubscriptionOfferCodeOneTimeUseCodes { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? SubscriptionOfferCodeOneTimeUseCodes { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodeOneTimeUseCodes))] #endif - public bool IsTerritories => Territories != null; + public bool IsSubscriptionOfferCodeOneTimeUseCodes => SubscriptionOfferCodeOneTimeUseCodes != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickSubscriptionOfferCodeOneTimeUseCodes( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) { - value = Territories; - return IsTerritories; + value = SubscriptionOfferCodeOneTimeUseCodes; + return IsSubscriptionOfferCodeOneTimeUseCodes; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode PickSubscriptionOfferCodeOneTimeUseCodes() => SubscriptionOfferCodeOneTimeUseCodes is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodeOneTimeUseCodes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionOfferCodePrice? SubscriptionOfferCodePrices1 { get; init; } +#else + public global::AppStoreConnect.SubscriptionOfferCodePrice? SubscriptionOfferCodePrices1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodePrices1))] +#endif + public bool IsSubscriptionOfferCodePrices1 => SubscriptionOfferCodePrices1 != null; + + /// + /// + /// + public bool TryPickSubscriptionOfferCodePrices1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionOfferCodePrice? value) + { + value = SubscriptionOfferCodePrices1; + return IsSubscriptionOfferCodePrices1; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodePrice PickSubscriptionOfferCodePrices1() => SubscriptionOfferCodePrices1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodePrices1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Subscription? SubscriptionOfferCodePrices2 { get; init; } +#else + public global::AppStoreConnect.Subscription? SubscriptionOfferCodePrices2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodePrices2))] +#endif + public bool IsSubscriptionOfferCodePrices2 => SubscriptionOfferCodePrices2 != null; + + /// + /// + /// + public bool TryPickSubscriptionOfferCodePrices2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Subscription? value) + { + value = SubscriptionOfferCodePrices2; + return IsSubscriptionOfferCodePrices2; + } + + /// + /// + /// + public global::AppStoreConnect.Subscription PickSubscriptionOfferCodePrices2() => SubscriptionOfferCodePrices2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodePrices2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem169(global::AppStoreConnect.SubscriptionOfferCodeCustomCode value) => new IncludedItem169((global::AppStoreConnect.SubscriptionOfferCodeCustomCode?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionOfferCodeCustomCode?(IncludedItem169 @this) => @this.SubscriptionOfferCodeCustomCodes; + + /// + /// + /// + public IncludedItem169(global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) + { + SubscriptionOfferCodeCustomCodes = value; + } + + /// + /// + /// + public static IncludedItem169 FromSubscriptionOfferCodeCustomCodes(global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) => new IncludedItem169(value); + + /// + /// + /// + public static implicit operator IncludedItem169(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode value) => new IncludedItem169((global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode?(IncludedItem169 @this) => @this.SubscriptionOfferCodeOneTimeUseCodes; + /// /// /// - public static implicit operator IncludedItem169(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem169((global::AppStoreConnect.SubscriptionPricePoint?)value); + public IncludedItem169(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) + { + SubscriptionOfferCodeOneTimeUseCodes = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem169 @this) => @this.SubscriptionPricePoints; + public static IncludedItem169 FromSubscriptionOfferCodeOneTimeUseCodes(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) => new IncludedItem169(value); /// /// /// - public IncludedItem169(global::AppStoreConnect.SubscriptionPricePoint? value) + public static implicit operator IncludedItem169(global::AppStoreConnect.SubscriptionOfferCodePrice value) => new IncludedItem169((global::AppStoreConnect.SubscriptionOfferCodePrice?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionOfferCodePrice?(IncludedItem169 @this) => @this.SubscriptionOfferCodePrices1; + + /// + /// + /// + public IncludedItem169(global::AppStoreConnect.SubscriptionOfferCodePrice? value) { - SubscriptionPricePoints = value; + SubscriptionOfferCodePrices1 = value; } /// /// /// - public static IncludedItem169 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem169(value); + public static IncludedItem169 FromSubscriptionOfferCodePrices1(global::AppStoreConnect.SubscriptionOfferCodePrice? value) => new IncludedItem169(value); /// /// /// - public static implicit operator IncludedItem169(global::AppStoreConnect.Territory value) => new IncludedItem169((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem169(global::AppStoreConnect.Subscription value) => new IncludedItem169((global::AppStoreConnect.Subscription?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem169 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem169 @this) => @this.SubscriptionOfferCodePrices2; /// /// /// - public IncludedItem169(global::AppStoreConnect.Territory? value) + public IncludedItem169(global::AppStoreConnect.Subscription? value) { - Territories = value; + SubscriptionOfferCodePrices2 = value; } /// /// /// - public static IncludedItem169 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem169(value); + public static IncludedItem169 FromSubscriptionOfferCodePrices2(global::AppStoreConnect.Subscription? value) => new IncludedItem169(value); /// /// /// public IncludedItem169( - global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.SubscriptionOfferCodesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionOfferCodeCustomCode? subscriptionOfferCodeCustomCodes, + global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? subscriptionOfferCodeOneTimeUseCodes, + global::AppStoreConnect.SubscriptionOfferCodePrice? subscriptionOfferCodePrices1, + global::AppStoreConnect.Subscription? subscriptionOfferCodePrices2 ) { Type = type; - SubscriptionPricePoints = subscriptionPricePoints; - Territories = territories; + SubscriptionOfferCodeCustomCodes = subscriptionOfferCodeCustomCodes; + SubscriptionOfferCodeOneTimeUseCodes = subscriptionOfferCodeOneTimeUseCodes; + SubscriptionOfferCodePrices1 = subscriptionOfferCodePrices1; + SubscriptionOfferCodePrices2 = subscriptionOfferCodePrices2; } /// /// /// public object? Object => - Territories as object ?? - SubscriptionPricePoints as object + SubscriptionOfferCodePrices2 as object ?? + SubscriptionOfferCodePrices1 as object ?? + SubscriptionOfferCodeOneTimeUseCodes as object ?? + SubscriptionOfferCodeCustomCodes as object ; /// /// /// public override string? ToString() => - SubscriptionPricePoints?.ToString() ?? - Territories?.ToString() + SubscriptionOfferCodeCustomCodes?.ToString() ?? + SubscriptionOfferCodeOneTimeUseCodes?.ToString() ?? + SubscriptionOfferCodePrices1?.ToString() ?? + SubscriptionOfferCodePrices2?.ToString() ; /// @@ -169,15 +297,17 @@ SubscriptionPricePoints as object /// public bool Validate() { - return IsSubscriptionPricePoints && !IsTerritories || !IsSubscriptionPricePoints && IsTerritories; + return IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && IsSubscriptionOfferCodePrices2; } /// /// /// public TResult? Match( - global::System.Func? subscriptionPricePoints = null, - global::System.Func? territories = null, + global::System.Func? subscriptionOfferCodeCustomCodes = null, + global::System.Func? subscriptionOfferCodeOneTimeUseCodes = null, + global::System.Func? subscriptionOfferCodePrices1 = null, + global::System.Func? subscriptionOfferCodePrices2 = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) + if (SubscriptionOfferCodeCustomCodes is { } __value0 && subscriptionOfferCodeCustomCodes != null) + { + return subscriptionOfferCodeCustomCodes(__value0); + } + else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1 && subscriptionOfferCodeOneTimeUseCodes != null) + { + return subscriptionOfferCodeOneTimeUseCodes(__value1); + } + else if (SubscriptionOfferCodePrices1 is { } __value2 && subscriptionOfferCodePrices1 != null) { - return subscriptionPricePoints(__value0); + return subscriptionOfferCodePrices1(__value2); } - else if (Territories is { } __value1 && territories != null) + else if (SubscriptionOfferCodePrices2 is { } __value3 && subscriptionOfferCodePrices2 != null) { - return territories(__value1); + return subscriptionOfferCodePrices2(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionPricePoints = null, + global::System.Action? subscriptionOfferCodeCustomCodes = null, + + global::System.Action? subscriptionOfferCodeOneTimeUseCodes = null, - global::System.Action? territories = null, + global::System.Action? subscriptionOfferCodePrices1 = null, + + global::System.Action? subscriptionOfferCodePrices2 = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (SubscriptionOfferCodeCustomCodes is { } __value0) + { + subscriptionOfferCodeCustomCodes?.Invoke(__value0); + } + else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionOfferCodeOneTimeUseCodes?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (SubscriptionOfferCodePrices1 is { } __value2) { - territories?.Invoke(__value1); + subscriptionOfferCodePrices1?.Invoke(__value2); + } + else if (SubscriptionOfferCodePrices2 is { } __value3) + { + subscriptionOfferCodePrices2?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionPricePoints = null, - global::System.Action? territories = null, + global::System.Action? subscriptionOfferCodeCustomCodes = null, + global::System.Action? subscriptionOfferCodeOneTimeUseCodes = null, + global::System.Action? subscriptionOfferCodePrices1 = null, + global::System.Action? subscriptionOfferCodePrices2 = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (SubscriptionOfferCodeCustomCodes is { } __value0) + { + subscriptionOfferCodeCustomCodes?.Invoke(__value0); + } + else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1) + { + subscriptionOfferCodeOneTimeUseCodes?.Invoke(__value1); + } + else if (SubscriptionOfferCodePrices1 is { } __value2) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionOfferCodePrices1?.Invoke(__value2); } - else if (Territories is { } __value1) + else if (SubscriptionOfferCodePrices2 is { } __value3) { - territories?.Invoke(__value1); + subscriptionOfferCodePrices2?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionPricePoints, - typeof(global::AppStoreConnect.SubscriptionPricePoint), - Territories, - typeof(global::AppStoreConnect.Territory), + SubscriptionOfferCodeCustomCodes, + typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), + SubscriptionOfferCodeOneTimeUseCodes, + typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), + SubscriptionOfferCodePrices1, + typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), + SubscriptionOfferCodePrices2, + typeof(global::AppStoreConnect.Subscription), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem169 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodeCustomCodes, other.SubscriptionOfferCodeCustomCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodeOneTimeUseCodes, other.SubscriptionOfferCodeOneTimeUseCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodePrices1, other.SubscriptionOfferCodePrices1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodePrices2, other.SubscriptionOfferCodePrices2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem19.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem17.Json.g.cs similarity index 89% rename from src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem19.Json.g.cs rename to src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem17.Json.g.cs index 3f8e1e498..3ff83b7bb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem19.Json.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem17.Json.g.cs @@ -2,7 +2,7 @@ namespace AppStoreConnect { - public readonly partial struct IncludedItem19 + public readonly partial struct IncludedItem17 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AppStoreConnect.IncludedItem19? FromJson( + public static global::AppStoreConnect.IncludedItem17? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AppStoreConnect.IncludedItem19), - jsonSerializerContext) as global::AppStoreConnect.IncludedItem19?; + typeof(global::AppStoreConnect.IncludedItem17), + jsonSerializerContext) as global::AppStoreConnect.IncludedItem17?; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AppStoreConnect.IncludedItem19? FromJson( + public static global::AppStoreConnect.IncludedItem17? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AppStoreConnect.IncludedItem19? FromJson( + public static global::AppStoreConnect.IncludedItem17? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AppStoreConnect.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AppStoreConnect.IncludedItem19), - jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem19?; + typeof(global::AppStoreConnect.IncludedItem17), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem17?; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AppStoreConnect.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem17.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem17.g.cs new file mode 100644 index 000000000..d6cc38b97 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem17.g.cs @@ -0,0 +1,386 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct IncludedItem17 : global::System.IEquatable + { + /// + /// + /// + public global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations1 { get; init; } +#else + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations1))] +#endif + public bool IsAppCustomProductPageLocalizations1 => AppCustomProductPageLocalizations1 != null; + + /// + /// + /// + public bool TryPickAppCustomProductPageLocalizations1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppCustomProductPageLocalization? value) + { + value = AppCustomProductPageLocalizations1; + return IsAppCustomProductPageLocalizations1; + } + + /// + /// + /// + public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations1() => AppCustomProductPageLocalizations1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } +#else + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] +#endif + public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; + + /// + /// + /// + public bool TryPickAppCustomProductPageVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppCustomProductPageVersion? value) + { + value = AppCustomProductPageVersions; + return IsAppCustomProductPageVersions; + } + + /// + /// + /// + public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppCustomProductPageLocalizations2 { get; init; } +#else + public global::AppStoreConnect.App? AppCustomProductPageLocalizations2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations2))] +#endif + public bool IsAppCustomProductPageLocalizations2 => AppCustomProductPageLocalizations2 != null; + + /// + /// + /// + public bool TryPickAppCustomProductPageLocalizations2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.App? value) + { + value = AppCustomProductPageLocalizations2; + return IsAppCustomProductPageLocalizations2; + } + + /// + /// + /// + public global::AppStoreConnect.App PickAppCustomProductPageLocalizations2() => AppCustomProductPageLocalizations2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem17(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem17((global::AppStoreConnect.AppCustomProductPageLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem17 @this) => @this.AppCustomProductPageLocalizations1; + + /// + /// + /// + public IncludedItem17(global::AppStoreConnect.AppCustomProductPageLocalization? value) + { + AppCustomProductPageLocalizations1 = value; + } + + /// + /// + /// + public static IncludedItem17 FromAppCustomProductPageLocalizations1(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem17(value); + + /// + /// + /// + public static implicit operator IncludedItem17(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem17((global::AppStoreConnect.AppCustomProductPageVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem17 @this) => @this.AppCustomProductPageVersions; + + /// + /// + /// + public IncludedItem17(global::AppStoreConnect.AppCustomProductPageVersion? value) + { + AppCustomProductPageVersions = value; + } + + /// + /// + /// + public static IncludedItem17 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem17(value); + + /// + /// + /// + public static implicit operator IncludedItem17(global::AppStoreConnect.App value) => new IncludedItem17((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem17 @this) => @this.AppCustomProductPageLocalizations2; + + /// + /// + /// + public IncludedItem17(global::AppStoreConnect.App? value) + { + AppCustomProductPageLocalizations2 = value; + } + + /// + /// + /// + public static IncludedItem17 FromAppCustomProductPageLocalizations2(global::AppStoreConnect.App? value) => new IncludedItem17(value); + + /// + /// + /// + public IncludedItem17( + global::AppStoreConnect.AppCustomProductPagesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1, + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, + global::AppStoreConnect.App? appCustomProductPageLocalizations2 + ) + { + Type = type; + + AppCustomProductPageLocalizations1 = appCustomProductPageLocalizations1; + AppCustomProductPageVersions = appCustomProductPageVersions; + AppCustomProductPageLocalizations2 = appCustomProductPageLocalizations2; + } + + /// + /// + /// + public object? Object => + AppCustomProductPageLocalizations2 as object ?? + AppCustomProductPageVersions as object ?? + AppCustomProductPageLocalizations1 as object + ; + + /// + /// + /// + public override string? ToString() => + AppCustomProductPageLocalizations1?.ToString() ?? + AppCustomProductPageVersions?.ToString() ?? + AppCustomProductPageLocalizations2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageVersions && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && IsAppCustomProductPageVersions && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageVersions && IsAppCustomProductPageLocalizations2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? appCustomProductPageLocalizations1 = null, + global::System.Func? appCustomProductPageVersions = null, + global::System.Func? appCustomProductPageLocalizations2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppCustomProductPageLocalizations1 is { } __value0 && appCustomProductPageLocalizations1 != null) + { + return appCustomProductPageLocalizations1(__value0); + } + else if (AppCustomProductPageVersions is { } __value1 && appCustomProductPageVersions != null) + { + return appCustomProductPageVersions(__value1); + } + else if (AppCustomProductPageLocalizations2 is { } __value2 && appCustomProductPageLocalizations2 != null) + { + return appCustomProductPageLocalizations2(__value2); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? appCustomProductPageLocalizations1 = null, + + global::System.Action? appCustomProductPageVersions = null, + + global::System.Action? appCustomProductPageLocalizations2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppCustomProductPageLocalizations1 is { } __value0) + { + appCustomProductPageLocalizations1?.Invoke(__value0); + } + else if (AppCustomProductPageVersions is { } __value1) + { + appCustomProductPageVersions?.Invoke(__value1); + } + else if (AppCustomProductPageLocalizations2 is { } __value2) + { + appCustomProductPageLocalizations2?.Invoke(__value2); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? appCustomProductPageLocalizations1 = null, + global::System.Action? appCustomProductPageVersions = null, + global::System.Action? appCustomProductPageLocalizations2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (AppCustomProductPageLocalizations1 is { } __value0) + { + appCustomProductPageLocalizations1?.Invoke(__value0); + } + else if (AppCustomProductPageVersions is { } __value1) + { + appCustomProductPageVersions?.Invoke(__value1); + } + else if (AppCustomProductPageLocalizations2 is { } __value2) + { + appCustomProductPageLocalizations2?.Invoke(__value2); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AppCustomProductPageLocalizations1, + typeof(global::AppStoreConnect.AppCustomProductPageLocalization), + AppCustomProductPageVersions, + typeof(global::AppStoreConnect.AppCustomProductPageVersion), + AppCustomProductPageLocalizations2, + typeof(global::AppStoreConnect.App), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(IncludedItem17 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations1, other.AppCustomProductPageLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations2, other.AppCustomProductPageLocalizations2) + ; + } + + /// + /// + /// + public static bool operator ==(IncludedItem17 obj1, IncludedItem17 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(IncludedItem17 obj1, IncludedItem17 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is IncludedItem17 o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem170.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem170.g.cs index b5c09ed89..aeff7a5a4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem170.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem170.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? SubscriptionOfferCodeCustomCodes { get; init; } #else - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } + public global::AppStoreConnect.SubscriptionOfferCodeCustomCode? SubscriptionOfferCodeCustomCodes { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodeCustomCodes))] #endif - public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; + public bool IsSubscriptionOfferCodeCustomCodes => SubscriptionOfferCodeCustomCodes != null; /// /// /// - public bool TryPickSubscriptionPricePoints( + public bool TryPickSubscriptionOfferCodeCustomCodes( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionPricePoint? value) + out global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) { - value = SubscriptionPricePoints; - return IsSubscriptionPricePoints; + value = SubscriptionOfferCodeCustomCodes; + return IsSubscriptionOfferCodeCustomCodes; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value + public global::AppStoreConnect.SubscriptionOfferCodeCustomCode PickSubscriptionOfferCodeCustomCodes() => SubscriptionOfferCodeCustomCodes is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodeCustomCodes' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? SubscriptionOfferCodeOneTimeUseCodes { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? SubscriptionOfferCodeOneTimeUseCodes { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodeOneTimeUseCodes))] #endif - public bool IsTerritories => Territories != null; + public bool IsSubscriptionOfferCodeOneTimeUseCodes => SubscriptionOfferCodeOneTimeUseCodes != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickSubscriptionOfferCodeOneTimeUseCodes( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) { - value = Territories; - return IsTerritories; + value = SubscriptionOfferCodeOneTimeUseCodes; + return IsSubscriptionOfferCodeOneTimeUseCodes; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode PickSubscriptionOfferCodeOneTimeUseCodes() => SubscriptionOfferCodeOneTimeUseCodes is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodeOneTimeUseCodes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionOfferCodePrice? SubscriptionOfferCodePrices1 { get; init; } +#else + public global::AppStoreConnect.SubscriptionOfferCodePrice? SubscriptionOfferCodePrices1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodePrices1))] +#endif + public bool IsSubscriptionOfferCodePrices1 => SubscriptionOfferCodePrices1 != null; + + /// + /// + /// + public bool TryPickSubscriptionOfferCodePrices1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionOfferCodePrice? value) + { + value = SubscriptionOfferCodePrices1; + return IsSubscriptionOfferCodePrices1; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCodePrice PickSubscriptionOfferCodePrices1() => SubscriptionOfferCodePrices1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodePrices1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Subscription? SubscriptionOfferCodePrices2 { get; init; } +#else + public global::AppStoreConnect.Subscription? SubscriptionOfferCodePrices2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodePrices2))] +#endif + public bool IsSubscriptionOfferCodePrices2 => SubscriptionOfferCodePrices2 != null; + + /// + /// + /// + public bool TryPickSubscriptionOfferCodePrices2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Subscription? value) + { + value = SubscriptionOfferCodePrices2; + return IsSubscriptionOfferCodePrices2; + } + + /// + /// + /// + public global::AppStoreConnect.Subscription PickSubscriptionOfferCodePrices2() => SubscriptionOfferCodePrices2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodePrices2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem170(global::AppStoreConnect.SubscriptionOfferCodeCustomCode value) => new IncludedItem170((global::AppStoreConnect.SubscriptionOfferCodeCustomCode?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionOfferCodeCustomCode?(IncludedItem170 @this) => @this.SubscriptionOfferCodeCustomCodes; + + /// + /// + /// + public IncludedItem170(global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) + { + SubscriptionOfferCodeCustomCodes = value; + } + + /// + /// + /// + public static IncludedItem170 FromSubscriptionOfferCodeCustomCodes(global::AppStoreConnect.SubscriptionOfferCodeCustomCode? value) => new IncludedItem170(value); + + /// + /// + /// + public static implicit operator IncludedItem170(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode value) => new IncludedItem170((global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode?(IncludedItem170 @this) => @this.SubscriptionOfferCodeOneTimeUseCodes; + /// /// /// - public static implicit operator IncludedItem170(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem170((global::AppStoreConnect.SubscriptionPricePoint?)value); + public IncludedItem170(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) + { + SubscriptionOfferCodeOneTimeUseCodes = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem170 @this) => @this.SubscriptionPricePoints; + public static IncludedItem170 FromSubscriptionOfferCodeOneTimeUseCodes(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? value) => new IncludedItem170(value); /// /// /// - public IncludedItem170(global::AppStoreConnect.SubscriptionPricePoint? value) + public static implicit operator IncludedItem170(global::AppStoreConnect.SubscriptionOfferCodePrice value) => new IncludedItem170((global::AppStoreConnect.SubscriptionOfferCodePrice?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionOfferCodePrice?(IncludedItem170 @this) => @this.SubscriptionOfferCodePrices1; + + /// + /// + /// + public IncludedItem170(global::AppStoreConnect.SubscriptionOfferCodePrice? value) { - SubscriptionPricePoints = value; + SubscriptionOfferCodePrices1 = value; } /// /// /// - public static IncludedItem170 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem170(value); + public static IncludedItem170 FromSubscriptionOfferCodePrices1(global::AppStoreConnect.SubscriptionOfferCodePrice? value) => new IncludedItem170(value); /// /// /// - public static implicit operator IncludedItem170(global::AppStoreConnect.Territory value) => new IncludedItem170((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem170(global::AppStoreConnect.Subscription value) => new IncludedItem170((global::AppStoreConnect.Subscription?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem170 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem170 @this) => @this.SubscriptionOfferCodePrices2; /// /// /// - public IncludedItem170(global::AppStoreConnect.Territory? value) + public IncludedItem170(global::AppStoreConnect.Subscription? value) { - Territories = value; + SubscriptionOfferCodePrices2 = value; } /// /// /// - public static IncludedItem170 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem170(value); + public static IncludedItem170 FromSubscriptionOfferCodePrices2(global::AppStoreConnect.Subscription? value) => new IncludedItem170(value); /// /// /// public IncludedItem170( - global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.SubscriptionOfferCodeResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionOfferCodeCustomCode? subscriptionOfferCodeCustomCodes, + global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode? subscriptionOfferCodeOneTimeUseCodes, + global::AppStoreConnect.SubscriptionOfferCodePrice? subscriptionOfferCodePrices1, + global::AppStoreConnect.Subscription? subscriptionOfferCodePrices2 ) { Type = type; - SubscriptionPricePoints = subscriptionPricePoints; - Territories = territories; + SubscriptionOfferCodeCustomCodes = subscriptionOfferCodeCustomCodes; + SubscriptionOfferCodeOneTimeUseCodes = subscriptionOfferCodeOneTimeUseCodes; + SubscriptionOfferCodePrices1 = subscriptionOfferCodePrices1; + SubscriptionOfferCodePrices2 = subscriptionOfferCodePrices2; } /// /// /// public object? Object => - Territories as object ?? - SubscriptionPricePoints as object + SubscriptionOfferCodePrices2 as object ?? + SubscriptionOfferCodePrices1 as object ?? + SubscriptionOfferCodeOneTimeUseCodes as object ?? + SubscriptionOfferCodeCustomCodes as object ; /// /// /// public override string? ToString() => - SubscriptionPricePoints?.ToString() ?? - Territories?.ToString() + SubscriptionOfferCodeCustomCodes?.ToString() ?? + SubscriptionOfferCodeOneTimeUseCodes?.ToString() ?? + SubscriptionOfferCodePrices1?.ToString() ?? + SubscriptionOfferCodePrices2?.ToString() ; /// @@ -169,15 +297,17 @@ SubscriptionPricePoints as object /// public bool Validate() { - return IsSubscriptionPricePoints && !IsTerritories || !IsSubscriptionPricePoints && IsTerritories; + return IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && IsSubscriptionOfferCodePrices1 && !IsSubscriptionOfferCodePrices2 || !IsSubscriptionOfferCodeCustomCodes && !IsSubscriptionOfferCodeOneTimeUseCodes && !IsSubscriptionOfferCodePrices1 && IsSubscriptionOfferCodePrices2; } /// /// /// public TResult? Match( - global::System.Func? subscriptionPricePoints = null, - global::System.Func? territories = null, + global::System.Func? subscriptionOfferCodeCustomCodes = null, + global::System.Func? subscriptionOfferCodeOneTimeUseCodes = null, + global::System.Func? subscriptionOfferCodePrices1 = null, + global::System.Func? subscriptionOfferCodePrices2 = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) + if (SubscriptionOfferCodeCustomCodes is { } __value0 && subscriptionOfferCodeCustomCodes != null) + { + return subscriptionOfferCodeCustomCodes(__value0); + } + else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1 && subscriptionOfferCodeOneTimeUseCodes != null) + { + return subscriptionOfferCodeOneTimeUseCodes(__value1); + } + else if (SubscriptionOfferCodePrices1 is { } __value2 && subscriptionOfferCodePrices1 != null) { - return subscriptionPricePoints(__value0); + return subscriptionOfferCodePrices1(__value2); } - else if (Territories is { } __value1 && territories != null) + else if (SubscriptionOfferCodePrices2 is { } __value3 && subscriptionOfferCodePrices2 != null) { - return territories(__value1); + return subscriptionOfferCodePrices2(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionPricePoints = null, + global::System.Action? subscriptionOfferCodeCustomCodes = null, + + global::System.Action? subscriptionOfferCodeOneTimeUseCodes = null, - global::System.Action? territories = null, + global::System.Action? subscriptionOfferCodePrices1 = null, + + global::System.Action? subscriptionOfferCodePrices2 = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (SubscriptionOfferCodeCustomCodes is { } __value0) + { + subscriptionOfferCodeCustomCodes?.Invoke(__value0); + } + else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionOfferCodeOneTimeUseCodes?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (SubscriptionOfferCodePrices1 is { } __value2) { - territories?.Invoke(__value1); + subscriptionOfferCodePrices1?.Invoke(__value2); + } + else if (SubscriptionOfferCodePrices2 is { } __value3) + { + subscriptionOfferCodePrices2?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionPricePoints = null, - global::System.Action? territories = null, + global::System.Action? subscriptionOfferCodeCustomCodes = null, + global::System.Action? subscriptionOfferCodeOneTimeUseCodes = null, + global::System.Action? subscriptionOfferCodePrices1 = null, + global::System.Action? subscriptionOfferCodePrices2 = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (SubscriptionOfferCodeCustomCodes is { } __value0) + { + subscriptionOfferCodeCustomCodes?.Invoke(__value0); + } + else if (SubscriptionOfferCodeOneTimeUseCodes is { } __value1) + { + subscriptionOfferCodeOneTimeUseCodes?.Invoke(__value1); + } + else if (SubscriptionOfferCodePrices1 is { } __value2) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionOfferCodePrices1?.Invoke(__value2); } - else if (Territories is { } __value1) + else if (SubscriptionOfferCodePrices2 is { } __value3) { - territories?.Invoke(__value1); + subscriptionOfferCodePrices2?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionPricePoints, - typeof(global::AppStoreConnect.SubscriptionPricePoint), - Territories, - typeof(global::AppStoreConnect.Territory), + SubscriptionOfferCodeCustomCodes, + typeof(global::AppStoreConnect.SubscriptionOfferCodeCustomCode), + SubscriptionOfferCodeOneTimeUseCodes, + typeof(global::AppStoreConnect.SubscriptionOfferCodeOneTimeUseCode), + SubscriptionOfferCodePrices1, + typeof(global::AppStoreConnect.SubscriptionOfferCodePrice), + SubscriptionOfferCodePrices2, + typeof(global::AppStoreConnect.Subscription), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem170 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodeCustomCodes, other.SubscriptionOfferCodeCustomCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodeOneTimeUseCodes, other.SubscriptionOfferCodeOneTimeUseCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodePrices1, other.SubscriptionOfferCodePrices1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodePrices2, other.SubscriptionOfferCodePrices2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem171.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem171.g.cs index 9f831a497..49a65d294 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem171.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem171.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -137,7 +137,7 @@ public IncludedItem171(global::AppStoreConnect.Territory? value) /// /// public IncludedItem171( - global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionPricesResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, global::AppStoreConnect.Territory? territories ) diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem172.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem172.g.cs index 81b3f3827..34b80a9b0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem172.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem172.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? SubscriptionPromotionalOfferPrices { get; init; } + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } #else - public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? SubscriptionPromotionalOfferPrices { get; } + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPromotionalOfferPrices))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] #endif - public bool IsSubscriptionPromotionalOfferPrices => SubscriptionPromotionalOfferPrices != null; + public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; /// /// /// - public bool TryPickSubscriptionPromotionalOfferPrices( + public bool TryPickSubscriptionPricePoints( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) + out global::AppStoreConnect.SubscriptionPricePoint? value) { - value = SubscriptionPromotionalOfferPrices; - return IsSubscriptionPromotionalOfferPrices; + value = SubscriptionPricePoints; + return IsSubscriptionPricePoints; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPrice PickSubscriptionPromotionalOfferPrices() => SubscriptionPromotionalOfferPrices is { } value + public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPromotionalOfferPrices' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? Subscriptions { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.Subscription? Subscriptions { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsSubscriptions => Subscriptions != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickSubscriptions( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Subscription? value) + out global::AppStoreConnect.Territory? value) { - value = Subscriptions; - return IsSubscriptions; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem172(global::AppStoreConnect.SubscriptionPromotionalOfferPrice value) => new IncludedItem172((global::AppStoreConnect.SubscriptionPromotionalOfferPrice?)value); + public static implicit operator IncludedItem172(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem172((global::AppStoreConnect.SubscriptionPricePoint?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionPromotionalOfferPrice?(IncludedItem172 @this) => @this.SubscriptionPromotionalOfferPrices; + public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem172 @this) => @this.SubscriptionPricePoints; /// /// /// - public IncludedItem172(global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) + public IncludedItem172(global::AppStoreConnect.SubscriptionPricePoint? value) { - SubscriptionPromotionalOfferPrices = value; + SubscriptionPricePoints = value; } /// /// /// - public static IncludedItem172 FromSubscriptionPromotionalOfferPrices(global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) => new IncludedItem172(value); + public static IncludedItem172 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem172(value); /// /// /// - public static implicit operator IncludedItem172(global::AppStoreConnect.Subscription value) => new IncludedItem172((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem172(global::AppStoreConnect.Territory value) => new IncludedItem172((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem172 @this) => @this.Subscriptions; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem172 @this) => @this.Territories; /// /// /// - public IncludedItem172(global::AppStoreConnect.Subscription? value) + public IncludedItem172(global::AppStoreConnect.Territory? value) { - Subscriptions = value; + Territories = value; } /// /// /// - public static IncludedItem172 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem172(value); + public static IncludedItem172 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem172(value); /// /// /// public IncludedItem172( - global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionPromotionalOfferPrice? subscriptionPromotionalOfferPrices, - global::AppStoreConnect.Subscription? subscriptions + global::AppStoreConnect.SubscriptionPriceResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, + global::AppStoreConnect.Territory? territories ) { Type = type; - SubscriptionPromotionalOfferPrices = subscriptionPromotionalOfferPrices; - Subscriptions = subscriptions; + SubscriptionPricePoints = subscriptionPricePoints; + Territories = territories; } /// /// /// public object? Object => - Subscriptions as object ?? - SubscriptionPromotionalOfferPrices as object + Territories as object ?? + SubscriptionPricePoints as object ; /// /// /// public override string? ToString() => - SubscriptionPromotionalOfferPrices?.ToString() ?? - Subscriptions?.ToString() + SubscriptionPricePoints?.ToString() ?? + Territories?.ToString() ; /// @@ -169,15 +169,15 @@ SubscriptionPromotionalOfferPrices as object /// public bool Validate() { - return IsSubscriptionPromotionalOfferPrices && !IsSubscriptions || !IsSubscriptionPromotionalOfferPrices && IsSubscriptions; + return IsSubscriptionPricePoints && !IsTerritories || !IsSubscriptionPricePoints && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? subscriptionPromotionalOfferPrices = null, - global::System.Func? subscriptions = null, + global::System.Func? subscriptionPricePoints = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (SubscriptionPromotionalOfferPrices is { } __value0 && subscriptionPromotionalOfferPrices != null) + if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) { - return subscriptionPromotionalOfferPrices(__value0); + return subscriptionPricePoints(__value0); } - else if (Subscriptions is { } __value1 && subscriptions != null) + else if (Territories is { } __value1 && territories != null) { - return subscriptions(__value1); + return territories(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionPromotionalOfferPrices = null, + global::System.Action? subscriptionPricePoints = null, - global::System.Action? subscriptions = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (SubscriptionPromotionalOfferPrices is { } __value0) + if (SubscriptionPricePoints is { } __value0) { - subscriptionPromotionalOfferPrices?.Invoke(__value0); + subscriptionPricePoints?.Invoke(__value0); } - else if (Subscriptions is { } __value1) + else if (Territories is { } __value1) { - subscriptions?.Invoke(__value1); + territories?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionPromotionalOfferPrices = null, - global::System.Action? subscriptions = null, + global::System.Action? subscriptionPricePoints = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (SubscriptionPromotionalOfferPrices is { } __value0) + if (SubscriptionPricePoints is { } __value0) { - subscriptionPromotionalOfferPrices?.Invoke(__value0); + subscriptionPricePoints?.Invoke(__value0); } - else if (Subscriptions is { } __value1) + else if (Territories is { } __value1) { - subscriptions?.Invoke(__value1); + territories?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionPromotionalOfferPrices, - typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), - Subscriptions, - typeof(global::AppStoreConnect.Subscription), + SubscriptionPricePoints, + typeof(global::AppStoreConnect.SubscriptionPricePoint), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem172 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPromotionalOfferPrices, other.SubscriptionPromotionalOfferPrices) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem173.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem173.g.cs index fae30ec9d..735694588 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem173.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem173.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? SubscriptionPromotionalOfferPrices { get; init; } + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } #else - public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? SubscriptionPromotionalOfferPrices { get; } + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPromotionalOfferPrices))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] #endif - public bool IsSubscriptionPromotionalOfferPrices => SubscriptionPromotionalOfferPrices != null; + public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; /// /// /// - public bool TryPickSubscriptionPromotionalOfferPrices( + public bool TryPickSubscriptionPricePoints( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) + out global::AppStoreConnect.SubscriptionPricePoint? value) { - value = SubscriptionPromotionalOfferPrices; - return IsSubscriptionPromotionalOfferPrices; + value = SubscriptionPricePoints; + return IsSubscriptionPricePoints; } /// /// /// - public global::AppStoreConnect.SubscriptionPromotionalOfferPrice PickSubscriptionPromotionalOfferPrices() => SubscriptionPromotionalOfferPrices is { } value + public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPromotionalOfferPrices' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Subscription? Subscriptions { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.Subscription? Subscriptions { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsSubscriptions => Subscriptions != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickSubscriptions( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Subscription? value) + out global::AppStoreConnect.Territory? value) { - value = Subscriptions; - return IsSubscriptions; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem173(global::AppStoreConnect.SubscriptionPromotionalOfferPrice value) => new IncludedItem173((global::AppStoreConnect.SubscriptionPromotionalOfferPrice?)value); + public static implicit operator IncludedItem173(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem173((global::AppStoreConnect.SubscriptionPricePoint?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionPromotionalOfferPrice?(IncludedItem173 @this) => @this.SubscriptionPromotionalOfferPrices; + public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem173 @this) => @this.SubscriptionPricePoints; /// /// /// - public IncludedItem173(global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) + public IncludedItem173(global::AppStoreConnect.SubscriptionPricePoint? value) { - SubscriptionPromotionalOfferPrices = value; + SubscriptionPricePoints = value; } /// /// /// - public static IncludedItem173 FromSubscriptionPromotionalOfferPrices(global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) => new IncludedItem173(value); + public static IncludedItem173 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem173(value); /// /// /// - public static implicit operator IncludedItem173(global::AppStoreConnect.Subscription value) => new IncludedItem173((global::AppStoreConnect.Subscription?)value); + public static implicit operator IncludedItem173(global::AppStoreConnect.Territory value) => new IncludedItem173((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem173 @this) => @this.Subscriptions; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem173 @this) => @this.Territories; /// /// /// - public IncludedItem173(global::AppStoreConnect.Subscription? value) + public IncludedItem173(global::AppStoreConnect.Territory? value) { - Subscriptions = value; + Territories = value; } /// /// /// - public static IncludedItem173 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem173(value); + public static IncludedItem173 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem173(value); /// /// /// public IncludedItem173( - global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionPromotionalOfferPrice? subscriptionPromotionalOfferPrices, - global::AppStoreConnect.Subscription? subscriptions + global::AppStoreConnect.SubscriptionPromotionalOfferPricesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, + global::AppStoreConnect.Territory? territories ) { Type = type; - SubscriptionPromotionalOfferPrices = subscriptionPromotionalOfferPrices; - Subscriptions = subscriptions; + SubscriptionPricePoints = subscriptionPricePoints; + Territories = territories; } /// /// /// public object? Object => - Subscriptions as object ?? - SubscriptionPromotionalOfferPrices as object + Territories as object ?? + SubscriptionPricePoints as object ; /// /// /// public override string? ToString() => - SubscriptionPromotionalOfferPrices?.ToString() ?? - Subscriptions?.ToString() + SubscriptionPricePoints?.ToString() ?? + Territories?.ToString() ; /// @@ -169,15 +169,15 @@ SubscriptionPromotionalOfferPrices as object /// public bool Validate() { - return IsSubscriptionPromotionalOfferPrices && !IsSubscriptions || !IsSubscriptionPromotionalOfferPrices && IsSubscriptions; + return IsSubscriptionPricePoints && !IsTerritories || !IsSubscriptionPricePoints && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? subscriptionPromotionalOfferPrices = null, - global::System.Func? subscriptions = null, + global::System.Func? subscriptionPricePoints = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (SubscriptionPromotionalOfferPrices is { } __value0 && subscriptionPromotionalOfferPrices != null) + if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) { - return subscriptionPromotionalOfferPrices(__value0); + return subscriptionPricePoints(__value0); } - else if (Subscriptions is { } __value1 && subscriptions != null) + else if (Territories is { } __value1 && territories != null) { - return subscriptions(__value1); + return territories(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionPromotionalOfferPrices = null, + global::System.Action? subscriptionPricePoints = null, - global::System.Action? subscriptions = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (SubscriptionPromotionalOfferPrices is { } __value0) + if (SubscriptionPricePoints is { } __value0) { - subscriptionPromotionalOfferPrices?.Invoke(__value0); + subscriptionPricePoints?.Invoke(__value0); } - else if (Subscriptions is { } __value1) + else if (Territories is { } __value1) { - subscriptions?.Invoke(__value1); + territories?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionPromotionalOfferPrices = null, - global::System.Action? subscriptions = null, + global::System.Action? subscriptionPricePoints = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (SubscriptionPromotionalOfferPrices is { } __value0) + if (SubscriptionPricePoints is { } __value0) { - subscriptionPromotionalOfferPrices?.Invoke(__value0); + subscriptionPricePoints?.Invoke(__value0); } - else if (Subscriptions is { } __value1) + else if (Territories is { } __value1) { - subscriptions?.Invoke(__value1); + territories?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionPromotionalOfferPrices, - typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), - Subscriptions, - typeof(global::AppStoreConnect.Subscription), + SubscriptionPricePoints, + typeof(global::AppStoreConnect.SubscriptionPricePoint), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem173 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPromotionalOfferPrices, other.SubscriptionPromotionalOfferPrices) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem174.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem174.g.cs index 32b335fd7..b891b60b1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem174.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem174.g.cs @@ -12,81 +12,44 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionImageV2? SubscriptionImages { get; init; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? SubscriptionPromotionalOfferPrices { get; init; } #else - public global::AppStoreConnect.SubscriptionImageV2? SubscriptionImages { get; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? SubscriptionPromotionalOfferPrices { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPromotionalOfferPrices))] #endif - public bool IsSubscriptionImages => SubscriptionImages != null; + public bool IsSubscriptionPromotionalOfferPrices => SubscriptionPromotionalOfferPrices != null; /// /// /// - public bool TryPickSubscriptionImages( + public bool TryPickSubscriptionPromotionalOfferPrices( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionImageV2? value) + out global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) { - value = SubscriptionImages; - return IsSubscriptionImages; + value = SubscriptionPromotionalOfferPrices; + return IsSubscriptionPromotionalOfferPrices; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2 PickSubscriptionImages() => SubscriptionImages is { } value + public global::AppStoreConnect.SubscriptionPromotionalOfferPrice PickSubscriptionPromotionalOfferPrices() => SubscriptionPromotionalOfferPrices is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionImages' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionLocalizationV2? SubscriptionLocalizations { get; init; } -#else - public global::AppStoreConnect.SubscriptionLocalizationV2? SubscriptionLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionLocalizations))] -#endif - public bool IsSubscriptionLocalizations => SubscriptionLocalizations != null; - - /// - /// - /// - public bool TryPickSubscriptionLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionLocalizationV2? value) - { - value = SubscriptionLocalizations; - return IsSubscriptionLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionLocalizationV2 PickSubscriptionLocalizations() => SubscriptionLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPromotionalOfferPrices' but the value was {ToString()}."); /// /// @@ -127,48 +90,25 @@ public bool TryPickSubscriptions( /// /// /// - public static implicit operator IncludedItem174(global::AppStoreConnect.SubscriptionImageV2 value) => new IncludedItem174((global::AppStoreConnect.SubscriptionImageV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionImageV2?(IncludedItem174 @this) => @this.SubscriptionImages; - - /// - /// - /// - public IncludedItem174(global::AppStoreConnect.SubscriptionImageV2? value) - { - SubscriptionImages = value; - } - - /// - /// - /// - public static IncludedItem174 FromSubscriptionImages(global::AppStoreConnect.SubscriptionImageV2? value) => new IncludedItem174(value); + public static implicit operator IncludedItem174(global::AppStoreConnect.SubscriptionPromotionalOfferPrice value) => new IncludedItem174((global::AppStoreConnect.SubscriptionPromotionalOfferPrice?)value); /// /// /// - public static implicit operator IncludedItem174(global::AppStoreConnect.SubscriptionLocalizationV2 value) => new IncludedItem174((global::AppStoreConnect.SubscriptionLocalizationV2?)value); + public static implicit operator global::AppStoreConnect.SubscriptionPromotionalOfferPrice?(IncludedItem174 @this) => @this.SubscriptionPromotionalOfferPrices; /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionLocalizationV2?(IncludedItem174 @this) => @this.SubscriptionLocalizations; - - /// - /// - /// - public IncludedItem174(global::AppStoreConnect.SubscriptionLocalizationV2? value) + public IncludedItem174(global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) { - SubscriptionLocalizations = value; + SubscriptionPromotionalOfferPrices = value; } /// /// /// - public static IncludedItem174 FromSubscriptionLocalizations(global::AppStoreConnect.SubscriptionLocalizationV2? value) => new IncludedItem174(value); + public static IncludedItem174 FromSubscriptionPromotionalOfferPrices(global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) => new IncludedItem174(value); /// /// @@ -197,16 +137,14 @@ public IncludedItem174(global::AppStoreConnect.Subscription? value) /// /// public IncludedItem174( - global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionImageV2? subscriptionImages, - global::AppStoreConnect.SubscriptionLocalizationV2? subscriptionLocalizations, + global::AppStoreConnect.SubscriptionPromotionalOffersResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionPromotionalOfferPrice? subscriptionPromotionalOfferPrices, global::AppStoreConnect.Subscription? subscriptions ) { Type = type; - SubscriptionImages = subscriptionImages; - SubscriptionLocalizations = subscriptionLocalizations; + SubscriptionPromotionalOfferPrices = subscriptionPromotionalOfferPrices; Subscriptions = subscriptions; } @@ -215,16 +153,14 @@ public IncludedItem174( /// public object? Object => Subscriptions as object ?? - SubscriptionLocalizations as object ?? - SubscriptionImages as object + SubscriptionPromotionalOfferPrices as object ; /// /// /// public override string? ToString() => - SubscriptionImages?.ToString() ?? - SubscriptionLocalizations?.ToString() ?? + SubscriptionPromotionalOfferPrices?.ToString() ?? Subscriptions?.ToString() ; @@ -233,15 +169,14 @@ SubscriptionImages as object /// public bool Validate() { - return IsSubscriptionImages && !IsSubscriptionLocalizations && !IsSubscriptions || !IsSubscriptionImages && IsSubscriptionLocalizations && !IsSubscriptions || !IsSubscriptionImages && !IsSubscriptionLocalizations && IsSubscriptions; + return IsSubscriptionPromotionalOfferPrices && !IsSubscriptions || !IsSubscriptionPromotionalOfferPrices && IsSubscriptions; } /// /// /// public TResult? Match( - global::System.Func? subscriptionImages = null, - global::System.Func? subscriptionLocalizations = null, + global::System.Func? subscriptionPromotionalOfferPrices = null, global::System.Func? subscriptions = null, bool validate = true) { @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (SubscriptionImages is { } __value0 && subscriptionImages != null) + if (SubscriptionPromotionalOfferPrices is { } __value0 && subscriptionPromotionalOfferPrices != null) { - return subscriptionImages(__value0); + return subscriptionPromotionalOfferPrices(__value0); } - else if (SubscriptionLocalizations is { } __value1 && subscriptionLocalizations != null) + else if (Subscriptions is { } __value1 && subscriptions != null) { - return subscriptionLocalizations(__value1); - } - else if (Subscriptions is { } __value2 && subscriptions != null) - { - return subscriptions(__value2); + return subscriptions(__value1); } return default(TResult); @@ -270,9 +201,7 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionImages = null, - - global::System.Action? subscriptionLocalizations = null, + global::System.Action? subscriptionPromotionalOfferPrices = null, global::System.Action? subscriptions = null, bool validate = true) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (SubscriptionImages is { } __value0) - { - subscriptionImages?.Invoke(__value0); - } - else if (SubscriptionLocalizations is { } __value1) + if (SubscriptionPromotionalOfferPrices is { } __value0) { - subscriptionLocalizations?.Invoke(__value1); + subscriptionPromotionalOfferPrices?.Invoke(__value0); } - else if (Subscriptions is { } __value2) + else if (Subscriptions is { } __value1) { - subscriptions?.Invoke(__value2); + subscriptions?.Invoke(__value1); } } @@ -300,8 +225,7 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionImages = null, - global::System.Action? subscriptionLocalizations = null, + global::System.Action? subscriptionPromotionalOfferPrices = null, global::System.Action? subscriptions = null, bool validate = true) { @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (SubscriptionImages is { } __value0) - { - subscriptionImages?.Invoke(__value0); - } - else if (SubscriptionLocalizations is { } __value1) + if (SubscriptionPromotionalOfferPrices is { } __value0) { - subscriptionLocalizations?.Invoke(__value1); + subscriptionPromotionalOfferPrices?.Invoke(__value0); } - else if (Subscriptions is { } __value2) + else if (Subscriptions is { } __value1) { - subscriptions?.Invoke(__value2); + subscriptions?.Invoke(__value1); } } @@ -331,10 +251,8 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionImages, - typeof(global::AppStoreConnect.SubscriptionImageV2), - SubscriptionLocalizations, - typeof(global::AppStoreConnect.SubscriptionLocalizationV2), + SubscriptionPromotionalOfferPrices, + typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), Subscriptions, typeof(global::AppStoreConnect.Subscription), }; @@ -353,8 +271,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem174 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionImages, other.SubscriptionImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionLocalizations, other.SubscriptionLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPromotionalOfferPrices, other.SubscriptionPromotionalOfferPrices) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem175.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem175.g.cs index 52394c925..4eefc6b3d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem175.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem175.g.cs @@ -12,81 +12,44 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionImageV2? SubscriptionImages { get; init; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? SubscriptionPromotionalOfferPrices { get; init; } #else - public global::AppStoreConnect.SubscriptionImageV2? SubscriptionImages { get; } + public global::AppStoreConnect.SubscriptionPromotionalOfferPrice? SubscriptionPromotionalOfferPrices { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPromotionalOfferPrices))] #endif - public bool IsSubscriptionImages => SubscriptionImages != null; + public bool IsSubscriptionPromotionalOfferPrices => SubscriptionPromotionalOfferPrices != null; /// /// /// - public bool TryPickSubscriptionImages( + public bool TryPickSubscriptionPromotionalOfferPrices( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionImageV2? value) + out global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) { - value = SubscriptionImages; - return IsSubscriptionImages; + value = SubscriptionPromotionalOfferPrices; + return IsSubscriptionPromotionalOfferPrices; } /// /// /// - public global::AppStoreConnect.SubscriptionImageV2 PickSubscriptionImages() => SubscriptionImages is { } value + public global::AppStoreConnect.SubscriptionPromotionalOfferPrice PickSubscriptionPromotionalOfferPrices() => SubscriptionPromotionalOfferPrices is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionImages' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionLocalizationV2? SubscriptionLocalizations { get; init; } -#else - public global::AppStoreConnect.SubscriptionLocalizationV2? SubscriptionLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionLocalizations))] -#endif - public bool IsSubscriptionLocalizations => SubscriptionLocalizations != null; - - /// - /// - /// - public bool TryPickSubscriptionLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionLocalizationV2? value) - { - value = SubscriptionLocalizations; - return IsSubscriptionLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionLocalizationV2 PickSubscriptionLocalizations() => SubscriptionLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPromotionalOfferPrices' but the value was {ToString()}."); /// /// @@ -127,48 +90,25 @@ public bool TryPickSubscriptions( /// /// /// - public static implicit operator IncludedItem175(global::AppStoreConnect.SubscriptionImageV2 value) => new IncludedItem175((global::AppStoreConnect.SubscriptionImageV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionImageV2?(IncludedItem175 @this) => @this.SubscriptionImages; - - /// - /// - /// - public IncludedItem175(global::AppStoreConnect.SubscriptionImageV2? value) - { - SubscriptionImages = value; - } - - /// - /// - /// - public static IncludedItem175 FromSubscriptionImages(global::AppStoreConnect.SubscriptionImageV2? value) => new IncludedItem175(value); + public static implicit operator IncludedItem175(global::AppStoreConnect.SubscriptionPromotionalOfferPrice value) => new IncludedItem175((global::AppStoreConnect.SubscriptionPromotionalOfferPrice?)value); /// /// /// - public static implicit operator IncludedItem175(global::AppStoreConnect.SubscriptionLocalizationV2 value) => new IncludedItem175((global::AppStoreConnect.SubscriptionLocalizationV2?)value); + public static implicit operator global::AppStoreConnect.SubscriptionPromotionalOfferPrice?(IncludedItem175 @this) => @this.SubscriptionPromotionalOfferPrices; /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionLocalizationV2?(IncludedItem175 @this) => @this.SubscriptionLocalizations; - - /// - /// - /// - public IncludedItem175(global::AppStoreConnect.SubscriptionLocalizationV2? value) + public IncludedItem175(global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) { - SubscriptionLocalizations = value; + SubscriptionPromotionalOfferPrices = value; } /// /// /// - public static IncludedItem175 FromSubscriptionLocalizations(global::AppStoreConnect.SubscriptionLocalizationV2? value) => new IncludedItem175(value); + public static IncludedItem175 FromSubscriptionPromotionalOfferPrices(global::AppStoreConnect.SubscriptionPromotionalOfferPrice? value) => new IncludedItem175(value); /// /// @@ -197,16 +137,14 @@ public IncludedItem175(global::AppStoreConnect.Subscription? value) /// /// public IncludedItem175( - global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionImageV2? subscriptionImages, - global::AppStoreConnect.SubscriptionLocalizationV2? subscriptionLocalizations, + global::AppStoreConnect.SubscriptionPromotionalOfferResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionPromotionalOfferPrice? subscriptionPromotionalOfferPrices, global::AppStoreConnect.Subscription? subscriptions ) { Type = type; - SubscriptionImages = subscriptionImages; - SubscriptionLocalizations = subscriptionLocalizations; + SubscriptionPromotionalOfferPrices = subscriptionPromotionalOfferPrices; Subscriptions = subscriptions; } @@ -215,16 +153,14 @@ public IncludedItem175( /// public object? Object => Subscriptions as object ?? - SubscriptionLocalizations as object ?? - SubscriptionImages as object + SubscriptionPromotionalOfferPrices as object ; /// /// /// public override string? ToString() => - SubscriptionImages?.ToString() ?? - SubscriptionLocalizations?.ToString() ?? + SubscriptionPromotionalOfferPrices?.ToString() ?? Subscriptions?.ToString() ; @@ -233,15 +169,14 @@ SubscriptionImages as object /// public bool Validate() { - return IsSubscriptionImages && !IsSubscriptionLocalizations && !IsSubscriptions || !IsSubscriptionImages && IsSubscriptionLocalizations && !IsSubscriptions || !IsSubscriptionImages && !IsSubscriptionLocalizations && IsSubscriptions; + return IsSubscriptionPromotionalOfferPrices && !IsSubscriptions || !IsSubscriptionPromotionalOfferPrices && IsSubscriptions; } /// /// /// public TResult? Match( - global::System.Func? subscriptionImages = null, - global::System.Func? subscriptionLocalizations = null, + global::System.Func? subscriptionPromotionalOfferPrices = null, global::System.Func? subscriptions = null, bool validate = true) { @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (SubscriptionImages is { } __value0 && subscriptionImages != null) + if (SubscriptionPromotionalOfferPrices is { } __value0 && subscriptionPromotionalOfferPrices != null) { - return subscriptionImages(__value0); + return subscriptionPromotionalOfferPrices(__value0); } - else if (SubscriptionLocalizations is { } __value1 && subscriptionLocalizations != null) + else if (Subscriptions is { } __value1 && subscriptions != null) { - return subscriptionLocalizations(__value1); - } - else if (Subscriptions is { } __value2 && subscriptions != null) - { - return subscriptions(__value2); + return subscriptions(__value1); } return default(TResult); @@ -270,9 +201,7 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionImages = null, - - global::System.Action? subscriptionLocalizations = null, + global::System.Action? subscriptionPromotionalOfferPrices = null, global::System.Action? subscriptions = null, bool validate = true) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (SubscriptionImages is { } __value0) - { - subscriptionImages?.Invoke(__value0); - } - else if (SubscriptionLocalizations is { } __value1) + if (SubscriptionPromotionalOfferPrices is { } __value0) { - subscriptionLocalizations?.Invoke(__value1); + subscriptionPromotionalOfferPrices?.Invoke(__value0); } - else if (Subscriptions is { } __value2) + else if (Subscriptions is { } __value1) { - subscriptions?.Invoke(__value2); + subscriptions?.Invoke(__value1); } } @@ -300,8 +225,7 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionImages = null, - global::System.Action? subscriptionLocalizations = null, + global::System.Action? subscriptionPromotionalOfferPrices = null, global::System.Action? subscriptions = null, bool validate = true) { @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (SubscriptionImages is { } __value0) - { - subscriptionImages?.Invoke(__value0); - } - else if (SubscriptionLocalizations is { } __value1) + if (SubscriptionPromotionalOfferPrices is { } __value0) { - subscriptionLocalizations?.Invoke(__value1); + subscriptionPromotionalOfferPrices?.Invoke(__value0); } - else if (Subscriptions is { } __value2) + else if (Subscriptions is { } __value1) { - subscriptions?.Invoke(__value2); + subscriptions?.Invoke(__value1); } } @@ -331,10 +251,8 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionImages, - typeof(global::AppStoreConnect.SubscriptionImageV2), - SubscriptionLocalizations, - typeof(global::AppStoreConnect.SubscriptionLocalizationV2), + SubscriptionPromotionalOfferPrices, + typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice), Subscriptions, typeof(global::AppStoreConnect.Subscription), }; @@ -353,8 +271,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem175 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionImages, other.SubscriptionImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionLocalizations, other.SubscriptionLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPromotionalOfferPrices, other.SubscriptionPromotionalOfferPrices) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem176.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem176.g.cs index 40e833c4c..1580a848f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem176.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem176.g.cs @@ -12,594 +12,132 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } + public global::AppStoreConnect.SubscriptionImageV2? SubscriptionImages { get; init; } #else - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } + public global::AppStoreConnect.SubscriptionImageV2? SubscriptionImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] -#endif - public bool IsPromotedPurchases => PromotedPurchases != null; - - /// - /// - /// - public bool TryPickPromotedPurchases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.PromotedPurchase? value) - { - value = PromotedPurchases; - return IsPromotedPurchases; - } - - /// - /// - /// - public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? SubscriptionAppStoreReviewScreenshots { get; init; } -#else - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? SubscriptionAppStoreReviewScreenshots { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionAppStoreReviewScreenshots))] -#endif - public bool IsSubscriptionAppStoreReviewScreenshots => SubscriptionAppStoreReviewScreenshots != null; - - /// - /// - /// - public bool TryPickSubscriptionAppStoreReviewScreenshots( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) - { - value = SubscriptionAppStoreReviewScreenshots; - return IsSubscriptionAppStoreReviewScreenshots; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot PickSubscriptionAppStoreReviewScreenshots() => SubscriptionAppStoreReviewScreenshots is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionAppStoreReviewScreenshots' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionAvailability? SubscriptionAvailabilities { get; init; } -#else - public global::AppStoreConnect.SubscriptionAvailability? SubscriptionAvailabilities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionAvailabilities))] -#endif - public bool IsSubscriptionAvailabilities => SubscriptionAvailabilities != null; - - /// - /// - /// - public bool TryPickSubscriptionAvailabilities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionAvailability? value) - { - value = SubscriptionAvailabilities; - return IsSubscriptionAvailabilities; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionAvailability PickSubscriptionAvailabilities() => SubscriptionAvailabilities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionAvailabilities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } -#else - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] -#endif - public bool IsSubscriptionGroups => SubscriptionGroups != null; - - /// - /// - /// - public bool TryPickSubscriptionGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionGroup? value) - { - value = SubscriptionGroups; - return IsSubscriptionGroups; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionImage? SubscriptionImages { get; init; } -#else - public global::AppStoreConnect.SubscriptionImage? SubscriptionImages { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionImages))] -#endif - public bool IsSubscriptionImages => SubscriptionImages != null; - - /// - /// - /// - public bool TryPickSubscriptionImages( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionImage? value) - { - value = SubscriptionImages; - return IsSubscriptionImages; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionImage PickSubscriptionImages() => SubscriptionImages is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionImages' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionIntroductoryOffer? SubscriptionIntroductoryOffers { get; init; } -#else - public global::AppStoreConnect.SubscriptionIntroductoryOffer? SubscriptionIntroductoryOffers { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionIntroductoryOffers))] -#endif - public bool IsSubscriptionIntroductoryOffers => SubscriptionIntroductoryOffers != null; - - /// - /// - /// - public bool TryPickSubscriptionIntroductoryOffers( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionIntroductoryOffer? value) - { - value = SubscriptionIntroductoryOffers; - return IsSubscriptionIntroductoryOffers; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionIntroductoryOffer PickSubscriptionIntroductoryOffers() => SubscriptionIntroductoryOffers is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionIntroductoryOffers' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionLocalization? SubscriptionLocalizations { get; init; } -#else - public global::AppStoreConnect.SubscriptionLocalization? SubscriptionLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionLocalizations))] -#endif - public bool IsSubscriptionLocalizations => SubscriptionLocalizations != null; - - /// - /// - /// - public bool TryPickSubscriptionLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionLocalization? value) - { - value = SubscriptionLocalizations; - return IsSubscriptionLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionLocalization PickSubscriptionLocalizations() => SubscriptionLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionOfferCode? SubscriptionOfferCodes { get; init; } -#else - public global::AppStoreConnect.SubscriptionOfferCode? SubscriptionOfferCodes { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodes))] -#endif - public bool IsSubscriptionOfferCodes => SubscriptionOfferCodes != null; - - /// - /// - /// - public bool TryPickSubscriptionOfferCodes( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionOfferCode? value) - { - value = SubscriptionOfferCodes; - return IsSubscriptionOfferCodes; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionOfferCode PickSubscriptionOfferCodes() => SubscriptionOfferCodes is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodes' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPlanAvailability? SubscriptionPlanAvailabilities { get; init; } -#else - public global::AppStoreConnect.SubscriptionPlanAvailability? SubscriptionPlanAvailabilities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPlanAvailabilities))] -#endif - public bool IsSubscriptionPlanAvailabilities => SubscriptionPlanAvailabilities != null; - - /// - /// - /// - public bool TryPickSubscriptionPlanAvailabilities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionPlanAvailability? value) - { - value = SubscriptionPlanAvailabilities; - return IsSubscriptionPlanAvailabilities; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionPlanAvailability PickSubscriptionPlanAvailabilities() => SubscriptionPlanAvailabilities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPlanAvailabilities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPrice? SubscriptionPrices { get; init; } -#else - public global::AppStoreConnect.SubscriptionPrice? SubscriptionPrices { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPrices))] -#endif - public bool IsSubscriptionPrices => SubscriptionPrices != null; - - /// - /// - /// - public bool TryPickSubscriptionPrices( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionPrice? value) - { - value = SubscriptionPrices; - return IsSubscriptionPrices; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionPrice PickSubscriptionPrices() => SubscriptionPrices is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPrices' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPromotionalOffer? SubscriptionPromotionalOffers { get; init; } -#else - public global::AppStoreConnect.SubscriptionPromotionalOffer? SubscriptionPromotionalOffers { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPromotionalOffers))] -#endif - public bool IsSubscriptionPromotionalOffers => SubscriptionPromotionalOffers != null; - - /// - /// - /// - public bool TryPickSubscriptionPromotionalOffers( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionPromotionalOffer? value) - { - value = SubscriptionPromotionalOffers; - return IsSubscriptionPromotionalOffers; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionPromotionalOffer PickSubscriptionPromotionalOffers() => SubscriptionPromotionalOffers is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPromotionalOffers' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; init; } -#else - public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionImages))] #endif - public bool IsSubscriptionVersions => SubscriptionVersions != null; + public bool IsSubscriptionImages => SubscriptionImages != null; /// /// /// - public bool TryPickSubscriptionVersions( + public bool TryPickSubscriptionImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionVersion? value) + out global::AppStoreConnect.SubscriptionImageV2? value) { - value = SubscriptionVersions; - return IsSubscriptionVersions; + value = SubscriptionImages; + return IsSubscriptionImages; } /// /// /// - public global::AppStoreConnect.SubscriptionVersion PickSubscriptionVersions() => SubscriptionVersions is { } value + public global::AppStoreConnect.SubscriptionImageV2 PickSubscriptionImages() => SubscriptionImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.WinBackOffer? WinBackOffers { get; init; } + public global::AppStoreConnect.SubscriptionLocalizationV2? SubscriptionLocalizations { get; init; } #else - public global::AppStoreConnect.WinBackOffer? WinBackOffers { get; } + public global::AppStoreConnect.SubscriptionLocalizationV2? SubscriptionLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WinBackOffers))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionLocalizations))] #endif - public bool IsWinBackOffers => WinBackOffers != null; + public bool IsSubscriptionLocalizations => SubscriptionLocalizations != null; /// /// /// - public bool TryPickWinBackOffers( + public bool TryPickSubscriptionLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.WinBackOffer? value) + out global::AppStoreConnect.SubscriptionLocalizationV2? value) { - value = WinBackOffers; - return IsWinBackOffers; + value = SubscriptionLocalizations; + return IsSubscriptionLocalizations; } /// /// /// - public global::AppStoreConnect.WinBackOffer PickWinBackOffers() => WinBackOffers is { } value + public global::AppStoreConnect.SubscriptionLocalizationV2 PickSubscriptionLocalizations() => SubscriptionLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'WinBackOffers' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem176(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem176((global::AppStoreConnect.PromotedPurchase?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem176 @this) => @this.PromotedPurchases; - - /// - /// - /// - public IncludedItem176(global::AppStoreConnect.PromotedPurchase? value) - { - PromotedPurchases = value; - } - - /// - /// - /// - public static IncludedItem176 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem176(value); - - /// - /// - /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot value) => new IncludedItem176((global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot?(IncludedItem176 @this) => @this.SubscriptionAppStoreReviewScreenshots; - - /// - /// - /// - public IncludedItem176(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) - { - SubscriptionAppStoreReviewScreenshots = value; - } - - /// - /// - /// - public static IncludedItem176 FromSubscriptionAppStoreReviewScreenshots(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) => new IncludedItem176(value); - - /// - /// - /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionAvailability value) => new IncludedItem176((global::AppStoreConnect.SubscriptionAvailability?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionAvailability?(IncludedItem176 @this) => @this.SubscriptionAvailabilities; - - /// - /// - /// - public IncludedItem176(global::AppStoreConnect.SubscriptionAvailability? value) - { - SubscriptionAvailabilities = value; - } - - /// - /// - /// - public static IncludedItem176 FromSubscriptionAvailabilities(global::AppStoreConnect.SubscriptionAvailability? value) => new IncludedItem176(value); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionLocalizations' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem176((global::AppStoreConnect.SubscriptionGroup?)value); +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Subscription? Subscriptions { get; init; } +#else + public global::AppStoreConnect.Subscription? Subscriptions { get; } +#endif /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem176 @this) => @this.SubscriptionGroups; +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] +#endif + public bool IsSubscriptions => Subscriptions != null; /// /// /// - public IncludedItem176(global::AppStoreConnect.SubscriptionGroup? value) + public bool TryPickSubscriptions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Subscription? value) { - SubscriptionGroups = value; + value = Subscriptions; + return IsSubscriptions; } /// /// /// - public static IncludedItem176 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem176(value); - + public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionImage value) => new IncludedItem176((global::AppStoreConnect.SubscriptionImage?)value); + public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionImageV2 value) => new IncludedItem176((global::AppStoreConnect.SubscriptionImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionImage?(IncludedItem176 @this) => @this.SubscriptionImages; + public static implicit operator global::AppStoreConnect.SubscriptionImageV2?(IncludedItem176 @this) => @this.SubscriptionImages; /// /// /// - public IncludedItem176(global::AppStoreConnect.SubscriptionImage? value) + public IncludedItem176(global::AppStoreConnect.SubscriptionImageV2? value) { SubscriptionImages = value; } @@ -607,45 +145,22 @@ public IncludedItem176(global::AppStoreConnect.SubscriptionImage? value) /// /// /// - public static IncludedItem176 FromSubscriptionImages(global::AppStoreConnect.SubscriptionImage? value) => new IncludedItem176(value); - - /// - /// - /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionIntroductoryOffer value) => new IncludedItem176((global::AppStoreConnect.SubscriptionIntroductoryOffer?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionIntroductoryOffer?(IncludedItem176 @this) => @this.SubscriptionIntroductoryOffers; - - /// - /// - /// - public IncludedItem176(global::AppStoreConnect.SubscriptionIntroductoryOffer? value) - { - SubscriptionIntroductoryOffers = value; - } - - /// - /// - /// - public static IncludedItem176 FromSubscriptionIntroductoryOffers(global::AppStoreConnect.SubscriptionIntroductoryOffer? value) => new IncludedItem176(value); + public static IncludedItem176 FromSubscriptionImages(global::AppStoreConnect.SubscriptionImageV2? value) => new IncludedItem176(value); /// /// /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionLocalization value) => new IncludedItem176((global::AppStoreConnect.SubscriptionLocalization?)value); + public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionLocalizationV2 value) => new IncludedItem176((global::AppStoreConnect.SubscriptionLocalizationV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionLocalization?(IncludedItem176 @this) => @this.SubscriptionLocalizations; + public static implicit operator global::AppStoreConnect.SubscriptionLocalizationV2?(IncludedItem176 @this) => @this.SubscriptionLocalizations; /// /// /// - public IncludedItem176(global::AppStoreConnect.SubscriptionLocalization? value) + public IncludedItem176(global::AppStoreConnect.SubscriptionLocalizationV2? value) { SubscriptionLocalizations = value; } @@ -653,219 +168,64 @@ public IncludedItem176(global::AppStoreConnect.SubscriptionLocalization? value) /// /// /// - public static IncludedItem176 FromSubscriptionLocalizations(global::AppStoreConnect.SubscriptionLocalization? value) => new IncludedItem176(value); - - /// - /// - /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionOfferCode value) => new IncludedItem176((global::AppStoreConnect.SubscriptionOfferCode?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionOfferCode?(IncludedItem176 @this) => @this.SubscriptionOfferCodes; - - /// - /// - /// - public IncludedItem176(global::AppStoreConnect.SubscriptionOfferCode? value) - { - SubscriptionOfferCodes = value; - } - - /// - /// - /// - public static IncludedItem176 FromSubscriptionOfferCodes(global::AppStoreConnect.SubscriptionOfferCode? value) => new IncludedItem176(value); - - /// - /// - /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionPlanAvailability value) => new IncludedItem176((global::AppStoreConnect.SubscriptionPlanAvailability?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionPlanAvailability?(IncludedItem176 @this) => @this.SubscriptionPlanAvailabilities; - - /// - /// - /// - public IncludedItem176(global::AppStoreConnect.SubscriptionPlanAvailability? value) - { - SubscriptionPlanAvailabilities = value; - } - - /// - /// - /// - public static IncludedItem176 FromSubscriptionPlanAvailabilities(global::AppStoreConnect.SubscriptionPlanAvailability? value) => new IncludedItem176(value); - - /// - /// - /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionPrice value) => new IncludedItem176((global::AppStoreConnect.SubscriptionPrice?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionPrice?(IncludedItem176 @this) => @this.SubscriptionPrices; - - /// - /// - /// - public IncludedItem176(global::AppStoreConnect.SubscriptionPrice? value) - { - SubscriptionPrices = value; - } - - /// - /// - /// - public static IncludedItem176 FromSubscriptionPrices(global::AppStoreConnect.SubscriptionPrice? value) => new IncludedItem176(value); - - /// - /// - /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionPromotionalOffer value) => new IncludedItem176((global::AppStoreConnect.SubscriptionPromotionalOffer?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionPromotionalOffer?(IncludedItem176 @this) => @this.SubscriptionPromotionalOffers; - - /// - /// - /// - public IncludedItem176(global::AppStoreConnect.SubscriptionPromotionalOffer? value) - { - SubscriptionPromotionalOffers = value; - } - - /// - /// - /// - public static IncludedItem176 FromSubscriptionPromotionalOffers(global::AppStoreConnect.SubscriptionPromotionalOffer? value) => new IncludedItem176(value); - - /// - /// - /// - public static implicit operator IncludedItem176(global::AppStoreConnect.SubscriptionVersion value) => new IncludedItem176((global::AppStoreConnect.SubscriptionVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionVersion?(IncludedItem176 @this) => @this.SubscriptionVersions; - - /// - /// - /// - public IncludedItem176(global::AppStoreConnect.SubscriptionVersion? value) - { - SubscriptionVersions = value; - } - - /// - /// - /// - public static IncludedItem176 FromSubscriptionVersions(global::AppStoreConnect.SubscriptionVersion? value) => new IncludedItem176(value); + public static IncludedItem176 FromSubscriptionLocalizations(global::AppStoreConnect.SubscriptionLocalizationV2? value) => new IncludedItem176(value); /// /// /// - public static implicit operator IncludedItem176(global::AppStoreConnect.WinBackOffer value) => new IncludedItem176((global::AppStoreConnect.WinBackOffer?)value); + public static implicit operator IncludedItem176(global::AppStoreConnect.Subscription value) => new IncludedItem176((global::AppStoreConnect.Subscription?)value); /// /// /// - public static implicit operator global::AppStoreConnect.WinBackOffer?(IncludedItem176 @this) => @this.WinBackOffers; + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem176 @this) => @this.Subscriptions; /// /// /// - public IncludedItem176(global::AppStoreConnect.WinBackOffer? value) + public IncludedItem176(global::AppStoreConnect.Subscription? value) { - WinBackOffers = value; + Subscriptions = value; } /// /// /// - public static IncludedItem176 FromWinBackOffers(global::AppStoreConnect.WinBackOffer? value) => new IncludedItem176(value); + public static IncludedItem176 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem176(value); /// /// /// public IncludedItem176( - global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.PromotedPurchase? promotedPurchases, - global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? subscriptionAppStoreReviewScreenshots, - global::AppStoreConnect.SubscriptionAvailability? subscriptionAvailabilities, - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups, - global::AppStoreConnect.SubscriptionImage? subscriptionImages, - global::AppStoreConnect.SubscriptionIntroductoryOffer? subscriptionIntroductoryOffers, - global::AppStoreConnect.SubscriptionLocalization? subscriptionLocalizations, - global::AppStoreConnect.SubscriptionOfferCode? subscriptionOfferCodes, - global::AppStoreConnect.SubscriptionPlanAvailability? subscriptionPlanAvailabilities, - global::AppStoreConnect.SubscriptionPrice? subscriptionPrices, - global::AppStoreConnect.SubscriptionPromotionalOffer? subscriptionPromotionalOffers, - global::AppStoreConnect.SubscriptionVersion? subscriptionVersions, - global::AppStoreConnect.WinBackOffer? winBackOffers + global::AppStoreConnect.SubscriptionVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionImageV2? subscriptionImages, + global::AppStoreConnect.SubscriptionLocalizationV2? subscriptionLocalizations, + global::AppStoreConnect.Subscription? subscriptions ) { Type = type; - PromotedPurchases = promotedPurchases; - SubscriptionAppStoreReviewScreenshots = subscriptionAppStoreReviewScreenshots; - SubscriptionAvailabilities = subscriptionAvailabilities; - SubscriptionGroups = subscriptionGroups; SubscriptionImages = subscriptionImages; - SubscriptionIntroductoryOffers = subscriptionIntroductoryOffers; SubscriptionLocalizations = subscriptionLocalizations; - SubscriptionOfferCodes = subscriptionOfferCodes; - SubscriptionPlanAvailabilities = subscriptionPlanAvailabilities; - SubscriptionPrices = subscriptionPrices; - SubscriptionPromotionalOffers = subscriptionPromotionalOffers; - SubscriptionVersions = subscriptionVersions; - WinBackOffers = winBackOffers; + Subscriptions = subscriptions; } /// /// /// public object? Object => - WinBackOffers as object ?? - SubscriptionVersions as object ?? - SubscriptionPromotionalOffers as object ?? - SubscriptionPrices as object ?? - SubscriptionPlanAvailabilities as object ?? - SubscriptionOfferCodes as object ?? + Subscriptions as object ?? SubscriptionLocalizations as object ?? - SubscriptionIntroductoryOffers as object ?? - SubscriptionImages as object ?? - SubscriptionGroups as object ?? - SubscriptionAvailabilities as object ?? - SubscriptionAppStoreReviewScreenshots as object ?? - PromotedPurchases as object + SubscriptionImages as object ; /// /// /// public override string? ToString() => - PromotedPurchases?.ToString() ?? - SubscriptionAppStoreReviewScreenshots?.ToString() ?? - SubscriptionAvailabilities?.ToString() ?? - SubscriptionGroups?.ToString() ?? SubscriptionImages?.ToString() ?? - SubscriptionIntroductoryOffers?.ToString() ?? SubscriptionLocalizations?.ToString() ?? - SubscriptionOfferCodes?.ToString() ?? - SubscriptionPlanAvailabilities?.ToString() ?? - SubscriptionPrices?.ToString() ?? - SubscriptionPromotionalOffers?.ToString() ?? - SubscriptionVersions?.ToString() ?? - WinBackOffers?.ToString() + Subscriptions?.ToString() ; /// @@ -873,26 +233,16 @@ PromotedPurchases as object /// public bool Validate() { - return IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && IsWinBackOffers; + return IsSubscriptionImages && !IsSubscriptionLocalizations && !IsSubscriptions || !IsSubscriptionImages && IsSubscriptionLocalizations && !IsSubscriptions || !IsSubscriptionImages && !IsSubscriptionLocalizations && IsSubscriptions; } /// /// /// public TResult? Match( - global::System.Func? promotedPurchases = null, - global::System.Func? subscriptionAppStoreReviewScreenshots = null, - global::System.Func? subscriptionAvailabilities = null, - global::System.Func? subscriptionGroups = null, - global::System.Func? subscriptionImages = null, - global::System.Func? subscriptionIntroductoryOffers = null, - global::System.Func? subscriptionLocalizations = null, - global::System.Func? subscriptionOfferCodes = null, - global::System.Func? subscriptionPlanAvailabilities = null, - global::System.Func? subscriptionPrices = null, - global::System.Func? subscriptionPromotionalOffers = null, - global::System.Func? subscriptionVersions = null, - global::System.Func? winBackOffers = null, + global::System.Func? subscriptionImages = null, + global::System.Func? subscriptionLocalizations = null, + global::System.Func? subscriptions = null, bool validate = true) { if (validate) @@ -900,57 +250,17 @@ public bool Validate() Validate(); } - if (PromotedPurchases is { } __value0 && promotedPurchases != null) - { - return promotedPurchases(__value0); - } - else if (SubscriptionAppStoreReviewScreenshots is { } __value1 && subscriptionAppStoreReviewScreenshots != null) - { - return subscriptionAppStoreReviewScreenshots(__value1); - } - else if (SubscriptionAvailabilities is { } __value2 && subscriptionAvailabilities != null) - { - return subscriptionAvailabilities(__value2); - } - else if (SubscriptionGroups is { } __value3 && subscriptionGroups != null) + if (SubscriptionImages is { } __value0 && subscriptionImages != null) { - return subscriptionGroups(__value3); + return subscriptionImages(__value0); } - else if (SubscriptionImages is { } __value4 && subscriptionImages != null) + else if (SubscriptionLocalizations is { } __value1 && subscriptionLocalizations != null) { - return subscriptionImages(__value4); + return subscriptionLocalizations(__value1); } - else if (SubscriptionIntroductoryOffers is { } __value5 && subscriptionIntroductoryOffers != null) + else if (Subscriptions is { } __value2 && subscriptions != null) { - return subscriptionIntroductoryOffers(__value5); - } - else if (SubscriptionLocalizations is { } __value6 && subscriptionLocalizations != null) - { - return subscriptionLocalizations(__value6); - } - else if (SubscriptionOfferCodes is { } __value7 && subscriptionOfferCodes != null) - { - return subscriptionOfferCodes(__value7); - } - else if (SubscriptionPlanAvailabilities is { } __value8 && subscriptionPlanAvailabilities != null) - { - return subscriptionPlanAvailabilities(__value8); - } - else if (SubscriptionPrices is { } __value9 && subscriptionPrices != null) - { - return subscriptionPrices(__value9); - } - else if (SubscriptionPromotionalOffers is { } __value10 && subscriptionPromotionalOffers != null) - { - return subscriptionPromotionalOffers(__value10); - } - else if (SubscriptionVersions is { } __value11 && subscriptionVersions != null) - { - return subscriptionVersions(__value11); - } - else if (WinBackOffers is { } __value12 && winBackOffers != null) - { - return winBackOffers(__value12); + return subscriptions(__value2); } return default(TResult); @@ -960,31 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? promotedPurchases = null, - - global::System.Action? subscriptionAppStoreReviewScreenshots = null, - - global::System.Action? subscriptionAvailabilities = null, + global::System.Action? subscriptionImages = null, - global::System.Action? subscriptionGroups = null, + global::System.Action? subscriptionLocalizations = null, - global::System.Action? subscriptionImages = null, - - global::System.Action? subscriptionIntroductoryOffers = null, - - global::System.Action? subscriptionLocalizations = null, - - global::System.Action? subscriptionOfferCodes = null, - - global::System.Action? subscriptionPlanAvailabilities = null, - - global::System.Action? subscriptionPrices = null, - - global::System.Action? subscriptionPromotionalOffers = null, - - global::System.Action? subscriptionVersions = null, - - global::System.Action? winBackOffers = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -992,57 +282,17 @@ public void Match( Validate(); } - if (PromotedPurchases is { } __value0) - { - promotedPurchases?.Invoke(__value0); - } - else if (SubscriptionAppStoreReviewScreenshots is { } __value1) - { - subscriptionAppStoreReviewScreenshots?.Invoke(__value1); - } - else if (SubscriptionAvailabilities is { } __value2) - { - subscriptionAvailabilities?.Invoke(__value2); - } - else if (SubscriptionGroups is { } __value3) - { - subscriptionGroups?.Invoke(__value3); - } - else if (SubscriptionImages is { } __value4) + if (SubscriptionImages is { } __value0) { - subscriptionImages?.Invoke(__value4); + subscriptionImages?.Invoke(__value0); } - else if (SubscriptionIntroductoryOffers is { } __value5) + else if (SubscriptionLocalizations is { } __value1) { - subscriptionIntroductoryOffers?.Invoke(__value5); + subscriptionLocalizations?.Invoke(__value1); } - else if (SubscriptionLocalizations is { } __value6) + else if (Subscriptions is { } __value2) { - subscriptionLocalizations?.Invoke(__value6); - } - else if (SubscriptionOfferCodes is { } __value7) - { - subscriptionOfferCodes?.Invoke(__value7); - } - else if (SubscriptionPlanAvailabilities is { } __value8) - { - subscriptionPlanAvailabilities?.Invoke(__value8); - } - else if (SubscriptionPrices is { } __value9) - { - subscriptionPrices?.Invoke(__value9); - } - else if (SubscriptionPromotionalOffers is { } __value10) - { - subscriptionPromotionalOffers?.Invoke(__value10); - } - else if (SubscriptionVersions is { } __value11) - { - subscriptionVersions?.Invoke(__value11); - } - else if (WinBackOffers is { } __value12) - { - winBackOffers?.Invoke(__value12); + subscriptions?.Invoke(__value2); } } @@ -1050,19 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? promotedPurchases = null, - global::System.Action? subscriptionAppStoreReviewScreenshots = null, - global::System.Action? subscriptionAvailabilities = null, - global::System.Action? subscriptionGroups = null, - global::System.Action? subscriptionImages = null, - global::System.Action? subscriptionIntroductoryOffers = null, - global::System.Action? subscriptionLocalizations = null, - global::System.Action? subscriptionOfferCodes = null, - global::System.Action? subscriptionPlanAvailabilities = null, - global::System.Action? subscriptionPrices = null, - global::System.Action? subscriptionPromotionalOffers = null, - global::System.Action? subscriptionVersions = null, - global::System.Action? winBackOffers = null, + global::System.Action? subscriptionImages = null, + global::System.Action? subscriptionLocalizations = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -1070,57 +310,17 @@ public void Switch( Validate(); } - if (PromotedPurchases is { } __value0) - { - promotedPurchases?.Invoke(__value0); - } - else if (SubscriptionAppStoreReviewScreenshots is { } __value1) - { - subscriptionAppStoreReviewScreenshots?.Invoke(__value1); - } - else if (SubscriptionAvailabilities is { } __value2) - { - subscriptionAvailabilities?.Invoke(__value2); - } - else if (SubscriptionGroups is { } __value3) - { - subscriptionGroups?.Invoke(__value3); - } - else if (SubscriptionImages is { } __value4) - { - subscriptionImages?.Invoke(__value4); - } - else if (SubscriptionIntroductoryOffers is { } __value5) - { - subscriptionIntroductoryOffers?.Invoke(__value5); - } - else if (SubscriptionLocalizations is { } __value6) - { - subscriptionLocalizations?.Invoke(__value6); - } - else if (SubscriptionOfferCodes is { } __value7) - { - subscriptionOfferCodes?.Invoke(__value7); - } - else if (SubscriptionPlanAvailabilities is { } __value8) - { - subscriptionPlanAvailabilities?.Invoke(__value8); - } - else if (SubscriptionPrices is { } __value9) - { - subscriptionPrices?.Invoke(__value9); - } - else if (SubscriptionPromotionalOffers is { } __value10) + if (SubscriptionImages is { } __value0) { - subscriptionPromotionalOffers?.Invoke(__value10); + subscriptionImages?.Invoke(__value0); } - else if (SubscriptionVersions is { } __value11) + else if (SubscriptionLocalizations is { } __value1) { - subscriptionVersions?.Invoke(__value11); + subscriptionLocalizations?.Invoke(__value1); } - else if (WinBackOffers is { } __value12) + else if (Subscriptions is { } __value2) { - winBackOffers?.Invoke(__value12); + subscriptions?.Invoke(__value2); } } @@ -1131,32 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - PromotedPurchases, - typeof(global::AppStoreConnect.PromotedPurchase), - SubscriptionAppStoreReviewScreenshots, - typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), - SubscriptionAvailabilities, - typeof(global::AppStoreConnect.SubscriptionAvailability), - SubscriptionGroups, - typeof(global::AppStoreConnect.SubscriptionGroup), SubscriptionImages, - typeof(global::AppStoreConnect.SubscriptionImage), - SubscriptionIntroductoryOffers, - typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), + typeof(global::AppStoreConnect.SubscriptionImageV2), SubscriptionLocalizations, - typeof(global::AppStoreConnect.SubscriptionLocalization), - SubscriptionOfferCodes, - typeof(global::AppStoreConnect.SubscriptionOfferCode), - SubscriptionPlanAvailabilities, - typeof(global::AppStoreConnect.SubscriptionPlanAvailability), - SubscriptionPrices, - typeof(global::AppStoreConnect.SubscriptionPrice), - SubscriptionPromotionalOffers, - typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), - SubscriptionVersions, - typeof(global::AppStoreConnect.SubscriptionVersion), - WinBackOffers, - typeof(global::AppStoreConnect.WinBackOffer), + typeof(global::AppStoreConnect.SubscriptionLocalizationV2), + Subscriptions, + typeof(global::AppStoreConnect.Subscription), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1173,19 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem176 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionAppStoreReviewScreenshots, other.SubscriptionAppStoreReviewScreenshots) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionAvailabilities, other.SubscriptionAvailabilities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionImages, other.SubscriptionImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionIntroductoryOffers, other.SubscriptionIntroductoryOffers) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionLocalizations, other.SubscriptionLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodes, other.SubscriptionOfferCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPlanAvailabilities, other.SubscriptionPlanAvailabilities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPrices, other.SubscriptionPrices) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPromotionalOffers, other.SubscriptionPromotionalOffers) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionVersions, other.SubscriptionVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(WinBackOffers, other.WinBackOffers) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionImages, other.SubscriptionImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionLocalizations, other.SubscriptionLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem177.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem177.g.cs index e3ca91410..35a34beab 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem177.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem177.g.cs @@ -12,594 +12,132 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } + public global::AppStoreConnect.SubscriptionImageV2? SubscriptionImages { get; init; } #else - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } + public global::AppStoreConnect.SubscriptionImageV2? SubscriptionImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] -#endif - public bool IsPromotedPurchases => PromotedPurchases != null; - - /// - /// - /// - public bool TryPickPromotedPurchases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.PromotedPurchase? value) - { - value = PromotedPurchases; - return IsPromotedPurchases; - } - - /// - /// - /// - public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? SubscriptionAppStoreReviewScreenshots { get; init; } -#else - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? SubscriptionAppStoreReviewScreenshots { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionAppStoreReviewScreenshots))] -#endif - public bool IsSubscriptionAppStoreReviewScreenshots => SubscriptionAppStoreReviewScreenshots != null; - - /// - /// - /// - public bool TryPickSubscriptionAppStoreReviewScreenshots( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) - { - value = SubscriptionAppStoreReviewScreenshots; - return IsSubscriptionAppStoreReviewScreenshots; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot PickSubscriptionAppStoreReviewScreenshots() => SubscriptionAppStoreReviewScreenshots is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionAppStoreReviewScreenshots' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionAvailability? SubscriptionAvailabilities { get; init; } -#else - public global::AppStoreConnect.SubscriptionAvailability? SubscriptionAvailabilities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionAvailabilities))] -#endif - public bool IsSubscriptionAvailabilities => SubscriptionAvailabilities != null; - - /// - /// - /// - public bool TryPickSubscriptionAvailabilities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionAvailability? value) - { - value = SubscriptionAvailabilities; - return IsSubscriptionAvailabilities; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionAvailability PickSubscriptionAvailabilities() => SubscriptionAvailabilities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionAvailabilities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } -#else - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] -#endif - public bool IsSubscriptionGroups => SubscriptionGroups != null; - - /// - /// - /// - public bool TryPickSubscriptionGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionGroup? value) - { - value = SubscriptionGroups; - return IsSubscriptionGroups; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionImage? SubscriptionImages { get; init; } -#else - public global::AppStoreConnect.SubscriptionImage? SubscriptionImages { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionImages))] -#endif - public bool IsSubscriptionImages => SubscriptionImages != null; - - /// - /// - /// - public bool TryPickSubscriptionImages( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionImage? value) - { - value = SubscriptionImages; - return IsSubscriptionImages; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionImage PickSubscriptionImages() => SubscriptionImages is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionImages' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionIntroductoryOffer? SubscriptionIntroductoryOffers { get; init; } -#else - public global::AppStoreConnect.SubscriptionIntroductoryOffer? SubscriptionIntroductoryOffers { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionIntroductoryOffers))] -#endif - public bool IsSubscriptionIntroductoryOffers => SubscriptionIntroductoryOffers != null; - - /// - /// - /// - public bool TryPickSubscriptionIntroductoryOffers( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionIntroductoryOffer? value) - { - value = SubscriptionIntroductoryOffers; - return IsSubscriptionIntroductoryOffers; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionIntroductoryOffer PickSubscriptionIntroductoryOffers() => SubscriptionIntroductoryOffers is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionIntroductoryOffers' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionLocalization? SubscriptionLocalizations { get; init; } -#else - public global::AppStoreConnect.SubscriptionLocalization? SubscriptionLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionLocalizations))] -#endif - public bool IsSubscriptionLocalizations => SubscriptionLocalizations != null; - - /// - /// - /// - public bool TryPickSubscriptionLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionLocalization? value) - { - value = SubscriptionLocalizations; - return IsSubscriptionLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionLocalization PickSubscriptionLocalizations() => SubscriptionLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionOfferCode? SubscriptionOfferCodes { get; init; } -#else - public global::AppStoreConnect.SubscriptionOfferCode? SubscriptionOfferCodes { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodes))] -#endif - public bool IsSubscriptionOfferCodes => SubscriptionOfferCodes != null; - - /// - /// - /// - public bool TryPickSubscriptionOfferCodes( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionOfferCode? value) - { - value = SubscriptionOfferCodes; - return IsSubscriptionOfferCodes; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionOfferCode PickSubscriptionOfferCodes() => SubscriptionOfferCodes is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodes' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPlanAvailability? SubscriptionPlanAvailabilities { get; init; } -#else - public global::AppStoreConnect.SubscriptionPlanAvailability? SubscriptionPlanAvailabilities { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPlanAvailabilities))] -#endif - public bool IsSubscriptionPlanAvailabilities => SubscriptionPlanAvailabilities != null; - - /// - /// - /// - public bool TryPickSubscriptionPlanAvailabilities( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionPlanAvailability? value) - { - value = SubscriptionPlanAvailabilities; - return IsSubscriptionPlanAvailabilities; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionPlanAvailability PickSubscriptionPlanAvailabilities() => SubscriptionPlanAvailabilities is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPlanAvailabilities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPrice? SubscriptionPrices { get; init; } -#else - public global::AppStoreConnect.SubscriptionPrice? SubscriptionPrices { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPrices))] -#endif - public bool IsSubscriptionPrices => SubscriptionPrices != null; - - /// - /// - /// - public bool TryPickSubscriptionPrices( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionPrice? value) - { - value = SubscriptionPrices; - return IsSubscriptionPrices; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionPrice PickSubscriptionPrices() => SubscriptionPrices is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPrices' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPromotionalOffer? SubscriptionPromotionalOffers { get; init; } -#else - public global::AppStoreConnect.SubscriptionPromotionalOffer? SubscriptionPromotionalOffers { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPromotionalOffers))] -#endif - public bool IsSubscriptionPromotionalOffers => SubscriptionPromotionalOffers != null; - - /// - /// - /// - public bool TryPickSubscriptionPromotionalOffers( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionPromotionalOffer? value) - { - value = SubscriptionPromotionalOffers; - return IsSubscriptionPromotionalOffers; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionPromotionalOffer PickSubscriptionPromotionalOffers() => SubscriptionPromotionalOffers is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPromotionalOffers' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; init; } -#else - public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionImages))] #endif - public bool IsSubscriptionVersions => SubscriptionVersions != null; + public bool IsSubscriptionImages => SubscriptionImages != null; /// /// /// - public bool TryPickSubscriptionVersions( + public bool TryPickSubscriptionImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionVersion? value) + out global::AppStoreConnect.SubscriptionImageV2? value) { - value = SubscriptionVersions; - return IsSubscriptionVersions; + value = SubscriptionImages; + return IsSubscriptionImages; } /// /// /// - public global::AppStoreConnect.SubscriptionVersion PickSubscriptionVersions() => SubscriptionVersions is { } value + public global::AppStoreConnect.SubscriptionImageV2 PickSubscriptionImages() => SubscriptionImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.WinBackOffer? WinBackOffers { get; init; } + public global::AppStoreConnect.SubscriptionLocalizationV2? SubscriptionLocalizations { get; init; } #else - public global::AppStoreConnect.WinBackOffer? WinBackOffers { get; } + public global::AppStoreConnect.SubscriptionLocalizationV2? SubscriptionLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WinBackOffers))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionLocalizations))] #endif - public bool IsWinBackOffers => WinBackOffers != null; + public bool IsSubscriptionLocalizations => SubscriptionLocalizations != null; /// /// /// - public bool TryPickWinBackOffers( + public bool TryPickSubscriptionLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.WinBackOffer? value) + out global::AppStoreConnect.SubscriptionLocalizationV2? value) { - value = WinBackOffers; - return IsWinBackOffers; + value = SubscriptionLocalizations; + return IsSubscriptionLocalizations; } /// /// /// - public global::AppStoreConnect.WinBackOffer PickWinBackOffers() => WinBackOffers is { } value + public global::AppStoreConnect.SubscriptionLocalizationV2 PickSubscriptionLocalizations() => SubscriptionLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'WinBackOffers' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem177(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem177((global::AppStoreConnect.PromotedPurchase?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem177 @this) => @this.PromotedPurchases; - - /// - /// - /// - public IncludedItem177(global::AppStoreConnect.PromotedPurchase? value) - { - PromotedPurchases = value; - } - - /// - /// - /// - public static IncludedItem177 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem177(value); - - /// - /// - /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot value) => new IncludedItem177((global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot?(IncludedItem177 @this) => @this.SubscriptionAppStoreReviewScreenshots; - - /// - /// - /// - public IncludedItem177(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) - { - SubscriptionAppStoreReviewScreenshots = value; - } - - /// - /// - /// - public static IncludedItem177 FromSubscriptionAppStoreReviewScreenshots(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) => new IncludedItem177(value); - - /// - /// - /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionAvailability value) => new IncludedItem177((global::AppStoreConnect.SubscriptionAvailability?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionAvailability?(IncludedItem177 @this) => @this.SubscriptionAvailabilities; - - /// - /// - /// - public IncludedItem177(global::AppStoreConnect.SubscriptionAvailability? value) - { - SubscriptionAvailabilities = value; - } - - /// - /// - /// - public static IncludedItem177 FromSubscriptionAvailabilities(global::AppStoreConnect.SubscriptionAvailability? value) => new IncludedItem177(value); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionLocalizations' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem177((global::AppStoreConnect.SubscriptionGroup?)value); +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Subscription? Subscriptions { get; init; } +#else + public global::AppStoreConnect.Subscription? Subscriptions { get; } +#endif /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem177 @this) => @this.SubscriptionGroups; +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Subscriptions))] +#endif + public bool IsSubscriptions => Subscriptions != null; /// /// /// - public IncludedItem177(global::AppStoreConnect.SubscriptionGroup? value) + public bool TryPickSubscriptions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Subscription? value) { - SubscriptionGroups = value; + value = Subscriptions; + return IsSubscriptions; } /// /// /// - public static IncludedItem177 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem177(value); - + public global::AppStoreConnect.Subscription PickSubscriptions() => Subscriptions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Subscriptions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionImage value) => new IncludedItem177((global::AppStoreConnect.SubscriptionImage?)value); + public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionImageV2 value) => new IncludedItem177((global::AppStoreConnect.SubscriptionImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionImage?(IncludedItem177 @this) => @this.SubscriptionImages; + public static implicit operator global::AppStoreConnect.SubscriptionImageV2?(IncludedItem177 @this) => @this.SubscriptionImages; /// /// /// - public IncludedItem177(global::AppStoreConnect.SubscriptionImage? value) + public IncludedItem177(global::AppStoreConnect.SubscriptionImageV2? value) { SubscriptionImages = value; } @@ -607,45 +145,22 @@ public IncludedItem177(global::AppStoreConnect.SubscriptionImage? value) /// /// /// - public static IncludedItem177 FromSubscriptionImages(global::AppStoreConnect.SubscriptionImage? value) => new IncludedItem177(value); - - /// - /// - /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionIntroductoryOffer value) => new IncludedItem177((global::AppStoreConnect.SubscriptionIntroductoryOffer?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionIntroductoryOffer?(IncludedItem177 @this) => @this.SubscriptionIntroductoryOffers; - - /// - /// - /// - public IncludedItem177(global::AppStoreConnect.SubscriptionIntroductoryOffer? value) - { - SubscriptionIntroductoryOffers = value; - } - - /// - /// - /// - public static IncludedItem177 FromSubscriptionIntroductoryOffers(global::AppStoreConnect.SubscriptionIntroductoryOffer? value) => new IncludedItem177(value); + public static IncludedItem177 FromSubscriptionImages(global::AppStoreConnect.SubscriptionImageV2? value) => new IncludedItem177(value); /// /// /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionLocalization value) => new IncludedItem177((global::AppStoreConnect.SubscriptionLocalization?)value); + public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionLocalizationV2 value) => new IncludedItem177((global::AppStoreConnect.SubscriptionLocalizationV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionLocalization?(IncludedItem177 @this) => @this.SubscriptionLocalizations; + public static implicit operator global::AppStoreConnect.SubscriptionLocalizationV2?(IncludedItem177 @this) => @this.SubscriptionLocalizations; /// /// /// - public IncludedItem177(global::AppStoreConnect.SubscriptionLocalization? value) + public IncludedItem177(global::AppStoreConnect.SubscriptionLocalizationV2? value) { SubscriptionLocalizations = value; } @@ -653,219 +168,64 @@ public IncludedItem177(global::AppStoreConnect.SubscriptionLocalization? value) /// /// /// - public static IncludedItem177 FromSubscriptionLocalizations(global::AppStoreConnect.SubscriptionLocalization? value) => new IncludedItem177(value); - - /// - /// - /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionOfferCode value) => new IncludedItem177((global::AppStoreConnect.SubscriptionOfferCode?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionOfferCode?(IncludedItem177 @this) => @this.SubscriptionOfferCodes; - - /// - /// - /// - public IncludedItem177(global::AppStoreConnect.SubscriptionOfferCode? value) - { - SubscriptionOfferCodes = value; - } - - /// - /// - /// - public static IncludedItem177 FromSubscriptionOfferCodes(global::AppStoreConnect.SubscriptionOfferCode? value) => new IncludedItem177(value); - - /// - /// - /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionPlanAvailability value) => new IncludedItem177((global::AppStoreConnect.SubscriptionPlanAvailability?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionPlanAvailability?(IncludedItem177 @this) => @this.SubscriptionPlanAvailabilities; - - /// - /// - /// - public IncludedItem177(global::AppStoreConnect.SubscriptionPlanAvailability? value) - { - SubscriptionPlanAvailabilities = value; - } - - /// - /// - /// - public static IncludedItem177 FromSubscriptionPlanAvailabilities(global::AppStoreConnect.SubscriptionPlanAvailability? value) => new IncludedItem177(value); - - /// - /// - /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionPrice value) => new IncludedItem177((global::AppStoreConnect.SubscriptionPrice?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionPrice?(IncludedItem177 @this) => @this.SubscriptionPrices; - - /// - /// - /// - public IncludedItem177(global::AppStoreConnect.SubscriptionPrice? value) - { - SubscriptionPrices = value; - } - - /// - /// - /// - public static IncludedItem177 FromSubscriptionPrices(global::AppStoreConnect.SubscriptionPrice? value) => new IncludedItem177(value); - - /// - /// - /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionPromotionalOffer value) => new IncludedItem177((global::AppStoreConnect.SubscriptionPromotionalOffer?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionPromotionalOffer?(IncludedItem177 @this) => @this.SubscriptionPromotionalOffers; - - /// - /// - /// - public IncludedItem177(global::AppStoreConnect.SubscriptionPromotionalOffer? value) - { - SubscriptionPromotionalOffers = value; - } - - /// - /// - /// - public static IncludedItem177 FromSubscriptionPromotionalOffers(global::AppStoreConnect.SubscriptionPromotionalOffer? value) => new IncludedItem177(value); - - /// - /// - /// - public static implicit operator IncludedItem177(global::AppStoreConnect.SubscriptionVersion value) => new IncludedItem177((global::AppStoreConnect.SubscriptionVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.SubscriptionVersion?(IncludedItem177 @this) => @this.SubscriptionVersions; - - /// - /// - /// - public IncludedItem177(global::AppStoreConnect.SubscriptionVersion? value) - { - SubscriptionVersions = value; - } - - /// - /// - /// - public static IncludedItem177 FromSubscriptionVersions(global::AppStoreConnect.SubscriptionVersion? value) => new IncludedItem177(value); + public static IncludedItem177 FromSubscriptionLocalizations(global::AppStoreConnect.SubscriptionLocalizationV2? value) => new IncludedItem177(value); /// /// /// - public static implicit operator IncludedItem177(global::AppStoreConnect.WinBackOffer value) => new IncludedItem177((global::AppStoreConnect.WinBackOffer?)value); + public static implicit operator IncludedItem177(global::AppStoreConnect.Subscription value) => new IncludedItem177((global::AppStoreConnect.Subscription?)value); /// /// /// - public static implicit operator global::AppStoreConnect.WinBackOffer?(IncludedItem177 @this) => @this.WinBackOffers; + public static implicit operator global::AppStoreConnect.Subscription?(IncludedItem177 @this) => @this.Subscriptions; /// /// /// - public IncludedItem177(global::AppStoreConnect.WinBackOffer? value) + public IncludedItem177(global::AppStoreConnect.Subscription? value) { - WinBackOffers = value; + Subscriptions = value; } /// /// /// - public static IncludedItem177 FromWinBackOffers(global::AppStoreConnect.WinBackOffer? value) => new IncludedItem177(value); + public static IncludedItem177 FromSubscriptions(global::AppStoreConnect.Subscription? value) => new IncludedItem177(value); /// /// /// public IncludedItem177( - global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.PromotedPurchase? promotedPurchases, - global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? subscriptionAppStoreReviewScreenshots, - global::AppStoreConnect.SubscriptionAvailability? subscriptionAvailabilities, - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups, - global::AppStoreConnect.SubscriptionImage? subscriptionImages, - global::AppStoreConnect.SubscriptionIntroductoryOffer? subscriptionIntroductoryOffers, - global::AppStoreConnect.SubscriptionLocalization? subscriptionLocalizations, - global::AppStoreConnect.SubscriptionOfferCode? subscriptionOfferCodes, - global::AppStoreConnect.SubscriptionPlanAvailability? subscriptionPlanAvailabilities, - global::AppStoreConnect.SubscriptionPrice? subscriptionPrices, - global::AppStoreConnect.SubscriptionPromotionalOffer? subscriptionPromotionalOffers, - global::AppStoreConnect.SubscriptionVersion? subscriptionVersions, - global::AppStoreConnect.WinBackOffer? winBackOffers + global::AppStoreConnect.SubscriptionVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionImageV2? subscriptionImages, + global::AppStoreConnect.SubscriptionLocalizationV2? subscriptionLocalizations, + global::AppStoreConnect.Subscription? subscriptions ) { Type = type; - PromotedPurchases = promotedPurchases; - SubscriptionAppStoreReviewScreenshots = subscriptionAppStoreReviewScreenshots; - SubscriptionAvailabilities = subscriptionAvailabilities; - SubscriptionGroups = subscriptionGroups; SubscriptionImages = subscriptionImages; - SubscriptionIntroductoryOffers = subscriptionIntroductoryOffers; SubscriptionLocalizations = subscriptionLocalizations; - SubscriptionOfferCodes = subscriptionOfferCodes; - SubscriptionPlanAvailabilities = subscriptionPlanAvailabilities; - SubscriptionPrices = subscriptionPrices; - SubscriptionPromotionalOffers = subscriptionPromotionalOffers; - SubscriptionVersions = subscriptionVersions; - WinBackOffers = winBackOffers; + Subscriptions = subscriptions; } /// /// /// public object? Object => - WinBackOffers as object ?? - SubscriptionVersions as object ?? - SubscriptionPromotionalOffers as object ?? - SubscriptionPrices as object ?? - SubscriptionPlanAvailabilities as object ?? - SubscriptionOfferCodes as object ?? + Subscriptions as object ?? SubscriptionLocalizations as object ?? - SubscriptionIntroductoryOffers as object ?? - SubscriptionImages as object ?? - SubscriptionGroups as object ?? - SubscriptionAvailabilities as object ?? - SubscriptionAppStoreReviewScreenshots as object ?? - PromotedPurchases as object + SubscriptionImages as object ; /// /// /// public override string? ToString() => - PromotedPurchases?.ToString() ?? - SubscriptionAppStoreReviewScreenshots?.ToString() ?? - SubscriptionAvailabilities?.ToString() ?? - SubscriptionGroups?.ToString() ?? SubscriptionImages?.ToString() ?? - SubscriptionIntroductoryOffers?.ToString() ?? SubscriptionLocalizations?.ToString() ?? - SubscriptionOfferCodes?.ToString() ?? - SubscriptionPlanAvailabilities?.ToString() ?? - SubscriptionPrices?.ToString() ?? - SubscriptionPromotionalOffers?.ToString() ?? - SubscriptionVersions?.ToString() ?? - WinBackOffers?.ToString() + Subscriptions?.ToString() ; /// @@ -873,26 +233,16 @@ PromotedPurchases as object /// public bool Validate() { - return IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && IsWinBackOffers; + return IsSubscriptionImages && !IsSubscriptionLocalizations && !IsSubscriptions || !IsSubscriptionImages && IsSubscriptionLocalizations && !IsSubscriptions || !IsSubscriptionImages && !IsSubscriptionLocalizations && IsSubscriptions; } /// /// /// public TResult? Match( - global::System.Func? promotedPurchases = null, - global::System.Func? subscriptionAppStoreReviewScreenshots = null, - global::System.Func? subscriptionAvailabilities = null, - global::System.Func? subscriptionGroups = null, - global::System.Func? subscriptionImages = null, - global::System.Func? subscriptionIntroductoryOffers = null, - global::System.Func? subscriptionLocalizations = null, - global::System.Func? subscriptionOfferCodes = null, - global::System.Func? subscriptionPlanAvailabilities = null, - global::System.Func? subscriptionPrices = null, - global::System.Func? subscriptionPromotionalOffers = null, - global::System.Func? subscriptionVersions = null, - global::System.Func? winBackOffers = null, + global::System.Func? subscriptionImages = null, + global::System.Func? subscriptionLocalizations = null, + global::System.Func? subscriptions = null, bool validate = true) { if (validate) @@ -900,57 +250,17 @@ public bool Validate() Validate(); } - if (PromotedPurchases is { } __value0 && promotedPurchases != null) - { - return promotedPurchases(__value0); - } - else if (SubscriptionAppStoreReviewScreenshots is { } __value1 && subscriptionAppStoreReviewScreenshots != null) - { - return subscriptionAppStoreReviewScreenshots(__value1); - } - else if (SubscriptionAvailabilities is { } __value2 && subscriptionAvailabilities != null) - { - return subscriptionAvailabilities(__value2); - } - else if (SubscriptionGroups is { } __value3 && subscriptionGroups != null) + if (SubscriptionImages is { } __value0 && subscriptionImages != null) { - return subscriptionGroups(__value3); + return subscriptionImages(__value0); } - else if (SubscriptionImages is { } __value4 && subscriptionImages != null) + else if (SubscriptionLocalizations is { } __value1 && subscriptionLocalizations != null) { - return subscriptionImages(__value4); + return subscriptionLocalizations(__value1); } - else if (SubscriptionIntroductoryOffers is { } __value5 && subscriptionIntroductoryOffers != null) + else if (Subscriptions is { } __value2 && subscriptions != null) { - return subscriptionIntroductoryOffers(__value5); - } - else if (SubscriptionLocalizations is { } __value6 && subscriptionLocalizations != null) - { - return subscriptionLocalizations(__value6); - } - else if (SubscriptionOfferCodes is { } __value7 && subscriptionOfferCodes != null) - { - return subscriptionOfferCodes(__value7); - } - else if (SubscriptionPlanAvailabilities is { } __value8 && subscriptionPlanAvailabilities != null) - { - return subscriptionPlanAvailabilities(__value8); - } - else if (SubscriptionPrices is { } __value9 && subscriptionPrices != null) - { - return subscriptionPrices(__value9); - } - else if (SubscriptionPromotionalOffers is { } __value10 && subscriptionPromotionalOffers != null) - { - return subscriptionPromotionalOffers(__value10); - } - else if (SubscriptionVersions is { } __value11 && subscriptionVersions != null) - { - return subscriptionVersions(__value11); - } - else if (WinBackOffers is { } __value12 && winBackOffers != null) - { - return winBackOffers(__value12); + return subscriptions(__value2); } return default(TResult); @@ -960,31 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? promotedPurchases = null, - - global::System.Action? subscriptionAppStoreReviewScreenshots = null, - - global::System.Action? subscriptionAvailabilities = null, + global::System.Action? subscriptionImages = null, - global::System.Action? subscriptionGroups = null, + global::System.Action? subscriptionLocalizations = null, - global::System.Action? subscriptionImages = null, - - global::System.Action? subscriptionIntroductoryOffers = null, - - global::System.Action? subscriptionLocalizations = null, - - global::System.Action? subscriptionOfferCodes = null, - - global::System.Action? subscriptionPlanAvailabilities = null, - - global::System.Action? subscriptionPrices = null, - - global::System.Action? subscriptionPromotionalOffers = null, - - global::System.Action? subscriptionVersions = null, - - global::System.Action? winBackOffers = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -992,57 +282,17 @@ public void Match( Validate(); } - if (PromotedPurchases is { } __value0) - { - promotedPurchases?.Invoke(__value0); - } - else if (SubscriptionAppStoreReviewScreenshots is { } __value1) - { - subscriptionAppStoreReviewScreenshots?.Invoke(__value1); - } - else if (SubscriptionAvailabilities is { } __value2) - { - subscriptionAvailabilities?.Invoke(__value2); - } - else if (SubscriptionGroups is { } __value3) - { - subscriptionGroups?.Invoke(__value3); - } - else if (SubscriptionImages is { } __value4) + if (SubscriptionImages is { } __value0) { - subscriptionImages?.Invoke(__value4); + subscriptionImages?.Invoke(__value0); } - else if (SubscriptionIntroductoryOffers is { } __value5) + else if (SubscriptionLocalizations is { } __value1) { - subscriptionIntroductoryOffers?.Invoke(__value5); + subscriptionLocalizations?.Invoke(__value1); } - else if (SubscriptionLocalizations is { } __value6) + else if (Subscriptions is { } __value2) { - subscriptionLocalizations?.Invoke(__value6); - } - else if (SubscriptionOfferCodes is { } __value7) - { - subscriptionOfferCodes?.Invoke(__value7); - } - else if (SubscriptionPlanAvailabilities is { } __value8) - { - subscriptionPlanAvailabilities?.Invoke(__value8); - } - else if (SubscriptionPrices is { } __value9) - { - subscriptionPrices?.Invoke(__value9); - } - else if (SubscriptionPromotionalOffers is { } __value10) - { - subscriptionPromotionalOffers?.Invoke(__value10); - } - else if (SubscriptionVersions is { } __value11) - { - subscriptionVersions?.Invoke(__value11); - } - else if (WinBackOffers is { } __value12) - { - winBackOffers?.Invoke(__value12); + subscriptions?.Invoke(__value2); } } @@ -1050,19 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? promotedPurchases = null, - global::System.Action? subscriptionAppStoreReviewScreenshots = null, - global::System.Action? subscriptionAvailabilities = null, - global::System.Action? subscriptionGroups = null, - global::System.Action? subscriptionImages = null, - global::System.Action? subscriptionIntroductoryOffers = null, - global::System.Action? subscriptionLocalizations = null, - global::System.Action? subscriptionOfferCodes = null, - global::System.Action? subscriptionPlanAvailabilities = null, - global::System.Action? subscriptionPrices = null, - global::System.Action? subscriptionPromotionalOffers = null, - global::System.Action? subscriptionVersions = null, - global::System.Action? winBackOffers = null, + global::System.Action? subscriptionImages = null, + global::System.Action? subscriptionLocalizations = null, + global::System.Action? subscriptions = null, bool validate = true) { if (validate) @@ -1070,57 +310,17 @@ public void Switch( Validate(); } - if (PromotedPurchases is { } __value0) - { - promotedPurchases?.Invoke(__value0); - } - else if (SubscriptionAppStoreReviewScreenshots is { } __value1) - { - subscriptionAppStoreReviewScreenshots?.Invoke(__value1); - } - else if (SubscriptionAvailabilities is { } __value2) - { - subscriptionAvailabilities?.Invoke(__value2); - } - else if (SubscriptionGroups is { } __value3) - { - subscriptionGroups?.Invoke(__value3); - } - else if (SubscriptionImages is { } __value4) - { - subscriptionImages?.Invoke(__value4); - } - else if (SubscriptionIntroductoryOffers is { } __value5) - { - subscriptionIntroductoryOffers?.Invoke(__value5); - } - else if (SubscriptionLocalizations is { } __value6) - { - subscriptionLocalizations?.Invoke(__value6); - } - else if (SubscriptionOfferCodes is { } __value7) - { - subscriptionOfferCodes?.Invoke(__value7); - } - else if (SubscriptionPlanAvailabilities is { } __value8) - { - subscriptionPlanAvailabilities?.Invoke(__value8); - } - else if (SubscriptionPrices is { } __value9) - { - subscriptionPrices?.Invoke(__value9); - } - else if (SubscriptionPromotionalOffers is { } __value10) + if (SubscriptionImages is { } __value0) { - subscriptionPromotionalOffers?.Invoke(__value10); + subscriptionImages?.Invoke(__value0); } - else if (SubscriptionVersions is { } __value11) + else if (SubscriptionLocalizations is { } __value1) { - subscriptionVersions?.Invoke(__value11); + subscriptionLocalizations?.Invoke(__value1); } - else if (WinBackOffers is { } __value12) + else if (Subscriptions is { } __value2) { - winBackOffers?.Invoke(__value12); + subscriptions?.Invoke(__value2); } } @@ -1131,32 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - PromotedPurchases, - typeof(global::AppStoreConnect.PromotedPurchase), - SubscriptionAppStoreReviewScreenshots, - typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), - SubscriptionAvailabilities, - typeof(global::AppStoreConnect.SubscriptionAvailability), - SubscriptionGroups, - typeof(global::AppStoreConnect.SubscriptionGroup), SubscriptionImages, - typeof(global::AppStoreConnect.SubscriptionImage), - SubscriptionIntroductoryOffers, - typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), + typeof(global::AppStoreConnect.SubscriptionImageV2), SubscriptionLocalizations, - typeof(global::AppStoreConnect.SubscriptionLocalization), - SubscriptionOfferCodes, - typeof(global::AppStoreConnect.SubscriptionOfferCode), - SubscriptionPlanAvailabilities, - typeof(global::AppStoreConnect.SubscriptionPlanAvailability), - SubscriptionPrices, - typeof(global::AppStoreConnect.SubscriptionPrice), - SubscriptionPromotionalOffers, - typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), - SubscriptionVersions, - typeof(global::AppStoreConnect.SubscriptionVersion), - WinBackOffers, - typeof(global::AppStoreConnect.WinBackOffer), + typeof(global::AppStoreConnect.SubscriptionLocalizationV2), + Subscriptions, + typeof(global::AppStoreConnect.Subscription), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1173,19 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem177 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionAppStoreReviewScreenshots, other.SubscriptionAppStoreReviewScreenshots) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionAvailabilities, other.SubscriptionAvailabilities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionImages, other.SubscriptionImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionIntroductoryOffers, other.SubscriptionIntroductoryOffers) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionLocalizations, other.SubscriptionLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodes, other.SubscriptionOfferCodes) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPlanAvailabilities, other.SubscriptionPlanAvailabilities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPrices, other.SubscriptionPrices) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPromotionalOffers, other.SubscriptionPromotionalOffers) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionVersions, other.SubscriptionVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(WinBackOffers, other.WinBackOffers) + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionImages, other.SubscriptionImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionLocalizations, other.SubscriptionLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Subscriptions, other.Subscriptions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem178.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem178.Json.g.cs new file mode 100644 index 000000000..667536ff9 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem178.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct IncludedItem178 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.IncludedItem178? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.IncludedItem178), + jsonSerializerContext) as global::AppStoreConnect.IncludedItem178?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.IncludedItem178? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.IncludedItem178? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.IncludedItem178), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem178?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem178.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem178.g.cs new file mode 100644 index 000000000..2c6b2caf2 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem178.g.cs @@ -0,0 +1,1216 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct IncludedItem178 : global::System.IEquatable + { + /// + /// + /// + public global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } +#else + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] +#endif + public bool IsPromotedPurchases => PromotedPurchases != null; + + /// + /// + /// + public bool TryPickPromotedPurchases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.PromotedPurchase? value) + { + value = PromotedPurchases; + return IsPromotedPurchases; + } + + /// + /// + /// + public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? SubscriptionAppStoreReviewScreenshots { get; init; } +#else + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? SubscriptionAppStoreReviewScreenshots { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionAppStoreReviewScreenshots))] +#endif + public bool IsSubscriptionAppStoreReviewScreenshots => SubscriptionAppStoreReviewScreenshots != null; + + /// + /// + /// + public bool TryPickSubscriptionAppStoreReviewScreenshots( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) + { + value = SubscriptionAppStoreReviewScreenshots; + return IsSubscriptionAppStoreReviewScreenshots; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot PickSubscriptionAppStoreReviewScreenshots() => SubscriptionAppStoreReviewScreenshots is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionAppStoreReviewScreenshots' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionAvailability? SubscriptionAvailabilities { get; init; } +#else + public global::AppStoreConnect.SubscriptionAvailability? SubscriptionAvailabilities { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionAvailabilities))] +#endif + public bool IsSubscriptionAvailabilities => SubscriptionAvailabilities != null; + + /// + /// + /// + public bool TryPickSubscriptionAvailabilities( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionAvailability? value) + { + value = SubscriptionAvailabilities; + return IsSubscriptionAvailabilities; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionAvailability PickSubscriptionAvailabilities() => SubscriptionAvailabilities is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionAvailabilities' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } +#else + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] +#endif + public bool IsSubscriptionGroups => SubscriptionGroups != null; + + /// + /// + /// + public bool TryPickSubscriptionGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionGroup? value) + { + value = SubscriptionGroups; + return IsSubscriptionGroups; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionImage? SubscriptionImages { get; init; } +#else + public global::AppStoreConnect.SubscriptionImage? SubscriptionImages { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionImages))] +#endif + public bool IsSubscriptionImages => SubscriptionImages != null; + + /// + /// + /// + public bool TryPickSubscriptionImages( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionImage? value) + { + value = SubscriptionImages; + return IsSubscriptionImages; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionImage PickSubscriptionImages() => SubscriptionImages is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionImages' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionIntroductoryOffer? SubscriptionIntroductoryOffers { get; init; } +#else + public global::AppStoreConnect.SubscriptionIntroductoryOffer? SubscriptionIntroductoryOffers { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionIntroductoryOffers))] +#endif + public bool IsSubscriptionIntroductoryOffers => SubscriptionIntroductoryOffers != null; + + /// + /// + /// + public bool TryPickSubscriptionIntroductoryOffers( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionIntroductoryOffer? value) + { + value = SubscriptionIntroductoryOffers; + return IsSubscriptionIntroductoryOffers; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionIntroductoryOffer PickSubscriptionIntroductoryOffers() => SubscriptionIntroductoryOffers is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionIntroductoryOffers' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionLocalization? SubscriptionLocalizations { get; init; } +#else + public global::AppStoreConnect.SubscriptionLocalization? SubscriptionLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionLocalizations))] +#endif + public bool IsSubscriptionLocalizations => SubscriptionLocalizations != null; + + /// + /// + /// + public bool TryPickSubscriptionLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionLocalization? value) + { + value = SubscriptionLocalizations; + return IsSubscriptionLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionLocalization PickSubscriptionLocalizations() => SubscriptionLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionOfferCode? SubscriptionOfferCodes { get; init; } +#else + public global::AppStoreConnect.SubscriptionOfferCode? SubscriptionOfferCodes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodes))] +#endif + public bool IsSubscriptionOfferCodes => SubscriptionOfferCodes != null; + + /// + /// + /// + public bool TryPickSubscriptionOfferCodes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionOfferCode? value) + { + value = SubscriptionOfferCodes; + return IsSubscriptionOfferCodes; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCode PickSubscriptionOfferCodes() => SubscriptionOfferCodes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionPlanAvailability? SubscriptionPlanAvailabilities { get; init; } +#else + public global::AppStoreConnect.SubscriptionPlanAvailability? SubscriptionPlanAvailabilities { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPlanAvailabilities))] +#endif + public bool IsSubscriptionPlanAvailabilities => SubscriptionPlanAvailabilities != null; + + /// + /// + /// + public bool TryPickSubscriptionPlanAvailabilities( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionPlanAvailability? value) + { + value = SubscriptionPlanAvailabilities; + return IsSubscriptionPlanAvailabilities; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionPlanAvailability PickSubscriptionPlanAvailabilities() => SubscriptionPlanAvailabilities is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPlanAvailabilities' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionPrice? SubscriptionPrices { get; init; } +#else + public global::AppStoreConnect.SubscriptionPrice? SubscriptionPrices { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPrices))] +#endif + public bool IsSubscriptionPrices => SubscriptionPrices != null; + + /// + /// + /// + public bool TryPickSubscriptionPrices( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionPrice? value) + { + value = SubscriptionPrices; + return IsSubscriptionPrices; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionPrice PickSubscriptionPrices() => SubscriptionPrices is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPrices' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionPromotionalOffer? SubscriptionPromotionalOffers { get; init; } +#else + public global::AppStoreConnect.SubscriptionPromotionalOffer? SubscriptionPromotionalOffers { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPromotionalOffers))] +#endif + public bool IsSubscriptionPromotionalOffers => SubscriptionPromotionalOffers != null; + + /// + /// + /// + public bool TryPickSubscriptionPromotionalOffers( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionPromotionalOffer? value) + { + value = SubscriptionPromotionalOffers; + return IsSubscriptionPromotionalOffers; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionPromotionalOffer PickSubscriptionPromotionalOffers() => SubscriptionPromotionalOffers is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPromotionalOffers' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; init; } +#else + public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionVersions))] +#endif + public bool IsSubscriptionVersions => SubscriptionVersions != null; + + /// + /// + /// + public bool TryPickSubscriptionVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionVersion? value) + { + value = SubscriptionVersions; + return IsSubscriptionVersions; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionVersion PickSubscriptionVersions() => SubscriptionVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.WinBackOffer? WinBackOffers { get; init; } +#else + public global::AppStoreConnect.WinBackOffer? WinBackOffers { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WinBackOffers))] +#endif + public bool IsWinBackOffers => WinBackOffers != null; + + /// + /// + /// + public bool TryPickWinBackOffers( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.WinBackOffer? value) + { + value = WinBackOffers; + return IsWinBackOffers; + } + + /// + /// + /// + public global::AppStoreConnect.WinBackOffer PickWinBackOffers() => WinBackOffers is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WinBackOffers' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem178((global::AppStoreConnect.PromotedPurchase?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem178 @this) => @this.PromotedPurchases; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.PromotedPurchase? value) + { + PromotedPurchases = value; + } + + /// + /// + /// + public static IncludedItem178 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot value) => new IncludedItem178((global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot?(IncludedItem178 @this) => @this.SubscriptionAppStoreReviewScreenshots; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) + { + SubscriptionAppStoreReviewScreenshots = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionAppStoreReviewScreenshots(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionAvailability value) => new IncludedItem178((global::AppStoreConnect.SubscriptionAvailability?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionAvailability?(IncludedItem178 @this) => @this.SubscriptionAvailabilities; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionAvailability? value) + { + SubscriptionAvailabilities = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionAvailabilities(global::AppStoreConnect.SubscriptionAvailability? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem178((global::AppStoreConnect.SubscriptionGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem178 @this) => @this.SubscriptionGroups; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionGroup? value) + { + SubscriptionGroups = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionImage value) => new IncludedItem178((global::AppStoreConnect.SubscriptionImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionImage?(IncludedItem178 @this) => @this.SubscriptionImages; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionImage? value) + { + SubscriptionImages = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionImages(global::AppStoreConnect.SubscriptionImage? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionIntroductoryOffer value) => new IncludedItem178((global::AppStoreConnect.SubscriptionIntroductoryOffer?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionIntroductoryOffer?(IncludedItem178 @this) => @this.SubscriptionIntroductoryOffers; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionIntroductoryOffer? value) + { + SubscriptionIntroductoryOffers = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionIntroductoryOffers(global::AppStoreConnect.SubscriptionIntroductoryOffer? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionLocalization value) => new IncludedItem178((global::AppStoreConnect.SubscriptionLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionLocalization?(IncludedItem178 @this) => @this.SubscriptionLocalizations; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionLocalization? value) + { + SubscriptionLocalizations = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionLocalizations(global::AppStoreConnect.SubscriptionLocalization? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionOfferCode value) => new IncludedItem178((global::AppStoreConnect.SubscriptionOfferCode?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionOfferCode?(IncludedItem178 @this) => @this.SubscriptionOfferCodes; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionOfferCode? value) + { + SubscriptionOfferCodes = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionOfferCodes(global::AppStoreConnect.SubscriptionOfferCode? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionPlanAvailability value) => new IncludedItem178((global::AppStoreConnect.SubscriptionPlanAvailability?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionPlanAvailability?(IncludedItem178 @this) => @this.SubscriptionPlanAvailabilities; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionPlanAvailability? value) + { + SubscriptionPlanAvailabilities = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionPlanAvailabilities(global::AppStoreConnect.SubscriptionPlanAvailability? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionPrice value) => new IncludedItem178((global::AppStoreConnect.SubscriptionPrice?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionPrice?(IncludedItem178 @this) => @this.SubscriptionPrices; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionPrice? value) + { + SubscriptionPrices = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionPrices(global::AppStoreConnect.SubscriptionPrice? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionPromotionalOffer value) => new IncludedItem178((global::AppStoreConnect.SubscriptionPromotionalOffer?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionPromotionalOffer?(IncludedItem178 @this) => @this.SubscriptionPromotionalOffers; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionPromotionalOffer? value) + { + SubscriptionPromotionalOffers = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionPromotionalOffers(global::AppStoreConnect.SubscriptionPromotionalOffer? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.SubscriptionVersion value) => new IncludedItem178((global::AppStoreConnect.SubscriptionVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionVersion?(IncludedItem178 @this) => @this.SubscriptionVersions; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.SubscriptionVersion? value) + { + SubscriptionVersions = value; + } + + /// + /// + /// + public static IncludedItem178 FromSubscriptionVersions(global::AppStoreConnect.SubscriptionVersion? value) => new IncludedItem178(value); + + /// + /// + /// + public static implicit operator IncludedItem178(global::AppStoreConnect.WinBackOffer value) => new IncludedItem178((global::AppStoreConnect.WinBackOffer?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.WinBackOffer?(IncludedItem178 @this) => @this.WinBackOffers; + + /// + /// + /// + public IncludedItem178(global::AppStoreConnect.WinBackOffer? value) + { + WinBackOffers = value; + } + + /// + /// + /// + public static IncludedItem178 FromWinBackOffers(global::AppStoreConnect.WinBackOffer? value) => new IncludedItem178(value); + + /// + /// + /// + public IncludedItem178( + global::AppStoreConnect.SubscriptionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.PromotedPurchase? promotedPurchases, + global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? subscriptionAppStoreReviewScreenshots, + global::AppStoreConnect.SubscriptionAvailability? subscriptionAvailabilities, + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups, + global::AppStoreConnect.SubscriptionImage? subscriptionImages, + global::AppStoreConnect.SubscriptionIntroductoryOffer? subscriptionIntroductoryOffers, + global::AppStoreConnect.SubscriptionLocalization? subscriptionLocalizations, + global::AppStoreConnect.SubscriptionOfferCode? subscriptionOfferCodes, + global::AppStoreConnect.SubscriptionPlanAvailability? subscriptionPlanAvailabilities, + global::AppStoreConnect.SubscriptionPrice? subscriptionPrices, + global::AppStoreConnect.SubscriptionPromotionalOffer? subscriptionPromotionalOffers, + global::AppStoreConnect.SubscriptionVersion? subscriptionVersions, + global::AppStoreConnect.WinBackOffer? winBackOffers + ) + { + Type = type; + + PromotedPurchases = promotedPurchases; + SubscriptionAppStoreReviewScreenshots = subscriptionAppStoreReviewScreenshots; + SubscriptionAvailabilities = subscriptionAvailabilities; + SubscriptionGroups = subscriptionGroups; + SubscriptionImages = subscriptionImages; + SubscriptionIntroductoryOffers = subscriptionIntroductoryOffers; + SubscriptionLocalizations = subscriptionLocalizations; + SubscriptionOfferCodes = subscriptionOfferCodes; + SubscriptionPlanAvailabilities = subscriptionPlanAvailabilities; + SubscriptionPrices = subscriptionPrices; + SubscriptionPromotionalOffers = subscriptionPromotionalOffers; + SubscriptionVersions = subscriptionVersions; + WinBackOffers = winBackOffers; + } + + /// + /// + /// + public object? Object => + WinBackOffers as object ?? + SubscriptionVersions as object ?? + SubscriptionPromotionalOffers as object ?? + SubscriptionPrices as object ?? + SubscriptionPlanAvailabilities as object ?? + SubscriptionOfferCodes as object ?? + SubscriptionLocalizations as object ?? + SubscriptionIntroductoryOffers as object ?? + SubscriptionImages as object ?? + SubscriptionGroups as object ?? + SubscriptionAvailabilities as object ?? + SubscriptionAppStoreReviewScreenshots as object ?? + PromotedPurchases as object + ; + + /// + /// + /// + public override string? ToString() => + PromotedPurchases?.ToString() ?? + SubscriptionAppStoreReviewScreenshots?.ToString() ?? + SubscriptionAvailabilities?.ToString() ?? + SubscriptionGroups?.ToString() ?? + SubscriptionImages?.ToString() ?? + SubscriptionIntroductoryOffers?.ToString() ?? + SubscriptionLocalizations?.ToString() ?? + SubscriptionOfferCodes?.ToString() ?? + SubscriptionPlanAvailabilities?.ToString() ?? + SubscriptionPrices?.ToString() ?? + SubscriptionPromotionalOffers?.ToString() ?? + SubscriptionVersions?.ToString() ?? + WinBackOffers?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && IsWinBackOffers; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? promotedPurchases = null, + global::System.Func? subscriptionAppStoreReviewScreenshots = null, + global::System.Func? subscriptionAvailabilities = null, + global::System.Func? subscriptionGroups = null, + global::System.Func? subscriptionImages = null, + global::System.Func? subscriptionIntroductoryOffers = null, + global::System.Func? subscriptionLocalizations = null, + global::System.Func? subscriptionOfferCodes = null, + global::System.Func? subscriptionPlanAvailabilities = null, + global::System.Func? subscriptionPrices = null, + global::System.Func? subscriptionPromotionalOffers = null, + global::System.Func? subscriptionVersions = null, + global::System.Func? winBackOffers = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (PromotedPurchases is { } __value0 && promotedPurchases != null) + { + return promotedPurchases(__value0); + } + else if (SubscriptionAppStoreReviewScreenshots is { } __value1 && subscriptionAppStoreReviewScreenshots != null) + { + return subscriptionAppStoreReviewScreenshots(__value1); + } + else if (SubscriptionAvailabilities is { } __value2 && subscriptionAvailabilities != null) + { + return subscriptionAvailabilities(__value2); + } + else if (SubscriptionGroups is { } __value3 && subscriptionGroups != null) + { + return subscriptionGroups(__value3); + } + else if (SubscriptionImages is { } __value4 && subscriptionImages != null) + { + return subscriptionImages(__value4); + } + else if (SubscriptionIntroductoryOffers is { } __value5 && subscriptionIntroductoryOffers != null) + { + return subscriptionIntroductoryOffers(__value5); + } + else if (SubscriptionLocalizations is { } __value6 && subscriptionLocalizations != null) + { + return subscriptionLocalizations(__value6); + } + else if (SubscriptionOfferCodes is { } __value7 && subscriptionOfferCodes != null) + { + return subscriptionOfferCodes(__value7); + } + else if (SubscriptionPlanAvailabilities is { } __value8 && subscriptionPlanAvailabilities != null) + { + return subscriptionPlanAvailabilities(__value8); + } + else if (SubscriptionPrices is { } __value9 && subscriptionPrices != null) + { + return subscriptionPrices(__value9); + } + else if (SubscriptionPromotionalOffers is { } __value10 && subscriptionPromotionalOffers != null) + { + return subscriptionPromotionalOffers(__value10); + } + else if (SubscriptionVersions is { } __value11 && subscriptionVersions != null) + { + return subscriptionVersions(__value11); + } + else if (WinBackOffers is { } __value12 && winBackOffers != null) + { + return winBackOffers(__value12); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? promotedPurchases = null, + + global::System.Action? subscriptionAppStoreReviewScreenshots = null, + + global::System.Action? subscriptionAvailabilities = null, + + global::System.Action? subscriptionGroups = null, + + global::System.Action? subscriptionImages = null, + + global::System.Action? subscriptionIntroductoryOffers = null, + + global::System.Action? subscriptionLocalizations = null, + + global::System.Action? subscriptionOfferCodes = null, + + global::System.Action? subscriptionPlanAvailabilities = null, + + global::System.Action? subscriptionPrices = null, + + global::System.Action? subscriptionPromotionalOffers = null, + + global::System.Action? subscriptionVersions = null, + + global::System.Action? winBackOffers = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (PromotedPurchases is { } __value0) + { + promotedPurchases?.Invoke(__value0); + } + else if (SubscriptionAppStoreReviewScreenshots is { } __value1) + { + subscriptionAppStoreReviewScreenshots?.Invoke(__value1); + } + else if (SubscriptionAvailabilities is { } __value2) + { + subscriptionAvailabilities?.Invoke(__value2); + } + else if (SubscriptionGroups is { } __value3) + { + subscriptionGroups?.Invoke(__value3); + } + else if (SubscriptionImages is { } __value4) + { + subscriptionImages?.Invoke(__value4); + } + else if (SubscriptionIntroductoryOffers is { } __value5) + { + subscriptionIntroductoryOffers?.Invoke(__value5); + } + else if (SubscriptionLocalizations is { } __value6) + { + subscriptionLocalizations?.Invoke(__value6); + } + else if (SubscriptionOfferCodes is { } __value7) + { + subscriptionOfferCodes?.Invoke(__value7); + } + else if (SubscriptionPlanAvailabilities is { } __value8) + { + subscriptionPlanAvailabilities?.Invoke(__value8); + } + else if (SubscriptionPrices is { } __value9) + { + subscriptionPrices?.Invoke(__value9); + } + else if (SubscriptionPromotionalOffers is { } __value10) + { + subscriptionPromotionalOffers?.Invoke(__value10); + } + else if (SubscriptionVersions is { } __value11) + { + subscriptionVersions?.Invoke(__value11); + } + else if (WinBackOffers is { } __value12) + { + winBackOffers?.Invoke(__value12); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? promotedPurchases = null, + global::System.Action? subscriptionAppStoreReviewScreenshots = null, + global::System.Action? subscriptionAvailabilities = null, + global::System.Action? subscriptionGroups = null, + global::System.Action? subscriptionImages = null, + global::System.Action? subscriptionIntroductoryOffers = null, + global::System.Action? subscriptionLocalizations = null, + global::System.Action? subscriptionOfferCodes = null, + global::System.Action? subscriptionPlanAvailabilities = null, + global::System.Action? subscriptionPrices = null, + global::System.Action? subscriptionPromotionalOffers = null, + global::System.Action? subscriptionVersions = null, + global::System.Action? winBackOffers = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (PromotedPurchases is { } __value0) + { + promotedPurchases?.Invoke(__value0); + } + else if (SubscriptionAppStoreReviewScreenshots is { } __value1) + { + subscriptionAppStoreReviewScreenshots?.Invoke(__value1); + } + else if (SubscriptionAvailabilities is { } __value2) + { + subscriptionAvailabilities?.Invoke(__value2); + } + else if (SubscriptionGroups is { } __value3) + { + subscriptionGroups?.Invoke(__value3); + } + else if (SubscriptionImages is { } __value4) + { + subscriptionImages?.Invoke(__value4); + } + else if (SubscriptionIntroductoryOffers is { } __value5) + { + subscriptionIntroductoryOffers?.Invoke(__value5); + } + else if (SubscriptionLocalizations is { } __value6) + { + subscriptionLocalizations?.Invoke(__value6); + } + else if (SubscriptionOfferCodes is { } __value7) + { + subscriptionOfferCodes?.Invoke(__value7); + } + else if (SubscriptionPlanAvailabilities is { } __value8) + { + subscriptionPlanAvailabilities?.Invoke(__value8); + } + else if (SubscriptionPrices is { } __value9) + { + subscriptionPrices?.Invoke(__value9); + } + else if (SubscriptionPromotionalOffers is { } __value10) + { + subscriptionPromotionalOffers?.Invoke(__value10); + } + else if (SubscriptionVersions is { } __value11) + { + subscriptionVersions?.Invoke(__value11); + } + else if (WinBackOffers is { } __value12) + { + winBackOffers?.Invoke(__value12); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + PromotedPurchases, + typeof(global::AppStoreConnect.PromotedPurchase), + SubscriptionAppStoreReviewScreenshots, + typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), + SubscriptionAvailabilities, + typeof(global::AppStoreConnect.SubscriptionAvailability), + SubscriptionGroups, + typeof(global::AppStoreConnect.SubscriptionGroup), + SubscriptionImages, + typeof(global::AppStoreConnect.SubscriptionImage), + SubscriptionIntroductoryOffers, + typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), + SubscriptionLocalizations, + typeof(global::AppStoreConnect.SubscriptionLocalization), + SubscriptionOfferCodes, + typeof(global::AppStoreConnect.SubscriptionOfferCode), + SubscriptionPlanAvailabilities, + typeof(global::AppStoreConnect.SubscriptionPlanAvailability), + SubscriptionPrices, + typeof(global::AppStoreConnect.SubscriptionPrice), + SubscriptionPromotionalOffers, + typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), + SubscriptionVersions, + typeof(global::AppStoreConnect.SubscriptionVersion), + WinBackOffers, + typeof(global::AppStoreConnect.WinBackOffer), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(IncludedItem178 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionAppStoreReviewScreenshots, other.SubscriptionAppStoreReviewScreenshots) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionAvailabilities, other.SubscriptionAvailabilities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionImages, other.SubscriptionImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionIntroductoryOffers, other.SubscriptionIntroductoryOffers) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionLocalizations, other.SubscriptionLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodes, other.SubscriptionOfferCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPlanAvailabilities, other.SubscriptionPlanAvailabilities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPrices, other.SubscriptionPrices) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPromotionalOffers, other.SubscriptionPromotionalOffers) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionVersions, other.SubscriptionVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WinBackOffers, other.WinBackOffers) + ; + } + + /// + /// + /// + public static bool operator ==(IncludedItem178 obj1, IncludedItem178 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(IncludedItem178 obj1, IncludedItem178 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is IncludedItem178 o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem179.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem179.g.cs index 5e905d4d6..fd326774b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem179.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem179.g.cs @@ -12,156 +12,860 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } #else - public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] #endif - public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; + public bool IsPromotedPurchases => PromotedPurchases != null; /// /// /// - public bool TryPickSubscriptionPricePoints( + public bool TryPickPromotedPurchases( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.SubscriptionPricePoint? value) + out global::AppStoreConnect.PromotedPurchase? value) { - value = SubscriptionPricePoints; - return IsSubscriptionPricePoints; + value = PromotedPurchases; + return IsPromotedPurchases; } /// /// /// - public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value + public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? SubscriptionAppStoreReviewScreenshots { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? SubscriptionAppStoreReviewScreenshots { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionAppStoreReviewScreenshots))] #endif - public bool IsTerritories => Territories != null; + public bool IsSubscriptionAppStoreReviewScreenshots => SubscriptionAppStoreReviewScreenshots != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickSubscriptionAppStoreReviewScreenshots( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) { - value = Territories; - return IsTerritories; + value = SubscriptionAppStoreReviewScreenshots; + return IsSubscriptionAppStoreReviewScreenshots; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot PickSubscriptionAppStoreReviewScreenshots() => SubscriptionAppStoreReviewScreenshots is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionAppStoreReviewScreenshots' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionAvailability? SubscriptionAvailabilities { get; init; } +#else + public global::AppStoreConnect.SubscriptionAvailability? SubscriptionAvailabilities { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionAvailabilities))] +#endif + public bool IsSubscriptionAvailabilities => SubscriptionAvailabilities != null; + + /// + /// + /// + public bool TryPickSubscriptionAvailabilities( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionAvailability? value) + { + value = SubscriptionAvailabilities; + return IsSubscriptionAvailabilities; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionAvailability PickSubscriptionAvailabilities() => SubscriptionAvailabilities is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionAvailabilities' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } +#else + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] +#endif + public bool IsSubscriptionGroups => SubscriptionGroups != null; + + /// + /// + /// + public bool TryPickSubscriptionGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionGroup? value) + { + value = SubscriptionGroups; + return IsSubscriptionGroups; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionImage? SubscriptionImages { get; init; } +#else + public global::AppStoreConnect.SubscriptionImage? SubscriptionImages { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionImages))] +#endif + public bool IsSubscriptionImages => SubscriptionImages != null; + + /// + /// + /// + public bool TryPickSubscriptionImages( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionImage? value) + { + value = SubscriptionImages; + return IsSubscriptionImages; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionImage PickSubscriptionImages() => SubscriptionImages is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionImages' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionIntroductoryOffer? SubscriptionIntroductoryOffers { get; init; } +#else + public global::AppStoreConnect.SubscriptionIntroductoryOffer? SubscriptionIntroductoryOffers { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionIntroductoryOffers))] +#endif + public bool IsSubscriptionIntroductoryOffers => SubscriptionIntroductoryOffers != null; + + /// + /// + /// + public bool TryPickSubscriptionIntroductoryOffers( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionIntroductoryOffer? value) + { + value = SubscriptionIntroductoryOffers; + return IsSubscriptionIntroductoryOffers; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionIntroductoryOffer PickSubscriptionIntroductoryOffers() => SubscriptionIntroductoryOffers is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionIntroductoryOffers' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionLocalization? SubscriptionLocalizations { get; init; } +#else + public global::AppStoreConnect.SubscriptionLocalization? SubscriptionLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionLocalizations))] +#endif + public bool IsSubscriptionLocalizations => SubscriptionLocalizations != null; + + /// + /// + /// + public bool TryPickSubscriptionLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionLocalization? value) + { + value = SubscriptionLocalizations; + return IsSubscriptionLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionLocalization PickSubscriptionLocalizations() => SubscriptionLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionOfferCode? SubscriptionOfferCodes { get; init; } +#else + public global::AppStoreConnect.SubscriptionOfferCode? SubscriptionOfferCodes { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionOfferCodes))] +#endif + public bool IsSubscriptionOfferCodes => SubscriptionOfferCodes != null; + + /// + /// + /// + public bool TryPickSubscriptionOfferCodes( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionOfferCode? value) + { + value = SubscriptionOfferCodes; + return IsSubscriptionOfferCodes; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionOfferCode PickSubscriptionOfferCodes() => SubscriptionOfferCodes is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionOfferCodes' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionPlanAvailability? SubscriptionPlanAvailabilities { get; init; } +#else + public global::AppStoreConnect.SubscriptionPlanAvailability? SubscriptionPlanAvailabilities { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPlanAvailabilities))] +#endif + public bool IsSubscriptionPlanAvailabilities => SubscriptionPlanAvailabilities != null; + + /// + /// + /// + public bool TryPickSubscriptionPlanAvailabilities( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionPlanAvailability? value) + { + value = SubscriptionPlanAvailabilities; + return IsSubscriptionPlanAvailabilities; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionPlanAvailability PickSubscriptionPlanAvailabilities() => SubscriptionPlanAvailabilities is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPlanAvailabilities' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionPrice? SubscriptionPrices { get; init; } +#else + public global::AppStoreConnect.SubscriptionPrice? SubscriptionPrices { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPrices))] +#endif + public bool IsSubscriptionPrices => SubscriptionPrices != null; + + /// + /// + /// + public bool TryPickSubscriptionPrices( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionPrice? value) + { + value = SubscriptionPrices; + return IsSubscriptionPrices; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionPrice PickSubscriptionPrices() => SubscriptionPrices is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPrices' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionPromotionalOffer? SubscriptionPromotionalOffers { get; init; } +#else + public global::AppStoreConnect.SubscriptionPromotionalOffer? SubscriptionPromotionalOffers { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPromotionalOffers))] +#endif + public bool IsSubscriptionPromotionalOffers => SubscriptionPromotionalOffers != null; + + /// + /// + /// + public bool TryPickSubscriptionPromotionalOffers( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionPromotionalOffer? value) + { + value = SubscriptionPromotionalOffers; + return IsSubscriptionPromotionalOffers; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionPromotionalOffer PickSubscriptionPromotionalOffers() => SubscriptionPromotionalOffers is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPromotionalOffers' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; init; } +#else + public global::AppStoreConnect.SubscriptionVersion? SubscriptionVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionVersions))] +#endif + public bool IsSubscriptionVersions => SubscriptionVersions != null; + + /// + /// + /// + public bool TryPickSubscriptionVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionVersion? value) + { + value = SubscriptionVersions; + return IsSubscriptionVersions; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionVersion PickSubscriptionVersions() => SubscriptionVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.WinBackOffer? WinBackOffers { get; init; } +#else + public global::AppStoreConnect.WinBackOffer? WinBackOffers { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(WinBackOffers))] +#endif + public bool IsWinBackOffers => WinBackOffers != null; + + /// + /// + /// + public bool TryPickWinBackOffers( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.WinBackOffer? value) + { + value = WinBackOffers; + return IsWinBackOffers; + } + + /// + /// + /// + public global::AppStoreConnect.WinBackOffer PickWinBackOffers() => WinBackOffers is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'WinBackOffers' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem179((global::AppStoreConnect.PromotedPurchase?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem179 @this) => @this.PromotedPurchases; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.PromotedPurchase? value) + { + PromotedPurchases = value; + } + + /// + /// + /// + public static IncludedItem179 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot value) => new IncludedItem179((global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot?(IncludedItem179 @this) => @this.SubscriptionAppStoreReviewScreenshots; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) + { + SubscriptionAppStoreReviewScreenshots = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionAppStoreReviewScreenshots(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionAvailability value) => new IncludedItem179((global::AppStoreConnect.SubscriptionAvailability?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionAvailability?(IncludedItem179 @this) => @this.SubscriptionAvailabilities; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionAvailability? value) + { + SubscriptionAvailabilities = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionAvailabilities(global::AppStoreConnect.SubscriptionAvailability? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem179((global::AppStoreConnect.SubscriptionGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem179 @this) => @this.SubscriptionGroups; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionGroup? value) + { + SubscriptionGroups = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionImage value) => new IncludedItem179((global::AppStoreConnect.SubscriptionImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionImage?(IncludedItem179 @this) => @this.SubscriptionImages; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionImage? value) + { + SubscriptionImages = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionImages(global::AppStoreConnect.SubscriptionImage? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionIntroductoryOffer value) => new IncludedItem179((global::AppStoreConnect.SubscriptionIntroductoryOffer?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionIntroductoryOffer?(IncludedItem179 @this) => @this.SubscriptionIntroductoryOffers; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionIntroductoryOffer? value) + { + SubscriptionIntroductoryOffers = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionIntroductoryOffers(global::AppStoreConnect.SubscriptionIntroductoryOffer? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionLocalization value) => new IncludedItem179((global::AppStoreConnect.SubscriptionLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionLocalization?(IncludedItem179 @this) => @this.SubscriptionLocalizations; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionLocalization? value) + { + SubscriptionLocalizations = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionLocalizations(global::AppStoreConnect.SubscriptionLocalization? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionOfferCode value) => new IncludedItem179((global::AppStoreConnect.SubscriptionOfferCode?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionOfferCode?(IncludedItem179 @this) => @this.SubscriptionOfferCodes; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionOfferCode? value) + { + SubscriptionOfferCodes = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionOfferCodes(global::AppStoreConnect.SubscriptionOfferCode? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionPlanAvailability value) => new IncludedItem179((global::AppStoreConnect.SubscriptionPlanAvailability?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionPlanAvailability?(IncludedItem179 @this) => @this.SubscriptionPlanAvailabilities; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionPlanAvailability? value) + { + SubscriptionPlanAvailabilities = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionPlanAvailabilities(global::AppStoreConnect.SubscriptionPlanAvailability? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionPrice value) => new IncludedItem179((global::AppStoreConnect.SubscriptionPrice?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionPrice?(IncludedItem179 @this) => @this.SubscriptionPrices; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionPrice? value) + { + SubscriptionPrices = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionPrices(global::AppStoreConnect.SubscriptionPrice? value) => new IncludedItem179(value); + + /// + /// + /// + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionPromotionalOffer value) => new IncludedItem179((global::AppStoreConnect.SubscriptionPromotionalOffer?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionPromotionalOffer?(IncludedItem179 @this) => @this.SubscriptionPromotionalOffers; + + /// + /// + /// + public IncludedItem179(global::AppStoreConnect.SubscriptionPromotionalOffer? value) + { + SubscriptionPromotionalOffers = value; + } + + /// + /// + /// + public static IncludedItem179 FromSubscriptionPromotionalOffers(global::AppStoreConnect.SubscriptionPromotionalOffer? value) => new IncludedItem179(value); + /// /// /// - public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem179((global::AppStoreConnect.SubscriptionPricePoint?)value); + public static implicit operator IncludedItem179(global::AppStoreConnect.SubscriptionVersion value) => new IncludedItem179((global::AppStoreConnect.SubscriptionVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem179 @this) => @this.SubscriptionPricePoints; + public static implicit operator global::AppStoreConnect.SubscriptionVersion?(IncludedItem179 @this) => @this.SubscriptionVersions; /// /// /// - public IncludedItem179(global::AppStoreConnect.SubscriptionPricePoint? value) + public IncludedItem179(global::AppStoreConnect.SubscriptionVersion? value) { - SubscriptionPricePoints = value; + SubscriptionVersions = value; } /// /// /// - public static IncludedItem179 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem179(value); + public static IncludedItem179 FromSubscriptionVersions(global::AppStoreConnect.SubscriptionVersion? value) => new IncludedItem179(value); /// /// /// - public static implicit operator IncludedItem179(global::AppStoreConnect.Territory value) => new IncludedItem179((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem179(global::AppStoreConnect.WinBackOffer value) => new IncludedItem179((global::AppStoreConnect.WinBackOffer?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem179 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.WinBackOffer?(IncludedItem179 @this) => @this.WinBackOffers; /// /// /// - public IncludedItem179(global::AppStoreConnect.Territory? value) + public IncludedItem179(global::AppStoreConnect.WinBackOffer? value) { - Territories = value; + WinBackOffers = value; } /// /// /// - public static IncludedItem179 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem179(value); + public static IncludedItem179 FromWinBackOffers(global::AppStoreConnect.WinBackOffer? value) => new IncludedItem179(value); /// /// /// public IncludedItem179( - global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.SubscriptionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.PromotedPurchase? promotedPurchases, + global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot? subscriptionAppStoreReviewScreenshots, + global::AppStoreConnect.SubscriptionAvailability? subscriptionAvailabilities, + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups, + global::AppStoreConnect.SubscriptionImage? subscriptionImages, + global::AppStoreConnect.SubscriptionIntroductoryOffer? subscriptionIntroductoryOffers, + global::AppStoreConnect.SubscriptionLocalization? subscriptionLocalizations, + global::AppStoreConnect.SubscriptionOfferCode? subscriptionOfferCodes, + global::AppStoreConnect.SubscriptionPlanAvailability? subscriptionPlanAvailabilities, + global::AppStoreConnect.SubscriptionPrice? subscriptionPrices, + global::AppStoreConnect.SubscriptionPromotionalOffer? subscriptionPromotionalOffers, + global::AppStoreConnect.SubscriptionVersion? subscriptionVersions, + global::AppStoreConnect.WinBackOffer? winBackOffers ) { Type = type; - SubscriptionPricePoints = subscriptionPricePoints; - Territories = territories; + PromotedPurchases = promotedPurchases; + SubscriptionAppStoreReviewScreenshots = subscriptionAppStoreReviewScreenshots; + SubscriptionAvailabilities = subscriptionAvailabilities; + SubscriptionGroups = subscriptionGroups; + SubscriptionImages = subscriptionImages; + SubscriptionIntroductoryOffers = subscriptionIntroductoryOffers; + SubscriptionLocalizations = subscriptionLocalizations; + SubscriptionOfferCodes = subscriptionOfferCodes; + SubscriptionPlanAvailabilities = subscriptionPlanAvailabilities; + SubscriptionPrices = subscriptionPrices; + SubscriptionPromotionalOffers = subscriptionPromotionalOffers; + SubscriptionVersions = subscriptionVersions; + WinBackOffers = winBackOffers; } /// /// /// public object? Object => - Territories as object ?? - SubscriptionPricePoints as object + WinBackOffers as object ?? + SubscriptionVersions as object ?? + SubscriptionPromotionalOffers as object ?? + SubscriptionPrices as object ?? + SubscriptionPlanAvailabilities as object ?? + SubscriptionOfferCodes as object ?? + SubscriptionLocalizations as object ?? + SubscriptionIntroductoryOffers as object ?? + SubscriptionImages as object ?? + SubscriptionGroups as object ?? + SubscriptionAvailabilities as object ?? + SubscriptionAppStoreReviewScreenshots as object ?? + PromotedPurchases as object ; /// /// /// public override string? ToString() => - SubscriptionPricePoints?.ToString() ?? - Territories?.ToString() + PromotedPurchases?.ToString() ?? + SubscriptionAppStoreReviewScreenshots?.ToString() ?? + SubscriptionAvailabilities?.ToString() ?? + SubscriptionGroups?.ToString() ?? + SubscriptionImages?.ToString() ?? + SubscriptionIntroductoryOffers?.ToString() ?? + SubscriptionLocalizations?.ToString() ?? + SubscriptionOfferCodes?.ToString() ?? + SubscriptionPlanAvailabilities?.ToString() ?? + SubscriptionPrices?.ToString() ?? + SubscriptionPromotionalOffers?.ToString() ?? + SubscriptionVersions?.ToString() ?? + WinBackOffers?.ToString() ; /// @@ -169,15 +873,26 @@ SubscriptionPricePoints as object /// public bool Validate() { - return IsSubscriptionPricePoints && !IsTerritories || !IsSubscriptionPricePoints && IsTerritories; + return IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && IsSubscriptionVersions && !IsWinBackOffers || !IsPromotedPurchases && !IsSubscriptionAppStoreReviewScreenshots && !IsSubscriptionAvailabilities && !IsSubscriptionGroups && !IsSubscriptionImages && !IsSubscriptionIntroductoryOffers && !IsSubscriptionLocalizations && !IsSubscriptionOfferCodes && !IsSubscriptionPlanAvailabilities && !IsSubscriptionPrices && !IsSubscriptionPromotionalOffers && !IsSubscriptionVersions && IsWinBackOffers; } /// /// /// public TResult? Match( - global::System.Func? subscriptionPricePoints = null, - global::System.Func? territories = null, + global::System.Func? promotedPurchases = null, + global::System.Func? subscriptionAppStoreReviewScreenshots = null, + global::System.Func? subscriptionAvailabilities = null, + global::System.Func? subscriptionGroups = null, + global::System.Func? subscriptionImages = null, + global::System.Func? subscriptionIntroductoryOffers = null, + global::System.Func? subscriptionLocalizations = null, + global::System.Func? subscriptionOfferCodes = null, + global::System.Func? subscriptionPlanAvailabilities = null, + global::System.Func? subscriptionPrices = null, + global::System.Func? subscriptionPromotionalOffers = null, + global::System.Func? subscriptionVersions = null, + global::System.Func? winBackOffers = null, bool validate = true) { if (validate) @@ -185,13 +900,57 @@ public bool Validate() Validate(); } - if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) + if (PromotedPurchases is { } __value0 && promotedPurchases != null) + { + return promotedPurchases(__value0); + } + else if (SubscriptionAppStoreReviewScreenshots is { } __value1 && subscriptionAppStoreReviewScreenshots != null) + { + return subscriptionAppStoreReviewScreenshots(__value1); + } + else if (SubscriptionAvailabilities is { } __value2 && subscriptionAvailabilities != null) + { + return subscriptionAvailabilities(__value2); + } + else if (SubscriptionGroups is { } __value3 && subscriptionGroups != null) + { + return subscriptionGroups(__value3); + } + else if (SubscriptionImages is { } __value4 && subscriptionImages != null) + { + return subscriptionImages(__value4); + } + else if (SubscriptionIntroductoryOffers is { } __value5 && subscriptionIntroductoryOffers != null) + { + return subscriptionIntroductoryOffers(__value5); + } + else if (SubscriptionLocalizations is { } __value6 && subscriptionLocalizations != null) + { + return subscriptionLocalizations(__value6); + } + else if (SubscriptionOfferCodes is { } __value7 && subscriptionOfferCodes != null) + { + return subscriptionOfferCodes(__value7); + } + else if (SubscriptionPlanAvailabilities is { } __value8 && subscriptionPlanAvailabilities != null) + { + return subscriptionPlanAvailabilities(__value8); + } + else if (SubscriptionPrices is { } __value9 && subscriptionPrices != null) + { + return subscriptionPrices(__value9); + } + else if (SubscriptionPromotionalOffers is { } __value10 && subscriptionPromotionalOffers != null) + { + return subscriptionPromotionalOffers(__value10); + } + else if (SubscriptionVersions is { } __value11 && subscriptionVersions != null) { - return subscriptionPricePoints(__value0); + return subscriptionVersions(__value11); } - else if (Territories is { } __value1 && territories != null) + else if (WinBackOffers is { } __value12 && winBackOffers != null) { - return territories(__value1); + return winBackOffers(__value12); } return default(TResult); @@ -201,9 +960,31 @@ public bool Validate() /// /// public void Match( - global::System.Action? subscriptionPricePoints = null, + global::System.Action? promotedPurchases = null, + + global::System.Action? subscriptionAppStoreReviewScreenshots = null, + + global::System.Action? subscriptionAvailabilities = null, + + global::System.Action? subscriptionGroups = null, + + global::System.Action? subscriptionImages = null, + + global::System.Action? subscriptionIntroductoryOffers = null, + + global::System.Action? subscriptionLocalizations = null, + + global::System.Action? subscriptionOfferCodes = null, - global::System.Action? territories = null, + global::System.Action? subscriptionPlanAvailabilities = null, + + global::System.Action? subscriptionPrices = null, + + global::System.Action? subscriptionPromotionalOffers = null, + + global::System.Action? subscriptionVersions = null, + + global::System.Action? winBackOffers = null, bool validate = true) { if (validate) @@ -211,13 +992,57 @@ public void Match( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (PromotedPurchases is { } __value0) + { + promotedPurchases?.Invoke(__value0); + } + else if (SubscriptionAppStoreReviewScreenshots is { } __value1) + { + subscriptionAppStoreReviewScreenshots?.Invoke(__value1); + } + else if (SubscriptionAvailabilities is { } __value2) + { + subscriptionAvailabilities?.Invoke(__value2); + } + else if (SubscriptionGroups is { } __value3) + { + subscriptionGroups?.Invoke(__value3); + } + else if (SubscriptionImages is { } __value4) + { + subscriptionImages?.Invoke(__value4); + } + else if (SubscriptionIntroductoryOffers is { } __value5) + { + subscriptionIntroductoryOffers?.Invoke(__value5); + } + else if (SubscriptionLocalizations is { } __value6) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionLocalizations?.Invoke(__value6); } - else if (Territories is { } __value1) + else if (SubscriptionOfferCodes is { } __value7) { - territories?.Invoke(__value1); + subscriptionOfferCodes?.Invoke(__value7); + } + else if (SubscriptionPlanAvailabilities is { } __value8) + { + subscriptionPlanAvailabilities?.Invoke(__value8); + } + else if (SubscriptionPrices is { } __value9) + { + subscriptionPrices?.Invoke(__value9); + } + else if (SubscriptionPromotionalOffers is { } __value10) + { + subscriptionPromotionalOffers?.Invoke(__value10); + } + else if (SubscriptionVersions is { } __value11) + { + subscriptionVersions?.Invoke(__value11); + } + else if (WinBackOffers is { } __value12) + { + winBackOffers?.Invoke(__value12); } } @@ -225,8 +1050,19 @@ public void Match( /// /// public void Switch( - global::System.Action? subscriptionPricePoints = null, - global::System.Action? territories = null, + global::System.Action? promotedPurchases = null, + global::System.Action? subscriptionAppStoreReviewScreenshots = null, + global::System.Action? subscriptionAvailabilities = null, + global::System.Action? subscriptionGroups = null, + global::System.Action? subscriptionImages = null, + global::System.Action? subscriptionIntroductoryOffers = null, + global::System.Action? subscriptionLocalizations = null, + global::System.Action? subscriptionOfferCodes = null, + global::System.Action? subscriptionPlanAvailabilities = null, + global::System.Action? subscriptionPrices = null, + global::System.Action? subscriptionPromotionalOffers = null, + global::System.Action? subscriptionVersions = null, + global::System.Action? winBackOffers = null, bool validate = true) { if (validate) @@ -234,13 +1070,57 @@ public void Switch( Validate(); } - if (SubscriptionPricePoints is { } __value0) + if (PromotedPurchases is { } __value0) + { + promotedPurchases?.Invoke(__value0); + } + else if (SubscriptionAppStoreReviewScreenshots is { } __value1) + { + subscriptionAppStoreReviewScreenshots?.Invoke(__value1); + } + else if (SubscriptionAvailabilities is { } __value2) + { + subscriptionAvailabilities?.Invoke(__value2); + } + else if (SubscriptionGroups is { } __value3) + { + subscriptionGroups?.Invoke(__value3); + } + else if (SubscriptionImages is { } __value4) + { + subscriptionImages?.Invoke(__value4); + } + else if (SubscriptionIntroductoryOffers is { } __value5) + { + subscriptionIntroductoryOffers?.Invoke(__value5); + } + else if (SubscriptionLocalizations is { } __value6) + { + subscriptionLocalizations?.Invoke(__value6); + } + else if (SubscriptionOfferCodes is { } __value7) + { + subscriptionOfferCodes?.Invoke(__value7); + } + else if (SubscriptionPlanAvailabilities is { } __value8) + { + subscriptionPlanAvailabilities?.Invoke(__value8); + } + else if (SubscriptionPrices is { } __value9) + { + subscriptionPrices?.Invoke(__value9); + } + else if (SubscriptionPromotionalOffers is { } __value10) + { + subscriptionPromotionalOffers?.Invoke(__value10); + } + else if (SubscriptionVersions is { } __value11) { - subscriptionPricePoints?.Invoke(__value0); + subscriptionVersions?.Invoke(__value11); } - else if (Territories is { } __value1) + else if (WinBackOffers is { } __value12) { - territories?.Invoke(__value1); + winBackOffers?.Invoke(__value12); } } @@ -251,10 +1131,32 @@ public override int GetHashCode() { var fields = new object?[] { - SubscriptionPricePoints, - typeof(global::AppStoreConnect.SubscriptionPricePoint), - Territories, - typeof(global::AppStoreConnect.Territory), + PromotedPurchases, + typeof(global::AppStoreConnect.PromotedPurchase), + SubscriptionAppStoreReviewScreenshots, + typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot), + SubscriptionAvailabilities, + typeof(global::AppStoreConnect.SubscriptionAvailability), + SubscriptionGroups, + typeof(global::AppStoreConnect.SubscriptionGroup), + SubscriptionImages, + typeof(global::AppStoreConnect.SubscriptionImage), + SubscriptionIntroductoryOffers, + typeof(global::AppStoreConnect.SubscriptionIntroductoryOffer), + SubscriptionLocalizations, + typeof(global::AppStoreConnect.SubscriptionLocalization), + SubscriptionOfferCodes, + typeof(global::AppStoreConnect.SubscriptionOfferCode), + SubscriptionPlanAvailabilities, + typeof(global::AppStoreConnect.SubscriptionPlanAvailability), + SubscriptionPrices, + typeof(global::AppStoreConnect.SubscriptionPrice), + SubscriptionPromotionalOffers, + typeof(global::AppStoreConnect.SubscriptionPromotionalOffer), + SubscriptionVersions, + typeof(global::AppStoreConnect.SubscriptionVersion), + WinBackOffers, + typeof(global::AppStoreConnect.WinBackOffer), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +1173,19 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem179 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionAppStoreReviewScreenshots, other.SubscriptionAppStoreReviewScreenshots) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionAvailabilities, other.SubscriptionAvailabilities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionImages, other.SubscriptionImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionIntroductoryOffers, other.SubscriptionIntroductoryOffers) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionLocalizations, other.SubscriptionLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionOfferCodes, other.SubscriptionOfferCodes) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPlanAvailabilities, other.SubscriptionPlanAvailabilities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPrices, other.SubscriptionPrices) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPromotionalOffers, other.SubscriptionPromotionalOffers) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionVersions, other.SubscriptionVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(WinBackOffers, other.WinBackOffers) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem18.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem18.g.cs index 8150cbe2d..f263e16f9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem18.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem18.g.cs @@ -12,220 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEncryptionDeclarationDocument? AppEncryptionDeclarationDocuments1 { get; init; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations1 { get; init; } #else - public global::AppStoreConnect.AppEncryptionDeclarationDocument? AppEncryptionDeclarationDocuments1 { get; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarationDocuments1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations1))] #endif - public bool IsAppEncryptionDeclarationDocuments1 => AppEncryptionDeclarationDocuments1 != null; + public bool IsAppCustomProductPageLocalizations1 => AppCustomProductPageLocalizations1 != null; /// /// /// - public bool TryPickAppEncryptionDeclarationDocuments1( + public bool TryPickAppCustomProductPageLocalizations1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEncryptionDeclarationDocument? value) + out global::AppStoreConnect.AppCustomProductPageLocalization? value) { - value = AppEncryptionDeclarationDocuments1; - return IsAppEncryptionDeclarationDocuments1; + value = AppCustomProductPageLocalizations1; + return IsAppCustomProductPageLocalizations1; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclarationDocument PickAppEncryptionDeclarationDocuments1() => AppEncryptionDeclarationDocuments1 is { } value + public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations1() => AppCustomProductPageLocalizations1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarationDocuments1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppEncryptionDeclarationDocuments2 { get; init; } + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; init; } #else - public global::AppStoreConnect.App? AppEncryptionDeclarationDocuments2 { get; } + public global::AppStoreConnect.AppCustomProductPageVersion? AppCustomProductPageVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarationDocuments2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageVersions))] #endif - public bool IsAppEncryptionDeclarationDocuments2 => AppEncryptionDeclarationDocuments2 != null; + public bool IsAppCustomProductPageVersions => AppCustomProductPageVersions != null; /// /// /// - public bool TryPickAppEncryptionDeclarationDocuments2( + public bool TryPickAppCustomProductPageVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.AppCustomProductPageVersion? value) { - value = AppEncryptionDeclarationDocuments2; - return IsAppEncryptionDeclarationDocuments2; + value = AppCustomProductPageVersions; + return IsAppCustomProductPageVersions; } /// /// /// - public global::AppStoreConnect.App PickAppEncryptionDeclarationDocuments2() => AppEncryptionDeclarationDocuments2 is { } value + public global::AppStoreConnect.AppCustomProductPageVersion PickAppCustomProductPageVersions() => AppCustomProductPageVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarationDocuments2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } + public global::AppStoreConnect.App? AppCustomProductPageLocalizations2 { get; init; } #else - public global::AppStoreConnect.Build? Builds { get; } + public global::AppStoreConnect.App? AppCustomProductPageLocalizations2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations2))] #endif - public bool IsBuilds => Builds != null; + public bool IsAppCustomProductPageLocalizations2 => AppCustomProductPageLocalizations2 != null; /// /// /// - public bool TryPickBuilds( + public bool TryPickAppCustomProductPageLocalizations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Build? value) + out global::AppStoreConnect.App? value) { - value = Builds; - return IsBuilds; + value = AppCustomProductPageLocalizations2; + return IsAppCustomProductPageLocalizations2; } /// /// /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value + public global::AppStoreConnect.App PickAppCustomProductPageLocalizations2() => AppCustomProductPageLocalizations2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations2' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem18(global::AppStoreConnect.AppEncryptionDeclarationDocument value) => new IncludedItem18((global::AppStoreConnect.AppEncryptionDeclarationDocument?)value); + public static implicit operator IncludedItem18(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem18((global::AppStoreConnect.AppCustomProductPageLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppEncryptionDeclarationDocument?(IncludedItem18 @this) => @this.AppEncryptionDeclarationDocuments1; + public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem18 @this) => @this.AppCustomProductPageLocalizations1; /// /// /// - public IncludedItem18(global::AppStoreConnect.AppEncryptionDeclarationDocument? value) + public IncludedItem18(global::AppStoreConnect.AppCustomProductPageLocalization? value) { - AppEncryptionDeclarationDocuments1 = value; + AppCustomProductPageLocalizations1 = value; } /// /// /// - public static IncludedItem18 FromAppEncryptionDeclarationDocuments1(global::AppStoreConnect.AppEncryptionDeclarationDocument? value) => new IncludedItem18(value); + public static IncludedItem18 FromAppCustomProductPageLocalizations1(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem18(value); /// /// /// - public static implicit operator IncludedItem18(global::AppStoreConnect.App value) => new IncludedItem18((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem18(global::AppStoreConnect.AppCustomProductPageVersion value) => new IncludedItem18((global::AppStoreConnect.AppCustomProductPageVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem18 @this) => @this.AppEncryptionDeclarationDocuments2; + public static implicit operator global::AppStoreConnect.AppCustomProductPageVersion?(IncludedItem18 @this) => @this.AppCustomProductPageVersions; /// /// /// - public IncludedItem18(global::AppStoreConnect.App? value) + public IncludedItem18(global::AppStoreConnect.AppCustomProductPageVersion? value) { - AppEncryptionDeclarationDocuments2 = value; + AppCustomProductPageVersions = value; } /// /// /// - public static IncludedItem18 FromAppEncryptionDeclarationDocuments2(global::AppStoreConnect.App? value) => new IncludedItem18(value); + public static IncludedItem18 FromAppCustomProductPageVersions(global::AppStoreConnect.AppCustomProductPageVersion? value) => new IncludedItem18(value); /// /// /// - public static implicit operator IncludedItem18(global::AppStoreConnect.Build value) => new IncludedItem18((global::AppStoreConnect.Build?)value); + public static implicit operator IncludedItem18(global::AppStoreConnect.App value) => new IncludedItem18((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem18 @this) => @this.Builds; + public static implicit operator global::AppStoreConnect.App?(IncludedItem18 @this) => @this.AppCustomProductPageLocalizations2; /// /// /// - public IncludedItem18(global::AppStoreConnect.Build? value) + public IncludedItem18(global::AppStoreConnect.App? value) { - Builds = value; + AppCustomProductPageLocalizations2 = value; } /// /// /// - public static IncludedItem18 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem18(value); + public static IncludedItem18 FromAppCustomProductPageLocalizations2(global::AppStoreConnect.App? value) => new IncludedItem18(value); /// /// /// public IncludedItem18( - global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppEncryptionDeclarationDocument? appEncryptionDeclarationDocuments1, - global::AppStoreConnect.App? appEncryptionDeclarationDocuments2, - global::AppStoreConnect.Build? builds + global::AppStoreConnect.AppCustomProductPageResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations1, + global::AppStoreConnect.AppCustomProductPageVersion? appCustomProductPageVersions, + global::AppStoreConnect.App? appCustomProductPageLocalizations2 ) { Type = type; - AppEncryptionDeclarationDocuments1 = appEncryptionDeclarationDocuments1; - AppEncryptionDeclarationDocuments2 = appEncryptionDeclarationDocuments2; - Builds = builds; + AppCustomProductPageLocalizations1 = appCustomProductPageLocalizations1; + AppCustomProductPageVersions = appCustomProductPageVersions; + AppCustomProductPageLocalizations2 = appCustomProductPageLocalizations2; } /// /// /// public object? Object => - Builds as object ?? - AppEncryptionDeclarationDocuments2 as object ?? - AppEncryptionDeclarationDocuments1 as object + AppCustomProductPageLocalizations2 as object ?? + AppCustomProductPageVersions as object ?? + AppCustomProductPageLocalizations1 as object ; /// /// /// public override string? ToString() => - AppEncryptionDeclarationDocuments1?.ToString() ?? - AppEncryptionDeclarationDocuments2?.ToString() ?? - Builds?.ToString() + AppCustomProductPageLocalizations1?.ToString() ?? + AppCustomProductPageVersions?.ToString() ?? + AppCustomProductPageLocalizations2?.ToString() ; /// @@ -233,16 +233,16 @@ AppEncryptionDeclarationDocuments1 as object /// public bool Validate() { - return IsAppEncryptionDeclarationDocuments1 && !IsAppEncryptionDeclarationDocuments2 && !IsBuilds || !IsAppEncryptionDeclarationDocuments1 && IsAppEncryptionDeclarationDocuments2 && !IsBuilds || !IsAppEncryptionDeclarationDocuments1 && !IsAppEncryptionDeclarationDocuments2 && IsBuilds; + return IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageVersions && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && IsAppCustomProductPageVersions && !IsAppCustomProductPageLocalizations2 || !IsAppCustomProductPageLocalizations1 && !IsAppCustomProductPageVersions && IsAppCustomProductPageLocalizations2; } /// /// /// public TResult? Match( - global::System.Func? appEncryptionDeclarationDocuments1 = null, - global::System.Func? appEncryptionDeclarationDocuments2 = null, - global::System.Func? builds = null, + global::System.Func? appCustomProductPageLocalizations1 = null, + global::System.Func? appCustomProductPageVersions = null, + global::System.Func? appCustomProductPageLocalizations2 = null, bool validate = true) { if (validate) @@ -250,17 +250,17 @@ public bool Validate() Validate(); } - if (AppEncryptionDeclarationDocuments1 is { } __value0 && appEncryptionDeclarationDocuments1 != null) + if (AppCustomProductPageLocalizations1 is { } __value0 && appCustomProductPageLocalizations1 != null) { - return appEncryptionDeclarationDocuments1(__value0); + return appCustomProductPageLocalizations1(__value0); } - else if (AppEncryptionDeclarationDocuments2 is { } __value1 && appEncryptionDeclarationDocuments2 != null) + else if (AppCustomProductPageVersions is { } __value1 && appCustomProductPageVersions != null) { - return appEncryptionDeclarationDocuments2(__value1); + return appCustomProductPageVersions(__value1); } - else if (Builds is { } __value2 && builds != null) + else if (AppCustomProductPageLocalizations2 is { } __value2 && appCustomProductPageLocalizations2 != null) { - return builds(__value2); + return appCustomProductPageLocalizations2(__value2); } return default(TResult); @@ -270,11 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? appEncryptionDeclarationDocuments1 = null, + global::System.Action? appCustomProductPageLocalizations1 = null, - global::System.Action? appEncryptionDeclarationDocuments2 = null, + global::System.Action? appCustomProductPageVersions = null, - global::System.Action? builds = null, + global::System.Action? appCustomProductPageLocalizations2 = null, bool validate = true) { if (validate) @@ -282,17 +282,17 @@ public void Match( Validate(); } - if (AppEncryptionDeclarationDocuments1 is { } __value0) + if (AppCustomProductPageLocalizations1 is { } __value0) { - appEncryptionDeclarationDocuments1?.Invoke(__value0); + appCustomProductPageLocalizations1?.Invoke(__value0); } - else if (AppEncryptionDeclarationDocuments2 is { } __value1) + else if (AppCustomProductPageVersions is { } __value1) { - appEncryptionDeclarationDocuments2?.Invoke(__value1); + appCustomProductPageVersions?.Invoke(__value1); } - else if (Builds is { } __value2) + else if (AppCustomProductPageLocalizations2 is { } __value2) { - builds?.Invoke(__value2); + appCustomProductPageLocalizations2?.Invoke(__value2); } } @@ -300,9 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? appEncryptionDeclarationDocuments1 = null, - global::System.Action? appEncryptionDeclarationDocuments2 = null, - global::System.Action? builds = null, + global::System.Action? appCustomProductPageLocalizations1 = null, + global::System.Action? appCustomProductPageVersions = null, + global::System.Action? appCustomProductPageLocalizations2 = null, bool validate = true) { if (validate) @@ -310,17 +310,17 @@ public void Switch( Validate(); } - if (AppEncryptionDeclarationDocuments1 is { } __value0) + if (AppCustomProductPageLocalizations1 is { } __value0) { - appEncryptionDeclarationDocuments1?.Invoke(__value0); + appCustomProductPageLocalizations1?.Invoke(__value0); } - else if (AppEncryptionDeclarationDocuments2 is { } __value1) + else if (AppCustomProductPageVersions is { } __value1) { - appEncryptionDeclarationDocuments2?.Invoke(__value1); + appCustomProductPageVersions?.Invoke(__value1); } - else if (Builds is { } __value2) + else if (AppCustomProductPageLocalizations2 is { } __value2) { - builds?.Invoke(__value2); + appCustomProductPageLocalizations2?.Invoke(__value2); } } @@ -331,12 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - AppEncryptionDeclarationDocuments1, - typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), - AppEncryptionDeclarationDocuments2, + AppCustomProductPageLocalizations1, + typeof(global::AppStoreConnect.AppCustomProductPageLocalization), + AppCustomProductPageVersions, + typeof(global::AppStoreConnect.AppCustomProductPageVersion), + AppCustomProductPageLocalizations2, typeof(global::AppStoreConnect.App), - Builds, - typeof(global::AppStoreConnect.Build), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem18 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarationDocuments1, other.AppEncryptionDeclarationDocuments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarationDocuments2, other.AppEncryptionDeclarationDocuments2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations1, other.AppCustomProductPageLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageVersions, other.AppCustomProductPageVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations2, other.AppCustomProductPageLocalizations2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem181.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem181.Json.g.cs new file mode 100644 index 000000000..23546e75f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem181.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct IncludedItem181 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.IncludedItem181? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.IncludedItem181), + jsonSerializerContext) as global::AppStoreConnect.IncludedItem181?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.IncludedItem181? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.IncludedItem181? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.IncludedItem181), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem181?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem181.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem181.g.cs new file mode 100644 index 000000000..94ebbd5af --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem181.g.cs @@ -0,0 +1,303 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct IncludedItem181 : global::System.IEquatable + { + /// + /// + /// + public global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; init; } +#else + public global::AppStoreConnect.SubscriptionPricePoint? SubscriptionPricePoints { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionPricePoints))] +#endif + public bool IsSubscriptionPricePoints => SubscriptionPricePoints != null; + + /// + /// + /// + public bool TryPickSubscriptionPricePoints( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionPricePoint? value) + { + value = SubscriptionPricePoints; + return IsSubscriptionPricePoints; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionPricePoint PickSubscriptionPricePoints() => SubscriptionPricePoints is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionPricePoints' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Territory? Territories { get; init; } +#else + public global::AppStoreConnect.Territory? Territories { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] +#endif + public bool IsTerritories => Territories != null; + + /// + /// + /// + public bool TryPickTerritories( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Territory? value) + { + value = Territories; + return IsTerritories; + } + + /// + /// + /// + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem181(global::AppStoreConnect.SubscriptionPricePoint value) => new IncludedItem181((global::AppStoreConnect.SubscriptionPricePoint?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.SubscriptionPricePoint?(IncludedItem181 @this) => @this.SubscriptionPricePoints; + + /// + /// + /// + public IncludedItem181(global::AppStoreConnect.SubscriptionPricePoint? value) + { + SubscriptionPricePoints = value; + } + + /// + /// + /// + public static IncludedItem181 FromSubscriptionPricePoints(global::AppStoreConnect.SubscriptionPricePoint? value) => new IncludedItem181(value); + + /// + /// + /// + public static implicit operator IncludedItem181(global::AppStoreConnect.Territory value) => new IncludedItem181((global::AppStoreConnect.Territory?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem181 @this) => @this.Territories; + + /// + /// + /// + public IncludedItem181(global::AppStoreConnect.Territory? value) + { + Territories = value; + } + + /// + /// + /// + public static IncludedItem181 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem181(value); + + /// + /// + /// + public IncludedItem181( + global::AppStoreConnect.WinBackOfferPricesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.SubscriptionPricePoint? subscriptionPricePoints, + global::AppStoreConnect.Territory? territories + ) + { + Type = type; + + SubscriptionPricePoints = subscriptionPricePoints; + Territories = territories; + } + + /// + /// + /// + public object? Object => + Territories as object ?? + SubscriptionPricePoints as object + ; + + /// + /// + /// + public override string? ToString() => + SubscriptionPricePoints?.ToString() ?? + Territories?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsSubscriptionPricePoints && !IsTerritories || !IsSubscriptionPricePoints && IsTerritories; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? subscriptionPricePoints = null, + global::System.Func? territories = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SubscriptionPricePoints is { } __value0 && subscriptionPricePoints != null) + { + return subscriptionPricePoints(__value0); + } + else if (Territories is { } __value1 && territories != null) + { + return territories(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? subscriptionPricePoints = null, + + global::System.Action? territories = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SubscriptionPricePoints is { } __value0) + { + subscriptionPricePoints?.Invoke(__value0); + } + else if (Territories is { } __value1) + { + territories?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? subscriptionPricePoints = null, + global::System.Action? territories = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (SubscriptionPricePoints is { } __value0) + { + subscriptionPricePoints?.Invoke(__value0); + } + else if (Territories is { } __value1) + { + territories?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + SubscriptionPricePoints, + typeof(global::AppStoreConnect.SubscriptionPricePoint), + Territories, + typeof(global::AppStoreConnect.Territory), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(IncludedItem181 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionPricePoints, other.SubscriptionPricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + ; + } + + /// + /// + /// + public static bool operator ==(IncludedItem181 obj1, IncludedItem181 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(IncludedItem181 obj1, IncludedItem181 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is IncludedItem181 o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem19.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem19.g.cs deleted file mode 100644 index 69d7f6d1a..000000000 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem19.g.cs +++ /dev/null @@ -1,386 +0,0 @@ -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace AppStoreConnect -{ - /// - /// - /// - public readonly partial struct IncludedItem19 : global::System.IEquatable - { - /// - /// - /// - public global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType? Type { get; } - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEncryptionDeclarationDocument? AppEncryptionDeclarationDocuments1 { get; init; } -#else - public global::AppStoreConnect.AppEncryptionDeclarationDocument? AppEncryptionDeclarationDocuments1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarationDocuments1))] -#endif - public bool IsAppEncryptionDeclarationDocuments1 => AppEncryptionDeclarationDocuments1 != null; - - /// - /// - /// - public bool TryPickAppEncryptionDeclarationDocuments1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppEncryptionDeclarationDocument? value) - { - value = AppEncryptionDeclarationDocuments1; - return IsAppEncryptionDeclarationDocuments1; - } - - /// - /// - /// - public global::AppStoreConnect.AppEncryptionDeclarationDocument PickAppEncryptionDeclarationDocuments1() => AppEncryptionDeclarationDocuments1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarationDocuments1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppEncryptionDeclarationDocuments2 { get; init; } -#else - public global::AppStoreConnect.App? AppEncryptionDeclarationDocuments2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarationDocuments2))] -#endif - public bool IsAppEncryptionDeclarationDocuments2 => AppEncryptionDeclarationDocuments2 != null; - - /// - /// - /// - public bool TryPickAppEncryptionDeclarationDocuments2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) - { - value = AppEncryptionDeclarationDocuments2; - return IsAppEncryptionDeclarationDocuments2; - } - - /// - /// - /// - public global::AppStoreConnect.App PickAppEncryptionDeclarationDocuments2() => AppEncryptionDeclarationDocuments2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarationDocuments2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } -#else - public global::AppStoreConnect.Build? Builds { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] -#endif - public bool IsBuilds => Builds != null; - - /// - /// - /// - public bool TryPickBuilds( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Build? value) - { - value = Builds; - return IsBuilds; - } - - /// - /// - /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem19(global::AppStoreConnect.AppEncryptionDeclarationDocument value) => new IncludedItem19((global::AppStoreConnect.AppEncryptionDeclarationDocument?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppEncryptionDeclarationDocument?(IncludedItem19 @this) => @this.AppEncryptionDeclarationDocuments1; - - /// - /// - /// - public IncludedItem19(global::AppStoreConnect.AppEncryptionDeclarationDocument? value) - { - AppEncryptionDeclarationDocuments1 = value; - } - - /// - /// - /// - public static IncludedItem19 FromAppEncryptionDeclarationDocuments1(global::AppStoreConnect.AppEncryptionDeclarationDocument? value) => new IncludedItem19(value); - - /// - /// - /// - public static implicit operator IncludedItem19(global::AppStoreConnect.App value) => new IncludedItem19((global::AppStoreConnect.App?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem19 @this) => @this.AppEncryptionDeclarationDocuments2; - - /// - /// - /// - public IncludedItem19(global::AppStoreConnect.App? value) - { - AppEncryptionDeclarationDocuments2 = value; - } - - /// - /// - /// - public static IncludedItem19 FromAppEncryptionDeclarationDocuments2(global::AppStoreConnect.App? value) => new IncludedItem19(value); - - /// - /// - /// - public static implicit operator IncludedItem19(global::AppStoreConnect.Build value) => new IncludedItem19((global::AppStoreConnect.Build?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem19 @this) => @this.Builds; - - /// - /// - /// - public IncludedItem19(global::AppStoreConnect.Build? value) - { - Builds = value; - } - - /// - /// - /// - public static IncludedItem19 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem19(value); - - /// - /// - /// - public IncludedItem19( - global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppEncryptionDeclarationDocument? appEncryptionDeclarationDocuments1, - global::AppStoreConnect.App? appEncryptionDeclarationDocuments2, - global::AppStoreConnect.Build? builds - ) - { - Type = type; - - AppEncryptionDeclarationDocuments1 = appEncryptionDeclarationDocuments1; - AppEncryptionDeclarationDocuments2 = appEncryptionDeclarationDocuments2; - Builds = builds; - } - - /// - /// - /// - public object? Object => - Builds as object ?? - AppEncryptionDeclarationDocuments2 as object ?? - AppEncryptionDeclarationDocuments1 as object - ; - - /// - /// - /// - public override string? ToString() => - AppEncryptionDeclarationDocuments1?.ToString() ?? - AppEncryptionDeclarationDocuments2?.ToString() ?? - Builds?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsAppEncryptionDeclarationDocuments1 && !IsAppEncryptionDeclarationDocuments2 && !IsBuilds || !IsAppEncryptionDeclarationDocuments1 && IsAppEncryptionDeclarationDocuments2 && !IsBuilds || !IsAppEncryptionDeclarationDocuments1 && !IsAppEncryptionDeclarationDocuments2 && IsBuilds; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? appEncryptionDeclarationDocuments1 = null, - global::System.Func? appEncryptionDeclarationDocuments2 = null, - global::System.Func? builds = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (AppEncryptionDeclarationDocuments1 is { } __value0 && appEncryptionDeclarationDocuments1 != null) - { - return appEncryptionDeclarationDocuments1(__value0); - } - else if (AppEncryptionDeclarationDocuments2 is { } __value1 && appEncryptionDeclarationDocuments2 != null) - { - return appEncryptionDeclarationDocuments2(__value1); - } - else if (Builds is { } __value2 && builds != null) - { - return builds(__value2); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? appEncryptionDeclarationDocuments1 = null, - - global::System.Action? appEncryptionDeclarationDocuments2 = null, - - global::System.Action? builds = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (AppEncryptionDeclarationDocuments1 is { } __value0) - { - appEncryptionDeclarationDocuments1?.Invoke(__value0); - } - else if (AppEncryptionDeclarationDocuments2 is { } __value1) - { - appEncryptionDeclarationDocuments2?.Invoke(__value1); - } - else if (Builds is { } __value2) - { - builds?.Invoke(__value2); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? appEncryptionDeclarationDocuments1 = null, - global::System.Action? appEncryptionDeclarationDocuments2 = null, - global::System.Action? builds = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (AppEncryptionDeclarationDocuments1 is { } __value0) - { - appEncryptionDeclarationDocuments1?.Invoke(__value0); - } - else if (AppEncryptionDeclarationDocuments2 is { } __value1) - { - appEncryptionDeclarationDocuments2?.Invoke(__value1); - } - else if (Builds is { } __value2) - { - builds?.Invoke(__value2); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - AppEncryptionDeclarationDocuments1, - typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), - AppEncryptionDeclarationDocuments2, - typeof(global::AppStoreConnect.App), - Builds, - typeof(global::AppStoreConnect.Build), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(IncludedItem19 other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarationDocuments1, other.AppEncryptionDeclarationDocuments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarationDocuments2, other.AppEncryptionDeclarationDocuments2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) - ; - } - - /// - /// - /// - public static bool operator ==(IncludedItem19 obj1, IncludedItem19 obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(IncludedItem19 obj1, IncludedItem19 obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is IncludedItem19 o && Equals(o); - } - } -} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem20.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem20.g.cs index d24700062..e0fdf6489 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem20.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem20.g.cs @@ -12,220 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEventScreenshot? AppEventScreenshots { get; init; } + public global::AppStoreConnect.AppEncryptionDeclarationDocument? AppEncryptionDeclarationDocuments1 { get; init; } #else - public global::AppStoreConnect.AppEventScreenshot? AppEventScreenshots { get; } + public global::AppStoreConnect.AppEncryptionDeclarationDocument? AppEncryptionDeclarationDocuments1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventScreenshots))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarationDocuments1))] #endif - public bool IsAppEventScreenshots => AppEventScreenshots != null; + public bool IsAppEncryptionDeclarationDocuments1 => AppEncryptionDeclarationDocuments1 != null; /// /// /// - public bool TryPickAppEventScreenshots( + public bool TryPickAppEncryptionDeclarationDocuments1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEventScreenshot? value) + out global::AppStoreConnect.AppEncryptionDeclarationDocument? value) { - value = AppEventScreenshots; - return IsAppEventScreenshots; + value = AppEncryptionDeclarationDocuments1; + return IsAppEncryptionDeclarationDocuments1; } /// /// /// - public global::AppStoreConnect.AppEventScreenshot PickAppEventScreenshots() => AppEventScreenshots is { } value + public global::AppStoreConnect.AppEncryptionDeclarationDocument PickAppEncryptionDeclarationDocuments1() => AppEncryptionDeclarationDocuments1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventScreenshots' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarationDocuments1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEventVideoClip? AppEventVideoClips { get; init; } + public global::AppStoreConnect.App? AppEncryptionDeclarationDocuments2 { get; init; } #else - public global::AppStoreConnect.AppEventVideoClip? AppEventVideoClips { get; } + public global::AppStoreConnect.App? AppEncryptionDeclarationDocuments2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventVideoClips))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarationDocuments2))] #endif - public bool IsAppEventVideoClips => AppEventVideoClips != null; + public bool IsAppEncryptionDeclarationDocuments2 => AppEncryptionDeclarationDocuments2 != null; /// /// /// - public bool TryPickAppEventVideoClips( + public bool TryPickAppEncryptionDeclarationDocuments2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEventVideoClip? value) + out global::AppStoreConnect.App? value) { - value = AppEventVideoClips; - return IsAppEventVideoClips; + value = AppEncryptionDeclarationDocuments2; + return IsAppEncryptionDeclarationDocuments2; } /// /// /// - public global::AppStoreConnect.AppEventVideoClip PickAppEventVideoClips() => AppEventVideoClips is { } value + public global::AppStoreConnect.App PickAppEncryptionDeclarationDocuments2() => AppEncryptionDeclarationDocuments2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventVideoClips' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarationDocuments2' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEvent? AppEvents { get; init; } + public global::AppStoreConnect.Build? Builds { get; init; } #else - public global::AppStoreConnect.AppEvent? AppEvents { get; } + public global::AppStoreConnect.Build? Builds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] #endif - public bool IsAppEvents => AppEvents != null; + public bool IsBuilds => Builds != null; /// /// /// - public bool TryPickAppEvents( + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEvent? value) + out global::AppStoreConnect.Build? value) { - value = AppEvents; - return IsAppEvents; + value = Builds; + return IsBuilds; } /// /// /// - public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem20(global::AppStoreConnect.AppEventScreenshot value) => new IncludedItem20((global::AppStoreConnect.AppEventScreenshot?)value); + public static implicit operator IncludedItem20(global::AppStoreConnect.AppEncryptionDeclarationDocument value) => new IncludedItem20((global::AppStoreConnect.AppEncryptionDeclarationDocument?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppEventScreenshot?(IncludedItem20 @this) => @this.AppEventScreenshots; + public static implicit operator global::AppStoreConnect.AppEncryptionDeclarationDocument?(IncludedItem20 @this) => @this.AppEncryptionDeclarationDocuments1; /// /// /// - public IncludedItem20(global::AppStoreConnect.AppEventScreenshot? value) + public IncludedItem20(global::AppStoreConnect.AppEncryptionDeclarationDocument? value) { - AppEventScreenshots = value; + AppEncryptionDeclarationDocuments1 = value; } /// /// /// - public static IncludedItem20 FromAppEventScreenshots(global::AppStoreConnect.AppEventScreenshot? value) => new IncludedItem20(value); + public static IncludedItem20 FromAppEncryptionDeclarationDocuments1(global::AppStoreConnect.AppEncryptionDeclarationDocument? value) => new IncludedItem20(value); /// /// /// - public static implicit operator IncludedItem20(global::AppStoreConnect.AppEventVideoClip value) => new IncludedItem20((global::AppStoreConnect.AppEventVideoClip?)value); + public static implicit operator IncludedItem20(global::AppStoreConnect.App value) => new IncludedItem20((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppEventVideoClip?(IncludedItem20 @this) => @this.AppEventVideoClips; + public static implicit operator global::AppStoreConnect.App?(IncludedItem20 @this) => @this.AppEncryptionDeclarationDocuments2; /// /// /// - public IncludedItem20(global::AppStoreConnect.AppEventVideoClip? value) + public IncludedItem20(global::AppStoreConnect.App? value) { - AppEventVideoClips = value; + AppEncryptionDeclarationDocuments2 = value; } /// /// /// - public static IncludedItem20 FromAppEventVideoClips(global::AppStoreConnect.AppEventVideoClip? value) => new IncludedItem20(value); + public static IncludedItem20 FromAppEncryptionDeclarationDocuments2(global::AppStoreConnect.App? value) => new IncludedItem20(value); /// /// /// - public static implicit operator IncludedItem20(global::AppStoreConnect.AppEvent value) => new IncludedItem20((global::AppStoreConnect.AppEvent?)value); + public static implicit operator IncludedItem20(global::AppStoreConnect.Build value) => new IncludedItem20((global::AppStoreConnect.Build?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem20 @this) => @this.AppEvents; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem20 @this) => @this.Builds; /// /// /// - public IncludedItem20(global::AppStoreConnect.AppEvent? value) + public IncludedItem20(global::AppStoreConnect.Build? value) { - AppEvents = value; + Builds = value; } /// /// /// - public static IncludedItem20 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem20(value); + public static IncludedItem20 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem20(value); /// /// /// public IncludedItem20( - global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppEventScreenshot? appEventScreenshots, - global::AppStoreConnect.AppEventVideoClip? appEventVideoClips, - global::AppStoreConnect.AppEvent? appEvents + global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppEncryptionDeclarationDocument? appEncryptionDeclarationDocuments1, + global::AppStoreConnect.App? appEncryptionDeclarationDocuments2, + global::AppStoreConnect.Build? builds ) { Type = type; - AppEventScreenshots = appEventScreenshots; - AppEventVideoClips = appEventVideoClips; - AppEvents = appEvents; + AppEncryptionDeclarationDocuments1 = appEncryptionDeclarationDocuments1; + AppEncryptionDeclarationDocuments2 = appEncryptionDeclarationDocuments2; + Builds = builds; } /// /// /// public object? Object => - AppEvents as object ?? - AppEventVideoClips as object ?? - AppEventScreenshots as object + Builds as object ?? + AppEncryptionDeclarationDocuments2 as object ?? + AppEncryptionDeclarationDocuments1 as object ; /// /// /// public override string? ToString() => - AppEventScreenshots?.ToString() ?? - AppEventVideoClips?.ToString() ?? - AppEvents?.ToString() + AppEncryptionDeclarationDocuments1?.ToString() ?? + AppEncryptionDeclarationDocuments2?.ToString() ?? + Builds?.ToString() ; /// @@ -233,16 +233,16 @@ AppEventScreenshots as object /// public bool Validate() { - return IsAppEventScreenshots && !IsAppEventVideoClips && !IsAppEvents || !IsAppEventScreenshots && IsAppEventVideoClips && !IsAppEvents || !IsAppEventScreenshots && !IsAppEventVideoClips && IsAppEvents; + return IsAppEncryptionDeclarationDocuments1 && !IsAppEncryptionDeclarationDocuments2 && !IsBuilds || !IsAppEncryptionDeclarationDocuments1 && IsAppEncryptionDeclarationDocuments2 && !IsBuilds || !IsAppEncryptionDeclarationDocuments1 && !IsAppEncryptionDeclarationDocuments2 && IsBuilds; } /// /// /// public TResult? Match( - global::System.Func? appEventScreenshots = null, - global::System.Func? appEventVideoClips = null, - global::System.Func? appEvents = null, + global::System.Func? appEncryptionDeclarationDocuments1 = null, + global::System.Func? appEncryptionDeclarationDocuments2 = null, + global::System.Func? builds = null, bool validate = true) { if (validate) @@ -250,17 +250,17 @@ public bool Validate() Validate(); } - if (AppEventScreenshots is { } __value0 && appEventScreenshots != null) + if (AppEncryptionDeclarationDocuments1 is { } __value0 && appEncryptionDeclarationDocuments1 != null) { - return appEventScreenshots(__value0); + return appEncryptionDeclarationDocuments1(__value0); } - else if (AppEventVideoClips is { } __value1 && appEventVideoClips != null) + else if (AppEncryptionDeclarationDocuments2 is { } __value1 && appEncryptionDeclarationDocuments2 != null) { - return appEventVideoClips(__value1); + return appEncryptionDeclarationDocuments2(__value1); } - else if (AppEvents is { } __value2 && appEvents != null) + else if (Builds is { } __value2 && builds != null) { - return appEvents(__value2); + return builds(__value2); } return default(TResult); @@ -270,11 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? appEventScreenshots = null, + global::System.Action? appEncryptionDeclarationDocuments1 = null, - global::System.Action? appEventVideoClips = null, + global::System.Action? appEncryptionDeclarationDocuments2 = null, - global::System.Action? appEvents = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -282,17 +282,17 @@ public void Match( Validate(); } - if (AppEventScreenshots is { } __value0) + if (AppEncryptionDeclarationDocuments1 is { } __value0) { - appEventScreenshots?.Invoke(__value0); + appEncryptionDeclarationDocuments1?.Invoke(__value0); } - else if (AppEventVideoClips is { } __value1) + else if (AppEncryptionDeclarationDocuments2 is { } __value1) { - appEventVideoClips?.Invoke(__value1); + appEncryptionDeclarationDocuments2?.Invoke(__value1); } - else if (AppEvents is { } __value2) + else if (Builds is { } __value2) { - appEvents?.Invoke(__value2); + builds?.Invoke(__value2); } } @@ -300,9 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? appEventScreenshots = null, - global::System.Action? appEventVideoClips = null, - global::System.Action? appEvents = null, + global::System.Action? appEncryptionDeclarationDocuments1 = null, + global::System.Action? appEncryptionDeclarationDocuments2 = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -310,17 +310,17 @@ public void Switch( Validate(); } - if (AppEventScreenshots is { } __value0) + if (AppEncryptionDeclarationDocuments1 is { } __value0) { - appEventScreenshots?.Invoke(__value0); + appEncryptionDeclarationDocuments1?.Invoke(__value0); } - else if (AppEventVideoClips is { } __value1) + else if (AppEncryptionDeclarationDocuments2 is { } __value1) { - appEventVideoClips?.Invoke(__value1); + appEncryptionDeclarationDocuments2?.Invoke(__value1); } - else if (AppEvents is { } __value2) + else if (Builds is { } __value2) { - appEvents?.Invoke(__value2); + builds?.Invoke(__value2); } } @@ -331,12 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - AppEventScreenshots, - typeof(global::AppStoreConnect.AppEventScreenshot), - AppEventVideoClips, - typeof(global::AppStoreConnect.AppEventVideoClip), - AppEvents, - typeof(global::AppStoreConnect.AppEvent), + AppEncryptionDeclarationDocuments1, + typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), + AppEncryptionDeclarationDocuments2, + typeof(global::AppStoreConnect.App), + Builds, + typeof(global::AppStoreConnect.Build), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem20 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventScreenshots, other.AppEventScreenshots) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventVideoClips, other.AppEventVideoClips) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarationDocuments1, other.AppEncryptionDeclarationDocuments1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarationDocuments2, other.AppEncryptionDeclarationDocuments2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem21.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem21.g.cs index 8ae2ee0ac..8ff96cd51 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem21.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem21.g.cs @@ -12,220 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEventScreenshot? AppEventScreenshots { get; init; } + public global::AppStoreConnect.AppEncryptionDeclarationDocument? AppEncryptionDeclarationDocuments1 { get; init; } #else - public global::AppStoreConnect.AppEventScreenshot? AppEventScreenshots { get; } + public global::AppStoreConnect.AppEncryptionDeclarationDocument? AppEncryptionDeclarationDocuments1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventScreenshots))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarationDocuments1))] #endif - public bool IsAppEventScreenshots => AppEventScreenshots != null; + public bool IsAppEncryptionDeclarationDocuments1 => AppEncryptionDeclarationDocuments1 != null; /// /// /// - public bool TryPickAppEventScreenshots( + public bool TryPickAppEncryptionDeclarationDocuments1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEventScreenshot? value) + out global::AppStoreConnect.AppEncryptionDeclarationDocument? value) { - value = AppEventScreenshots; - return IsAppEventScreenshots; + value = AppEncryptionDeclarationDocuments1; + return IsAppEncryptionDeclarationDocuments1; } /// /// /// - public global::AppStoreConnect.AppEventScreenshot PickAppEventScreenshots() => AppEventScreenshots is { } value + public global::AppStoreConnect.AppEncryptionDeclarationDocument PickAppEncryptionDeclarationDocuments1() => AppEncryptionDeclarationDocuments1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventScreenshots' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarationDocuments1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEventVideoClip? AppEventVideoClips { get; init; } + public global::AppStoreConnect.App? AppEncryptionDeclarationDocuments2 { get; init; } #else - public global::AppStoreConnect.AppEventVideoClip? AppEventVideoClips { get; } + public global::AppStoreConnect.App? AppEncryptionDeclarationDocuments2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventVideoClips))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarationDocuments2))] #endif - public bool IsAppEventVideoClips => AppEventVideoClips != null; + public bool IsAppEncryptionDeclarationDocuments2 => AppEncryptionDeclarationDocuments2 != null; /// /// /// - public bool TryPickAppEventVideoClips( + public bool TryPickAppEncryptionDeclarationDocuments2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEventVideoClip? value) + out global::AppStoreConnect.App? value) { - value = AppEventVideoClips; - return IsAppEventVideoClips; + value = AppEncryptionDeclarationDocuments2; + return IsAppEncryptionDeclarationDocuments2; } /// /// /// - public global::AppStoreConnect.AppEventVideoClip PickAppEventVideoClips() => AppEventVideoClips is { } value + public global::AppStoreConnect.App PickAppEncryptionDeclarationDocuments2() => AppEncryptionDeclarationDocuments2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventVideoClips' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarationDocuments2' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEvent? AppEvents { get; init; } + public global::AppStoreConnect.Build? Builds { get; init; } #else - public global::AppStoreConnect.AppEvent? AppEvents { get; } + public global::AppStoreConnect.Build? Builds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] #endif - public bool IsAppEvents => AppEvents != null; + public bool IsBuilds => Builds != null; /// /// /// - public bool TryPickAppEvents( + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEvent? value) + out global::AppStoreConnect.Build? value) { - value = AppEvents; - return IsAppEvents; + value = Builds; + return IsBuilds; } /// /// /// - public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem21(global::AppStoreConnect.AppEventScreenshot value) => new IncludedItem21((global::AppStoreConnect.AppEventScreenshot?)value); + public static implicit operator IncludedItem21(global::AppStoreConnect.AppEncryptionDeclarationDocument value) => new IncludedItem21((global::AppStoreConnect.AppEncryptionDeclarationDocument?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppEventScreenshot?(IncludedItem21 @this) => @this.AppEventScreenshots; + public static implicit operator global::AppStoreConnect.AppEncryptionDeclarationDocument?(IncludedItem21 @this) => @this.AppEncryptionDeclarationDocuments1; /// /// /// - public IncludedItem21(global::AppStoreConnect.AppEventScreenshot? value) + public IncludedItem21(global::AppStoreConnect.AppEncryptionDeclarationDocument? value) { - AppEventScreenshots = value; + AppEncryptionDeclarationDocuments1 = value; } /// /// /// - public static IncludedItem21 FromAppEventScreenshots(global::AppStoreConnect.AppEventScreenshot? value) => new IncludedItem21(value); + public static IncludedItem21 FromAppEncryptionDeclarationDocuments1(global::AppStoreConnect.AppEncryptionDeclarationDocument? value) => new IncludedItem21(value); /// /// /// - public static implicit operator IncludedItem21(global::AppStoreConnect.AppEventVideoClip value) => new IncludedItem21((global::AppStoreConnect.AppEventVideoClip?)value); + public static implicit operator IncludedItem21(global::AppStoreConnect.App value) => new IncludedItem21((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppEventVideoClip?(IncludedItem21 @this) => @this.AppEventVideoClips; + public static implicit operator global::AppStoreConnect.App?(IncludedItem21 @this) => @this.AppEncryptionDeclarationDocuments2; /// /// /// - public IncludedItem21(global::AppStoreConnect.AppEventVideoClip? value) + public IncludedItem21(global::AppStoreConnect.App? value) { - AppEventVideoClips = value; + AppEncryptionDeclarationDocuments2 = value; } /// /// /// - public static IncludedItem21 FromAppEventVideoClips(global::AppStoreConnect.AppEventVideoClip? value) => new IncludedItem21(value); + public static IncludedItem21 FromAppEncryptionDeclarationDocuments2(global::AppStoreConnect.App? value) => new IncludedItem21(value); /// /// /// - public static implicit operator IncludedItem21(global::AppStoreConnect.AppEvent value) => new IncludedItem21((global::AppStoreConnect.AppEvent?)value); + public static implicit operator IncludedItem21(global::AppStoreConnect.Build value) => new IncludedItem21((global::AppStoreConnect.Build?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem21 @this) => @this.AppEvents; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem21 @this) => @this.Builds; /// /// /// - public IncludedItem21(global::AppStoreConnect.AppEvent? value) + public IncludedItem21(global::AppStoreConnect.Build? value) { - AppEvents = value; + Builds = value; } /// /// /// - public static IncludedItem21 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem21(value); + public static IncludedItem21 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem21(value); /// /// /// public IncludedItem21( - global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppEventScreenshot? appEventScreenshots, - global::AppStoreConnect.AppEventVideoClip? appEventVideoClips, - global::AppStoreConnect.AppEvent? appEvents + global::AppStoreConnect.AppEncryptionDeclarationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppEncryptionDeclarationDocument? appEncryptionDeclarationDocuments1, + global::AppStoreConnect.App? appEncryptionDeclarationDocuments2, + global::AppStoreConnect.Build? builds ) { Type = type; - AppEventScreenshots = appEventScreenshots; - AppEventVideoClips = appEventVideoClips; - AppEvents = appEvents; + AppEncryptionDeclarationDocuments1 = appEncryptionDeclarationDocuments1; + AppEncryptionDeclarationDocuments2 = appEncryptionDeclarationDocuments2; + Builds = builds; } /// /// /// public object? Object => - AppEvents as object ?? - AppEventVideoClips as object ?? - AppEventScreenshots as object + Builds as object ?? + AppEncryptionDeclarationDocuments2 as object ?? + AppEncryptionDeclarationDocuments1 as object ; /// /// /// public override string? ToString() => - AppEventScreenshots?.ToString() ?? - AppEventVideoClips?.ToString() ?? - AppEvents?.ToString() + AppEncryptionDeclarationDocuments1?.ToString() ?? + AppEncryptionDeclarationDocuments2?.ToString() ?? + Builds?.ToString() ; /// @@ -233,16 +233,16 @@ AppEventScreenshots as object /// public bool Validate() { - return IsAppEventScreenshots && !IsAppEventVideoClips && !IsAppEvents || !IsAppEventScreenshots && IsAppEventVideoClips && !IsAppEvents || !IsAppEventScreenshots && !IsAppEventVideoClips && IsAppEvents; + return IsAppEncryptionDeclarationDocuments1 && !IsAppEncryptionDeclarationDocuments2 && !IsBuilds || !IsAppEncryptionDeclarationDocuments1 && IsAppEncryptionDeclarationDocuments2 && !IsBuilds || !IsAppEncryptionDeclarationDocuments1 && !IsAppEncryptionDeclarationDocuments2 && IsBuilds; } /// /// /// public TResult? Match( - global::System.Func? appEventScreenshots = null, - global::System.Func? appEventVideoClips = null, - global::System.Func? appEvents = null, + global::System.Func? appEncryptionDeclarationDocuments1 = null, + global::System.Func? appEncryptionDeclarationDocuments2 = null, + global::System.Func? builds = null, bool validate = true) { if (validate) @@ -250,17 +250,17 @@ public bool Validate() Validate(); } - if (AppEventScreenshots is { } __value0 && appEventScreenshots != null) + if (AppEncryptionDeclarationDocuments1 is { } __value0 && appEncryptionDeclarationDocuments1 != null) { - return appEventScreenshots(__value0); + return appEncryptionDeclarationDocuments1(__value0); } - else if (AppEventVideoClips is { } __value1 && appEventVideoClips != null) + else if (AppEncryptionDeclarationDocuments2 is { } __value1 && appEncryptionDeclarationDocuments2 != null) { - return appEventVideoClips(__value1); + return appEncryptionDeclarationDocuments2(__value1); } - else if (AppEvents is { } __value2 && appEvents != null) + else if (Builds is { } __value2 && builds != null) { - return appEvents(__value2); + return builds(__value2); } return default(TResult); @@ -270,11 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? appEventScreenshots = null, + global::System.Action? appEncryptionDeclarationDocuments1 = null, - global::System.Action? appEventVideoClips = null, + global::System.Action? appEncryptionDeclarationDocuments2 = null, - global::System.Action? appEvents = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -282,17 +282,17 @@ public void Match( Validate(); } - if (AppEventScreenshots is { } __value0) + if (AppEncryptionDeclarationDocuments1 is { } __value0) { - appEventScreenshots?.Invoke(__value0); + appEncryptionDeclarationDocuments1?.Invoke(__value0); } - else if (AppEventVideoClips is { } __value1) + else if (AppEncryptionDeclarationDocuments2 is { } __value1) { - appEventVideoClips?.Invoke(__value1); + appEncryptionDeclarationDocuments2?.Invoke(__value1); } - else if (AppEvents is { } __value2) + else if (Builds is { } __value2) { - appEvents?.Invoke(__value2); + builds?.Invoke(__value2); } } @@ -300,9 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? appEventScreenshots = null, - global::System.Action? appEventVideoClips = null, - global::System.Action? appEvents = null, + global::System.Action? appEncryptionDeclarationDocuments1 = null, + global::System.Action? appEncryptionDeclarationDocuments2 = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -310,17 +310,17 @@ public void Switch( Validate(); } - if (AppEventScreenshots is { } __value0) + if (AppEncryptionDeclarationDocuments1 is { } __value0) { - appEventScreenshots?.Invoke(__value0); + appEncryptionDeclarationDocuments1?.Invoke(__value0); } - else if (AppEventVideoClips is { } __value1) + else if (AppEncryptionDeclarationDocuments2 is { } __value1) { - appEventVideoClips?.Invoke(__value1); + appEncryptionDeclarationDocuments2?.Invoke(__value1); } - else if (AppEvents is { } __value2) + else if (Builds is { } __value2) { - appEvents?.Invoke(__value2); + builds?.Invoke(__value2); } } @@ -331,12 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - AppEventScreenshots, - typeof(global::AppStoreConnect.AppEventScreenshot), - AppEventVideoClips, - typeof(global::AppStoreConnect.AppEventVideoClip), - AppEvents, - typeof(global::AppStoreConnect.AppEvent), + AppEncryptionDeclarationDocuments1, + typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument), + AppEncryptionDeclarationDocuments2, + typeof(global::AppStoreConnect.App), + Builds, + typeof(global::AppStoreConnect.Build), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem21 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventScreenshots, other.AppEventScreenshots) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventVideoClips, other.AppEventVideoClips) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarationDocuments1, other.AppEncryptionDeclarationDocuments1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarationDocuments2, other.AppEncryptionDeclarationDocuments2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem22.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem22.g.cs index 0ffefa153..ff81692fa 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem22.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem22.g.cs @@ -12,284 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AgeRatingDeclaration? AgeRatingDeclarations { get; init; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; init; } #else - public global::AppStoreConnect.AgeRatingDeclaration? AgeRatingDeclarations { get; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AgeRatingDeclarations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacements))] #endif - public bool IsAgeRatingDeclarations => AgeRatingDeclarations != null; + public bool IsAppAssetLibraryPlacements => AppAssetLibraryPlacements != null; /// /// /// - public bool TryPickAgeRatingDeclarations( + public bool TryPickAppAssetLibraryPlacements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AgeRatingDeclaration? value) + out global::AppStoreConnect.AppAssetLibraryPlacement? value) { - value = AgeRatingDeclarations; - return IsAgeRatingDeclarations; + value = AppAssetLibraryPlacements; + return IsAppAssetLibraryPlacements; } /// /// /// - public global::AppStoreConnect.AgeRatingDeclaration PickAgeRatingDeclarations() => AgeRatingDeclarations is { } value + public global::AppStoreConnect.AppAssetLibraryPlacement PickAppAssetLibraryPlacements() => AppAssetLibraryPlacements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AgeRatingDeclarations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCategory? AppCategories1 { get; init; } + public global::AppStoreConnect.AppEventScreenshot? AppEventScreenshots { get; init; } #else - public global::AppStoreConnect.AppCategory? AppCategories1 { get; } + public global::AppStoreConnect.AppEventScreenshot? AppEventScreenshots { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCategories1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventScreenshots))] #endif - public bool IsAppCategories1 => AppCategories1 != null; + public bool IsAppEventScreenshots => AppEventScreenshots != null; /// /// /// - public bool TryPickAppCategories1( + public bool TryPickAppEventScreenshots( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCategory? value) + out global::AppStoreConnect.AppEventScreenshot? value) { - value = AppCategories1; - return IsAppCategories1; + value = AppEventScreenshots; + return IsAppEventScreenshots; } /// /// /// - public global::AppStoreConnect.AppCategory PickAppCategories1() => AppCategories1 is { } value + public global::AppStoreConnect.AppEventScreenshot PickAppEventScreenshots() => AppEventScreenshots is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCategories1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventScreenshots' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppInfoLocalization? AppInfoLocalizations { get; init; } + public global::AppStoreConnect.AppEventVideoClip? AppEventVideoClips { get; init; } #else - public global::AppStoreConnect.AppInfoLocalization? AppInfoLocalizations { get; } + public global::AppStoreConnect.AppEventVideoClip? AppEventVideoClips { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppInfoLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventVideoClips))] #endif - public bool IsAppInfoLocalizations => AppInfoLocalizations != null; + public bool IsAppEventVideoClips => AppEventVideoClips != null; /// /// /// - public bool TryPickAppInfoLocalizations( + public bool TryPickAppEventVideoClips( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppInfoLocalization? value) + out global::AppStoreConnect.AppEventVideoClip? value) { - value = AppInfoLocalizations; - return IsAppInfoLocalizations; + value = AppEventVideoClips; + return IsAppEventVideoClips; } /// /// /// - public global::AppStoreConnect.AppInfoLocalization PickAppInfoLocalizations() => AppInfoLocalizations is { } value + public global::AppStoreConnect.AppEventVideoClip PickAppEventVideoClips() => AppEventVideoClips is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppInfoLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventVideoClips' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppCategories2 { get; init; } + public global::AppStoreConnect.AppEvent? AppEvents { get; init; } #else - public global::AppStoreConnect.App? AppCategories2 { get; } + public global::AppStoreConnect.AppEvent? AppEvents { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCategories2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] #endif - public bool IsAppCategories2 => AppCategories2 != null; + public bool IsAppEvents => AppEvents != null; /// /// /// - public bool TryPickAppCategories2( + public bool TryPickAppEvents( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.AppEvent? value) { - value = AppCategories2; - return IsAppCategories2; + value = AppEvents; + return IsAppEvents; } /// /// /// - public global::AppStoreConnect.App PickAppCategories2() => AppCategories2 is { } value + public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCategories2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem22(global::AppStoreConnect.AgeRatingDeclaration value) => new IncludedItem22((global::AppStoreConnect.AgeRatingDeclaration?)value); + public static implicit operator IncludedItem22(global::AppStoreConnect.AppAssetLibraryPlacement value) => new IncludedItem22((global::AppStoreConnect.AppAssetLibraryPlacement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AgeRatingDeclaration?(IncludedItem22 @this) => @this.AgeRatingDeclarations; + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacement?(IncludedItem22 @this) => @this.AppAssetLibraryPlacements; /// /// /// - public IncludedItem22(global::AppStoreConnect.AgeRatingDeclaration? value) + public IncludedItem22(global::AppStoreConnect.AppAssetLibraryPlacement? value) { - AgeRatingDeclarations = value; + AppAssetLibraryPlacements = value; } /// /// /// - public static IncludedItem22 FromAgeRatingDeclarations(global::AppStoreConnect.AgeRatingDeclaration? value) => new IncludedItem22(value); + public static IncludedItem22 FromAppAssetLibraryPlacements(global::AppStoreConnect.AppAssetLibraryPlacement? value) => new IncludedItem22(value); /// /// /// - public static implicit operator IncludedItem22(global::AppStoreConnect.AppCategory value) => new IncludedItem22((global::AppStoreConnect.AppCategory?)value); + public static implicit operator IncludedItem22(global::AppStoreConnect.AppEventScreenshot value) => new IncludedItem22((global::AppStoreConnect.AppEventScreenshot?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppCategory?(IncludedItem22 @this) => @this.AppCategories1; + public static implicit operator global::AppStoreConnect.AppEventScreenshot?(IncludedItem22 @this) => @this.AppEventScreenshots; /// /// /// - public IncludedItem22(global::AppStoreConnect.AppCategory? value) + public IncludedItem22(global::AppStoreConnect.AppEventScreenshot? value) { - AppCategories1 = value; + AppEventScreenshots = value; } /// /// /// - public static IncludedItem22 FromAppCategories1(global::AppStoreConnect.AppCategory? value) => new IncludedItem22(value); + public static IncludedItem22 FromAppEventScreenshots(global::AppStoreConnect.AppEventScreenshot? value) => new IncludedItem22(value); /// /// /// - public static implicit operator IncludedItem22(global::AppStoreConnect.AppInfoLocalization value) => new IncludedItem22((global::AppStoreConnect.AppInfoLocalization?)value); + public static implicit operator IncludedItem22(global::AppStoreConnect.AppEventVideoClip value) => new IncludedItem22((global::AppStoreConnect.AppEventVideoClip?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppInfoLocalization?(IncludedItem22 @this) => @this.AppInfoLocalizations; + public static implicit operator global::AppStoreConnect.AppEventVideoClip?(IncludedItem22 @this) => @this.AppEventVideoClips; /// /// /// - public IncludedItem22(global::AppStoreConnect.AppInfoLocalization? value) + public IncludedItem22(global::AppStoreConnect.AppEventVideoClip? value) { - AppInfoLocalizations = value; + AppEventVideoClips = value; } /// /// /// - public static IncludedItem22 FromAppInfoLocalizations(global::AppStoreConnect.AppInfoLocalization? value) => new IncludedItem22(value); + public static IncludedItem22 FromAppEventVideoClips(global::AppStoreConnect.AppEventVideoClip? value) => new IncludedItem22(value); /// /// /// - public static implicit operator IncludedItem22(global::AppStoreConnect.App value) => new IncludedItem22((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem22(global::AppStoreConnect.AppEvent value) => new IncludedItem22((global::AppStoreConnect.AppEvent?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem22 @this) => @this.AppCategories2; + public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem22 @this) => @this.AppEvents; /// /// /// - public IncludedItem22(global::AppStoreConnect.App? value) + public IncludedItem22(global::AppStoreConnect.AppEvent? value) { - AppCategories2 = value; + AppEvents = value; } /// /// /// - public static IncludedItem22 FromAppCategories2(global::AppStoreConnect.App? value) => new IncludedItem22(value); + public static IncludedItem22 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem22(value); /// /// /// public IncludedItem22( - global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AgeRatingDeclaration? ageRatingDeclarations, - global::AppStoreConnect.AppCategory? appCategories1, - global::AppStoreConnect.AppInfoLocalization? appInfoLocalizations, - global::AppStoreConnect.App? appCategories2 + global::AppStoreConnect.AppEventLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements, + global::AppStoreConnect.AppEventScreenshot? appEventScreenshots, + global::AppStoreConnect.AppEventVideoClip? appEventVideoClips, + global::AppStoreConnect.AppEvent? appEvents ) { Type = type; - AgeRatingDeclarations = ageRatingDeclarations; - AppCategories1 = appCategories1; - AppInfoLocalizations = appInfoLocalizations; - AppCategories2 = appCategories2; + AppAssetLibraryPlacements = appAssetLibraryPlacements; + AppEventScreenshots = appEventScreenshots; + AppEventVideoClips = appEventVideoClips; + AppEvents = appEvents; } /// /// /// public object? Object => - AppCategories2 as object ?? - AppInfoLocalizations as object ?? - AppCategories1 as object ?? - AgeRatingDeclarations as object + AppEvents as object ?? + AppEventVideoClips as object ?? + AppEventScreenshots as object ?? + AppAssetLibraryPlacements as object ; /// /// /// public override string? ToString() => - AgeRatingDeclarations?.ToString() ?? - AppCategories1?.ToString() ?? - AppInfoLocalizations?.ToString() ?? - AppCategories2?.ToString() + AppAssetLibraryPlacements?.ToString() ?? + AppEventScreenshots?.ToString() ?? + AppEventVideoClips?.ToString() ?? + AppEvents?.ToString() ; /// @@ -297,17 +297,17 @@ AgeRatingDeclarations as object /// public bool Validate() { - return IsAgeRatingDeclarations && !IsAppCategories1 && !IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && IsAppCategories1 && !IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && !IsAppCategories1 && IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && !IsAppCategories1 && !IsAppInfoLocalizations && IsAppCategories2; + return IsAppAssetLibraryPlacements && !IsAppEventScreenshots && !IsAppEventVideoClips && !IsAppEvents || !IsAppAssetLibraryPlacements && IsAppEventScreenshots && !IsAppEventVideoClips && !IsAppEvents || !IsAppAssetLibraryPlacements && !IsAppEventScreenshots && IsAppEventVideoClips && !IsAppEvents || !IsAppAssetLibraryPlacements && !IsAppEventScreenshots && !IsAppEventVideoClips && IsAppEvents; } /// /// /// public TResult? Match( - global::System.Func? ageRatingDeclarations = null, - global::System.Func? appCategories1 = null, - global::System.Func? appInfoLocalizations = null, - global::System.Func? appCategories2 = null, + global::System.Func? appAssetLibraryPlacements = null, + global::System.Func? appEventScreenshots = null, + global::System.Func? appEventVideoClips = null, + global::System.Func? appEvents = null, bool validate = true) { if (validate) @@ -315,21 +315,21 @@ public bool Validate() Validate(); } - if (AgeRatingDeclarations is { } __value0 && ageRatingDeclarations != null) + if (AppAssetLibraryPlacements is { } __value0 && appAssetLibraryPlacements != null) { - return ageRatingDeclarations(__value0); + return appAssetLibraryPlacements(__value0); } - else if (AppCategories1 is { } __value1 && appCategories1 != null) + else if (AppEventScreenshots is { } __value1 && appEventScreenshots != null) { - return appCategories1(__value1); + return appEventScreenshots(__value1); } - else if (AppInfoLocalizations is { } __value2 && appInfoLocalizations != null) + else if (AppEventVideoClips is { } __value2 && appEventVideoClips != null) { - return appInfoLocalizations(__value2); + return appEventVideoClips(__value2); } - else if (AppCategories2 is { } __value3 && appCategories2 != null) + else if (AppEvents is { } __value3 && appEvents != null) { - return appCategories2(__value3); + return appEvents(__value3); } return default(TResult); @@ -339,13 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? ageRatingDeclarations = null, + global::System.Action? appAssetLibraryPlacements = null, - global::System.Action? appCategories1 = null, + global::System.Action? appEventScreenshots = null, - global::System.Action? appInfoLocalizations = null, + global::System.Action? appEventVideoClips = null, - global::System.Action? appCategories2 = null, + global::System.Action? appEvents = null, bool validate = true) { if (validate) @@ -353,21 +353,21 @@ public void Match( Validate(); } - if (AgeRatingDeclarations is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) { - ageRatingDeclarations?.Invoke(__value0); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppCategories1 is { } __value1) + else if (AppEventScreenshots is { } __value1) { - appCategories1?.Invoke(__value1); + appEventScreenshots?.Invoke(__value1); } - else if (AppInfoLocalizations is { } __value2) + else if (AppEventVideoClips is { } __value2) { - appInfoLocalizations?.Invoke(__value2); + appEventVideoClips?.Invoke(__value2); } - else if (AppCategories2 is { } __value3) + else if (AppEvents is { } __value3) { - appCategories2?.Invoke(__value3); + appEvents?.Invoke(__value3); } } @@ -375,10 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? ageRatingDeclarations = null, - global::System.Action? appCategories1 = null, - global::System.Action? appInfoLocalizations = null, - global::System.Action? appCategories2 = null, + global::System.Action? appAssetLibraryPlacements = null, + global::System.Action? appEventScreenshots = null, + global::System.Action? appEventVideoClips = null, + global::System.Action? appEvents = null, bool validate = true) { if (validate) @@ -386,21 +386,21 @@ public void Switch( Validate(); } - if (AgeRatingDeclarations is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) { - ageRatingDeclarations?.Invoke(__value0); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppCategories1 is { } __value1) + else if (AppEventScreenshots is { } __value1) { - appCategories1?.Invoke(__value1); + appEventScreenshots?.Invoke(__value1); } - else if (AppInfoLocalizations is { } __value2) + else if (AppEventVideoClips is { } __value2) { - appInfoLocalizations?.Invoke(__value2); + appEventVideoClips?.Invoke(__value2); } - else if (AppCategories2 is { } __value3) + else if (AppEvents is { } __value3) { - appCategories2?.Invoke(__value3); + appEvents?.Invoke(__value3); } } @@ -411,14 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AgeRatingDeclarations, - typeof(global::AppStoreConnect.AgeRatingDeclaration), - AppCategories1, - typeof(global::AppStoreConnect.AppCategory), - AppInfoLocalizations, - typeof(global::AppStoreConnect.AppInfoLocalization), - AppCategories2, - typeof(global::AppStoreConnect.App), + AppAssetLibraryPlacements, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + AppEventScreenshots, + typeof(global::AppStoreConnect.AppEventScreenshot), + AppEventVideoClips, + typeof(global::AppStoreConnect.AppEventVideoClip), + AppEvents, + typeof(global::AppStoreConnect.AppEvent), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem22 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AgeRatingDeclarations, other.AgeRatingDeclarations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCategories1, other.AppCategories1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppInfoLocalizations, other.AppInfoLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCategories2, other.AppCategories2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacements, other.AppAssetLibraryPlacements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventScreenshots, other.AppEventScreenshots) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventVideoClips, other.AppEventVideoClips) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem23.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem23.g.cs index dbf258ad6..ab3e7a477 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem23.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem23.g.cs @@ -12,284 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AgeRatingDeclaration? AgeRatingDeclarations { get; init; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; init; } #else - public global::AppStoreConnect.AgeRatingDeclaration? AgeRatingDeclarations { get; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AgeRatingDeclarations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacements))] #endif - public bool IsAgeRatingDeclarations => AgeRatingDeclarations != null; + public bool IsAppAssetLibraryPlacements => AppAssetLibraryPlacements != null; /// /// /// - public bool TryPickAgeRatingDeclarations( + public bool TryPickAppAssetLibraryPlacements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AgeRatingDeclaration? value) + out global::AppStoreConnect.AppAssetLibraryPlacement? value) { - value = AgeRatingDeclarations; - return IsAgeRatingDeclarations; + value = AppAssetLibraryPlacements; + return IsAppAssetLibraryPlacements; } /// /// /// - public global::AppStoreConnect.AgeRatingDeclaration PickAgeRatingDeclarations() => AgeRatingDeclarations is { } value + public global::AppStoreConnect.AppAssetLibraryPlacement PickAppAssetLibraryPlacements() => AppAssetLibraryPlacements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AgeRatingDeclarations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCategory? AppCategories1 { get; init; } + public global::AppStoreConnect.AppEventScreenshot? AppEventScreenshots { get; init; } #else - public global::AppStoreConnect.AppCategory? AppCategories1 { get; } + public global::AppStoreConnect.AppEventScreenshot? AppEventScreenshots { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCategories1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventScreenshots))] #endif - public bool IsAppCategories1 => AppCategories1 != null; + public bool IsAppEventScreenshots => AppEventScreenshots != null; /// /// /// - public bool TryPickAppCategories1( + public bool TryPickAppEventScreenshots( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCategory? value) + out global::AppStoreConnect.AppEventScreenshot? value) { - value = AppCategories1; - return IsAppCategories1; + value = AppEventScreenshots; + return IsAppEventScreenshots; } /// /// /// - public global::AppStoreConnect.AppCategory PickAppCategories1() => AppCategories1 is { } value + public global::AppStoreConnect.AppEventScreenshot PickAppEventScreenshots() => AppEventScreenshots is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCategories1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventScreenshots' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppInfoLocalization? AppInfoLocalizations { get; init; } + public global::AppStoreConnect.AppEventVideoClip? AppEventVideoClips { get; init; } #else - public global::AppStoreConnect.AppInfoLocalization? AppInfoLocalizations { get; } + public global::AppStoreConnect.AppEventVideoClip? AppEventVideoClips { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppInfoLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventVideoClips))] #endif - public bool IsAppInfoLocalizations => AppInfoLocalizations != null; + public bool IsAppEventVideoClips => AppEventVideoClips != null; /// /// /// - public bool TryPickAppInfoLocalizations( + public bool TryPickAppEventVideoClips( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppInfoLocalization? value) + out global::AppStoreConnect.AppEventVideoClip? value) { - value = AppInfoLocalizations; - return IsAppInfoLocalizations; + value = AppEventVideoClips; + return IsAppEventVideoClips; } /// /// /// - public global::AppStoreConnect.AppInfoLocalization PickAppInfoLocalizations() => AppInfoLocalizations is { } value + public global::AppStoreConnect.AppEventVideoClip PickAppEventVideoClips() => AppEventVideoClips is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppInfoLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventVideoClips' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppCategories2 { get; init; } + public global::AppStoreConnect.AppEvent? AppEvents { get; init; } #else - public global::AppStoreConnect.App? AppCategories2 { get; } + public global::AppStoreConnect.AppEvent? AppEvents { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCategories2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] #endif - public bool IsAppCategories2 => AppCategories2 != null; + public bool IsAppEvents => AppEvents != null; /// /// /// - public bool TryPickAppCategories2( + public bool TryPickAppEvents( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.AppEvent? value) { - value = AppCategories2; - return IsAppCategories2; + value = AppEvents; + return IsAppEvents; } /// /// /// - public global::AppStoreConnect.App PickAppCategories2() => AppCategories2 is { } value + public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCategories2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem23(global::AppStoreConnect.AgeRatingDeclaration value) => new IncludedItem23((global::AppStoreConnect.AgeRatingDeclaration?)value); + public static implicit operator IncludedItem23(global::AppStoreConnect.AppAssetLibraryPlacement value) => new IncludedItem23((global::AppStoreConnect.AppAssetLibraryPlacement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AgeRatingDeclaration?(IncludedItem23 @this) => @this.AgeRatingDeclarations; + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacement?(IncludedItem23 @this) => @this.AppAssetLibraryPlacements; /// /// /// - public IncludedItem23(global::AppStoreConnect.AgeRatingDeclaration? value) + public IncludedItem23(global::AppStoreConnect.AppAssetLibraryPlacement? value) { - AgeRatingDeclarations = value; + AppAssetLibraryPlacements = value; } /// /// /// - public static IncludedItem23 FromAgeRatingDeclarations(global::AppStoreConnect.AgeRatingDeclaration? value) => new IncludedItem23(value); + public static IncludedItem23 FromAppAssetLibraryPlacements(global::AppStoreConnect.AppAssetLibraryPlacement? value) => new IncludedItem23(value); /// /// /// - public static implicit operator IncludedItem23(global::AppStoreConnect.AppCategory value) => new IncludedItem23((global::AppStoreConnect.AppCategory?)value); + public static implicit operator IncludedItem23(global::AppStoreConnect.AppEventScreenshot value) => new IncludedItem23((global::AppStoreConnect.AppEventScreenshot?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppCategory?(IncludedItem23 @this) => @this.AppCategories1; + public static implicit operator global::AppStoreConnect.AppEventScreenshot?(IncludedItem23 @this) => @this.AppEventScreenshots; /// /// /// - public IncludedItem23(global::AppStoreConnect.AppCategory? value) + public IncludedItem23(global::AppStoreConnect.AppEventScreenshot? value) { - AppCategories1 = value; + AppEventScreenshots = value; } /// /// /// - public static IncludedItem23 FromAppCategories1(global::AppStoreConnect.AppCategory? value) => new IncludedItem23(value); + public static IncludedItem23 FromAppEventScreenshots(global::AppStoreConnect.AppEventScreenshot? value) => new IncludedItem23(value); /// /// /// - public static implicit operator IncludedItem23(global::AppStoreConnect.AppInfoLocalization value) => new IncludedItem23((global::AppStoreConnect.AppInfoLocalization?)value); + public static implicit operator IncludedItem23(global::AppStoreConnect.AppEventVideoClip value) => new IncludedItem23((global::AppStoreConnect.AppEventVideoClip?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppInfoLocalization?(IncludedItem23 @this) => @this.AppInfoLocalizations; + public static implicit operator global::AppStoreConnect.AppEventVideoClip?(IncludedItem23 @this) => @this.AppEventVideoClips; /// /// /// - public IncludedItem23(global::AppStoreConnect.AppInfoLocalization? value) + public IncludedItem23(global::AppStoreConnect.AppEventVideoClip? value) { - AppInfoLocalizations = value; + AppEventVideoClips = value; } /// /// /// - public static IncludedItem23 FromAppInfoLocalizations(global::AppStoreConnect.AppInfoLocalization? value) => new IncludedItem23(value); + public static IncludedItem23 FromAppEventVideoClips(global::AppStoreConnect.AppEventVideoClip? value) => new IncludedItem23(value); /// /// /// - public static implicit operator IncludedItem23(global::AppStoreConnect.App value) => new IncludedItem23((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem23(global::AppStoreConnect.AppEvent value) => new IncludedItem23((global::AppStoreConnect.AppEvent?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem23 @this) => @this.AppCategories2; + public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem23 @this) => @this.AppEvents; /// /// /// - public IncludedItem23(global::AppStoreConnect.App? value) + public IncludedItem23(global::AppStoreConnect.AppEvent? value) { - AppCategories2 = value; + AppEvents = value; } /// /// /// - public static IncludedItem23 FromAppCategories2(global::AppStoreConnect.App? value) => new IncludedItem23(value); + public static IncludedItem23 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem23(value); /// /// /// public IncludedItem23( - global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AgeRatingDeclaration? ageRatingDeclarations, - global::AppStoreConnect.AppCategory? appCategories1, - global::AppStoreConnect.AppInfoLocalization? appInfoLocalizations, - global::AppStoreConnect.App? appCategories2 + global::AppStoreConnect.AppEventLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements, + global::AppStoreConnect.AppEventScreenshot? appEventScreenshots, + global::AppStoreConnect.AppEventVideoClip? appEventVideoClips, + global::AppStoreConnect.AppEvent? appEvents ) { Type = type; - AgeRatingDeclarations = ageRatingDeclarations; - AppCategories1 = appCategories1; - AppInfoLocalizations = appInfoLocalizations; - AppCategories2 = appCategories2; + AppAssetLibraryPlacements = appAssetLibraryPlacements; + AppEventScreenshots = appEventScreenshots; + AppEventVideoClips = appEventVideoClips; + AppEvents = appEvents; } /// /// /// public object? Object => - AppCategories2 as object ?? - AppInfoLocalizations as object ?? - AppCategories1 as object ?? - AgeRatingDeclarations as object + AppEvents as object ?? + AppEventVideoClips as object ?? + AppEventScreenshots as object ?? + AppAssetLibraryPlacements as object ; /// /// /// public override string? ToString() => - AgeRatingDeclarations?.ToString() ?? - AppCategories1?.ToString() ?? - AppInfoLocalizations?.ToString() ?? - AppCategories2?.ToString() + AppAssetLibraryPlacements?.ToString() ?? + AppEventScreenshots?.ToString() ?? + AppEventVideoClips?.ToString() ?? + AppEvents?.ToString() ; /// @@ -297,17 +297,17 @@ AgeRatingDeclarations as object /// public bool Validate() { - return IsAgeRatingDeclarations && !IsAppCategories1 && !IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && IsAppCategories1 && !IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && !IsAppCategories1 && IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && !IsAppCategories1 && !IsAppInfoLocalizations && IsAppCategories2; + return IsAppAssetLibraryPlacements && !IsAppEventScreenshots && !IsAppEventVideoClips && !IsAppEvents || !IsAppAssetLibraryPlacements && IsAppEventScreenshots && !IsAppEventVideoClips && !IsAppEvents || !IsAppAssetLibraryPlacements && !IsAppEventScreenshots && IsAppEventVideoClips && !IsAppEvents || !IsAppAssetLibraryPlacements && !IsAppEventScreenshots && !IsAppEventVideoClips && IsAppEvents; } /// /// /// public TResult? Match( - global::System.Func? ageRatingDeclarations = null, - global::System.Func? appCategories1 = null, - global::System.Func? appInfoLocalizations = null, - global::System.Func? appCategories2 = null, + global::System.Func? appAssetLibraryPlacements = null, + global::System.Func? appEventScreenshots = null, + global::System.Func? appEventVideoClips = null, + global::System.Func? appEvents = null, bool validate = true) { if (validate) @@ -315,21 +315,21 @@ public bool Validate() Validate(); } - if (AgeRatingDeclarations is { } __value0 && ageRatingDeclarations != null) + if (AppAssetLibraryPlacements is { } __value0 && appAssetLibraryPlacements != null) { - return ageRatingDeclarations(__value0); + return appAssetLibraryPlacements(__value0); } - else if (AppCategories1 is { } __value1 && appCategories1 != null) + else if (AppEventScreenshots is { } __value1 && appEventScreenshots != null) { - return appCategories1(__value1); + return appEventScreenshots(__value1); } - else if (AppInfoLocalizations is { } __value2 && appInfoLocalizations != null) + else if (AppEventVideoClips is { } __value2 && appEventVideoClips != null) { - return appInfoLocalizations(__value2); + return appEventVideoClips(__value2); } - else if (AppCategories2 is { } __value3 && appCategories2 != null) + else if (AppEvents is { } __value3 && appEvents != null) { - return appCategories2(__value3); + return appEvents(__value3); } return default(TResult); @@ -339,13 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? ageRatingDeclarations = null, + global::System.Action? appAssetLibraryPlacements = null, - global::System.Action? appCategories1 = null, + global::System.Action? appEventScreenshots = null, - global::System.Action? appInfoLocalizations = null, + global::System.Action? appEventVideoClips = null, - global::System.Action? appCategories2 = null, + global::System.Action? appEvents = null, bool validate = true) { if (validate) @@ -353,21 +353,21 @@ public void Match( Validate(); } - if (AgeRatingDeclarations is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) { - ageRatingDeclarations?.Invoke(__value0); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppCategories1 is { } __value1) + else if (AppEventScreenshots is { } __value1) { - appCategories1?.Invoke(__value1); + appEventScreenshots?.Invoke(__value1); } - else if (AppInfoLocalizations is { } __value2) + else if (AppEventVideoClips is { } __value2) { - appInfoLocalizations?.Invoke(__value2); + appEventVideoClips?.Invoke(__value2); } - else if (AppCategories2 is { } __value3) + else if (AppEvents is { } __value3) { - appCategories2?.Invoke(__value3); + appEvents?.Invoke(__value3); } } @@ -375,10 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? ageRatingDeclarations = null, - global::System.Action? appCategories1 = null, - global::System.Action? appInfoLocalizations = null, - global::System.Action? appCategories2 = null, + global::System.Action? appAssetLibraryPlacements = null, + global::System.Action? appEventScreenshots = null, + global::System.Action? appEventVideoClips = null, + global::System.Action? appEvents = null, bool validate = true) { if (validate) @@ -386,21 +386,21 @@ public void Switch( Validate(); } - if (AgeRatingDeclarations is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) { - ageRatingDeclarations?.Invoke(__value0); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppCategories1 is { } __value1) + else if (AppEventScreenshots is { } __value1) { - appCategories1?.Invoke(__value1); + appEventScreenshots?.Invoke(__value1); } - else if (AppInfoLocalizations is { } __value2) + else if (AppEventVideoClips is { } __value2) { - appInfoLocalizations?.Invoke(__value2); + appEventVideoClips?.Invoke(__value2); } - else if (AppCategories2 is { } __value3) + else if (AppEvents is { } __value3) { - appCategories2?.Invoke(__value3); + appEvents?.Invoke(__value3); } } @@ -411,14 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AgeRatingDeclarations, - typeof(global::AppStoreConnect.AgeRatingDeclaration), - AppCategories1, - typeof(global::AppStoreConnect.AppCategory), - AppInfoLocalizations, - typeof(global::AppStoreConnect.AppInfoLocalization), - AppCategories2, - typeof(global::AppStoreConnect.App), + AppAssetLibraryPlacements, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + AppEventScreenshots, + typeof(global::AppStoreConnect.AppEventScreenshot), + AppEventVideoClips, + typeof(global::AppStoreConnect.AppEventVideoClip), + AppEvents, + typeof(global::AppStoreConnect.AppEvent), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem23 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AgeRatingDeclarations, other.AgeRatingDeclarations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCategories1, other.AppCategories1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppInfoLocalizations, other.AppInfoLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCategories2, other.AppCategories2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacements, other.AppAssetLibraryPlacements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventScreenshots, other.AppEventScreenshots) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventVideoClips, other.AppEventVideoClips) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem24.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem24.g.cs index 5bbb7e52e..10556f3f2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem24.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem24.g.cs @@ -12,284 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } + public global::AppStoreConnect.AgeRatingDeclaration? AgeRatingDeclarations { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } + public global::AppStoreConnect.AgeRatingDeclaration? AgeRatingDeclarations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AgeRatingDeclarations))] #endif - public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; + public bool IsAgeRatingDeclarations => AgeRatingDeclarations != null; /// /// /// - public bool TryPickAppCustomProductPageLocalizations( + public bool TryPickAgeRatingDeclarations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPageLocalization? value) + out global::AppStoreConnect.AgeRatingDeclaration? value) { - value = AppCustomProductPageLocalizations; - return IsAppCustomProductPageLocalizations; + value = AgeRatingDeclarations; + return IsAgeRatingDeclarations; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value + public global::AppStoreConnect.AgeRatingDeclaration PickAgeRatingDeclarations() => AgeRatingDeclarations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AgeRatingDeclarations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPreview? AppPreviews { get; init; } + public global::AppStoreConnect.AppCategory? AppCategories1 { get; init; } #else - public global::AppStoreConnect.AppPreview? AppPreviews { get; } + public global::AppStoreConnect.AppCategory? AppCategories1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviews))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCategories1))] #endif - public bool IsAppPreviews => AppPreviews != null; + public bool IsAppCategories1 => AppCategories1 != null; /// /// /// - public bool TryPickAppPreviews( + public bool TryPickAppCategories1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppPreview? value) + out global::AppStoreConnect.AppCategory? value) { - value = AppPreviews; - return IsAppPreviews; + value = AppCategories1; + return IsAppCategories1; } /// /// /// - public global::AppStoreConnect.AppPreview PickAppPreviews() => AppPreviews is { } value + public global::AppStoreConnect.AppCategory PickAppCategories1() => AppCategories1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviews' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCategories1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } + public global::AppStoreConnect.AppInfoLocalization? AppInfoLocalizations { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } + public global::AppStoreConnect.AppInfoLocalization? AppInfoLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppInfoLocalizations))] #endif - public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; + public bool IsAppInfoLocalizations => AppInfoLocalizations != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( + public bool TryPickAppInfoLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + out global::AppStoreConnect.AppInfoLocalization? value) { - value = AppStoreVersionExperimentTreatmentLocalizations; - return IsAppStoreVersionExperimentTreatmentLocalizations; + value = AppInfoLocalizations; + return IsAppInfoLocalizations; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value + public global::AppStoreConnect.AppInfoLocalization PickAppInfoLocalizations() => AppInfoLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppInfoLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } + public global::AppStoreConnect.App? AppCategories2 { get; init; } #else - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } + public global::AppStoreConnect.App? AppCategories2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCategories2))] #endif - public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + public bool IsAppCategories2 => AppCategories2 != null; /// /// /// - public bool TryPickAppStoreVersionLocalizations( + public bool TryPickAppCategories2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionLocalization? value) + out global::AppStoreConnect.App? value) { - value = AppStoreVersionLocalizations; - return IsAppStoreVersionLocalizations; + value = AppCategories2; + return IsAppCategories2; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + public global::AppStoreConnect.App PickAppCategories2() => AppCategories2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCategories2' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem24(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem24((global::AppStoreConnect.AppCustomProductPageLocalization?)value); + public static implicit operator IncludedItem24(global::AppStoreConnect.AgeRatingDeclaration value) => new IncludedItem24((global::AppStoreConnect.AgeRatingDeclaration?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem24 @this) => @this.AppCustomProductPageLocalizations; + public static implicit operator global::AppStoreConnect.AgeRatingDeclaration?(IncludedItem24 @this) => @this.AgeRatingDeclarations; /// /// /// - public IncludedItem24(global::AppStoreConnect.AppCustomProductPageLocalization? value) + public IncludedItem24(global::AppStoreConnect.AgeRatingDeclaration? value) { - AppCustomProductPageLocalizations = value; + AgeRatingDeclarations = value; } /// /// /// - public static IncludedItem24 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem24(value); + public static IncludedItem24 FromAgeRatingDeclarations(global::AppStoreConnect.AgeRatingDeclaration? value) => new IncludedItem24(value); /// /// /// - public static implicit operator IncludedItem24(global::AppStoreConnect.AppPreview value) => new IncludedItem24((global::AppStoreConnect.AppPreview?)value); + public static implicit operator IncludedItem24(global::AppStoreConnect.AppCategory value) => new IncludedItem24((global::AppStoreConnect.AppCategory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppPreview?(IncludedItem24 @this) => @this.AppPreviews; + public static implicit operator global::AppStoreConnect.AppCategory?(IncludedItem24 @this) => @this.AppCategories1; /// /// /// - public IncludedItem24(global::AppStoreConnect.AppPreview? value) + public IncludedItem24(global::AppStoreConnect.AppCategory? value) { - AppPreviews = value; + AppCategories1 = value; } /// /// /// - public static IncludedItem24 FromAppPreviews(global::AppStoreConnect.AppPreview? value) => new IncludedItem24(value); + public static IncludedItem24 FromAppCategories1(global::AppStoreConnect.AppCategory? value) => new IncludedItem24(value); /// /// /// - public static implicit operator IncludedItem24(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem24((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); + public static implicit operator IncludedItem24(global::AppStoreConnect.AppInfoLocalization value) => new IncludedItem24((global::AppStoreConnect.AppInfoLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem24 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; + public static implicit operator global::AppStoreConnect.AppInfoLocalization?(IncludedItem24 @this) => @this.AppInfoLocalizations; /// /// /// - public IncludedItem24(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + public IncludedItem24(global::AppStoreConnect.AppInfoLocalization? value) { - AppStoreVersionExperimentTreatmentLocalizations = value; + AppInfoLocalizations = value; } /// /// /// - public static IncludedItem24 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem24(value); + public static IncludedItem24 FromAppInfoLocalizations(global::AppStoreConnect.AppInfoLocalization? value) => new IncludedItem24(value); /// /// /// - public static implicit operator IncludedItem24(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem24((global::AppStoreConnect.AppStoreVersionLocalization?)value); + public static implicit operator IncludedItem24(global::AppStoreConnect.App value) => new IncludedItem24((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem24 @this) => @this.AppStoreVersionLocalizations; + public static implicit operator global::AppStoreConnect.App?(IncludedItem24 @this) => @this.AppCategories2; /// /// /// - public IncludedItem24(global::AppStoreConnect.AppStoreVersionLocalization? value) + public IncludedItem24(global::AppStoreConnect.App? value) { - AppStoreVersionLocalizations = value; + AppCategories2 = value; } /// /// /// - public static IncludedItem24 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem24(value); + public static IncludedItem24 FromAppCategories2(global::AppStoreConnect.App? value) => new IncludedItem24(value); /// /// /// public IncludedItem24( - global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, - global::AppStoreConnect.AppPreview? appPreviews, - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations + global::AppStoreConnect.AppInfosResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AgeRatingDeclaration? ageRatingDeclarations, + global::AppStoreConnect.AppCategory? appCategories1, + global::AppStoreConnect.AppInfoLocalization? appInfoLocalizations, + global::AppStoreConnect.App? appCategories2 ) { Type = type; - AppCustomProductPageLocalizations = appCustomProductPageLocalizations; - AppPreviews = appPreviews; - AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; - AppStoreVersionLocalizations = appStoreVersionLocalizations; + AgeRatingDeclarations = ageRatingDeclarations; + AppCategories1 = appCategories1; + AppInfoLocalizations = appInfoLocalizations; + AppCategories2 = appCategories2; } /// /// /// public object? Object => - AppStoreVersionLocalizations as object ?? - AppStoreVersionExperimentTreatmentLocalizations as object ?? - AppPreviews as object ?? - AppCustomProductPageLocalizations as object + AppCategories2 as object ?? + AppInfoLocalizations as object ?? + AppCategories1 as object ?? + AgeRatingDeclarations as object ; /// /// /// public override string? ToString() => - AppCustomProductPageLocalizations?.ToString() ?? - AppPreviews?.ToString() ?? - AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? - AppStoreVersionLocalizations?.ToString() + AgeRatingDeclarations?.ToString() ?? + AppCategories1?.ToString() ?? + AppInfoLocalizations?.ToString() ?? + AppCategories2?.ToString() ; /// @@ -297,17 +297,17 @@ AppCustomProductPageLocalizations as object /// public bool Validate() { - return IsAppCustomProductPageLocalizations && !IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppPreviews && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; + return IsAgeRatingDeclarations && !IsAppCategories1 && !IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && IsAppCategories1 && !IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && !IsAppCategories1 && IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && !IsAppCategories1 && !IsAppInfoLocalizations && IsAppCategories2; } /// /// /// public TResult? Match( - global::System.Func? appCustomProductPageLocalizations = null, - global::System.Func? appPreviews = null, - global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, - global::System.Func? appStoreVersionLocalizations = null, + global::System.Func? ageRatingDeclarations = null, + global::System.Func? appCategories1 = null, + global::System.Func? appInfoLocalizations = null, + global::System.Func? appCategories2 = null, bool validate = true) { if (validate) @@ -315,21 +315,21 @@ public bool Validate() Validate(); } - if (AppCustomProductPageLocalizations is { } __value0 && appCustomProductPageLocalizations != null) + if (AgeRatingDeclarations is { } __value0 && ageRatingDeclarations != null) { - return appCustomProductPageLocalizations(__value0); + return ageRatingDeclarations(__value0); } - else if (AppPreviews is { } __value1 && appPreviews != null) + else if (AppCategories1 is { } __value1 && appCategories1 != null) { - return appPreviews(__value1); + return appCategories1(__value1); } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2 && appStoreVersionExperimentTreatmentLocalizations != null) + else if (AppInfoLocalizations is { } __value2 && appInfoLocalizations != null) { - return appStoreVersionExperimentTreatmentLocalizations(__value2); + return appInfoLocalizations(__value2); } - else if (AppStoreVersionLocalizations is { } __value3 && appStoreVersionLocalizations != null) + else if (AppCategories2 is { } __value3 && appCategories2 != null) { - return appStoreVersionLocalizations(__value3); + return appCategories2(__value3); } return default(TResult); @@ -339,13 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appCustomProductPageLocalizations = null, + global::System.Action? ageRatingDeclarations = null, - global::System.Action? appPreviews = null, + global::System.Action? appCategories1 = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Action? appInfoLocalizations = null, - global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? appCategories2 = null, bool validate = true) { if (validate) @@ -353,21 +353,21 @@ public void Match( Validate(); } - if (AppCustomProductPageLocalizations is { } __value0) + if (AgeRatingDeclarations is { } __value0) { - appCustomProductPageLocalizations?.Invoke(__value0); + ageRatingDeclarations?.Invoke(__value0); } - else if (AppPreviews is { } __value1) + else if (AppCategories1 is { } __value1) { - appPreviews?.Invoke(__value1); + appCategories1?.Invoke(__value1); } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) + else if (AppInfoLocalizations is { } __value2) { - appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); + appInfoLocalizations?.Invoke(__value2); } - else if (AppStoreVersionLocalizations is { } __value3) + else if (AppCategories2 is { } __value3) { - appStoreVersionLocalizations?.Invoke(__value3); + appCategories2?.Invoke(__value3); } } @@ -375,10 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appCustomProductPageLocalizations = null, - global::System.Action? appPreviews = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, - global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? ageRatingDeclarations = null, + global::System.Action? appCategories1 = null, + global::System.Action? appInfoLocalizations = null, + global::System.Action? appCategories2 = null, bool validate = true) { if (validate) @@ -386,21 +386,21 @@ public void Switch( Validate(); } - if (AppCustomProductPageLocalizations is { } __value0) + if (AgeRatingDeclarations is { } __value0) { - appCustomProductPageLocalizations?.Invoke(__value0); + ageRatingDeclarations?.Invoke(__value0); } - else if (AppPreviews is { } __value1) + else if (AppCategories1 is { } __value1) { - appPreviews?.Invoke(__value1); + appCategories1?.Invoke(__value1); } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) + else if (AppInfoLocalizations is { } __value2) { - appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); + appInfoLocalizations?.Invoke(__value2); } - else if (AppStoreVersionLocalizations is { } __value3) + else if (AppCategories2 is { } __value3) { - appStoreVersionLocalizations?.Invoke(__value3); + appCategories2?.Invoke(__value3); } } @@ -411,14 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppCustomProductPageLocalizations, - typeof(global::AppStoreConnect.AppCustomProductPageLocalization), - AppPreviews, - typeof(global::AppStoreConnect.AppPreview), - AppStoreVersionExperimentTreatmentLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), - AppStoreVersionLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionLocalization), + AgeRatingDeclarations, + typeof(global::AppStoreConnect.AgeRatingDeclaration), + AppCategories1, + typeof(global::AppStoreConnect.AppCategory), + AppInfoLocalizations, + typeof(global::AppStoreConnect.AppInfoLocalization), + AppCategories2, + typeof(global::AppStoreConnect.App), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem24 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviews, other.AppPreviews) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AgeRatingDeclarations, other.AgeRatingDeclarations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCategories1, other.AppCategories1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppInfoLocalizations, other.AppInfoLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCategories2, other.AppCategories2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem25.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem25.g.cs index 7ed0af287..2d5e15503 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem25.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem25.g.cs @@ -12,284 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } + public global::AppStoreConnect.AgeRatingDeclaration? AgeRatingDeclarations { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } + public global::AppStoreConnect.AgeRatingDeclaration? AgeRatingDeclarations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AgeRatingDeclarations))] #endif - public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; + public bool IsAgeRatingDeclarations => AgeRatingDeclarations != null; /// /// /// - public bool TryPickAppCustomProductPageLocalizations( + public bool TryPickAgeRatingDeclarations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPageLocalization? value) + out global::AppStoreConnect.AgeRatingDeclaration? value) { - value = AppCustomProductPageLocalizations; - return IsAppCustomProductPageLocalizations; + value = AgeRatingDeclarations; + return IsAgeRatingDeclarations; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value + public global::AppStoreConnect.AgeRatingDeclaration PickAgeRatingDeclarations() => AgeRatingDeclarations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AgeRatingDeclarations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPreview? AppPreviews { get; init; } + public global::AppStoreConnect.AppCategory? AppCategories1 { get; init; } #else - public global::AppStoreConnect.AppPreview? AppPreviews { get; } + public global::AppStoreConnect.AppCategory? AppCategories1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviews))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCategories1))] #endif - public bool IsAppPreviews => AppPreviews != null; + public bool IsAppCategories1 => AppCategories1 != null; /// /// /// - public bool TryPickAppPreviews( + public bool TryPickAppCategories1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppPreview? value) + out global::AppStoreConnect.AppCategory? value) { - value = AppPreviews; - return IsAppPreviews; + value = AppCategories1; + return IsAppCategories1; } /// /// /// - public global::AppStoreConnect.AppPreview PickAppPreviews() => AppPreviews is { } value + public global::AppStoreConnect.AppCategory PickAppCategories1() => AppCategories1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviews' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCategories1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } + public global::AppStoreConnect.AppInfoLocalization? AppInfoLocalizations { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } + public global::AppStoreConnect.AppInfoLocalization? AppInfoLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppInfoLocalizations))] #endif - public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; + public bool IsAppInfoLocalizations => AppInfoLocalizations != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( + public bool TryPickAppInfoLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + out global::AppStoreConnect.AppInfoLocalization? value) { - value = AppStoreVersionExperimentTreatmentLocalizations; - return IsAppStoreVersionExperimentTreatmentLocalizations; + value = AppInfoLocalizations; + return IsAppInfoLocalizations; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value + public global::AppStoreConnect.AppInfoLocalization PickAppInfoLocalizations() => AppInfoLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppInfoLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } + public global::AppStoreConnect.App? AppCategories2 { get; init; } #else - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } + public global::AppStoreConnect.App? AppCategories2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCategories2))] #endif - public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + public bool IsAppCategories2 => AppCategories2 != null; /// /// /// - public bool TryPickAppStoreVersionLocalizations( + public bool TryPickAppCategories2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionLocalization? value) + out global::AppStoreConnect.App? value) { - value = AppStoreVersionLocalizations; - return IsAppStoreVersionLocalizations; + value = AppCategories2; + return IsAppCategories2; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + public global::AppStoreConnect.App PickAppCategories2() => AppCategories2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCategories2' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem25(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem25((global::AppStoreConnect.AppCustomProductPageLocalization?)value); + public static implicit operator IncludedItem25(global::AppStoreConnect.AgeRatingDeclaration value) => new IncludedItem25((global::AppStoreConnect.AgeRatingDeclaration?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem25 @this) => @this.AppCustomProductPageLocalizations; + public static implicit operator global::AppStoreConnect.AgeRatingDeclaration?(IncludedItem25 @this) => @this.AgeRatingDeclarations; /// /// /// - public IncludedItem25(global::AppStoreConnect.AppCustomProductPageLocalization? value) + public IncludedItem25(global::AppStoreConnect.AgeRatingDeclaration? value) { - AppCustomProductPageLocalizations = value; + AgeRatingDeclarations = value; } /// /// /// - public static IncludedItem25 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem25(value); + public static IncludedItem25 FromAgeRatingDeclarations(global::AppStoreConnect.AgeRatingDeclaration? value) => new IncludedItem25(value); /// /// /// - public static implicit operator IncludedItem25(global::AppStoreConnect.AppPreview value) => new IncludedItem25((global::AppStoreConnect.AppPreview?)value); + public static implicit operator IncludedItem25(global::AppStoreConnect.AppCategory value) => new IncludedItem25((global::AppStoreConnect.AppCategory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppPreview?(IncludedItem25 @this) => @this.AppPreviews; + public static implicit operator global::AppStoreConnect.AppCategory?(IncludedItem25 @this) => @this.AppCategories1; /// /// /// - public IncludedItem25(global::AppStoreConnect.AppPreview? value) + public IncludedItem25(global::AppStoreConnect.AppCategory? value) { - AppPreviews = value; + AppCategories1 = value; } /// /// /// - public static IncludedItem25 FromAppPreviews(global::AppStoreConnect.AppPreview? value) => new IncludedItem25(value); + public static IncludedItem25 FromAppCategories1(global::AppStoreConnect.AppCategory? value) => new IncludedItem25(value); /// /// /// - public static implicit operator IncludedItem25(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem25((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); + public static implicit operator IncludedItem25(global::AppStoreConnect.AppInfoLocalization value) => new IncludedItem25((global::AppStoreConnect.AppInfoLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem25 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; + public static implicit operator global::AppStoreConnect.AppInfoLocalization?(IncludedItem25 @this) => @this.AppInfoLocalizations; /// /// /// - public IncludedItem25(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + public IncludedItem25(global::AppStoreConnect.AppInfoLocalization? value) { - AppStoreVersionExperimentTreatmentLocalizations = value; + AppInfoLocalizations = value; } /// /// /// - public static IncludedItem25 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem25(value); + public static IncludedItem25 FromAppInfoLocalizations(global::AppStoreConnect.AppInfoLocalization? value) => new IncludedItem25(value); /// /// /// - public static implicit operator IncludedItem25(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem25((global::AppStoreConnect.AppStoreVersionLocalization?)value); + public static implicit operator IncludedItem25(global::AppStoreConnect.App value) => new IncludedItem25((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem25 @this) => @this.AppStoreVersionLocalizations; + public static implicit operator global::AppStoreConnect.App?(IncludedItem25 @this) => @this.AppCategories2; /// /// /// - public IncludedItem25(global::AppStoreConnect.AppStoreVersionLocalization? value) + public IncludedItem25(global::AppStoreConnect.App? value) { - AppStoreVersionLocalizations = value; + AppCategories2 = value; } /// /// /// - public static IncludedItem25 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem25(value); + public static IncludedItem25 FromAppCategories2(global::AppStoreConnect.App? value) => new IncludedItem25(value); /// /// /// public IncludedItem25( - global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, - global::AppStoreConnect.AppPreview? appPreviews, - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations + global::AppStoreConnect.AppInfoResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AgeRatingDeclaration? ageRatingDeclarations, + global::AppStoreConnect.AppCategory? appCategories1, + global::AppStoreConnect.AppInfoLocalization? appInfoLocalizations, + global::AppStoreConnect.App? appCategories2 ) { Type = type; - AppCustomProductPageLocalizations = appCustomProductPageLocalizations; - AppPreviews = appPreviews; - AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; - AppStoreVersionLocalizations = appStoreVersionLocalizations; + AgeRatingDeclarations = ageRatingDeclarations; + AppCategories1 = appCategories1; + AppInfoLocalizations = appInfoLocalizations; + AppCategories2 = appCategories2; } /// /// /// public object? Object => - AppStoreVersionLocalizations as object ?? - AppStoreVersionExperimentTreatmentLocalizations as object ?? - AppPreviews as object ?? - AppCustomProductPageLocalizations as object + AppCategories2 as object ?? + AppInfoLocalizations as object ?? + AppCategories1 as object ?? + AgeRatingDeclarations as object ; /// /// /// public override string? ToString() => - AppCustomProductPageLocalizations?.ToString() ?? - AppPreviews?.ToString() ?? - AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? - AppStoreVersionLocalizations?.ToString() + AgeRatingDeclarations?.ToString() ?? + AppCategories1?.ToString() ?? + AppInfoLocalizations?.ToString() ?? + AppCategories2?.ToString() ; /// @@ -297,17 +297,17 @@ AppCustomProductPageLocalizations as object /// public bool Validate() { - return IsAppCustomProductPageLocalizations && !IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppPreviews && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; + return IsAgeRatingDeclarations && !IsAppCategories1 && !IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && IsAppCategories1 && !IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && !IsAppCategories1 && IsAppInfoLocalizations && !IsAppCategories2 || !IsAgeRatingDeclarations && !IsAppCategories1 && !IsAppInfoLocalizations && IsAppCategories2; } /// /// /// public TResult? Match( - global::System.Func? appCustomProductPageLocalizations = null, - global::System.Func? appPreviews = null, - global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, - global::System.Func? appStoreVersionLocalizations = null, + global::System.Func? ageRatingDeclarations = null, + global::System.Func? appCategories1 = null, + global::System.Func? appInfoLocalizations = null, + global::System.Func? appCategories2 = null, bool validate = true) { if (validate) @@ -315,21 +315,21 @@ public bool Validate() Validate(); } - if (AppCustomProductPageLocalizations is { } __value0 && appCustomProductPageLocalizations != null) + if (AgeRatingDeclarations is { } __value0 && ageRatingDeclarations != null) { - return appCustomProductPageLocalizations(__value0); + return ageRatingDeclarations(__value0); } - else if (AppPreviews is { } __value1 && appPreviews != null) + else if (AppCategories1 is { } __value1 && appCategories1 != null) { - return appPreviews(__value1); + return appCategories1(__value1); } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2 && appStoreVersionExperimentTreatmentLocalizations != null) + else if (AppInfoLocalizations is { } __value2 && appInfoLocalizations != null) { - return appStoreVersionExperimentTreatmentLocalizations(__value2); + return appInfoLocalizations(__value2); } - else if (AppStoreVersionLocalizations is { } __value3 && appStoreVersionLocalizations != null) + else if (AppCategories2 is { } __value3 && appCategories2 != null) { - return appStoreVersionLocalizations(__value3); + return appCategories2(__value3); } return default(TResult); @@ -339,13 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appCustomProductPageLocalizations = null, + global::System.Action? ageRatingDeclarations = null, - global::System.Action? appPreviews = null, + global::System.Action? appCategories1 = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Action? appInfoLocalizations = null, - global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? appCategories2 = null, bool validate = true) { if (validate) @@ -353,21 +353,21 @@ public void Match( Validate(); } - if (AppCustomProductPageLocalizations is { } __value0) + if (AgeRatingDeclarations is { } __value0) { - appCustomProductPageLocalizations?.Invoke(__value0); + ageRatingDeclarations?.Invoke(__value0); } - else if (AppPreviews is { } __value1) + else if (AppCategories1 is { } __value1) { - appPreviews?.Invoke(__value1); + appCategories1?.Invoke(__value1); } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) + else if (AppInfoLocalizations is { } __value2) { - appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); + appInfoLocalizations?.Invoke(__value2); } - else if (AppStoreVersionLocalizations is { } __value3) + else if (AppCategories2 is { } __value3) { - appStoreVersionLocalizations?.Invoke(__value3); + appCategories2?.Invoke(__value3); } } @@ -375,10 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appCustomProductPageLocalizations = null, - global::System.Action? appPreviews = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, - global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? ageRatingDeclarations = null, + global::System.Action? appCategories1 = null, + global::System.Action? appInfoLocalizations = null, + global::System.Action? appCategories2 = null, bool validate = true) { if (validate) @@ -386,21 +386,21 @@ public void Switch( Validate(); } - if (AppCustomProductPageLocalizations is { } __value0) + if (AgeRatingDeclarations is { } __value0) { - appCustomProductPageLocalizations?.Invoke(__value0); + ageRatingDeclarations?.Invoke(__value0); } - else if (AppPreviews is { } __value1) + else if (AppCategories1 is { } __value1) { - appPreviews?.Invoke(__value1); + appCategories1?.Invoke(__value1); } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) + else if (AppInfoLocalizations is { } __value2) { - appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); + appInfoLocalizations?.Invoke(__value2); } - else if (AppStoreVersionLocalizations is { } __value3) + else if (AppCategories2 is { } __value3) { - appStoreVersionLocalizations?.Invoke(__value3); + appCategories2?.Invoke(__value3); } } @@ -411,14 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppCustomProductPageLocalizations, - typeof(global::AppStoreConnect.AppCustomProductPageLocalization), - AppPreviews, - typeof(global::AppStoreConnect.AppPreview), - AppStoreVersionExperimentTreatmentLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), - AppStoreVersionLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionLocalization), + AgeRatingDeclarations, + typeof(global::AppStoreConnect.AgeRatingDeclaration), + AppCategories1, + typeof(global::AppStoreConnect.AppCategory), + AppInfoLocalizations, + typeof(global::AppStoreConnect.AppInfoLocalization), + AppCategories2, + typeof(global::AppStoreConnect.App), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem25 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviews, other.AppPreviews) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AgeRatingDeclarations, other.AgeRatingDeclarations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCategories1, other.AppCategories1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppInfoLocalizations, other.AppInfoLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCategories2, other.AppCategories2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem26.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem26.g.cs index 791e87554..7f0dc0760 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem26.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem26.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] #endif - public bool IsApps => Apps != null; + public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; /// /// /// - public bool TryPickApps( + public bool TryPickAppCustomProductPageLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.AppCustomProductPageLocalization? value) { - value = Apps; - return IsApps; + value = AppCustomProductPageLocalizations; + return IsAppCustomProductPageLocalizations; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.AppPreview? AppPreviews { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.AppPreview? AppPreviews { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviews))] #endif - public bool IsTerritories => Territories != null; + public bool IsAppPreviews => AppPreviews != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickAppPreviews( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.AppPreview? value) { - value = Territories; - return IsTerritories; + value = AppPreviews; + return IsAppPreviews; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.AppPreview PickAppPreviews() => AppPreviews is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviews' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] +#endif + public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + { + value = AppStoreVersionExperimentTreatmentLocalizations; + return IsAppStoreVersionExperimentTreatmentLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] +#endif + public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionLocalization? value) + { + value = AppStoreVersionLocalizations; + return IsAppStoreVersionLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem26(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem26((global::AppStoreConnect.AppCustomProductPageLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem26 @this) => @this.AppCustomProductPageLocalizations; + + /// + /// + /// + public IncludedItem26(global::AppStoreConnect.AppCustomProductPageLocalization? value) + { + AppCustomProductPageLocalizations = value; + } + + /// + /// + /// + public static IncludedItem26 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem26(value); + + /// + /// + /// + public static implicit operator IncludedItem26(global::AppStoreConnect.AppPreview value) => new IncludedItem26((global::AppStoreConnect.AppPreview?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppPreview?(IncludedItem26 @this) => @this.AppPreviews; + /// /// /// - public static implicit operator IncludedItem26(global::AppStoreConnect.App value) => new IncludedItem26((global::AppStoreConnect.App?)value); + public IncludedItem26(global::AppStoreConnect.AppPreview? value) + { + AppPreviews = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem26 @this) => @this.Apps; + public static IncludedItem26 FromAppPreviews(global::AppStoreConnect.AppPreview? value) => new IncludedItem26(value); /// /// /// - public IncludedItem26(global::AppStoreConnect.App? value) + public static implicit operator IncludedItem26(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem26((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem26 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; + + /// + /// + /// + public IncludedItem26(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - Apps = value; + AppStoreVersionExperimentTreatmentLocalizations = value; } /// /// /// - public static IncludedItem26 FromApps(global::AppStoreConnect.App? value) => new IncludedItem26(value); + public static IncludedItem26 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem26(value); /// /// /// - public static implicit operator IncludedItem26(global::AppStoreConnect.Territory value) => new IncludedItem26((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem26(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem26((global::AppStoreConnect.AppStoreVersionLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem26 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem26 @this) => @this.AppStoreVersionLocalizations; /// /// /// - public IncludedItem26(global::AppStoreConnect.Territory? value) + public IncludedItem26(global::AppStoreConnect.AppStoreVersionLocalization? value) { - Territories = value; + AppStoreVersionLocalizations = value; } /// /// /// - public static IncludedItem26 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem26(value); + public static IncludedItem26 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem26(value); /// /// /// public IncludedItem26( - global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, + global::AppStoreConnect.AppPreview? appPreviews, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations ) { Type = type; - Apps = apps; - Territories = territories; + AppCustomProductPageLocalizations = appCustomProductPageLocalizations; + AppPreviews = appPreviews; + AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; + AppStoreVersionLocalizations = appStoreVersionLocalizations; } /// /// /// public object? Object => - Territories as object ?? - Apps as object + AppStoreVersionLocalizations as object ?? + AppStoreVersionExperimentTreatmentLocalizations as object ?? + AppPreviews as object ?? + AppCustomProductPageLocalizations as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - Territories?.ToString() + AppCustomProductPageLocalizations?.ToString() ?? + AppPreviews?.ToString() ?? + AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? + AppStoreVersionLocalizations?.ToString() ; /// @@ -169,15 +297,17 @@ Apps as object /// public bool Validate() { - return IsApps && !IsTerritories || !IsApps && IsTerritories; + return IsAppCustomProductPageLocalizations && !IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppPreviews && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? territories = null, + global::System.Func? appCustomProductPageLocalizations = null, + global::System.Func? appPreviews = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Func? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (AppCustomProductPageLocalizations is { } __value0 && appCustomProductPageLocalizations != null) + { + return appCustomProductPageLocalizations(__value0); + } + else if (AppPreviews is { } __value1 && appPreviews != null) + { + return appPreviews(__value1); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2 && appStoreVersionExperimentTreatmentLocalizations != null) { - return apps(__value0); + return appStoreVersionExperimentTreatmentLocalizations(__value2); } - else if (Territories is { } __value1 && territories != null) + else if (AppStoreVersionLocalizations is { } __value3 && appStoreVersionLocalizations != null) { - return territories(__value1); + return appStoreVersionLocalizations(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? appCustomProductPageLocalizations = null, + + global::System.Action? appPreviews = null, - global::System.Action? territories = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (AppCustomProductPageLocalizations is { } __value0) + { + appCustomProductPageLocalizations?.Invoke(__value0); + } + else if (AppPreviews is { } __value1) { - apps?.Invoke(__value0); + appPreviews?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) { - territories?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); + } + else if (AppStoreVersionLocalizations is { } __value3) + { + appStoreVersionLocalizations?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? territories = null, + global::System.Action? appCustomProductPageLocalizations = null, + global::System.Action? appPreviews = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (AppCustomProductPageLocalizations is { } __value0) + { + appCustomProductPageLocalizations?.Invoke(__value0); + } + else if (AppPreviews is { } __value1) + { + appPreviews?.Invoke(__value1); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) { - apps?.Invoke(__value0); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); } - else if (Territories is { } __value1) + else if (AppStoreVersionLocalizations is { } __value3) { - territories?.Invoke(__value1); + appStoreVersionLocalizations?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, - typeof(global::AppStoreConnect.App), - Territories, - typeof(global::AppStoreConnect.Territory), + AppCustomProductPageLocalizations, + typeof(global::AppStoreConnect.AppCustomProductPageLocalization), + AppPreviews, + typeof(global::AppStoreConnect.AppPreview), + AppStoreVersionExperimentTreatmentLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), + AppStoreVersionLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionLocalization), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem26 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviews, other.AppPreviews) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem27.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem27.g.cs index 4d44a9084..021a4b1c0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem27.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem27.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] #endif - public bool IsApps => Apps != null; + public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; /// /// /// - public bool TryPickApps( + public bool TryPickAppCustomProductPageLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.AppCustomProductPageLocalization? value) { - value = Apps; - return IsApps; + value = AppCustomProductPageLocalizations; + return IsAppCustomProductPageLocalizations; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.AppPreview? AppPreviews { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.AppPreview? AppPreviews { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviews))] #endif - public bool IsTerritories => Territories != null; + public bool IsAppPreviews => AppPreviews != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickAppPreviews( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.AppPreview? value) { - value = Territories; - return IsTerritories; + value = AppPreviews; + return IsAppPreviews; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.AppPreview PickAppPreviews() => AppPreviews is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviews' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] +#endif + public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + { + value = AppStoreVersionExperimentTreatmentLocalizations; + return IsAppStoreVersionExperimentTreatmentLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] +#endif + public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionLocalization? value) + { + value = AppStoreVersionLocalizations; + return IsAppStoreVersionLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem27(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem27((global::AppStoreConnect.AppCustomProductPageLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem27 @this) => @this.AppCustomProductPageLocalizations; + + /// + /// + /// + public IncludedItem27(global::AppStoreConnect.AppCustomProductPageLocalization? value) + { + AppCustomProductPageLocalizations = value; + } + + /// + /// + /// + public static IncludedItem27 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem27(value); + + /// + /// + /// + public static implicit operator IncludedItem27(global::AppStoreConnect.AppPreview value) => new IncludedItem27((global::AppStoreConnect.AppPreview?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppPreview?(IncludedItem27 @this) => @this.AppPreviews; + /// /// /// - public static implicit operator IncludedItem27(global::AppStoreConnect.App value) => new IncludedItem27((global::AppStoreConnect.App?)value); + public IncludedItem27(global::AppStoreConnect.AppPreview? value) + { + AppPreviews = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem27 @this) => @this.Apps; + public static IncludedItem27 FromAppPreviews(global::AppStoreConnect.AppPreview? value) => new IncludedItem27(value); /// /// /// - public IncludedItem27(global::AppStoreConnect.App? value) + public static implicit operator IncludedItem27(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem27((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem27 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; + + /// + /// + /// + public IncludedItem27(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - Apps = value; + AppStoreVersionExperimentTreatmentLocalizations = value; } /// /// /// - public static IncludedItem27 FromApps(global::AppStoreConnect.App? value) => new IncludedItem27(value); + public static IncludedItem27 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem27(value); /// /// /// - public static implicit operator IncludedItem27(global::AppStoreConnect.Territory value) => new IncludedItem27((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem27(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem27((global::AppStoreConnect.AppStoreVersionLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem27 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem27 @this) => @this.AppStoreVersionLocalizations; /// /// /// - public IncludedItem27(global::AppStoreConnect.Territory? value) + public IncludedItem27(global::AppStoreConnect.AppStoreVersionLocalization? value) { - Territories = value; + AppStoreVersionLocalizations = value; } /// /// /// - public static IncludedItem27 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem27(value); + public static IncludedItem27 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem27(value); /// /// /// public IncludedItem27( - global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.AppPreviewSetResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, + global::AppStoreConnect.AppPreview? appPreviews, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations ) { Type = type; - Apps = apps; - Territories = territories; + AppCustomProductPageLocalizations = appCustomProductPageLocalizations; + AppPreviews = appPreviews; + AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; + AppStoreVersionLocalizations = appStoreVersionLocalizations; } /// /// /// public object? Object => - Territories as object ?? - Apps as object + AppStoreVersionLocalizations as object ?? + AppStoreVersionExperimentTreatmentLocalizations as object ?? + AppPreviews as object ?? + AppCustomProductPageLocalizations as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - Territories?.ToString() + AppCustomProductPageLocalizations?.ToString() ?? + AppPreviews?.ToString() ?? + AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? + AppStoreVersionLocalizations?.ToString() ; /// @@ -169,15 +297,17 @@ Apps as object /// public bool Validate() { - return IsApps && !IsTerritories || !IsApps && IsTerritories; + return IsAppCustomProductPageLocalizations && !IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppPreviews && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppPreviews && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? territories = null, + global::System.Func? appCustomProductPageLocalizations = null, + global::System.Func? appPreviews = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Func? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (AppCustomProductPageLocalizations is { } __value0 && appCustomProductPageLocalizations != null) + { + return appCustomProductPageLocalizations(__value0); + } + else if (AppPreviews is { } __value1 && appPreviews != null) + { + return appPreviews(__value1); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2 && appStoreVersionExperimentTreatmentLocalizations != null) { - return apps(__value0); + return appStoreVersionExperimentTreatmentLocalizations(__value2); } - else if (Territories is { } __value1 && territories != null) + else if (AppStoreVersionLocalizations is { } __value3 && appStoreVersionLocalizations != null) { - return territories(__value1); + return appStoreVersionLocalizations(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? appCustomProductPageLocalizations = null, + + global::System.Action? appPreviews = null, - global::System.Action? territories = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (AppCustomProductPageLocalizations is { } __value0) + { + appCustomProductPageLocalizations?.Invoke(__value0); + } + else if (AppPreviews is { } __value1) { - apps?.Invoke(__value0); + appPreviews?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) { - territories?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); + } + else if (AppStoreVersionLocalizations is { } __value3) + { + appStoreVersionLocalizations?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? territories = null, + global::System.Action? appCustomProductPageLocalizations = null, + global::System.Action? appPreviews = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (AppCustomProductPageLocalizations is { } __value0) + { + appCustomProductPageLocalizations?.Invoke(__value0); + } + else if (AppPreviews is { } __value1) + { + appPreviews?.Invoke(__value1); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) { - apps?.Invoke(__value0); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); } - else if (Territories is { } __value1) + else if (AppStoreVersionLocalizations is { } __value3) { - territories?.Invoke(__value1); + appStoreVersionLocalizations?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, - typeof(global::AppStoreConnect.App), - Territories, - typeof(global::AppStoreConnect.Territory), + AppCustomProductPageLocalizations, + typeof(global::AppStoreConnect.AppCustomProductPageLocalization), + AppPreviews, + typeof(global::AppStoreConnect.AppPreview), + AppStoreVersionExperimentTreatmentLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), + AppStoreVersionLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionLocalization), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem27 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviews, other.AppPreviews) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem28.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem28.g.cs index 79ad912ae..564256621 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem28.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem28.g.cs @@ -12,81 +12,44 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPriceV2? AppPrices1 { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.AppPriceV2? AppPrices1 { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPrices1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsAppPrices1 => AppPrices1 != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickAppPrices1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppPriceV2? value) - { - value = AppPrices1; - return IsAppPrices1; - } - - /// - /// - /// - public global::AppStoreConnect.AppPriceV2 PickAppPrices1() => AppPrices1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPrices1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppPrices2 { get; init; } -#else - public global::AppStoreConnect.App? AppPrices2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPrices2))] -#endif - public bool IsAppPrices2 => AppPrices2 != null; - - /// - /// - /// - public bool TryPickAppPrices2( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.App? value) { - value = AppPrices2; - return IsAppPrices2; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.App PickAppPrices2() => AppPrices2 is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPrices2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// @@ -124,29 +87,6 @@ public bool TryPickTerritories( public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem28(global::AppStoreConnect.AppPriceV2 value) => new IncludedItem28((global::AppStoreConnect.AppPriceV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppPriceV2?(IncludedItem28 @this) => @this.AppPrices1; - - /// - /// - /// - public IncludedItem28(global::AppStoreConnect.AppPriceV2? value) - { - AppPrices1 = value; - } - - /// - /// - /// - public static IncludedItem28 FromAppPrices1(global::AppStoreConnect.AppPriceV2? value) => new IncludedItem28(value); - /// /// /// @@ -155,20 +95,20 @@ public IncludedItem28(global::AppStoreConnect.AppPriceV2? value) /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem28 @this) => @this.AppPrices2; + public static implicit operator global::AppStoreConnect.App?(IncludedItem28 @this) => @this.Apps; /// /// /// public IncludedItem28(global::AppStoreConnect.App? value) { - AppPrices2 = value; + Apps = value; } /// /// /// - public static IncludedItem28 FromAppPrices2(global::AppStoreConnect.App? value) => new IncludedItem28(value); + public static IncludedItem28 FromApps(global::AppStoreConnect.App? value) => new IncludedItem28(value); /// /// @@ -197,16 +137,14 @@ public IncludedItem28(global::AppStoreConnect.Territory? value) /// /// public IncludedItem28( - global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppPriceV2? appPrices1, - global::AppStoreConnect.App? appPrices2, + global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, global::AppStoreConnect.Territory? territories ) { Type = type; - AppPrices1 = appPrices1; - AppPrices2 = appPrices2; + Apps = apps; Territories = territories; } @@ -215,16 +153,14 @@ public IncludedItem28( /// public object? Object => Territories as object ?? - AppPrices2 as object ?? - AppPrices1 as object + Apps as object ; /// /// /// public override string? ToString() => - AppPrices1?.ToString() ?? - AppPrices2?.ToString() ?? + Apps?.ToString() ?? Territories?.ToString() ; @@ -233,15 +169,14 @@ AppPrices1 as object /// public bool Validate() { - return IsAppPrices1 && !IsAppPrices2 && !IsTerritories || !IsAppPrices1 && IsAppPrices2 && !IsTerritories || !IsAppPrices1 && !IsAppPrices2 && IsTerritories; + return IsApps && !IsTerritories || !IsApps && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? appPrices1 = null, - global::System.Func? appPrices2 = null, + global::System.Func? apps = null, global::System.Func? territories = null, bool validate = true) { @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (AppPrices1 is { } __value0 && appPrices1 != null) + if (Apps is { } __value0 && apps != null) { - return appPrices1(__value0); + return apps(__value0); } - else if (AppPrices2 is { } __value1 && appPrices2 != null) + else if (Territories is { } __value1 && territories != null) { - return appPrices2(__value1); - } - else if (Territories is { } __value2 && territories != null) - { - return territories(__value2); + return territories(__value1); } return default(TResult); @@ -270,9 +201,7 @@ public bool Validate() /// /// public void Match( - global::System.Action? appPrices1 = null, - - global::System.Action? appPrices2 = null, + global::System.Action? apps = null, global::System.Action? territories = null, bool validate = true) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (AppPrices1 is { } __value0) - { - appPrices1?.Invoke(__value0); - } - else if (AppPrices2 is { } __value1) + if (Apps is { } __value0) { - appPrices2?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (Territories is { } __value2) + else if (Territories is { } __value1) { - territories?.Invoke(__value2); + territories?.Invoke(__value1); } } @@ -300,8 +225,7 @@ public void Match( /// /// public void Switch( - global::System.Action? appPrices1 = null, - global::System.Action? appPrices2 = null, + global::System.Action? apps = null, global::System.Action? territories = null, bool validate = true) { @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (AppPrices1 is { } __value0) - { - appPrices1?.Invoke(__value0); - } - else if (AppPrices2 is { } __value1) + if (Apps is { } __value0) { - appPrices2?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (Territories is { } __value2) + else if (Territories is { } __value1) { - territories?.Invoke(__value2); + territories?.Invoke(__value1); } } @@ -331,9 +251,7 @@ public override int GetHashCode() { var fields = new object?[] { - AppPrices1, - typeof(global::AppStoreConnect.AppPriceV2), - AppPrices2, + Apps, typeof(global::AppStoreConnect.App), Territories, typeof(global::AppStoreConnect.Territory), @@ -353,8 +271,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem28 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPrices1, other.AppPrices1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPrices2, other.AppPrices2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem31.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem29.Json.g.cs similarity index 89% rename from src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem31.Json.g.cs rename to src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem29.Json.g.cs index 441a6df66..294395161 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem31.Json.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem29.Json.g.cs @@ -2,7 +2,7 @@ namespace AppStoreConnect { - public readonly partial struct IncludedItem31 + public readonly partial struct IncludedItem29 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AppStoreConnect.IncludedItem31? FromJson( + public static global::AppStoreConnect.IncludedItem29? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AppStoreConnect.IncludedItem31), - jsonSerializerContext) as global::AppStoreConnect.IncludedItem31?; + typeof(global::AppStoreConnect.IncludedItem29), + jsonSerializerContext) as global::AppStoreConnect.IncludedItem29?; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AppStoreConnect.IncludedItem31? FromJson( + public static global::AppStoreConnect.IncludedItem29? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AppStoreConnect.IncludedItem31? FromJson( + public static global::AppStoreConnect.IncludedItem29? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AppStoreConnect.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AppStoreConnect.IncludedItem31), - jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem31?; + typeof(global::AppStoreConnect.IncludedItem29), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.IncludedItem29?; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AppStoreConnect.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem29.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem29.g.cs new file mode 100644 index 000000000..12f66669b --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem29.g.cs @@ -0,0 +1,303 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct IncludedItem29 : global::System.IEquatable + { + /// + /// + /// + public global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? Apps { get; init; } +#else + public global::AppStoreConnect.App? Apps { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] +#endif + public bool IsApps => Apps != null; + + /// + /// + /// + public bool TryPickApps( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.App? value) + { + value = Apps; + return IsApps; + } + + /// + /// + /// + public global::AppStoreConnect.App PickApps() => Apps is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Territory? Territories { get; init; } +#else + public global::AppStoreConnect.Territory? Territories { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] +#endif + public bool IsTerritories => Territories != null; + + /// + /// + /// + public bool TryPickTerritories( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Territory? value) + { + value = Territories; + return IsTerritories; + } + + /// + /// + /// + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem29(global::AppStoreConnect.App value) => new IncludedItem29((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem29 @this) => @this.Apps; + + /// + /// + /// + public IncludedItem29(global::AppStoreConnect.App? value) + { + Apps = value; + } + + /// + /// + /// + public static IncludedItem29 FromApps(global::AppStoreConnect.App? value) => new IncludedItem29(value); + + /// + /// + /// + public static implicit operator IncludedItem29(global::AppStoreConnect.Territory value) => new IncludedItem29((global::AppStoreConnect.Territory?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem29 @this) => @this.Territories; + + /// + /// + /// + public IncludedItem29(global::AppStoreConnect.Territory? value) + { + Territories = value; + } + + /// + /// + /// + public static IncludedItem29 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem29(value); + + /// + /// + /// + public IncludedItem29( + global::AppStoreConnect.AppPricePointV3ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.Territory? territories + ) + { + Type = type; + + Apps = apps; + Territories = territories; + } + + /// + /// + /// + public object? Object => + Territories as object ?? + Apps as object + ; + + /// + /// + /// + public override string? ToString() => + Apps?.ToString() ?? + Territories?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsApps && !IsTerritories || !IsApps && IsTerritories; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? apps = null, + global::System.Func? territories = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Apps is { } __value0 && apps != null) + { + return apps(__value0); + } + else if (Territories is { } __value1 && territories != null) + { + return territories(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? apps = null, + + global::System.Action? territories = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Apps is { } __value0) + { + apps?.Invoke(__value0); + } + else if (Territories is { } __value1) + { + territories?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? apps = null, + global::System.Action? territories = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Apps is { } __value0) + { + apps?.Invoke(__value0); + } + else if (Territories is { } __value1) + { + territories?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Apps, + typeof(global::AppStoreConnect.App), + Territories, + typeof(global::AppStoreConnect.Territory), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(IncludedItem29 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + ; + } + + /// + /// + /// + public static bool operator ==(IncludedItem29 obj1, IncludedItem29 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(IncludedItem29 obj1, IncludedItem29 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is IncludedItem29 o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem3.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem3.g.cs index f2d220d77..647ee73e7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem3.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem3.g.cs @@ -12,220 +12,412 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipAdvancedExperienceImage? AppClipAdvancedExperienceImages { get; init; } + public global::AppStoreConnect.AppAssetLibraryImage? AppAssetLibraryImages { get; init; } #else - public global::AppStoreConnect.AppClipAdvancedExperienceImage? AppClipAdvancedExperienceImages { get; } + public global::AppStoreConnect.AppAssetLibraryImage? AppAssetLibraryImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImages))] #endif - public bool IsAppClipAdvancedExperienceImages => AppClipAdvancedExperienceImages != null; + public bool IsAppAssetLibraryImages => AppAssetLibraryImages != null; /// /// /// - public bool TryPickAppClipAdvancedExperienceImages( + public bool TryPickAppAssetLibraryImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipAdvancedExperienceImage? value) + out global::AppStoreConnect.AppAssetLibraryImage? value) { - value = AppClipAdvancedExperienceImages; - return IsAppClipAdvancedExperienceImages; + value = AppAssetLibraryImages; + return IsAppAssetLibraryImages; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImage PickAppClipAdvancedExperienceImages() => AppClipAdvancedExperienceImages is { } value + public global::AppStoreConnect.AppAssetLibraryImage PickAppAssetLibraryImages() => AppAssetLibraryImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? AppClipAdvancedExperienceLocalizations1 { get; init; } + public global::AppStoreConnect.AppAssetLibraryVideo? AppAssetLibraryVideos { get; init; } #else - public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? AppClipAdvancedExperienceLocalizations1 { get; } + public global::AppStoreConnect.AppAssetLibraryVideo? AppAssetLibraryVideos { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideos))] #endif - public bool IsAppClipAdvancedExperienceLocalizations1 => AppClipAdvancedExperienceLocalizations1 != null; + public bool IsAppAssetLibraryVideos => AppAssetLibraryVideos != null; /// /// /// - public bool TryPickAppClipAdvancedExperienceLocalizations1( + public bool TryPickAppAssetLibraryVideos( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) + out global::AppStoreConnect.AppAssetLibraryVideo? value) { - value = AppClipAdvancedExperienceLocalizations1; - return IsAppClipAdvancedExperienceLocalizations1; + value = AppAssetLibraryVideos; + return IsAppAssetLibraryVideos; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceLocalization PickAppClipAdvancedExperienceLocalizations1() => AppClipAdvancedExperienceLocalizations1 is { } value + public global::AppStoreConnect.AppAssetLibraryVideo PickAppAssetLibraryVideos() => AppAssetLibraryVideos is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceLocalizations1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideos' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClip? AppClipAdvancedExperienceLocalizations2 { get; init; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } #else - public global::AppStoreConnect.AppClip? AppClipAdvancedExperienceLocalizations2 { get; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceLocalizations2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] #endif - public bool IsAppClipAdvancedExperienceLocalizations2 => AppClipAdvancedExperienceLocalizations2 != null; + public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; /// /// /// - public bool TryPickAppClipAdvancedExperienceLocalizations2( + public bool TryPickAppCustomProductPageLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClip? value) + out global::AppStoreConnect.AppCustomProductPageLocalization? value) { - value = AppClipAdvancedExperienceLocalizations2; - return IsAppClipAdvancedExperienceLocalizations2; + value = AppCustomProductPageLocalizations; + return IsAppCustomProductPageLocalizations; } /// /// /// - public global::AppStoreConnect.AppClip PickAppClipAdvancedExperienceLocalizations2() => AppClipAdvancedExperienceLocalizations2 is { } value + public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppEventLocalization? AppEventLocalizations { get; init; } +#else + public global::AppStoreConnect.AppEventLocalization? AppEventLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventLocalizations))] +#endif + public bool IsAppEventLocalizations => AppEventLocalizations != null; + + /// + /// + /// + public bool TryPickAppEventLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppEventLocalization? value) + { + value = AppEventLocalizations; + return IsAppEventLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppEventLocalization PickAppEventLocalizations() => AppEventLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] +#endif + public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + { + value = AppStoreVersionExperimentTreatmentLocalizations; + return IsAppStoreVersionExperimentTreatmentLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] +#endif + public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionLocalization? value) + { + value = AppStoreVersionLocalizations; + return IsAppStoreVersionLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem3(global::AppStoreConnect.AppAssetLibraryImage value) => new IncludedItem3((global::AppStoreConnect.AppAssetLibraryImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImage?(IncludedItem3 @this) => @this.AppAssetLibraryImages; + + /// + /// + /// + public IncludedItem3(global::AppStoreConnect.AppAssetLibraryImage? value) + { + AppAssetLibraryImages = value; + } + + /// + /// + /// + public static IncludedItem3 FromAppAssetLibraryImages(global::AppStoreConnect.AppAssetLibraryImage? value) => new IncludedItem3(value); + + /// + /// + /// + public static implicit operator IncludedItem3(global::AppStoreConnect.AppAssetLibraryVideo value) => new IncludedItem3((global::AppStoreConnect.AppAssetLibraryVideo?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideo?(IncludedItem3 @this) => @this.AppAssetLibraryVideos; + + /// + /// + /// + public IncludedItem3(global::AppStoreConnect.AppAssetLibraryVideo? value) + { + AppAssetLibraryVideos = value; + } + + /// + /// + /// + public static IncludedItem3 FromAppAssetLibraryVideos(global::AppStoreConnect.AppAssetLibraryVideo? value) => new IncludedItem3(value); + /// /// /// - public static implicit operator IncludedItem3(global::AppStoreConnect.AppClipAdvancedExperienceImage value) => new IncludedItem3((global::AppStoreConnect.AppClipAdvancedExperienceImage?)value); + public static implicit operator IncludedItem3(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem3((global::AppStoreConnect.AppCustomProductPageLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClipAdvancedExperienceImage?(IncludedItem3 @this) => @this.AppClipAdvancedExperienceImages; + public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem3 @this) => @this.AppCustomProductPageLocalizations; /// /// /// - public IncludedItem3(global::AppStoreConnect.AppClipAdvancedExperienceImage? value) + public IncludedItem3(global::AppStoreConnect.AppCustomProductPageLocalization? value) { - AppClipAdvancedExperienceImages = value; + AppCustomProductPageLocalizations = value; } /// /// /// - public static IncludedItem3 FromAppClipAdvancedExperienceImages(global::AppStoreConnect.AppClipAdvancedExperienceImage? value) => new IncludedItem3(value); + public static IncludedItem3 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem3(value); /// /// /// - public static implicit operator IncludedItem3(global::AppStoreConnect.AppClipAdvancedExperienceLocalization value) => new IncludedItem3((global::AppStoreConnect.AppClipAdvancedExperienceLocalization?)value); + public static implicit operator IncludedItem3(global::AppStoreConnect.AppEventLocalization value) => new IncludedItem3((global::AppStoreConnect.AppEventLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClipAdvancedExperienceLocalization?(IncludedItem3 @this) => @this.AppClipAdvancedExperienceLocalizations1; + public static implicit operator global::AppStoreConnect.AppEventLocalization?(IncludedItem3 @this) => @this.AppEventLocalizations; /// /// /// - public IncludedItem3(global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) + public IncludedItem3(global::AppStoreConnect.AppEventLocalization? value) { - AppClipAdvancedExperienceLocalizations1 = value; + AppEventLocalizations = value; } /// /// /// - public static IncludedItem3 FromAppClipAdvancedExperienceLocalizations1(global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) => new IncludedItem3(value); + public static IncludedItem3 FromAppEventLocalizations(global::AppStoreConnect.AppEventLocalization? value) => new IncludedItem3(value); /// /// /// - public static implicit operator IncludedItem3(global::AppStoreConnect.AppClip value) => new IncludedItem3((global::AppStoreConnect.AppClip?)value); + public static implicit operator IncludedItem3(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem3((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem3 @this) => @this.AppClipAdvancedExperienceLocalizations2; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem3 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; /// /// /// - public IncludedItem3(global::AppStoreConnect.AppClip? value) + public IncludedItem3(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - AppClipAdvancedExperienceLocalizations2 = value; + AppStoreVersionExperimentTreatmentLocalizations = value; } /// /// /// - public static IncludedItem3 FromAppClipAdvancedExperienceLocalizations2(global::AppStoreConnect.AppClip? value) => new IncludedItem3(value); + public static IncludedItem3 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem3(value); + + /// + /// + /// + public static implicit operator IncludedItem3(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem3((global::AppStoreConnect.AppStoreVersionLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem3 @this) => @this.AppStoreVersionLocalizations; + + /// + /// + /// + public IncludedItem3(global::AppStoreConnect.AppStoreVersionLocalization? value) + { + AppStoreVersionLocalizations = value; + } + + /// + /// + /// + public static IncludedItem3 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem3(value); /// /// /// public IncludedItem3( - global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppClipAdvancedExperienceImage? appClipAdvancedExperienceImages, - global::AppStoreConnect.AppClipAdvancedExperienceLocalization? appClipAdvancedExperienceLocalizations1, - global::AppStoreConnect.AppClip? appClipAdvancedExperienceLocalizations2 + global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryImage? appAssetLibraryImages, + global::AppStoreConnect.AppAssetLibraryVideo? appAssetLibraryVideos, + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, + global::AppStoreConnect.AppEventLocalization? appEventLocalizations, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations ) { Type = type; - AppClipAdvancedExperienceImages = appClipAdvancedExperienceImages; - AppClipAdvancedExperienceLocalizations1 = appClipAdvancedExperienceLocalizations1; - AppClipAdvancedExperienceLocalizations2 = appClipAdvancedExperienceLocalizations2; + AppAssetLibraryImages = appAssetLibraryImages; + AppAssetLibraryVideos = appAssetLibraryVideos; + AppCustomProductPageLocalizations = appCustomProductPageLocalizations; + AppEventLocalizations = appEventLocalizations; + AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; + AppStoreVersionLocalizations = appStoreVersionLocalizations; } /// /// /// public object? Object => - AppClipAdvancedExperienceLocalizations2 as object ?? - AppClipAdvancedExperienceLocalizations1 as object ?? - AppClipAdvancedExperienceImages as object + AppStoreVersionLocalizations as object ?? + AppStoreVersionExperimentTreatmentLocalizations as object ?? + AppEventLocalizations as object ?? + AppCustomProductPageLocalizations as object ?? + AppAssetLibraryVideos as object ?? + AppAssetLibraryImages as object ; /// /// /// public override string? ToString() => - AppClipAdvancedExperienceImages?.ToString() ?? - AppClipAdvancedExperienceLocalizations1?.ToString() ?? - AppClipAdvancedExperienceLocalizations2?.ToString() + AppAssetLibraryImages?.ToString() ?? + AppAssetLibraryVideos?.ToString() ?? + AppCustomProductPageLocalizations?.ToString() ?? + AppEventLocalizations?.ToString() ?? + AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? + AppStoreVersionLocalizations?.ToString() ; /// @@ -233,16 +425,19 @@ AppClipAdvancedExperienceImages as object /// public bool Validate() { - return IsAppClipAdvancedExperienceImages && !IsAppClipAdvancedExperienceLocalizations1 && !IsAppClipAdvancedExperienceLocalizations2 || !IsAppClipAdvancedExperienceImages && IsAppClipAdvancedExperienceLocalizations1 && !IsAppClipAdvancedExperienceLocalizations2 || !IsAppClipAdvancedExperienceImages && !IsAppClipAdvancedExperienceLocalizations1 && IsAppClipAdvancedExperienceLocalizations2; + return IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; } /// /// /// public TResult? Match( - global::System.Func? appClipAdvancedExperienceImages = null, - global::System.Func? appClipAdvancedExperienceLocalizations1 = null, - global::System.Func? appClipAdvancedExperienceLocalizations2 = null, + global::System.Func? appAssetLibraryImages = null, + global::System.Func? appAssetLibraryVideos = null, + global::System.Func? appCustomProductPageLocalizations = null, + global::System.Func? appEventLocalizations = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Func? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -250,17 +445,29 @@ public bool Validate() Validate(); } - if (AppClipAdvancedExperienceImages is { } __value0 && appClipAdvancedExperienceImages != null) + if (AppAssetLibraryImages is { } __value0 && appAssetLibraryImages != null) + { + return appAssetLibraryImages(__value0); + } + else if (AppAssetLibraryVideos is { } __value1 && appAssetLibraryVideos != null) { - return appClipAdvancedExperienceImages(__value0); + return appAssetLibraryVideos(__value1); } - else if (AppClipAdvancedExperienceLocalizations1 is { } __value1 && appClipAdvancedExperienceLocalizations1 != null) + else if (AppCustomProductPageLocalizations is { } __value2 && appCustomProductPageLocalizations != null) { - return appClipAdvancedExperienceLocalizations1(__value1); + return appCustomProductPageLocalizations(__value2); } - else if (AppClipAdvancedExperienceLocalizations2 is { } __value2 && appClipAdvancedExperienceLocalizations2 != null) + else if (AppEventLocalizations is { } __value3 && appEventLocalizations != null) { - return appClipAdvancedExperienceLocalizations2(__value2); + return appEventLocalizations(__value3); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value4 && appStoreVersionExperimentTreatmentLocalizations != null) + { + return appStoreVersionExperimentTreatmentLocalizations(__value4); + } + else if (AppStoreVersionLocalizations is { } __value5 && appStoreVersionLocalizations != null) + { + return appStoreVersionLocalizations(__value5); } return default(TResult); @@ -270,11 +477,17 @@ public bool Validate() /// /// public void Match( - global::System.Action? appClipAdvancedExperienceImages = null, + global::System.Action? appAssetLibraryImages = null, + + global::System.Action? appAssetLibraryVideos = null, - global::System.Action? appClipAdvancedExperienceLocalizations1 = null, + global::System.Action? appCustomProductPageLocalizations = null, - global::System.Action? appClipAdvancedExperienceLocalizations2 = null, + global::System.Action? appEventLocalizations = null, + + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -282,17 +495,29 @@ public void Match( Validate(); } - if (AppClipAdvancedExperienceImages is { } __value0) + if (AppAssetLibraryImages is { } __value0) { - appClipAdvancedExperienceImages?.Invoke(__value0); + appAssetLibraryImages?.Invoke(__value0); } - else if (AppClipAdvancedExperienceLocalizations1 is { } __value1) + else if (AppAssetLibraryVideos is { } __value1) { - appClipAdvancedExperienceLocalizations1?.Invoke(__value1); + appAssetLibraryVideos?.Invoke(__value1); } - else if (AppClipAdvancedExperienceLocalizations2 is { } __value2) + else if (AppCustomProductPageLocalizations is { } __value2) { - appClipAdvancedExperienceLocalizations2?.Invoke(__value2); + appCustomProductPageLocalizations?.Invoke(__value2); + } + else if (AppEventLocalizations is { } __value3) + { + appEventLocalizations?.Invoke(__value3); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value4) + { + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value4); + } + else if (AppStoreVersionLocalizations is { } __value5) + { + appStoreVersionLocalizations?.Invoke(__value5); } } @@ -300,9 +525,12 @@ public void Match( /// /// public void Switch( - global::System.Action? appClipAdvancedExperienceImages = null, - global::System.Action? appClipAdvancedExperienceLocalizations1 = null, - global::System.Action? appClipAdvancedExperienceLocalizations2 = null, + global::System.Action? appAssetLibraryImages = null, + global::System.Action? appAssetLibraryVideos = null, + global::System.Action? appCustomProductPageLocalizations = null, + global::System.Action? appEventLocalizations = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -310,17 +538,29 @@ public void Switch( Validate(); } - if (AppClipAdvancedExperienceImages is { } __value0) + if (AppAssetLibraryImages is { } __value0) + { + appAssetLibraryImages?.Invoke(__value0); + } + else if (AppAssetLibraryVideos is { } __value1) + { + appAssetLibraryVideos?.Invoke(__value1); + } + else if (AppCustomProductPageLocalizations is { } __value2) + { + appCustomProductPageLocalizations?.Invoke(__value2); + } + else if (AppEventLocalizations is { } __value3) { - appClipAdvancedExperienceImages?.Invoke(__value0); + appEventLocalizations?.Invoke(__value3); } - else if (AppClipAdvancedExperienceLocalizations1 is { } __value1) + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value4) { - appClipAdvancedExperienceLocalizations1?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value4); } - else if (AppClipAdvancedExperienceLocalizations2 is { } __value2) + else if (AppStoreVersionLocalizations is { } __value5) { - appClipAdvancedExperienceLocalizations2?.Invoke(__value2); + appStoreVersionLocalizations?.Invoke(__value5); } } @@ -331,12 +571,18 @@ public override int GetHashCode() { var fields = new object?[] { - AppClipAdvancedExperienceImages, - typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), - AppClipAdvancedExperienceLocalizations1, - typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), - AppClipAdvancedExperienceLocalizations2, - typeof(global::AppStoreConnect.AppClip), + AppAssetLibraryImages, + typeof(global::AppStoreConnect.AppAssetLibraryImage), + AppAssetLibraryVideos, + typeof(global::AppStoreConnect.AppAssetLibraryVideo), + AppCustomProductPageLocalizations, + typeof(global::AppStoreConnect.AppCustomProductPageLocalization), + AppEventLocalizations, + typeof(global::AppStoreConnect.AppEventLocalization), + AppStoreVersionExperimentTreatmentLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), + AppStoreVersionLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionLocalization), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +599,12 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem3 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceImages, other.AppClipAdvancedExperienceImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceLocalizations1, other.AppClipAdvancedExperienceLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceLocalizations2, other.AppClipAdvancedExperienceLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImages, other.AppAssetLibraryImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideos, other.AppAssetLibraryVideos) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventLocalizations, other.AppEventLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem30.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem30.g.cs index ee439ee01..44b88255f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem30.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem30.g.cs @@ -12,44 +12,81 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPricePointV3? AppPricePoints { get; init; } + public global::AppStoreConnect.AppPriceV2? AppPrices1 { get; init; } #else - public global::AppStoreConnect.AppPricePointV3? AppPricePoints { get; } + public global::AppStoreConnect.AppPriceV2? AppPrices1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPricePoints))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPrices1))] #endif - public bool IsAppPricePoints => AppPricePoints != null; + public bool IsAppPrices1 => AppPrices1 != null; /// /// /// - public bool TryPickAppPricePoints( + public bool TryPickAppPrices1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppPricePointV3? value) + out global::AppStoreConnect.AppPriceV2? value) { - value = AppPricePoints; - return IsAppPricePoints; + value = AppPrices1; + return IsAppPrices1; } /// /// /// - public global::AppStoreConnect.AppPricePointV3 PickAppPricePoints() => AppPricePoints is { } value + public global::AppStoreConnect.AppPriceV2 PickAppPrices1() => AppPrices1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPricePoints' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPrices1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppPrices2 { get; init; } +#else + public global::AppStoreConnect.App? AppPrices2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPrices2))] +#endif + public bool IsAppPrices2 => AppPrices2 != null; + + /// + /// + /// + public bool TryPickAppPrices2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.App? value) + { + value = AppPrices2; + return IsAppPrices2; + } + + /// + /// + /// + public global::AppStoreConnect.App PickAppPrices2() => AppPrices2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPrices2' but the value was {ToString()}."); /// /// @@ -90,25 +127,48 @@ public bool TryPickTerritories( /// /// /// - public static implicit operator IncludedItem30(global::AppStoreConnect.AppPricePointV3 value) => new IncludedItem30((global::AppStoreConnect.AppPricePointV3?)value); + public static implicit operator IncludedItem30(global::AppStoreConnect.AppPriceV2 value) => new IncludedItem30((global::AppStoreConnect.AppPriceV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppPriceV2?(IncludedItem30 @this) => @this.AppPrices1; + + /// + /// + /// + public IncludedItem30(global::AppStoreConnect.AppPriceV2? value) + { + AppPrices1 = value; + } + + /// + /// + /// + public static IncludedItem30 FromAppPrices1(global::AppStoreConnect.AppPriceV2? value) => new IncludedItem30(value); /// /// /// - public static implicit operator global::AppStoreConnect.AppPricePointV3?(IncludedItem30 @this) => @this.AppPricePoints; + public static implicit operator IncludedItem30(global::AppStoreConnect.App value) => new IncludedItem30((global::AppStoreConnect.App?)value); /// /// /// - public IncludedItem30(global::AppStoreConnect.AppPricePointV3? value) + public static implicit operator global::AppStoreConnect.App?(IncludedItem30 @this) => @this.AppPrices2; + + /// + /// + /// + public IncludedItem30(global::AppStoreConnect.App? value) { - AppPricePoints = value; + AppPrices2 = value; } /// /// /// - public static IncludedItem30 FromAppPricePoints(global::AppStoreConnect.AppPricePointV3? value) => new IncludedItem30(value); + public static IncludedItem30 FromAppPrices2(global::AppStoreConnect.App? value) => new IncludedItem30(value); /// /// @@ -137,14 +197,16 @@ public IncludedItem30(global::AppStoreConnect.Territory? value) /// /// public IncludedItem30( - global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppPricePointV3? appPricePoints, + global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppPriceV2? appPrices1, + global::AppStoreConnect.App? appPrices2, global::AppStoreConnect.Territory? territories ) { Type = type; - AppPricePoints = appPricePoints; + AppPrices1 = appPrices1; + AppPrices2 = appPrices2; Territories = territories; } @@ -153,14 +215,16 @@ public IncludedItem30( /// public object? Object => Territories as object ?? - AppPricePoints as object + AppPrices2 as object ?? + AppPrices1 as object ; /// /// /// public override string? ToString() => - AppPricePoints?.ToString() ?? + AppPrices1?.ToString() ?? + AppPrices2?.ToString() ?? Territories?.ToString() ; @@ -169,14 +233,15 @@ AppPricePoints as object /// public bool Validate() { - return IsAppPricePoints && !IsTerritories || !IsAppPricePoints && IsTerritories; + return IsAppPrices1 && !IsAppPrices2 && !IsTerritories || !IsAppPrices1 && IsAppPrices2 && !IsTerritories || !IsAppPrices1 && !IsAppPrices2 && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? appPricePoints = null, + global::System.Func? appPrices1 = null, + global::System.Func? appPrices2 = null, global::System.Func? territories = null, bool validate = true) { @@ -185,13 +250,17 @@ public bool Validate() Validate(); } - if (AppPricePoints is { } __value0 && appPricePoints != null) + if (AppPrices1 is { } __value0 && appPrices1 != null) { - return appPricePoints(__value0); + return appPrices1(__value0); } - else if (Territories is { } __value1 && territories != null) + else if (AppPrices2 is { } __value1 && appPrices2 != null) { - return territories(__value1); + return appPrices2(__value1); + } + else if (Territories is { } __value2 && territories != null) + { + return territories(__value2); } return default(TResult); @@ -201,7 +270,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appPricePoints = null, + global::System.Action? appPrices1 = null, + + global::System.Action? appPrices2 = null, global::System.Action? territories = null, bool validate = true) @@ -211,13 +282,17 @@ public void Match( Validate(); } - if (AppPricePoints is { } __value0) + if (AppPrices1 is { } __value0) + { + appPrices1?.Invoke(__value0); + } + else if (AppPrices2 is { } __value1) { - appPricePoints?.Invoke(__value0); + appPrices2?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (Territories is { } __value2) { - territories?.Invoke(__value1); + territories?.Invoke(__value2); } } @@ -225,7 +300,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appPricePoints = null, + global::System.Action? appPrices1 = null, + global::System.Action? appPrices2 = null, global::System.Action? territories = null, bool validate = true) { @@ -234,13 +310,17 @@ public void Switch( Validate(); } - if (AppPricePoints is { } __value0) + if (AppPrices1 is { } __value0) + { + appPrices1?.Invoke(__value0); + } + else if (AppPrices2 is { } __value1) { - appPricePoints?.Invoke(__value0); + appPrices2?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (Territories is { } __value2) { - territories?.Invoke(__value1); + territories?.Invoke(__value2); } } @@ -251,8 +331,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppPricePoints, - typeof(global::AppStoreConnect.AppPricePointV3), + AppPrices1, + typeof(global::AppStoreConnect.AppPriceV2), + AppPrices2, + typeof(global::AppStoreConnect.App), Territories, typeof(global::AppStoreConnect.Territory), }; @@ -271,7 +353,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem30 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPricePoints, other.AppPricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPrices1, other.AppPrices1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPrices2, other.AppPrices2) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem31.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem31.g.cs deleted file mode 100644 index 350e9d180..000000000 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem31.g.cs +++ /dev/null @@ -1,469 +0,0 @@ -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace AppStoreConnect -{ - /// - /// - /// - public readonly partial struct IncludedItem31 : global::System.IEquatable - { - /// - /// - /// - public global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType? Type { get; } - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } -#else - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] -#endif - public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; - - /// - /// - /// - public bool TryPickAppCustomProductPageLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppCustomProductPageLocalization? value) - { - value = AppCustomProductPageLocalizations; - return IsAppCustomProductPageLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppScreenshot? AppScreenshots { get; init; } -#else - public global::AppStoreConnect.AppScreenshot? AppScreenshots { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshots))] -#endif - public bool IsAppScreenshots => AppScreenshots != null; - - /// - /// - /// - public bool TryPickAppScreenshots( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppScreenshot? value) - { - value = AppScreenshots; - return IsAppScreenshots; - } - - /// - /// - /// - public global::AppStoreConnect.AppScreenshot PickAppScreenshots() => AppScreenshots is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshots' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] -#endif - public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; - - /// - /// - /// - public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) - { - value = AppStoreVersionExperimentTreatmentLocalizations; - return IsAppStoreVersionExperimentTreatmentLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] -#endif - public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; - - /// - /// - /// - public bool TryPickAppStoreVersionLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionLocalization? value) - { - value = AppStoreVersionLocalizations; - return IsAppStoreVersionLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem31(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem31((global::AppStoreConnect.AppCustomProductPageLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem31 @this) => @this.AppCustomProductPageLocalizations; - - /// - /// - /// - public IncludedItem31(global::AppStoreConnect.AppCustomProductPageLocalization? value) - { - AppCustomProductPageLocalizations = value; - } - - /// - /// - /// - public static IncludedItem31 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem31(value); - - /// - /// - /// - public static implicit operator IncludedItem31(global::AppStoreConnect.AppScreenshot value) => new IncludedItem31((global::AppStoreConnect.AppScreenshot?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppScreenshot?(IncludedItem31 @this) => @this.AppScreenshots; - - /// - /// - /// - public IncludedItem31(global::AppStoreConnect.AppScreenshot? value) - { - AppScreenshots = value; - } - - /// - /// - /// - public static IncludedItem31 FromAppScreenshots(global::AppStoreConnect.AppScreenshot? value) => new IncludedItem31(value); - - /// - /// - /// - public static implicit operator IncludedItem31(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem31((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem31 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; - - /// - /// - /// - public IncludedItem31(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) - { - AppStoreVersionExperimentTreatmentLocalizations = value; - } - - /// - /// - /// - public static IncludedItem31 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem31(value); - - /// - /// - /// - public static implicit operator IncludedItem31(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem31((global::AppStoreConnect.AppStoreVersionLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem31 @this) => @this.AppStoreVersionLocalizations; - - /// - /// - /// - public IncludedItem31(global::AppStoreConnect.AppStoreVersionLocalization? value) - { - AppStoreVersionLocalizations = value; - } - - /// - /// - /// - public static IncludedItem31 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem31(value); - - /// - /// - /// - public IncludedItem31( - global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, - global::AppStoreConnect.AppScreenshot? appScreenshots, - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations - ) - { - Type = type; - - AppCustomProductPageLocalizations = appCustomProductPageLocalizations; - AppScreenshots = appScreenshots; - AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; - AppStoreVersionLocalizations = appStoreVersionLocalizations; - } - - /// - /// - /// - public object? Object => - AppStoreVersionLocalizations as object ?? - AppStoreVersionExperimentTreatmentLocalizations as object ?? - AppScreenshots as object ?? - AppCustomProductPageLocalizations as object - ; - - /// - /// - /// - public override string? ToString() => - AppCustomProductPageLocalizations?.ToString() ?? - AppScreenshots?.ToString() ?? - AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? - AppStoreVersionLocalizations?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsAppCustomProductPageLocalizations && !IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppScreenshots && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? appCustomProductPageLocalizations = null, - global::System.Func? appScreenshots = null, - global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, - global::System.Func? appStoreVersionLocalizations = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (AppCustomProductPageLocalizations is { } __value0 && appCustomProductPageLocalizations != null) - { - return appCustomProductPageLocalizations(__value0); - } - else if (AppScreenshots is { } __value1 && appScreenshots != null) - { - return appScreenshots(__value1); - } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2 && appStoreVersionExperimentTreatmentLocalizations != null) - { - return appStoreVersionExperimentTreatmentLocalizations(__value2); - } - else if (AppStoreVersionLocalizations is { } __value3 && appStoreVersionLocalizations != null) - { - return appStoreVersionLocalizations(__value3); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? appCustomProductPageLocalizations = null, - - global::System.Action? appScreenshots = null, - - global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, - - global::System.Action? appStoreVersionLocalizations = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (AppCustomProductPageLocalizations is { } __value0) - { - appCustomProductPageLocalizations?.Invoke(__value0); - } - else if (AppScreenshots is { } __value1) - { - appScreenshots?.Invoke(__value1); - } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) - { - appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); - } - else if (AppStoreVersionLocalizations is { } __value3) - { - appStoreVersionLocalizations?.Invoke(__value3); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? appCustomProductPageLocalizations = null, - global::System.Action? appScreenshots = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, - global::System.Action? appStoreVersionLocalizations = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (AppCustomProductPageLocalizations is { } __value0) - { - appCustomProductPageLocalizations?.Invoke(__value0); - } - else if (AppScreenshots is { } __value1) - { - appScreenshots?.Invoke(__value1); - } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) - { - appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); - } - else if (AppStoreVersionLocalizations is { } __value3) - { - appStoreVersionLocalizations?.Invoke(__value3); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - AppCustomProductPageLocalizations, - typeof(global::AppStoreConnect.AppCustomProductPageLocalization), - AppScreenshots, - typeof(global::AppStoreConnect.AppScreenshot), - AppStoreVersionExperimentTreatmentLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), - AppStoreVersionLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionLocalization), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(IncludedItem31 other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshots, other.AppScreenshots) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) - ; - } - - /// - /// - /// - public static bool operator ==(IncludedItem31 obj1, IncludedItem31 obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(IncludedItem31 obj1, IncludedItem31 obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is IncludedItem31 o && Equals(o); - } - } -} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem32.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem32.g.cs index fef37f2f6..8c0db7369 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem32.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem32.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } + public global::AppStoreConnect.AppPricePointV3? AppPricePoints { get; init; } #else - public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } + public global::AppStoreConnect.AppPricePointV3? AppPricePoints { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPricePoints))] #endif - public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; + public bool IsAppPricePoints => AppPricePoints != null; /// /// /// - public bool TryPickAppCustomProductPageLocalizations( + public bool TryPickAppPricePoints( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPageLocalization? value) + out global::AppStoreConnect.AppPricePointV3? value) { - value = AppCustomProductPageLocalizations; - return IsAppCustomProductPageLocalizations; + value = AppPricePoints; + return IsAppPricePoints; } /// /// /// - public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value + public global::AppStoreConnect.AppPricePointV3 PickAppPricePoints() => AppPricePoints is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPricePoints' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppScreenshot? AppScreenshots { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.AppScreenshot? AppScreenshots { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshots))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsAppScreenshots => AppScreenshots != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickAppScreenshots( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppScreenshot? value) + out global::AppStoreConnect.Territory? value) { - value = AppScreenshots; - return IsAppScreenshots; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.AppScreenshot PickAppScreenshots() => AppScreenshots is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshots' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] -#endif - public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; - - /// - /// - /// - public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) - { - value = AppStoreVersionExperimentTreatmentLocalizations; - return IsAppStoreVersionExperimentTreatmentLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] -#endif - public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; - - /// - /// - /// - public bool TryPickAppStoreVersionLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionLocalization? value) - { - value = AppStoreVersionLocalizations; - return IsAppStoreVersionLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem32(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem32((global::AppStoreConnect.AppCustomProductPageLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem32 @this) => @this.AppCustomProductPageLocalizations; - - /// - /// - /// - public IncludedItem32(global::AppStoreConnect.AppCustomProductPageLocalization? value) - { - AppCustomProductPageLocalizations = value; - } - - /// - /// - /// - public static IncludedItem32 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem32(value); - - /// - /// - /// - public static implicit operator IncludedItem32(global::AppStoreConnect.AppScreenshot value) => new IncludedItem32((global::AppStoreConnect.AppScreenshot?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppScreenshot?(IncludedItem32 @this) => @this.AppScreenshots; - + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); /// /// /// - public IncludedItem32(global::AppStoreConnect.AppScreenshot? value) - { - AppScreenshots = value; - } + public static implicit operator IncludedItem32(global::AppStoreConnect.AppPricePointV3 value) => new IncludedItem32((global::AppStoreConnect.AppPricePointV3?)value); /// /// /// - public static IncludedItem32 FromAppScreenshots(global::AppStoreConnect.AppScreenshot? value) => new IncludedItem32(value); + public static implicit operator global::AppStoreConnect.AppPricePointV3?(IncludedItem32 @this) => @this.AppPricePoints; /// /// /// - public static implicit operator IncludedItem32(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem32((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem32 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; - - /// - /// - /// - public IncludedItem32(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + public IncludedItem32(global::AppStoreConnect.AppPricePointV3? value) { - AppStoreVersionExperimentTreatmentLocalizations = value; + AppPricePoints = value; } /// /// /// - public static IncludedItem32 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem32(value); + public static IncludedItem32 FromAppPricePoints(global::AppStoreConnect.AppPricePointV3? value) => new IncludedItem32(value); /// /// /// - public static implicit operator IncludedItem32(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem32((global::AppStoreConnect.AppStoreVersionLocalization?)value); + public static implicit operator IncludedItem32(global::AppStoreConnect.Territory value) => new IncludedItem32((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem32 @this) => @this.AppStoreVersionLocalizations; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem32 @this) => @this.Territories; /// /// /// - public IncludedItem32(global::AppStoreConnect.AppStoreVersionLocalization? value) + public IncludedItem32(global::AppStoreConnect.Territory? value) { - AppStoreVersionLocalizations = value; + Territories = value; } /// /// /// - public static IncludedItem32 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem32(value); + public static IncludedItem32 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem32(value); /// /// /// public IncludedItem32( - global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, - global::AppStoreConnect.AppScreenshot? appScreenshots, - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations + global::AppStoreConnect.AppPricesV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppPricePointV3? appPricePoints, + global::AppStoreConnect.Territory? territories ) { Type = type; - AppCustomProductPageLocalizations = appCustomProductPageLocalizations; - AppScreenshots = appScreenshots; - AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; - AppStoreVersionLocalizations = appStoreVersionLocalizations; + AppPricePoints = appPricePoints; + Territories = territories; } /// /// /// public object? Object => - AppStoreVersionLocalizations as object ?? - AppStoreVersionExperimentTreatmentLocalizations as object ?? - AppScreenshots as object ?? - AppCustomProductPageLocalizations as object + Territories as object ?? + AppPricePoints as object ; /// /// /// public override string? ToString() => - AppCustomProductPageLocalizations?.ToString() ?? - AppScreenshots?.ToString() ?? - AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? - AppStoreVersionLocalizations?.ToString() + AppPricePoints?.ToString() ?? + Territories?.ToString() ; /// @@ -297,17 +169,15 @@ AppCustomProductPageLocalizations as object /// public bool Validate() { - return IsAppCustomProductPageLocalizations && !IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppScreenshots && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; + return IsAppPricePoints && !IsTerritories || !IsAppPricePoints && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? appCustomProductPageLocalizations = null, - global::System.Func? appScreenshots = null, - global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, - global::System.Func? appStoreVersionLocalizations = null, + global::System.Func? appPricePoints = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (AppCustomProductPageLocalizations is { } __value0 && appCustomProductPageLocalizations != null) - { - return appCustomProductPageLocalizations(__value0); - } - else if (AppScreenshots is { } __value1 && appScreenshots != null) - { - return appScreenshots(__value1); - } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2 && appStoreVersionExperimentTreatmentLocalizations != null) + if (AppPricePoints is { } __value0 && appPricePoints != null) { - return appStoreVersionExperimentTreatmentLocalizations(__value2); + return appPricePoints(__value0); } - else if (AppStoreVersionLocalizations is { } __value3 && appStoreVersionLocalizations != null) + else if (Territories is { } __value1 && territories != null) { - return appStoreVersionLocalizations(__value3); + return territories(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appCustomProductPageLocalizations = null, - - global::System.Action? appScreenshots = null, + global::System.Action? appPricePoints = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, - - global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (AppCustomProductPageLocalizations is { } __value0) - { - appCustomProductPageLocalizations?.Invoke(__value0); - } - else if (AppScreenshots is { } __value1) + if (AppPricePoints is { } __value0) { - appScreenshots?.Invoke(__value1); + appPricePoints?.Invoke(__value0); } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) + else if (Territories is { } __value1) { - appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); - } - else if (AppStoreVersionLocalizations is { } __value3) - { - appStoreVersionLocalizations?.Invoke(__value3); + territories?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appCustomProductPageLocalizations = null, - global::System.Action? appScreenshots = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, - global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? appPricePoints = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (AppCustomProductPageLocalizations is { } __value0) - { - appCustomProductPageLocalizations?.Invoke(__value0); - } - else if (AppScreenshots is { } __value1) - { - appScreenshots?.Invoke(__value1); - } - else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) + if (AppPricePoints is { } __value0) { - appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); + appPricePoints?.Invoke(__value0); } - else if (AppStoreVersionLocalizations is { } __value3) + else if (Territories is { } __value1) { - appStoreVersionLocalizations?.Invoke(__value3); + territories?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppCustomProductPageLocalizations, - typeof(global::AppStoreConnect.AppCustomProductPageLocalization), - AppScreenshots, - typeof(global::AppStoreConnect.AppScreenshot), - AppStoreVersionExperimentTreatmentLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), - AppStoreVersionLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionLocalization), + AppPricePoints, + typeof(global::AppStoreConnect.AppPricePointV3), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem32 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshots, other.AppScreenshots) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPricePoints, other.AppPricePoints) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem33.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem33.g.cs index 7dd8bf548..a531398c7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem33.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem33.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreReviewAttachment? AppStoreReviewAttachments { get; init; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } #else - public global::AppStoreConnect.AppStoreReviewAttachment? AppStoreReviewAttachments { get; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreReviewAttachments))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] #endif - public bool IsAppStoreReviewAttachments => AppStoreReviewAttachments != null; + public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; /// /// /// - public bool TryPickAppStoreReviewAttachments( + public bool TryPickAppCustomProductPageLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreReviewAttachment? value) + out global::AppStoreConnect.AppCustomProductPageLocalization? value) { - value = AppStoreReviewAttachments; - return IsAppStoreReviewAttachments; + value = AppCustomProductPageLocalizations; + return IsAppCustomProductPageLocalizations; } /// /// /// - public global::AppStoreConnect.AppStoreReviewAttachment PickAppStoreReviewAttachments() => AppStoreReviewAttachments is { } value + public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreReviewAttachments' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } + public global::AppStoreConnect.AppScreenshot? AppScreenshots { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } + public global::AppStoreConnect.AppScreenshot? AppScreenshots { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshots))] #endif - public bool IsAppStoreVersions => AppStoreVersions != null; + public bool IsAppScreenshots => AppScreenshots != null; /// /// /// - public bool TryPickAppStoreVersions( + public bool TryPickAppScreenshots( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.AppScreenshot? value) { - value = AppStoreVersions; - return IsAppStoreVersions; + value = AppScreenshots; + return IsAppScreenshots; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + public global::AppStoreConnect.AppScreenshot PickAppScreenshots() => AppScreenshots is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshots' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] +#endif + public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + { + value = AppStoreVersionExperimentTreatmentLocalizations; + return IsAppStoreVersionExperimentTreatmentLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] +#endif + public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionLocalization? value) + { + value = AppStoreVersionLocalizations; + return IsAppStoreVersionLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem33(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem33((global::AppStoreConnect.AppCustomProductPageLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem33 @this) => @this.AppCustomProductPageLocalizations; + + /// + /// + /// + public IncludedItem33(global::AppStoreConnect.AppCustomProductPageLocalization? value) + { + AppCustomProductPageLocalizations = value; + } + + /// + /// + /// + public static IncludedItem33 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem33(value); + + /// + /// + /// + public static implicit operator IncludedItem33(global::AppStoreConnect.AppScreenshot value) => new IncludedItem33((global::AppStoreConnect.AppScreenshot?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppScreenshot?(IncludedItem33 @this) => @this.AppScreenshots; + /// /// /// - public static implicit operator IncludedItem33(global::AppStoreConnect.AppStoreReviewAttachment value) => new IncludedItem33((global::AppStoreConnect.AppStoreReviewAttachment?)value); + public IncludedItem33(global::AppStoreConnect.AppScreenshot? value) + { + AppScreenshots = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreReviewAttachment?(IncludedItem33 @this) => @this.AppStoreReviewAttachments; + public static IncludedItem33 FromAppScreenshots(global::AppStoreConnect.AppScreenshot? value) => new IncludedItem33(value); /// /// /// - public IncludedItem33(global::AppStoreConnect.AppStoreReviewAttachment? value) + public static implicit operator IncludedItem33(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem33((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem33 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; + + /// + /// + /// + public IncludedItem33(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - AppStoreReviewAttachments = value; + AppStoreVersionExperimentTreatmentLocalizations = value; } /// /// /// - public static IncludedItem33 FromAppStoreReviewAttachments(global::AppStoreConnect.AppStoreReviewAttachment? value) => new IncludedItem33(value); + public static IncludedItem33 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem33(value); /// /// /// - public static implicit operator IncludedItem33(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem33((global::AppStoreConnect.AppStoreVersion?)value); + public static implicit operator IncludedItem33(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem33((global::AppStoreConnect.AppStoreVersionLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem33 @this) => @this.AppStoreVersions; + public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem33 @this) => @this.AppStoreVersionLocalizations; /// /// /// - public IncludedItem33(global::AppStoreConnect.AppStoreVersion? value) + public IncludedItem33(global::AppStoreConnect.AppStoreVersionLocalization? value) { - AppStoreVersions = value; + AppStoreVersionLocalizations = value; } /// /// /// - public static IncludedItem33 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem33(value); + public static IncludedItem33 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem33(value); /// /// /// public IncludedItem33( - global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppStoreReviewAttachment? appStoreReviewAttachments, - global::AppStoreConnect.AppStoreVersion? appStoreVersions + global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, + global::AppStoreConnect.AppScreenshot? appScreenshots, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations ) { Type = type; - AppStoreReviewAttachments = appStoreReviewAttachments; - AppStoreVersions = appStoreVersions; + AppCustomProductPageLocalizations = appCustomProductPageLocalizations; + AppScreenshots = appScreenshots; + AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; + AppStoreVersionLocalizations = appStoreVersionLocalizations; } /// /// /// public object? Object => - AppStoreVersions as object ?? - AppStoreReviewAttachments as object + AppStoreVersionLocalizations as object ?? + AppStoreVersionExperimentTreatmentLocalizations as object ?? + AppScreenshots as object ?? + AppCustomProductPageLocalizations as object ; /// /// /// public override string? ToString() => - AppStoreReviewAttachments?.ToString() ?? - AppStoreVersions?.ToString() + AppCustomProductPageLocalizations?.ToString() ?? + AppScreenshots?.ToString() ?? + AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? + AppStoreVersionLocalizations?.ToString() ; /// @@ -169,15 +297,17 @@ AppStoreReviewAttachments as object /// public bool Validate() { - return IsAppStoreReviewAttachments && !IsAppStoreVersions || !IsAppStoreReviewAttachments && IsAppStoreVersions; + return IsAppCustomProductPageLocalizations && !IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppScreenshots && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; } /// /// /// public TResult? Match( - global::System.Func? appStoreReviewAttachments = null, - global::System.Func? appStoreVersions = null, + global::System.Func? appCustomProductPageLocalizations = null, + global::System.Func? appScreenshots = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Func? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (AppStoreReviewAttachments is { } __value0 && appStoreReviewAttachments != null) + if (AppCustomProductPageLocalizations is { } __value0 && appCustomProductPageLocalizations != null) + { + return appCustomProductPageLocalizations(__value0); + } + else if (AppScreenshots is { } __value1 && appScreenshots != null) + { + return appScreenshots(__value1); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2 && appStoreVersionExperimentTreatmentLocalizations != null) { - return appStoreReviewAttachments(__value0); + return appStoreVersionExperimentTreatmentLocalizations(__value2); } - else if (AppStoreVersions is { } __value1 && appStoreVersions != null) + else if (AppStoreVersionLocalizations is { } __value3 && appStoreVersionLocalizations != null) { - return appStoreVersions(__value1); + return appStoreVersionLocalizations(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appStoreReviewAttachments = null, + global::System.Action? appCustomProductPageLocalizations = null, + + global::System.Action? appScreenshots = null, - global::System.Action? appStoreVersions = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (AppStoreReviewAttachments is { } __value0) + if (AppCustomProductPageLocalizations is { } __value0) + { + appCustomProductPageLocalizations?.Invoke(__value0); + } + else if (AppScreenshots is { } __value1) { - appStoreReviewAttachments?.Invoke(__value0); + appScreenshots?.Invoke(__value1); } - else if (AppStoreVersions is { } __value1) + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) { - appStoreVersions?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); + } + else if (AppStoreVersionLocalizations is { } __value3) + { + appStoreVersionLocalizations?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appStoreReviewAttachments = null, - global::System.Action? appStoreVersions = null, + global::System.Action? appCustomProductPageLocalizations = null, + global::System.Action? appScreenshots = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (AppStoreReviewAttachments is { } __value0) + if (AppCustomProductPageLocalizations is { } __value0) + { + appCustomProductPageLocalizations?.Invoke(__value0); + } + else if (AppScreenshots is { } __value1) + { + appScreenshots?.Invoke(__value1); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) { - appStoreReviewAttachments?.Invoke(__value0); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); } - else if (AppStoreVersions is { } __value1) + else if (AppStoreVersionLocalizations is { } __value3) { - appStoreVersions?.Invoke(__value1); + appStoreVersionLocalizations?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppStoreReviewAttachments, - typeof(global::AppStoreConnect.AppStoreReviewAttachment), - AppStoreVersions, - typeof(global::AppStoreConnect.AppStoreVersion), + AppCustomProductPageLocalizations, + typeof(global::AppStoreConnect.AppCustomProductPageLocalization), + AppScreenshots, + typeof(global::AppStoreConnect.AppScreenshot), + AppStoreVersionExperimentTreatmentLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), + AppStoreVersionLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionLocalization), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem33 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreReviewAttachments, other.AppStoreReviewAttachments) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshots, other.AppScreenshots) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem34.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem34.g.cs index 37cf7819e..0eeb396c9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem34.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem34.g.cs @@ -12,220 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } #else - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] #endif - public bool IsAppPreviewSets => AppPreviewSets != null; + public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; /// /// /// - public bool TryPickAppPreviewSets( + public bool TryPickAppCustomProductPageLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppPreviewSet? value) + out global::AppStoreConnect.AppCustomProductPageLocalization? value) { - value = AppPreviewSets; - return IsAppPreviewSets; + value = AppCustomProductPageLocalizations; + return IsAppCustomProductPageLocalizations; } /// /// /// - public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value + public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } + public global::AppStoreConnect.AppScreenshot? AppScreenshots { get; init; } #else - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } + public global::AppStoreConnect.AppScreenshot? AppScreenshots { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshots))] #endif - public bool IsAppScreenshotSets => AppScreenshotSets != null; + public bool IsAppScreenshots => AppScreenshots != null; /// /// /// - public bool TryPickAppScreenshotSets( + public bool TryPickAppScreenshots( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppScreenshotSet? value) + out global::AppStoreConnect.AppScreenshot? value) { - value = AppScreenshotSets; - return IsAppScreenshotSets; + value = AppScreenshots; + return IsAppScreenshots; } /// /// /// - public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value + public global::AppStoreConnect.AppScreenshot PickAppScreenshots() => AppScreenshots is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshots' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments { get; init; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments { get; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] #endif - public bool IsAppStoreVersionExperimentTreatments => AppStoreVersionExperimentTreatments != null; + public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatments( + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) + out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - value = AppStoreVersionExperimentTreatments; - return IsAppStoreVersionExperimentTreatments; + value = AppStoreVersionExperimentTreatmentLocalizations; + return IsAppStoreVersionExperimentTreatmentLocalizations; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatment PickAppStoreVersionExperimentTreatments() => AppStoreVersionExperimentTreatments is { } value + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] +#endif + public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionLocalization? value) + { + value = AppStoreVersionLocalizations; + return IsAppStoreVersionLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem34(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem34((global::AppStoreConnect.AppCustomProductPageLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem34 @this) => @this.AppCustomProductPageLocalizations; + + /// + /// + /// + public IncludedItem34(global::AppStoreConnect.AppCustomProductPageLocalization? value) + { + AppCustomProductPageLocalizations = value; + } + /// /// /// - public static implicit operator IncludedItem34(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem34((global::AppStoreConnect.AppPreviewSet?)value); + public static IncludedItem34 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem34(value); /// /// /// - public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem34 @this) => @this.AppPreviewSets; + public static implicit operator IncludedItem34(global::AppStoreConnect.AppScreenshot value) => new IncludedItem34((global::AppStoreConnect.AppScreenshot?)value); /// /// /// - public IncludedItem34(global::AppStoreConnect.AppPreviewSet? value) + public static implicit operator global::AppStoreConnect.AppScreenshot?(IncludedItem34 @this) => @this.AppScreenshots; + + /// + /// + /// + public IncludedItem34(global::AppStoreConnect.AppScreenshot? value) { - AppPreviewSets = value; + AppScreenshots = value; } /// /// /// - public static IncludedItem34 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem34(value); + public static IncludedItem34 FromAppScreenshots(global::AppStoreConnect.AppScreenshot? value) => new IncludedItem34(value); /// /// /// - public static implicit operator IncludedItem34(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem34((global::AppStoreConnect.AppScreenshotSet?)value); + public static implicit operator IncludedItem34(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem34((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem34 @this) => @this.AppScreenshotSets; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem34 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; /// /// /// - public IncludedItem34(global::AppStoreConnect.AppScreenshotSet? value) + public IncludedItem34(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - AppScreenshotSets = value; + AppStoreVersionExperimentTreatmentLocalizations = value; } /// /// /// - public static IncludedItem34 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem34(value); + public static IncludedItem34 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem34(value); /// /// /// - public static implicit operator IncludedItem34(global::AppStoreConnect.AppStoreVersionExperimentTreatment value) => new IncludedItem34((global::AppStoreConnect.AppStoreVersionExperimentTreatment?)value); + public static implicit operator IncludedItem34(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem34((global::AppStoreConnect.AppStoreVersionLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatment?(IncludedItem34 @this) => @this.AppStoreVersionExperimentTreatments; + public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem34 @this) => @this.AppStoreVersionLocalizations; /// /// /// - public IncludedItem34(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) + public IncludedItem34(global::AppStoreConnect.AppStoreVersionLocalization? value) { - AppStoreVersionExperimentTreatments = value; + AppStoreVersionLocalizations = value; } /// /// /// - public static IncludedItem34 FromAppStoreVersionExperimentTreatments(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) => new IncludedItem34(value); + public static IncludedItem34 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem34(value); /// /// /// public IncludedItem34( - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppPreviewSet? appPreviewSets, - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets, - global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments + global::AppStoreConnect.AppScreenshotSetResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, + global::AppStoreConnect.AppScreenshot? appScreenshots, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations ) { Type = type; - AppPreviewSets = appPreviewSets; - AppScreenshotSets = appScreenshotSets; - AppStoreVersionExperimentTreatments = appStoreVersionExperimentTreatments; + AppCustomProductPageLocalizations = appCustomProductPageLocalizations; + AppScreenshots = appScreenshots; + AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; + AppStoreVersionLocalizations = appStoreVersionLocalizations; } /// /// /// public object? Object => - AppStoreVersionExperimentTreatments as object ?? - AppScreenshotSets as object ?? - AppPreviewSets as object + AppStoreVersionLocalizations as object ?? + AppStoreVersionExperimentTreatmentLocalizations as object ?? + AppScreenshots as object ?? + AppCustomProductPageLocalizations as object ; /// /// /// public override string? ToString() => - AppPreviewSets?.ToString() ?? - AppScreenshotSets?.ToString() ?? - AppStoreVersionExperimentTreatments?.ToString() + AppCustomProductPageLocalizations?.ToString() ?? + AppScreenshots?.ToString() ?? + AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? + AppStoreVersionLocalizations?.ToString() ; /// @@ -233,16 +297,17 @@ AppPreviewSets as object /// public bool Validate() { - return IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppPreviewSets && IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppPreviewSets && !IsAppScreenshotSets && IsAppStoreVersionExperimentTreatments; + return IsAppCustomProductPageLocalizations && !IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppScreenshots && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppCustomProductPageLocalizations && !IsAppScreenshots && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; } /// /// /// public TResult? Match( - global::System.Func? appPreviewSets = null, - global::System.Func? appScreenshotSets = null, - global::System.Func? appStoreVersionExperimentTreatments = null, + global::System.Func? appCustomProductPageLocalizations = null, + global::System.Func? appScreenshots = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Func? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -250,17 +315,21 @@ public bool Validate() Validate(); } - if (AppPreviewSets is { } __value0 && appPreviewSets != null) + if (AppCustomProductPageLocalizations is { } __value0 && appCustomProductPageLocalizations != null) { - return appPreviewSets(__value0); + return appCustomProductPageLocalizations(__value0); } - else if (AppScreenshotSets is { } __value1 && appScreenshotSets != null) + else if (AppScreenshots is { } __value1 && appScreenshots != null) { - return appScreenshotSets(__value1); + return appScreenshots(__value1); } - else if (AppStoreVersionExperimentTreatments is { } __value2 && appStoreVersionExperimentTreatments != null) + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2 && appStoreVersionExperimentTreatmentLocalizations != null) { - return appStoreVersionExperimentTreatments(__value2); + return appStoreVersionExperimentTreatmentLocalizations(__value2); + } + else if (AppStoreVersionLocalizations is { } __value3 && appStoreVersionLocalizations != null) + { + return appStoreVersionLocalizations(__value3); } return default(TResult); @@ -270,11 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appPreviewSets = null, + global::System.Action? appCustomProductPageLocalizations = null, + + global::System.Action? appScreenshots = null, - global::System.Action? appScreenshotSets = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, - global::System.Action? appStoreVersionExperimentTreatments = null, + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -282,17 +353,21 @@ public void Match( Validate(); } - if (AppPreviewSets is { } __value0) + if (AppCustomProductPageLocalizations is { } __value0) + { + appCustomProductPageLocalizations?.Invoke(__value0); + } + else if (AppScreenshots is { } __value1) { - appPreviewSets?.Invoke(__value0); + appScreenshots?.Invoke(__value1); } - else if (AppScreenshotSets is { } __value1) + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) { - appScreenshotSets?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); } - else if (AppStoreVersionExperimentTreatments is { } __value2) + else if (AppStoreVersionLocalizations is { } __value3) { - appStoreVersionExperimentTreatments?.Invoke(__value2); + appStoreVersionLocalizations?.Invoke(__value3); } } @@ -300,9 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appPreviewSets = null, - global::System.Action? appScreenshotSets = null, - global::System.Action? appStoreVersionExperimentTreatments = null, + global::System.Action? appCustomProductPageLocalizations = null, + global::System.Action? appScreenshots = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -310,17 +386,21 @@ public void Switch( Validate(); } - if (AppPreviewSets is { } __value0) + if (AppCustomProductPageLocalizations is { } __value0) + { + appCustomProductPageLocalizations?.Invoke(__value0); + } + else if (AppScreenshots is { } __value1) { - appPreviewSets?.Invoke(__value0); + appScreenshots?.Invoke(__value1); } - else if (AppScreenshotSets is { } __value1) + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value2) { - appScreenshotSets?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value2); } - else if (AppStoreVersionExperimentTreatments is { } __value2) + else if (AppStoreVersionLocalizations is { } __value3) { - appStoreVersionExperimentTreatments?.Invoke(__value2); + appStoreVersionLocalizations?.Invoke(__value3); } } @@ -331,12 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppPreviewSets, - typeof(global::AppStoreConnect.AppPreviewSet), - AppScreenshotSets, - typeof(global::AppStoreConnect.AppScreenshotSet), - AppStoreVersionExperimentTreatments, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), + AppCustomProductPageLocalizations, + typeof(global::AppStoreConnect.AppCustomProductPageLocalization), + AppScreenshots, + typeof(global::AppStoreConnect.AppScreenshot), + AppStoreVersionExperimentTreatmentLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), + AppStoreVersionLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionLocalization), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem34 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments, other.AppStoreVersionExperimentTreatments) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshots, other.AppScreenshots) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem35.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem35.g.cs index 51bf5897a..742da2445 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem35.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem35.g.cs @@ -12,220 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } + public global::AppStoreConnect.AppStoreReviewAttachment? AppStoreReviewAttachments { get; init; } #else - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } + public global::AppStoreConnect.AppStoreReviewAttachment? AppStoreReviewAttachments { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreReviewAttachments))] #endif - public bool IsAppPreviewSets => AppPreviewSets != null; + public bool IsAppStoreReviewAttachments => AppStoreReviewAttachments != null; /// /// /// - public bool TryPickAppPreviewSets( + public bool TryPickAppStoreReviewAttachments( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppPreviewSet? value) + out global::AppStoreConnect.AppStoreReviewAttachment? value) { - value = AppPreviewSets; - return IsAppPreviewSets; + value = AppStoreReviewAttachments; + return IsAppStoreReviewAttachments; } /// /// /// - public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value + public global::AppStoreConnect.AppStoreReviewAttachment PickAppStoreReviewAttachments() => AppStoreReviewAttachments is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreReviewAttachments' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } #else - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] #endif - public bool IsAppScreenshotSets => AppScreenshotSets != null; + public bool IsAppStoreVersions => AppStoreVersions != null; /// /// /// - public bool TryPickAppScreenshotSets( + public bool TryPickAppStoreVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppScreenshotSet? value) + out global::AppStoreConnect.AppStoreVersion? value) { - value = AppScreenshotSets; - return IsAppScreenshotSets; + value = AppStoreVersions; + return IsAppStoreVersions; } /// /// /// - public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments))] -#endif - public bool IsAppStoreVersionExperimentTreatments => AppStoreVersionExperimentTreatments != null; - - /// - /// - /// - public bool TryPickAppStoreVersionExperimentTreatments( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) - { - value = AppStoreVersionExperimentTreatments; - return IsAppStoreVersionExperimentTreatments; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatment PickAppStoreVersionExperimentTreatments() => AppStoreVersionExperimentTreatments is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem35(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem35((global::AppStoreConnect.AppPreviewSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem35 @this) => @this.AppPreviewSets; - - /// - /// - /// - public IncludedItem35(global::AppStoreConnect.AppPreviewSet? value) - { - AppPreviewSets = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); /// /// /// - public static IncludedItem35 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem35(value); + public static implicit operator IncludedItem35(global::AppStoreConnect.AppStoreReviewAttachment value) => new IncludedItem35((global::AppStoreConnect.AppStoreReviewAttachment?)value); /// /// /// - public static implicit operator IncludedItem35(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem35((global::AppStoreConnect.AppScreenshotSet?)value); + public static implicit operator global::AppStoreConnect.AppStoreReviewAttachment?(IncludedItem35 @this) => @this.AppStoreReviewAttachments; /// /// /// - public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem35 @this) => @this.AppScreenshotSets; - - /// - /// - /// - public IncludedItem35(global::AppStoreConnect.AppScreenshotSet? value) + public IncludedItem35(global::AppStoreConnect.AppStoreReviewAttachment? value) { - AppScreenshotSets = value; + AppStoreReviewAttachments = value; } /// /// /// - public static IncludedItem35 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem35(value); + public static IncludedItem35 FromAppStoreReviewAttachments(global::AppStoreConnect.AppStoreReviewAttachment? value) => new IncludedItem35(value); /// /// /// - public static implicit operator IncludedItem35(global::AppStoreConnect.AppStoreVersionExperimentTreatment value) => new IncludedItem35((global::AppStoreConnect.AppStoreVersionExperimentTreatment?)value); + public static implicit operator IncludedItem35(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem35((global::AppStoreConnect.AppStoreVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatment?(IncludedItem35 @this) => @this.AppStoreVersionExperimentTreatments; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem35 @this) => @this.AppStoreVersions; /// /// /// - public IncludedItem35(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) + public IncludedItem35(global::AppStoreConnect.AppStoreVersion? value) { - AppStoreVersionExperimentTreatments = value; + AppStoreVersions = value; } /// /// /// - public static IncludedItem35 FromAppStoreVersionExperimentTreatments(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) => new IncludedItem35(value); + public static IncludedItem35 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem35(value); /// /// /// public IncludedItem35( - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppPreviewSet? appPreviewSets, - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets, - global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments + global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreReviewAttachment? appStoreReviewAttachments, + global::AppStoreConnect.AppStoreVersion? appStoreVersions ) { Type = type; - AppPreviewSets = appPreviewSets; - AppScreenshotSets = appScreenshotSets; - AppStoreVersionExperimentTreatments = appStoreVersionExperimentTreatments; + AppStoreReviewAttachments = appStoreReviewAttachments; + AppStoreVersions = appStoreVersions; } /// /// /// public object? Object => - AppStoreVersionExperimentTreatments as object ?? - AppScreenshotSets as object ?? - AppPreviewSets as object + AppStoreVersions as object ?? + AppStoreReviewAttachments as object ; /// /// /// public override string? ToString() => - AppPreviewSets?.ToString() ?? - AppScreenshotSets?.ToString() ?? - AppStoreVersionExperimentTreatments?.ToString() + AppStoreReviewAttachments?.ToString() ?? + AppStoreVersions?.ToString() ; /// @@ -233,16 +169,15 @@ AppPreviewSets as object /// public bool Validate() { - return IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppPreviewSets && IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppPreviewSets && !IsAppScreenshotSets && IsAppStoreVersionExperimentTreatments; + return IsAppStoreReviewAttachments && !IsAppStoreVersions || !IsAppStoreReviewAttachments && IsAppStoreVersions; } /// /// /// public TResult? Match( - global::System.Func? appPreviewSets = null, - global::System.Func? appScreenshotSets = null, - global::System.Func? appStoreVersionExperimentTreatments = null, + global::System.Func? appStoreReviewAttachments = null, + global::System.Func? appStoreVersions = null, bool validate = true) { if (validate) @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (AppPreviewSets is { } __value0 && appPreviewSets != null) + if (AppStoreReviewAttachments is { } __value0 && appStoreReviewAttachments != null) { - return appPreviewSets(__value0); + return appStoreReviewAttachments(__value0); } - else if (AppScreenshotSets is { } __value1 && appScreenshotSets != null) + else if (AppStoreVersions is { } __value1 && appStoreVersions != null) { - return appScreenshotSets(__value1); - } - else if (AppStoreVersionExperimentTreatments is { } __value2 && appStoreVersionExperimentTreatments != null) - { - return appStoreVersionExperimentTreatments(__value2); + return appStoreVersions(__value1); } return default(TResult); @@ -270,11 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appPreviewSets = null, - - global::System.Action? appScreenshotSets = null, + global::System.Action? appStoreReviewAttachments = null, - global::System.Action? appStoreVersionExperimentTreatments = null, + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (AppPreviewSets is { } __value0) - { - appPreviewSets?.Invoke(__value0); - } - else if (AppScreenshotSets is { } __value1) + if (AppStoreReviewAttachments is { } __value0) { - appScreenshotSets?.Invoke(__value1); + appStoreReviewAttachments?.Invoke(__value0); } - else if (AppStoreVersionExperimentTreatments is { } __value2) + else if (AppStoreVersions is { } __value1) { - appStoreVersionExperimentTreatments?.Invoke(__value2); + appStoreVersions?.Invoke(__value1); } } @@ -300,9 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appPreviewSets = null, - global::System.Action? appScreenshotSets = null, - global::System.Action? appStoreVersionExperimentTreatments = null, + global::System.Action? appStoreReviewAttachments = null, + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (AppPreviewSets is { } __value0) - { - appPreviewSets?.Invoke(__value0); - } - else if (AppScreenshotSets is { } __value1) + if (AppStoreReviewAttachments is { } __value0) { - appScreenshotSets?.Invoke(__value1); + appStoreReviewAttachments?.Invoke(__value0); } - else if (AppStoreVersionExperimentTreatments is { } __value2) + else if (AppStoreVersions is { } __value1) { - appStoreVersionExperimentTreatments?.Invoke(__value2); + appStoreVersions?.Invoke(__value1); } } @@ -331,12 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppPreviewSets, - typeof(global::AppStoreConnect.AppPreviewSet), - AppScreenshotSets, - typeof(global::AppStoreConnect.AppScreenshotSet), - AppStoreVersionExperimentTreatments, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), + AppStoreReviewAttachments, + typeof(global::AppStoreConnect.AppStoreReviewAttachment), + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem35 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments, other.AppStoreVersionExperimentTreatments) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreReviewAttachments, other.AppStoreReviewAttachments) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem36.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem36.g.cs index abff2effe..d79e59a15 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem36.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem36.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations1 { get; init; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations1 { get; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacements))] #endif - public bool IsAppStoreVersionExperimentTreatmentLocalizations1 => AppStoreVersionExperimentTreatmentLocalizations1 != null; + public bool IsAppAssetLibraryPlacements => AppAssetLibraryPlacements != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatmentLocalizations1( + public bool TryPickAppAssetLibraryPlacements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + out global::AppStoreConnect.AppAssetLibraryPlacement? value) { - value = AppStoreVersionExperimentTreatmentLocalizations1; - return IsAppStoreVersionExperimentTreatmentLocalizations1; + value = AppAssetLibraryPlacements; + return IsAppAssetLibraryPlacements; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations1() => AppStoreVersionExperimentTreatmentLocalizations1 is { } value + public global::AppStoreConnect.AppAssetLibraryPlacement PickAppAssetLibraryPlacements() => AppAssetLibraryPlacements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperimentTreatmentLocalizations2 { get; init; } + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperimentTreatmentLocalizations2 { get; } + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] #endif - public bool IsAppStoreVersionExperimentTreatmentLocalizations2 => AppStoreVersionExperimentTreatmentLocalizations2 != null; + public bool IsAppPreviewSets => AppPreviewSets != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatmentLocalizations2( + public bool TryPickAppPreviewSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperiment? value) + out global::AppStoreConnect.AppPreviewSet? value) { - value = AppStoreVersionExperimentTreatmentLocalizations2; - return IsAppStoreVersionExperimentTreatmentLocalizations2; + value = AppPreviewSets; + return IsAppPreviewSets; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperimentTreatmentLocalizations2() => AppStoreVersionExperimentTreatmentLocalizations2 is { } value + public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } +#else + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] +#endif + public bool IsAppScreenshotSets => AppScreenshotSets != null; + + /// + /// + /// + public bool TryPickAppScreenshotSets( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppScreenshotSet? value) + { + value = AppScreenshotSets; + return IsAppScreenshotSets; + } + + /// + /// + /// + public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments))] +#endif + public bool IsAppStoreVersionExperimentTreatments => AppStoreVersionExperimentTreatments != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperimentTreatments( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) + { + value = AppStoreVersionExperimentTreatments; + return IsAppStoreVersionExperimentTreatments; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperimentTreatment PickAppStoreVersionExperimentTreatments() => AppStoreVersionExperimentTreatments is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem36(global::AppStoreConnect.AppAssetLibraryPlacement value) => new IncludedItem36((global::AppStoreConnect.AppAssetLibraryPlacement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacement?(IncludedItem36 @this) => @this.AppAssetLibraryPlacements; + + /// + /// + /// + public IncludedItem36(global::AppStoreConnect.AppAssetLibraryPlacement? value) + { + AppAssetLibraryPlacements = value; + } + + /// + /// + /// + public static IncludedItem36 FromAppAssetLibraryPlacements(global::AppStoreConnect.AppAssetLibraryPlacement? value) => new IncludedItem36(value); + + /// + /// + /// + public static implicit operator IncludedItem36(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem36((global::AppStoreConnect.AppPreviewSet?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem36 @this) => @this.AppPreviewSets; + /// /// /// - public static implicit operator IncludedItem36(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem36((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); + public IncludedItem36(global::AppStoreConnect.AppPreviewSet? value) + { + AppPreviewSets = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem36 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations1; + public static IncludedItem36 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem36(value); /// /// /// - public IncludedItem36(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + public static implicit operator IncludedItem36(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem36((global::AppStoreConnect.AppScreenshotSet?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem36 @this) => @this.AppScreenshotSets; + + /// + /// + /// + public IncludedItem36(global::AppStoreConnect.AppScreenshotSet? value) { - AppStoreVersionExperimentTreatmentLocalizations1 = value; + AppScreenshotSets = value; } /// /// /// - public static IncludedItem36 FromAppStoreVersionExperimentTreatmentLocalizations1(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem36(value); + public static IncludedItem36 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem36(value); /// /// /// - public static implicit operator IncludedItem36(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem36((global::AppStoreConnect.AppStoreVersionExperiment?)value); + public static implicit operator IncludedItem36(global::AppStoreConnect.AppStoreVersionExperimentTreatment value) => new IncludedItem36((global::AppStoreConnect.AppStoreVersionExperimentTreatment?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem36 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations2; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatment?(IncludedItem36 @this) => @this.AppStoreVersionExperimentTreatments; /// /// /// - public IncludedItem36(global::AppStoreConnect.AppStoreVersionExperiment? value) + public IncludedItem36(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) { - AppStoreVersionExperimentTreatmentLocalizations2 = value; + AppStoreVersionExperimentTreatments = value; } /// /// /// - public static IncludedItem36 FromAppStoreVersionExperimentTreatmentLocalizations2(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem36(value); + public static IncludedItem36 FromAppStoreVersionExperimentTreatments(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) => new IncludedItem36(value); /// /// /// public IncludedItem36( - global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations1, - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperimentTreatmentLocalizations2 + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements, + global::AppStoreConnect.AppPreviewSet? appPreviewSets, + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets, + global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments ) { Type = type; - AppStoreVersionExperimentTreatmentLocalizations1 = appStoreVersionExperimentTreatmentLocalizations1; - AppStoreVersionExperimentTreatmentLocalizations2 = appStoreVersionExperimentTreatmentLocalizations2; + AppAssetLibraryPlacements = appAssetLibraryPlacements; + AppPreviewSets = appPreviewSets; + AppScreenshotSets = appScreenshotSets; + AppStoreVersionExperimentTreatments = appStoreVersionExperimentTreatments; } /// /// /// public object? Object => - AppStoreVersionExperimentTreatmentLocalizations2 as object ?? - AppStoreVersionExperimentTreatmentLocalizations1 as object + AppStoreVersionExperimentTreatments as object ?? + AppScreenshotSets as object ?? + AppPreviewSets as object ?? + AppAssetLibraryPlacements as object ; /// /// /// public override string? ToString() => - AppStoreVersionExperimentTreatmentLocalizations1?.ToString() ?? - AppStoreVersionExperimentTreatmentLocalizations2?.ToString() + AppAssetLibraryPlacements?.ToString() ?? + AppPreviewSets?.ToString() ?? + AppScreenshotSets?.ToString() ?? + AppStoreVersionExperimentTreatments?.ToString() ; /// @@ -169,15 +297,17 @@ AppStoreVersionExperimentTreatmentLocalizations1 as object /// public bool Validate() { - return IsAppStoreVersionExperimentTreatmentLocalizations1 && !IsAppStoreVersionExperimentTreatmentLocalizations2 || !IsAppStoreVersionExperimentTreatmentLocalizations1 && IsAppStoreVersionExperimentTreatmentLocalizations2; + return IsAppAssetLibraryPlacements && !IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppAssetLibraryPlacements && IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppAssetLibraryPlacements && !IsAppPreviewSets && IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppAssetLibraryPlacements && !IsAppPreviewSets && !IsAppScreenshotSets && IsAppStoreVersionExperimentTreatments; } /// /// /// public TResult? Match( - global::System.Func? appStoreVersionExperimentTreatmentLocalizations1 = null, - global::System.Func? appStoreVersionExperimentTreatmentLocalizations2 = null, + global::System.Func? appAssetLibraryPlacements = null, + global::System.Func? appPreviewSets = null, + global::System.Func? appScreenshotSets = null, + global::System.Func? appStoreVersionExperimentTreatments = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0 && appStoreVersionExperimentTreatmentLocalizations1 != null) + if (AppAssetLibraryPlacements is { } __value0 && appAssetLibraryPlacements != null) + { + return appAssetLibraryPlacements(__value0); + } + else if (AppPreviewSets is { } __value1 && appPreviewSets != null) + { + return appPreviewSets(__value1); + } + else if (AppScreenshotSets is { } __value2 && appScreenshotSets != null) { - return appStoreVersionExperimentTreatmentLocalizations1(__value0); + return appScreenshotSets(__value2); } - else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1 && appStoreVersionExperimentTreatmentLocalizations2 != null) + else if (AppStoreVersionExperimentTreatments is { } __value3 && appStoreVersionExperimentTreatments != null) { - return appStoreVersionExperimentTreatmentLocalizations2(__value1); + return appStoreVersionExperimentTreatments(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appStoreVersionExperimentTreatmentLocalizations1 = null, + global::System.Action? appAssetLibraryPlacements = null, + + global::System.Action? appPreviewSets = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations2 = null, + global::System.Action? appScreenshotSets = null, + + global::System.Action? appStoreVersionExperimentTreatments = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) + { + appAssetLibraryPlacements?.Invoke(__value0); + } + else if (AppPreviewSets is { } __value1) { - appStoreVersionExperimentTreatmentLocalizations1?.Invoke(__value0); + appPreviewSets?.Invoke(__value1); } - else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1) + else if (AppScreenshotSets is { } __value2) { - appStoreVersionExperimentTreatmentLocalizations2?.Invoke(__value1); + appScreenshotSets?.Invoke(__value2); + } + else if (AppStoreVersionExperimentTreatments is { } __value3) + { + appStoreVersionExperimentTreatments?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appStoreVersionExperimentTreatmentLocalizations1 = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations2 = null, + global::System.Action? appAssetLibraryPlacements = null, + global::System.Action? appPreviewSets = null, + global::System.Action? appScreenshotSets = null, + global::System.Action? appStoreVersionExperimentTreatments = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) + { + appAssetLibraryPlacements?.Invoke(__value0); + } + else if (AppPreviewSets is { } __value1) + { + appPreviewSets?.Invoke(__value1); + } + else if (AppScreenshotSets is { } __value2) { - appStoreVersionExperimentTreatmentLocalizations1?.Invoke(__value0); + appScreenshotSets?.Invoke(__value2); } - else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1) + else if (AppStoreVersionExperimentTreatments is { } __value3) { - appStoreVersionExperimentTreatmentLocalizations2?.Invoke(__value1); + appStoreVersionExperimentTreatments?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppStoreVersionExperimentTreatmentLocalizations1, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), - AppStoreVersionExperimentTreatmentLocalizations2, - typeof(global::AppStoreConnect.AppStoreVersionExperiment), + AppAssetLibraryPlacements, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + AppPreviewSets, + typeof(global::AppStoreConnect.AppPreviewSet), + AppScreenshotSets, + typeof(global::AppStoreConnect.AppScreenshotSet), + AppStoreVersionExperimentTreatments, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem36 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations1, other.AppStoreVersionExperimentTreatmentLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations2, other.AppStoreVersionExperimentTreatmentLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacements, other.AppAssetLibraryPlacements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments, other.AppStoreVersionExperimentTreatments) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem37.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem37.g.cs index 922ca4ab7..12ebcaf65 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem37.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem37.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations1 { get; init; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations1 { get; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacements))] #endif - public bool IsAppStoreVersionExperimentTreatmentLocalizations1 => AppStoreVersionExperimentTreatmentLocalizations1 != null; + public bool IsAppAssetLibraryPlacements => AppAssetLibraryPlacements != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatmentLocalizations1( + public bool TryPickAppAssetLibraryPlacements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + out global::AppStoreConnect.AppAssetLibraryPlacement? value) { - value = AppStoreVersionExperimentTreatmentLocalizations1; - return IsAppStoreVersionExperimentTreatmentLocalizations1; + value = AppAssetLibraryPlacements; + return IsAppAssetLibraryPlacements; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations1() => AppStoreVersionExperimentTreatmentLocalizations1 is { } value + public global::AppStoreConnect.AppAssetLibraryPlacement PickAppAssetLibraryPlacements() => AppAssetLibraryPlacements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperimentTreatmentLocalizations2 { get; init; } + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperimentTreatmentLocalizations2 { get; } + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] #endif - public bool IsAppStoreVersionExperimentTreatmentLocalizations2 => AppStoreVersionExperimentTreatmentLocalizations2 != null; + public bool IsAppPreviewSets => AppPreviewSets != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatmentLocalizations2( + public bool TryPickAppPreviewSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperiment? value) + out global::AppStoreConnect.AppPreviewSet? value) { - value = AppStoreVersionExperimentTreatmentLocalizations2; - return IsAppStoreVersionExperimentTreatmentLocalizations2; + value = AppPreviewSets; + return IsAppPreviewSets; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperimentTreatmentLocalizations2() => AppStoreVersionExperimentTreatmentLocalizations2 is { } value + public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } +#else + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] +#endif + public bool IsAppScreenshotSets => AppScreenshotSets != null; + + /// + /// + /// + public bool TryPickAppScreenshotSets( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppScreenshotSet? value) + { + value = AppScreenshotSets; + return IsAppScreenshotSets; + } + + /// + /// + /// + public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments))] +#endif + public bool IsAppStoreVersionExperimentTreatments => AppStoreVersionExperimentTreatments != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperimentTreatments( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) + { + value = AppStoreVersionExperimentTreatments; + return IsAppStoreVersionExperimentTreatments; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperimentTreatment PickAppStoreVersionExperimentTreatments() => AppStoreVersionExperimentTreatments is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem37(global::AppStoreConnect.AppAssetLibraryPlacement value) => new IncludedItem37((global::AppStoreConnect.AppAssetLibraryPlacement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacement?(IncludedItem37 @this) => @this.AppAssetLibraryPlacements; + + /// + /// + /// + public IncludedItem37(global::AppStoreConnect.AppAssetLibraryPlacement? value) + { + AppAssetLibraryPlacements = value; + } + + /// + /// + /// + public static IncludedItem37 FromAppAssetLibraryPlacements(global::AppStoreConnect.AppAssetLibraryPlacement? value) => new IncludedItem37(value); + + /// + /// + /// + public static implicit operator IncludedItem37(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem37((global::AppStoreConnect.AppPreviewSet?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem37 @this) => @this.AppPreviewSets; + /// /// /// - public static implicit operator IncludedItem37(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem37((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); + public IncludedItem37(global::AppStoreConnect.AppPreviewSet? value) + { + AppPreviewSets = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem37 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations1; + public static IncludedItem37 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem37(value); /// /// /// - public IncludedItem37(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + public static implicit operator IncludedItem37(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem37((global::AppStoreConnect.AppScreenshotSet?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem37 @this) => @this.AppScreenshotSets; + + /// + /// + /// + public IncludedItem37(global::AppStoreConnect.AppScreenshotSet? value) { - AppStoreVersionExperimentTreatmentLocalizations1 = value; + AppScreenshotSets = value; } /// /// /// - public static IncludedItem37 FromAppStoreVersionExperimentTreatmentLocalizations1(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem37(value); + public static IncludedItem37 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem37(value); /// /// /// - public static implicit operator IncludedItem37(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem37((global::AppStoreConnect.AppStoreVersionExperiment?)value); + public static implicit operator IncludedItem37(global::AppStoreConnect.AppStoreVersionExperimentTreatment value) => new IncludedItem37((global::AppStoreConnect.AppStoreVersionExperimentTreatment?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem37 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations2; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatment?(IncludedItem37 @this) => @this.AppStoreVersionExperimentTreatments; /// /// /// - public IncludedItem37(global::AppStoreConnect.AppStoreVersionExperiment? value) + public IncludedItem37(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) { - AppStoreVersionExperimentTreatmentLocalizations2 = value; + AppStoreVersionExperimentTreatments = value; } /// /// /// - public static IncludedItem37 FromAppStoreVersionExperimentTreatmentLocalizations2(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem37(value); + public static IncludedItem37 FromAppStoreVersionExperimentTreatments(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) => new IncludedItem37(value); /// /// /// public IncludedItem37( - global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations1, - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperimentTreatmentLocalizations2 + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements, + global::AppStoreConnect.AppPreviewSet? appPreviewSets, + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets, + global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments ) { Type = type; - AppStoreVersionExperimentTreatmentLocalizations1 = appStoreVersionExperimentTreatmentLocalizations1; - AppStoreVersionExperimentTreatmentLocalizations2 = appStoreVersionExperimentTreatmentLocalizations2; + AppAssetLibraryPlacements = appAssetLibraryPlacements; + AppPreviewSets = appPreviewSets; + AppScreenshotSets = appScreenshotSets; + AppStoreVersionExperimentTreatments = appStoreVersionExperimentTreatments; } /// /// /// public object? Object => - AppStoreVersionExperimentTreatmentLocalizations2 as object ?? - AppStoreVersionExperimentTreatmentLocalizations1 as object + AppStoreVersionExperimentTreatments as object ?? + AppScreenshotSets as object ?? + AppPreviewSets as object ?? + AppAssetLibraryPlacements as object ; /// /// /// public override string? ToString() => - AppStoreVersionExperimentTreatmentLocalizations1?.ToString() ?? - AppStoreVersionExperimentTreatmentLocalizations2?.ToString() + AppAssetLibraryPlacements?.ToString() ?? + AppPreviewSets?.ToString() ?? + AppScreenshotSets?.ToString() ?? + AppStoreVersionExperimentTreatments?.ToString() ; /// @@ -169,15 +297,17 @@ AppStoreVersionExperimentTreatmentLocalizations1 as object /// public bool Validate() { - return IsAppStoreVersionExperimentTreatmentLocalizations1 && !IsAppStoreVersionExperimentTreatmentLocalizations2 || !IsAppStoreVersionExperimentTreatmentLocalizations1 && IsAppStoreVersionExperimentTreatmentLocalizations2; + return IsAppAssetLibraryPlacements && !IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppAssetLibraryPlacements && IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppAssetLibraryPlacements && !IsAppPreviewSets && IsAppScreenshotSets && !IsAppStoreVersionExperimentTreatments || !IsAppAssetLibraryPlacements && !IsAppPreviewSets && !IsAppScreenshotSets && IsAppStoreVersionExperimentTreatments; } /// /// /// public TResult? Match( - global::System.Func? appStoreVersionExperimentTreatmentLocalizations1 = null, - global::System.Func? appStoreVersionExperimentTreatmentLocalizations2 = null, + global::System.Func? appAssetLibraryPlacements = null, + global::System.Func? appPreviewSets = null, + global::System.Func? appScreenshotSets = null, + global::System.Func? appStoreVersionExperimentTreatments = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0 && appStoreVersionExperimentTreatmentLocalizations1 != null) + if (AppAssetLibraryPlacements is { } __value0 && appAssetLibraryPlacements != null) + { + return appAssetLibraryPlacements(__value0); + } + else if (AppPreviewSets is { } __value1 && appPreviewSets != null) + { + return appPreviewSets(__value1); + } + else if (AppScreenshotSets is { } __value2 && appScreenshotSets != null) { - return appStoreVersionExperimentTreatmentLocalizations1(__value0); + return appScreenshotSets(__value2); } - else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1 && appStoreVersionExperimentTreatmentLocalizations2 != null) + else if (AppStoreVersionExperimentTreatments is { } __value3 && appStoreVersionExperimentTreatments != null) { - return appStoreVersionExperimentTreatmentLocalizations2(__value1); + return appStoreVersionExperimentTreatments(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appStoreVersionExperimentTreatmentLocalizations1 = null, + global::System.Action? appAssetLibraryPlacements = null, + + global::System.Action? appPreviewSets = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations2 = null, + global::System.Action? appScreenshotSets = null, + + global::System.Action? appStoreVersionExperimentTreatments = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) + { + appAssetLibraryPlacements?.Invoke(__value0); + } + else if (AppPreviewSets is { } __value1) { - appStoreVersionExperimentTreatmentLocalizations1?.Invoke(__value0); + appPreviewSets?.Invoke(__value1); } - else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1) + else if (AppScreenshotSets is { } __value2) { - appStoreVersionExperimentTreatmentLocalizations2?.Invoke(__value1); + appScreenshotSets?.Invoke(__value2); + } + else if (AppStoreVersionExperimentTreatments is { } __value3) + { + appStoreVersionExperimentTreatments?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appStoreVersionExperimentTreatmentLocalizations1 = null, - global::System.Action? appStoreVersionExperimentTreatmentLocalizations2 = null, + global::System.Action? appAssetLibraryPlacements = null, + global::System.Action? appPreviewSets = null, + global::System.Action? appScreenshotSets = null, + global::System.Action? appStoreVersionExperimentTreatments = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) + { + appAssetLibraryPlacements?.Invoke(__value0); + } + else if (AppPreviewSets is { } __value1) + { + appPreviewSets?.Invoke(__value1); + } + else if (AppScreenshotSets is { } __value2) { - appStoreVersionExperimentTreatmentLocalizations1?.Invoke(__value0); + appScreenshotSets?.Invoke(__value2); } - else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1) + else if (AppStoreVersionExperimentTreatments is { } __value3) { - appStoreVersionExperimentTreatmentLocalizations2?.Invoke(__value1); + appStoreVersionExperimentTreatments?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppStoreVersionExperimentTreatmentLocalizations1, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), - AppStoreVersionExperimentTreatmentLocalizations2, - typeof(global::AppStoreConnect.AppStoreVersionExperiment), + AppAssetLibraryPlacements, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + AppPreviewSets, + typeof(global::AppStoreConnect.AppPreviewSet), + AppScreenshotSets, + typeof(global::AppStoreConnect.AppScreenshotSet), + AppStoreVersionExperimentTreatments, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem37 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations1, other.AppStoreVersionExperimentTreatmentLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations2, other.AppStoreVersionExperimentTreatmentLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacements, other.AppAssetLibraryPlacements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments, other.AppStoreVersionExperimentTreatments) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem38.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem38.g.cs index 725c30308..3b8ba65ef 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem38.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem38.g.cs @@ -12,220 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments1 { get; init; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations1 { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments1 { get; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations1))] #endif - public bool IsAppStoreVersionExperimentTreatments1 => AppStoreVersionExperimentTreatments1 != null; + public bool IsAppStoreVersionExperimentTreatmentLocalizations1 => AppStoreVersionExperimentTreatmentLocalizations1 != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatments1( + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) + out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - value = AppStoreVersionExperimentTreatments1; - return IsAppStoreVersionExperimentTreatments1; + value = AppStoreVersionExperimentTreatmentLocalizations1; + return IsAppStoreVersionExperimentTreatmentLocalizations1; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatment PickAppStoreVersionExperimentTreatments1() => AppStoreVersionExperimentTreatments1 is { } value + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations1() => AppStoreVersionExperimentTreatmentLocalizations1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperimentTreatments2 { get; init; } + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperimentTreatmentLocalizations2 { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperimentTreatments2 { get; } + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperimentTreatmentLocalizations2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations2))] #endif - public bool IsAppStoreVersionExperimentTreatments2 => AppStoreVersionExperimentTreatments2 != null; + public bool IsAppStoreVersionExperimentTreatmentLocalizations2 => AppStoreVersionExperimentTreatmentLocalizations2 != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatments2( + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.AppStoreVersionExperiment? value) { - value = AppStoreVersionExperimentTreatments2; - return IsAppStoreVersionExperimentTreatments2; + value = AppStoreVersionExperimentTreatmentLocalizations2; + return IsAppStoreVersionExperimentTreatmentLocalizations2; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperimentTreatments2() => AppStoreVersionExperimentTreatments2 is { } value + public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperimentTreatmentLocalizations2() => AppStoreVersionExperimentTreatmentLocalizations2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppStoreVersionExperimentTreatments3 { get; init; } -#else - public global::AppStoreConnect.App? AppStoreVersionExperimentTreatments3 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments3))] -#endif - public bool IsAppStoreVersionExperimentTreatments3 => AppStoreVersionExperimentTreatments3 != null; - - /// - /// - /// - public bool TryPickAppStoreVersionExperimentTreatments3( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) - { - value = AppStoreVersionExperimentTreatments3; - return IsAppStoreVersionExperimentTreatments3; - } - - /// - /// - /// - public global::AppStoreConnect.App PickAppStoreVersionExperimentTreatments3() => AppStoreVersionExperimentTreatments3 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments3' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem38(global::AppStoreConnect.AppStoreVersionExperimentTreatment value) => new IncludedItem38((global::AppStoreConnect.AppStoreVersionExperimentTreatment?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatment?(IncludedItem38 @this) => @this.AppStoreVersionExperimentTreatments1; - - /// - /// - /// - public IncludedItem38(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) - { - AppStoreVersionExperimentTreatments1 = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations2' but the value was {ToString()}."); /// /// /// - public static IncludedItem38 FromAppStoreVersionExperimentTreatments1(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) => new IncludedItem38(value); + public static implicit operator IncludedItem38(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem38((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); /// /// /// - public static implicit operator IncludedItem38(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem38((global::AppStoreConnect.AppStoreVersion?)value); + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem38 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations1; /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem38 @this) => @this.AppStoreVersionExperimentTreatments2; - - /// - /// - /// - public IncludedItem38(global::AppStoreConnect.AppStoreVersion? value) + public IncludedItem38(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - AppStoreVersionExperimentTreatments2 = value; + AppStoreVersionExperimentTreatmentLocalizations1 = value; } /// /// /// - public static IncludedItem38 FromAppStoreVersionExperimentTreatments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem38(value); + public static IncludedItem38 FromAppStoreVersionExperimentTreatmentLocalizations1(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem38(value); /// /// /// - public static implicit operator IncludedItem38(global::AppStoreConnect.App value) => new IncludedItem38((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem38(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem38((global::AppStoreConnect.AppStoreVersionExperiment?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem38 @this) => @this.AppStoreVersionExperimentTreatments3; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem38 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations2; /// /// /// - public IncludedItem38(global::AppStoreConnect.App? value) + public IncludedItem38(global::AppStoreConnect.AppStoreVersionExperiment? value) { - AppStoreVersionExperimentTreatments3 = value; + AppStoreVersionExperimentTreatmentLocalizations2 = value; } /// /// /// - public static IncludedItem38 FromAppStoreVersionExperimentTreatments3(global::AppStoreConnect.App? value) => new IncludedItem38(value); + public static IncludedItem38 FromAppStoreVersionExperimentTreatmentLocalizations2(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem38(value); /// /// /// public IncludedItem38( - global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1, - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2, - global::AppStoreConnect.App? appStoreVersionExperimentTreatments3 + global::AppStoreConnect.AppStoreVersionExperimentTreatmentsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations1, + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperimentTreatmentLocalizations2 ) { Type = type; - AppStoreVersionExperimentTreatments1 = appStoreVersionExperimentTreatments1; - AppStoreVersionExperimentTreatments2 = appStoreVersionExperimentTreatments2; - AppStoreVersionExperimentTreatments3 = appStoreVersionExperimentTreatments3; + AppStoreVersionExperimentTreatmentLocalizations1 = appStoreVersionExperimentTreatmentLocalizations1; + AppStoreVersionExperimentTreatmentLocalizations2 = appStoreVersionExperimentTreatmentLocalizations2; } /// /// /// public object? Object => - AppStoreVersionExperimentTreatments3 as object ?? - AppStoreVersionExperimentTreatments2 as object ?? - AppStoreVersionExperimentTreatments1 as object + AppStoreVersionExperimentTreatmentLocalizations2 as object ?? + AppStoreVersionExperimentTreatmentLocalizations1 as object ; /// /// /// public override string? ToString() => - AppStoreVersionExperimentTreatments1?.ToString() ?? - AppStoreVersionExperimentTreatments2?.ToString() ?? - AppStoreVersionExperimentTreatments3?.ToString() + AppStoreVersionExperimentTreatmentLocalizations1?.ToString() ?? + AppStoreVersionExperimentTreatmentLocalizations2?.ToString() ; /// @@ -233,16 +169,15 @@ AppStoreVersionExperimentTreatments1 as object /// public bool Validate() { - return IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 && !IsAppStoreVersionExperimentTreatments3 || !IsAppStoreVersionExperimentTreatments1 && IsAppStoreVersionExperimentTreatments2 && !IsAppStoreVersionExperimentTreatments3 || !IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 && IsAppStoreVersionExperimentTreatments3; + return IsAppStoreVersionExperimentTreatmentLocalizations1 && !IsAppStoreVersionExperimentTreatmentLocalizations2 || !IsAppStoreVersionExperimentTreatmentLocalizations1 && IsAppStoreVersionExperimentTreatmentLocalizations2; } /// /// /// public TResult? Match( - global::System.Func? appStoreVersionExperimentTreatments1 = null, - global::System.Func? appStoreVersionExperimentTreatments2 = null, - global::System.Func? appStoreVersionExperimentTreatments3 = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations1 = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations2 = null, bool validate = true) { if (validate) @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (AppStoreVersionExperimentTreatments1 is { } __value0 && appStoreVersionExperimentTreatments1 != null) + if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0 && appStoreVersionExperimentTreatmentLocalizations1 != null) { - return appStoreVersionExperimentTreatments1(__value0); + return appStoreVersionExperimentTreatmentLocalizations1(__value0); } - else if (AppStoreVersionExperimentTreatments2 is { } __value1 && appStoreVersionExperimentTreatments2 != null) + else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1 && appStoreVersionExperimentTreatmentLocalizations2 != null) { - return appStoreVersionExperimentTreatments2(__value1); - } - else if (AppStoreVersionExperimentTreatments3 is { } __value2 && appStoreVersionExperimentTreatments3 != null) - { - return appStoreVersionExperimentTreatments3(__value2); + return appStoreVersionExperimentTreatmentLocalizations2(__value1); } return default(TResult); @@ -270,11 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appStoreVersionExperimentTreatments1 = null, - - global::System.Action? appStoreVersionExperimentTreatments2 = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations1 = null, - global::System.Action? appStoreVersionExperimentTreatments3 = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations2 = null, bool validate = true) { if (validate) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (AppStoreVersionExperimentTreatments1 is { } __value0) - { - appStoreVersionExperimentTreatments1?.Invoke(__value0); - } - else if (AppStoreVersionExperimentTreatments2 is { } __value1) + if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0) { - appStoreVersionExperimentTreatments2?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations1?.Invoke(__value0); } - else if (AppStoreVersionExperimentTreatments3 is { } __value2) + else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1) { - appStoreVersionExperimentTreatments3?.Invoke(__value2); + appStoreVersionExperimentTreatmentLocalizations2?.Invoke(__value1); } } @@ -300,9 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appStoreVersionExperimentTreatments1 = null, - global::System.Action? appStoreVersionExperimentTreatments2 = null, - global::System.Action? appStoreVersionExperimentTreatments3 = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations1 = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations2 = null, bool validate = true) { if (validate) @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (AppStoreVersionExperimentTreatments1 is { } __value0) - { - appStoreVersionExperimentTreatments1?.Invoke(__value0); - } - else if (AppStoreVersionExperimentTreatments2 is { } __value1) + if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0) { - appStoreVersionExperimentTreatments2?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations1?.Invoke(__value0); } - else if (AppStoreVersionExperimentTreatments3 is { } __value2) + else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1) { - appStoreVersionExperimentTreatments3?.Invoke(__value2); + appStoreVersionExperimentTreatmentLocalizations2?.Invoke(__value1); } } @@ -331,12 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppStoreVersionExperimentTreatments1, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), - AppStoreVersionExperimentTreatments2, - typeof(global::AppStoreConnect.AppStoreVersion), - AppStoreVersionExperimentTreatments3, - typeof(global::AppStoreConnect.App), + AppStoreVersionExperimentTreatmentLocalizations1, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), + AppStoreVersionExperimentTreatmentLocalizations2, + typeof(global::AppStoreConnect.AppStoreVersionExperiment), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem38 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments1, other.AppStoreVersionExperimentTreatments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments2, other.AppStoreVersionExperimentTreatments2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments3, other.AppStoreVersionExperimentTreatments3) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations1, other.AppStoreVersionExperimentTreatmentLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations2, other.AppStoreVersionExperimentTreatmentLocalizations2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem39.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem39.g.cs index 3b0a41331..8aecf7112 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem39.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem39.g.cs @@ -12,220 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments1 { get; init; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations1 { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments1 { get; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations1))] #endif - public bool IsAppStoreVersionExperimentTreatments1 => AppStoreVersionExperimentTreatments1 != null; + public bool IsAppStoreVersionExperimentTreatmentLocalizations1 => AppStoreVersionExperimentTreatmentLocalizations1 != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatments1( + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) + out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - value = AppStoreVersionExperimentTreatments1; - return IsAppStoreVersionExperimentTreatments1; + value = AppStoreVersionExperimentTreatmentLocalizations1; + return IsAppStoreVersionExperimentTreatmentLocalizations1; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentTreatment PickAppStoreVersionExperimentTreatments1() => AppStoreVersionExperimentTreatments1 is { } value + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations1() => AppStoreVersionExperimentTreatmentLocalizations1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperimentTreatments2 { get; init; } + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperimentTreatmentLocalizations2 { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperimentTreatments2 { get; } + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperimentTreatmentLocalizations2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations2))] #endif - public bool IsAppStoreVersionExperimentTreatments2 => AppStoreVersionExperimentTreatments2 != null; + public bool IsAppStoreVersionExperimentTreatmentLocalizations2 => AppStoreVersionExperimentTreatmentLocalizations2 != null; /// /// /// - public bool TryPickAppStoreVersionExperimentTreatments2( + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.AppStoreVersionExperiment? value) { - value = AppStoreVersionExperimentTreatments2; - return IsAppStoreVersionExperimentTreatments2; + value = AppStoreVersionExperimentTreatmentLocalizations2; + return IsAppStoreVersionExperimentTreatmentLocalizations2; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperimentTreatments2() => AppStoreVersionExperimentTreatments2 is { } value + public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperimentTreatmentLocalizations2() => AppStoreVersionExperimentTreatmentLocalizations2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppStoreVersionExperimentTreatments3 { get; init; } -#else - public global::AppStoreConnect.App? AppStoreVersionExperimentTreatments3 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments3))] -#endif - public bool IsAppStoreVersionExperimentTreatments3 => AppStoreVersionExperimentTreatments3 != null; - - /// - /// - /// - public bool TryPickAppStoreVersionExperimentTreatments3( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) - { - value = AppStoreVersionExperimentTreatments3; - return IsAppStoreVersionExperimentTreatments3; - } - - /// - /// - /// - public global::AppStoreConnect.App PickAppStoreVersionExperimentTreatments3() => AppStoreVersionExperimentTreatments3 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments3' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem39(global::AppStoreConnect.AppStoreVersionExperimentTreatment value) => new IncludedItem39((global::AppStoreConnect.AppStoreVersionExperimentTreatment?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatment?(IncludedItem39 @this) => @this.AppStoreVersionExperimentTreatments1; - - /// - /// - /// - public IncludedItem39(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) - { - AppStoreVersionExperimentTreatments1 = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations2' but the value was {ToString()}."); /// /// /// - public static IncludedItem39 FromAppStoreVersionExperimentTreatments1(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) => new IncludedItem39(value); + public static implicit operator IncludedItem39(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem39((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); /// /// /// - public static implicit operator IncludedItem39(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem39((global::AppStoreConnect.AppStoreVersion?)value); + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem39 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations1; /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem39 @this) => @this.AppStoreVersionExperimentTreatments2; - - /// - /// - /// - public IncludedItem39(global::AppStoreConnect.AppStoreVersion? value) + public IncludedItem39(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - AppStoreVersionExperimentTreatments2 = value; + AppStoreVersionExperimentTreatmentLocalizations1 = value; } /// /// /// - public static IncludedItem39 FromAppStoreVersionExperimentTreatments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem39(value); + public static IncludedItem39 FromAppStoreVersionExperimentTreatmentLocalizations1(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem39(value); /// /// /// - public static implicit operator IncludedItem39(global::AppStoreConnect.App value) => new IncludedItem39((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem39(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem39((global::AppStoreConnect.AppStoreVersionExperiment?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem39 @this) => @this.AppStoreVersionExperimentTreatments3; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem39 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations2; /// /// /// - public IncludedItem39(global::AppStoreConnect.App? value) + public IncludedItem39(global::AppStoreConnect.AppStoreVersionExperiment? value) { - AppStoreVersionExperimentTreatments3 = value; + AppStoreVersionExperimentTreatmentLocalizations2 = value; } /// /// /// - public static IncludedItem39 FromAppStoreVersionExperimentTreatments3(global::AppStoreConnect.App? value) => new IncludedItem39(value); + public static IncludedItem39 FromAppStoreVersionExperimentTreatmentLocalizations2(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem39(value); /// /// /// public IncludedItem39( - global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1, - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2, - global::AppStoreConnect.App? appStoreVersionExperimentTreatments3 + global::AppStoreConnect.AppStoreVersionExperimentTreatmentResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations1, + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperimentTreatmentLocalizations2 ) { Type = type; - AppStoreVersionExperimentTreatments1 = appStoreVersionExperimentTreatments1; - AppStoreVersionExperimentTreatments2 = appStoreVersionExperimentTreatments2; - AppStoreVersionExperimentTreatments3 = appStoreVersionExperimentTreatments3; + AppStoreVersionExperimentTreatmentLocalizations1 = appStoreVersionExperimentTreatmentLocalizations1; + AppStoreVersionExperimentTreatmentLocalizations2 = appStoreVersionExperimentTreatmentLocalizations2; } /// /// /// public object? Object => - AppStoreVersionExperimentTreatments3 as object ?? - AppStoreVersionExperimentTreatments2 as object ?? - AppStoreVersionExperimentTreatments1 as object + AppStoreVersionExperimentTreatmentLocalizations2 as object ?? + AppStoreVersionExperimentTreatmentLocalizations1 as object ; /// /// /// public override string? ToString() => - AppStoreVersionExperimentTreatments1?.ToString() ?? - AppStoreVersionExperimentTreatments2?.ToString() ?? - AppStoreVersionExperimentTreatments3?.ToString() + AppStoreVersionExperimentTreatmentLocalizations1?.ToString() ?? + AppStoreVersionExperimentTreatmentLocalizations2?.ToString() ; /// @@ -233,16 +169,15 @@ AppStoreVersionExperimentTreatments1 as object /// public bool Validate() { - return IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 && !IsAppStoreVersionExperimentTreatments3 || !IsAppStoreVersionExperimentTreatments1 && IsAppStoreVersionExperimentTreatments2 && !IsAppStoreVersionExperimentTreatments3 || !IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 && IsAppStoreVersionExperimentTreatments3; + return IsAppStoreVersionExperimentTreatmentLocalizations1 && !IsAppStoreVersionExperimentTreatmentLocalizations2 || !IsAppStoreVersionExperimentTreatmentLocalizations1 && IsAppStoreVersionExperimentTreatmentLocalizations2; } /// /// /// public TResult? Match( - global::System.Func? appStoreVersionExperimentTreatments1 = null, - global::System.Func? appStoreVersionExperimentTreatments2 = null, - global::System.Func? appStoreVersionExperimentTreatments3 = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations1 = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations2 = null, bool validate = true) { if (validate) @@ -250,17 +185,13 @@ public bool Validate() Validate(); } - if (AppStoreVersionExperimentTreatments1 is { } __value0 && appStoreVersionExperimentTreatments1 != null) + if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0 && appStoreVersionExperimentTreatmentLocalizations1 != null) { - return appStoreVersionExperimentTreatments1(__value0); + return appStoreVersionExperimentTreatmentLocalizations1(__value0); } - else if (AppStoreVersionExperimentTreatments2 is { } __value1 && appStoreVersionExperimentTreatments2 != null) + else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1 && appStoreVersionExperimentTreatmentLocalizations2 != null) { - return appStoreVersionExperimentTreatments2(__value1); - } - else if (AppStoreVersionExperimentTreatments3 is { } __value2 && appStoreVersionExperimentTreatments3 != null) - { - return appStoreVersionExperimentTreatments3(__value2); + return appStoreVersionExperimentTreatmentLocalizations2(__value1); } return default(TResult); @@ -270,11 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appStoreVersionExperimentTreatments1 = null, - - global::System.Action? appStoreVersionExperimentTreatments2 = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations1 = null, - global::System.Action? appStoreVersionExperimentTreatments3 = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations2 = null, bool validate = true) { if (validate) @@ -282,17 +211,13 @@ public void Match( Validate(); } - if (AppStoreVersionExperimentTreatments1 is { } __value0) - { - appStoreVersionExperimentTreatments1?.Invoke(__value0); - } - else if (AppStoreVersionExperimentTreatments2 is { } __value1) + if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0) { - appStoreVersionExperimentTreatments2?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations1?.Invoke(__value0); } - else if (AppStoreVersionExperimentTreatments3 is { } __value2) + else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1) { - appStoreVersionExperimentTreatments3?.Invoke(__value2); + appStoreVersionExperimentTreatmentLocalizations2?.Invoke(__value1); } } @@ -300,9 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appStoreVersionExperimentTreatments1 = null, - global::System.Action? appStoreVersionExperimentTreatments2 = null, - global::System.Action? appStoreVersionExperimentTreatments3 = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations1 = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations2 = null, bool validate = true) { if (validate) @@ -310,17 +234,13 @@ public void Switch( Validate(); } - if (AppStoreVersionExperimentTreatments1 is { } __value0) - { - appStoreVersionExperimentTreatments1?.Invoke(__value0); - } - else if (AppStoreVersionExperimentTreatments2 is { } __value1) + if (AppStoreVersionExperimentTreatmentLocalizations1 is { } __value0) { - appStoreVersionExperimentTreatments2?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations1?.Invoke(__value0); } - else if (AppStoreVersionExperimentTreatments3 is { } __value2) + else if (AppStoreVersionExperimentTreatmentLocalizations2 is { } __value1) { - appStoreVersionExperimentTreatments3?.Invoke(__value2); + appStoreVersionExperimentTreatmentLocalizations2?.Invoke(__value1); } } @@ -331,12 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppStoreVersionExperimentTreatments1, - typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), - AppStoreVersionExperimentTreatments2, - typeof(global::AppStoreConnect.AppStoreVersion), - AppStoreVersionExperimentTreatments3, - typeof(global::AppStoreConnect.App), + AppStoreVersionExperimentTreatmentLocalizations1, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), + AppStoreVersionExperimentTreatmentLocalizations2, + typeof(global::AppStoreConnect.AppStoreVersionExperiment), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem39 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments1, other.AppStoreVersionExperimentTreatments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments2, other.AppStoreVersionExperimentTreatments2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments3, other.AppStoreVersionExperimentTreatments3) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations1, other.AppStoreVersionExperimentTreatmentLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations2, other.AppStoreVersionExperimentTreatmentLocalizations2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem4.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem4.g.cs index 7c8e76b44..0550db39e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem4.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem4.g.cs @@ -12,220 +12,412 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipAdvancedExperienceImage? AppClipAdvancedExperienceImages { get; init; } + public global::AppStoreConnect.AppAssetLibraryImage? AppAssetLibraryImages { get; init; } #else - public global::AppStoreConnect.AppClipAdvancedExperienceImage? AppClipAdvancedExperienceImages { get; } + public global::AppStoreConnect.AppAssetLibraryImage? AppAssetLibraryImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryImages))] #endif - public bool IsAppClipAdvancedExperienceImages => AppClipAdvancedExperienceImages != null; + public bool IsAppAssetLibraryImages => AppAssetLibraryImages != null; /// /// /// - public bool TryPickAppClipAdvancedExperienceImages( + public bool TryPickAppAssetLibraryImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipAdvancedExperienceImage? value) + out global::AppStoreConnect.AppAssetLibraryImage? value) { - value = AppClipAdvancedExperienceImages; - return IsAppClipAdvancedExperienceImages; + value = AppAssetLibraryImages; + return IsAppAssetLibraryImages; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceImage PickAppClipAdvancedExperienceImages() => AppClipAdvancedExperienceImages is { } value + public global::AppStoreConnect.AppAssetLibraryImage PickAppAssetLibraryImages() => AppAssetLibraryImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? AppClipAdvancedExperienceLocalizations1 { get; init; } + public global::AppStoreConnect.AppAssetLibraryVideo? AppAssetLibraryVideos { get; init; } #else - public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? AppClipAdvancedExperienceLocalizations1 { get; } + public global::AppStoreConnect.AppAssetLibraryVideo? AppAssetLibraryVideos { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryVideos))] #endif - public bool IsAppClipAdvancedExperienceLocalizations1 => AppClipAdvancedExperienceLocalizations1 != null; + public bool IsAppAssetLibraryVideos => AppAssetLibraryVideos != null; /// /// /// - public bool TryPickAppClipAdvancedExperienceLocalizations1( + public bool TryPickAppAssetLibraryVideos( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) + out global::AppStoreConnect.AppAssetLibraryVideo? value) { - value = AppClipAdvancedExperienceLocalizations1; - return IsAppClipAdvancedExperienceLocalizations1; + value = AppAssetLibraryVideos; + return IsAppAssetLibraryVideos; } /// /// /// - public global::AppStoreConnect.AppClipAdvancedExperienceLocalization PickAppClipAdvancedExperienceLocalizations1() => AppClipAdvancedExperienceLocalizations1 is { } value + public global::AppStoreConnect.AppAssetLibraryVideo PickAppAssetLibraryVideos() => AppAssetLibraryVideos is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceLocalizations1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryVideos' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClip? AppClipAdvancedExperienceLocalizations2 { get; init; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; init; } #else - public global::AppStoreConnect.AppClip? AppClipAdvancedExperienceLocalizations2 { get; } + public global::AppStoreConnect.AppCustomProductPageLocalization? AppCustomProductPageLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceLocalizations2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPageLocalizations))] #endif - public bool IsAppClipAdvancedExperienceLocalizations2 => AppClipAdvancedExperienceLocalizations2 != null; + public bool IsAppCustomProductPageLocalizations => AppCustomProductPageLocalizations != null; /// /// /// - public bool TryPickAppClipAdvancedExperienceLocalizations2( + public bool TryPickAppCustomProductPageLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClip? value) + out global::AppStoreConnect.AppCustomProductPageLocalization? value) { - value = AppClipAdvancedExperienceLocalizations2; - return IsAppClipAdvancedExperienceLocalizations2; + value = AppCustomProductPageLocalizations; + return IsAppCustomProductPageLocalizations; } /// /// /// - public global::AppStoreConnect.AppClip PickAppClipAdvancedExperienceLocalizations2() => AppClipAdvancedExperienceLocalizations2 is { } value + public global::AppStoreConnect.AppCustomProductPageLocalization PickAppCustomProductPageLocalizations() => AppCustomProductPageLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPageLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppEventLocalization? AppEventLocalizations { get; init; } +#else + public global::AppStoreConnect.AppEventLocalization? AppEventLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEventLocalizations))] +#endif + public bool IsAppEventLocalizations => AppEventLocalizations != null; + + /// + /// + /// + public bool TryPickAppEventLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppEventLocalization? value) + { + value = AppEventLocalizations; + return IsAppEventLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppEventLocalization PickAppEventLocalizations() => AppEventLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEventLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? AppStoreVersionExperimentTreatmentLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatmentLocalizations))] +#endif + public bool IsAppStoreVersionExperimentTreatmentLocalizations => AppStoreVersionExperimentTreatmentLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperimentTreatmentLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) + { + value = AppStoreVersionExperimentTreatmentLocalizations; + return IsAppStoreVersionExperimentTreatmentLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization PickAppStoreVersionExperimentTreatmentLocalizations() => AppStoreVersionExperimentTreatmentLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatmentLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] +#endif + public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + + /// + /// + /// + public bool TryPickAppStoreVersionLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionLocalization? value) + { + value = AppStoreVersionLocalizations; + return IsAppStoreVersionLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem4(global::AppStoreConnect.AppAssetLibraryImage value) => new IncludedItem4((global::AppStoreConnect.AppAssetLibraryImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryImage?(IncludedItem4 @this) => @this.AppAssetLibraryImages; + + /// + /// + /// + public IncludedItem4(global::AppStoreConnect.AppAssetLibraryImage? value) + { + AppAssetLibraryImages = value; + } + + /// + /// + /// + public static IncludedItem4 FromAppAssetLibraryImages(global::AppStoreConnect.AppAssetLibraryImage? value) => new IncludedItem4(value); + + /// + /// + /// + public static implicit operator IncludedItem4(global::AppStoreConnect.AppAssetLibraryVideo value) => new IncludedItem4((global::AppStoreConnect.AppAssetLibraryVideo?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryVideo?(IncludedItem4 @this) => @this.AppAssetLibraryVideos; + + /// + /// + /// + public IncludedItem4(global::AppStoreConnect.AppAssetLibraryVideo? value) + { + AppAssetLibraryVideos = value; + } + + /// + /// + /// + public static IncludedItem4 FromAppAssetLibraryVideos(global::AppStoreConnect.AppAssetLibraryVideo? value) => new IncludedItem4(value); + /// /// /// - public static implicit operator IncludedItem4(global::AppStoreConnect.AppClipAdvancedExperienceImage value) => new IncludedItem4((global::AppStoreConnect.AppClipAdvancedExperienceImage?)value); + public static implicit operator IncludedItem4(global::AppStoreConnect.AppCustomProductPageLocalization value) => new IncludedItem4((global::AppStoreConnect.AppCustomProductPageLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClipAdvancedExperienceImage?(IncludedItem4 @this) => @this.AppClipAdvancedExperienceImages; + public static implicit operator global::AppStoreConnect.AppCustomProductPageLocalization?(IncludedItem4 @this) => @this.AppCustomProductPageLocalizations; /// /// /// - public IncludedItem4(global::AppStoreConnect.AppClipAdvancedExperienceImage? value) + public IncludedItem4(global::AppStoreConnect.AppCustomProductPageLocalization? value) { - AppClipAdvancedExperienceImages = value; + AppCustomProductPageLocalizations = value; } /// /// /// - public static IncludedItem4 FromAppClipAdvancedExperienceImages(global::AppStoreConnect.AppClipAdvancedExperienceImage? value) => new IncludedItem4(value); + public static IncludedItem4 FromAppCustomProductPageLocalizations(global::AppStoreConnect.AppCustomProductPageLocalization? value) => new IncludedItem4(value); /// /// /// - public static implicit operator IncludedItem4(global::AppStoreConnect.AppClipAdvancedExperienceLocalization value) => new IncludedItem4((global::AppStoreConnect.AppClipAdvancedExperienceLocalization?)value); + public static implicit operator IncludedItem4(global::AppStoreConnect.AppEventLocalization value) => new IncludedItem4((global::AppStoreConnect.AppEventLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClipAdvancedExperienceLocalization?(IncludedItem4 @this) => @this.AppClipAdvancedExperienceLocalizations1; + public static implicit operator global::AppStoreConnect.AppEventLocalization?(IncludedItem4 @this) => @this.AppEventLocalizations; /// /// /// - public IncludedItem4(global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) + public IncludedItem4(global::AppStoreConnect.AppEventLocalization? value) { - AppClipAdvancedExperienceLocalizations1 = value; + AppEventLocalizations = value; } /// /// /// - public static IncludedItem4 FromAppClipAdvancedExperienceLocalizations1(global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) => new IncludedItem4(value); + public static IncludedItem4 FromAppEventLocalizations(global::AppStoreConnect.AppEventLocalization? value) => new IncludedItem4(value); /// /// /// - public static implicit operator IncludedItem4(global::AppStoreConnect.AppClip value) => new IncludedItem4((global::AppStoreConnect.AppClip?)value); + public static implicit operator IncludedItem4(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization value) => new IncludedItem4((global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem4 @this) => @this.AppClipAdvancedExperienceLocalizations2; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization?(IncludedItem4 @this) => @this.AppStoreVersionExperimentTreatmentLocalizations; /// /// /// - public IncludedItem4(global::AppStoreConnect.AppClip? value) + public IncludedItem4(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) { - AppClipAdvancedExperienceLocalizations2 = value; + AppStoreVersionExperimentTreatmentLocalizations = value; } /// /// /// - public static IncludedItem4 FromAppClipAdvancedExperienceLocalizations2(global::AppStoreConnect.AppClip? value) => new IncludedItem4(value); + public static IncludedItem4 FromAppStoreVersionExperimentTreatmentLocalizations(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? value) => new IncludedItem4(value); + + /// + /// + /// + public static implicit operator IncludedItem4(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem4((global::AppStoreConnect.AppStoreVersionLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem4 @this) => @this.AppStoreVersionLocalizations; + + /// + /// + /// + public IncludedItem4(global::AppStoreConnect.AppStoreVersionLocalization? value) + { + AppStoreVersionLocalizations = value; + } + + /// + /// + /// + public static IncludedItem4 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem4(value); /// /// /// public IncludedItem4( - global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppClipAdvancedExperienceImage? appClipAdvancedExperienceImages, - global::AppStoreConnect.AppClipAdvancedExperienceLocalization? appClipAdvancedExperienceLocalizations1, - global::AppStoreConnect.AppClip? appClipAdvancedExperienceLocalizations2 + global::AppStoreConnect.AppAssetLibraryPlacementResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryImage? appAssetLibraryImages, + global::AppStoreConnect.AppAssetLibraryVideo? appAssetLibraryVideos, + global::AppStoreConnect.AppCustomProductPageLocalization? appCustomProductPageLocalizations, + global::AppStoreConnect.AppEventLocalization? appEventLocalizations, + global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization? appStoreVersionExperimentTreatmentLocalizations, + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations ) { Type = type; - AppClipAdvancedExperienceImages = appClipAdvancedExperienceImages; - AppClipAdvancedExperienceLocalizations1 = appClipAdvancedExperienceLocalizations1; - AppClipAdvancedExperienceLocalizations2 = appClipAdvancedExperienceLocalizations2; + AppAssetLibraryImages = appAssetLibraryImages; + AppAssetLibraryVideos = appAssetLibraryVideos; + AppCustomProductPageLocalizations = appCustomProductPageLocalizations; + AppEventLocalizations = appEventLocalizations; + AppStoreVersionExperimentTreatmentLocalizations = appStoreVersionExperimentTreatmentLocalizations; + AppStoreVersionLocalizations = appStoreVersionLocalizations; } /// /// /// public object? Object => - AppClipAdvancedExperienceLocalizations2 as object ?? - AppClipAdvancedExperienceLocalizations1 as object ?? - AppClipAdvancedExperienceImages as object + AppStoreVersionLocalizations as object ?? + AppStoreVersionExperimentTreatmentLocalizations as object ?? + AppEventLocalizations as object ?? + AppCustomProductPageLocalizations as object ?? + AppAssetLibraryVideos as object ?? + AppAssetLibraryImages as object ; /// /// /// public override string? ToString() => - AppClipAdvancedExperienceImages?.ToString() ?? - AppClipAdvancedExperienceLocalizations1?.ToString() ?? - AppClipAdvancedExperienceLocalizations2?.ToString() + AppAssetLibraryImages?.ToString() ?? + AppAssetLibraryVideos?.ToString() ?? + AppCustomProductPageLocalizations?.ToString() ?? + AppEventLocalizations?.ToString() ?? + AppStoreVersionExperimentTreatmentLocalizations?.ToString() ?? + AppStoreVersionLocalizations?.ToString() ; /// @@ -233,16 +425,19 @@ AppClipAdvancedExperienceImages as object /// public bool Validate() { - return IsAppClipAdvancedExperienceImages && !IsAppClipAdvancedExperienceLocalizations1 && !IsAppClipAdvancedExperienceLocalizations2 || !IsAppClipAdvancedExperienceImages && IsAppClipAdvancedExperienceLocalizations1 && !IsAppClipAdvancedExperienceLocalizations2 || !IsAppClipAdvancedExperienceImages && !IsAppClipAdvancedExperienceLocalizations1 && IsAppClipAdvancedExperienceLocalizations2; + return IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && IsAppStoreVersionExperimentTreatmentLocalizations && !IsAppStoreVersionLocalizations || !IsAppAssetLibraryImages && !IsAppAssetLibraryVideos && !IsAppCustomProductPageLocalizations && !IsAppEventLocalizations && !IsAppStoreVersionExperimentTreatmentLocalizations && IsAppStoreVersionLocalizations; } /// /// /// public TResult? Match( - global::System.Func? appClipAdvancedExperienceImages = null, - global::System.Func? appClipAdvancedExperienceLocalizations1 = null, - global::System.Func? appClipAdvancedExperienceLocalizations2 = null, + global::System.Func? appAssetLibraryImages = null, + global::System.Func? appAssetLibraryVideos = null, + global::System.Func? appCustomProductPageLocalizations = null, + global::System.Func? appEventLocalizations = null, + global::System.Func? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Func? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -250,17 +445,29 @@ public bool Validate() Validate(); } - if (AppClipAdvancedExperienceImages is { } __value0 && appClipAdvancedExperienceImages != null) + if (AppAssetLibraryImages is { } __value0 && appAssetLibraryImages != null) + { + return appAssetLibraryImages(__value0); + } + else if (AppAssetLibraryVideos is { } __value1 && appAssetLibraryVideos != null) { - return appClipAdvancedExperienceImages(__value0); + return appAssetLibraryVideos(__value1); } - else if (AppClipAdvancedExperienceLocalizations1 is { } __value1 && appClipAdvancedExperienceLocalizations1 != null) + else if (AppCustomProductPageLocalizations is { } __value2 && appCustomProductPageLocalizations != null) { - return appClipAdvancedExperienceLocalizations1(__value1); + return appCustomProductPageLocalizations(__value2); } - else if (AppClipAdvancedExperienceLocalizations2 is { } __value2 && appClipAdvancedExperienceLocalizations2 != null) + else if (AppEventLocalizations is { } __value3 && appEventLocalizations != null) { - return appClipAdvancedExperienceLocalizations2(__value2); + return appEventLocalizations(__value3); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value4 && appStoreVersionExperimentTreatmentLocalizations != null) + { + return appStoreVersionExperimentTreatmentLocalizations(__value4); + } + else if (AppStoreVersionLocalizations is { } __value5 && appStoreVersionLocalizations != null) + { + return appStoreVersionLocalizations(__value5); } return default(TResult); @@ -270,11 +477,17 @@ public bool Validate() /// /// public void Match( - global::System.Action? appClipAdvancedExperienceImages = null, + global::System.Action? appAssetLibraryImages = null, + + global::System.Action? appAssetLibraryVideos = null, - global::System.Action? appClipAdvancedExperienceLocalizations1 = null, + global::System.Action? appCustomProductPageLocalizations = null, - global::System.Action? appClipAdvancedExperienceLocalizations2 = null, + global::System.Action? appEventLocalizations = null, + + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -282,17 +495,29 @@ public void Match( Validate(); } - if (AppClipAdvancedExperienceImages is { } __value0) + if (AppAssetLibraryImages is { } __value0) { - appClipAdvancedExperienceImages?.Invoke(__value0); + appAssetLibraryImages?.Invoke(__value0); } - else if (AppClipAdvancedExperienceLocalizations1 is { } __value1) + else if (AppAssetLibraryVideos is { } __value1) { - appClipAdvancedExperienceLocalizations1?.Invoke(__value1); + appAssetLibraryVideos?.Invoke(__value1); } - else if (AppClipAdvancedExperienceLocalizations2 is { } __value2) + else if (AppCustomProductPageLocalizations is { } __value2) { - appClipAdvancedExperienceLocalizations2?.Invoke(__value2); + appCustomProductPageLocalizations?.Invoke(__value2); + } + else if (AppEventLocalizations is { } __value3) + { + appEventLocalizations?.Invoke(__value3); + } + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value4) + { + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value4); + } + else if (AppStoreVersionLocalizations is { } __value5) + { + appStoreVersionLocalizations?.Invoke(__value5); } } @@ -300,9 +525,12 @@ public void Match( /// /// public void Switch( - global::System.Action? appClipAdvancedExperienceImages = null, - global::System.Action? appClipAdvancedExperienceLocalizations1 = null, - global::System.Action? appClipAdvancedExperienceLocalizations2 = null, + global::System.Action? appAssetLibraryImages = null, + global::System.Action? appAssetLibraryVideos = null, + global::System.Action? appCustomProductPageLocalizations = null, + global::System.Action? appEventLocalizations = null, + global::System.Action? appStoreVersionExperimentTreatmentLocalizations = null, + global::System.Action? appStoreVersionLocalizations = null, bool validate = true) { if (validate) @@ -310,17 +538,29 @@ public void Switch( Validate(); } - if (AppClipAdvancedExperienceImages is { } __value0) + if (AppAssetLibraryImages is { } __value0) + { + appAssetLibraryImages?.Invoke(__value0); + } + else if (AppAssetLibraryVideos is { } __value1) + { + appAssetLibraryVideos?.Invoke(__value1); + } + else if (AppCustomProductPageLocalizations is { } __value2) + { + appCustomProductPageLocalizations?.Invoke(__value2); + } + else if (AppEventLocalizations is { } __value3) { - appClipAdvancedExperienceImages?.Invoke(__value0); + appEventLocalizations?.Invoke(__value3); } - else if (AppClipAdvancedExperienceLocalizations1 is { } __value1) + else if (AppStoreVersionExperimentTreatmentLocalizations is { } __value4) { - appClipAdvancedExperienceLocalizations1?.Invoke(__value1); + appStoreVersionExperimentTreatmentLocalizations?.Invoke(__value4); } - else if (AppClipAdvancedExperienceLocalizations2 is { } __value2) + else if (AppStoreVersionLocalizations is { } __value5) { - appClipAdvancedExperienceLocalizations2?.Invoke(__value2); + appStoreVersionLocalizations?.Invoke(__value5); } } @@ -331,12 +571,18 @@ public override int GetHashCode() { var fields = new object?[] { - AppClipAdvancedExperienceImages, - typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), - AppClipAdvancedExperienceLocalizations1, - typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), - AppClipAdvancedExperienceLocalizations2, - typeof(global::AppStoreConnect.AppClip), + AppAssetLibraryImages, + typeof(global::AppStoreConnect.AppAssetLibraryImage), + AppAssetLibraryVideos, + typeof(global::AppStoreConnect.AppAssetLibraryVideo), + AppCustomProductPageLocalizations, + typeof(global::AppStoreConnect.AppCustomProductPageLocalization), + AppEventLocalizations, + typeof(global::AppStoreConnect.AppEventLocalization), + AppStoreVersionExperimentTreatmentLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization), + AppStoreVersionLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionLocalization), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +599,12 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem4 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceImages, other.AppClipAdvancedExperienceImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceLocalizations1, other.AppClipAdvancedExperienceLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceLocalizations2, other.AppClipAdvancedExperienceLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryImages, other.AppAssetLibraryImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryVideos, other.AppAssetLibraryVideos) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPageLocalizations, other.AppCustomProductPageLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEventLocalizations, other.AppEventLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatmentLocalizations, other.AppStoreVersionExperimentTreatmentLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem40.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem40.g.cs index 1aa7a80d1..22d8ef150 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem40.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem40.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -87,6 +87,43 @@ public bool TryPickAppStoreVersionExperimentTreatments2( public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperimentTreatments2() => AppStoreVersionExperimentTreatments2 is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppStoreVersionExperimentTreatments3 { get; init; } +#else + public global::AppStoreConnect.App? AppStoreVersionExperimentTreatments3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments3))] +#endif + public bool IsAppStoreVersionExperimentTreatments3 => AppStoreVersionExperimentTreatments3 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperimentTreatments3( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.App? value) + { + value = AppStoreVersionExperimentTreatments3; + return IsAppStoreVersionExperimentTreatments3; + } + + /// + /// + /// + public global::AppStoreConnect.App PickAppStoreVersionExperimentTreatments3() => AppStoreVersionExperimentTreatments3 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments3' but the value was {ToString()}."); /// /// /// @@ -133,25 +170,51 @@ public IncludedItem40(global::AppStoreConnect.AppStoreVersion? value) /// public static IncludedItem40 FromAppStoreVersionExperimentTreatments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem40(value); + /// + /// + /// + public static implicit operator IncludedItem40(global::AppStoreConnect.App value) => new IncludedItem40((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem40 @this) => @this.AppStoreVersionExperimentTreatments3; + + /// + /// + /// + public IncludedItem40(global::AppStoreConnect.App? value) + { + AppStoreVersionExperimentTreatments3 = value; + } + + /// + /// + /// + public static IncludedItem40 FromAppStoreVersionExperimentTreatments3(global::AppStoreConnect.App? value) => new IncludedItem40(value); + /// /// /// public IncludedItem40( - global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1, - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2, + global::AppStoreConnect.App? appStoreVersionExperimentTreatments3 ) { Type = type; AppStoreVersionExperimentTreatments1 = appStoreVersionExperimentTreatments1; AppStoreVersionExperimentTreatments2 = appStoreVersionExperimentTreatments2; + AppStoreVersionExperimentTreatments3 = appStoreVersionExperimentTreatments3; } /// /// /// public object? Object => + AppStoreVersionExperimentTreatments3 as object ?? AppStoreVersionExperimentTreatments2 as object ?? AppStoreVersionExperimentTreatments1 as object ; @@ -161,7 +224,8 @@ AppStoreVersionExperimentTreatments1 as object /// public override string? ToString() => AppStoreVersionExperimentTreatments1?.ToString() ?? - AppStoreVersionExperimentTreatments2?.ToString() + AppStoreVersionExperimentTreatments2?.ToString() ?? + AppStoreVersionExperimentTreatments3?.ToString() ; /// @@ -169,7 +233,7 @@ AppStoreVersionExperimentTreatments1 as object /// public bool Validate() { - return IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 || !IsAppStoreVersionExperimentTreatments1 && IsAppStoreVersionExperimentTreatments2; + return IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 && !IsAppStoreVersionExperimentTreatments3 || !IsAppStoreVersionExperimentTreatments1 && IsAppStoreVersionExperimentTreatments2 && !IsAppStoreVersionExperimentTreatments3 || !IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 && IsAppStoreVersionExperimentTreatments3; } /// @@ -178,6 +242,7 @@ public bool Validate() public TResult? Match( global::System.Func? appStoreVersionExperimentTreatments1 = null, global::System.Func? appStoreVersionExperimentTreatments2 = null, + global::System.Func? appStoreVersionExperimentTreatments3 = null, bool validate = true) { if (validate) @@ -193,6 +258,10 @@ public bool Validate() { return appStoreVersionExperimentTreatments2(__value1); } + else if (AppStoreVersionExperimentTreatments3 is { } __value2 && appStoreVersionExperimentTreatments3 != null) + { + return appStoreVersionExperimentTreatments3(__value2); + } return default(TResult); } @@ -204,6 +273,8 @@ public void Match( global::System.Action? appStoreVersionExperimentTreatments1 = null, global::System.Action? appStoreVersionExperimentTreatments2 = null, + + global::System.Action? appStoreVersionExperimentTreatments3 = null, bool validate = true) { if (validate) @@ -219,6 +290,10 @@ public void Match( { appStoreVersionExperimentTreatments2?.Invoke(__value1); } + else if (AppStoreVersionExperimentTreatments3 is { } __value2) + { + appStoreVersionExperimentTreatments3?.Invoke(__value2); + } } /// @@ -227,6 +302,7 @@ public void Match( public void Switch( global::System.Action? appStoreVersionExperimentTreatments1 = null, global::System.Action? appStoreVersionExperimentTreatments2 = null, + global::System.Action? appStoreVersionExperimentTreatments3 = null, bool validate = true) { if (validate) @@ -242,6 +318,10 @@ public void Switch( { appStoreVersionExperimentTreatments2?.Invoke(__value1); } + else if (AppStoreVersionExperimentTreatments3 is { } __value2) + { + appStoreVersionExperimentTreatments3?.Invoke(__value2); + } } /// @@ -255,6 +335,8 @@ public override int GetHashCode() typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), AppStoreVersionExperimentTreatments2, typeof(global::AppStoreConnect.AppStoreVersion), + AppStoreVersionExperimentTreatments3, + typeof(global::AppStoreConnect.App), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -272,7 +354,8 @@ public bool Equals(IncludedItem40 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments1, other.AppStoreVersionExperimentTreatments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments2, other.AppStoreVersionExperimentTreatments2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments2, other.AppStoreVersionExperimentTreatments2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments3, other.AppStoreVersionExperimentTreatments3) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem41.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem41.g.cs index 142257a25..145918ec3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem41.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem41.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -87,6 +87,43 @@ public bool TryPickAppStoreVersionExperimentTreatments2( public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperimentTreatments2() => AppStoreVersionExperimentTreatments2 is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppStoreVersionExperimentTreatments3 { get; init; } +#else + public global::AppStoreConnect.App? AppStoreVersionExperimentTreatments3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments3))] +#endif + public bool IsAppStoreVersionExperimentTreatments3 => AppStoreVersionExperimentTreatments3 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperimentTreatments3( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.App? value) + { + value = AppStoreVersionExperimentTreatments3; + return IsAppStoreVersionExperimentTreatments3; + } + + /// + /// + /// + public global::AppStoreConnect.App PickAppStoreVersionExperimentTreatments3() => AppStoreVersionExperimentTreatments3 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments3' but the value was {ToString()}."); /// /// /// @@ -133,25 +170,51 @@ public IncludedItem41(global::AppStoreConnect.AppStoreVersion? value) /// public static IncludedItem41 FromAppStoreVersionExperimentTreatments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem41(value); + /// + /// + /// + public static implicit operator IncludedItem41(global::AppStoreConnect.App value) => new IncludedItem41((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem41 @this) => @this.AppStoreVersionExperimentTreatments3; + + /// + /// + /// + public IncludedItem41(global::AppStoreConnect.App? value) + { + AppStoreVersionExperimentTreatments3 = value; + } + + /// + /// + /// + public static IncludedItem41 FromAppStoreVersionExperimentTreatments3(global::AppStoreConnect.App? value) => new IncludedItem41(value); + /// /// /// public IncludedItem41( - global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersionExperimentV2ResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1, - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2, + global::AppStoreConnect.App? appStoreVersionExperimentTreatments3 ) { Type = type; AppStoreVersionExperimentTreatments1 = appStoreVersionExperimentTreatments1; AppStoreVersionExperimentTreatments2 = appStoreVersionExperimentTreatments2; + AppStoreVersionExperimentTreatments3 = appStoreVersionExperimentTreatments3; } /// /// /// public object? Object => + AppStoreVersionExperimentTreatments3 as object ?? AppStoreVersionExperimentTreatments2 as object ?? AppStoreVersionExperimentTreatments1 as object ; @@ -161,7 +224,8 @@ AppStoreVersionExperimentTreatments1 as object /// public override string? ToString() => AppStoreVersionExperimentTreatments1?.ToString() ?? - AppStoreVersionExperimentTreatments2?.ToString() + AppStoreVersionExperimentTreatments2?.ToString() ?? + AppStoreVersionExperimentTreatments3?.ToString() ; /// @@ -169,7 +233,7 @@ AppStoreVersionExperimentTreatments1 as object /// public bool Validate() { - return IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 || !IsAppStoreVersionExperimentTreatments1 && IsAppStoreVersionExperimentTreatments2; + return IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 && !IsAppStoreVersionExperimentTreatments3 || !IsAppStoreVersionExperimentTreatments1 && IsAppStoreVersionExperimentTreatments2 && !IsAppStoreVersionExperimentTreatments3 || !IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 && IsAppStoreVersionExperimentTreatments3; } /// @@ -178,6 +242,7 @@ public bool Validate() public TResult? Match( global::System.Func? appStoreVersionExperimentTreatments1 = null, global::System.Func? appStoreVersionExperimentTreatments2 = null, + global::System.Func? appStoreVersionExperimentTreatments3 = null, bool validate = true) { if (validate) @@ -193,6 +258,10 @@ public bool Validate() { return appStoreVersionExperimentTreatments2(__value1); } + else if (AppStoreVersionExperimentTreatments3 is { } __value2 && appStoreVersionExperimentTreatments3 != null) + { + return appStoreVersionExperimentTreatments3(__value2); + } return default(TResult); } @@ -204,6 +273,8 @@ public void Match( global::System.Action? appStoreVersionExperimentTreatments1 = null, global::System.Action? appStoreVersionExperimentTreatments2 = null, + + global::System.Action? appStoreVersionExperimentTreatments3 = null, bool validate = true) { if (validate) @@ -219,6 +290,10 @@ public void Match( { appStoreVersionExperimentTreatments2?.Invoke(__value1); } + else if (AppStoreVersionExperimentTreatments3 is { } __value2) + { + appStoreVersionExperimentTreatments3?.Invoke(__value2); + } } /// @@ -227,6 +302,7 @@ public void Match( public void Switch( global::System.Action? appStoreVersionExperimentTreatments1 = null, global::System.Action? appStoreVersionExperimentTreatments2 = null, + global::System.Action? appStoreVersionExperimentTreatments3 = null, bool validate = true) { if (validate) @@ -242,6 +318,10 @@ public void Switch( { appStoreVersionExperimentTreatments2?.Invoke(__value1); } + else if (AppStoreVersionExperimentTreatments3 is { } __value2) + { + appStoreVersionExperimentTreatments3?.Invoke(__value2); + } } /// @@ -255,6 +335,8 @@ public override int GetHashCode() typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), AppStoreVersionExperimentTreatments2, typeof(global::AppStoreConnect.AppStoreVersion), + AppStoreVersionExperimentTreatments3, + typeof(global::AppStoreConnect.App), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -272,7 +354,8 @@ public bool Equals(IncludedItem41 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments1, other.AppStoreVersionExperimentTreatments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments2, other.AppStoreVersionExperimentTreatments2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments2, other.AppStoreVersionExperimentTreatments2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments3, other.AppStoreVersionExperimentTreatments3) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem42.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem42.g.cs index 6dd0cc7bd..6b0f9626a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem42.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem42.g.cs @@ -12,223 +12,103 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppKeyword? AppKeywords { get; init; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments1 { get; init; } #else - public global::AppStoreConnect.AppKeyword? AppKeywords { get; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppKeywords))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments1))] #endif - public bool IsAppKeywords => AppKeywords != null; + public bool IsAppStoreVersionExperimentTreatments1 => AppStoreVersionExperimentTreatments1 != null; /// /// /// - public bool TryPickAppKeywords( + public bool TryPickAppStoreVersionExperimentTreatments1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppKeyword? value) + out global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) { - value = AppKeywords; - return IsAppKeywords; + value = AppStoreVersionExperimentTreatments1; + return IsAppStoreVersionExperimentTreatments1; } /// /// /// - public global::AppStoreConnect.AppKeyword PickAppKeywords() => AppKeywords is { } value + public global::AppStoreConnect.AppStoreVersionExperimentTreatment PickAppStoreVersionExperimentTreatments1() => AppStoreVersionExperimentTreatments1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppKeywords' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperimentTreatments2 { get; init; } #else - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperimentTreatments2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments2))] #endif - public bool IsAppPreviewSets => AppPreviewSets != null; + public bool IsAppStoreVersionExperimentTreatments2 => AppStoreVersionExperimentTreatments2 != null; /// /// /// - public bool TryPickAppPreviewSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppPreviewSet? value) - { - value = AppPreviewSets; - return IsAppPreviewSets; - } - - /// - /// - /// - public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } -#else - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] -#endif - public bool IsAppScreenshotSets => AppScreenshotSets != null; - - /// - /// - /// - public bool TryPickAppScreenshotSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppScreenshotSet? value) - { - value = AppScreenshotSets; - return IsAppScreenshotSets; - } - - /// - /// - /// - public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } -#else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] -#endif - public bool IsAppStoreVersions => AppStoreVersions != null; - - /// - /// - /// - public bool TryPickAppStoreVersions( + public bool TryPickAppStoreVersionExperimentTreatments2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.AppStoreVersion? value) { - value = AppStoreVersions; - return IsAppStoreVersions; + value = AppStoreVersionExperimentTreatments2; + return IsAppStoreVersionExperimentTreatments2; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperimentTreatments2() => AppStoreVersionExperimentTreatments2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem42(global::AppStoreConnect.AppKeyword value) => new IncludedItem42((global::AppStoreConnect.AppKeyword?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppKeyword?(IncludedItem42 @this) => @this.AppKeywords; - - /// - /// - /// - public IncludedItem42(global::AppStoreConnect.AppKeyword? value) - { - AppKeywords = value; - } - - /// - /// - /// - public static IncludedItem42 FromAppKeywords(global::AppStoreConnect.AppKeyword? value) => new IncludedItem42(value); - - /// - /// - /// - public static implicit operator IncludedItem42(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem42((global::AppStoreConnect.AppPreviewSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem42 @this) => @this.AppPreviewSets; - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments2' but the value was {ToString()}."); /// /// /// - public IncludedItem42(global::AppStoreConnect.AppPreviewSet? value) - { - AppPreviewSets = value; - } + public static implicit operator IncludedItem42(global::AppStoreConnect.AppStoreVersionExperimentTreatment value) => new IncludedItem42((global::AppStoreConnect.AppStoreVersionExperimentTreatment?)value); /// /// /// - public static IncludedItem42 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem42(value); + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatment?(IncludedItem42 @this) => @this.AppStoreVersionExperimentTreatments1; /// /// /// - public static implicit operator IncludedItem42(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem42((global::AppStoreConnect.AppScreenshotSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem42 @this) => @this.AppScreenshotSets; - - /// - /// - /// - public IncludedItem42(global::AppStoreConnect.AppScreenshotSet? value) + public IncludedItem42(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) { - AppScreenshotSets = value; + AppStoreVersionExperimentTreatments1 = value; } /// /// /// - public static IncludedItem42 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem42(value); + public static IncludedItem42 FromAppStoreVersionExperimentTreatments1(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) => new IncludedItem42(value); /// /// @@ -238,58 +118,50 @@ public IncludedItem42(global::AppStoreConnect.AppScreenshotSet? value) /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem42 @this) => @this.AppStoreVersions; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem42 @this) => @this.AppStoreVersionExperimentTreatments2; /// /// /// public IncludedItem42(global::AppStoreConnect.AppStoreVersion? value) { - AppStoreVersions = value; + AppStoreVersionExperimentTreatments2 = value; } /// /// /// - public static IncludedItem42 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem42(value); + public static IncludedItem42 FromAppStoreVersionExperimentTreatments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem42(value); /// /// /// public IncludedItem42( - global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppKeyword? appKeywords, - global::AppStoreConnect.AppPreviewSet? appPreviewSets, - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets, - global::AppStoreConnect.AppStoreVersion? appStoreVersions + global::AppStoreConnect.AppStoreVersionExperimentsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1, + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 ) { Type = type; - AppKeywords = appKeywords; - AppPreviewSets = appPreviewSets; - AppScreenshotSets = appScreenshotSets; - AppStoreVersions = appStoreVersions; + AppStoreVersionExperimentTreatments1 = appStoreVersionExperimentTreatments1; + AppStoreVersionExperimentTreatments2 = appStoreVersionExperimentTreatments2; } /// /// /// public object? Object => - AppStoreVersions as object ?? - AppScreenshotSets as object ?? - AppPreviewSets as object ?? - AppKeywords as object + AppStoreVersionExperimentTreatments2 as object ?? + AppStoreVersionExperimentTreatments1 as object ; /// /// /// public override string? ToString() => - AppKeywords?.ToString() ?? - AppPreviewSets?.ToString() ?? - AppScreenshotSets?.ToString() ?? - AppStoreVersions?.ToString() + AppStoreVersionExperimentTreatments1?.ToString() ?? + AppStoreVersionExperimentTreatments2?.ToString() ; /// @@ -297,17 +169,15 @@ AppKeywords as object /// public bool Validate() { - return IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppKeywords && IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppKeywords && !IsAppPreviewSets && IsAppScreenshotSets && !IsAppStoreVersions || !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && IsAppStoreVersions; + return IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 || !IsAppStoreVersionExperimentTreatments1 && IsAppStoreVersionExperimentTreatments2; } /// /// /// public TResult? Match( - global::System.Func? appKeywords = null, - global::System.Func? appPreviewSets = null, - global::System.Func? appScreenshotSets = null, - global::System.Func? appStoreVersions = null, + global::System.Func? appStoreVersionExperimentTreatments1 = null, + global::System.Func? appStoreVersionExperimentTreatments2 = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (AppKeywords is { } __value0 && appKeywords != null) - { - return appKeywords(__value0); - } - else if (AppPreviewSets is { } __value1 && appPreviewSets != null) - { - return appPreviewSets(__value1); - } - else if (AppScreenshotSets is { } __value2 && appScreenshotSets != null) + if (AppStoreVersionExperimentTreatments1 is { } __value0 && appStoreVersionExperimentTreatments1 != null) { - return appScreenshotSets(__value2); + return appStoreVersionExperimentTreatments1(__value0); } - else if (AppStoreVersions is { } __value3 && appStoreVersions != null) + else if (AppStoreVersionExperimentTreatments2 is { } __value1 && appStoreVersionExperimentTreatments2 != null) { - return appStoreVersions(__value3); + return appStoreVersionExperimentTreatments2(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appKeywords = null, - - global::System.Action? appPreviewSets = null, + global::System.Action? appStoreVersionExperimentTreatments1 = null, - global::System.Action? appScreenshotSets = null, - - global::System.Action? appStoreVersions = null, + global::System.Action? appStoreVersionExperimentTreatments2 = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (AppKeywords is { } __value0) - { - appKeywords?.Invoke(__value0); - } - else if (AppPreviewSets is { } __value1) + if (AppStoreVersionExperimentTreatments1 is { } __value0) { - appPreviewSets?.Invoke(__value1); + appStoreVersionExperimentTreatments1?.Invoke(__value0); } - else if (AppScreenshotSets is { } __value2) + else if (AppStoreVersionExperimentTreatments2 is { } __value1) { - appScreenshotSets?.Invoke(__value2); - } - else if (AppStoreVersions is { } __value3) - { - appStoreVersions?.Invoke(__value3); + appStoreVersionExperimentTreatments2?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appKeywords = null, - global::System.Action? appPreviewSets = null, - global::System.Action? appScreenshotSets = null, - global::System.Action? appStoreVersions = null, + global::System.Action? appStoreVersionExperimentTreatments1 = null, + global::System.Action? appStoreVersionExperimentTreatments2 = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (AppKeywords is { } __value0) - { - appKeywords?.Invoke(__value0); - } - else if (AppPreviewSets is { } __value1) - { - appPreviewSets?.Invoke(__value1); - } - else if (AppScreenshotSets is { } __value2) + if (AppStoreVersionExperimentTreatments1 is { } __value0) { - appScreenshotSets?.Invoke(__value2); + appStoreVersionExperimentTreatments1?.Invoke(__value0); } - else if (AppStoreVersions is { } __value3) + else if (AppStoreVersionExperimentTreatments2 is { } __value1) { - appStoreVersions?.Invoke(__value3); + appStoreVersionExperimentTreatments2?.Invoke(__value1); } } @@ -411,13 +251,9 @@ public override int GetHashCode() { var fields = new object?[] { - AppKeywords, - typeof(global::AppStoreConnect.AppKeyword), - AppPreviewSets, - typeof(global::AppStoreConnect.AppPreviewSet), - AppScreenshotSets, - typeof(global::AppStoreConnect.AppScreenshotSet), - AppStoreVersions, + AppStoreVersionExperimentTreatments1, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), + AppStoreVersionExperimentTreatments2, typeof(global::AppStoreConnect.AppStoreVersion), }; const int offset = unchecked((int)2166136261); @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem42 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppKeywords, other.AppKeywords) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments1, other.AppStoreVersionExperimentTreatments1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments2, other.AppStoreVersionExperimentTreatments2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem43.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem43.g.cs index 7b7703129..54bc11155 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem43.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem43.g.cs @@ -12,223 +12,103 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppKeyword? AppKeywords { get; init; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments1 { get; init; } #else - public global::AppStoreConnect.AppKeyword? AppKeywords { get; } + public global::AppStoreConnect.AppStoreVersionExperimentTreatment? AppStoreVersionExperimentTreatments1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppKeywords))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments1))] #endif - public bool IsAppKeywords => AppKeywords != null; + public bool IsAppStoreVersionExperimentTreatments1 => AppStoreVersionExperimentTreatments1 != null; /// /// /// - public bool TryPickAppKeywords( + public bool TryPickAppStoreVersionExperimentTreatments1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppKeyword? value) + out global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) { - value = AppKeywords; - return IsAppKeywords; + value = AppStoreVersionExperimentTreatments1; + return IsAppStoreVersionExperimentTreatments1; } /// /// /// - public global::AppStoreConnect.AppKeyword PickAppKeywords() => AppKeywords is { } value + public global::AppStoreConnect.AppStoreVersionExperimentTreatment PickAppStoreVersionExperimentTreatments1() => AppStoreVersionExperimentTreatments1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppKeywords' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperimentTreatments2 { get; init; } #else - public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperimentTreatments2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperimentTreatments2))] #endif - public bool IsAppPreviewSets => AppPreviewSets != null; + public bool IsAppStoreVersionExperimentTreatments2 => AppStoreVersionExperimentTreatments2 != null; /// /// /// - public bool TryPickAppPreviewSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppPreviewSet? value) - { - value = AppPreviewSets; - return IsAppPreviewSets; - } - - /// - /// - /// - public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } -#else - public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] -#endif - public bool IsAppScreenshotSets => AppScreenshotSets != null; - - /// - /// - /// - public bool TryPickAppScreenshotSets( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppScreenshotSet? value) - { - value = AppScreenshotSets; - return IsAppScreenshotSets; - } - - /// - /// - /// - public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } -#else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] -#endif - public bool IsAppStoreVersions => AppStoreVersions != null; - - /// - /// - /// - public bool TryPickAppStoreVersions( + public bool TryPickAppStoreVersionExperimentTreatments2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.AppStoreVersion? value) { - value = AppStoreVersions; - return IsAppStoreVersions; + value = AppStoreVersionExperimentTreatments2; + return IsAppStoreVersionExperimentTreatments2; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperimentTreatments2() => AppStoreVersionExperimentTreatments2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem43(global::AppStoreConnect.AppKeyword value) => new IncludedItem43((global::AppStoreConnect.AppKeyword?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppKeyword?(IncludedItem43 @this) => @this.AppKeywords; - - /// - /// - /// - public IncludedItem43(global::AppStoreConnect.AppKeyword? value) - { - AppKeywords = value; - } - - /// - /// - /// - public static IncludedItem43 FromAppKeywords(global::AppStoreConnect.AppKeyword? value) => new IncludedItem43(value); - - /// - /// - /// - public static implicit operator IncludedItem43(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem43((global::AppStoreConnect.AppPreviewSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem43 @this) => @this.AppPreviewSets; - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperimentTreatments2' but the value was {ToString()}."); /// /// /// - public IncludedItem43(global::AppStoreConnect.AppPreviewSet? value) - { - AppPreviewSets = value; - } + public static implicit operator IncludedItem43(global::AppStoreConnect.AppStoreVersionExperimentTreatment value) => new IncludedItem43((global::AppStoreConnect.AppStoreVersionExperimentTreatment?)value); /// /// /// - public static IncludedItem43 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem43(value); + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentTreatment?(IncludedItem43 @this) => @this.AppStoreVersionExperimentTreatments1; /// /// /// - public static implicit operator IncludedItem43(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem43((global::AppStoreConnect.AppScreenshotSet?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem43 @this) => @this.AppScreenshotSets; - - /// - /// - /// - public IncludedItem43(global::AppStoreConnect.AppScreenshotSet? value) + public IncludedItem43(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) { - AppScreenshotSets = value; + AppStoreVersionExperimentTreatments1 = value; } /// /// /// - public static IncludedItem43 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem43(value); + public static IncludedItem43 FromAppStoreVersionExperimentTreatments1(global::AppStoreConnect.AppStoreVersionExperimentTreatment? value) => new IncludedItem43(value); /// /// @@ -238,58 +118,50 @@ public IncludedItem43(global::AppStoreConnect.AppScreenshotSet? value) /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem43 @this) => @this.AppStoreVersions; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem43 @this) => @this.AppStoreVersionExperimentTreatments2; /// /// /// public IncludedItem43(global::AppStoreConnect.AppStoreVersion? value) { - AppStoreVersions = value; + AppStoreVersionExperimentTreatments2 = value; } /// /// /// - public static IncludedItem43 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem43(value); + public static IncludedItem43 FromAppStoreVersionExperimentTreatments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem43(value); /// /// /// public IncludedItem43( - global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppKeyword? appKeywords, - global::AppStoreConnect.AppPreviewSet? appPreviewSets, - global::AppStoreConnect.AppScreenshotSet? appScreenshotSets, - global::AppStoreConnect.AppStoreVersion? appStoreVersions + global::AppStoreConnect.AppStoreVersionExperimentResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersionExperimentTreatment? appStoreVersionExperimentTreatments1, + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperimentTreatments2 ) { Type = type; - AppKeywords = appKeywords; - AppPreviewSets = appPreviewSets; - AppScreenshotSets = appScreenshotSets; - AppStoreVersions = appStoreVersions; + AppStoreVersionExperimentTreatments1 = appStoreVersionExperimentTreatments1; + AppStoreVersionExperimentTreatments2 = appStoreVersionExperimentTreatments2; } /// /// /// public object? Object => - AppStoreVersions as object ?? - AppScreenshotSets as object ?? - AppPreviewSets as object ?? - AppKeywords as object + AppStoreVersionExperimentTreatments2 as object ?? + AppStoreVersionExperimentTreatments1 as object ; /// /// /// public override string? ToString() => - AppKeywords?.ToString() ?? - AppPreviewSets?.ToString() ?? - AppScreenshotSets?.ToString() ?? - AppStoreVersions?.ToString() + AppStoreVersionExperimentTreatments1?.ToString() ?? + AppStoreVersionExperimentTreatments2?.ToString() ; /// @@ -297,17 +169,15 @@ AppKeywords as object /// public bool Validate() { - return IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppKeywords && IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppKeywords && !IsAppPreviewSets && IsAppScreenshotSets && !IsAppStoreVersions || !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && IsAppStoreVersions; + return IsAppStoreVersionExperimentTreatments1 && !IsAppStoreVersionExperimentTreatments2 || !IsAppStoreVersionExperimentTreatments1 && IsAppStoreVersionExperimentTreatments2; } /// /// /// public TResult? Match( - global::System.Func? appKeywords = null, - global::System.Func? appPreviewSets = null, - global::System.Func? appScreenshotSets = null, - global::System.Func? appStoreVersions = null, + global::System.Func? appStoreVersionExperimentTreatments1 = null, + global::System.Func? appStoreVersionExperimentTreatments2 = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (AppKeywords is { } __value0 && appKeywords != null) - { - return appKeywords(__value0); - } - else if (AppPreviewSets is { } __value1 && appPreviewSets != null) - { - return appPreviewSets(__value1); - } - else if (AppScreenshotSets is { } __value2 && appScreenshotSets != null) + if (AppStoreVersionExperimentTreatments1 is { } __value0 && appStoreVersionExperimentTreatments1 != null) { - return appScreenshotSets(__value2); + return appStoreVersionExperimentTreatments1(__value0); } - else if (AppStoreVersions is { } __value3 && appStoreVersions != null) + else if (AppStoreVersionExperimentTreatments2 is { } __value1 && appStoreVersionExperimentTreatments2 != null) { - return appStoreVersions(__value3); + return appStoreVersionExperimentTreatments2(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appKeywords = null, - - global::System.Action? appPreviewSets = null, + global::System.Action? appStoreVersionExperimentTreatments1 = null, - global::System.Action? appScreenshotSets = null, - - global::System.Action? appStoreVersions = null, + global::System.Action? appStoreVersionExperimentTreatments2 = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (AppKeywords is { } __value0) - { - appKeywords?.Invoke(__value0); - } - else if (AppPreviewSets is { } __value1) + if (AppStoreVersionExperimentTreatments1 is { } __value0) { - appPreviewSets?.Invoke(__value1); + appStoreVersionExperimentTreatments1?.Invoke(__value0); } - else if (AppScreenshotSets is { } __value2) + else if (AppStoreVersionExperimentTreatments2 is { } __value1) { - appScreenshotSets?.Invoke(__value2); - } - else if (AppStoreVersions is { } __value3) - { - appStoreVersions?.Invoke(__value3); + appStoreVersionExperimentTreatments2?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appKeywords = null, - global::System.Action? appPreviewSets = null, - global::System.Action? appScreenshotSets = null, - global::System.Action? appStoreVersions = null, + global::System.Action? appStoreVersionExperimentTreatments1 = null, + global::System.Action? appStoreVersionExperimentTreatments2 = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (AppKeywords is { } __value0) - { - appKeywords?.Invoke(__value0); - } - else if (AppPreviewSets is { } __value1) - { - appPreviewSets?.Invoke(__value1); - } - else if (AppScreenshotSets is { } __value2) + if (AppStoreVersionExperimentTreatments1 is { } __value0) { - appScreenshotSets?.Invoke(__value2); + appStoreVersionExperimentTreatments1?.Invoke(__value0); } - else if (AppStoreVersions is { } __value3) + else if (AppStoreVersionExperimentTreatments2 is { } __value1) { - appStoreVersions?.Invoke(__value3); + appStoreVersionExperimentTreatments2?.Invoke(__value1); } } @@ -411,13 +251,9 @@ public override int GetHashCode() { var fields = new object?[] { - AppKeywords, - typeof(global::AppStoreConnect.AppKeyword), - AppPreviewSets, - typeof(global::AppStoreConnect.AppPreviewSet), - AppScreenshotSets, - typeof(global::AppStoreConnect.AppScreenshotSet), - AppStoreVersions, + AppStoreVersionExperimentTreatments1, + typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment), + AppStoreVersionExperimentTreatments2, typeof(global::AppStoreConnect.AppStoreVersion), }; const int offset = unchecked((int)2166136261); @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem43 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppKeywords, other.AppKeywords) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments1, other.AppStoreVersionExperimentTreatments1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperimentTreatments2, other.AppStoreVersionExperimentTreatments2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem44.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem44.g.cs index 60a391840..86d8ad948 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem44.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem44.g.cs @@ -12,732 +12,348 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AlternativeDistributionPackage? AlternativeDistributionPackages { get; init; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; init; } #else - public global::AppStoreConnect.AlternativeDistributionPackage? AlternativeDistributionPackages { get; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AlternativeDistributionPackages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacements))] #endif - public bool IsAlternativeDistributionPackages => AlternativeDistributionPackages != null; + public bool IsAppAssetLibraryPlacements => AppAssetLibraryPlacements != null; /// /// /// - public bool TryPickAlternativeDistributionPackages( + public bool TryPickAppAssetLibraryPlacements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AlternativeDistributionPackage? value) + out global::AppStoreConnect.AppAssetLibraryPlacement? value) { - value = AlternativeDistributionPackages; - return IsAlternativeDistributionPackages; + value = AppAssetLibraryPlacements; + return IsAppAssetLibraryPlacements; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackage PickAlternativeDistributionPackages() => AlternativeDistributionPackages is { } value + public global::AppStoreConnect.AppAssetLibraryPlacement PickAppAssetLibraryPlacements() => AppAssetLibraryPlacements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AlternativeDistributionPackages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; init; } + public global::AppStoreConnect.AppKeyword? AppKeywords { get; init; } #else - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; } + public global::AppStoreConnect.AppKeyword? AppKeywords { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppKeywords))] #endif - public bool IsAppClipDefaultExperiences1 => AppClipDefaultExperiences1 != null; + public bool IsAppKeywords => AppKeywords != null; /// /// /// - public bool TryPickAppClipDefaultExperiences1( + public bool TryPickAppKeywords( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipDefaultExperience? value) + out global::AppStoreConnect.AppKeyword? value) { - value = AppClipDefaultExperiences1; - return IsAppClipDefaultExperiences1; + value = AppKeywords; + return IsAppKeywords; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences1() => AppClipDefaultExperiences1 is { } value + public global::AppStoreConnect.AppKeyword PickAppKeywords() => AppKeywords is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppKeywords' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreReviewDetail? AppStoreReviewDetails { get; init; } + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } #else - public global::AppStoreConnect.AppStoreReviewDetail? AppStoreReviewDetails { get; } + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreReviewDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] #endif - public bool IsAppStoreReviewDetails => AppStoreReviewDetails != null; + public bool IsAppPreviewSets => AppPreviewSets != null; /// /// /// - public bool TryPickAppStoreReviewDetails( + public bool TryPickAppPreviewSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreReviewDetail? value) + out global::AppStoreConnect.AppPreviewSet? value) { - value = AppStoreReviewDetails; - return IsAppStoreReviewDetails; + value = AppPreviewSets; + return IsAppPreviewSets; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetail PickAppStoreReviewDetails() => AppStoreReviewDetails is { } value + public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreReviewDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments { get; init; } + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments { get; } + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] #endif - public bool IsAppStoreVersionExperiments => AppStoreVersionExperiments != null; + public bool IsAppScreenshotSets => AppScreenshotSets != null; /// /// /// - public bool TryPickAppStoreVersionExperiments( + public bool TryPickAppScreenshotSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperiment? value) + out global::AppStoreConnect.AppScreenshotSet? value) { - value = AppStoreVersionExperiments; - return IsAppStoreVersionExperiments; + value = AppScreenshotSets; + return IsAppScreenshotSets; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperiments() => AppStoreVersionExperiments is { } value + public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } #else - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] #endif - public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + public bool IsAppStoreVersions => AppStoreVersions != null; /// /// /// - public bool TryPickAppStoreVersionLocalizations( + public bool TryPickAppStoreVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionLocalization? value) + out global::AppStoreConnect.AppStoreVersion? value) { - value = AppStoreVersionLocalizations; - return IsAppStoreVersionLocalizations; + value = AppStoreVersions; + return IsAppStoreVersions; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionPhasedRelease? AppStoreVersionPhasedReleases { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionPhasedRelease? AppStoreVersionPhasedReleases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionPhasedReleases))] -#endif - public bool IsAppStoreVersionPhasedReleases => AppStoreVersionPhasedReleases != null; - - /// - /// - /// - public bool TryPickAppStoreVersionPhasedReleases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionPhasedRelease? value) - { - value = AppStoreVersionPhasedReleases; - return IsAppStoreVersionPhasedReleases; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionPhasedRelease PickAppStoreVersionPhasedReleases() => AppStoreVersionPhasedReleases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionPhasedReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionSubmission? AppStoreVersionSubmissions { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionSubmission? AppStoreVersionSubmissions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionSubmissions))] -#endif - public bool IsAppStoreVersionSubmissions => AppStoreVersionSubmissions != null; - - /// - /// - /// - public bool TryPickAppStoreVersionSubmissions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionSubmission? value) - { - value = AppStoreVersionSubmissions; - return IsAppStoreVersionSubmissions; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionSubmission PickAppStoreVersionSubmissions() => AppStoreVersionSubmissions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionSubmissions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; init; } -#else - public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences2))] -#endif - public bool IsAppClipDefaultExperiences2 => AppClipDefaultExperiences2 != null; - - /// - /// - /// - public bool TryPickAppClipDefaultExperiences2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) - { - value = AppClipDefaultExperiences2; - return IsAppClipDefaultExperiences2; - } - - /// - /// - /// - public global::AppStoreConnect.App PickAppClipDefaultExperiences2() => AppClipDefaultExperiences2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } -#else - public global::AppStoreConnect.Build? Builds { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] -#endif - public bool IsBuilds => Builds != null; - - /// - /// - /// - public bool TryPickBuilds( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Build? value) - { - value = Builds; - return IsBuilds; - } - - /// - /// - /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions))] -#endif - public bool IsGameCenterAppVersions => GameCenterAppVersions != null; - - /// - /// - /// - public bool TryPickGameCenterAppVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAppVersion? value) - { - value = GameCenterAppVersions; - return IsGameCenterAppVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions() => GameCenterAppVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.RoutingAppCoverage? RoutingAppCoverages { get; init; } -#else - public global::AppStoreConnect.RoutingAppCoverage? RoutingAppCoverages { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RoutingAppCoverages))] -#endif - public bool IsRoutingAppCoverages => RoutingAppCoverages != null; - - /// - /// - /// - public bool TryPickRoutingAppCoverages( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.RoutingAppCoverage? value) - { - value = RoutingAppCoverages; - return IsRoutingAppCoverages; - } - - /// - /// - /// - public global::AppStoreConnect.RoutingAppCoverage PickRoutingAppCoverages() => RoutingAppCoverages is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'RoutingAppCoverages' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem44(global::AppStoreConnect.AlternativeDistributionPackage value) => new IncludedItem44((global::AppStoreConnect.AlternativeDistributionPackage?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AlternativeDistributionPackage?(IncludedItem44 @this) => @this.AlternativeDistributionPackages; - - /// - /// - /// - public IncludedItem44(global::AppStoreConnect.AlternativeDistributionPackage? value) - { - AlternativeDistributionPackages = value; - } - - /// - /// - /// - public static IncludedItem44 FromAlternativeDistributionPackages(global::AppStoreConnect.AlternativeDistributionPackage? value) => new IncludedItem44(value); - - /// - /// - /// - public static implicit operator IncludedItem44(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem44((global::AppStoreConnect.AppClipDefaultExperience?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem44 @this) => @this.AppClipDefaultExperiences1; - - /// - /// - /// - public IncludedItem44(global::AppStoreConnect.AppClipDefaultExperience? value) - { - AppClipDefaultExperiences1 = value; - } - - /// - /// - /// - public static IncludedItem44 FromAppClipDefaultExperiences1(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem44(value); - - /// - /// - /// - public static implicit operator IncludedItem44(global::AppStoreConnect.AppStoreReviewDetail value) => new IncludedItem44((global::AppStoreConnect.AppStoreReviewDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreReviewDetail?(IncludedItem44 @this) => @this.AppStoreReviewDetails; - - /// - /// - /// - public IncludedItem44(global::AppStoreConnect.AppStoreReviewDetail? value) - { - AppStoreReviewDetails = value; - } - - /// - /// - /// - public static IncludedItem44 FromAppStoreReviewDetails(global::AppStoreConnect.AppStoreReviewDetail? value) => new IncludedItem44(value); - - /// - /// - /// - public static implicit operator IncludedItem44(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem44((global::AppStoreConnect.AppStoreVersionExperiment?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem44 @this) => @this.AppStoreVersionExperiments; - - /// - /// - /// - public IncludedItem44(global::AppStoreConnect.AppStoreVersionExperiment? value) - { - AppStoreVersionExperiments = value; - } - - /// - /// - /// - public static IncludedItem44 FromAppStoreVersionExperiments(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem44(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem44(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem44((global::AppStoreConnect.AppStoreVersionLocalization?)value); + public static implicit operator IncludedItem44(global::AppStoreConnect.AppAssetLibraryPlacement value) => new IncludedItem44((global::AppStoreConnect.AppAssetLibraryPlacement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem44 @this) => @this.AppStoreVersionLocalizations; + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacement?(IncludedItem44 @this) => @this.AppAssetLibraryPlacements; /// /// /// - public IncludedItem44(global::AppStoreConnect.AppStoreVersionLocalization? value) + public IncludedItem44(global::AppStoreConnect.AppAssetLibraryPlacement? value) { - AppStoreVersionLocalizations = value; + AppAssetLibraryPlacements = value; } /// /// /// - public static IncludedItem44 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem44(value); + public static IncludedItem44 FromAppAssetLibraryPlacements(global::AppStoreConnect.AppAssetLibraryPlacement? value) => new IncludedItem44(value); /// /// /// - public static implicit operator IncludedItem44(global::AppStoreConnect.AppStoreVersionPhasedRelease value) => new IncludedItem44((global::AppStoreConnect.AppStoreVersionPhasedRelease?)value); + public static implicit operator IncludedItem44(global::AppStoreConnect.AppKeyword value) => new IncludedItem44((global::AppStoreConnect.AppKeyword?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionPhasedRelease?(IncludedItem44 @this) => @this.AppStoreVersionPhasedReleases; + public static implicit operator global::AppStoreConnect.AppKeyword?(IncludedItem44 @this) => @this.AppKeywords; /// /// /// - public IncludedItem44(global::AppStoreConnect.AppStoreVersionPhasedRelease? value) + public IncludedItem44(global::AppStoreConnect.AppKeyword? value) { - AppStoreVersionPhasedReleases = value; + AppKeywords = value; } /// /// /// - public static IncludedItem44 FromAppStoreVersionPhasedReleases(global::AppStoreConnect.AppStoreVersionPhasedRelease? value) => new IncludedItem44(value); + public static IncludedItem44 FromAppKeywords(global::AppStoreConnect.AppKeyword? value) => new IncludedItem44(value); /// /// /// - public static implicit operator IncludedItem44(global::AppStoreConnect.AppStoreVersionSubmission value) => new IncludedItem44((global::AppStoreConnect.AppStoreVersionSubmission?)value); + public static implicit operator IncludedItem44(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem44((global::AppStoreConnect.AppPreviewSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionSubmission?(IncludedItem44 @this) => @this.AppStoreVersionSubmissions; + public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem44 @this) => @this.AppPreviewSets; /// /// /// - public IncludedItem44(global::AppStoreConnect.AppStoreVersionSubmission? value) + public IncludedItem44(global::AppStoreConnect.AppPreviewSet? value) { - AppStoreVersionSubmissions = value; + AppPreviewSets = value; } /// /// /// - public static IncludedItem44 FromAppStoreVersionSubmissions(global::AppStoreConnect.AppStoreVersionSubmission? value) => new IncludedItem44(value); + public static IncludedItem44 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem44(value); /// /// /// - public static implicit operator IncludedItem44(global::AppStoreConnect.App value) => new IncludedItem44((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem44(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem44((global::AppStoreConnect.AppScreenshotSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem44 @this) => @this.AppClipDefaultExperiences2; + public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem44 @this) => @this.AppScreenshotSets; /// /// /// - public IncludedItem44(global::AppStoreConnect.App? value) + public IncludedItem44(global::AppStoreConnect.AppScreenshotSet? value) { - AppClipDefaultExperiences2 = value; + AppScreenshotSets = value; } /// /// /// - public static IncludedItem44 FromAppClipDefaultExperiences2(global::AppStoreConnect.App? value) => new IncludedItem44(value); + public static IncludedItem44 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem44(value); /// /// /// - public static implicit operator IncludedItem44(global::AppStoreConnect.Build value) => new IncludedItem44((global::AppStoreConnect.Build?)value); + public static implicit operator IncludedItem44(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem44((global::AppStoreConnect.AppStoreVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem44 @this) => @this.Builds; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem44 @this) => @this.AppStoreVersions; /// /// /// - public IncludedItem44(global::AppStoreConnect.Build? value) + public IncludedItem44(global::AppStoreConnect.AppStoreVersion? value) { - Builds = value; + AppStoreVersions = value; } /// /// /// - public static IncludedItem44 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem44(value); - - /// - /// - /// - public static implicit operator IncludedItem44(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem44((global::AppStoreConnect.GameCenterAppVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem44 @this) => @this.GameCenterAppVersions; - - /// - /// - /// - public IncludedItem44(global::AppStoreConnect.GameCenterAppVersion? value) - { - GameCenterAppVersions = value; - } - - /// - /// - /// - public static IncludedItem44 FromGameCenterAppVersions(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem44(value); - - /// - /// - /// - public static implicit operator IncludedItem44(global::AppStoreConnect.RoutingAppCoverage value) => new IncludedItem44((global::AppStoreConnect.RoutingAppCoverage?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.RoutingAppCoverage?(IncludedItem44 @this) => @this.RoutingAppCoverages; - - /// - /// - /// - public IncludedItem44(global::AppStoreConnect.RoutingAppCoverage? value) - { - RoutingAppCoverages = value; - } - - /// - /// - /// - public static IncludedItem44 FromRoutingAppCoverages(global::AppStoreConnect.RoutingAppCoverage? value) => new IncludedItem44(value); + public static IncludedItem44 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem44(value); /// /// /// public IncludedItem44( - global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AlternativeDistributionPackage? alternativeDistributionPackages, - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1, - global::AppStoreConnect.AppStoreReviewDetail? appStoreReviewDetails, - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments, - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations, - global::AppStoreConnect.AppStoreVersionPhasedRelease? appStoreVersionPhasedReleases, - global::AppStoreConnect.AppStoreVersionSubmission? appStoreVersionSubmissions, - global::AppStoreConnect.App? appClipDefaultExperiences2, - global::AppStoreConnect.Build? builds, - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions, - global::AppStoreConnect.RoutingAppCoverage? routingAppCoverages + global::AppStoreConnect.AppStoreVersionLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements, + global::AppStoreConnect.AppKeyword? appKeywords, + global::AppStoreConnect.AppPreviewSet? appPreviewSets, + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets, + global::AppStoreConnect.AppStoreVersion? appStoreVersions ) { Type = type; - AlternativeDistributionPackages = alternativeDistributionPackages; - AppClipDefaultExperiences1 = appClipDefaultExperiences1; - AppStoreReviewDetails = appStoreReviewDetails; - AppStoreVersionExperiments = appStoreVersionExperiments; - AppStoreVersionLocalizations = appStoreVersionLocalizations; - AppStoreVersionPhasedReleases = appStoreVersionPhasedReleases; - AppStoreVersionSubmissions = appStoreVersionSubmissions; - AppClipDefaultExperiences2 = appClipDefaultExperiences2; - Builds = builds; - GameCenterAppVersions = gameCenterAppVersions; - RoutingAppCoverages = routingAppCoverages; + AppAssetLibraryPlacements = appAssetLibraryPlacements; + AppKeywords = appKeywords; + AppPreviewSets = appPreviewSets; + AppScreenshotSets = appScreenshotSets; + AppStoreVersions = appStoreVersions; } /// /// /// public object? Object => - RoutingAppCoverages as object ?? - GameCenterAppVersions as object ?? - Builds as object ?? - AppClipDefaultExperiences2 as object ?? - AppStoreVersionSubmissions as object ?? - AppStoreVersionPhasedReleases as object ?? - AppStoreVersionLocalizations as object ?? - AppStoreVersionExperiments as object ?? - AppStoreReviewDetails as object ?? - AppClipDefaultExperiences1 as object ?? - AlternativeDistributionPackages as object + AppStoreVersions as object ?? + AppScreenshotSets as object ?? + AppPreviewSets as object ?? + AppKeywords as object ?? + AppAssetLibraryPlacements as object ; /// /// /// public override string? ToString() => - AlternativeDistributionPackages?.ToString() ?? - AppClipDefaultExperiences1?.ToString() ?? - AppStoreReviewDetails?.ToString() ?? - AppStoreVersionExperiments?.ToString() ?? - AppStoreVersionLocalizations?.ToString() ?? - AppStoreVersionPhasedReleases?.ToString() ?? - AppStoreVersionSubmissions?.ToString() ?? - AppClipDefaultExperiences2?.ToString() ?? - Builds?.ToString() ?? - GameCenterAppVersions?.ToString() ?? - RoutingAppCoverages?.ToString() + AppAssetLibraryPlacements?.ToString() ?? + AppKeywords?.ToString() ?? + AppPreviewSets?.ToString() ?? + AppScreenshotSets?.ToString() ?? + AppStoreVersions?.ToString() ; /// @@ -745,24 +361,18 @@ AlternativeDistributionPackages as object /// public bool Validate() { - return IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && IsRoutingAppCoverages; + return IsAppAssetLibraryPlacements && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppAssetLibraryPlacements && IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppAssetLibraryPlacements && !IsAppKeywords && IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppAssetLibraryPlacements && !IsAppKeywords && !IsAppPreviewSets && IsAppScreenshotSets && !IsAppStoreVersions || !IsAppAssetLibraryPlacements && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && IsAppStoreVersions; } /// /// /// public TResult? Match( - global::System.Func? alternativeDistributionPackages = null, - global::System.Func? appClipDefaultExperiences1 = null, - global::System.Func? appStoreReviewDetails = null, - global::System.Func? appStoreVersionExperiments = null, - global::System.Func? appStoreVersionLocalizations = null, - global::System.Func? appStoreVersionPhasedReleases = null, - global::System.Func? appStoreVersionSubmissions = null, - global::System.Func? appClipDefaultExperiences2 = null, - global::System.Func? builds = null, - global::System.Func? gameCenterAppVersions = null, - global::System.Func? routingAppCoverages = null, + global::System.Func? appAssetLibraryPlacements = null, + global::System.Func? appKeywords = null, + global::System.Func? appPreviewSets = null, + global::System.Func? appScreenshotSets = null, + global::System.Func? appStoreVersions = null, bool validate = true) { if (validate) @@ -770,49 +380,25 @@ public bool Validate() Validate(); } - if (AlternativeDistributionPackages is { } __value0 && alternativeDistributionPackages != null) - { - return alternativeDistributionPackages(__value0); - } - else if (AppClipDefaultExperiences1 is { } __value1 && appClipDefaultExperiences1 != null) - { - return appClipDefaultExperiences1(__value1); - } - else if (AppStoreReviewDetails is { } __value2 && appStoreReviewDetails != null) - { - return appStoreReviewDetails(__value2); - } - else if (AppStoreVersionExperiments is { } __value3 && appStoreVersionExperiments != null) - { - return appStoreVersionExperiments(__value3); - } - else if (AppStoreVersionLocalizations is { } __value4 && appStoreVersionLocalizations != null) + if (AppAssetLibraryPlacements is { } __value0 && appAssetLibraryPlacements != null) { - return appStoreVersionLocalizations(__value4); + return appAssetLibraryPlacements(__value0); } - else if (AppStoreVersionPhasedReleases is { } __value5 && appStoreVersionPhasedReleases != null) + else if (AppKeywords is { } __value1 && appKeywords != null) { - return appStoreVersionPhasedReleases(__value5); + return appKeywords(__value1); } - else if (AppStoreVersionSubmissions is { } __value6 && appStoreVersionSubmissions != null) + else if (AppPreviewSets is { } __value2 && appPreviewSets != null) { - return appStoreVersionSubmissions(__value6); + return appPreviewSets(__value2); } - else if (AppClipDefaultExperiences2 is { } __value7 && appClipDefaultExperiences2 != null) + else if (AppScreenshotSets is { } __value3 && appScreenshotSets != null) { - return appClipDefaultExperiences2(__value7); + return appScreenshotSets(__value3); } - else if (Builds is { } __value8 && builds != null) + else if (AppStoreVersions is { } __value4 && appStoreVersions != null) { - return builds(__value8); - } - else if (GameCenterAppVersions is { } __value9 && gameCenterAppVersions != null) - { - return gameCenterAppVersions(__value9); - } - else if (RoutingAppCoverages is { } __value10 && routingAppCoverages != null) - { - return routingAppCoverages(__value10); + return appStoreVersions(__value4); } return default(TResult); @@ -822,27 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? alternativeDistributionPackages = null, - - global::System.Action? appClipDefaultExperiences1 = null, + global::System.Action? appAssetLibraryPlacements = null, - global::System.Action? appStoreReviewDetails = null, + global::System.Action? appKeywords = null, - global::System.Action? appStoreVersionExperiments = null, + global::System.Action? appPreviewSets = null, - global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? appScreenshotSets = null, - global::System.Action? appStoreVersionPhasedReleases = null, - - global::System.Action? appStoreVersionSubmissions = null, - - global::System.Action? appClipDefaultExperiences2 = null, - - global::System.Action? builds = null, - - global::System.Action? gameCenterAppVersions = null, - - global::System.Action? routingAppCoverages = null, + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -850,49 +424,25 @@ public void Match( Validate(); } - if (AlternativeDistributionPackages is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) { - alternativeDistributionPackages?.Invoke(__value0); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppClipDefaultExperiences1 is { } __value1) + else if (AppKeywords is { } __value1) { - appClipDefaultExperiences1?.Invoke(__value1); + appKeywords?.Invoke(__value1); } - else if (AppStoreReviewDetails is { } __value2) + else if (AppPreviewSets is { } __value2) { - appStoreReviewDetails?.Invoke(__value2); + appPreviewSets?.Invoke(__value2); } - else if (AppStoreVersionExperiments is { } __value3) + else if (AppScreenshotSets is { } __value3) { - appStoreVersionExperiments?.Invoke(__value3); + appScreenshotSets?.Invoke(__value3); } - else if (AppStoreVersionLocalizations is { } __value4) + else if (AppStoreVersions is { } __value4) { - appStoreVersionLocalizations?.Invoke(__value4); - } - else if (AppStoreVersionPhasedReleases is { } __value5) - { - appStoreVersionPhasedReleases?.Invoke(__value5); - } - else if (AppStoreVersionSubmissions is { } __value6) - { - appStoreVersionSubmissions?.Invoke(__value6); - } - else if (AppClipDefaultExperiences2 is { } __value7) - { - appClipDefaultExperiences2?.Invoke(__value7); - } - else if (Builds is { } __value8) - { - builds?.Invoke(__value8); - } - else if (GameCenterAppVersions is { } __value9) - { - gameCenterAppVersions?.Invoke(__value9); - } - else if (RoutingAppCoverages is { } __value10) - { - routingAppCoverages?.Invoke(__value10); + appStoreVersions?.Invoke(__value4); } } @@ -900,17 +450,11 @@ public void Match( /// /// public void Switch( - global::System.Action? alternativeDistributionPackages = null, - global::System.Action? appClipDefaultExperiences1 = null, - global::System.Action? appStoreReviewDetails = null, - global::System.Action? appStoreVersionExperiments = null, - global::System.Action? appStoreVersionLocalizations = null, - global::System.Action? appStoreVersionPhasedReleases = null, - global::System.Action? appStoreVersionSubmissions = null, - global::System.Action? appClipDefaultExperiences2 = null, - global::System.Action? builds = null, - global::System.Action? gameCenterAppVersions = null, - global::System.Action? routingAppCoverages = null, + global::System.Action? appAssetLibraryPlacements = null, + global::System.Action? appKeywords = null, + global::System.Action? appPreviewSets = null, + global::System.Action? appScreenshotSets = null, + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -918,49 +462,25 @@ public void Switch( Validate(); } - if (AlternativeDistributionPackages is { } __value0) - { - alternativeDistributionPackages?.Invoke(__value0); - } - else if (AppClipDefaultExperiences1 is { } __value1) - { - appClipDefaultExperiences1?.Invoke(__value1); - } - else if (AppStoreReviewDetails is { } __value2) - { - appStoreReviewDetails?.Invoke(__value2); - } - else if (AppStoreVersionExperiments is { } __value3) - { - appStoreVersionExperiments?.Invoke(__value3); - } - else if (AppStoreVersionLocalizations is { } __value4) - { - appStoreVersionLocalizations?.Invoke(__value4); - } - else if (AppStoreVersionPhasedReleases is { } __value5) - { - appStoreVersionPhasedReleases?.Invoke(__value5); - } - else if (AppStoreVersionSubmissions is { } __value6) + if (AppAssetLibraryPlacements is { } __value0) { - appStoreVersionSubmissions?.Invoke(__value6); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppClipDefaultExperiences2 is { } __value7) + else if (AppKeywords is { } __value1) { - appClipDefaultExperiences2?.Invoke(__value7); + appKeywords?.Invoke(__value1); } - else if (Builds is { } __value8) + else if (AppPreviewSets is { } __value2) { - builds?.Invoke(__value8); + appPreviewSets?.Invoke(__value2); } - else if (GameCenterAppVersions is { } __value9) + else if (AppScreenshotSets is { } __value3) { - gameCenterAppVersions?.Invoke(__value9); + appScreenshotSets?.Invoke(__value3); } - else if (RoutingAppCoverages is { } __value10) + else if (AppStoreVersions is { } __value4) { - routingAppCoverages?.Invoke(__value10); + appStoreVersions?.Invoke(__value4); } } @@ -971,28 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - AlternativeDistributionPackages, - typeof(global::AppStoreConnect.AlternativeDistributionPackage), - AppClipDefaultExperiences1, - typeof(global::AppStoreConnect.AppClipDefaultExperience), - AppStoreReviewDetails, - typeof(global::AppStoreConnect.AppStoreReviewDetail), - AppStoreVersionExperiments, - typeof(global::AppStoreConnect.AppStoreVersionExperiment), - AppStoreVersionLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionLocalization), - AppStoreVersionPhasedReleases, - typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), - AppStoreVersionSubmissions, - typeof(global::AppStoreConnect.AppStoreVersionSubmission), - AppClipDefaultExperiences2, - typeof(global::AppStoreConnect.App), - Builds, - typeof(global::AppStoreConnect.Build), - GameCenterAppVersions, - typeof(global::AppStoreConnect.GameCenterAppVersion), - RoutingAppCoverages, - typeof(global::AppStoreConnect.RoutingAppCoverage), + AppAssetLibraryPlacements, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + AppKeywords, + typeof(global::AppStoreConnect.AppKeyword), + AppPreviewSets, + typeof(global::AppStoreConnect.AppPreviewSet), + AppScreenshotSets, + typeof(global::AppStoreConnect.AppScreenshotSet), + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1009,17 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem44 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AlternativeDistributionPackages, other.AlternativeDistributionPackages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences1, other.AppClipDefaultExperiences1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreReviewDetails, other.AppStoreReviewDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments, other.AppStoreVersionExperiments) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionPhasedReleases, other.AppStoreVersionPhasedReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionSubmissions, other.AppStoreVersionSubmissions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences2, other.AppClipDefaultExperiences2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions, other.GameCenterAppVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(RoutingAppCoverages, other.RoutingAppCoverages) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacements, other.AppAssetLibraryPlacements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppKeywords, other.AppKeywords) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem45.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem45.g.cs index e0680a8f4..ab28b08ee 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem45.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem45.g.cs @@ -12,732 +12,348 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AlternativeDistributionPackage? AlternativeDistributionPackages { get; init; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; init; } #else - public global::AppStoreConnect.AlternativeDistributionPackage? AlternativeDistributionPackages { get; } + public global::AppStoreConnect.AppAssetLibraryPlacement? AppAssetLibraryPlacements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AlternativeDistributionPackages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppAssetLibraryPlacements))] #endif - public bool IsAlternativeDistributionPackages => AlternativeDistributionPackages != null; + public bool IsAppAssetLibraryPlacements => AppAssetLibraryPlacements != null; /// /// /// - public bool TryPickAlternativeDistributionPackages( + public bool TryPickAppAssetLibraryPlacements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AlternativeDistributionPackage? value) + out global::AppStoreConnect.AppAssetLibraryPlacement? value) { - value = AlternativeDistributionPackages; - return IsAlternativeDistributionPackages; + value = AppAssetLibraryPlacements; + return IsAppAssetLibraryPlacements; } /// /// /// - public global::AppStoreConnect.AlternativeDistributionPackage PickAlternativeDistributionPackages() => AlternativeDistributionPackages is { } value + public global::AppStoreConnect.AppAssetLibraryPlacement PickAppAssetLibraryPlacements() => AppAssetLibraryPlacements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AlternativeDistributionPackages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppAssetLibraryPlacements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; init; } + public global::AppStoreConnect.AppKeyword? AppKeywords { get; init; } #else - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; } + public global::AppStoreConnect.AppKeyword? AppKeywords { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppKeywords))] #endif - public bool IsAppClipDefaultExperiences1 => AppClipDefaultExperiences1 != null; + public bool IsAppKeywords => AppKeywords != null; /// /// /// - public bool TryPickAppClipDefaultExperiences1( + public bool TryPickAppKeywords( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipDefaultExperience? value) + out global::AppStoreConnect.AppKeyword? value) { - value = AppClipDefaultExperiences1; - return IsAppClipDefaultExperiences1; + value = AppKeywords; + return IsAppKeywords; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences1() => AppClipDefaultExperiences1 is { } value + public global::AppStoreConnect.AppKeyword PickAppKeywords() => AppKeywords is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppKeywords' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreReviewDetail? AppStoreReviewDetails { get; init; } + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; init; } #else - public global::AppStoreConnect.AppStoreReviewDetail? AppStoreReviewDetails { get; } + public global::AppStoreConnect.AppPreviewSet? AppPreviewSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreReviewDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppPreviewSets))] #endif - public bool IsAppStoreReviewDetails => AppStoreReviewDetails != null; + public bool IsAppPreviewSets => AppPreviewSets != null; /// /// /// - public bool TryPickAppStoreReviewDetails( + public bool TryPickAppPreviewSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreReviewDetail? value) + out global::AppStoreConnect.AppPreviewSet? value) { - value = AppStoreReviewDetails; - return IsAppStoreReviewDetails; + value = AppPreviewSets; + return IsAppPreviewSets; } /// /// /// - public global::AppStoreConnect.AppStoreReviewDetail PickAppStoreReviewDetails() => AppStoreReviewDetails is { } value + public global::AppStoreConnect.AppPreviewSet PickAppPreviewSets() => AppPreviewSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreReviewDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppPreviewSets' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments { get; init; } + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments { get; } + public global::AppStoreConnect.AppScreenshotSet? AppScreenshotSets { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppScreenshotSets))] #endif - public bool IsAppStoreVersionExperiments => AppStoreVersionExperiments != null; + public bool IsAppScreenshotSets => AppScreenshotSets != null; /// /// /// - public bool TryPickAppStoreVersionExperiments( + public bool TryPickAppScreenshotSets( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperiment? value) + out global::AppStoreConnect.AppScreenshotSet? value) { - value = AppStoreVersionExperiments; - return IsAppStoreVersionExperiments; + value = AppScreenshotSets; + return IsAppScreenshotSets; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperiments() => AppStoreVersionExperiments is { } value + public global::AppStoreConnect.AppScreenshotSet PickAppScreenshotSets() => AppScreenshotSets is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppScreenshotSets' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } #else - public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] #endif - public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; + public bool IsAppStoreVersions => AppStoreVersions != null; /// /// /// - public bool TryPickAppStoreVersionLocalizations( + public bool TryPickAppStoreVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionLocalization? value) + out global::AppStoreConnect.AppStoreVersion? value) { - value = AppStoreVersionLocalizations; - return IsAppStoreVersionLocalizations; + value = AppStoreVersions; + return IsAppStoreVersions; } /// /// /// - public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionPhasedRelease? AppStoreVersionPhasedReleases { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionPhasedRelease? AppStoreVersionPhasedReleases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionPhasedReleases))] -#endif - public bool IsAppStoreVersionPhasedReleases => AppStoreVersionPhasedReleases != null; - - /// - /// - /// - public bool TryPickAppStoreVersionPhasedReleases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionPhasedRelease? value) - { - value = AppStoreVersionPhasedReleases; - return IsAppStoreVersionPhasedReleases; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionPhasedRelease PickAppStoreVersionPhasedReleases() => AppStoreVersionPhasedReleases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionPhasedReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionSubmission? AppStoreVersionSubmissions { get; init; } -#else - public global::AppStoreConnect.AppStoreVersionSubmission? AppStoreVersionSubmissions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionSubmissions))] -#endif - public bool IsAppStoreVersionSubmissions => AppStoreVersionSubmissions != null; - - /// - /// - /// - public bool TryPickAppStoreVersionSubmissions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersionSubmission? value) - { - value = AppStoreVersionSubmissions; - return IsAppStoreVersionSubmissions; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersionSubmission PickAppStoreVersionSubmissions() => AppStoreVersionSubmissions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionSubmissions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; init; } -#else - public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences2))] -#endif - public bool IsAppClipDefaultExperiences2 => AppClipDefaultExperiences2 != null; - - /// - /// - /// - public bool TryPickAppClipDefaultExperiences2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) - { - value = AppClipDefaultExperiences2; - return IsAppClipDefaultExperiences2; - } - - /// - /// - /// - public global::AppStoreConnect.App PickAppClipDefaultExperiences2() => AppClipDefaultExperiences2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } -#else - public global::AppStoreConnect.Build? Builds { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] -#endif - public bool IsBuilds => Builds != null; - - /// - /// - /// - public bool TryPickBuilds( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Build? value) - { - value = Builds; - return IsBuilds; - } - - /// - /// - /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions))] -#endif - public bool IsGameCenterAppVersions => GameCenterAppVersions != null; - - /// - /// - /// - public bool TryPickGameCenterAppVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAppVersion? value) - { - value = GameCenterAppVersions; - return IsGameCenterAppVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions() => GameCenterAppVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.RoutingAppCoverage? RoutingAppCoverages { get; init; } -#else - public global::AppStoreConnect.RoutingAppCoverage? RoutingAppCoverages { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RoutingAppCoverages))] -#endif - public bool IsRoutingAppCoverages => RoutingAppCoverages != null; - - /// - /// - /// - public bool TryPickRoutingAppCoverages( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.RoutingAppCoverage? value) - { - value = RoutingAppCoverages; - return IsRoutingAppCoverages; - } - - /// - /// - /// - public global::AppStoreConnect.RoutingAppCoverage PickRoutingAppCoverages() => RoutingAppCoverages is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'RoutingAppCoverages' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem45(global::AppStoreConnect.AlternativeDistributionPackage value) => new IncludedItem45((global::AppStoreConnect.AlternativeDistributionPackage?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AlternativeDistributionPackage?(IncludedItem45 @this) => @this.AlternativeDistributionPackages; - - /// - /// - /// - public IncludedItem45(global::AppStoreConnect.AlternativeDistributionPackage? value) - { - AlternativeDistributionPackages = value; - } - - /// - /// - /// - public static IncludedItem45 FromAlternativeDistributionPackages(global::AppStoreConnect.AlternativeDistributionPackage? value) => new IncludedItem45(value); - - /// - /// - /// - public static implicit operator IncludedItem45(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem45((global::AppStoreConnect.AppClipDefaultExperience?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem45 @this) => @this.AppClipDefaultExperiences1; - - /// - /// - /// - public IncludedItem45(global::AppStoreConnect.AppClipDefaultExperience? value) - { - AppClipDefaultExperiences1 = value; - } - - /// - /// - /// - public static IncludedItem45 FromAppClipDefaultExperiences1(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem45(value); - - /// - /// - /// - public static implicit operator IncludedItem45(global::AppStoreConnect.AppStoreReviewDetail value) => new IncludedItem45((global::AppStoreConnect.AppStoreReviewDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreReviewDetail?(IncludedItem45 @this) => @this.AppStoreReviewDetails; - - /// - /// - /// - public IncludedItem45(global::AppStoreConnect.AppStoreReviewDetail? value) - { - AppStoreReviewDetails = value; - } - - /// - /// - /// - public static IncludedItem45 FromAppStoreReviewDetails(global::AppStoreConnect.AppStoreReviewDetail? value) => new IncludedItem45(value); - - /// - /// - /// - public static implicit operator IncludedItem45(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem45((global::AppStoreConnect.AppStoreVersionExperiment?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem45 @this) => @this.AppStoreVersionExperiments; - - /// - /// - /// - public IncludedItem45(global::AppStoreConnect.AppStoreVersionExperiment? value) - { - AppStoreVersionExperiments = value; - } - - /// - /// - /// - public static IncludedItem45 FromAppStoreVersionExperiments(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem45(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem45(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem45((global::AppStoreConnect.AppStoreVersionLocalization?)value); + public static implicit operator IncludedItem45(global::AppStoreConnect.AppAssetLibraryPlacement value) => new IncludedItem45((global::AppStoreConnect.AppAssetLibraryPlacement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem45 @this) => @this.AppStoreVersionLocalizations; + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacement?(IncludedItem45 @this) => @this.AppAssetLibraryPlacements; /// /// /// - public IncludedItem45(global::AppStoreConnect.AppStoreVersionLocalization? value) + public IncludedItem45(global::AppStoreConnect.AppAssetLibraryPlacement? value) { - AppStoreVersionLocalizations = value; + AppAssetLibraryPlacements = value; } /// /// /// - public static IncludedItem45 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem45(value); + public static IncludedItem45 FromAppAssetLibraryPlacements(global::AppStoreConnect.AppAssetLibraryPlacement? value) => new IncludedItem45(value); /// /// /// - public static implicit operator IncludedItem45(global::AppStoreConnect.AppStoreVersionPhasedRelease value) => new IncludedItem45((global::AppStoreConnect.AppStoreVersionPhasedRelease?)value); + public static implicit operator IncludedItem45(global::AppStoreConnect.AppKeyword value) => new IncludedItem45((global::AppStoreConnect.AppKeyword?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionPhasedRelease?(IncludedItem45 @this) => @this.AppStoreVersionPhasedReleases; + public static implicit operator global::AppStoreConnect.AppKeyword?(IncludedItem45 @this) => @this.AppKeywords; /// /// /// - public IncludedItem45(global::AppStoreConnect.AppStoreVersionPhasedRelease? value) + public IncludedItem45(global::AppStoreConnect.AppKeyword? value) { - AppStoreVersionPhasedReleases = value; + AppKeywords = value; } /// /// /// - public static IncludedItem45 FromAppStoreVersionPhasedReleases(global::AppStoreConnect.AppStoreVersionPhasedRelease? value) => new IncludedItem45(value); + public static IncludedItem45 FromAppKeywords(global::AppStoreConnect.AppKeyword? value) => new IncludedItem45(value); /// /// /// - public static implicit operator IncludedItem45(global::AppStoreConnect.AppStoreVersionSubmission value) => new IncludedItem45((global::AppStoreConnect.AppStoreVersionSubmission?)value); + public static implicit operator IncludedItem45(global::AppStoreConnect.AppPreviewSet value) => new IncludedItem45((global::AppStoreConnect.AppPreviewSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionSubmission?(IncludedItem45 @this) => @this.AppStoreVersionSubmissions; + public static implicit operator global::AppStoreConnect.AppPreviewSet?(IncludedItem45 @this) => @this.AppPreviewSets; /// /// /// - public IncludedItem45(global::AppStoreConnect.AppStoreVersionSubmission? value) + public IncludedItem45(global::AppStoreConnect.AppPreviewSet? value) { - AppStoreVersionSubmissions = value; + AppPreviewSets = value; } /// /// /// - public static IncludedItem45 FromAppStoreVersionSubmissions(global::AppStoreConnect.AppStoreVersionSubmission? value) => new IncludedItem45(value); + public static IncludedItem45 FromAppPreviewSets(global::AppStoreConnect.AppPreviewSet? value) => new IncludedItem45(value); /// /// /// - public static implicit operator IncludedItem45(global::AppStoreConnect.App value) => new IncludedItem45((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem45(global::AppStoreConnect.AppScreenshotSet value) => new IncludedItem45((global::AppStoreConnect.AppScreenshotSet?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem45 @this) => @this.AppClipDefaultExperiences2; + public static implicit operator global::AppStoreConnect.AppScreenshotSet?(IncludedItem45 @this) => @this.AppScreenshotSets; /// /// /// - public IncludedItem45(global::AppStoreConnect.App? value) + public IncludedItem45(global::AppStoreConnect.AppScreenshotSet? value) { - AppClipDefaultExperiences2 = value; + AppScreenshotSets = value; } /// /// /// - public static IncludedItem45 FromAppClipDefaultExperiences2(global::AppStoreConnect.App? value) => new IncludedItem45(value); + public static IncludedItem45 FromAppScreenshotSets(global::AppStoreConnect.AppScreenshotSet? value) => new IncludedItem45(value); /// /// /// - public static implicit operator IncludedItem45(global::AppStoreConnect.Build value) => new IncludedItem45((global::AppStoreConnect.Build?)value); + public static implicit operator IncludedItem45(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem45((global::AppStoreConnect.AppStoreVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem45 @this) => @this.Builds; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem45 @this) => @this.AppStoreVersions; /// /// /// - public IncludedItem45(global::AppStoreConnect.Build? value) + public IncludedItem45(global::AppStoreConnect.AppStoreVersion? value) { - Builds = value; + AppStoreVersions = value; } /// /// /// - public static IncludedItem45 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem45(value); - - /// - /// - /// - public static implicit operator IncludedItem45(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem45((global::AppStoreConnect.GameCenterAppVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem45 @this) => @this.GameCenterAppVersions; - - /// - /// - /// - public IncludedItem45(global::AppStoreConnect.GameCenterAppVersion? value) - { - GameCenterAppVersions = value; - } - - /// - /// - /// - public static IncludedItem45 FromGameCenterAppVersions(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem45(value); - - /// - /// - /// - public static implicit operator IncludedItem45(global::AppStoreConnect.RoutingAppCoverage value) => new IncludedItem45((global::AppStoreConnect.RoutingAppCoverage?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.RoutingAppCoverage?(IncludedItem45 @this) => @this.RoutingAppCoverages; - - /// - /// - /// - public IncludedItem45(global::AppStoreConnect.RoutingAppCoverage? value) - { - RoutingAppCoverages = value; - } - - /// - /// - /// - public static IncludedItem45 FromRoutingAppCoverages(global::AppStoreConnect.RoutingAppCoverage? value) => new IncludedItem45(value); + public static IncludedItem45 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem45(value); /// /// /// public IncludedItem45( - global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AlternativeDistributionPackage? alternativeDistributionPackages, - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1, - global::AppStoreConnect.AppStoreReviewDetail? appStoreReviewDetails, - global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments, - global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations, - global::AppStoreConnect.AppStoreVersionPhasedRelease? appStoreVersionPhasedReleases, - global::AppStoreConnect.AppStoreVersionSubmission? appStoreVersionSubmissions, - global::AppStoreConnect.App? appClipDefaultExperiences2, - global::AppStoreConnect.Build? builds, - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions, - global::AppStoreConnect.RoutingAppCoverage? routingAppCoverages + global::AppStoreConnect.AppStoreVersionLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppAssetLibraryPlacement? appAssetLibraryPlacements, + global::AppStoreConnect.AppKeyword? appKeywords, + global::AppStoreConnect.AppPreviewSet? appPreviewSets, + global::AppStoreConnect.AppScreenshotSet? appScreenshotSets, + global::AppStoreConnect.AppStoreVersion? appStoreVersions ) { Type = type; - AlternativeDistributionPackages = alternativeDistributionPackages; - AppClipDefaultExperiences1 = appClipDefaultExperiences1; - AppStoreReviewDetails = appStoreReviewDetails; - AppStoreVersionExperiments = appStoreVersionExperiments; - AppStoreVersionLocalizations = appStoreVersionLocalizations; - AppStoreVersionPhasedReleases = appStoreVersionPhasedReleases; - AppStoreVersionSubmissions = appStoreVersionSubmissions; - AppClipDefaultExperiences2 = appClipDefaultExperiences2; - Builds = builds; - GameCenterAppVersions = gameCenterAppVersions; - RoutingAppCoverages = routingAppCoverages; + AppAssetLibraryPlacements = appAssetLibraryPlacements; + AppKeywords = appKeywords; + AppPreviewSets = appPreviewSets; + AppScreenshotSets = appScreenshotSets; + AppStoreVersions = appStoreVersions; } /// /// /// public object? Object => - RoutingAppCoverages as object ?? - GameCenterAppVersions as object ?? - Builds as object ?? - AppClipDefaultExperiences2 as object ?? - AppStoreVersionSubmissions as object ?? - AppStoreVersionPhasedReleases as object ?? - AppStoreVersionLocalizations as object ?? - AppStoreVersionExperiments as object ?? - AppStoreReviewDetails as object ?? - AppClipDefaultExperiences1 as object ?? - AlternativeDistributionPackages as object + AppStoreVersions as object ?? + AppScreenshotSets as object ?? + AppPreviewSets as object ?? + AppKeywords as object ?? + AppAssetLibraryPlacements as object ; /// /// /// public override string? ToString() => - AlternativeDistributionPackages?.ToString() ?? - AppClipDefaultExperiences1?.ToString() ?? - AppStoreReviewDetails?.ToString() ?? - AppStoreVersionExperiments?.ToString() ?? - AppStoreVersionLocalizations?.ToString() ?? - AppStoreVersionPhasedReleases?.ToString() ?? - AppStoreVersionSubmissions?.ToString() ?? - AppClipDefaultExperiences2?.ToString() ?? - Builds?.ToString() ?? - GameCenterAppVersions?.ToString() ?? - RoutingAppCoverages?.ToString() + AppAssetLibraryPlacements?.ToString() ?? + AppKeywords?.ToString() ?? + AppPreviewSets?.ToString() ?? + AppScreenshotSets?.ToString() ?? + AppStoreVersions?.ToString() ; /// @@ -745,24 +361,18 @@ AlternativeDistributionPackages as object /// public bool Validate() { - return IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && IsRoutingAppCoverages; + return IsAppAssetLibraryPlacements && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppAssetLibraryPlacements && IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppAssetLibraryPlacements && !IsAppKeywords && IsAppPreviewSets && !IsAppScreenshotSets && !IsAppStoreVersions || !IsAppAssetLibraryPlacements && !IsAppKeywords && !IsAppPreviewSets && IsAppScreenshotSets && !IsAppStoreVersions || !IsAppAssetLibraryPlacements && !IsAppKeywords && !IsAppPreviewSets && !IsAppScreenshotSets && IsAppStoreVersions; } /// /// /// public TResult? Match( - global::System.Func? alternativeDistributionPackages = null, - global::System.Func? appClipDefaultExperiences1 = null, - global::System.Func? appStoreReviewDetails = null, - global::System.Func? appStoreVersionExperiments = null, - global::System.Func? appStoreVersionLocalizations = null, - global::System.Func? appStoreVersionPhasedReleases = null, - global::System.Func? appStoreVersionSubmissions = null, - global::System.Func? appClipDefaultExperiences2 = null, - global::System.Func? builds = null, - global::System.Func? gameCenterAppVersions = null, - global::System.Func? routingAppCoverages = null, + global::System.Func? appAssetLibraryPlacements = null, + global::System.Func? appKeywords = null, + global::System.Func? appPreviewSets = null, + global::System.Func? appScreenshotSets = null, + global::System.Func? appStoreVersions = null, bool validate = true) { if (validate) @@ -770,49 +380,25 @@ public bool Validate() Validate(); } - if (AlternativeDistributionPackages is { } __value0 && alternativeDistributionPackages != null) - { - return alternativeDistributionPackages(__value0); - } - else if (AppClipDefaultExperiences1 is { } __value1 && appClipDefaultExperiences1 != null) - { - return appClipDefaultExperiences1(__value1); - } - else if (AppStoreReviewDetails is { } __value2 && appStoreReviewDetails != null) - { - return appStoreReviewDetails(__value2); - } - else if (AppStoreVersionExperiments is { } __value3 && appStoreVersionExperiments != null) - { - return appStoreVersionExperiments(__value3); - } - else if (AppStoreVersionLocalizations is { } __value4 && appStoreVersionLocalizations != null) + if (AppAssetLibraryPlacements is { } __value0 && appAssetLibraryPlacements != null) { - return appStoreVersionLocalizations(__value4); + return appAssetLibraryPlacements(__value0); } - else if (AppStoreVersionPhasedReleases is { } __value5 && appStoreVersionPhasedReleases != null) + else if (AppKeywords is { } __value1 && appKeywords != null) { - return appStoreVersionPhasedReleases(__value5); + return appKeywords(__value1); } - else if (AppStoreVersionSubmissions is { } __value6 && appStoreVersionSubmissions != null) + else if (AppPreviewSets is { } __value2 && appPreviewSets != null) { - return appStoreVersionSubmissions(__value6); + return appPreviewSets(__value2); } - else if (AppClipDefaultExperiences2 is { } __value7 && appClipDefaultExperiences2 != null) + else if (AppScreenshotSets is { } __value3 && appScreenshotSets != null) { - return appClipDefaultExperiences2(__value7); + return appScreenshotSets(__value3); } - else if (Builds is { } __value8 && builds != null) + else if (AppStoreVersions is { } __value4 && appStoreVersions != null) { - return builds(__value8); - } - else if (GameCenterAppVersions is { } __value9 && gameCenterAppVersions != null) - { - return gameCenterAppVersions(__value9); - } - else if (RoutingAppCoverages is { } __value10 && routingAppCoverages != null) - { - return routingAppCoverages(__value10); + return appStoreVersions(__value4); } return default(TResult); @@ -822,27 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? alternativeDistributionPackages = null, - - global::System.Action? appClipDefaultExperiences1 = null, + global::System.Action? appAssetLibraryPlacements = null, - global::System.Action? appStoreReviewDetails = null, + global::System.Action? appKeywords = null, - global::System.Action? appStoreVersionExperiments = null, + global::System.Action? appPreviewSets = null, - global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? appScreenshotSets = null, - global::System.Action? appStoreVersionPhasedReleases = null, - - global::System.Action? appStoreVersionSubmissions = null, - - global::System.Action? appClipDefaultExperiences2 = null, - - global::System.Action? builds = null, - - global::System.Action? gameCenterAppVersions = null, - - global::System.Action? routingAppCoverages = null, + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -850,49 +424,25 @@ public void Match( Validate(); } - if (AlternativeDistributionPackages is { } __value0) + if (AppAssetLibraryPlacements is { } __value0) { - alternativeDistributionPackages?.Invoke(__value0); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppClipDefaultExperiences1 is { } __value1) + else if (AppKeywords is { } __value1) { - appClipDefaultExperiences1?.Invoke(__value1); + appKeywords?.Invoke(__value1); } - else if (AppStoreReviewDetails is { } __value2) + else if (AppPreviewSets is { } __value2) { - appStoreReviewDetails?.Invoke(__value2); + appPreviewSets?.Invoke(__value2); } - else if (AppStoreVersionExperiments is { } __value3) + else if (AppScreenshotSets is { } __value3) { - appStoreVersionExperiments?.Invoke(__value3); + appScreenshotSets?.Invoke(__value3); } - else if (AppStoreVersionLocalizations is { } __value4) + else if (AppStoreVersions is { } __value4) { - appStoreVersionLocalizations?.Invoke(__value4); - } - else if (AppStoreVersionPhasedReleases is { } __value5) - { - appStoreVersionPhasedReleases?.Invoke(__value5); - } - else if (AppStoreVersionSubmissions is { } __value6) - { - appStoreVersionSubmissions?.Invoke(__value6); - } - else if (AppClipDefaultExperiences2 is { } __value7) - { - appClipDefaultExperiences2?.Invoke(__value7); - } - else if (Builds is { } __value8) - { - builds?.Invoke(__value8); - } - else if (GameCenterAppVersions is { } __value9) - { - gameCenterAppVersions?.Invoke(__value9); - } - else if (RoutingAppCoverages is { } __value10) - { - routingAppCoverages?.Invoke(__value10); + appStoreVersions?.Invoke(__value4); } } @@ -900,17 +450,11 @@ public void Match( /// /// public void Switch( - global::System.Action? alternativeDistributionPackages = null, - global::System.Action? appClipDefaultExperiences1 = null, - global::System.Action? appStoreReviewDetails = null, - global::System.Action? appStoreVersionExperiments = null, - global::System.Action? appStoreVersionLocalizations = null, - global::System.Action? appStoreVersionPhasedReleases = null, - global::System.Action? appStoreVersionSubmissions = null, - global::System.Action? appClipDefaultExperiences2 = null, - global::System.Action? builds = null, - global::System.Action? gameCenterAppVersions = null, - global::System.Action? routingAppCoverages = null, + global::System.Action? appAssetLibraryPlacements = null, + global::System.Action? appKeywords = null, + global::System.Action? appPreviewSets = null, + global::System.Action? appScreenshotSets = null, + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -918,49 +462,25 @@ public void Switch( Validate(); } - if (AlternativeDistributionPackages is { } __value0) - { - alternativeDistributionPackages?.Invoke(__value0); - } - else if (AppClipDefaultExperiences1 is { } __value1) - { - appClipDefaultExperiences1?.Invoke(__value1); - } - else if (AppStoreReviewDetails is { } __value2) - { - appStoreReviewDetails?.Invoke(__value2); - } - else if (AppStoreVersionExperiments is { } __value3) - { - appStoreVersionExperiments?.Invoke(__value3); - } - else if (AppStoreVersionLocalizations is { } __value4) - { - appStoreVersionLocalizations?.Invoke(__value4); - } - else if (AppStoreVersionPhasedReleases is { } __value5) - { - appStoreVersionPhasedReleases?.Invoke(__value5); - } - else if (AppStoreVersionSubmissions is { } __value6) + if (AppAssetLibraryPlacements is { } __value0) { - appStoreVersionSubmissions?.Invoke(__value6); + appAssetLibraryPlacements?.Invoke(__value0); } - else if (AppClipDefaultExperiences2 is { } __value7) + else if (AppKeywords is { } __value1) { - appClipDefaultExperiences2?.Invoke(__value7); + appKeywords?.Invoke(__value1); } - else if (Builds is { } __value8) + else if (AppPreviewSets is { } __value2) { - builds?.Invoke(__value8); + appPreviewSets?.Invoke(__value2); } - else if (GameCenterAppVersions is { } __value9) + else if (AppScreenshotSets is { } __value3) { - gameCenterAppVersions?.Invoke(__value9); + appScreenshotSets?.Invoke(__value3); } - else if (RoutingAppCoverages is { } __value10) + else if (AppStoreVersions is { } __value4) { - routingAppCoverages?.Invoke(__value10); + appStoreVersions?.Invoke(__value4); } } @@ -971,28 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - AlternativeDistributionPackages, - typeof(global::AppStoreConnect.AlternativeDistributionPackage), - AppClipDefaultExperiences1, - typeof(global::AppStoreConnect.AppClipDefaultExperience), - AppStoreReviewDetails, - typeof(global::AppStoreConnect.AppStoreReviewDetail), - AppStoreVersionExperiments, - typeof(global::AppStoreConnect.AppStoreVersionExperiment), - AppStoreVersionLocalizations, - typeof(global::AppStoreConnect.AppStoreVersionLocalization), - AppStoreVersionPhasedReleases, - typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), - AppStoreVersionSubmissions, - typeof(global::AppStoreConnect.AppStoreVersionSubmission), - AppClipDefaultExperiences2, - typeof(global::AppStoreConnect.App), - Builds, - typeof(global::AppStoreConnect.Build), - GameCenterAppVersions, - typeof(global::AppStoreConnect.GameCenterAppVersion), - RoutingAppCoverages, - typeof(global::AppStoreConnect.RoutingAppCoverage), + AppAssetLibraryPlacements, + typeof(global::AppStoreConnect.AppAssetLibraryPlacement), + AppKeywords, + typeof(global::AppStoreConnect.AppKeyword), + AppPreviewSets, + typeof(global::AppStoreConnect.AppPreviewSet), + AppScreenshotSets, + typeof(global::AppStoreConnect.AppScreenshotSet), + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1009,17 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem45 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AlternativeDistributionPackages, other.AlternativeDistributionPackages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences1, other.AppClipDefaultExperiences1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreReviewDetails, other.AppStoreReviewDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments, other.AppStoreVersionExperiments) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionPhasedReleases, other.AppStoreVersionPhasedReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionSubmissions, other.AppStoreVersionSubmissions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences2, other.AppClipDefaultExperiences2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions, other.GameCenterAppVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(RoutingAppCoverages, other.RoutingAppCoverages) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppAssetLibraryPlacements, other.AppAssetLibraryPlacements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppKeywords, other.AppKeywords) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppPreviewSets, other.AppPreviewSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppScreenshotSets, other.AppScreenshotSets) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem46.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem46.g.cs index a64dafddc..af9705171 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem46.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem46.g.cs @@ -12,1193 +12,597 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AndroidToIosAppMappingDetail? AndroidToIosAppMappingDetails { get; init; } + public global::AppStoreConnect.AlternativeDistributionPackage? AlternativeDistributionPackages { get; init; } #else - public global::AppStoreConnect.AndroidToIosAppMappingDetail? AndroidToIosAppMappingDetails { get; } + public global::AppStoreConnect.AlternativeDistributionPackage? AlternativeDistributionPackages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AndroidToIosAppMappingDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AlternativeDistributionPackages))] #endif - public bool IsAndroidToIosAppMappingDetails => AndroidToIosAppMappingDetails != null; + public bool IsAlternativeDistributionPackages => AlternativeDistributionPackages != null; /// /// /// - public bool TryPickAndroidToIosAppMappingDetails( + public bool TryPickAlternativeDistributionPackages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AndroidToIosAppMappingDetail? value) + out global::AppStoreConnect.AlternativeDistributionPackage? value) { - value = AndroidToIosAppMappingDetails; - return IsAndroidToIosAppMappingDetails; + value = AlternativeDistributionPackages; + return IsAlternativeDistributionPackages; } /// /// /// - public global::AppStoreConnect.AndroidToIosAppMappingDetail PickAndroidToIosAppMappingDetails() => AndroidToIosAppMappingDetails is { } value + public global::AppStoreConnect.AlternativeDistributionPackage PickAlternativeDistributionPackages() => AlternativeDistributionPackages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AndroidToIosAppMappingDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AlternativeDistributionPackages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClip? AppClips { get; init; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; init; } #else - public global::AppStoreConnect.AppClip? AppClips { get; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClips))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences1))] #endif - public bool IsAppClips => AppClips != null; + public bool IsAppClipDefaultExperiences1 => AppClipDefaultExperiences1 != null; /// /// /// - public bool TryPickAppClips( + public bool TryPickAppClipDefaultExperiences1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClip? value) + out global::AppStoreConnect.AppClipDefaultExperience? value) { - value = AppClips; - return IsAppClips; + value = AppClipDefaultExperiences1; + return IsAppClipDefaultExperiences1; } /// /// /// - public global::AppStoreConnect.AppClip PickAppClips() => AppClips is { } value + public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences1() => AppClipDefaultExperiences1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClips' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPages { get; init; } + public global::AppStoreConnect.AppStoreReviewDetail? AppStoreReviewDetails { get; init; } #else - public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPages { get; } + public global::AppStoreConnect.AppStoreReviewDetail? AppStoreReviewDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreReviewDetails))] #endif - public bool IsAppCustomProductPages => AppCustomProductPages != null; + public bool IsAppStoreReviewDetails => AppStoreReviewDetails != null; /// /// /// - public bool TryPickAppCustomProductPages( + public bool TryPickAppStoreReviewDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPage? value) + out global::AppStoreConnect.AppStoreReviewDetail? value) { - value = AppCustomProductPages; - return IsAppCustomProductPages; + value = AppStoreReviewDetails; + return IsAppStoreReviewDetails; } /// /// /// - public global::AppStoreConnect.AppCustomProductPage PickAppCustomProductPages() => AppCustomProductPages is { } value + public global::AppStoreConnect.AppStoreReviewDetail PickAppStoreReviewDetails() => AppStoreReviewDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreReviewDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations { get; init; } + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments { get; init; } #else - public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations { get; } + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments))] #endif - public bool IsAppEncryptionDeclarations => AppEncryptionDeclarations != null; + public bool IsAppStoreVersionExperiments => AppStoreVersionExperiments != null; /// /// /// - public bool TryPickAppEncryptionDeclarations( + public bool TryPickAppStoreVersionExperiments( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEncryptionDeclaration? value) + out global::AppStoreConnect.AppStoreVersionExperiment? value) { - value = AppEncryptionDeclarations; - return IsAppEncryptionDeclarations; + value = AppStoreVersionExperiments; + return IsAppStoreVersionExperiments; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclaration PickAppEncryptionDeclarations() => AppEncryptionDeclarations is { } value + public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperiments() => AppStoreVersionExperiments is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEvent? AppEvents { get; init; } + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } #else - public global::AppStoreConnect.AppEvent? AppEvents { get; } + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] #endif - public bool IsAppEvents => AppEvents != null; + public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; /// /// /// - public bool TryPickAppEvents( + public bool TryPickAppStoreVersionLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEvent? value) + out global::AppStoreConnect.AppStoreVersionLocalization? value) { - value = AppEvents; - return IsAppEvents; + value = AppStoreVersionLocalizations; + return IsAppStoreVersionLocalizations; } /// /// /// - public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value + public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppInfo? AppInfos { get; init; } + public global::AppStoreConnect.AppStoreVersionPhasedRelease? AppStoreVersionPhasedReleases { get; init; } #else - public global::AppStoreConnect.AppInfo? AppInfos { get; } + public global::AppStoreConnect.AppStoreVersionPhasedRelease? AppStoreVersionPhasedReleases { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppInfos))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionPhasedReleases))] #endif - public bool IsAppInfos => AppInfos != null; + public bool IsAppStoreVersionPhasedReleases => AppStoreVersionPhasedReleases != null; /// /// /// - public bool TryPickAppInfos( + public bool TryPickAppStoreVersionPhasedReleases( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppInfo? value) + out global::AppStoreConnect.AppStoreVersionPhasedRelease? value) { - value = AppInfos; - return IsAppInfos; + value = AppStoreVersionPhasedReleases; + return IsAppStoreVersionPhasedReleases; } /// /// /// - public global::AppStoreConnect.AppInfo PickAppInfos() => AppInfos is { } value + public global::AppStoreConnect.AppStoreVersionPhasedRelease PickAppStoreVersionPhasedReleases() => AppStoreVersionPhasedReleases is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppInfos' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionPhasedReleases' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentV2? AppStoreVersionExperiments1 { get; init; } + public global::AppStoreConnect.AppStoreVersionSubmission? AppStoreVersionSubmissions { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperimentV2? AppStoreVersionExperiments1 { get; } + public global::AppStoreConnect.AppStoreVersionSubmission? AppStoreVersionSubmissions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionSubmissions))] #endif - public bool IsAppStoreVersionExperiments1 => AppStoreVersionExperiments1 != null; + public bool IsAppStoreVersionSubmissions => AppStoreVersionSubmissions != null; /// /// /// - public bool TryPickAppStoreVersionExperiments1( + public bool TryPickAppStoreVersionSubmissions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperimentV2? value) + out global::AppStoreConnect.AppStoreVersionSubmission? value) { - value = AppStoreVersionExperiments1; - return IsAppStoreVersionExperiments1; + value = AppStoreVersionSubmissions; + return IsAppStoreVersionSubmissions; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2 PickAppStoreVersionExperiments1() => AppStoreVersionExperiments1 is { } value + public global::AppStoreConnect.AppStoreVersionSubmission PickAppStoreVersionSubmissions() => AppStoreVersionSubmissions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionSubmissions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; init; } + public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; } + public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences2))] #endif - public bool IsAppStoreVersionExperiments2 => AppStoreVersionExperiments2 != null; + public bool IsAppClipDefaultExperiences2 => AppClipDefaultExperiences2 != null; /// /// /// - public bool TryPickAppStoreVersionExperiments2( + public bool TryPickAppClipDefaultExperiences2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.App? value) { - value = AppStoreVersionExperiments2; - return IsAppStoreVersionExperiments2; + value = AppClipDefaultExperiences2; + return IsAppClipDefaultExperiences2; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperiments2() => AppStoreVersionExperiments2 is { } value + public global::AppStoreConnect.App PickAppClipDefaultExperiences2() => AppClipDefaultExperiences2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences2' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaAppLocalization? BetaAppLocalizations { get; init; } + public global::AppStoreConnect.Build? Builds { get; init; } #else - public global::AppStoreConnect.BetaAppLocalization? BetaAppLocalizations { get; } + public global::AppStoreConnect.Build? Builds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] #endif - public bool IsBetaAppLocalizations => BetaAppLocalizations != null; + public bool IsBuilds => Builds != null; /// /// /// - public bool TryPickBetaAppLocalizations( + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BetaAppLocalization? value) - { - value = BetaAppLocalizations; - return IsBetaAppLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.BetaAppLocalization PickBetaAppLocalizations() => BetaAppLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaAppReviewDetail? BetaAppReviewDetails { get; init; } -#else - public global::AppStoreConnect.BetaAppReviewDetail? BetaAppReviewDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppReviewDetails))] -#endif - public bool IsBetaAppReviewDetails => BetaAppReviewDetails != null; - - /// - /// - /// - public bool TryPickBetaAppReviewDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaAppReviewDetail? value) - { - value = BetaAppReviewDetails; - return IsBetaAppReviewDetails; - } - - /// - /// - /// - public global::AppStoreConnect.BetaAppReviewDetail PickBetaAppReviewDetails() => BetaAppReviewDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppReviewDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } -#else - public global::AppStoreConnect.BetaGroup? BetaGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] -#endif - public bool IsBetaGroups => BetaGroups != null; - - /// - /// - /// - public bool TryPickBetaGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaGroup? value) - { - value = BetaGroups; - return IsBetaGroups; - } - - /// - /// - /// - public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaLicenseAgreement? BetaLicenseAgreements { get; init; } -#else - public global::AppStoreConnect.BetaLicenseAgreement? BetaLicenseAgreements { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaLicenseAgreements))] -#endif - public bool IsBetaLicenseAgreements => BetaLicenseAgreements != null; - - /// - /// - /// - public bool TryPickBetaLicenseAgreements( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaLicenseAgreement? value) - { - value = BetaLicenseAgreements; - return IsBetaLicenseAgreements; - } - - /// - /// - /// - public global::AppStoreConnect.BetaLicenseAgreement PickBetaLicenseAgreements() => BetaLicenseAgreements is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaLicenseAgreements' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildIcon? BuildIcons1 { get; init; } -#else - public global::AppStoreConnect.BuildIcon? BuildIcons1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons1))] -#endif - public bool IsBuildIcons1 => BuildIcons1 != null; - - /// - /// - /// - public bool TryPickBuildIcons1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildIcon? value) - { - value = BuildIcons1; - return IsBuildIcons1; - } - - /// - /// - /// - public global::AppStoreConnect.BuildIcon PickBuildIcons1() => BuildIcons1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? BuildIcons2 { get; init; } -#else - public global::AppStoreConnect.Build? BuildIcons2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons2))] -#endif - public bool IsBuildIcons2 => BuildIcons2 != null; - - /// - /// - /// - public bool TryPickBuildIcons2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Build? value) - { - value = BuildIcons2; - return IsBuildIcons2; - } - - /// - /// - /// - public global::AppStoreConnect.Build PickBuildIcons2() => BuildIcons2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.CiProduct? CiProducts { get; init; } -#else - public global::AppStoreConnect.CiProduct? CiProducts { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] -#endif - public bool IsCiProducts => CiProducts != null; - - /// - /// - /// - public bool TryPickCiProducts( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.CiProduct? value) - { - value = CiProducts; - return IsCiProducts; - } - - /// - /// - /// - public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.EndUserLicenseAgreement? EndUserLicenseAgreements { get; init; } -#else - public global::AppStoreConnect.EndUserLicenseAgreement? EndUserLicenseAgreements { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(EndUserLicenseAgreements))] -#endif - public bool IsEndUserLicenseAgreements => EndUserLicenseAgreements != null; - - /// - /// - /// - public bool TryPickEndUserLicenseAgreements( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.EndUserLicenseAgreement? value) - { - value = EndUserLicenseAgreements; - return IsEndUserLicenseAgreements; - } - - /// - /// - /// - public global::AppStoreConnect.EndUserLicenseAgreement PickEndUserLicenseAgreements() => EndUserLicenseAgreements is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'EndUserLicenseAgreements' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } -#else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] -#endif - public bool IsGameCenterDetails => GameCenterDetails != null; - - /// - /// - /// - public bool TryPickGameCenterDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterDetail? value) - { - value = GameCenterDetails; - return IsGameCenterDetails; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterEnabledVersions))] -#endif - public bool IsGameCenterEnabledVersions => GameCenterEnabledVersions != null; - - /// - /// - /// - public bool TryPickGameCenterEnabledVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterEnabledVersion? value) - { - value = GameCenterEnabledVersions; - return IsGameCenterEnabledVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterEnabledVersion PickGameCenterEnabledVersions() => GameCenterEnabledVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterEnabledVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchase? InAppPurchases { get; init; } -#else - public global::AppStoreConnect.InAppPurchase? InAppPurchases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] -#endif - public bool IsInAppPurchases => InAppPurchases != null; - - /// - /// - /// - public bool TryPickInAppPurchases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchase? value) - { - value = InAppPurchases; - return IsInAppPurchases; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchase PickInAppPurchases() => InAppPurchases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; init; } -#else - public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PreReleaseVersions))] -#endif - public bool IsPreReleaseVersions => PreReleaseVersions != null; - - /// - /// - /// - public bool TryPickPreReleaseVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.PrereleaseVersion? value) - { - value = PreReleaseVersions; - return IsPreReleaseVersions; - } - - /// - /// - /// - public global::AppStoreConnect.PrereleaseVersion PickPreReleaseVersions() => PreReleaseVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PreReleaseVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } -#else - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] -#endif - public bool IsPromotedPurchases => PromotedPurchases != null; - - /// - /// - /// - public bool TryPickPromotedPurchases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.PromotedPurchase? value) - { - value = PromotedPurchases; - return IsPromotedPurchases; - } - - /// - /// - /// - public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.ReviewSubmission? ReviewSubmissions { get; init; } -#else - public global::AppStoreConnect.ReviewSubmission? ReviewSubmissions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReviewSubmissions))] -#endif - public bool IsReviewSubmissions => ReviewSubmissions != null; - - /// - /// - /// - public bool TryPickReviewSubmissions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.ReviewSubmission? value) - { - value = ReviewSubmissions; - return IsReviewSubmissions; - } - - /// - /// - /// - public global::AppStoreConnect.ReviewSubmission PickReviewSubmissions() => ReviewSubmissions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ReviewSubmissions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGracePeriod? SubscriptionGracePeriods { get; init; } -#else - public global::AppStoreConnect.SubscriptionGracePeriod? SubscriptionGracePeriods { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGracePeriods))] -#endif - public bool IsSubscriptionGracePeriods => SubscriptionGracePeriods != null; - - /// - /// - /// - public bool TryPickSubscriptionGracePeriods( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionGracePeriod? value) - { - value = SubscriptionGracePeriods; - return IsSubscriptionGracePeriods; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionGracePeriod PickSubscriptionGracePeriods() => SubscriptionGracePeriods is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGracePeriods' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } -#else - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] -#endif - public bool IsSubscriptionGroups => SubscriptionGroups != null; - - /// - /// - /// - public bool TryPickSubscriptionGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionGroup? value) - { - value = SubscriptionGroups; - return IsSubscriptionGroups; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.AndroidToIosAppMappingDetail value) => new IncludedItem46((global::AppStoreConnect.AndroidToIosAppMappingDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AndroidToIosAppMappingDetail?(IncludedItem46 @this) => @this.AndroidToIosAppMappingDetails; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.AndroidToIosAppMappingDetail? value) - { - AndroidToIosAppMappingDetails = value; - } - - /// - /// - /// - public static IncludedItem46 FromAndroidToIosAppMappingDetails(global::AppStoreConnect.AndroidToIosAppMappingDetail? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.AppClip value) => new IncludedItem46((global::AppStoreConnect.AppClip?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem46 @this) => @this.AppClips; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.AppClip? value) - { - AppClips = value; - } - - /// - /// - /// - public static IncludedItem46 FromAppClips(global::AppStoreConnect.AppClip? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.AppCustomProductPage value) => new IncludedItem46((global::AppStoreConnect.AppCustomProductPage?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPage?(IncludedItem46 @this) => @this.AppCustomProductPages; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.AppCustomProductPage? value) + out global::AppStoreConnect.Build? value) { - AppCustomProductPages = value; + value = Builds; + return IsBuilds; } /// /// /// - public static IncludedItem46 FromAppCustomProductPages(global::AppStoreConnect.AppCustomProductPage? value) => new IncludedItem46(value); + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.AppEncryptionDeclaration value) => new IncludedItem46((global::AppStoreConnect.AppEncryptionDeclaration?)value); +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; } +#endif /// /// /// - public static implicit operator global::AppStoreConnect.AppEncryptionDeclaration?(IncludedItem46 @this) => @this.AppEncryptionDeclarations; +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions))] +#endif + public bool IsGameCenterAppVersions => GameCenterAppVersions != null; /// /// /// - public IncludedItem46(global::AppStoreConnect.AppEncryptionDeclaration? value) + public bool TryPickGameCenterAppVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAppVersion? value) { - AppEncryptionDeclarations = value; + value = GameCenterAppVersions; + return IsGameCenterAppVersions; } /// /// /// - public static IncludedItem46 FromAppEncryptionDeclarations(global::AppStoreConnect.AppEncryptionDeclaration? value) => new IncludedItem46(value); + public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions() => GameCenterAppVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.AppEvent value) => new IncludedItem46((global::AppStoreConnect.AppEvent?)value); +#if NET6_0_OR_GREATER + public global::AppStoreConnect.RoutingAppCoverage? RoutingAppCoverages { get; init; } +#else + public global::AppStoreConnect.RoutingAppCoverage? RoutingAppCoverages { get; } +#endif /// /// /// - public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem46 @this) => @this.AppEvents; +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RoutingAppCoverages))] +#endif + public bool IsRoutingAppCoverages => RoutingAppCoverages != null; /// /// /// - public IncludedItem46(global::AppStoreConnect.AppEvent? value) + public bool TryPickRoutingAppCoverages( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.RoutingAppCoverage? value) { - AppEvents = value; + value = RoutingAppCoverages; + return IsRoutingAppCoverages; } /// /// /// - public static IncludedItem46 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem46(value); - + public global::AppStoreConnect.RoutingAppCoverage PickRoutingAppCoverages() => RoutingAppCoverages is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'RoutingAppCoverages' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.AppInfo value) => new IncludedItem46((global::AppStoreConnect.AppInfo?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.AlternativeDistributionPackage value) => new IncludedItem46((global::AppStoreConnect.AlternativeDistributionPackage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppInfo?(IncludedItem46 @this) => @this.AppInfos; + public static implicit operator global::AppStoreConnect.AlternativeDistributionPackage?(IncludedItem46 @this) => @this.AlternativeDistributionPackages; /// /// /// - public IncludedItem46(global::AppStoreConnect.AppInfo? value) + public IncludedItem46(global::AppStoreConnect.AlternativeDistributionPackage? value) { - AppInfos = value; + AlternativeDistributionPackages = value; } /// /// /// - public static IncludedItem46 FromAppInfos(global::AppStoreConnect.AppInfo? value) => new IncludedItem46(value); + public static IncludedItem46 FromAlternativeDistributionPackages(global::AppStoreConnect.AlternativeDistributionPackage? value) => new IncludedItem46(value); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.AppStoreVersionExperimentV2 value) => new IncludedItem46((global::AppStoreConnect.AppStoreVersionExperimentV2?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem46((global::AppStoreConnect.AppClipDefaultExperience?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentV2?(IncludedItem46 @this) => @this.AppStoreVersionExperiments1; + public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem46 @this) => @this.AppClipDefaultExperiences1; /// /// /// - public IncludedItem46(global::AppStoreConnect.AppStoreVersionExperimentV2? value) + public IncludedItem46(global::AppStoreConnect.AppClipDefaultExperience? value) { - AppStoreVersionExperiments1 = value; + AppClipDefaultExperiences1 = value; } /// /// /// - public static IncludedItem46 FromAppStoreVersionExperiments1(global::AppStoreConnect.AppStoreVersionExperimentV2? value) => new IncludedItem46(value); + public static IncludedItem46 FromAppClipDefaultExperiences1(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem46(value); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem46((global::AppStoreConnect.AppStoreVersion?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.AppStoreReviewDetail value) => new IncludedItem46((global::AppStoreConnect.AppStoreReviewDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem46 @this) => @this.AppStoreVersionExperiments2; + public static implicit operator global::AppStoreConnect.AppStoreReviewDetail?(IncludedItem46 @this) => @this.AppStoreReviewDetails; /// /// /// - public IncludedItem46(global::AppStoreConnect.AppStoreVersion? value) + public IncludedItem46(global::AppStoreConnect.AppStoreReviewDetail? value) { - AppStoreVersionExperiments2 = value; + AppStoreReviewDetails = value; } /// /// /// - public static IncludedItem46 FromAppStoreVersionExperiments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem46(value); + public static IncludedItem46 FromAppStoreReviewDetails(global::AppStoreConnect.AppStoreReviewDetail? value) => new IncludedItem46(value); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.BetaAppLocalization value) => new IncludedItem46((global::AppStoreConnect.BetaAppLocalization?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem46((global::AppStoreConnect.AppStoreVersionExperiment?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaAppLocalization?(IncludedItem46 @this) => @this.BetaAppLocalizations; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem46 @this) => @this.AppStoreVersionExperiments; /// /// /// - public IncludedItem46(global::AppStoreConnect.BetaAppLocalization? value) + public IncludedItem46(global::AppStoreConnect.AppStoreVersionExperiment? value) { - BetaAppLocalizations = value; + AppStoreVersionExperiments = value; } /// /// /// - public static IncludedItem46 FromBetaAppLocalizations(global::AppStoreConnect.BetaAppLocalization? value) => new IncludedItem46(value); + public static IncludedItem46 FromAppStoreVersionExperiments(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem46(value); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.BetaAppReviewDetail value) => new IncludedItem46((global::AppStoreConnect.BetaAppReviewDetail?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem46((global::AppStoreConnect.AppStoreVersionLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaAppReviewDetail?(IncludedItem46 @this) => @this.BetaAppReviewDetails; + public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem46 @this) => @this.AppStoreVersionLocalizations; /// /// /// - public IncludedItem46(global::AppStoreConnect.BetaAppReviewDetail? value) + public IncludedItem46(global::AppStoreConnect.AppStoreVersionLocalization? value) { - BetaAppReviewDetails = value; + AppStoreVersionLocalizations = value; } /// /// /// - public static IncludedItem46 FromBetaAppReviewDetails(global::AppStoreConnect.BetaAppReviewDetail? value) => new IncludedItem46(value); + public static IncludedItem46 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem46(value); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.BetaGroup value) => new IncludedItem46((global::AppStoreConnect.BetaGroup?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.AppStoreVersionPhasedRelease value) => new IncludedItem46((global::AppStoreConnect.AppStoreVersionPhasedRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem46 @this) => @this.BetaGroups; + public static implicit operator global::AppStoreConnect.AppStoreVersionPhasedRelease?(IncludedItem46 @this) => @this.AppStoreVersionPhasedReleases; /// /// /// - public IncludedItem46(global::AppStoreConnect.BetaGroup? value) + public IncludedItem46(global::AppStoreConnect.AppStoreVersionPhasedRelease? value) { - BetaGroups = value; + AppStoreVersionPhasedReleases = value; } /// /// /// - public static IncludedItem46 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem46(value); + public static IncludedItem46 FromAppStoreVersionPhasedReleases(global::AppStoreConnect.AppStoreVersionPhasedRelease? value) => new IncludedItem46(value); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.BetaLicenseAgreement value) => new IncludedItem46((global::AppStoreConnect.BetaLicenseAgreement?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.AppStoreVersionSubmission value) => new IncludedItem46((global::AppStoreConnect.AppStoreVersionSubmission?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaLicenseAgreement?(IncludedItem46 @this) => @this.BetaLicenseAgreements; + public static implicit operator global::AppStoreConnect.AppStoreVersionSubmission?(IncludedItem46 @this) => @this.AppStoreVersionSubmissions; /// /// /// - public IncludedItem46(global::AppStoreConnect.BetaLicenseAgreement? value) + public IncludedItem46(global::AppStoreConnect.AppStoreVersionSubmission? value) { - BetaLicenseAgreements = value; + AppStoreVersionSubmissions = value; } /// /// /// - public static IncludedItem46 FromBetaLicenseAgreements(global::AppStoreConnect.BetaLicenseAgreement? value) => new IncludedItem46(value); + public static IncludedItem46 FromAppStoreVersionSubmissions(global::AppStoreConnect.AppStoreVersionSubmission? value) => new IncludedItem46(value); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.BuildIcon value) => new IncludedItem46((global::AppStoreConnect.BuildIcon?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.App value) => new IncludedItem46((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BuildIcon?(IncludedItem46 @this) => @this.BuildIcons1; + public static implicit operator global::AppStoreConnect.App?(IncludedItem46 @this) => @this.AppClipDefaultExperiences2; /// /// /// - public IncludedItem46(global::AppStoreConnect.BuildIcon? value) + public IncludedItem46(global::AppStoreConnect.App? value) { - BuildIcons1 = value; + AppClipDefaultExperiences2 = value; } /// /// /// - public static IncludedItem46 FromBuildIcons1(global::AppStoreConnect.BuildIcon? value) => new IncludedItem46(value); + public static IncludedItem46 FromAppClipDefaultExperiences2(global::AppStoreConnect.App? value) => new IncludedItem46(value); /// /// @@ -1208,368 +612,132 @@ public IncludedItem46(global::AppStoreConnect.BuildIcon? value) /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem46 @this) => @this.BuildIcons2; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem46 @this) => @this.Builds; /// /// /// public IncludedItem46(global::AppStoreConnect.Build? value) { - BuildIcons2 = value; - } - - /// - /// - /// - public static IncludedItem46 FromBuildIcons2(global::AppStoreConnect.Build? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.CiProduct value) => new IncludedItem46((global::AppStoreConnect.CiProduct?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem46 @this) => @this.CiProducts; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.CiProduct? value) - { - CiProducts = value; - } - - /// - /// - /// - public static IncludedItem46 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.EndUserLicenseAgreement value) => new IncludedItem46((global::AppStoreConnect.EndUserLicenseAgreement?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.EndUserLicenseAgreement?(IncludedItem46 @this) => @this.EndUserLicenseAgreements; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.EndUserLicenseAgreement? value) - { - EndUserLicenseAgreements = value; - } - - /// - /// - /// - public static IncludedItem46 FromEndUserLicenseAgreements(global::AppStoreConnect.EndUserLicenseAgreement? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem46((global::AppStoreConnect.GameCenterDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem46 @this) => @this.GameCenterDetails; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.GameCenterDetail? value) - { - GameCenterDetails = value; - } - - /// - /// - /// - public static IncludedItem46 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.GameCenterEnabledVersion value) => new IncludedItem46((global::AppStoreConnect.GameCenterEnabledVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterEnabledVersion?(IncludedItem46 @this) => @this.GameCenterEnabledVersions; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.GameCenterEnabledVersion? value) - { - GameCenterEnabledVersions = value; - } - - /// - /// - /// - public static IncludedItem46 FromGameCenterEnabledVersions(global::AppStoreConnect.GameCenterEnabledVersion? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.InAppPurchase value) => new IncludedItem46((global::AppStoreConnect.InAppPurchase?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchase?(IncludedItem46 @this) => @this.InAppPurchases; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.InAppPurchase? value) - { - InAppPurchases = value; - } - - /// - /// - /// - public static IncludedItem46 FromInAppPurchases(global::AppStoreConnect.InAppPurchase? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.PrereleaseVersion value) => new IncludedItem46((global::AppStoreConnect.PrereleaseVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.PrereleaseVersion?(IncludedItem46 @this) => @this.PreReleaseVersions; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.PrereleaseVersion? value) - { - PreReleaseVersions = value; - } - - /// - /// - /// - public static IncludedItem46 FromPreReleaseVersions(global::AppStoreConnect.PrereleaseVersion? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem46((global::AppStoreConnect.PromotedPurchase?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem46 @this) => @this.PromotedPurchases; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.PromotedPurchase? value) - { - PromotedPurchases = value; - } - - /// - /// - /// - public static IncludedItem46 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem46(value); - - /// - /// - /// - public static implicit operator IncludedItem46(global::AppStoreConnect.ReviewSubmission value) => new IncludedItem46((global::AppStoreConnect.ReviewSubmission?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.ReviewSubmission?(IncludedItem46 @this) => @this.ReviewSubmissions; - - /// - /// - /// - public IncludedItem46(global::AppStoreConnect.ReviewSubmission? value) - { - ReviewSubmissions = value; + Builds = value; } /// /// /// - public static IncludedItem46 FromReviewSubmissions(global::AppStoreConnect.ReviewSubmission? value) => new IncludedItem46(value); + public static IncludedItem46 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem46(value); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.SubscriptionGracePeriod value) => new IncludedItem46((global::AppStoreConnect.SubscriptionGracePeriod?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem46((global::AppStoreConnect.GameCenterAppVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGracePeriod?(IncludedItem46 @this) => @this.SubscriptionGracePeriods; + public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem46 @this) => @this.GameCenterAppVersions; /// /// /// - public IncludedItem46(global::AppStoreConnect.SubscriptionGracePeriod? value) + public IncludedItem46(global::AppStoreConnect.GameCenterAppVersion? value) { - SubscriptionGracePeriods = value; + GameCenterAppVersions = value; } /// /// /// - public static IncludedItem46 FromSubscriptionGracePeriods(global::AppStoreConnect.SubscriptionGracePeriod? value) => new IncludedItem46(value); + public static IncludedItem46 FromGameCenterAppVersions(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem46(value); /// /// /// - public static implicit operator IncludedItem46(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem46((global::AppStoreConnect.SubscriptionGroup?)value); + public static implicit operator IncludedItem46(global::AppStoreConnect.RoutingAppCoverage value) => new IncludedItem46((global::AppStoreConnect.RoutingAppCoverage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem46 @this) => @this.SubscriptionGroups; + public static implicit operator global::AppStoreConnect.RoutingAppCoverage?(IncludedItem46 @this) => @this.RoutingAppCoverages; /// /// /// - public IncludedItem46(global::AppStoreConnect.SubscriptionGroup? value) + public IncludedItem46(global::AppStoreConnect.RoutingAppCoverage? value) { - SubscriptionGroups = value; + RoutingAppCoverages = value; } /// /// /// - public static IncludedItem46 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem46(value); + public static IncludedItem46 FromRoutingAppCoverages(global::AppStoreConnect.RoutingAppCoverage? value) => new IncludedItem46(value); /// /// /// public IncludedItem46( - global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AndroidToIosAppMappingDetail? androidToIosAppMappingDetails, - global::AppStoreConnect.AppClip? appClips, - global::AppStoreConnect.AppCustomProductPage? appCustomProductPages, - global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations, - global::AppStoreConnect.AppEvent? appEvents, - global::AppStoreConnect.AppInfo? appInfos, - global::AppStoreConnect.AppStoreVersionExperimentV2? appStoreVersionExperiments1, - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2, - global::AppStoreConnect.BetaAppLocalization? betaAppLocalizations, - global::AppStoreConnect.BetaAppReviewDetail? betaAppReviewDetails, - global::AppStoreConnect.BetaGroup? betaGroups, - global::AppStoreConnect.BetaLicenseAgreement? betaLicenseAgreements, - global::AppStoreConnect.BuildIcon? buildIcons1, - global::AppStoreConnect.Build? buildIcons2, - global::AppStoreConnect.CiProduct? ciProducts, - global::AppStoreConnect.EndUserLicenseAgreement? endUserLicenseAgreements, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions, - global::AppStoreConnect.InAppPurchase? inAppPurchases, - global::AppStoreConnect.PrereleaseVersion? preReleaseVersions, - global::AppStoreConnect.PromotedPurchase? promotedPurchases, - global::AppStoreConnect.ReviewSubmission? reviewSubmissions, - global::AppStoreConnect.SubscriptionGracePeriod? subscriptionGracePeriods, - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups + global::AppStoreConnect.AppStoreVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AlternativeDistributionPackage? alternativeDistributionPackages, + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1, + global::AppStoreConnect.AppStoreReviewDetail? appStoreReviewDetails, + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments, + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations, + global::AppStoreConnect.AppStoreVersionPhasedRelease? appStoreVersionPhasedReleases, + global::AppStoreConnect.AppStoreVersionSubmission? appStoreVersionSubmissions, + global::AppStoreConnect.App? appClipDefaultExperiences2, + global::AppStoreConnect.Build? builds, + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions, + global::AppStoreConnect.RoutingAppCoverage? routingAppCoverages ) { Type = type; - AndroidToIosAppMappingDetails = androidToIosAppMappingDetails; - AppClips = appClips; - AppCustomProductPages = appCustomProductPages; - AppEncryptionDeclarations = appEncryptionDeclarations; - AppEvents = appEvents; - AppInfos = appInfos; - AppStoreVersionExperiments1 = appStoreVersionExperiments1; - AppStoreVersionExperiments2 = appStoreVersionExperiments2; - BetaAppLocalizations = betaAppLocalizations; - BetaAppReviewDetails = betaAppReviewDetails; - BetaGroups = betaGroups; - BetaLicenseAgreements = betaLicenseAgreements; - BuildIcons1 = buildIcons1; - BuildIcons2 = buildIcons2; - CiProducts = ciProducts; - EndUserLicenseAgreements = endUserLicenseAgreements; - GameCenterDetails = gameCenterDetails; - GameCenterEnabledVersions = gameCenterEnabledVersions; - InAppPurchases = inAppPurchases; - PreReleaseVersions = preReleaseVersions; - PromotedPurchases = promotedPurchases; - ReviewSubmissions = reviewSubmissions; - SubscriptionGracePeriods = subscriptionGracePeriods; - SubscriptionGroups = subscriptionGroups; + AlternativeDistributionPackages = alternativeDistributionPackages; + AppClipDefaultExperiences1 = appClipDefaultExperiences1; + AppStoreReviewDetails = appStoreReviewDetails; + AppStoreVersionExperiments = appStoreVersionExperiments; + AppStoreVersionLocalizations = appStoreVersionLocalizations; + AppStoreVersionPhasedReleases = appStoreVersionPhasedReleases; + AppStoreVersionSubmissions = appStoreVersionSubmissions; + AppClipDefaultExperiences2 = appClipDefaultExperiences2; + Builds = builds; + GameCenterAppVersions = gameCenterAppVersions; + RoutingAppCoverages = routingAppCoverages; } /// /// /// public object? Object => - SubscriptionGroups as object ?? - SubscriptionGracePeriods as object ?? - ReviewSubmissions as object ?? - PromotedPurchases as object ?? - PreReleaseVersions as object ?? - InAppPurchases as object ?? - GameCenterEnabledVersions as object ?? - GameCenterDetails as object ?? - EndUserLicenseAgreements as object ?? - CiProducts as object ?? - BuildIcons2 as object ?? - BuildIcons1 as object ?? - BetaLicenseAgreements as object ?? - BetaGroups as object ?? - BetaAppReviewDetails as object ?? - BetaAppLocalizations as object ?? - AppStoreVersionExperiments2 as object ?? - AppStoreVersionExperiments1 as object ?? - AppInfos as object ?? - AppEvents as object ?? - AppEncryptionDeclarations as object ?? - AppCustomProductPages as object ?? - AppClips as object ?? - AndroidToIosAppMappingDetails as object + RoutingAppCoverages as object ?? + GameCenterAppVersions as object ?? + Builds as object ?? + AppClipDefaultExperiences2 as object ?? + AppStoreVersionSubmissions as object ?? + AppStoreVersionPhasedReleases as object ?? + AppStoreVersionLocalizations as object ?? + AppStoreVersionExperiments as object ?? + AppStoreReviewDetails as object ?? + AppClipDefaultExperiences1 as object ?? + AlternativeDistributionPackages as object ; /// /// /// public override string? ToString() => - AndroidToIosAppMappingDetails?.ToString() ?? - AppClips?.ToString() ?? - AppCustomProductPages?.ToString() ?? - AppEncryptionDeclarations?.ToString() ?? - AppEvents?.ToString() ?? - AppInfos?.ToString() ?? - AppStoreVersionExperiments1?.ToString() ?? - AppStoreVersionExperiments2?.ToString() ?? - BetaAppLocalizations?.ToString() ?? - BetaAppReviewDetails?.ToString() ?? - BetaGroups?.ToString() ?? - BetaLicenseAgreements?.ToString() ?? - BuildIcons1?.ToString() ?? - BuildIcons2?.ToString() ?? - CiProducts?.ToString() ?? - EndUserLicenseAgreements?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterEnabledVersions?.ToString() ?? - InAppPurchases?.ToString() ?? - PreReleaseVersions?.ToString() ?? - PromotedPurchases?.ToString() ?? - ReviewSubmissions?.ToString() ?? - SubscriptionGracePeriods?.ToString() ?? - SubscriptionGroups?.ToString() + AlternativeDistributionPackages?.ToString() ?? + AppClipDefaultExperiences1?.ToString() ?? + AppStoreReviewDetails?.ToString() ?? + AppStoreVersionExperiments?.ToString() ?? + AppStoreVersionLocalizations?.ToString() ?? + AppStoreVersionPhasedReleases?.ToString() ?? + AppStoreVersionSubmissions?.ToString() ?? + AppClipDefaultExperiences2?.ToString() ?? + Builds?.ToString() ?? + GameCenterAppVersions?.ToString() ?? + RoutingAppCoverages?.ToString() ; /// @@ -1577,37 +745,24 @@ AndroidToIosAppMappingDetails as object /// public bool Validate() { - return IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && IsSubscriptionGroups; + return IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && IsRoutingAppCoverages; } /// /// /// public TResult? Match( - global::System.Func? androidToIosAppMappingDetails = null, - global::System.Func? appClips = null, - global::System.Func? appCustomProductPages = null, - global::System.Func? appEncryptionDeclarations = null, - global::System.Func? appEvents = null, - global::System.Func? appInfos = null, - global::System.Func? appStoreVersionExperiments1 = null, - global::System.Func? appStoreVersionExperiments2 = null, - global::System.Func? betaAppLocalizations = null, - global::System.Func? betaAppReviewDetails = null, - global::System.Func? betaGroups = null, - global::System.Func? betaLicenseAgreements = null, - global::System.Func? buildIcons1 = null, - global::System.Func? buildIcons2 = null, - global::System.Func? ciProducts = null, - global::System.Func? endUserLicenseAgreements = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterEnabledVersions = null, - global::System.Func? inAppPurchases = null, - global::System.Func? preReleaseVersions = null, - global::System.Func? promotedPurchases = null, - global::System.Func? reviewSubmissions = null, - global::System.Func? subscriptionGracePeriods = null, - global::System.Func? subscriptionGroups = null, + global::System.Func? alternativeDistributionPackages = null, + global::System.Func? appClipDefaultExperiences1 = null, + global::System.Func? appStoreReviewDetails = null, + global::System.Func? appStoreVersionExperiments = null, + global::System.Func? appStoreVersionLocalizations = null, + global::System.Func? appStoreVersionPhasedReleases = null, + global::System.Func? appStoreVersionSubmissions = null, + global::System.Func? appClipDefaultExperiences2 = null, + global::System.Func? builds = null, + global::System.Func? gameCenterAppVersions = null, + global::System.Func? routingAppCoverages = null, bool validate = true) { if (validate) @@ -1615,101 +770,49 @@ public bool Validate() Validate(); } - if (AndroidToIosAppMappingDetails is { } __value0 && androidToIosAppMappingDetails != null) - { - return androidToIosAppMappingDetails(__value0); - } - else if (AppClips is { } __value1 && appClips != null) - { - return appClips(__value1); - } - else if (AppCustomProductPages is { } __value2 && appCustomProductPages != null) - { - return appCustomProductPages(__value2); - } - else if (AppEncryptionDeclarations is { } __value3 && appEncryptionDeclarations != null) - { - return appEncryptionDeclarations(__value3); - } - else if (AppEvents is { } __value4 && appEvents != null) - { - return appEvents(__value4); - } - else if (AppInfos is { } __value5 && appInfos != null) - { - return appInfos(__value5); - } - else if (AppStoreVersionExperiments1 is { } __value6 && appStoreVersionExperiments1 != null) - { - return appStoreVersionExperiments1(__value6); - } - else if (AppStoreVersionExperiments2 is { } __value7 && appStoreVersionExperiments2 != null) - { - return appStoreVersionExperiments2(__value7); - } - else if (BetaAppLocalizations is { } __value8 && betaAppLocalizations != null) - { - return betaAppLocalizations(__value8); - } - else if (BetaAppReviewDetails is { } __value9 && betaAppReviewDetails != null) - { - return betaAppReviewDetails(__value9); - } - else if (BetaGroups is { } __value10 && betaGroups != null) - { - return betaGroups(__value10); - } - else if (BetaLicenseAgreements is { } __value11 && betaLicenseAgreements != null) - { - return betaLicenseAgreements(__value11); - } - else if (BuildIcons1 is { } __value12 && buildIcons1 != null) - { - return buildIcons1(__value12); - } - else if (BuildIcons2 is { } __value13 && buildIcons2 != null) + if (AlternativeDistributionPackages is { } __value0 && alternativeDistributionPackages != null) { - return buildIcons2(__value13); + return alternativeDistributionPackages(__value0); } - else if (CiProducts is { } __value14 && ciProducts != null) + else if (AppClipDefaultExperiences1 is { } __value1 && appClipDefaultExperiences1 != null) { - return ciProducts(__value14); + return appClipDefaultExperiences1(__value1); } - else if (EndUserLicenseAgreements is { } __value15 && endUserLicenseAgreements != null) + else if (AppStoreReviewDetails is { } __value2 && appStoreReviewDetails != null) { - return endUserLicenseAgreements(__value15); + return appStoreReviewDetails(__value2); } - else if (GameCenterDetails is { } __value16 && gameCenterDetails != null) + else if (AppStoreVersionExperiments is { } __value3 && appStoreVersionExperiments != null) { - return gameCenterDetails(__value16); + return appStoreVersionExperiments(__value3); } - else if (GameCenterEnabledVersions is { } __value17 && gameCenterEnabledVersions != null) + else if (AppStoreVersionLocalizations is { } __value4 && appStoreVersionLocalizations != null) { - return gameCenterEnabledVersions(__value17); + return appStoreVersionLocalizations(__value4); } - else if (InAppPurchases is { } __value18 && inAppPurchases != null) + else if (AppStoreVersionPhasedReleases is { } __value5 && appStoreVersionPhasedReleases != null) { - return inAppPurchases(__value18); + return appStoreVersionPhasedReleases(__value5); } - else if (PreReleaseVersions is { } __value19 && preReleaseVersions != null) + else if (AppStoreVersionSubmissions is { } __value6 && appStoreVersionSubmissions != null) { - return preReleaseVersions(__value19); + return appStoreVersionSubmissions(__value6); } - else if (PromotedPurchases is { } __value20 && promotedPurchases != null) + else if (AppClipDefaultExperiences2 is { } __value7 && appClipDefaultExperiences2 != null) { - return promotedPurchases(__value20); + return appClipDefaultExperiences2(__value7); } - else if (ReviewSubmissions is { } __value21 && reviewSubmissions != null) + else if (Builds is { } __value8 && builds != null) { - return reviewSubmissions(__value21); + return builds(__value8); } - else if (SubscriptionGracePeriods is { } __value22 && subscriptionGracePeriods != null) + else if (GameCenterAppVersions is { } __value9 && gameCenterAppVersions != null) { - return subscriptionGracePeriods(__value22); + return gameCenterAppVersions(__value9); } - else if (SubscriptionGroups is { } __value23 && subscriptionGroups != null) + else if (RoutingAppCoverages is { } __value10 && routingAppCoverages != null) { - return subscriptionGroups(__value23); + return routingAppCoverages(__value10); } return default(TResult); @@ -1719,53 +822,27 @@ public bool Validate() /// /// public void Match( - global::System.Action? androidToIosAppMappingDetails = null, - - global::System.Action? appClips = null, + global::System.Action? alternativeDistributionPackages = null, - global::System.Action? appCustomProductPages = null, + global::System.Action? appClipDefaultExperiences1 = null, - global::System.Action? appEncryptionDeclarations = null, + global::System.Action? appStoreReviewDetails = null, - global::System.Action? appEvents = null, + global::System.Action? appStoreVersionExperiments = null, - global::System.Action? appInfos = null, + global::System.Action? appStoreVersionLocalizations = null, - global::System.Action? appStoreVersionExperiments1 = null, + global::System.Action? appStoreVersionPhasedReleases = null, - global::System.Action? appStoreVersionExperiments2 = null, + global::System.Action? appStoreVersionSubmissions = null, - global::System.Action? betaAppLocalizations = null, + global::System.Action? appClipDefaultExperiences2 = null, - global::System.Action? betaAppReviewDetails = null, + global::System.Action? builds = null, - global::System.Action? betaGroups = null, + global::System.Action? gameCenterAppVersions = null, - global::System.Action? betaLicenseAgreements = null, - - global::System.Action? buildIcons1 = null, - - global::System.Action? buildIcons2 = null, - - global::System.Action? ciProducts = null, - - global::System.Action? endUserLicenseAgreements = null, - - global::System.Action? gameCenterDetails = null, - - global::System.Action? gameCenterEnabledVersions = null, - - global::System.Action? inAppPurchases = null, - - global::System.Action? preReleaseVersions = null, - - global::System.Action? promotedPurchases = null, - - global::System.Action? reviewSubmissions = null, - - global::System.Action? subscriptionGracePeriods = null, - - global::System.Action? subscriptionGroups = null, + global::System.Action? routingAppCoverages = null, bool validate = true) { if (validate) @@ -1773,101 +850,49 @@ public void Match( Validate(); } - if (AndroidToIosAppMappingDetails is { } __value0) - { - androidToIosAppMappingDetails?.Invoke(__value0); - } - else if (AppClips is { } __value1) - { - appClips?.Invoke(__value1); - } - else if (AppCustomProductPages is { } __value2) - { - appCustomProductPages?.Invoke(__value2); - } - else if (AppEncryptionDeclarations is { } __value3) - { - appEncryptionDeclarations?.Invoke(__value3); - } - else if (AppEvents is { } __value4) - { - appEvents?.Invoke(__value4); - } - else if (AppInfos is { } __value5) - { - appInfos?.Invoke(__value5); - } - else if (AppStoreVersionExperiments1 is { } __value6) - { - appStoreVersionExperiments1?.Invoke(__value6); - } - else if (AppStoreVersionExperiments2 is { } __value7) - { - appStoreVersionExperiments2?.Invoke(__value7); - } - else if (BetaAppLocalizations is { } __value8) - { - betaAppLocalizations?.Invoke(__value8); - } - else if (BetaAppReviewDetails is { } __value9) - { - betaAppReviewDetails?.Invoke(__value9); - } - else if (BetaGroups is { } __value10) + if (AlternativeDistributionPackages is { } __value0) { - betaGroups?.Invoke(__value10); + alternativeDistributionPackages?.Invoke(__value0); } - else if (BetaLicenseAgreements is { } __value11) + else if (AppClipDefaultExperiences1 is { } __value1) { - betaLicenseAgreements?.Invoke(__value11); + appClipDefaultExperiences1?.Invoke(__value1); } - else if (BuildIcons1 is { } __value12) + else if (AppStoreReviewDetails is { } __value2) { - buildIcons1?.Invoke(__value12); + appStoreReviewDetails?.Invoke(__value2); } - else if (BuildIcons2 is { } __value13) + else if (AppStoreVersionExperiments is { } __value3) { - buildIcons2?.Invoke(__value13); + appStoreVersionExperiments?.Invoke(__value3); } - else if (CiProducts is { } __value14) + else if (AppStoreVersionLocalizations is { } __value4) { - ciProducts?.Invoke(__value14); + appStoreVersionLocalizations?.Invoke(__value4); } - else if (EndUserLicenseAgreements is { } __value15) + else if (AppStoreVersionPhasedReleases is { } __value5) { - endUserLicenseAgreements?.Invoke(__value15); + appStoreVersionPhasedReleases?.Invoke(__value5); } - else if (GameCenterDetails is { } __value16) + else if (AppStoreVersionSubmissions is { } __value6) { - gameCenterDetails?.Invoke(__value16); + appStoreVersionSubmissions?.Invoke(__value6); } - else if (GameCenterEnabledVersions is { } __value17) + else if (AppClipDefaultExperiences2 is { } __value7) { - gameCenterEnabledVersions?.Invoke(__value17); + appClipDefaultExperiences2?.Invoke(__value7); } - else if (InAppPurchases is { } __value18) + else if (Builds is { } __value8) { - inAppPurchases?.Invoke(__value18); + builds?.Invoke(__value8); } - else if (PreReleaseVersions is { } __value19) + else if (GameCenterAppVersions is { } __value9) { - preReleaseVersions?.Invoke(__value19); + gameCenterAppVersions?.Invoke(__value9); } - else if (PromotedPurchases is { } __value20) + else if (RoutingAppCoverages is { } __value10) { - promotedPurchases?.Invoke(__value20); - } - else if (ReviewSubmissions is { } __value21) - { - reviewSubmissions?.Invoke(__value21); - } - else if (SubscriptionGracePeriods is { } __value22) - { - subscriptionGracePeriods?.Invoke(__value22); - } - else if (SubscriptionGroups is { } __value23) - { - subscriptionGroups?.Invoke(__value23); + routingAppCoverages?.Invoke(__value10); } } @@ -1875,30 +900,17 @@ public void Match( /// /// public void Switch( - global::System.Action? androidToIosAppMappingDetails = null, - global::System.Action? appClips = null, - global::System.Action? appCustomProductPages = null, - global::System.Action? appEncryptionDeclarations = null, - global::System.Action? appEvents = null, - global::System.Action? appInfos = null, - global::System.Action? appStoreVersionExperiments1 = null, - global::System.Action? appStoreVersionExperiments2 = null, - global::System.Action? betaAppLocalizations = null, - global::System.Action? betaAppReviewDetails = null, - global::System.Action? betaGroups = null, - global::System.Action? betaLicenseAgreements = null, - global::System.Action? buildIcons1 = null, - global::System.Action? buildIcons2 = null, - global::System.Action? ciProducts = null, - global::System.Action? endUserLicenseAgreements = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterEnabledVersions = null, - global::System.Action? inAppPurchases = null, - global::System.Action? preReleaseVersions = null, - global::System.Action? promotedPurchases = null, - global::System.Action? reviewSubmissions = null, - global::System.Action? subscriptionGracePeriods = null, - global::System.Action? subscriptionGroups = null, + global::System.Action? alternativeDistributionPackages = null, + global::System.Action? appClipDefaultExperiences1 = null, + global::System.Action? appStoreReviewDetails = null, + global::System.Action? appStoreVersionExperiments = null, + global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? appStoreVersionPhasedReleases = null, + global::System.Action? appStoreVersionSubmissions = null, + global::System.Action? appClipDefaultExperiences2 = null, + global::System.Action? builds = null, + global::System.Action? gameCenterAppVersions = null, + global::System.Action? routingAppCoverages = null, bool validate = true) { if (validate) @@ -1906,101 +918,49 @@ public void Switch( Validate(); } - if (AndroidToIosAppMappingDetails is { } __value0) - { - androidToIosAppMappingDetails?.Invoke(__value0); - } - else if (AppClips is { } __value1) - { - appClips?.Invoke(__value1); - } - else if (AppCustomProductPages is { } __value2) - { - appCustomProductPages?.Invoke(__value2); - } - else if (AppEncryptionDeclarations is { } __value3) - { - appEncryptionDeclarations?.Invoke(__value3); - } - else if (AppEvents is { } __value4) - { - appEvents?.Invoke(__value4); - } - else if (AppInfos is { } __value5) - { - appInfos?.Invoke(__value5); - } - else if (AppStoreVersionExperiments1 is { } __value6) - { - appStoreVersionExperiments1?.Invoke(__value6); - } - else if (AppStoreVersionExperiments2 is { } __value7) - { - appStoreVersionExperiments2?.Invoke(__value7); - } - else if (BetaAppLocalizations is { } __value8) - { - betaAppLocalizations?.Invoke(__value8); - } - else if (BetaAppReviewDetails is { } __value9) - { - betaAppReviewDetails?.Invoke(__value9); - } - else if (BetaGroups is { } __value10) - { - betaGroups?.Invoke(__value10); - } - else if (BetaLicenseAgreements is { } __value11) - { - betaLicenseAgreements?.Invoke(__value11); - } - else if (BuildIcons1 is { } __value12) - { - buildIcons1?.Invoke(__value12); - } - else if (BuildIcons2 is { } __value13) + if (AlternativeDistributionPackages is { } __value0) { - buildIcons2?.Invoke(__value13); + alternativeDistributionPackages?.Invoke(__value0); } - else if (CiProducts is { } __value14) + else if (AppClipDefaultExperiences1 is { } __value1) { - ciProducts?.Invoke(__value14); + appClipDefaultExperiences1?.Invoke(__value1); } - else if (EndUserLicenseAgreements is { } __value15) + else if (AppStoreReviewDetails is { } __value2) { - endUserLicenseAgreements?.Invoke(__value15); + appStoreReviewDetails?.Invoke(__value2); } - else if (GameCenterDetails is { } __value16) + else if (AppStoreVersionExperiments is { } __value3) { - gameCenterDetails?.Invoke(__value16); + appStoreVersionExperiments?.Invoke(__value3); } - else if (GameCenterEnabledVersions is { } __value17) + else if (AppStoreVersionLocalizations is { } __value4) { - gameCenterEnabledVersions?.Invoke(__value17); + appStoreVersionLocalizations?.Invoke(__value4); } - else if (InAppPurchases is { } __value18) + else if (AppStoreVersionPhasedReleases is { } __value5) { - inAppPurchases?.Invoke(__value18); + appStoreVersionPhasedReleases?.Invoke(__value5); } - else if (PreReleaseVersions is { } __value19) + else if (AppStoreVersionSubmissions is { } __value6) { - preReleaseVersions?.Invoke(__value19); + appStoreVersionSubmissions?.Invoke(__value6); } - else if (PromotedPurchases is { } __value20) + else if (AppClipDefaultExperiences2 is { } __value7) { - promotedPurchases?.Invoke(__value20); + appClipDefaultExperiences2?.Invoke(__value7); } - else if (ReviewSubmissions is { } __value21) + else if (Builds is { } __value8) { - reviewSubmissions?.Invoke(__value21); + builds?.Invoke(__value8); } - else if (SubscriptionGracePeriods is { } __value22) + else if (GameCenterAppVersions is { } __value9) { - subscriptionGracePeriods?.Invoke(__value22); + gameCenterAppVersions?.Invoke(__value9); } - else if (SubscriptionGroups is { } __value23) + else if (RoutingAppCoverages is { } __value10) { - subscriptionGroups?.Invoke(__value23); + routingAppCoverages?.Invoke(__value10); } } @@ -2011,54 +971,28 @@ public override int GetHashCode() { var fields = new object?[] { - AndroidToIosAppMappingDetails, - typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), - AppClips, - typeof(global::AppStoreConnect.AppClip), - AppCustomProductPages, - typeof(global::AppStoreConnect.AppCustomProductPage), - AppEncryptionDeclarations, - typeof(global::AppStoreConnect.AppEncryptionDeclaration), - AppEvents, - typeof(global::AppStoreConnect.AppEvent), - AppInfos, - typeof(global::AppStoreConnect.AppInfo), - AppStoreVersionExperiments1, - typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), - AppStoreVersionExperiments2, - typeof(global::AppStoreConnect.AppStoreVersion), - BetaAppLocalizations, - typeof(global::AppStoreConnect.BetaAppLocalization), - BetaAppReviewDetails, - typeof(global::AppStoreConnect.BetaAppReviewDetail), - BetaGroups, - typeof(global::AppStoreConnect.BetaGroup), - BetaLicenseAgreements, - typeof(global::AppStoreConnect.BetaLicenseAgreement), - BuildIcons1, - typeof(global::AppStoreConnect.BuildIcon), - BuildIcons2, + AlternativeDistributionPackages, + typeof(global::AppStoreConnect.AlternativeDistributionPackage), + AppClipDefaultExperiences1, + typeof(global::AppStoreConnect.AppClipDefaultExperience), + AppStoreReviewDetails, + typeof(global::AppStoreConnect.AppStoreReviewDetail), + AppStoreVersionExperiments, + typeof(global::AppStoreConnect.AppStoreVersionExperiment), + AppStoreVersionLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionLocalization), + AppStoreVersionPhasedReleases, + typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), + AppStoreVersionSubmissions, + typeof(global::AppStoreConnect.AppStoreVersionSubmission), + AppClipDefaultExperiences2, + typeof(global::AppStoreConnect.App), + Builds, typeof(global::AppStoreConnect.Build), - CiProducts, - typeof(global::AppStoreConnect.CiProduct), - EndUserLicenseAgreements, - typeof(global::AppStoreConnect.EndUserLicenseAgreement), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterEnabledVersions, - typeof(global::AppStoreConnect.GameCenterEnabledVersion), - InAppPurchases, - typeof(global::AppStoreConnect.InAppPurchase), - PreReleaseVersions, - typeof(global::AppStoreConnect.PrereleaseVersion), - PromotedPurchases, - typeof(global::AppStoreConnect.PromotedPurchase), - ReviewSubmissions, - typeof(global::AppStoreConnect.ReviewSubmission), - SubscriptionGracePeriods, - typeof(global::AppStoreConnect.SubscriptionGracePeriod), - SubscriptionGroups, - typeof(global::AppStoreConnect.SubscriptionGroup), + GameCenterAppVersions, + typeof(global::AppStoreConnect.GameCenterAppVersion), + RoutingAppCoverages, + typeof(global::AppStoreConnect.RoutingAppCoverage), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -2075,30 +1009,17 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem46 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AndroidToIosAppMappingDetails, other.AndroidToIosAppMappingDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClips, other.AppClips) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPages, other.AppCustomProductPages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations, other.AppEncryptionDeclarations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppInfos, other.AppInfos) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments1, other.AppStoreVersionExperiments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments2, other.AppStoreVersionExperiments2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppLocalizations, other.BetaAppLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppReviewDetails, other.BetaAppReviewDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaLicenseAgreements, other.BetaLicenseAgreements) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons1, other.BuildIcons1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons2, other.BuildIcons2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(EndUserLicenseAgreements, other.EndUserLicenseAgreements) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterEnabledVersions, other.GameCenterEnabledVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(PreReleaseVersions, other.PreReleaseVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ReviewSubmissions, other.ReviewSubmissions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGracePeriods, other.SubscriptionGracePeriods) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AlternativeDistributionPackages, other.AlternativeDistributionPackages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences1, other.AppClipDefaultExperiences1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreReviewDetails, other.AppStoreReviewDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments, other.AppStoreVersionExperiments) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionPhasedReleases, other.AppStoreVersionPhasedReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionSubmissions, other.AppStoreVersionSubmissions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences2, other.AppClipDefaultExperiences2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions, other.GameCenterAppVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(RoutingAppCoverages, other.RoutingAppCoverages) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem47.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem47.g.cs index cf38ee95b..5ad070b13 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem47.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem47.g.cs @@ -12,1193 +12,597 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AndroidToIosAppMappingDetail? AndroidToIosAppMappingDetails { get; init; } + public global::AppStoreConnect.AlternativeDistributionPackage? AlternativeDistributionPackages { get; init; } #else - public global::AppStoreConnect.AndroidToIosAppMappingDetail? AndroidToIosAppMappingDetails { get; } + public global::AppStoreConnect.AlternativeDistributionPackage? AlternativeDistributionPackages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AndroidToIosAppMappingDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AlternativeDistributionPackages))] #endif - public bool IsAndroidToIosAppMappingDetails => AndroidToIosAppMappingDetails != null; + public bool IsAlternativeDistributionPackages => AlternativeDistributionPackages != null; /// /// /// - public bool TryPickAndroidToIosAppMappingDetails( + public bool TryPickAlternativeDistributionPackages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AndroidToIosAppMappingDetail? value) + out global::AppStoreConnect.AlternativeDistributionPackage? value) { - value = AndroidToIosAppMappingDetails; - return IsAndroidToIosAppMappingDetails; + value = AlternativeDistributionPackages; + return IsAlternativeDistributionPackages; } /// /// /// - public global::AppStoreConnect.AndroidToIosAppMappingDetail PickAndroidToIosAppMappingDetails() => AndroidToIosAppMappingDetails is { } value + public global::AppStoreConnect.AlternativeDistributionPackage PickAlternativeDistributionPackages() => AlternativeDistributionPackages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AndroidToIosAppMappingDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AlternativeDistributionPackages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClip? AppClips { get; init; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; init; } #else - public global::AppStoreConnect.AppClip? AppClips { get; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClips))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences1))] #endif - public bool IsAppClips => AppClips != null; + public bool IsAppClipDefaultExperiences1 => AppClipDefaultExperiences1 != null; /// /// /// - public bool TryPickAppClips( + public bool TryPickAppClipDefaultExperiences1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClip? value) + out global::AppStoreConnect.AppClipDefaultExperience? value) { - value = AppClips; - return IsAppClips; + value = AppClipDefaultExperiences1; + return IsAppClipDefaultExperiences1; } /// /// /// - public global::AppStoreConnect.AppClip PickAppClips() => AppClips is { } value + public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences1() => AppClipDefaultExperiences1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClips' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPages { get; init; } + public global::AppStoreConnect.AppStoreReviewDetail? AppStoreReviewDetails { get; init; } #else - public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPages { get; } + public global::AppStoreConnect.AppStoreReviewDetail? AppStoreReviewDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreReviewDetails))] #endif - public bool IsAppCustomProductPages => AppCustomProductPages != null; + public bool IsAppStoreReviewDetails => AppStoreReviewDetails != null; /// /// /// - public bool TryPickAppCustomProductPages( + public bool TryPickAppStoreReviewDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppCustomProductPage? value) + out global::AppStoreConnect.AppStoreReviewDetail? value) { - value = AppCustomProductPages; - return IsAppCustomProductPages; + value = AppStoreReviewDetails; + return IsAppStoreReviewDetails; } /// /// /// - public global::AppStoreConnect.AppCustomProductPage PickAppCustomProductPages() => AppCustomProductPages is { } value + public global::AppStoreConnect.AppStoreReviewDetail PickAppStoreReviewDetails() => AppStoreReviewDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreReviewDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations { get; init; } + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments { get; init; } #else - public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations { get; } + public global::AppStoreConnect.AppStoreVersionExperiment? AppStoreVersionExperiments { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments))] #endif - public bool IsAppEncryptionDeclarations => AppEncryptionDeclarations != null; + public bool IsAppStoreVersionExperiments => AppStoreVersionExperiments != null; /// /// /// - public bool TryPickAppEncryptionDeclarations( + public bool TryPickAppStoreVersionExperiments( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEncryptionDeclaration? value) + out global::AppStoreConnect.AppStoreVersionExperiment? value) { - value = AppEncryptionDeclarations; - return IsAppEncryptionDeclarations; + value = AppStoreVersionExperiments; + return IsAppStoreVersionExperiments; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclaration PickAppEncryptionDeclarations() => AppEncryptionDeclarations is { } value + public global::AppStoreConnect.AppStoreVersionExperiment PickAppStoreVersionExperiments() => AppStoreVersionExperiments is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEvent? AppEvents { get; init; } + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; init; } #else - public global::AppStoreConnect.AppEvent? AppEvents { get; } + public global::AppStoreConnect.AppStoreVersionLocalization? AppStoreVersionLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionLocalizations))] #endif - public bool IsAppEvents => AppEvents != null; + public bool IsAppStoreVersionLocalizations => AppStoreVersionLocalizations != null; /// /// /// - public bool TryPickAppEvents( + public bool TryPickAppStoreVersionLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEvent? value) + out global::AppStoreConnect.AppStoreVersionLocalization? value) { - value = AppEvents; - return IsAppEvents; + value = AppStoreVersionLocalizations; + return IsAppStoreVersionLocalizations; } /// /// /// - public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value + public global::AppStoreConnect.AppStoreVersionLocalization PickAppStoreVersionLocalizations() => AppStoreVersionLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppInfo? AppInfos { get; init; } + public global::AppStoreConnect.AppStoreVersionPhasedRelease? AppStoreVersionPhasedReleases { get; init; } #else - public global::AppStoreConnect.AppInfo? AppInfos { get; } + public global::AppStoreConnect.AppStoreVersionPhasedRelease? AppStoreVersionPhasedReleases { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppInfos))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionPhasedReleases))] #endif - public bool IsAppInfos => AppInfos != null; + public bool IsAppStoreVersionPhasedReleases => AppStoreVersionPhasedReleases != null; /// /// /// - public bool TryPickAppInfos( + public bool TryPickAppStoreVersionPhasedReleases( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppInfo? value) + out global::AppStoreConnect.AppStoreVersionPhasedRelease? value) { - value = AppInfos; - return IsAppInfos; + value = AppStoreVersionPhasedReleases; + return IsAppStoreVersionPhasedReleases; } /// /// /// - public global::AppStoreConnect.AppInfo PickAppInfos() => AppInfos is { } value + public global::AppStoreConnect.AppStoreVersionPhasedRelease PickAppStoreVersionPhasedReleases() => AppStoreVersionPhasedReleases is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppInfos' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionPhasedReleases' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersionExperimentV2? AppStoreVersionExperiments1 { get; init; } + public global::AppStoreConnect.AppStoreVersionSubmission? AppStoreVersionSubmissions { get; init; } #else - public global::AppStoreConnect.AppStoreVersionExperimentV2? AppStoreVersionExperiments1 { get; } + public global::AppStoreConnect.AppStoreVersionSubmission? AppStoreVersionSubmissions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionSubmissions))] #endif - public bool IsAppStoreVersionExperiments1 => AppStoreVersionExperiments1 != null; + public bool IsAppStoreVersionSubmissions => AppStoreVersionSubmissions != null; /// /// /// - public bool TryPickAppStoreVersionExperiments1( + public bool TryPickAppStoreVersionSubmissions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersionExperimentV2? value) + out global::AppStoreConnect.AppStoreVersionSubmission? value) { - value = AppStoreVersionExperiments1; - return IsAppStoreVersionExperiments1; + value = AppStoreVersionSubmissions; + return IsAppStoreVersionSubmissions; } /// /// /// - public global::AppStoreConnect.AppStoreVersionExperimentV2 PickAppStoreVersionExperiments1() => AppStoreVersionExperiments1 is { } value + public global::AppStoreConnect.AppStoreVersionSubmission PickAppStoreVersionSubmissions() => AppStoreVersionSubmissions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionSubmissions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; init; } + public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; } + public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences2))] #endif - public bool IsAppStoreVersionExperiments2 => AppStoreVersionExperiments2 != null; + public bool IsAppClipDefaultExperiences2 => AppClipDefaultExperiences2 != null; /// /// /// - public bool TryPickAppStoreVersionExperiments2( + public bool TryPickAppClipDefaultExperiences2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.App? value) { - value = AppStoreVersionExperiments2; - return IsAppStoreVersionExperiments2; + value = AppClipDefaultExperiences2; + return IsAppClipDefaultExperiences2; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperiments2() => AppStoreVersionExperiments2 is { } value + public global::AppStoreConnect.App PickAppClipDefaultExperiences2() => AppClipDefaultExperiences2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences2' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaAppLocalization? BetaAppLocalizations { get; init; } + public global::AppStoreConnect.Build? Builds { get; init; } #else - public global::AppStoreConnect.BetaAppLocalization? BetaAppLocalizations { get; } + public global::AppStoreConnect.Build? Builds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] #endif - public bool IsBetaAppLocalizations => BetaAppLocalizations != null; + public bool IsBuilds => Builds != null; /// /// /// - public bool TryPickBetaAppLocalizations( + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BetaAppLocalization? value) - { - value = BetaAppLocalizations; - return IsBetaAppLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.BetaAppLocalization PickBetaAppLocalizations() => BetaAppLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaAppReviewDetail? BetaAppReviewDetails { get; init; } -#else - public global::AppStoreConnect.BetaAppReviewDetail? BetaAppReviewDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppReviewDetails))] -#endif - public bool IsBetaAppReviewDetails => BetaAppReviewDetails != null; - - /// - /// - /// - public bool TryPickBetaAppReviewDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaAppReviewDetail? value) - { - value = BetaAppReviewDetails; - return IsBetaAppReviewDetails; - } - - /// - /// - /// - public global::AppStoreConnect.BetaAppReviewDetail PickBetaAppReviewDetails() => BetaAppReviewDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppReviewDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } -#else - public global::AppStoreConnect.BetaGroup? BetaGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] -#endif - public bool IsBetaGroups => BetaGroups != null; - - /// - /// - /// - public bool TryPickBetaGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaGroup? value) - { - value = BetaGroups; - return IsBetaGroups; - } - - /// - /// - /// - public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaLicenseAgreement? BetaLicenseAgreements { get; init; } -#else - public global::AppStoreConnect.BetaLicenseAgreement? BetaLicenseAgreements { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaLicenseAgreements))] -#endif - public bool IsBetaLicenseAgreements => BetaLicenseAgreements != null; - - /// - /// - /// - public bool TryPickBetaLicenseAgreements( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaLicenseAgreement? value) - { - value = BetaLicenseAgreements; - return IsBetaLicenseAgreements; - } - - /// - /// - /// - public global::AppStoreConnect.BetaLicenseAgreement PickBetaLicenseAgreements() => BetaLicenseAgreements is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaLicenseAgreements' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildIcon? BuildIcons1 { get; init; } -#else - public global::AppStoreConnect.BuildIcon? BuildIcons1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons1))] -#endif - public bool IsBuildIcons1 => BuildIcons1 != null; - - /// - /// - /// - public bool TryPickBuildIcons1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildIcon? value) - { - value = BuildIcons1; - return IsBuildIcons1; - } - - /// - /// - /// - public global::AppStoreConnect.BuildIcon PickBuildIcons1() => BuildIcons1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? BuildIcons2 { get; init; } -#else - public global::AppStoreConnect.Build? BuildIcons2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons2))] -#endif - public bool IsBuildIcons2 => BuildIcons2 != null; - - /// - /// - /// - public bool TryPickBuildIcons2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.Build? value) - { - value = BuildIcons2; - return IsBuildIcons2; - } - - /// - /// - /// - public global::AppStoreConnect.Build PickBuildIcons2() => BuildIcons2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.CiProduct? CiProducts { get; init; } -#else - public global::AppStoreConnect.CiProduct? CiProducts { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] -#endif - public bool IsCiProducts => CiProducts != null; - - /// - /// - /// - public bool TryPickCiProducts( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.CiProduct? value) - { - value = CiProducts; - return IsCiProducts; - } - - /// - /// - /// - public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.EndUserLicenseAgreement? EndUserLicenseAgreements { get; init; } -#else - public global::AppStoreConnect.EndUserLicenseAgreement? EndUserLicenseAgreements { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(EndUserLicenseAgreements))] -#endif - public bool IsEndUserLicenseAgreements => EndUserLicenseAgreements != null; - - /// - /// - /// - public bool TryPickEndUserLicenseAgreements( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.EndUserLicenseAgreement? value) - { - value = EndUserLicenseAgreements; - return IsEndUserLicenseAgreements; - } - - /// - /// - /// - public global::AppStoreConnect.EndUserLicenseAgreement PickEndUserLicenseAgreements() => EndUserLicenseAgreements is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'EndUserLicenseAgreements' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } -#else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] -#endif - public bool IsGameCenterDetails => GameCenterDetails != null; - - /// - /// - /// - public bool TryPickGameCenterDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterDetail? value) - { - value = GameCenterDetails; - return IsGameCenterDetails; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; init; } -#else - public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterEnabledVersions))] -#endif - public bool IsGameCenterEnabledVersions => GameCenterEnabledVersions != null; - - /// - /// - /// - public bool TryPickGameCenterEnabledVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterEnabledVersion? value) - { - value = GameCenterEnabledVersions; - return IsGameCenterEnabledVersions; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterEnabledVersion PickGameCenterEnabledVersions() => GameCenterEnabledVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterEnabledVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.InAppPurchase? InAppPurchases { get; init; } -#else - public global::AppStoreConnect.InAppPurchase? InAppPurchases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] -#endif - public bool IsInAppPurchases => InAppPurchases != null; - - /// - /// - /// - public bool TryPickInAppPurchases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.InAppPurchase? value) - { - value = InAppPurchases; - return IsInAppPurchases; - } - - /// - /// - /// - public global::AppStoreConnect.InAppPurchase PickInAppPurchases() => InAppPurchases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; init; } -#else - public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PreReleaseVersions))] -#endif - public bool IsPreReleaseVersions => PreReleaseVersions != null; - - /// - /// - /// - public bool TryPickPreReleaseVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.PrereleaseVersion? value) - { - value = PreReleaseVersions; - return IsPreReleaseVersions; - } - - /// - /// - /// - public global::AppStoreConnect.PrereleaseVersion PickPreReleaseVersions() => PreReleaseVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PreReleaseVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } -#else - public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] -#endif - public bool IsPromotedPurchases => PromotedPurchases != null; - - /// - /// - /// - public bool TryPickPromotedPurchases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.PromotedPurchase? value) - { - value = PromotedPurchases; - return IsPromotedPurchases; - } - - /// - /// - /// - public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.ReviewSubmission? ReviewSubmissions { get; init; } -#else - public global::AppStoreConnect.ReviewSubmission? ReviewSubmissions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReviewSubmissions))] -#endif - public bool IsReviewSubmissions => ReviewSubmissions != null; - - /// - /// - /// - public bool TryPickReviewSubmissions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.ReviewSubmission? value) - { - value = ReviewSubmissions; - return IsReviewSubmissions; - } - - /// - /// - /// - public global::AppStoreConnect.ReviewSubmission PickReviewSubmissions() => ReviewSubmissions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ReviewSubmissions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGracePeriod? SubscriptionGracePeriods { get; init; } -#else - public global::AppStoreConnect.SubscriptionGracePeriod? SubscriptionGracePeriods { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGracePeriods))] -#endif - public bool IsSubscriptionGracePeriods => SubscriptionGracePeriods != null; - - /// - /// - /// - public bool TryPickSubscriptionGracePeriods( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionGracePeriod? value) - { - value = SubscriptionGracePeriods; - return IsSubscriptionGracePeriods; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionGracePeriod PickSubscriptionGracePeriods() => SubscriptionGracePeriods is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGracePeriods' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } -#else - public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] -#endif - public bool IsSubscriptionGroups => SubscriptionGroups != null; - - /// - /// - /// - public bool TryPickSubscriptionGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.SubscriptionGroup? value) - { - value = SubscriptionGroups; - return IsSubscriptionGroups; - } - - /// - /// - /// - public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.AndroidToIosAppMappingDetail value) => new IncludedItem47((global::AppStoreConnect.AndroidToIosAppMappingDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AndroidToIosAppMappingDetail?(IncludedItem47 @this) => @this.AndroidToIosAppMappingDetails; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.AndroidToIosAppMappingDetail? value) - { - AndroidToIosAppMappingDetails = value; - } - - /// - /// - /// - public static IncludedItem47 FromAndroidToIosAppMappingDetails(global::AppStoreConnect.AndroidToIosAppMappingDetail? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.AppClip value) => new IncludedItem47((global::AppStoreConnect.AppClip?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem47 @this) => @this.AppClips; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.AppClip? value) - { - AppClips = value; - } - - /// - /// - /// - public static IncludedItem47 FromAppClips(global::AppStoreConnect.AppClip? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.AppCustomProductPage value) => new IncludedItem47((global::AppStoreConnect.AppCustomProductPage?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppCustomProductPage?(IncludedItem47 @this) => @this.AppCustomProductPages; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.AppCustomProductPage? value) + out global::AppStoreConnect.Build? value) { - AppCustomProductPages = value; + value = Builds; + return IsBuilds; } /// /// /// - public static IncludedItem47 FromAppCustomProductPages(global::AppStoreConnect.AppCustomProductPage? value) => new IncludedItem47(value); + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.AppEncryptionDeclaration value) => new IncludedItem47((global::AppStoreConnect.AppEncryptionDeclaration?)value); +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; } +#endif /// /// /// - public static implicit operator global::AppStoreConnect.AppEncryptionDeclaration?(IncludedItem47 @this) => @this.AppEncryptionDeclarations; +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions))] +#endif + public bool IsGameCenterAppVersions => GameCenterAppVersions != null; /// /// /// - public IncludedItem47(global::AppStoreConnect.AppEncryptionDeclaration? value) + public bool TryPickGameCenterAppVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAppVersion? value) { - AppEncryptionDeclarations = value; + value = GameCenterAppVersions; + return IsGameCenterAppVersions; } /// /// /// - public static IncludedItem47 FromAppEncryptionDeclarations(global::AppStoreConnect.AppEncryptionDeclaration? value) => new IncludedItem47(value); + public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions() => GameCenterAppVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.AppEvent value) => new IncludedItem47((global::AppStoreConnect.AppEvent?)value); +#if NET6_0_OR_GREATER + public global::AppStoreConnect.RoutingAppCoverage? RoutingAppCoverages { get; init; } +#else + public global::AppStoreConnect.RoutingAppCoverage? RoutingAppCoverages { get; } +#endif /// /// /// - public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem47 @this) => @this.AppEvents; +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RoutingAppCoverages))] +#endif + public bool IsRoutingAppCoverages => RoutingAppCoverages != null; /// /// /// - public IncludedItem47(global::AppStoreConnect.AppEvent? value) + public bool TryPickRoutingAppCoverages( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.RoutingAppCoverage? value) { - AppEvents = value; + value = RoutingAppCoverages; + return IsRoutingAppCoverages; } /// /// /// - public static IncludedItem47 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem47(value); - + public global::AppStoreConnect.RoutingAppCoverage PickRoutingAppCoverages() => RoutingAppCoverages is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'RoutingAppCoverages' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.AppInfo value) => new IncludedItem47((global::AppStoreConnect.AppInfo?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.AlternativeDistributionPackage value) => new IncludedItem47((global::AppStoreConnect.AlternativeDistributionPackage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppInfo?(IncludedItem47 @this) => @this.AppInfos; + public static implicit operator global::AppStoreConnect.AlternativeDistributionPackage?(IncludedItem47 @this) => @this.AlternativeDistributionPackages; /// /// /// - public IncludedItem47(global::AppStoreConnect.AppInfo? value) + public IncludedItem47(global::AppStoreConnect.AlternativeDistributionPackage? value) { - AppInfos = value; + AlternativeDistributionPackages = value; } /// /// /// - public static IncludedItem47 FromAppInfos(global::AppStoreConnect.AppInfo? value) => new IncludedItem47(value); + public static IncludedItem47 FromAlternativeDistributionPackages(global::AppStoreConnect.AlternativeDistributionPackage? value) => new IncludedItem47(value); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.AppStoreVersionExperimentV2 value) => new IncludedItem47((global::AppStoreConnect.AppStoreVersionExperimentV2?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem47((global::AppStoreConnect.AppClipDefaultExperience?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentV2?(IncludedItem47 @this) => @this.AppStoreVersionExperiments1; + public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem47 @this) => @this.AppClipDefaultExperiences1; /// /// /// - public IncludedItem47(global::AppStoreConnect.AppStoreVersionExperimentV2? value) + public IncludedItem47(global::AppStoreConnect.AppClipDefaultExperience? value) { - AppStoreVersionExperiments1 = value; + AppClipDefaultExperiences1 = value; } /// /// /// - public static IncludedItem47 FromAppStoreVersionExperiments1(global::AppStoreConnect.AppStoreVersionExperimentV2? value) => new IncludedItem47(value); + public static IncludedItem47 FromAppClipDefaultExperiences1(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem47(value); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem47((global::AppStoreConnect.AppStoreVersion?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.AppStoreReviewDetail value) => new IncludedItem47((global::AppStoreConnect.AppStoreReviewDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem47 @this) => @this.AppStoreVersionExperiments2; + public static implicit operator global::AppStoreConnect.AppStoreReviewDetail?(IncludedItem47 @this) => @this.AppStoreReviewDetails; /// /// /// - public IncludedItem47(global::AppStoreConnect.AppStoreVersion? value) + public IncludedItem47(global::AppStoreConnect.AppStoreReviewDetail? value) { - AppStoreVersionExperiments2 = value; + AppStoreReviewDetails = value; } /// /// /// - public static IncludedItem47 FromAppStoreVersionExperiments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem47(value); + public static IncludedItem47 FromAppStoreReviewDetails(global::AppStoreConnect.AppStoreReviewDetail? value) => new IncludedItem47(value); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.BetaAppLocalization value) => new IncludedItem47((global::AppStoreConnect.BetaAppLocalization?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.AppStoreVersionExperiment value) => new IncludedItem47((global::AppStoreConnect.AppStoreVersionExperiment?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaAppLocalization?(IncludedItem47 @this) => @this.BetaAppLocalizations; + public static implicit operator global::AppStoreConnect.AppStoreVersionExperiment?(IncludedItem47 @this) => @this.AppStoreVersionExperiments; /// /// /// - public IncludedItem47(global::AppStoreConnect.BetaAppLocalization? value) + public IncludedItem47(global::AppStoreConnect.AppStoreVersionExperiment? value) { - BetaAppLocalizations = value; + AppStoreVersionExperiments = value; } /// /// /// - public static IncludedItem47 FromBetaAppLocalizations(global::AppStoreConnect.BetaAppLocalization? value) => new IncludedItem47(value); + public static IncludedItem47 FromAppStoreVersionExperiments(global::AppStoreConnect.AppStoreVersionExperiment? value) => new IncludedItem47(value); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.BetaAppReviewDetail value) => new IncludedItem47((global::AppStoreConnect.BetaAppReviewDetail?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.AppStoreVersionLocalization value) => new IncludedItem47((global::AppStoreConnect.AppStoreVersionLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaAppReviewDetail?(IncludedItem47 @this) => @this.BetaAppReviewDetails; + public static implicit operator global::AppStoreConnect.AppStoreVersionLocalization?(IncludedItem47 @this) => @this.AppStoreVersionLocalizations; /// /// /// - public IncludedItem47(global::AppStoreConnect.BetaAppReviewDetail? value) + public IncludedItem47(global::AppStoreConnect.AppStoreVersionLocalization? value) { - BetaAppReviewDetails = value; + AppStoreVersionLocalizations = value; } /// /// /// - public static IncludedItem47 FromBetaAppReviewDetails(global::AppStoreConnect.BetaAppReviewDetail? value) => new IncludedItem47(value); + public static IncludedItem47 FromAppStoreVersionLocalizations(global::AppStoreConnect.AppStoreVersionLocalization? value) => new IncludedItem47(value); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.BetaGroup value) => new IncludedItem47((global::AppStoreConnect.BetaGroup?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.AppStoreVersionPhasedRelease value) => new IncludedItem47((global::AppStoreConnect.AppStoreVersionPhasedRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem47 @this) => @this.BetaGroups; + public static implicit operator global::AppStoreConnect.AppStoreVersionPhasedRelease?(IncludedItem47 @this) => @this.AppStoreVersionPhasedReleases; /// /// /// - public IncludedItem47(global::AppStoreConnect.BetaGroup? value) + public IncludedItem47(global::AppStoreConnect.AppStoreVersionPhasedRelease? value) { - BetaGroups = value; + AppStoreVersionPhasedReleases = value; } /// /// /// - public static IncludedItem47 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem47(value); + public static IncludedItem47 FromAppStoreVersionPhasedReleases(global::AppStoreConnect.AppStoreVersionPhasedRelease? value) => new IncludedItem47(value); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.BetaLicenseAgreement value) => new IncludedItem47((global::AppStoreConnect.BetaLicenseAgreement?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.AppStoreVersionSubmission value) => new IncludedItem47((global::AppStoreConnect.AppStoreVersionSubmission?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaLicenseAgreement?(IncludedItem47 @this) => @this.BetaLicenseAgreements; + public static implicit operator global::AppStoreConnect.AppStoreVersionSubmission?(IncludedItem47 @this) => @this.AppStoreVersionSubmissions; /// /// /// - public IncludedItem47(global::AppStoreConnect.BetaLicenseAgreement? value) + public IncludedItem47(global::AppStoreConnect.AppStoreVersionSubmission? value) { - BetaLicenseAgreements = value; + AppStoreVersionSubmissions = value; } /// /// /// - public static IncludedItem47 FromBetaLicenseAgreements(global::AppStoreConnect.BetaLicenseAgreement? value) => new IncludedItem47(value); + public static IncludedItem47 FromAppStoreVersionSubmissions(global::AppStoreConnect.AppStoreVersionSubmission? value) => new IncludedItem47(value); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.BuildIcon value) => new IncludedItem47((global::AppStoreConnect.BuildIcon?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.App value) => new IncludedItem47((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BuildIcon?(IncludedItem47 @this) => @this.BuildIcons1; + public static implicit operator global::AppStoreConnect.App?(IncludedItem47 @this) => @this.AppClipDefaultExperiences2; /// /// /// - public IncludedItem47(global::AppStoreConnect.BuildIcon? value) + public IncludedItem47(global::AppStoreConnect.App? value) { - BuildIcons1 = value; + AppClipDefaultExperiences2 = value; } /// /// /// - public static IncludedItem47 FromBuildIcons1(global::AppStoreConnect.BuildIcon? value) => new IncludedItem47(value); + public static IncludedItem47 FromAppClipDefaultExperiences2(global::AppStoreConnect.App? value) => new IncludedItem47(value); /// /// @@ -1208,368 +612,132 @@ public IncludedItem47(global::AppStoreConnect.BuildIcon? value) /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem47 @this) => @this.BuildIcons2; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem47 @this) => @this.Builds; /// /// /// public IncludedItem47(global::AppStoreConnect.Build? value) { - BuildIcons2 = value; - } - - /// - /// - /// - public static IncludedItem47 FromBuildIcons2(global::AppStoreConnect.Build? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.CiProduct value) => new IncludedItem47((global::AppStoreConnect.CiProduct?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem47 @this) => @this.CiProducts; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.CiProduct? value) - { - CiProducts = value; - } - - /// - /// - /// - public static IncludedItem47 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.EndUserLicenseAgreement value) => new IncludedItem47((global::AppStoreConnect.EndUserLicenseAgreement?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.EndUserLicenseAgreement?(IncludedItem47 @this) => @this.EndUserLicenseAgreements; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.EndUserLicenseAgreement? value) - { - EndUserLicenseAgreements = value; - } - - /// - /// - /// - public static IncludedItem47 FromEndUserLicenseAgreements(global::AppStoreConnect.EndUserLicenseAgreement? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem47((global::AppStoreConnect.GameCenterDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem47 @this) => @this.GameCenterDetails; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.GameCenterDetail? value) - { - GameCenterDetails = value; - } - - /// - /// - /// - public static IncludedItem47 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.GameCenterEnabledVersion value) => new IncludedItem47((global::AppStoreConnect.GameCenterEnabledVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterEnabledVersion?(IncludedItem47 @this) => @this.GameCenterEnabledVersions; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.GameCenterEnabledVersion? value) - { - GameCenterEnabledVersions = value; - } - - /// - /// - /// - public static IncludedItem47 FromGameCenterEnabledVersions(global::AppStoreConnect.GameCenterEnabledVersion? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.InAppPurchase value) => new IncludedItem47((global::AppStoreConnect.InAppPurchase?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.InAppPurchase?(IncludedItem47 @this) => @this.InAppPurchases; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.InAppPurchase? value) - { - InAppPurchases = value; - } - - /// - /// - /// - public static IncludedItem47 FromInAppPurchases(global::AppStoreConnect.InAppPurchase? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.PrereleaseVersion value) => new IncludedItem47((global::AppStoreConnect.PrereleaseVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.PrereleaseVersion?(IncludedItem47 @this) => @this.PreReleaseVersions; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.PrereleaseVersion? value) - { - PreReleaseVersions = value; - } - - /// - /// - /// - public static IncludedItem47 FromPreReleaseVersions(global::AppStoreConnect.PrereleaseVersion? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem47((global::AppStoreConnect.PromotedPurchase?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem47 @this) => @this.PromotedPurchases; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.PromotedPurchase? value) - { - PromotedPurchases = value; - } - - /// - /// - /// - public static IncludedItem47 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem47(value); - - /// - /// - /// - public static implicit operator IncludedItem47(global::AppStoreConnect.ReviewSubmission value) => new IncludedItem47((global::AppStoreConnect.ReviewSubmission?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.ReviewSubmission?(IncludedItem47 @this) => @this.ReviewSubmissions; - - /// - /// - /// - public IncludedItem47(global::AppStoreConnect.ReviewSubmission? value) - { - ReviewSubmissions = value; + Builds = value; } /// /// /// - public static IncludedItem47 FromReviewSubmissions(global::AppStoreConnect.ReviewSubmission? value) => new IncludedItem47(value); + public static IncludedItem47 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem47(value); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.SubscriptionGracePeriod value) => new IncludedItem47((global::AppStoreConnect.SubscriptionGracePeriod?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem47((global::AppStoreConnect.GameCenterAppVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGracePeriod?(IncludedItem47 @this) => @this.SubscriptionGracePeriods; + public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem47 @this) => @this.GameCenterAppVersions; /// /// /// - public IncludedItem47(global::AppStoreConnect.SubscriptionGracePeriod? value) + public IncludedItem47(global::AppStoreConnect.GameCenterAppVersion? value) { - SubscriptionGracePeriods = value; + GameCenterAppVersions = value; } /// /// /// - public static IncludedItem47 FromSubscriptionGracePeriods(global::AppStoreConnect.SubscriptionGracePeriod? value) => new IncludedItem47(value); + public static IncludedItem47 FromGameCenterAppVersions(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem47(value); /// /// /// - public static implicit operator IncludedItem47(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem47((global::AppStoreConnect.SubscriptionGroup?)value); + public static implicit operator IncludedItem47(global::AppStoreConnect.RoutingAppCoverage value) => new IncludedItem47((global::AppStoreConnect.RoutingAppCoverage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem47 @this) => @this.SubscriptionGroups; + public static implicit operator global::AppStoreConnect.RoutingAppCoverage?(IncludedItem47 @this) => @this.RoutingAppCoverages; /// /// /// - public IncludedItem47(global::AppStoreConnect.SubscriptionGroup? value) + public IncludedItem47(global::AppStoreConnect.RoutingAppCoverage? value) { - SubscriptionGroups = value; + RoutingAppCoverages = value; } /// /// /// - public static IncludedItem47 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem47(value); + public static IncludedItem47 FromRoutingAppCoverages(global::AppStoreConnect.RoutingAppCoverage? value) => new IncludedItem47(value); /// /// /// public IncludedItem47( - global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AndroidToIosAppMappingDetail? androidToIosAppMappingDetails, - global::AppStoreConnect.AppClip? appClips, - global::AppStoreConnect.AppCustomProductPage? appCustomProductPages, - global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations, - global::AppStoreConnect.AppEvent? appEvents, - global::AppStoreConnect.AppInfo? appInfos, - global::AppStoreConnect.AppStoreVersionExperimentV2? appStoreVersionExperiments1, - global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2, - global::AppStoreConnect.BetaAppLocalization? betaAppLocalizations, - global::AppStoreConnect.BetaAppReviewDetail? betaAppReviewDetails, - global::AppStoreConnect.BetaGroup? betaGroups, - global::AppStoreConnect.BetaLicenseAgreement? betaLicenseAgreements, - global::AppStoreConnect.BuildIcon? buildIcons1, - global::AppStoreConnect.Build? buildIcons2, - global::AppStoreConnect.CiProduct? ciProducts, - global::AppStoreConnect.EndUserLicenseAgreement? endUserLicenseAgreements, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions, - global::AppStoreConnect.InAppPurchase? inAppPurchases, - global::AppStoreConnect.PrereleaseVersion? preReleaseVersions, - global::AppStoreConnect.PromotedPurchase? promotedPurchases, - global::AppStoreConnect.ReviewSubmission? reviewSubmissions, - global::AppStoreConnect.SubscriptionGracePeriod? subscriptionGracePeriods, - global::AppStoreConnect.SubscriptionGroup? subscriptionGroups + global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AlternativeDistributionPackage? alternativeDistributionPackages, + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1, + global::AppStoreConnect.AppStoreReviewDetail? appStoreReviewDetails, + global::AppStoreConnect.AppStoreVersionExperiment? appStoreVersionExperiments, + global::AppStoreConnect.AppStoreVersionLocalization? appStoreVersionLocalizations, + global::AppStoreConnect.AppStoreVersionPhasedRelease? appStoreVersionPhasedReleases, + global::AppStoreConnect.AppStoreVersionSubmission? appStoreVersionSubmissions, + global::AppStoreConnect.App? appClipDefaultExperiences2, + global::AppStoreConnect.Build? builds, + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions, + global::AppStoreConnect.RoutingAppCoverage? routingAppCoverages ) { Type = type; - AndroidToIosAppMappingDetails = androidToIosAppMappingDetails; - AppClips = appClips; - AppCustomProductPages = appCustomProductPages; - AppEncryptionDeclarations = appEncryptionDeclarations; - AppEvents = appEvents; - AppInfos = appInfos; - AppStoreVersionExperiments1 = appStoreVersionExperiments1; - AppStoreVersionExperiments2 = appStoreVersionExperiments2; - BetaAppLocalizations = betaAppLocalizations; - BetaAppReviewDetails = betaAppReviewDetails; - BetaGroups = betaGroups; - BetaLicenseAgreements = betaLicenseAgreements; - BuildIcons1 = buildIcons1; - BuildIcons2 = buildIcons2; - CiProducts = ciProducts; - EndUserLicenseAgreements = endUserLicenseAgreements; - GameCenterDetails = gameCenterDetails; - GameCenterEnabledVersions = gameCenterEnabledVersions; - InAppPurchases = inAppPurchases; - PreReleaseVersions = preReleaseVersions; - PromotedPurchases = promotedPurchases; - ReviewSubmissions = reviewSubmissions; - SubscriptionGracePeriods = subscriptionGracePeriods; - SubscriptionGroups = subscriptionGroups; + AlternativeDistributionPackages = alternativeDistributionPackages; + AppClipDefaultExperiences1 = appClipDefaultExperiences1; + AppStoreReviewDetails = appStoreReviewDetails; + AppStoreVersionExperiments = appStoreVersionExperiments; + AppStoreVersionLocalizations = appStoreVersionLocalizations; + AppStoreVersionPhasedReleases = appStoreVersionPhasedReleases; + AppStoreVersionSubmissions = appStoreVersionSubmissions; + AppClipDefaultExperiences2 = appClipDefaultExperiences2; + Builds = builds; + GameCenterAppVersions = gameCenterAppVersions; + RoutingAppCoverages = routingAppCoverages; } /// /// /// public object? Object => - SubscriptionGroups as object ?? - SubscriptionGracePeriods as object ?? - ReviewSubmissions as object ?? - PromotedPurchases as object ?? - PreReleaseVersions as object ?? - InAppPurchases as object ?? - GameCenterEnabledVersions as object ?? - GameCenterDetails as object ?? - EndUserLicenseAgreements as object ?? - CiProducts as object ?? - BuildIcons2 as object ?? - BuildIcons1 as object ?? - BetaLicenseAgreements as object ?? - BetaGroups as object ?? - BetaAppReviewDetails as object ?? - BetaAppLocalizations as object ?? - AppStoreVersionExperiments2 as object ?? - AppStoreVersionExperiments1 as object ?? - AppInfos as object ?? - AppEvents as object ?? - AppEncryptionDeclarations as object ?? - AppCustomProductPages as object ?? - AppClips as object ?? - AndroidToIosAppMappingDetails as object + RoutingAppCoverages as object ?? + GameCenterAppVersions as object ?? + Builds as object ?? + AppClipDefaultExperiences2 as object ?? + AppStoreVersionSubmissions as object ?? + AppStoreVersionPhasedReleases as object ?? + AppStoreVersionLocalizations as object ?? + AppStoreVersionExperiments as object ?? + AppStoreReviewDetails as object ?? + AppClipDefaultExperiences1 as object ?? + AlternativeDistributionPackages as object ; /// /// /// public override string? ToString() => - AndroidToIosAppMappingDetails?.ToString() ?? - AppClips?.ToString() ?? - AppCustomProductPages?.ToString() ?? - AppEncryptionDeclarations?.ToString() ?? - AppEvents?.ToString() ?? - AppInfos?.ToString() ?? - AppStoreVersionExperiments1?.ToString() ?? - AppStoreVersionExperiments2?.ToString() ?? - BetaAppLocalizations?.ToString() ?? - BetaAppReviewDetails?.ToString() ?? - BetaGroups?.ToString() ?? - BetaLicenseAgreements?.ToString() ?? - BuildIcons1?.ToString() ?? - BuildIcons2?.ToString() ?? - CiProducts?.ToString() ?? - EndUserLicenseAgreements?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterEnabledVersions?.ToString() ?? - InAppPurchases?.ToString() ?? - PreReleaseVersions?.ToString() ?? - PromotedPurchases?.ToString() ?? - ReviewSubmissions?.ToString() ?? - SubscriptionGracePeriods?.ToString() ?? - SubscriptionGroups?.ToString() + AlternativeDistributionPackages?.ToString() ?? + AppClipDefaultExperiences1?.ToString() ?? + AppStoreReviewDetails?.ToString() ?? + AppStoreVersionExperiments?.ToString() ?? + AppStoreVersionLocalizations?.ToString() ?? + AppStoreVersionPhasedReleases?.ToString() ?? + AppStoreVersionSubmissions?.ToString() ?? + AppClipDefaultExperiences2?.ToString() ?? + Builds?.ToString() ?? + GameCenterAppVersions?.ToString() ?? + RoutingAppCoverages?.ToString() ; /// @@ -1577,37 +745,24 @@ AndroidToIosAppMappingDetails as object /// public bool Validate() { - return IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && IsSubscriptionGroups; + return IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && IsBuilds && !IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && IsGameCenterAppVersions && !IsRoutingAppCoverages || !IsAlternativeDistributionPackages && !IsAppClipDefaultExperiences1 && !IsAppStoreReviewDetails && !IsAppStoreVersionExperiments && !IsAppStoreVersionLocalizations && !IsAppStoreVersionPhasedReleases && !IsAppStoreVersionSubmissions && !IsAppClipDefaultExperiences2 && !IsBuilds && !IsGameCenterAppVersions && IsRoutingAppCoverages; } /// /// /// public TResult? Match( - global::System.Func? androidToIosAppMappingDetails = null, - global::System.Func? appClips = null, - global::System.Func? appCustomProductPages = null, - global::System.Func? appEncryptionDeclarations = null, - global::System.Func? appEvents = null, - global::System.Func? appInfos = null, - global::System.Func? appStoreVersionExperiments1 = null, - global::System.Func? appStoreVersionExperiments2 = null, - global::System.Func? betaAppLocalizations = null, - global::System.Func? betaAppReviewDetails = null, - global::System.Func? betaGroups = null, - global::System.Func? betaLicenseAgreements = null, - global::System.Func? buildIcons1 = null, - global::System.Func? buildIcons2 = null, - global::System.Func? ciProducts = null, - global::System.Func? endUserLicenseAgreements = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterEnabledVersions = null, - global::System.Func? inAppPurchases = null, - global::System.Func? preReleaseVersions = null, - global::System.Func? promotedPurchases = null, - global::System.Func? reviewSubmissions = null, - global::System.Func? subscriptionGracePeriods = null, - global::System.Func? subscriptionGroups = null, + global::System.Func? alternativeDistributionPackages = null, + global::System.Func? appClipDefaultExperiences1 = null, + global::System.Func? appStoreReviewDetails = null, + global::System.Func? appStoreVersionExperiments = null, + global::System.Func? appStoreVersionLocalizations = null, + global::System.Func? appStoreVersionPhasedReleases = null, + global::System.Func? appStoreVersionSubmissions = null, + global::System.Func? appClipDefaultExperiences2 = null, + global::System.Func? builds = null, + global::System.Func? gameCenterAppVersions = null, + global::System.Func? routingAppCoverages = null, bool validate = true) { if (validate) @@ -1615,101 +770,49 @@ public bool Validate() Validate(); } - if (AndroidToIosAppMappingDetails is { } __value0 && androidToIosAppMappingDetails != null) - { - return androidToIosAppMappingDetails(__value0); - } - else if (AppClips is { } __value1 && appClips != null) - { - return appClips(__value1); - } - else if (AppCustomProductPages is { } __value2 && appCustomProductPages != null) - { - return appCustomProductPages(__value2); - } - else if (AppEncryptionDeclarations is { } __value3 && appEncryptionDeclarations != null) - { - return appEncryptionDeclarations(__value3); - } - else if (AppEvents is { } __value4 && appEvents != null) - { - return appEvents(__value4); - } - else if (AppInfos is { } __value5 && appInfos != null) - { - return appInfos(__value5); - } - else if (AppStoreVersionExperiments1 is { } __value6 && appStoreVersionExperiments1 != null) - { - return appStoreVersionExperiments1(__value6); - } - else if (AppStoreVersionExperiments2 is { } __value7 && appStoreVersionExperiments2 != null) - { - return appStoreVersionExperiments2(__value7); - } - else if (BetaAppLocalizations is { } __value8 && betaAppLocalizations != null) - { - return betaAppLocalizations(__value8); - } - else if (BetaAppReviewDetails is { } __value9 && betaAppReviewDetails != null) - { - return betaAppReviewDetails(__value9); - } - else if (BetaGroups is { } __value10 && betaGroups != null) - { - return betaGroups(__value10); - } - else if (BetaLicenseAgreements is { } __value11 && betaLicenseAgreements != null) - { - return betaLicenseAgreements(__value11); - } - else if (BuildIcons1 is { } __value12 && buildIcons1 != null) - { - return buildIcons1(__value12); - } - else if (BuildIcons2 is { } __value13 && buildIcons2 != null) + if (AlternativeDistributionPackages is { } __value0 && alternativeDistributionPackages != null) { - return buildIcons2(__value13); + return alternativeDistributionPackages(__value0); } - else if (CiProducts is { } __value14 && ciProducts != null) + else if (AppClipDefaultExperiences1 is { } __value1 && appClipDefaultExperiences1 != null) { - return ciProducts(__value14); + return appClipDefaultExperiences1(__value1); } - else if (EndUserLicenseAgreements is { } __value15 && endUserLicenseAgreements != null) + else if (AppStoreReviewDetails is { } __value2 && appStoreReviewDetails != null) { - return endUserLicenseAgreements(__value15); + return appStoreReviewDetails(__value2); } - else if (GameCenterDetails is { } __value16 && gameCenterDetails != null) + else if (AppStoreVersionExperiments is { } __value3 && appStoreVersionExperiments != null) { - return gameCenterDetails(__value16); + return appStoreVersionExperiments(__value3); } - else if (GameCenterEnabledVersions is { } __value17 && gameCenterEnabledVersions != null) + else if (AppStoreVersionLocalizations is { } __value4 && appStoreVersionLocalizations != null) { - return gameCenterEnabledVersions(__value17); + return appStoreVersionLocalizations(__value4); } - else if (InAppPurchases is { } __value18 && inAppPurchases != null) + else if (AppStoreVersionPhasedReleases is { } __value5 && appStoreVersionPhasedReleases != null) { - return inAppPurchases(__value18); + return appStoreVersionPhasedReleases(__value5); } - else if (PreReleaseVersions is { } __value19 && preReleaseVersions != null) + else if (AppStoreVersionSubmissions is { } __value6 && appStoreVersionSubmissions != null) { - return preReleaseVersions(__value19); + return appStoreVersionSubmissions(__value6); } - else if (PromotedPurchases is { } __value20 && promotedPurchases != null) + else if (AppClipDefaultExperiences2 is { } __value7 && appClipDefaultExperiences2 != null) { - return promotedPurchases(__value20); + return appClipDefaultExperiences2(__value7); } - else if (ReviewSubmissions is { } __value21 && reviewSubmissions != null) + else if (Builds is { } __value8 && builds != null) { - return reviewSubmissions(__value21); + return builds(__value8); } - else if (SubscriptionGracePeriods is { } __value22 && subscriptionGracePeriods != null) + else if (GameCenterAppVersions is { } __value9 && gameCenterAppVersions != null) { - return subscriptionGracePeriods(__value22); + return gameCenterAppVersions(__value9); } - else if (SubscriptionGroups is { } __value23 && subscriptionGroups != null) + else if (RoutingAppCoverages is { } __value10 && routingAppCoverages != null) { - return subscriptionGroups(__value23); + return routingAppCoverages(__value10); } return default(TResult); @@ -1719,53 +822,27 @@ public bool Validate() /// /// public void Match( - global::System.Action? androidToIosAppMappingDetails = null, - - global::System.Action? appClips = null, + global::System.Action? alternativeDistributionPackages = null, - global::System.Action? appCustomProductPages = null, + global::System.Action? appClipDefaultExperiences1 = null, - global::System.Action? appEncryptionDeclarations = null, + global::System.Action? appStoreReviewDetails = null, - global::System.Action? appEvents = null, + global::System.Action? appStoreVersionExperiments = null, - global::System.Action? appInfos = null, + global::System.Action? appStoreVersionLocalizations = null, - global::System.Action? appStoreVersionExperiments1 = null, + global::System.Action? appStoreVersionPhasedReleases = null, - global::System.Action? appStoreVersionExperiments2 = null, + global::System.Action? appStoreVersionSubmissions = null, - global::System.Action? betaAppLocalizations = null, + global::System.Action? appClipDefaultExperiences2 = null, - global::System.Action? betaAppReviewDetails = null, + global::System.Action? builds = null, - global::System.Action? betaGroups = null, + global::System.Action? gameCenterAppVersions = null, - global::System.Action? betaLicenseAgreements = null, - - global::System.Action? buildIcons1 = null, - - global::System.Action? buildIcons2 = null, - - global::System.Action? ciProducts = null, - - global::System.Action? endUserLicenseAgreements = null, - - global::System.Action? gameCenterDetails = null, - - global::System.Action? gameCenterEnabledVersions = null, - - global::System.Action? inAppPurchases = null, - - global::System.Action? preReleaseVersions = null, - - global::System.Action? promotedPurchases = null, - - global::System.Action? reviewSubmissions = null, - - global::System.Action? subscriptionGracePeriods = null, - - global::System.Action? subscriptionGroups = null, + global::System.Action? routingAppCoverages = null, bool validate = true) { if (validate) @@ -1773,101 +850,49 @@ public void Match( Validate(); } - if (AndroidToIosAppMappingDetails is { } __value0) - { - androidToIosAppMappingDetails?.Invoke(__value0); - } - else if (AppClips is { } __value1) - { - appClips?.Invoke(__value1); - } - else if (AppCustomProductPages is { } __value2) - { - appCustomProductPages?.Invoke(__value2); - } - else if (AppEncryptionDeclarations is { } __value3) - { - appEncryptionDeclarations?.Invoke(__value3); - } - else if (AppEvents is { } __value4) - { - appEvents?.Invoke(__value4); - } - else if (AppInfos is { } __value5) - { - appInfos?.Invoke(__value5); - } - else if (AppStoreVersionExperiments1 is { } __value6) - { - appStoreVersionExperiments1?.Invoke(__value6); - } - else if (AppStoreVersionExperiments2 is { } __value7) - { - appStoreVersionExperiments2?.Invoke(__value7); - } - else if (BetaAppLocalizations is { } __value8) - { - betaAppLocalizations?.Invoke(__value8); - } - else if (BetaAppReviewDetails is { } __value9) - { - betaAppReviewDetails?.Invoke(__value9); - } - else if (BetaGroups is { } __value10) + if (AlternativeDistributionPackages is { } __value0) { - betaGroups?.Invoke(__value10); + alternativeDistributionPackages?.Invoke(__value0); } - else if (BetaLicenseAgreements is { } __value11) + else if (AppClipDefaultExperiences1 is { } __value1) { - betaLicenseAgreements?.Invoke(__value11); + appClipDefaultExperiences1?.Invoke(__value1); } - else if (BuildIcons1 is { } __value12) + else if (AppStoreReviewDetails is { } __value2) { - buildIcons1?.Invoke(__value12); + appStoreReviewDetails?.Invoke(__value2); } - else if (BuildIcons2 is { } __value13) + else if (AppStoreVersionExperiments is { } __value3) { - buildIcons2?.Invoke(__value13); + appStoreVersionExperiments?.Invoke(__value3); } - else if (CiProducts is { } __value14) + else if (AppStoreVersionLocalizations is { } __value4) { - ciProducts?.Invoke(__value14); + appStoreVersionLocalizations?.Invoke(__value4); } - else if (EndUserLicenseAgreements is { } __value15) + else if (AppStoreVersionPhasedReleases is { } __value5) { - endUserLicenseAgreements?.Invoke(__value15); + appStoreVersionPhasedReleases?.Invoke(__value5); } - else if (GameCenterDetails is { } __value16) + else if (AppStoreVersionSubmissions is { } __value6) { - gameCenterDetails?.Invoke(__value16); + appStoreVersionSubmissions?.Invoke(__value6); } - else if (GameCenterEnabledVersions is { } __value17) + else if (AppClipDefaultExperiences2 is { } __value7) { - gameCenterEnabledVersions?.Invoke(__value17); + appClipDefaultExperiences2?.Invoke(__value7); } - else if (InAppPurchases is { } __value18) + else if (Builds is { } __value8) { - inAppPurchases?.Invoke(__value18); + builds?.Invoke(__value8); } - else if (PreReleaseVersions is { } __value19) + else if (GameCenterAppVersions is { } __value9) { - preReleaseVersions?.Invoke(__value19); + gameCenterAppVersions?.Invoke(__value9); } - else if (PromotedPurchases is { } __value20) + else if (RoutingAppCoverages is { } __value10) { - promotedPurchases?.Invoke(__value20); - } - else if (ReviewSubmissions is { } __value21) - { - reviewSubmissions?.Invoke(__value21); - } - else if (SubscriptionGracePeriods is { } __value22) - { - subscriptionGracePeriods?.Invoke(__value22); - } - else if (SubscriptionGroups is { } __value23) - { - subscriptionGroups?.Invoke(__value23); + routingAppCoverages?.Invoke(__value10); } } @@ -1875,30 +900,17 @@ public void Match( /// /// public void Switch( - global::System.Action? androidToIosAppMappingDetails = null, - global::System.Action? appClips = null, - global::System.Action? appCustomProductPages = null, - global::System.Action? appEncryptionDeclarations = null, - global::System.Action? appEvents = null, - global::System.Action? appInfos = null, - global::System.Action? appStoreVersionExperiments1 = null, - global::System.Action? appStoreVersionExperiments2 = null, - global::System.Action? betaAppLocalizations = null, - global::System.Action? betaAppReviewDetails = null, - global::System.Action? betaGroups = null, - global::System.Action? betaLicenseAgreements = null, - global::System.Action? buildIcons1 = null, - global::System.Action? buildIcons2 = null, - global::System.Action? ciProducts = null, - global::System.Action? endUserLicenseAgreements = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterEnabledVersions = null, - global::System.Action? inAppPurchases = null, - global::System.Action? preReleaseVersions = null, - global::System.Action? promotedPurchases = null, - global::System.Action? reviewSubmissions = null, - global::System.Action? subscriptionGracePeriods = null, - global::System.Action? subscriptionGroups = null, + global::System.Action? alternativeDistributionPackages = null, + global::System.Action? appClipDefaultExperiences1 = null, + global::System.Action? appStoreReviewDetails = null, + global::System.Action? appStoreVersionExperiments = null, + global::System.Action? appStoreVersionLocalizations = null, + global::System.Action? appStoreVersionPhasedReleases = null, + global::System.Action? appStoreVersionSubmissions = null, + global::System.Action? appClipDefaultExperiences2 = null, + global::System.Action? builds = null, + global::System.Action? gameCenterAppVersions = null, + global::System.Action? routingAppCoverages = null, bool validate = true) { if (validate) @@ -1906,101 +918,49 @@ public void Switch( Validate(); } - if (AndroidToIosAppMappingDetails is { } __value0) - { - androidToIosAppMappingDetails?.Invoke(__value0); - } - else if (AppClips is { } __value1) - { - appClips?.Invoke(__value1); - } - else if (AppCustomProductPages is { } __value2) - { - appCustomProductPages?.Invoke(__value2); - } - else if (AppEncryptionDeclarations is { } __value3) - { - appEncryptionDeclarations?.Invoke(__value3); - } - else if (AppEvents is { } __value4) - { - appEvents?.Invoke(__value4); - } - else if (AppInfos is { } __value5) - { - appInfos?.Invoke(__value5); - } - else if (AppStoreVersionExperiments1 is { } __value6) - { - appStoreVersionExperiments1?.Invoke(__value6); - } - else if (AppStoreVersionExperiments2 is { } __value7) - { - appStoreVersionExperiments2?.Invoke(__value7); - } - else if (BetaAppLocalizations is { } __value8) - { - betaAppLocalizations?.Invoke(__value8); - } - else if (BetaAppReviewDetails is { } __value9) - { - betaAppReviewDetails?.Invoke(__value9); - } - else if (BetaGroups is { } __value10) - { - betaGroups?.Invoke(__value10); - } - else if (BetaLicenseAgreements is { } __value11) - { - betaLicenseAgreements?.Invoke(__value11); - } - else if (BuildIcons1 is { } __value12) - { - buildIcons1?.Invoke(__value12); - } - else if (BuildIcons2 is { } __value13) + if (AlternativeDistributionPackages is { } __value0) { - buildIcons2?.Invoke(__value13); + alternativeDistributionPackages?.Invoke(__value0); } - else if (CiProducts is { } __value14) + else if (AppClipDefaultExperiences1 is { } __value1) { - ciProducts?.Invoke(__value14); + appClipDefaultExperiences1?.Invoke(__value1); } - else if (EndUserLicenseAgreements is { } __value15) + else if (AppStoreReviewDetails is { } __value2) { - endUserLicenseAgreements?.Invoke(__value15); + appStoreReviewDetails?.Invoke(__value2); } - else if (GameCenterDetails is { } __value16) + else if (AppStoreVersionExperiments is { } __value3) { - gameCenterDetails?.Invoke(__value16); + appStoreVersionExperiments?.Invoke(__value3); } - else if (GameCenterEnabledVersions is { } __value17) + else if (AppStoreVersionLocalizations is { } __value4) { - gameCenterEnabledVersions?.Invoke(__value17); + appStoreVersionLocalizations?.Invoke(__value4); } - else if (InAppPurchases is { } __value18) + else if (AppStoreVersionPhasedReleases is { } __value5) { - inAppPurchases?.Invoke(__value18); + appStoreVersionPhasedReleases?.Invoke(__value5); } - else if (PreReleaseVersions is { } __value19) + else if (AppStoreVersionSubmissions is { } __value6) { - preReleaseVersions?.Invoke(__value19); + appStoreVersionSubmissions?.Invoke(__value6); } - else if (PromotedPurchases is { } __value20) + else if (AppClipDefaultExperiences2 is { } __value7) { - promotedPurchases?.Invoke(__value20); + appClipDefaultExperiences2?.Invoke(__value7); } - else if (ReviewSubmissions is { } __value21) + else if (Builds is { } __value8) { - reviewSubmissions?.Invoke(__value21); + builds?.Invoke(__value8); } - else if (SubscriptionGracePeriods is { } __value22) + else if (GameCenterAppVersions is { } __value9) { - subscriptionGracePeriods?.Invoke(__value22); + gameCenterAppVersions?.Invoke(__value9); } - else if (SubscriptionGroups is { } __value23) + else if (RoutingAppCoverages is { } __value10) { - subscriptionGroups?.Invoke(__value23); + routingAppCoverages?.Invoke(__value10); } } @@ -2011,54 +971,28 @@ public override int GetHashCode() { var fields = new object?[] { - AndroidToIosAppMappingDetails, - typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), - AppClips, - typeof(global::AppStoreConnect.AppClip), - AppCustomProductPages, - typeof(global::AppStoreConnect.AppCustomProductPage), - AppEncryptionDeclarations, - typeof(global::AppStoreConnect.AppEncryptionDeclaration), - AppEvents, - typeof(global::AppStoreConnect.AppEvent), - AppInfos, - typeof(global::AppStoreConnect.AppInfo), - AppStoreVersionExperiments1, - typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), - AppStoreVersionExperiments2, - typeof(global::AppStoreConnect.AppStoreVersion), - BetaAppLocalizations, - typeof(global::AppStoreConnect.BetaAppLocalization), - BetaAppReviewDetails, - typeof(global::AppStoreConnect.BetaAppReviewDetail), - BetaGroups, - typeof(global::AppStoreConnect.BetaGroup), - BetaLicenseAgreements, - typeof(global::AppStoreConnect.BetaLicenseAgreement), - BuildIcons1, - typeof(global::AppStoreConnect.BuildIcon), - BuildIcons2, + AlternativeDistributionPackages, + typeof(global::AppStoreConnect.AlternativeDistributionPackage), + AppClipDefaultExperiences1, + typeof(global::AppStoreConnect.AppClipDefaultExperience), + AppStoreReviewDetails, + typeof(global::AppStoreConnect.AppStoreReviewDetail), + AppStoreVersionExperiments, + typeof(global::AppStoreConnect.AppStoreVersionExperiment), + AppStoreVersionLocalizations, + typeof(global::AppStoreConnect.AppStoreVersionLocalization), + AppStoreVersionPhasedReleases, + typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease), + AppStoreVersionSubmissions, + typeof(global::AppStoreConnect.AppStoreVersionSubmission), + AppClipDefaultExperiences2, + typeof(global::AppStoreConnect.App), + Builds, typeof(global::AppStoreConnect.Build), - CiProducts, - typeof(global::AppStoreConnect.CiProduct), - EndUserLicenseAgreements, - typeof(global::AppStoreConnect.EndUserLicenseAgreement), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterEnabledVersions, - typeof(global::AppStoreConnect.GameCenterEnabledVersion), - InAppPurchases, - typeof(global::AppStoreConnect.InAppPurchase), - PreReleaseVersions, - typeof(global::AppStoreConnect.PrereleaseVersion), - PromotedPurchases, - typeof(global::AppStoreConnect.PromotedPurchase), - ReviewSubmissions, - typeof(global::AppStoreConnect.ReviewSubmission), - SubscriptionGracePeriods, - typeof(global::AppStoreConnect.SubscriptionGracePeriod), - SubscriptionGroups, - typeof(global::AppStoreConnect.SubscriptionGroup), + GameCenterAppVersions, + typeof(global::AppStoreConnect.GameCenterAppVersion), + RoutingAppCoverages, + typeof(global::AppStoreConnect.RoutingAppCoverage), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -2075,30 +1009,17 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem47 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AndroidToIosAppMappingDetails, other.AndroidToIosAppMappingDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClips, other.AppClips) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPages, other.AppCustomProductPages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations, other.AppEncryptionDeclarations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppInfos, other.AppInfos) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments1, other.AppStoreVersionExperiments1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments2, other.AppStoreVersionExperiments2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppLocalizations, other.BetaAppLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppReviewDetails, other.BetaAppReviewDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaLicenseAgreements, other.BetaLicenseAgreements) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons1, other.BuildIcons1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons2, other.BuildIcons2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(EndUserLicenseAgreements, other.EndUserLicenseAgreements) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterEnabledVersions, other.GameCenterEnabledVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(PreReleaseVersions, other.PreReleaseVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ReviewSubmissions, other.ReviewSubmissions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGracePeriods, other.SubscriptionGracePeriods) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AlternativeDistributionPackages, other.AlternativeDistributionPackages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences1, other.AppClipDefaultExperiences1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreReviewDetails, other.AppStoreReviewDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments, other.AppStoreVersionExperiments) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionLocalizations, other.AppStoreVersionLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionPhasedReleases, other.AppStoreVersionPhasedReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionSubmissions, other.AppStoreVersionSubmissions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences2, other.AppClipDefaultExperiences2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions, other.GameCenterAppVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(RoutingAppCoverages, other.RoutingAppCoverages) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem48.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem48.g.cs index 2489a8954..0fb385bbe 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem48.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem48.g.cs @@ -12,348 +12,1564 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetUploadFile? BackgroundAssetUploadFiles { get; init; } + public global::AppStoreConnect.AndroidToIosAppMappingDetail? AndroidToIosAppMappingDetails { get; init; } #else - public global::AppStoreConnect.BackgroundAssetUploadFile? BackgroundAssetUploadFiles { get; } + public global::AppStoreConnect.AndroidToIosAppMappingDetail? AndroidToIosAppMappingDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetUploadFiles))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AndroidToIosAppMappingDetails))] #endif - public bool IsBackgroundAssetUploadFiles => BackgroundAssetUploadFiles != null; + public bool IsAndroidToIosAppMappingDetails => AndroidToIosAppMappingDetails != null; /// /// /// - public bool TryPickBackgroundAssetUploadFiles( + public bool TryPickAndroidToIosAppMappingDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetUploadFile? value) + out global::AppStoreConnect.AndroidToIosAppMappingDetail? value) { - value = BackgroundAssetUploadFiles; - return IsBackgroundAssetUploadFiles; + value = AndroidToIosAppMappingDetails; + return IsAndroidToIosAppMappingDetails; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFile PickBackgroundAssetUploadFiles() => BackgroundAssetUploadFiles is { } value + public global::AppStoreConnect.AndroidToIosAppMappingDetail PickAndroidToIosAppMappingDetails() => AndroidToIosAppMappingDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetUploadFiles' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AndroidToIosAppMappingDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? BackgroundAssetVersionAppStoreReleases1 { get; init; } + public global::AppStoreConnect.AppClip? AppClips { get; init; } #else - public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? BackgroundAssetVersionAppStoreReleases1 { get; } + public global::AppStoreConnect.AppClip? AppClips { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionAppStoreReleases1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClips))] #endif - public bool IsBackgroundAssetVersionAppStoreReleases1 => BackgroundAssetVersionAppStoreReleases1 != null; + public bool IsAppClips => AppClips != null; /// /// /// - public bool TryPickBackgroundAssetVersionAppStoreReleases1( + public bool TryPickAppClips( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) + out global::AppStoreConnect.AppClip? value) { - value = BackgroundAssetVersionAppStoreReleases1; - return IsBackgroundAssetVersionAppStoreReleases1; + value = AppClips; + return IsAppClips; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease PickBackgroundAssetVersionAppStoreReleases1() => BackgroundAssetVersionAppStoreReleases1 is { } value + public global::AppStoreConnect.AppClip PickAppClips() => AppClips is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionAppStoreReleases1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClips' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? BackgroundAssetVersionExternalBetaReleases { get; init; } + public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPages { get; init; } #else - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? BackgroundAssetVersionExternalBetaReleases { get; } + public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionExternalBetaReleases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPages))] #endif - public bool IsBackgroundAssetVersionExternalBetaReleases => BackgroundAssetVersionExternalBetaReleases != null; + public bool IsAppCustomProductPages => AppCustomProductPages != null; /// /// /// - public bool TryPickBackgroundAssetVersionExternalBetaReleases( + public bool TryPickAppCustomProductPages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) + out global::AppStoreConnect.AppCustomProductPage? value) { - value = BackgroundAssetVersionExternalBetaReleases; - return IsBackgroundAssetVersionExternalBetaReleases; + value = AppCustomProductPages; + return IsAppCustomProductPages; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease PickBackgroundAssetVersionExternalBetaReleases() => BackgroundAssetVersionExternalBetaReleases is { } value + public global::AppStoreConnect.AppCustomProductPage PickAppCustomProductPages() => AppCustomProductPages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionExternalBetaReleases' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? BackgroundAssetVersionInternalBetaReleases { get; init; } + public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations { get; init; } #else - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? BackgroundAssetVersionInternalBetaReleases { get; } + public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionInternalBetaReleases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations))] #endif - public bool IsBackgroundAssetVersionInternalBetaReleases => BackgroundAssetVersionInternalBetaReleases != null; + public bool IsAppEncryptionDeclarations => AppEncryptionDeclarations != null; /// /// /// - public bool TryPickBackgroundAssetVersionInternalBetaReleases( + public bool TryPickAppEncryptionDeclarations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) + out global::AppStoreConnect.AppEncryptionDeclaration? value) { - value = BackgroundAssetVersionInternalBetaReleases; - return IsBackgroundAssetVersionInternalBetaReleases; + value = AppEncryptionDeclarations; + return IsAppEncryptionDeclarations; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease PickBackgroundAssetVersionInternalBetaReleases() => BackgroundAssetVersionInternalBetaReleases is { } value + public global::AppStoreConnect.AppEncryptionDeclaration PickAppEncryptionDeclarations() => AppEncryptionDeclarations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionInternalBetaReleases' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAsset? BackgroundAssetVersionAppStoreReleases2 { get; init; } + public global::AppStoreConnect.AppEvent? AppEvents { get; init; } #else - public global::AppStoreConnect.BackgroundAsset? BackgroundAssetVersionAppStoreReleases2 { get; } + public global::AppStoreConnect.AppEvent? AppEvents { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionAppStoreReleases2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] #endif - public bool IsBackgroundAssetVersionAppStoreReleases2 => BackgroundAssetVersionAppStoreReleases2 != null; + public bool IsAppEvents => AppEvents != null; /// /// /// - public bool TryPickBackgroundAssetVersionAppStoreReleases2( + public bool TryPickAppEvents( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAsset? value) + out global::AppStoreConnect.AppEvent? value) { - value = BackgroundAssetVersionAppStoreReleases2; - return IsBackgroundAssetVersionAppStoreReleases2; + value = AppEvents; + return IsAppEvents; } /// /// /// - public global::AppStoreConnect.BackgroundAsset PickBackgroundAssetVersionAppStoreReleases2() => BackgroundAssetVersionAppStoreReleases2 is { } value + public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionAppStoreReleases2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppInfo? AppInfos { get; init; } +#else + public global::AppStoreConnect.AppInfo? AppInfos { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppInfos))] +#endif + public bool IsAppInfos => AppInfos != null; + + /// + /// + /// + public bool TryPickAppInfos( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppInfo? value) + { + value = AppInfos; + return IsAppInfos; + } + + /// + /// + /// + public global::AppStoreConnect.AppInfo PickAppInfos() => AppInfos is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppInfos' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperimentV2? AppStoreVersionExperiments1 { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperimentV2? AppStoreVersionExperiments1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments1))] +#endif + public bool IsAppStoreVersionExperiments1 => AppStoreVersionExperiments1 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperiments1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperimentV2? value) + { + value = AppStoreVersionExperiments1; + return IsAppStoreVersionExperiments1; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperimentV2 PickAppStoreVersionExperiments1() => AppStoreVersionExperiments1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; init; } +#else + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments2))] +#endif + public bool IsAppStoreVersionExperiments2 => AppStoreVersionExperiments2 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperiments2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersion? value) + { + value = AppStoreVersionExperiments2; + return IsAppStoreVersionExperiments2; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperiments2() => AppStoreVersionExperiments2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaAppLocalization? BetaAppLocalizations { get; init; } +#else + public global::AppStoreConnect.BetaAppLocalization? BetaAppLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppLocalizations))] +#endif + public bool IsBetaAppLocalizations => BetaAppLocalizations != null; + + /// + /// + /// + public bool TryPickBetaAppLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaAppLocalization? value) + { + value = BetaAppLocalizations; + return IsBetaAppLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.BetaAppLocalization PickBetaAppLocalizations() => BetaAppLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaAppReviewDetail? BetaAppReviewDetails { get; init; } +#else + public global::AppStoreConnect.BetaAppReviewDetail? BetaAppReviewDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppReviewDetails))] +#endif + public bool IsBetaAppReviewDetails => BetaAppReviewDetails != null; + + /// + /// + /// + public bool TryPickBetaAppReviewDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaAppReviewDetail? value) + { + value = BetaAppReviewDetails; + return IsBetaAppReviewDetails; + } + + /// + /// + /// + public global::AppStoreConnect.BetaAppReviewDetail PickBetaAppReviewDetails() => BetaAppReviewDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppReviewDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } +#else + public global::AppStoreConnect.BetaGroup? BetaGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] +#endif + public bool IsBetaGroups => BetaGroups != null; + + /// + /// + /// + public bool TryPickBetaGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaGroup? value) + { + value = BetaGroups; + return IsBetaGroups; + } + + /// + /// + /// + public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaLicenseAgreement? BetaLicenseAgreements { get; init; } +#else + public global::AppStoreConnect.BetaLicenseAgreement? BetaLicenseAgreements { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaLicenseAgreements))] +#endif + public bool IsBetaLicenseAgreements => BetaLicenseAgreements != null; + + /// + /// + /// + public bool TryPickBetaLicenseAgreements( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaLicenseAgreement? value) + { + value = BetaLicenseAgreements; + return IsBetaLicenseAgreements; + } + + /// + /// + /// + public global::AppStoreConnect.BetaLicenseAgreement PickBetaLicenseAgreements() => BetaLicenseAgreements is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaLicenseAgreements' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BuildIcon? BuildIcons1 { get; init; } +#else + public global::AppStoreConnect.BuildIcon? BuildIcons1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons1))] +#endif + public bool IsBuildIcons1 => BuildIcons1 != null; + + /// + /// + /// + public bool TryPickBuildIcons1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BuildIcon? value) + { + value = BuildIcons1; + return IsBuildIcons1; + } + + /// + /// + /// + public global::AppStoreConnect.BuildIcon PickBuildIcons1() => BuildIcons1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Build? BuildIcons2 { get; init; } +#else + public global::AppStoreConnect.Build? BuildIcons2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons2))] +#endif + public bool IsBuildIcons2 => BuildIcons2 != null; + + /// + /// + /// + public bool TryPickBuildIcons2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Build? value) + { + value = BuildIcons2; + return IsBuildIcons2; + } + + /// + /// + /// + public global::AppStoreConnect.Build PickBuildIcons2() => BuildIcons2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.CiProduct? CiProducts { get; init; } +#else + public global::AppStoreConnect.CiProduct? CiProducts { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] +#endif + public bool IsCiProducts => CiProducts != null; + + /// + /// + /// + public bool TryPickCiProducts( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.CiProduct? value) + { + value = CiProducts; + return IsCiProducts; + } + + /// + /// + /// + public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.EndUserLicenseAgreement? EndUserLicenseAgreements { get; init; } +#else + public global::AppStoreConnect.EndUserLicenseAgreement? EndUserLicenseAgreements { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(EndUserLicenseAgreements))] +#endif + public bool IsEndUserLicenseAgreements => EndUserLicenseAgreements != null; + + /// + /// + /// + public bool TryPickEndUserLicenseAgreements( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.EndUserLicenseAgreement? value) + { + value = EndUserLicenseAgreements; + return IsEndUserLicenseAgreements; + } + + /// + /// + /// + public global::AppStoreConnect.EndUserLicenseAgreement PickEndUserLicenseAgreements() => EndUserLicenseAgreements is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'EndUserLicenseAgreements' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } +#else + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] +#endif + public bool IsGameCenterDetails => GameCenterDetails != null; + + /// + /// + /// + public bool TryPickGameCenterDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterDetail? value) + { + value = GameCenterDetails; + return IsGameCenterDetails; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterEnabledVersions))] +#endif + public bool IsGameCenterEnabledVersions => GameCenterEnabledVersions != null; + + /// + /// + /// + public bool TryPickGameCenterEnabledVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterEnabledVersion? value) + { + value = GameCenterEnabledVersions; + return IsGameCenterEnabledVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterEnabledVersion PickGameCenterEnabledVersions() => GameCenterEnabledVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterEnabledVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchase? InAppPurchases { get; init; } +#else + public global::AppStoreConnect.InAppPurchase? InAppPurchases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] +#endif + public bool IsInAppPurchases => InAppPurchases != null; + + /// + /// + /// + public bool TryPickInAppPurchases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchase? value) + { + value = InAppPurchases; + return IsInAppPurchases; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchase PickInAppPurchases() => InAppPurchases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; init; } +#else + public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PreReleaseVersions))] +#endif + public bool IsPreReleaseVersions => PreReleaseVersions != null; + + /// + /// + /// + public bool TryPickPreReleaseVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.PrereleaseVersion? value) + { + value = PreReleaseVersions; + return IsPreReleaseVersions; + } + + /// + /// + /// + public global::AppStoreConnect.PrereleaseVersion PickPreReleaseVersions() => PreReleaseVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PreReleaseVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } +#else + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] +#endif + public bool IsPromotedPurchases => PromotedPurchases != null; + + /// + /// + /// + public bool TryPickPromotedPurchases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.PromotedPurchase? value) + { + value = PromotedPurchases; + return IsPromotedPurchases; + } + + /// + /// + /// + public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ReviewSubmission? ReviewSubmissions { get; init; } +#else + public global::AppStoreConnect.ReviewSubmission? ReviewSubmissions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReviewSubmissions))] +#endif + public bool IsReviewSubmissions => ReviewSubmissions != null; + + /// + /// + /// + public bool TryPickReviewSubmissions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ReviewSubmission? value) + { + value = ReviewSubmissions; + return IsReviewSubmissions; + } + + /// + /// + /// + public global::AppStoreConnect.ReviewSubmission PickReviewSubmissions() => ReviewSubmissions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ReviewSubmissions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionGracePeriod? SubscriptionGracePeriods { get; init; } +#else + public global::AppStoreConnect.SubscriptionGracePeriod? SubscriptionGracePeriods { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGracePeriods))] +#endif + public bool IsSubscriptionGracePeriods => SubscriptionGracePeriods != null; + + /// + /// + /// + public bool TryPickSubscriptionGracePeriods( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionGracePeriod? value) + { + value = SubscriptionGracePeriods; + return IsSubscriptionGracePeriods; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionGracePeriod PickSubscriptionGracePeriods() => SubscriptionGracePeriods is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGracePeriods' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } +#else + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] +#endif + public bool IsSubscriptionGroups => SubscriptionGroups != null; + + /// + /// + /// + public bool TryPickSubscriptionGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionGroup? value) + { + value = SubscriptionGroups; + return IsSubscriptionGroups; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.AndroidToIosAppMappingDetail value) => new IncludedItem48((global::AppStoreConnect.AndroidToIosAppMappingDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AndroidToIosAppMappingDetail?(IncludedItem48 @this) => @this.AndroidToIosAppMappingDetails; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.AndroidToIosAppMappingDetail? value) + { + AndroidToIosAppMappingDetails = value; + } + + /// + /// + /// + public static IncludedItem48 FromAndroidToIosAppMappingDetails(global::AppStoreConnect.AndroidToIosAppMappingDetail? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.AppClip value) => new IncludedItem48((global::AppStoreConnect.AppClip?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem48 @this) => @this.AppClips; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.AppClip? value) + { + AppClips = value; + } + + /// + /// + /// + public static IncludedItem48 FromAppClips(global::AppStoreConnect.AppClip? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.AppCustomProductPage value) => new IncludedItem48((global::AppStoreConnect.AppCustomProductPage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPage?(IncludedItem48 @this) => @this.AppCustomProductPages; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.AppCustomProductPage? value) + { + AppCustomProductPages = value; + } + + /// + /// + /// + public static IncludedItem48 FromAppCustomProductPages(global::AppStoreConnect.AppCustomProductPage? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.AppEncryptionDeclaration value) => new IncludedItem48((global::AppStoreConnect.AppEncryptionDeclaration?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEncryptionDeclaration?(IncludedItem48 @this) => @this.AppEncryptionDeclarations; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.AppEncryptionDeclaration? value) + { + AppEncryptionDeclarations = value; + } + + /// + /// + /// + public static IncludedItem48 FromAppEncryptionDeclarations(global::AppStoreConnect.AppEncryptionDeclaration? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.AppEvent value) => new IncludedItem48((global::AppStoreConnect.AppEvent?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem48 @this) => @this.AppEvents; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.AppEvent? value) + { + AppEvents = value; + } + + /// + /// + /// + public static IncludedItem48 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.AppInfo value) => new IncludedItem48((global::AppStoreConnect.AppInfo?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppInfo?(IncludedItem48 @this) => @this.AppInfos; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.AppInfo? value) + { + AppInfos = value; + } + + /// + /// + /// + public static IncludedItem48 FromAppInfos(global::AppStoreConnect.AppInfo? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.AppStoreVersionExperimentV2 value) => new IncludedItem48((global::AppStoreConnect.AppStoreVersionExperimentV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentV2?(IncludedItem48 @this) => @this.AppStoreVersionExperiments1; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.AppStoreVersionExperimentV2? value) + { + AppStoreVersionExperiments1 = value; + } + + /// + /// + /// + public static IncludedItem48 FromAppStoreVersionExperiments1(global::AppStoreConnect.AppStoreVersionExperimentV2? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem48((global::AppStoreConnect.AppStoreVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem48 @this) => @this.AppStoreVersionExperiments2; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.AppStoreVersion? value) + { + AppStoreVersionExperiments2 = value; + } + + /// + /// + /// + public static IncludedItem48 FromAppStoreVersionExperiments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.BetaAppLocalization value) => new IncludedItem48((global::AppStoreConnect.BetaAppLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaAppLocalization?(IncludedItem48 @this) => @this.BetaAppLocalizations; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.BetaAppLocalization? value) + { + BetaAppLocalizations = value; + } + + /// + /// + /// + public static IncludedItem48 FromBetaAppLocalizations(global::AppStoreConnect.BetaAppLocalization? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.BetaAppReviewDetail value) => new IncludedItem48((global::AppStoreConnect.BetaAppReviewDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaAppReviewDetail?(IncludedItem48 @this) => @this.BetaAppReviewDetails; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.BetaAppReviewDetail? value) + { + BetaAppReviewDetails = value; + } + + /// + /// + /// + public static IncludedItem48 FromBetaAppReviewDetails(global::AppStoreConnect.BetaAppReviewDetail? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.BetaGroup value) => new IncludedItem48((global::AppStoreConnect.BetaGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem48 @this) => @this.BetaGroups; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.BetaGroup? value) + { + BetaGroups = value; + } + + /// + /// + /// + public static IncludedItem48 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.BetaLicenseAgreement value) => new IncludedItem48((global::AppStoreConnect.BetaLicenseAgreement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaLicenseAgreement?(IncludedItem48 @this) => @this.BetaLicenseAgreements; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.BetaLicenseAgreement? value) + { + BetaLicenseAgreements = value; + } + + /// + /// + /// + public static IncludedItem48 FromBetaLicenseAgreements(global::AppStoreConnect.BetaLicenseAgreement? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.BuildIcon value) => new IncludedItem48((global::AppStoreConnect.BuildIcon?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BuildIcon?(IncludedItem48 @this) => @this.BuildIcons1; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.BuildIcon? value) + { + BuildIcons1 = value; + } + + /// + /// + /// + public static IncludedItem48 FromBuildIcons1(global::AppStoreConnect.BuildIcon? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.Build value) => new IncludedItem48((global::AppStoreConnect.Build?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Build?(IncludedItem48 @this) => @this.BuildIcons2; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.Build? value) + { + BuildIcons2 = value; + } + + /// + /// + /// + public static IncludedItem48 FromBuildIcons2(global::AppStoreConnect.Build? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.CiProduct value) => new IncludedItem48((global::AppStoreConnect.CiProduct?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem48 @this) => @this.CiProducts; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.CiProduct? value) + { + CiProducts = value; + } + + /// + /// + /// + public static IncludedItem48 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.EndUserLicenseAgreement value) => new IncludedItem48((global::AppStoreConnect.EndUserLicenseAgreement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.EndUserLicenseAgreement?(IncludedItem48 @this) => @this.EndUserLicenseAgreements; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.EndUserLicenseAgreement? value) + { + EndUserLicenseAgreements = value; + } + + /// + /// + /// + public static IncludedItem48 FromEndUserLicenseAgreements(global::AppStoreConnect.EndUserLicenseAgreement? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem48((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem48 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + + /// + /// + /// + public static IncludedItem48 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.GameCenterEnabledVersion value) => new IncludedItem48((global::AppStoreConnect.GameCenterEnabledVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterEnabledVersion?(IncludedItem48 @this) => @this.GameCenterEnabledVersions; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.GameCenterEnabledVersion? value) + { + GameCenterEnabledVersions = value; + } + + /// + /// + /// + public static IncludedItem48 FromGameCenterEnabledVersions(global::AppStoreConnect.GameCenterEnabledVersion? value) => new IncludedItem48(value); + + /// + /// + /// + public static implicit operator IncludedItem48(global::AppStoreConnect.InAppPurchase value) => new IncludedItem48((global::AppStoreConnect.InAppPurchase?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchase?(IncludedItem48 @this) => @this.InAppPurchases; + + /// + /// + /// + public IncludedItem48(global::AppStoreConnect.InAppPurchase? value) + { + InAppPurchases = value; + } + + /// + /// + /// + public static IncludedItem48 FromInAppPurchases(global::AppStoreConnect.InAppPurchase? value) => new IncludedItem48(value); + /// /// /// - public static implicit operator IncludedItem48(global::AppStoreConnect.BackgroundAssetUploadFile value) => new IncludedItem48((global::AppStoreConnect.BackgroundAssetUploadFile?)value); + public static implicit operator IncludedItem48(global::AppStoreConnect.PrereleaseVersion value) => new IncludedItem48((global::AppStoreConnect.PrereleaseVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetUploadFile?(IncludedItem48 @this) => @this.BackgroundAssetUploadFiles; + public static implicit operator global::AppStoreConnect.PrereleaseVersion?(IncludedItem48 @this) => @this.PreReleaseVersions; /// /// /// - public IncludedItem48(global::AppStoreConnect.BackgroundAssetUploadFile? value) + public IncludedItem48(global::AppStoreConnect.PrereleaseVersion? value) { - BackgroundAssetUploadFiles = value; + PreReleaseVersions = value; } /// /// /// - public static IncludedItem48 FromBackgroundAssetUploadFiles(global::AppStoreConnect.BackgroundAssetUploadFile? value) => new IncludedItem48(value); + public static IncludedItem48 FromPreReleaseVersions(global::AppStoreConnect.PrereleaseVersion? value) => new IncludedItem48(value); /// /// /// - public static implicit operator IncludedItem48(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease value) => new IncludedItem48((global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease?)value); + public static implicit operator IncludedItem48(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem48((global::AppStoreConnect.PromotedPurchase?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease?(IncludedItem48 @this) => @this.BackgroundAssetVersionAppStoreReleases1; + public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem48 @this) => @this.PromotedPurchases; /// /// /// - public IncludedItem48(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) + public IncludedItem48(global::AppStoreConnect.PromotedPurchase? value) { - BackgroundAssetVersionAppStoreReleases1 = value; + PromotedPurchases = value; } /// /// /// - public static IncludedItem48 FromBackgroundAssetVersionAppStoreReleases1(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) => new IncludedItem48(value); + public static IncludedItem48 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem48(value); /// /// /// - public static implicit operator IncludedItem48(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease value) => new IncludedItem48((global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease?)value); + public static implicit operator IncludedItem48(global::AppStoreConnect.ReviewSubmission value) => new IncludedItem48((global::AppStoreConnect.ReviewSubmission?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease?(IncludedItem48 @this) => @this.BackgroundAssetVersionExternalBetaReleases; + public static implicit operator global::AppStoreConnect.ReviewSubmission?(IncludedItem48 @this) => @this.ReviewSubmissions; /// /// /// - public IncludedItem48(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) + public IncludedItem48(global::AppStoreConnect.ReviewSubmission? value) { - BackgroundAssetVersionExternalBetaReleases = value; + ReviewSubmissions = value; } /// /// /// - public static IncludedItem48 FromBackgroundAssetVersionExternalBetaReleases(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) => new IncludedItem48(value); + public static IncludedItem48 FromReviewSubmissions(global::AppStoreConnect.ReviewSubmission? value) => new IncludedItem48(value); /// /// /// - public static implicit operator IncludedItem48(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease value) => new IncludedItem48((global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease?)value); + public static implicit operator IncludedItem48(global::AppStoreConnect.SubscriptionGracePeriod value) => new IncludedItem48((global::AppStoreConnect.SubscriptionGracePeriod?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease?(IncludedItem48 @this) => @this.BackgroundAssetVersionInternalBetaReleases; + public static implicit operator global::AppStoreConnect.SubscriptionGracePeriod?(IncludedItem48 @this) => @this.SubscriptionGracePeriods; /// /// /// - public IncludedItem48(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) + public IncludedItem48(global::AppStoreConnect.SubscriptionGracePeriod? value) { - BackgroundAssetVersionInternalBetaReleases = value; + SubscriptionGracePeriods = value; } /// /// /// - public static IncludedItem48 FromBackgroundAssetVersionInternalBetaReleases(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) => new IncludedItem48(value); + public static IncludedItem48 FromSubscriptionGracePeriods(global::AppStoreConnect.SubscriptionGracePeriod? value) => new IncludedItem48(value); /// /// /// - public static implicit operator IncludedItem48(global::AppStoreConnect.BackgroundAsset value) => new IncludedItem48((global::AppStoreConnect.BackgroundAsset?)value); + public static implicit operator IncludedItem48(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem48((global::AppStoreConnect.SubscriptionGroup?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAsset?(IncludedItem48 @this) => @this.BackgroundAssetVersionAppStoreReleases2; + public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem48 @this) => @this.SubscriptionGroups; /// /// /// - public IncludedItem48(global::AppStoreConnect.BackgroundAsset? value) + public IncludedItem48(global::AppStoreConnect.SubscriptionGroup? value) { - BackgroundAssetVersionAppStoreReleases2 = value; + SubscriptionGroups = value; } /// /// /// - public static IncludedItem48 FromBackgroundAssetVersionAppStoreReleases2(global::AppStoreConnect.BackgroundAsset? value) => new IncludedItem48(value); + public static IncludedItem48 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem48(value); /// /// /// public IncludedItem48( - global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.BackgroundAssetUploadFile? backgroundAssetUploadFiles, - global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? backgroundAssetVersionAppStoreReleases1, - global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? backgroundAssetVersionExternalBetaReleases, - global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? backgroundAssetVersionInternalBetaReleases, - global::AppStoreConnect.BackgroundAsset? backgroundAssetVersionAppStoreReleases2 + global::AppStoreConnect.AppsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AndroidToIosAppMappingDetail? androidToIosAppMappingDetails, + global::AppStoreConnect.AppClip? appClips, + global::AppStoreConnect.AppCustomProductPage? appCustomProductPages, + global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations, + global::AppStoreConnect.AppEvent? appEvents, + global::AppStoreConnect.AppInfo? appInfos, + global::AppStoreConnect.AppStoreVersionExperimentV2? appStoreVersionExperiments1, + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2, + global::AppStoreConnect.BetaAppLocalization? betaAppLocalizations, + global::AppStoreConnect.BetaAppReviewDetail? betaAppReviewDetails, + global::AppStoreConnect.BetaGroup? betaGroups, + global::AppStoreConnect.BetaLicenseAgreement? betaLicenseAgreements, + global::AppStoreConnect.BuildIcon? buildIcons1, + global::AppStoreConnect.Build? buildIcons2, + global::AppStoreConnect.CiProduct? ciProducts, + global::AppStoreConnect.EndUserLicenseAgreement? endUserLicenseAgreements, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions, + global::AppStoreConnect.InAppPurchase? inAppPurchases, + global::AppStoreConnect.PrereleaseVersion? preReleaseVersions, + global::AppStoreConnect.PromotedPurchase? promotedPurchases, + global::AppStoreConnect.ReviewSubmission? reviewSubmissions, + global::AppStoreConnect.SubscriptionGracePeriod? subscriptionGracePeriods, + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups ) { Type = type; - BackgroundAssetUploadFiles = backgroundAssetUploadFiles; - BackgroundAssetVersionAppStoreReleases1 = backgroundAssetVersionAppStoreReleases1; - BackgroundAssetVersionExternalBetaReleases = backgroundAssetVersionExternalBetaReleases; - BackgroundAssetVersionInternalBetaReleases = backgroundAssetVersionInternalBetaReleases; - BackgroundAssetVersionAppStoreReleases2 = backgroundAssetVersionAppStoreReleases2; + AndroidToIosAppMappingDetails = androidToIosAppMappingDetails; + AppClips = appClips; + AppCustomProductPages = appCustomProductPages; + AppEncryptionDeclarations = appEncryptionDeclarations; + AppEvents = appEvents; + AppInfos = appInfos; + AppStoreVersionExperiments1 = appStoreVersionExperiments1; + AppStoreVersionExperiments2 = appStoreVersionExperiments2; + BetaAppLocalizations = betaAppLocalizations; + BetaAppReviewDetails = betaAppReviewDetails; + BetaGroups = betaGroups; + BetaLicenseAgreements = betaLicenseAgreements; + BuildIcons1 = buildIcons1; + BuildIcons2 = buildIcons2; + CiProducts = ciProducts; + EndUserLicenseAgreements = endUserLicenseAgreements; + GameCenterDetails = gameCenterDetails; + GameCenterEnabledVersions = gameCenterEnabledVersions; + InAppPurchases = inAppPurchases; + PreReleaseVersions = preReleaseVersions; + PromotedPurchases = promotedPurchases; + ReviewSubmissions = reviewSubmissions; + SubscriptionGracePeriods = subscriptionGracePeriods; + SubscriptionGroups = subscriptionGroups; } /// /// /// public object? Object => - BackgroundAssetVersionAppStoreReleases2 as object ?? - BackgroundAssetVersionInternalBetaReleases as object ?? - BackgroundAssetVersionExternalBetaReleases as object ?? - BackgroundAssetVersionAppStoreReleases1 as object ?? - BackgroundAssetUploadFiles as object + SubscriptionGroups as object ?? + SubscriptionGracePeriods as object ?? + ReviewSubmissions as object ?? + PromotedPurchases as object ?? + PreReleaseVersions as object ?? + InAppPurchases as object ?? + GameCenterEnabledVersions as object ?? + GameCenterDetails as object ?? + EndUserLicenseAgreements as object ?? + CiProducts as object ?? + BuildIcons2 as object ?? + BuildIcons1 as object ?? + BetaLicenseAgreements as object ?? + BetaGroups as object ?? + BetaAppReviewDetails as object ?? + BetaAppLocalizations as object ?? + AppStoreVersionExperiments2 as object ?? + AppStoreVersionExperiments1 as object ?? + AppInfos as object ?? + AppEvents as object ?? + AppEncryptionDeclarations as object ?? + AppCustomProductPages as object ?? + AppClips as object ?? + AndroidToIosAppMappingDetails as object ; /// /// /// public override string? ToString() => - BackgroundAssetUploadFiles?.ToString() ?? - BackgroundAssetVersionAppStoreReleases1?.ToString() ?? - BackgroundAssetVersionExternalBetaReleases?.ToString() ?? - BackgroundAssetVersionInternalBetaReleases?.ToString() ?? - BackgroundAssetVersionAppStoreReleases2?.ToString() + AndroidToIosAppMappingDetails?.ToString() ?? + AppClips?.ToString() ?? + AppCustomProductPages?.ToString() ?? + AppEncryptionDeclarations?.ToString() ?? + AppEvents?.ToString() ?? + AppInfos?.ToString() ?? + AppStoreVersionExperiments1?.ToString() ?? + AppStoreVersionExperiments2?.ToString() ?? + BetaAppLocalizations?.ToString() ?? + BetaAppReviewDetails?.ToString() ?? + BetaGroups?.ToString() ?? + BetaLicenseAgreements?.ToString() ?? + BuildIcons1?.ToString() ?? + BuildIcons2?.ToString() ?? + CiProducts?.ToString() ?? + EndUserLicenseAgreements?.ToString() ?? + GameCenterDetails?.ToString() ?? + GameCenterEnabledVersions?.ToString() ?? + InAppPurchases?.ToString() ?? + PreReleaseVersions?.ToString() ?? + PromotedPurchases?.ToString() ?? + ReviewSubmissions?.ToString() ?? + SubscriptionGracePeriods?.ToString() ?? + SubscriptionGroups?.ToString() ; /// @@ -361,18 +1577,37 @@ BackgroundAssetUploadFiles as object /// public bool Validate() { - return IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && IsBackgroundAssetVersionAppStoreReleases2; + return IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && IsSubscriptionGroups; } /// /// /// public TResult? Match( - global::System.Func? backgroundAssetUploadFiles = null, - global::System.Func? backgroundAssetVersionAppStoreReleases1 = null, - global::System.Func? backgroundAssetVersionExternalBetaReleases = null, - global::System.Func? backgroundAssetVersionInternalBetaReleases = null, - global::System.Func? backgroundAssetVersionAppStoreReleases2 = null, + global::System.Func? androidToIosAppMappingDetails = null, + global::System.Func? appClips = null, + global::System.Func? appCustomProductPages = null, + global::System.Func? appEncryptionDeclarations = null, + global::System.Func? appEvents = null, + global::System.Func? appInfos = null, + global::System.Func? appStoreVersionExperiments1 = null, + global::System.Func? appStoreVersionExperiments2 = null, + global::System.Func? betaAppLocalizations = null, + global::System.Func? betaAppReviewDetails = null, + global::System.Func? betaGroups = null, + global::System.Func? betaLicenseAgreements = null, + global::System.Func? buildIcons1 = null, + global::System.Func? buildIcons2 = null, + global::System.Func? ciProducts = null, + global::System.Func? endUserLicenseAgreements = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterEnabledVersions = null, + global::System.Func? inAppPurchases = null, + global::System.Func? preReleaseVersions = null, + global::System.Func? promotedPurchases = null, + global::System.Func? reviewSubmissions = null, + global::System.Func? subscriptionGracePeriods = null, + global::System.Func? subscriptionGroups = null, bool validate = true) { if (validate) @@ -380,25 +1615,101 @@ public bool Validate() Validate(); } - if (BackgroundAssetUploadFiles is { } __value0 && backgroundAssetUploadFiles != null) + if (AndroidToIosAppMappingDetails is { } __value0 && androidToIosAppMappingDetails != null) + { + return androidToIosAppMappingDetails(__value0); + } + else if (AppClips is { } __value1 && appClips != null) + { + return appClips(__value1); + } + else if (AppCustomProductPages is { } __value2 && appCustomProductPages != null) + { + return appCustomProductPages(__value2); + } + else if (AppEncryptionDeclarations is { } __value3 && appEncryptionDeclarations != null) + { + return appEncryptionDeclarations(__value3); + } + else if (AppEvents is { } __value4 && appEvents != null) + { + return appEvents(__value4); + } + else if (AppInfos is { } __value5 && appInfos != null) + { + return appInfos(__value5); + } + else if (AppStoreVersionExperiments1 is { } __value6 && appStoreVersionExperiments1 != null) + { + return appStoreVersionExperiments1(__value6); + } + else if (AppStoreVersionExperiments2 is { } __value7 && appStoreVersionExperiments2 != null) + { + return appStoreVersionExperiments2(__value7); + } + else if (BetaAppLocalizations is { } __value8 && betaAppLocalizations != null) + { + return betaAppLocalizations(__value8); + } + else if (BetaAppReviewDetails is { } __value9 && betaAppReviewDetails != null) + { + return betaAppReviewDetails(__value9); + } + else if (BetaGroups is { } __value10 && betaGroups != null) + { + return betaGroups(__value10); + } + else if (BetaLicenseAgreements is { } __value11 && betaLicenseAgreements != null) + { + return betaLicenseAgreements(__value11); + } + else if (BuildIcons1 is { } __value12 && buildIcons1 != null) + { + return buildIcons1(__value12); + } + else if (BuildIcons2 is { } __value13 && buildIcons2 != null) + { + return buildIcons2(__value13); + } + else if (CiProducts is { } __value14 && ciProducts != null) + { + return ciProducts(__value14); + } + else if (EndUserLicenseAgreements is { } __value15 && endUserLicenseAgreements != null) + { + return endUserLicenseAgreements(__value15); + } + else if (GameCenterDetails is { } __value16 && gameCenterDetails != null) + { + return gameCenterDetails(__value16); + } + else if (GameCenterEnabledVersions is { } __value17 && gameCenterEnabledVersions != null) + { + return gameCenterEnabledVersions(__value17); + } + else if (InAppPurchases is { } __value18 && inAppPurchases != null) + { + return inAppPurchases(__value18); + } + else if (PreReleaseVersions is { } __value19 && preReleaseVersions != null) { - return backgroundAssetUploadFiles(__value0); + return preReleaseVersions(__value19); } - else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1 && backgroundAssetVersionAppStoreReleases1 != null) + else if (PromotedPurchases is { } __value20 && promotedPurchases != null) { - return backgroundAssetVersionAppStoreReleases1(__value1); + return promotedPurchases(__value20); } - else if (BackgroundAssetVersionExternalBetaReleases is { } __value2 && backgroundAssetVersionExternalBetaReleases != null) + else if (ReviewSubmissions is { } __value21 && reviewSubmissions != null) { - return backgroundAssetVersionExternalBetaReleases(__value2); + return reviewSubmissions(__value21); } - else if (BackgroundAssetVersionInternalBetaReleases is { } __value3 && backgroundAssetVersionInternalBetaReleases != null) + else if (SubscriptionGracePeriods is { } __value22 && subscriptionGracePeriods != null) { - return backgroundAssetVersionInternalBetaReleases(__value3); + return subscriptionGracePeriods(__value22); } - else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4 && backgroundAssetVersionAppStoreReleases2 != null) + else if (SubscriptionGroups is { } __value23 && subscriptionGroups != null) { - return backgroundAssetVersionAppStoreReleases2(__value4); + return subscriptionGroups(__value23); } return default(TResult); @@ -408,15 +1719,53 @@ public bool Validate() /// /// public void Match( - global::System.Action? backgroundAssetUploadFiles = null, + global::System.Action? androidToIosAppMappingDetails = null, + + global::System.Action? appClips = null, + + global::System.Action? appCustomProductPages = null, + + global::System.Action? appEncryptionDeclarations = null, + + global::System.Action? appEvents = null, + + global::System.Action? appInfos = null, + + global::System.Action? appStoreVersionExperiments1 = null, + + global::System.Action? appStoreVersionExperiments2 = null, + + global::System.Action? betaAppLocalizations = null, + + global::System.Action? betaAppReviewDetails = null, + + global::System.Action? betaGroups = null, + + global::System.Action? betaLicenseAgreements = null, + + global::System.Action? buildIcons1 = null, + + global::System.Action? buildIcons2 = null, + + global::System.Action? ciProducts = null, + + global::System.Action? endUserLicenseAgreements = null, - global::System.Action? backgroundAssetVersionAppStoreReleases1 = null, + global::System.Action? gameCenterDetails = null, - global::System.Action? backgroundAssetVersionExternalBetaReleases = null, + global::System.Action? gameCenterEnabledVersions = null, - global::System.Action? backgroundAssetVersionInternalBetaReleases = null, + global::System.Action? inAppPurchases = null, - global::System.Action? backgroundAssetVersionAppStoreReleases2 = null, + global::System.Action? preReleaseVersions = null, + + global::System.Action? promotedPurchases = null, + + global::System.Action? reviewSubmissions = null, + + global::System.Action? subscriptionGracePeriods = null, + + global::System.Action? subscriptionGroups = null, bool validate = true) { if (validate) @@ -424,25 +1773,101 @@ public void Match( Validate(); } - if (BackgroundAssetUploadFiles is { } __value0) + if (AndroidToIosAppMappingDetails is { } __value0) + { + androidToIosAppMappingDetails?.Invoke(__value0); + } + else if (AppClips is { } __value1) + { + appClips?.Invoke(__value1); + } + else if (AppCustomProductPages is { } __value2) + { + appCustomProductPages?.Invoke(__value2); + } + else if (AppEncryptionDeclarations is { } __value3) + { + appEncryptionDeclarations?.Invoke(__value3); + } + else if (AppEvents is { } __value4) + { + appEvents?.Invoke(__value4); + } + else if (AppInfos is { } __value5) + { + appInfos?.Invoke(__value5); + } + else if (AppStoreVersionExperiments1 is { } __value6) { - backgroundAssetUploadFiles?.Invoke(__value0); + appStoreVersionExperiments1?.Invoke(__value6); } - else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1) + else if (AppStoreVersionExperiments2 is { } __value7) { - backgroundAssetVersionAppStoreReleases1?.Invoke(__value1); + appStoreVersionExperiments2?.Invoke(__value7); } - else if (BackgroundAssetVersionExternalBetaReleases is { } __value2) + else if (BetaAppLocalizations is { } __value8) { - backgroundAssetVersionExternalBetaReleases?.Invoke(__value2); + betaAppLocalizations?.Invoke(__value8); } - else if (BackgroundAssetVersionInternalBetaReleases is { } __value3) + else if (BetaAppReviewDetails is { } __value9) { - backgroundAssetVersionInternalBetaReleases?.Invoke(__value3); + betaAppReviewDetails?.Invoke(__value9); } - else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4) + else if (BetaGroups is { } __value10) { - backgroundAssetVersionAppStoreReleases2?.Invoke(__value4); + betaGroups?.Invoke(__value10); + } + else if (BetaLicenseAgreements is { } __value11) + { + betaLicenseAgreements?.Invoke(__value11); + } + else if (BuildIcons1 is { } __value12) + { + buildIcons1?.Invoke(__value12); + } + else if (BuildIcons2 is { } __value13) + { + buildIcons2?.Invoke(__value13); + } + else if (CiProducts is { } __value14) + { + ciProducts?.Invoke(__value14); + } + else if (EndUserLicenseAgreements is { } __value15) + { + endUserLicenseAgreements?.Invoke(__value15); + } + else if (GameCenterDetails is { } __value16) + { + gameCenterDetails?.Invoke(__value16); + } + else if (GameCenterEnabledVersions is { } __value17) + { + gameCenterEnabledVersions?.Invoke(__value17); + } + else if (InAppPurchases is { } __value18) + { + inAppPurchases?.Invoke(__value18); + } + else if (PreReleaseVersions is { } __value19) + { + preReleaseVersions?.Invoke(__value19); + } + else if (PromotedPurchases is { } __value20) + { + promotedPurchases?.Invoke(__value20); + } + else if (ReviewSubmissions is { } __value21) + { + reviewSubmissions?.Invoke(__value21); + } + else if (SubscriptionGracePeriods is { } __value22) + { + subscriptionGracePeriods?.Invoke(__value22); + } + else if (SubscriptionGroups is { } __value23) + { + subscriptionGroups?.Invoke(__value23); } } @@ -450,11 +1875,30 @@ public void Match( /// /// public void Switch( - global::System.Action? backgroundAssetUploadFiles = null, - global::System.Action? backgroundAssetVersionAppStoreReleases1 = null, - global::System.Action? backgroundAssetVersionExternalBetaReleases = null, - global::System.Action? backgroundAssetVersionInternalBetaReleases = null, - global::System.Action? backgroundAssetVersionAppStoreReleases2 = null, + global::System.Action? androidToIosAppMappingDetails = null, + global::System.Action? appClips = null, + global::System.Action? appCustomProductPages = null, + global::System.Action? appEncryptionDeclarations = null, + global::System.Action? appEvents = null, + global::System.Action? appInfos = null, + global::System.Action? appStoreVersionExperiments1 = null, + global::System.Action? appStoreVersionExperiments2 = null, + global::System.Action? betaAppLocalizations = null, + global::System.Action? betaAppReviewDetails = null, + global::System.Action? betaGroups = null, + global::System.Action? betaLicenseAgreements = null, + global::System.Action? buildIcons1 = null, + global::System.Action? buildIcons2 = null, + global::System.Action? ciProducts = null, + global::System.Action? endUserLicenseAgreements = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterEnabledVersions = null, + global::System.Action? inAppPurchases = null, + global::System.Action? preReleaseVersions = null, + global::System.Action? promotedPurchases = null, + global::System.Action? reviewSubmissions = null, + global::System.Action? subscriptionGracePeriods = null, + global::System.Action? subscriptionGroups = null, bool validate = true) { if (validate) @@ -462,25 +1906,101 @@ public void Switch( Validate(); } - if (BackgroundAssetUploadFiles is { } __value0) + if (AndroidToIosAppMappingDetails is { } __value0) + { + androidToIosAppMappingDetails?.Invoke(__value0); + } + else if (AppClips is { } __value1) + { + appClips?.Invoke(__value1); + } + else if (AppCustomProductPages is { } __value2) + { + appCustomProductPages?.Invoke(__value2); + } + else if (AppEncryptionDeclarations is { } __value3) + { + appEncryptionDeclarations?.Invoke(__value3); + } + else if (AppEvents is { } __value4) + { + appEvents?.Invoke(__value4); + } + else if (AppInfos is { } __value5) + { + appInfos?.Invoke(__value5); + } + else if (AppStoreVersionExperiments1 is { } __value6) + { + appStoreVersionExperiments1?.Invoke(__value6); + } + else if (AppStoreVersionExperiments2 is { } __value7) + { + appStoreVersionExperiments2?.Invoke(__value7); + } + else if (BetaAppLocalizations is { } __value8) + { + betaAppLocalizations?.Invoke(__value8); + } + else if (BetaAppReviewDetails is { } __value9) + { + betaAppReviewDetails?.Invoke(__value9); + } + else if (BetaGroups is { } __value10) + { + betaGroups?.Invoke(__value10); + } + else if (BetaLicenseAgreements is { } __value11) + { + betaLicenseAgreements?.Invoke(__value11); + } + else if (BuildIcons1 is { } __value12) + { + buildIcons1?.Invoke(__value12); + } + else if (BuildIcons2 is { } __value13) + { + buildIcons2?.Invoke(__value13); + } + else if (CiProducts is { } __value14) + { + ciProducts?.Invoke(__value14); + } + else if (EndUserLicenseAgreements is { } __value15) + { + endUserLicenseAgreements?.Invoke(__value15); + } + else if (GameCenterDetails is { } __value16) + { + gameCenterDetails?.Invoke(__value16); + } + else if (GameCenterEnabledVersions is { } __value17) + { + gameCenterEnabledVersions?.Invoke(__value17); + } + else if (InAppPurchases is { } __value18) + { + inAppPurchases?.Invoke(__value18); + } + else if (PreReleaseVersions is { } __value19) { - backgroundAssetUploadFiles?.Invoke(__value0); + preReleaseVersions?.Invoke(__value19); } - else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1) + else if (PromotedPurchases is { } __value20) { - backgroundAssetVersionAppStoreReleases1?.Invoke(__value1); + promotedPurchases?.Invoke(__value20); } - else if (BackgroundAssetVersionExternalBetaReleases is { } __value2) + else if (ReviewSubmissions is { } __value21) { - backgroundAssetVersionExternalBetaReleases?.Invoke(__value2); + reviewSubmissions?.Invoke(__value21); } - else if (BackgroundAssetVersionInternalBetaReleases is { } __value3) + else if (SubscriptionGracePeriods is { } __value22) { - backgroundAssetVersionInternalBetaReleases?.Invoke(__value3); + subscriptionGracePeriods?.Invoke(__value22); } - else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4) + else if (SubscriptionGroups is { } __value23) { - backgroundAssetVersionAppStoreReleases2?.Invoke(__value4); + subscriptionGroups?.Invoke(__value23); } } @@ -491,16 +2011,54 @@ public override int GetHashCode() { var fields = new object?[] { - BackgroundAssetUploadFiles, - typeof(global::AppStoreConnect.BackgroundAssetUploadFile), - BackgroundAssetVersionAppStoreReleases1, - typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), - BackgroundAssetVersionExternalBetaReleases, - typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), - BackgroundAssetVersionInternalBetaReleases, - typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), - BackgroundAssetVersionAppStoreReleases2, - typeof(global::AppStoreConnect.BackgroundAsset), + AndroidToIosAppMappingDetails, + typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), + AppClips, + typeof(global::AppStoreConnect.AppClip), + AppCustomProductPages, + typeof(global::AppStoreConnect.AppCustomProductPage), + AppEncryptionDeclarations, + typeof(global::AppStoreConnect.AppEncryptionDeclaration), + AppEvents, + typeof(global::AppStoreConnect.AppEvent), + AppInfos, + typeof(global::AppStoreConnect.AppInfo), + AppStoreVersionExperiments1, + typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), + AppStoreVersionExperiments2, + typeof(global::AppStoreConnect.AppStoreVersion), + BetaAppLocalizations, + typeof(global::AppStoreConnect.BetaAppLocalization), + BetaAppReviewDetails, + typeof(global::AppStoreConnect.BetaAppReviewDetail), + BetaGroups, + typeof(global::AppStoreConnect.BetaGroup), + BetaLicenseAgreements, + typeof(global::AppStoreConnect.BetaLicenseAgreement), + BuildIcons1, + typeof(global::AppStoreConnect.BuildIcon), + BuildIcons2, + typeof(global::AppStoreConnect.Build), + CiProducts, + typeof(global::AppStoreConnect.CiProduct), + EndUserLicenseAgreements, + typeof(global::AppStoreConnect.EndUserLicenseAgreement), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterEnabledVersions, + typeof(global::AppStoreConnect.GameCenterEnabledVersion), + InAppPurchases, + typeof(global::AppStoreConnect.InAppPurchase), + PreReleaseVersions, + typeof(global::AppStoreConnect.PrereleaseVersion), + PromotedPurchases, + typeof(global::AppStoreConnect.PromotedPurchase), + ReviewSubmissions, + typeof(global::AppStoreConnect.ReviewSubmission), + SubscriptionGracePeriods, + typeof(global::AppStoreConnect.SubscriptionGracePeriod), + SubscriptionGroups, + typeof(global::AppStoreConnect.SubscriptionGroup), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -517,11 +2075,30 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem48 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetUploadFiles, other.BackgroundAssetUploadFiles) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionAppStoreReleases1, other.BackgroundAssetVersionAppStoreReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionExternalBetaReleases, other.BackgroundAssetVersionExternalBetaReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionInternalBetaReleases, other.BackgroundAssetVersionInternalBetaReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionAppStoreReleases2, other.BackgroundAssetVersionAppStoreReleases2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AndroidToIosAppMappingDetails, other.AndroidToIosAppMappingDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClips, other.AppClips) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPages, other.AppCustomProductPages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations, other.AppEncryptionDeclarations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppInfos, other.AppInfos) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments1, other.AppStoreVersionExperiments1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments2, other.AppStoreVersionExperiments2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppLocalizations, other.BetaAppLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppReviewDetails, other.BetaAppReviewDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaLicenseAgreements, other.BetaLicenseAgreements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons1, other.BuildIcons1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons2, other.BuildIcons2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(EndUserLicenseAgreements, other.EndUserLicenseAgreements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterEnabledVersions, other.GameCenterEnabledVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PreReleaseVersions, other.PreReleaseVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ReviewSubmissions, other.ReviewSubmissions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGracePeriods, other.SubscriptionGracePeriods) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem49.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem49.g.cs index 4cd1456c3..a592e2c82 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem49.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem49.g.cs @@ -12,348 +12,1564 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetUploadFile? BackgroundAssetUploadFiles { get; init; } + public global::AppStoreConnect.AndroidToIosAppMappingDetail? AndroidToIosAppMappingDetails { get; init; } #else - public global::AppStoreConnect.BackgroundAssetUploadFile? BackgroundAssetUploadFiles { get; } + public global::AppStoreConnect.AndroidToIosAppMappingDetail? AndroidToIosAppMappingDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetUploadFiles))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AndroidToIosAppMappingDetails))] #endif - public bool IsBackgroundAssetUploadFiles => BackgroundAssetUploadFiles != null; + public bool IsAndroidToIosAppMappingDetails => AndroidToIosAppMappingDetails != null; /// /// /// - public bool TryPickBackgroundAssetUploadFiles( + public bool TryPickAndroidToIosAppMappingDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetUploadFile? value) + out global::AppStoreConnect.AndroidToIosAppMappingDetail? value) { - value = BackgroundAssetUploadFiles; - return IsBackgroundAssetUploadFiles; + value = AndroidToIosAppMappingDetails; + return IsAndroidToIosAppMappingDetails; } /// /// /// - public global::AppStoreConnect.BackgroundAssetUploadFile PickBackgroundAssetUploadFiles() => BackgroundAssetUploadFiles is { } value + public global::AppStoreConnect.AndroidToIosAppMappingDetail PickAndroidToIosAppMappingDetails() => AndroidToIosAppMappingDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetUploadFiles' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AndroidToIosAppMappingDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? BackgroundAssetVersionAppStoreReleases1 { get; init; } + public global::AppStoreConnect.AppClip? AppClips { get; init; } #else - public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? BackgroundAssetVersionAppStoreReleases1 { get; } + public global::AppStoreConnect.AppClip? AppClips { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionAppStoreReleases1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClips))] #endif - public bool IsBackgroundAssetVersionAppStoreReleases1 => BackgroundAssetVersionAppStoreReleases1 != null; + public bool IsAppClips => AppClips != null; /// /// /// - public bool TryPickBackgroundAssetVersionAppStoreReleases1( + public bool TryPickAppClips( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) + out global::AppStoreConnect.AppClip? value) { - value = BackgroundAssetVersionAppStoreReleases1; - return IsBackgroundAssetVersionAppStoreReleases1; + value = AppClips; + return IsAppClips; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease PickBackgroundAssetVersionAppStoreReleases1() => BackgroundAssetVersionAppStoreReleases1 is { } value + public global::AppStoreConnect.AppClip PickAppClips() => AppClips is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionAppStoreReleases1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClips' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? BackgroundAssetVersionExternalBetaReleases { get; init; } + public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPages { get; init; } #else - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? BackgroundAssetVersionExternalBetaReleases { get; } + public global::AppStoreConnect.AppCustomProductPage? AppCustomProductPages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionExternalBetaReleases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppCustomProductPages))] #endif - public bool IsBackgroundAssetVersionExternalBetaReleases => BackgroundAssetVersionExternalBetaReleases != null; + public bool IsAppCustomProductPages => AppCustomProductPages != null; /// /// /// - public bool TryPickBackgroundAssetVersionExternalBetaReleases( + public bool TryPickAppCustomProductPages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) + out global::AppStoreConnect.AppCustomProductPage? value) { - value = BackgroundAssetVersionExternalBetaReleases; - return IsBackgroundAssetVersionExternalBetaReleases; + value = AppCustomProductPages; + return IsAppCustomProductPages; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease PickBackgroundAssetVersionExternalBetaReleases() => BackgroundAssetVersionExternalBetaReleases is { } value + public global::AppStoreConnect.AppCustomProductPage PickAppCustomProductPages() => AppCustomProductPages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionExternalBetaReleases' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppCustomProductPages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? BackgroundAssetVersionInternalBetaReleases { get; init; } + public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations { get; init; } #else - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? BackgroundAssetVersionInternalBetaReleases { get; } + public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionInternalBetaReleases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations))] #endif - public bool IsBackgroundAssetVersionInternalBetaReleases => BackgroundAssetVersionInternalBetaReleases != null; + public bool IsAppEncryptionDeclarations => AppEncryptionDeclarations != null; /// /// /// - public bool TryPickBackgroundAssetVersionInternalBetaReleases( + public bool TryPickAppEncryptionDeclarations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) + out global::AppStoreConnect.AppEncryptionDeclaration? value) { - value = BackgroundAssetVersionInternalBetaReleases; - return IsBackgroundAssetVersionInternalBetaReleases; + value = AppEncryptionDeclarations; + return IsAppEncryptionDeclarations; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease PickBackgroundAssetVersionInternalBetaReleases() => BackgroundAssetVersionInternalBetaReleases is { } value + public global::AppStoreConnect.AppEncryptionDeclaration PickAppEncryptionDeclarations() => AppEncryptionDeclarations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionInternalBetaReleases' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAsset? BackgroundAssetVersionAppStoreReleases2 { get; init; } + public global::AppStoreConnect.AppEvent? AppEvents { get; init; } #else - public global::AppStoreConnect.BackgroundAsset? BackgroundAssetVersionAppStoreReleases2 { get; } + public global::AppStoreConnect.AppEvent? AppEvents { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionAppStoreReleases2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEvents))] #endif - public bool IsBackgroundAssetVersionAppStoreReleases2 => BackgroundAssetVersionAppStoreReleases2 != null; + public bool IsAppEvents => AppEvents != null; /// /// /// - public bool TryPickBackgroundAssetVersionAppStoreReleases2( + public bool TryPickAppEvents( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAsset? value) + out global::AppStoreConnect.AppEvent? value) { - value = BackgroundAssetVersionAppStoreReleases2; - return IsBackgroundAssetVersionAppStoreReleases2; + value = AppEvents; + return IsAppEvents; } /// /// /// - public global::AppStoreConnect.BackgroundAsset PickBackgroundAssetVersionAppStoreReleases2() => BackgroundAssetVersionAppStoreReleases2 is { } value + public global::AppStoreConnect.AppEvent PickAppEvents() => AppEvents is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionAppStoreReleases2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEvents' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppInfo? AppInfos { get; init; } +#else + public global::AppStoreConnect.AppInfo? AppInfos { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppInfos))] +#endif + public bool IsAppInfos => AppInfos != null; + + /// + /// + /// + public bool TryPickAppInfos( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppInfo? value) + { + value = AppInfos; + return IsAppInfos; + } + + /// + /// + /// + public global::AppStoreConnect.AppInfo PickAppInfos() => AppInfos is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppInfos' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersionExperimentV2? AppStoreVersionExperiments1 { get; init; } +#else + public global::AppStoreConnect.AppStoreVersionExperimentV2? AppStoreVersionExperiments1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments1))] +#endif + public bool IsAppStoreVersionExperiments1 => AppStoreVersionExperiments1 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperiments1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersionExperimentV2? value) + { + value = AppStoreVersionExperiments1; + return IsAppStoreVersionExperiments1; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersionExperimentV2 PickAppStoreVersionExperiments1() => AppStoreVersionExperiments1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; init; } +#else + public global::AppStoreConnect.AppStoreVersion? AppStoreVersionExperiments2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersionExperiments2))] +#endif + public bool IsAppStoreVersionExperiments2 => AppStoreVersionExperiments2 != null; + + /// + /// + /// + public bool TryPickAppStoreVersionExperiments2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersion? value) + { + value = AppStoreVersionExperiments2; + return IsAppStoreVersionExperiments2; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersionExperiments2() => AppStoreVersionExperiments2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersionExperiments2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaAppLocalization? BetaAppLocalizations { get; init; } +#else + public global::AppStoreConnect.BetaAppLocalization? BetaAppLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppLocalizations))] +#endif + public bool IsBetaAppLocalizations => BetaAppLocalizations != null; + + /// + /// + /// + public bool TryPickBetaAppLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaAppLocalization? value) + { + value = BetaAppLocalizations; + return IsBetaAppLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.BetaAppLocalization PickBetaAppLocalizations() => BetaAppLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaAppReviewDetail? BetaAppReviewDetails { get; init; } +#else + public global::AppStoreConnect.BetaAppReviewDetail? BetaAppReviewDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppReviewDetails))] +#endif + public bool IsBetaAppReviewDetails => BetaAppReviewDetails != null; + + /// + /// + /// + public bool TryPickBetaAppReviewDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaAppReviewDetail? value) + { + value = BetaAppReviewDetails; + return IsBetaAppReviewDetails; + } + + /// + /// + /// + public global::AppStoreConnect.BetaAppReviewDetail PickBetaAppReviewDetails() => BetaAppReviewDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppReviewDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } +#else + public global::AppStoreConnect.BetaGroup? BetaGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] +#endif + public bool IsBetaGroups => BetaGroups != null; + + /// + /// + /// + public bool TryPickBetaGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaGroup? value) + { + value = BetaGroups; + return IsBetaGroups; + } + + /// + /// + /// + public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaLicenseAgreement? BetaLicenseAgreements { get; init; } +#else + public global::AppStoreConnect.BetaLicenseAgreement? BetaLicenseAgreements { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaLicenseAgreements))] +#endif + public bool IsBetaLicenseAgreements => BetaLicenseAgreements != null; + + /// + /// + /// + public bool TryPickBetaLicenseAgreements( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaLicenseAgreement? value) + { + value = BetaLicenseAgreements; + return IsBetaLicenseAgreements; + } + + /// + /// + /// + public global::AppStoreConnect.BetaLicenseAgreement PickBetaLicenseAgreements() => BetaLicenseAgreements is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaLicenseAgreements' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BuildIcon? BuildIcons1 { get; init; } +#else + public global::AppStoreConnect.BuildIcon? BuildIcons1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons1))] +#endif + public bool IsBuildIcons1 => BuildIcons1 != null; + + /// + /// + /// + public bool TryPickBuildIcons1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BuildIcon? value) + { + value = BuildIcons1; + return IsBuildIcons1; + } + + /// + /// + /// + public global::AppStoreConnect.BuildIcon PickBuildIcons1() => BuildIcons1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Build? BuildIcons2 { get; init; } +#else + public global::AppStoreConnect.Build? BuildIcons2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons2))] +#endif + public bool IsBuildIcons2 => BuildIcons2 != null; + + /// + /// + /// + public bool TryPickBuildIcons2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.Build? value) + { + value = BuildIcons2; + return IsBuildIcons2; + } + + /// + /// + /// + public global::AppStoreConnect.Build PickBuildIcons2() => BuildIcons2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.CiProduct? CiProducts { get; init; } +#else + public global::AppStoreConnect.CiProduct? CiProducts { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] +#endif + public bool IsCiProducts => CiProducts != null; + + /// + /// + /// + public bool TryPickCiProducts( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.CiProduct? value) + { + value = CiProducts; + return IsCiProducts; + } + + /// + /// + /// + public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.EndUserLicenseAgreement? EndUserLicenseAgreements { get; init; } +#else + public global::AppStoreConnect.EndUserLicenseAgreement? EndUserLicenseAgreements { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(EndUserLicenseAgreements))] +#endif + public bool IsEndUserLicenseAgreements => EndUserLicenseAgreements != null; + + /// + /// + /// + public bool TryPickEndUserLicenseAgreements( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.EndUserLicenseAgreement? value) + { + value = EndUserLicenseAgreements; + return IsEndUserLicenseAgreements; + } + + /// + /// + /// + public global::AppStoreConnect.EndUserLicenseAgreement PickEndUserLicenseAgreements() => EndUserLicenseAgreements is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'EndUserLicenseAgreements' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } +#else + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] +#endif + public bool IsGameCenterDetails => GameCenterDetails != null; + + /// + /// + /// + public bool TryPickGameCenterDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterDetail? value) + { + value = GameCenterDetails; + return IsGameCenterDetails; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; init; } +#else + public global::AppStoreConnect.GameCenterEnabledVersion? GameCenterEnabledVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterEnabledVersions))] +#endif + public bool IsGameCenterEnabledVersions => GameCenterEnabledVersions != null; + + /// + /// + /// + public bool TryPickGameCenterEnabledVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterEnabledVersion? value) + { + value = GameCenterEnabledVersions; + return IsGameCenterEnabledVersions; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterEnabledVersion PickGameCenterEnabledVersions() => GameCenterEnabledVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterEnabledVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.InAppPurchase? InAppPurchases { get; init; } +#else + public global::AppStoreConnect.InAppPurchase? InAppPurchases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InAppPurchases))] +#endif + public bool IsInAppPurchases => InAppPurchases != null; + + /// + /// + /// + public bool TryPickInAppPurchases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.InAppPurchase? value) + { + value = InAppPurchases; + return IsInAppPurchases; + } + + /// + /// + /// + public global::AppStoreConnect.InAppPurchase PickInAppPurchases() => InAppPurchases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InAppPurchases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; init; } +#else + public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PreReleaseVersions))] +#endif + public bool IsPreReleaseVersions => PreReleaseVersions != null; + + /// + /// + /// + public bool TryPickPreReleaseVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.PrereleaseVersion? value) + { + value = PreReleaseVersions; + return IsPreReleaseVersions; + } + + /// + /// + /// + public global::AppStoreConnect.PrereleaseVersion PickPreReleaseVersions() => PreReleaseVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PreReleaseVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; init; } +#else + public global::AppStoreConnect.PromotedPurchase? PromotedPurchases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PromotedPurchases))] +#endif + public bool IsPromotedPurchases => PromotedPurchases != null; + + /// + /// + /// + public bool TryPickPromotedPurchases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.PromotedPurchase? value) + { + value = PromotedPurchases; + return IsPromotedPurchases; + } + + /// + /// + /// + public global::AppStoreConnect.PromotedPurchase PickPromotedPurchases() => PromotedPurchases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PromotedPurchases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ReviewSubmission? ReviewSubmissions { get; init; } +#else + public global::AppStoreConnect.ReviewSubmission? ReviewSubmissions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ReviewSubmissions))] +#endif + public bool IsReviewSubmissions => ReviewSubmissions != null; + + /// + /// + /// + public bool TryPickReviewSubmissions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ReviewSubmission? value) + { + value = ReviewSubmissions; + return IsReviewSubmissions; + } + + /// + /// + /// + public global::AppStoreConnect.ReviewSubmission PickReviewSubmissions() => ReviewSubmissions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ReviewSubmissions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionGracePeriod? SubscriptionGracePeriods { get; init; } +#else + public global::AppStoreConnect.SubscriptionGracePeriod? SubscriptionGracePeriods { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGracePeriods))] +#endif + public bool IsSubscriptionGracePeriods => SubscriptionGracePeriods != null; + + /// + /// + /// + public bool TryPickSubscriptionGracePeriods( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionGracePeriod? value) + { + value = SubscriptionGracePeriods; + return IsSubscriptionGracePeriods; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionGracePeriod PickSubscriptionGracePeriods() => SubscriptionGracePeriods is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGracePeriods' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; init; } +#else + public global::AppStoreConnect.SubscriptionGroup? SubscriptionGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(SubscriptionGroups))] +#endif + public bool IsSubscriptionGroups => SubscriptionGroups != null; + + /// + /// + /// + public bool TryPickSubscriptionGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.SubscriptionGroup? value) + { + value = SubscriptionGroups; + return IsSubscriptionGroups; + } + + /// + /// + /// + public global::AppStoreConnect.SubscriptionGroup PickSubscriptionGroups() => SubscriptionGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'SubscriptionGroups' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.AndroidToIosAppMappingDetail value) => new IncludedItem49((global::AppStoreConnect.AndroidToIosAppMappingDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AndroidToIosAppMappingDetail?(IncludedItem49 @this) => @this.AndroidToIosAppMappingDetails; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.AndroidToIosAppMappingDetail? value) + { + AndroidToIosAppMappingDetails = value; + } + + /// + /// + /// + public static IncludedItem49 FromAndroidToIosAppMappingDetails(global::AppStoreConnect.AndroidToIosAppMappingDetail? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.AppClip value) => new IncludedItem49((global::AppStoreConnect.AppClip?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem49 @this) => @this.AppClips; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.AppClip? value) + { + AppClips = value; + } + + /// + /// + /// + public static IncludedItem49 FromAppClips(global::AppStoreConnect.AppClip? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.AppCustomProductPage value) => new IncludedItem49((global::AppStoreConnect.AppCustomProductPage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppCustomProductPage?(IncludedItem49 @this) => @this.AppCustomProductPages; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.AppCustomProductPage? value) + { + AppCustomProductPages = value; + } + + /// + /// + /// + public static IncludedItem49 FromAppCustomProductPages(global::AppStoreConnect.AppCustomProductPage? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.AppEncryptionDeclaration value) => new IncludedItem49((global::AppStoreConnect.AppEncryptionDeclaration?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEncryptionDeclaration?(IncludedItem49 @this) => @this.AppEncryptionDeclarations; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.AppEncryptionDeclaration? value) + { + AppEncryptionDeclarations = value; + } + + /// + /// + /// + public static IncludedItem49 FromAppEncryptionDeclarations(global::AppStoreConnect.AppEncryptionDeclaration? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.AppEvent value) => new IncludedItem49((global::AppStoreConnect.AppEvent?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEvent?(IncludedItem49 @this) => @this.AppEvents; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.AppEvent? value) + { + AppEvents = value; + } + + /// + /// + /// + public static IncludedItem49 FromAppEvents(global::AppStoreConnect.AppEvent? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.AppInfo value) => new IncludedItem49((global::AppStoreConnect.AppInfo?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppInfo?(IncludedItem49 @this) => @this.AppInfos; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.AppInfo? value) + { + AppInfos = value; + } + + /// + /// + /// + public static IncludedItem49 FromAppInfos(global::AppStoreConnect.AppInfo? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.AppStoreVersionExperimentV2 value) => new IncludedItem49((global::AppStoreConnect.AppStoreVersionExperimentV2?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersionExperimentV2?(IncludedItem49 @this) => @this.AppStoreVersionExperiments1; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.AppStoreVersionExperimentV2? value) + { + AppStoreVersionExperiments1 = value; + } + + /// + /// + /// + public static IncludedItem49 FromAppStoreVersionExperiments1(global::AppStoreConnect.AppStoreVersionExperimentV2? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem49((global::AppStoreConnect.AppStoreVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem49 @this) => @this.AppStoreVersionExperiments2; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.AppStoreVersion? value) + { + AppStoreVersionExperiments2 = value; + } + + /// + /// + /// + public static IncludedItem49 FromAppStoreVersionExperiments2(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.BetaAppLocalization value) => new IncludedItem49((global::AppStoreConnect.BetaAppLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaAppLocalization?(IncludedItem49 @this) => @this.BetaAppLocalizations; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.BetaAppLocalization? value) + { + BetaAppLocalizations = value; + } + + /// + /// + /// + public static IncludedItem49 FromBetaAppLocalizations(global::AppStoreConnect.BetaAppLocalization? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.BetaAppReviewDetail value) => new IncludedItem49((global::AppStoreConnect.BetaAppReviewDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaAppReviewDetail?(IncludedItem49 @this) => @this.BetaAppReviewDetails; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.BetaAppReviewDetail? value) + { + BetaAppReviewDetails = value; + } + + /// + /// + /// + public static IncludedItem49 FromBetaAppReviewDetails(global::AppStoreConnect.BetaAppReviewDetail? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.BetaGroup value) => new IncludedItem49((global::AppStoreConnect.BetaGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem49 @this) => @this.BetaGroups; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.BetaGroup? value) + { + BetaGroups = value; + } + + /// + /// + /// + public static IncludedItem49 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.BetaLicenseAgreement value) => new IncludedItem49((global::AppStoreConnect.BetaLicenseAgreement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaLicenseAgreement?(IncludedItem49 @this) => @this.BetaLicenseAgreements; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.BetaLicenseAgreement? value) + { + BetaLicenseAgreements = value; + } + + /// + /// + /// + public static IncludedItem49 FromBetaLicenseAgreements(global::AppStoreConnect.BetaLicenseAgreement? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.BuildIcon value) => new IncludedItem49((global::AppStoreConnect.BuildIcon?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BuildIcon?(IncludedItem49 @this) => @this.BuildIcons1; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.BuildIcon? value) + { + BuildIcons1 = value; + } + + /// + /// + /// + public static IncludedItem49 FromBuildIcons1(global::AppStoreConnect.BuildIcon? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.Build value) => new IncludedItem49((global::AppStoreConnect.Build?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Build?(IncludedItem49 @this) => @this.BuildIcons2; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.Build? value) + { + BuildIcons2 = value; + } + + /// + /// + /// + public static IncludedItem49 FromBuildIcons2(global::AppStoreConnect.Build? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.CiProduct value) => new IncludedItem49((global::AppStoreConnect.CiProduct?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem49 @this) => @this.CiProducts; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.CiProduct? value) + { + CiProducts = value; + } + + /// + /// + /// + public static IncludedItem49 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.EndUserLicenseAgreement value) => new IncludedItem49((global::AppStoreConnect.EndUserLicenseAgreement?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.EndUserLicenseAgreement?(IncludedItem49 @this) => @this.EndUserLicenseAgreements; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.EndUserLicenseAgreement? value) + { + EndUserLicenseAgreements = value; + } + + /// + /// + /// + public static IncludedItem49 FromEndUserLicenseAgreements(global::AppStoreConnect.EndUserLicenseAgreement? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem49((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem49 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + + /// + /// + /// + public static IncludedItem49 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.GameCenterEnabledVersion value) => new IncludedItem49((global::AppStoreConnect.GameCenterEnabledVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterEnabledVersion?(IncludedItem49 @this) => @this.GameCenterEnabledVersions; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.GameCenterEnabledVersion? value) + { + GameCenterEnabledVersions = value; + } + + /// + /// + /// + public static IncludedItem49 FromGameCenterEnabledVersions(global::AppStoreConnect.GameCenterEnabledVersion? value) => new IncludedItem49(value); + + /// + /// + /// + public static implicit operator IncludedItem49(global::AppStoreConnect.InAppPurchase value) => new IncludedItem49((global::AppStoreConnect.InAppPurchase?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.InAppPurchase?(IncludedItem49 @this) => @this.InAppPurchases; + + /// + /// + /// + public IncludedItem49(global::AppStoreConnect.InAppPurchase? value) + { + InAppPurchases = value; + } + + /// + /// + /// + public static IncludedItem49 FromInAppPurchases(global::AppStoreConnect.InAppPurchase? value) => new IncludedItem49(value); + /// /// /// - public static implicit operator IncludedItem49(global::AppStoreConnect.BackgroundAssetUploadFile value) => new IncludedItem49((global::AppStoreConnect.BackgroundAssetUploadFile?)value); + public static implicit operator IncludedItem49(global::AppStoreConnect.PrereleaseVersion value) => new IncludedItem49((global::AppStoreConnect.PrereleaseVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetUploadFile?(IncludedItem49 @this) => @this.BackgroundAssetUploadFiles; + public static implicit operator global::AppStoreConnect.PrereleaseVersion?(IncludedItem49 @this) => @this.PreReleaseVersions; /// /// /// - public IncludedItem49(global::AppStoreConnect.BackgroundAssetUploadFile? value) + public IncludedItem49(global::AppStoreConnect.PrereleaseVersion? value) { - BackgroundAssetUploadFiles = value; + PreReleaseVersions = value; } /// /// /// - public static IncludedItem49 FromBackgroundAssetUploadFiles(global::AppStoreConnect.BackgroundAssetUploadFile? value) => new IncludedItem49(value); + public static IncludedItem49 FromPreReleaseVersions(global::AppStoreConnect.PrereleaseVersion? value) => new IncludedItem49(value); /// /// /// - public static implicit operator IncludedItem49(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease value) => new IncludedItem49((global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease?)value); + public static implicit operator IncludedItem49(global::AppStoreConnect.PromotedPurchase value) => new IncludedItem49((global::AppStoreConnect.PromotedPurchase?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease?(IncludedItem49 @this) => @this.BackgroundAssetVersionAppStoreReleases1; + public static implicit operator global::AppStoreConnect.PromotedPurchase?(IncludedItem49 @this) => @this.PromotedPurchases; /// /// /// - public IncludedItem49(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) + public IncludedItem49(global::AppStoreConnect.PromotedPurchase? value) { - BackgroundAssetVersionAppStoreReleases1 = value; + PromotedPurchases = value; } /// /// /// - public static IncludedItem49 FromBackgroundAssetVersionAppStoreReleases1(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) => new IncludedItem49(value); + public static IncludedItem49 FromPromotedPurchases(global::AppStoreConnect.PromotedPurchase? value) => new IncludedItem49(value); /// /// /// - public static implicit operator IncludedItem49(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease value) => new IncludedItem49((global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease?)value); + public static implicit operator IncludedItem49(global::AppStoreConnect.ReviewSubmission value) => new IncludedItem49((global::AppStoreConnect.ReviewSubmission?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease?(IncludedItem49 @this) => @this.BackgroundAssetVersionExternalBetaReleases; + public static implicit operator global::AppStoreConnect.ReviewSubmission?(IncludedItem49 @this) => @this.ReviewSubmissions; /// /// /// - public IncludedItem49(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) + public IncludedItem49(global::AppStoreConnect.ReviewSubmission? value) { - BackgroundAssetVersionExternalBetaReleases = value; + ReviewSubmissions = value; } /// /// /// - public static IncludedItem49 FromBackgroundAssetVersionExternalBetaReleases(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) => new IncludedItem49(value); + public static IncludedItem49 FromReviewSubmissions(global::AppStoreConnect.ReviewSubmission? value) => new IncludedItem49(value); /// /// /// - public static implicit operator IncludedItem49(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease value) => new IncludedItem49((global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease?)value); + public static implicit operator IncludedItem49(global::AppStoreConnect.SubscriptionGracePeriod value) => new IncludedItem49((global::AppStoreConnect.SubscriptionGracePeriod?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease?(IncludedItem49 @this) => @this.BackgroundAssetVersionInternalBetaReleases; + public static implicit operator global::AppStoreConnect.SubscriptionGracePeriod?(IncludedItem49 @this) => @this.SubscriptionGracePeriods; /// /// /// - public IncludedItem49(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) + public IncludedItem49(global::AppStoreConnect.SubscriptionGracePeriod? value) { - BackgroundAssetVersionInternalBetaReleases = value; + SubscriptionGracePeriods = value; } /// /// /// - public static IncludedItem49 FromBackgroundAssetVersionInternalBetaReleases(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) => new IncludedItem49(value); + public static IncludedItem49 FromSubscriptionGracePeriods(global::AppStoreConnect.SubscriptionGracePeriod? value) => new IncludedItem49(value); /// /// /// - public static implicit operator IncludedItem49(global::AppStoreConnect.BackgroundAsset value) => new IncludedItem49((global::AppStoreConnect.BackgroundAsset?)value); + public static implicit operator IncludedItem49(global::AppStoreConnect.SubscriptionGroup value) => new IncludedItem49((global::AppStoreConnect.SubscriptionGroup?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAsset?(IncludedItem49 @this) => @this.BackgroundAssetVersionAppStoreReleases2; + public static implicit operator global::AppStoreConnect.SubscriptionGroup?(IncludedItem49 @this) => @this.SubscriptionGroups; /// /// /// - public IncludedItem49(global::AppStoreConnect.BackgroundAsset? value) + public IncludedItem49(global::AppStoreConnect.SubscriptionGroup? value) { - BackgroundAssetVersionAppStoreReleases2 = value; + SubscriptionGroups = value; } /// /// /// - public static IncludedItem49 FromBackgroundAssetVersionAppStoreReleases2(global::AppStoreConnect.BackgroundAsset? value) => new IncludedItem49(value); + public static IncludedItem49 FromSubscriptionGroups(global::AppStoreConnect.SubscriptionGroup? value) => new IncludedItem49(value); /// /// /// public IncludedItem49( - global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.BackgroundAssetUploadFile? backgroundAssetUploadFiles, - global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? backgroundAssetVersionAppStoreReleases1, - global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? backgroundAssetVersionExternalBetaReleases, - global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? backgroundAssetVersionInternalBetaReleases, - global::AppStoreConnect.BackgroundAsset? backgroundAssetVersionAppStoreReleases2 + global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AndroidToIosAppMappingDetail? androidToIosAppMappingDetails, + global::AppStoreConnect.AppClip? appClips, + global::AppStoreConnect.AppCustomProductPage? appCustomProductPages, + global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations, + global::AppStoreConnect.AppEvent? appEvents, + global::AppStoreConnect.AppInfo? appInfos, + global::AppStoreConnect.AppStoreVersionExperimentV2? appStoreVersionExperiments1, + global::AppStoreConnect.AppStoreVersion? appStoreVersionExperiments2, + global::AppStoreConnect.BetaAppLocalization? betaAppLocalizations, + global::AppStoreConnect.BetaAppReviewDetail? betaAppReviewDetails, + global::AppStoreConnect.BetaGroup? betaGroups, + global::AppStoreConnect.BetaLicenseAgreement? betaLicenseAgreements, + global::AppStoreConnect.BuildIcon? buildIcons1, + global::AppStoreConnect.Build? buildIcons2, + global::AppStoreConnect.CiProduct? ciProducts, + global::AppStoreConnect.EndUserLicenseAgreement? endUserLicenseAgreements, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterEnabledVersion? gameCenterEnabledVersions, + global::AppStoreConnect.InAppPurchase? inAppPurchases, + global::AppStoreConnect.PrereleaseVersion? preReleaseVersions, + global::AppStoreConnect.PromotedPurchase? promotedPurchases, + global::AppStoreConnect.ReviewSubmission? reviewSubmissions, + global::AppStoreConnect.SubscriptionGracePeriod? subscriptionGracePeriods, + global::AppStoreConnect.SubscriptionGroup? subscriptionGroups ) { Type = type; - BackgroundAssetUploadFiles = backgroundAssetUploadFiles; - BackgroundAssetVersionAppStoreReleases1 = backgroundAssetVersionAppStoreReleases1; - BackgroundAssetVersionExternalBetaReleases = backgroundAssetVersionExternalBetaReleases; - BackgroundAssetVersionInternalBetaReleases = backgroundAssetVersionInternalBetaReleases; - BackgroundAssetVersionAppStoreReleases2 = backgroundAssetVersionAppStoreReleases2; + AndroidToIosAppMappingDetails = androidToIosAppMappingDetails; + AppClips = appClips; + AppCustomProductPages = appCustomProductPages; + AppEncryptionDeclarations = appEncryptionDeclarations; + AppEvents = appEvents; + AppInfos = appInfos; + AppStoreVersionExperiments1 = appStoreVersionExperiments1; + AppStoreVersionExperiments2 = appStoreVersionExperiments2; + BetaAppLocalizations = betaAppLocalizations; + BetaAppReviewDetails = betaAppReviewDetails; + BetaGroups = betaGroups; + BetaLicenseAgreements = betaLicenseAgreements; + BuildIcons1 = buildIcons1; + BuildIcons2 = buildIcons2; + CiProducts = ciProducts; + EndUserLicenseAgreements = endUserLicenseAgreements; + GameCenterDetails = gameCenterDetails; + GameCenterEnabledVersions = gameCenterEnabledVersions; + InAppPurchases = inAppPurchases; + PreReleaseVersions = preReleaseVersions; + PromotedPurchases = promotedPurchases; + ReviewSubmissions = reviewSubmissions; + SubscriptionGracePeriods = subscriptionGracePeriods; + SubscriptionGroups = subscriptionGroups; } /// /// /// public object? Object => - BackgroundAssetVersionAppStoreReleases2 as object ?? - BackgroundAssetVersionInternalBetaReleases as object ?? - BackgroundAssetVersionExternalBetaReleases as object ?? - BackgroundAssetVersionAppStoreReleases1 as object ?? - BackgroundAssetUploadFiles as object + SubscriptionGroups as object ?? + SubscriptionGracePeriods as object ?? + ReviewSubmissions as object ?? + PromotedPurchases as object ?? + PreReleaseVersions as object ?? + InAppPurchases as object ?? + GameCenterEnabledVersions as object ?? + GameCenterDetails as object ?? + EndUserLicenseAgreements as object ?? + CiProducts as object ?? + BuildIcons2 as object ?? + BuildIcons1 as object ?? + BetaLicenseAgreements as object ?? + BetaGroups as object ?? + BetaAppReviewDetails as object ?? + BetaAppLocalizations as object ?? + AppStoreVersionExperiments2 as object ?? + AppStoreVersionExperiments1 as object ?? + AppInfos as object ?? + AppEvents as object ?? + AppEncryptionDeclarations as object ?? + AppCustomProductPages as object ?? + AppClips as object ?? + AndroidToIosAppMappingDetails as object ; /// /// /// public override string? ToString() => - BackgroundAssetUploadFiles?.ToString() ?? - BackgroundAssetVersionAppStoreReleases1?.ToString() ?? - BackgroundAssetVersionExternalBetaReleases?.ToString() ?? - BackgroundAssetVersionInternalBetaReleases?.ToString() ?? - BackgroundAssetVersionAppStoreReleases2?.ToString() + AndroidToIosAppMappingDetails?.ToString() ?? + AppClips?.ToString() ?? + AppCustomProductPages?.ToString() ?? + AppEncryptionDeclarations?.ToString() ?? + AppEvents?.ToString() ?? + AppInfos?.ToString() ?? + AppStoreVersionExperiments1?.ToString() ?? + AppStoreVersionExperiments2?.ToString() ?? + BetaAppLocalizations?.ToString() ?? + BetaAppReviewDetails?.ToString() ?? + BetaGroups?.ToString() ?? + BetaLicenseAgreements?.ToString() ?? + BuildIcons1?.ToString() ?? + BuildIcons2?.ToString() ?? + CiProducts?.ToString() ?? + EndUserLicenseAgreements?.ToString() ?? + GameCenterDetails?.ToString() ?? + GameCenterEnabledVersions?.ToString() ?? + InAppPurchases?.ToString() ?? + PreReleaseVersions?.ToString() ?? + PromotedPurchases?.ToString() ?? + ReviewSubmissions?.ToString() ?? + SubscriptionGracePeriods?.ToString() ?? + SubscriptionGroups?.ToString() ; /// @@ -361,18 +1577,37 @@ BackgroundAssetUploadFiles as object /// public bool Validate() { - return IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && IsBackgroundAssetVersionAppStoreReleases2; + return IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && IsReviewSubmissions && !IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && IsSubscriptionGracePeriods && !IsSubscriptionGroups || !IsAndroidToIosAppMappingDetails && !IsAppClips && !IsAppCustomProductPages && !IsAppEncryptionDeclarations && !IsAppEvents && !IsAppInfos && !IsAppStoreVersionExperiments1 && !IsAppStoreVersionExperiments2 && !IsBetaAppLocalizations && !IsBetaAppReviewDetails && !IsBetaGroups && !IsBetaLicenseAgreements && !IsBuildIcons1 && !IsBuildIcons2 && !IsCiProducts && !IsEndUserLicenseAgreements && !IsGameCenterDetails && !IsGameCenterEnabledVersions && !IsInAppPurchases && !IsPreReleaseVersions && !IsPromotedPurchases && !IsReviewSubmissions && !IsSubscriptionGracePeriods && IsSubscriptionGroups; } /// /// /// public TResult? Match( - global::System.Func? backgroundAssetUploadFiles = null, - global::System.Func? backgroundAssetVersionAppStoreReleases1 = null, - global::System.Func? backgroundAssetVersionExternalBetaReleases = null, - global::System.Func? backgroundAssetVersionInternalBetaReleases = null, - global::System.Func? backgroundAssetVersionAppStoreReleases2 = null, + global::System.Func? androidToIosAppMappingDetails = null, + global::System.Func? appClips = null, + global::System.Func? appCustomProductPages = null, + global::System.Func? appEncryptionDeclarations = null, + global::System.Func? appEvents = null, + global::System.Func? appInfos = null, + global::System.Func? appStoreVersionExperiments1 = null, + global::System.Func? appStoreVersionExperiments2 = null, + global::System.Func? betaAppLocalizations = null, + global::System.Func? betaAppReviewDetails = null, + global::System.Func? betaGroups = null, + global::System.Func? betaLicenseAgreements = null, + global::System.Func? buildIcons1 = null, + global::System.Func? buildIcons2 = null, + global::System.Func? ciProducts = null, + global::System.Func? endUserLicenseAgreements = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterEnabledVersions = null, + global::System.Func? inAppPurchases = null, + global::System.Func? preReleaseVersions = null, + global::System.Func? promotedPurchases = null, + global::System.Func? reviewSubmissions = null, + global::System.Func? subscriptionGracePeriods = null, + global::System.Func? subscriptionGroups = null, bool validate = true) { if (validate) @@ -380,25 +1615,101 @@ public bool Validate() Validate(); } - if (BackgroundAssetUploadFiles is { } __value0 && backgroundAssetUploadFiles != null) + if (AndroidToIosAppMappingDetails is { } __value0 && androidToIosAppMappingDetails != null) + { + return androidToIosAppMappingDetails(__value0); + } + else if (AppClips is { } __value1 && appClips != null) + { + return appClips(__value1); + } + else if (AppCustomProductPages is { } __value2 && appCustomProductPages != null) + { + return appCustomProductPages(__value2); + } + else if (AppEncryptionDeclarations is { } __value3 && appEncryptionDeclarations != null) + { + return appEncryptionDeclarations(__value3); + } + else if (AppEvents is { } __value4 && appEvents != null) + { + return appEvents(__value4); + } + else if (AppInfos is { } __value5 && appInfos != null) + { + return appInfos(__value5); + } + else if (AppStoreVersionExperiments1 is { } __value6 && appStoreVersionExperiments1 != null) + { + return appStoreVersionExperiments1(__value6); + } + else if (AppStoreVersionExperiments2 is { } __value7 && appStoreVersionExperiments2 != null) + { + return appStoreVersionExperiments2(__value7); + } + else if (BetaAppLocalizations is { } __value8 && betaAppLocalizations != null) + { + return betaAppLocalizations(__value8); + } + else if (BetaAppReviewDetails is { } __value9 && betaAppReviewDetails != null) + { + return betaAppReviewDetails(__value9); + } + else if (BetaGroups is { } __value10 && betaGroups != null) + { + return betaGroups(__value10); + } + else if (BetaLicenseAgreements is { } __value11 && betaLicenseAgreements != null) + { + return betaLicenseAgreements(__value11); + } + else if (BuildIcons1 is { } __value12 && buildIcons1 != null) + { + return buildIcons1(__value12); + } + else if (BuildIcons2 is { } __value13 && buildIcons2 != null) + { + return buildIcons2(__value13); + } + else if (CiProducts is { } __value14 && ciProducts != null) + { + return ciProducts(__value14); + } + else if (EndUserLicenseAgreements is { } __value15 && endUserLicenseAgreements != null) + { + return endUserLicenseAgreements(__value15); + } + else if (GameCenterDetails is { } __value16 && gameCenterDetails != null) + { + return gameCenterDetails(__value16); + } + else if (GameCenterEnabledVersions is { } __value17 && gameCenterEnabledVersions != null) + { + return gameCenterEnabledVersions(__value17); + } + else if (InAppPurchases is { } __value18 && inAppPurchases != null) + { + return inAppPurchases(__value18); + } + else if (PreReleaseVersions is { } __value19 && preReleaseVersions != null) { - return backgroundAssetUploadFiles(__value0); + return preReleaseVersions(__value19); } - else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1 && backgroundAssetVersionAppStoreReleases1 != null) + else if (PromotedPurchases is { } __value20 && promotedPurchases != null) { - return backgroundAssetVersionAppStoreReleases1(__value1); + return promotedPurchases(__value20); } - else if (BackgroundAssetVersionExternalBetaReleases is { } __value2 && backgroundAssetVersionExternalBetaReleases != null) + else if (ReviewSubmissions is { } __value21 && reviewSubmissions != null) { - return backgroundAssetVersionExternalBetaReleases(__value2); + return reviewSubmissions(__value21); } - else if (BackgroundAssetVersionInternalBetaReleases is { } __value3 && backgroundAssetVersionInternalBetaReleases != null) + else if (SubscriptionGracePeriods is { } __value22 && subscriptionGracePeriods != null) { - return backgroundAssetVersionInternalBetaReleases(__value3); + return subscriptionGracePeriods(__value22); } - else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4 && backgroundAssetVersionAppStoreReleases2 != null) + else if (SubscriptionGroups is { } __value23 && subscriptionGroups != null) { - return backgroundAssetVersionAppStoreReleases2(__value4); + return subscriptionGroups(__value23); } return default(TResult); @@ -408,15 +1719,53 @@ public bool Validate() /// /// public void Match( - global::System.Action? backgroundAssetUploadFiles = null, + global::System.Action? androidToIosAppMappingDetails = null, + + global::System.Action? appClips = null, + + global::System.Action? appCustomProductPages = null, + + global::System.Action? appEncryptionDeclarations = null, + + global::System.Action? appEvents = null, + + global::System.Action? appInfos = null, + + global::System.Action? appStoreVersionExperiments1 = null, + + global::System.Action? appStoreVersionExperiments2 = null, + + global::System.Action? betaAppLocalizations = null, + + global::System.Action? betaAppReviewDetails = null, + + global::System.Action? betaGroups = null, + + global::System.Action? betaLicenseAgreements = null, + + global::System.Action? buildIcons1 = null, + + global::System.Action? buildIcons2 = null, + + global::System.Action? ciProducts = null, + + global::System.Action? endUserLicenseAgreements = null, - global::System.Action? backgroundAssetVersionAppStoreReleases1 = null, + global::System.Action? gameCenterDetails = null, - global::System.Action? backgroundAssetVersionExternalBetaReleases = null, + global::System.Action? gameCenterEnabledVersions = null, - global::System.Action? backgroundAssetVersionInternalBetaReleases = null, + global::System.Action? inAppPurchases = null, - global::System.Action? backgroundAssetVersionAppStoreReleases2 = null, + global::System.Action? preReleaseVersions = null, + + global::System.Action? promotedPurchases = null, + + global::System.Action? reviewSubmissions = null, + + global::System.Action? subscriptionGracePeriods = null, + + global::System.Action? subscriptionGroups = null, bool validate = true) { if (validate) @@ -424,25 +1773,101 @@ public void Match( Validate(); } - if (BackgroundAssetUploadFiles is { } __value0) + if (AndroidToIosAppMappingDetails is { } __value0) + { + androidToIosAppMappingDetails?.Invoke(__value0); + } + else if (AppClips is { } __value1) + { + appClips?.Invoke(__value1); + } + else if (AppCustomProductPages is { } __value2) + { + appCustomProductPages?.Invoke(__value2); + } + else if (AppEncryptionDeclarations is { } __value3) + { + appEncryptionDeclarations?.Invoke(__value3); + } + else if (AppEvents is { } __value4) + { + appEvents?.Invoke(__value4); + } + else if (AppInfos is { } __value5) + { + appInfos?.Invoke(__value5); + } + else if (AppStoreVersionExperiments1 is { } __value6) { - backgroundAssetUploadFiles?.Invoke(__value0); + appStoreVersionExperiments1?.Invoke(__value6); } - else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1) + else if (AppStoreVersionExperiments2 is { } __value7) { - backgroundAssetVersionAppStoreReleases1?.Invoke(__value1); + appStoreVersionExperiments2?.Invoke(__value7); } - else if (BackgroundAssetVersionExternalBetaReleases is { } __value2) + else if (BetaAppLocalizations is { } __value8) { - backgroundAssetVersionExternalBetaReleases?.Invoke(__value2); + betaAppLocalizations?.Invoke(__value8); } - else if (BackgroundAssetVersionInternalBetaReleases is { } __value3) + else if (BetaAppReviewDetails is { } __value9) { - backgroundAssetVersionInternalBetaReleases?.Invoke(__value3); + betaAppReviewDetails?.Invoke(__value9); } - else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4) + else if (BetaGroups is { } __value10) { - backgroundAssetVersionAppStoreReleases2?.Invoke(__value4); + betaGroups?.Invoke(__value10); + } + else if (BetaLicenseAgreements is { } __value11) + { + betaLicenseAgreements?.Invoke(__value11); + } + else if (BuildIcons1 is { } __value12) + { + buildIcons1?.Invoke(__value12); + } + else if (BuildIcons2 is { } __value13) + { + buildIcons2?.Invoke(__value13); + } + else if (CiProducts is { } __value14) + { + ciProducts?.Invoke(__value14); + } + else if (EndUserLicenseAgreements is { } __value15) + { + endUserLicenseAgreements?.Invoke(__value15); + } + else if (GameCenterDetails is { } __value16) + { + gameCenterDetails?.Invoke(__value16); + } + else if (GameCenterEnabledVersions is { } __value17) + { + gameCenterEnabledVersions?.Invoke(__value17); + } + else if (InAppPurchases is { } __value18) + { + inAppPurchases?.Invoke(__value18); + } + else if (PreReleaseVersions is { } __value19) + { + preReleaseVersions?.Invoke(__value19); + } + else if (PromotedPurchases is { } __value20) + { + promotedPurchases?.Invoke(__value20); + } + else if (ReviewSubmissions is { } __value21) + { + reviewSubmissions?.Invoke(__value21); + } + else if (SubscriptionGracePeriods is { } __value22) + { + subscriptionGracePeriods?.Invoke(__value22); + } + else if (SubscriptionGroups is { } __value23) + { + subscriptionGroups?.Invoke(__value23); } } @@ -450,11 +1875,30 @@ public void Match( /// /// public void Switch( - global::System.Action? backgroundAssetUploadFiles = null, - global::System.Action? backgroundAssetVersionAppStoreReleases1 = null, - global::System.Action? backgroundAssetVersionExternalBetaReleases = null, - global::System.Action? backgroundAssetVersionInternalBetaReleases = null, - global::System.Action? backgroundAssetVersionAppStoreReleases2 = null, + global::System.Action? androidToIosAppMappingDetails = null, + global::System.Action? appClips = null, + global::System.Action? appCustomProductPages = null, + global::System.Action? appEncryptionDeclarations = null, + global::System.Action? appEvents = null, + global::System.Action? appInfos = null, + global::System.Action? appStoreVersionExperiments1 = null, + global::System.Action? appStoreVersionExperiments2 = null, + global::System.Action? betaAppLocalizations = null, + global::System.Action? betaAppReviewDetails = null, + global::System.Action? betaGroups = null, + global::System.Action? betaLicenseAgreements = null, + global::System.Action? buildIcons1 = null, + global::System.Action? buildIcons2 = null, + global::System.Action? ciProducts = null, + global::System.Action? endUserLicenseAgreements = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterEnabledVersions = null, + global::System.Action? inAppPurchases = null, + global::System.Action? preReleaseVersions = null, + global::System.Action? promotedPurchases = null, + global::System.Action? reviewSubmissions = null, + global::System.Action? subscriptionGracePeriods = null, + global::System.Action? subscriptionGroups = null, bool validate = true) { if (validate) @@ -462,25 +1906,101 @@ public void Switch( Validate(); } - if (BackgroundAssetUploadFiles is { } __value0) + if (AndroidToIosAppMappingDetails is { } __value0) + { + androidToIosAppMappingDetails?.Invoke(__value0); + } + else if (AppClips is { } __value1) + { + appClips?.Invoke(__value1); + } + else if (AppCustomProductPages is { } __value2) + { + appCustomProductPages?.Invoke(__value2); + } + else if (AppEncryptionDeclarations is { } __value3) + { + appEncryptionDeclarations?.Invoke(__value3); + } + else if (AppEvents is { } __value4) + { + appEvents?.Invoke(__value4); + } + else if (AppInfos is { } __value5) + { + appInfos?.Invoke(__value5); + } + else if (AppStoreVersionExperiments1 is { } __value6) + { + appStoreVersionExperiments1?.Invoke(__value6); + } + else if (AppStoreVersionExperiments2 is { } __value7) + { + appStoreVersionExperiments2?.Invoke(__value7); + } + else if (BetaAppLocalizations is { } __value8) + { + betaAppLocalizations?.Invoke(__value8); + } + else if (BetaAppReviewDetails is { } __value9) + { + betaAppReviewDetails?.Invoke(__value9); + } + else if (BetaGroups is { } __value10) + { + betaGroups?.Invoke(__value10); + } + else if (BetaLicenseAgreements is { } __value11) + { + betaLicenseAgreements?.Invoke(__value11); + } + else if (BuildIcons1 is { } __value12) + { + buildIcons1?.Invoke(__value12); + } + else if (BuildIcons2 is { } __value13) + { + buildIcons2?.Invoke(__value13); + } + else if (CiProducts is { } __value14) + { + ciProducts?.Invoke(__value14); + } + else if (EndUserLicenseAgreements is { } __value15) + { + endUserLicenseAgreements?.Invoke(__value15); + } + else if (GameCenterDetails is { } __value16) + { + gameCenterDetails?.Invoke(__value16); + } + else if (GameCenterEnabledVersions is { } __value17) + { + gameCenterEnabledVersions?.Invoke(__value17); + } + else if (InAppPurchases is { } __value18) + { + inAppPurchases?.Invoke(__value18); + } + else if (PreReleaseVersions is { } __value19) { - backgroundAssetUploadFiles?.Invoke(__value0); + preReleaseVersions?.Invoke(__value19); } - else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1) + else if (PromotedPurchases is { } __value20) { - backgroundAssetVersionAppStoreReleases1?.Invoke(__value1); + promotedPurchases?.Invoke(__value20); } - else if (BackgroundAssetVersionExternalBetaReleases is { } __value2) + else if (ReviewSubmissions is { } __value21) { - backgroundAssetVersionExternalBetaReleases?.Invoke(__value2); + reviewSubmissions?.Invoke(__value21); } - else if (BackgroundAssetVersionInternalBetaReleases is { } __value3) + else if (SubscriptionGracePeriods is { } __value22) { - backgroundAssetVersionInternalBetaReleases?.Invoke(__value3); + subscriptionGracePeriods?.Invoke(__value22); } - else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4) + else if (SubscriptionGroups is { } __value23) { - backgroundAssetVersionAppStoreReleases2?.Invoke(__value4); + subscriptionGroups?.Invoke(__value23); } } @@ -491,16 +2011,54 @@ public override int GetHashCode() { var fields = new object?[] { - BackgroundAssetUploadFiles, - typeof(global::AppStoreConnect.BackgroundAssetUploadFile), - BackgroundAssetVersionAppStoreReleases1, - typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), - BackgroundAssetVersionExternalBetaReleases, - typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), - BackgroundAssetVersionInternalBetaReleases, - typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), - BackgroundAssetVersionAppStoreReleases2, - typeof(global::AppStoreConnect.BackgroundAsset), + AndroidToIosAppMappingDetails, + typeof(global::AppStoreConnect.AndroidToIosAppMappingDetail), + AppClips, + typeof(global::AppStoreConnect.AppClip), + AppCustomProductPages, + typeof(global::AppStoreConnect.AppCustomProductPage), + AppEncryptionDeclarations, + typeof(global::AppStoreConnect.AppEncryptionDeclaration), + AppEvents, + typeof(global::AppStoreConnect.AppEvent), + AppInfos, + typeof(global::AppStoreConnect.AppInfo), + AppStoreVersionExperiments1, + typeof(global::AppStoreConnect.AppStoreVersionExperimentV2), + AppStoreVersionExperiments2, + typeof(global::AppStoreConnect.AppStoreVersion), + BetaAppLocalizations, + typeof(global::AppStoreConnect.BetaAppLocalization), + BetaAppReviewDetails, + typeof(global::AppStoreConnect.BetaAppReviewDetail), + BetaGroups, + typeof(global::AppStoreConnect.BetaGroup), + BetaLicenseAgreements, + typeof(global::AppStoreConnect.BetaLicenseAgreement), + BuildIcons1, + typeof(global::AppStoreConnect.BuildIcon), + BuildIcons2, + typeof(global::AppStoreConnect.Build), + CiProducts, + typeof(global::AppStoreConnect.CiProduct), + EndUserLicenseAgreements, + typeof(global::AppStoreConnect.EndUserLicenseAgreement), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterEnabledVersions, + typeof(global::AppStoreConnect.GameCenterEnabledVersion), + InAppPurchases, + typeof(global::AppStoreConnect.InAppPurchase), + PreReleaseVersions, + typeof(global::AppStoreConnect.PrereleaseVersion), + PromotedPurchases, + typeof(global::AppStoreConnect.PromotedPurchase), + ReviewSubmissions, + typeof(global::AppStoreConnect.ReviewSubmission), + SubscriptionGracePeriods, + typeof(global::AppStoreConnect.SubscriptionGracePeriod), + SubscriptionGroups, + typeof(global::AppStoreConnect.SubscriptionGroup), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -517,11 +2075,30 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem49 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetUploadFiles, other.BackgroundAssetUploadFiles) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionAppStoreReleases1, other.BackgroundAssetVersionAppStoreReleases1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionExternalBetaReleases, other.BackgroundAssetVersionExternalBetaReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionInternalBetaReleases, other.BackgroundAssetVersionInternalBetaReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionAppStoreReleases2, other.BackgroundAssetVersionAppStoreReleases2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AndroidToIosAppMappingDetails, other.AndroidToIosAppMappingDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClips, other.AppClips) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppCustomProductPages, other.AppCustomProductPages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations, other.AppEncryptionDeclarations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEvents, other.AppEvents) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppInfos, other.AppInfos) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments1, other.AppStoreVersionExperiments1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersionExperiments2, other.AppStoreVersionExperiments2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppLocalizations, other.BetaAppLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppReviewDetails, other.BetaAppReviewDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaLicenseAgreements, other.BetaLicenseAgreements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons1, other.BuildIcons1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons2, other.BuildIcons2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(EndUserLicenseAgreements, other.EndUserLicenseAgreements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterEnabledVersions, other.GameCenterEnabledVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InAppPurchases, other.InAppPurchases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PreReleaseVersions, other.PreReleaseVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PromotedPurchases, other.PromotedPurchases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ReviewSubmissions, other.ReviewSubmissions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGracePeriods, other.SubscriptionGracePeriods) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(SubscriptionGroups, other.SubscriptionGroups) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem5.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem5.g.cs index 42f1562b2..0f14f191c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem5.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem5.g.cs @@ -12,156 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences { get; init; } + public global::AppStoreConnect.AppClipAdvancedExperienceImage? AppClipAdvancedExperienceImages { get; init; } #else - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences { get; } + public global::AppStoreConnect.AppClipAdvancedExperienceImage? AppClipAdvancedExperienceImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceImages))] #endif - public bool IsAppClipDefaultExperiences => AppClipDefaultExperiences != null; + public bool IsAppClipAdvancedExperienceImages => AppClipAdvancedExperienceImages != null; /// /// /// - public bool TryPickAppClipDefaultExperiences( + public bool TryPickAppClipAdvancedExperienceImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipDefaultExperience? value) + out global::AppStoreConnect.AppClipAdvancedExperienceImage? value) { - value = AppClipDefaultExperiences; - return IsAppClipDefaultExperiences; + value = AppClipAdvancedExperienceImages; + return IsAppClipAdvancedExperienceImages; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences() => AppClipDefaultExperiences is { } value + public global::AppStoreConnect.AppClipAdvancedExperienceImage PickAppClipAdvancedExperienceImages() => AppClipAdvancedExperienceImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipHeaderImage? AppClipHeaderImages { get; init; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? AppClipAdvancedExperienceLocalizations1 { get; init; } #else - public global::AppStoreConnect.AppClipHeaderImage? AppClipHeaderImages { get; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? AppClipAdvancedExperienceLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipHeaderImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceLocalizations1))] #endif - public bool IsAppClipHeaderImages => AppClipHeaderImages != null; + public bool IsAppClipAdvancedExperienceLocalizations1 => AppClipAdvancedExperienceLocalizations1 != null; /// /// /// - public bool TryPickAppClipHeaderImages( + public bool TryPickAppClipAdvancedExperienceLocalizations1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipHeaderImage? value) + out global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) { - value = AppClipHeaderImages; - return IsAppClipHeaderImages; + value = AppClipAdvancedExperienceLocalizations1; + return IsAppClipAdvancedExperienceLocalizations1; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImage PickAppClipHeaderImages() => AppClipHeaderImages is { } value + public global::AppStoreConnect.AppClipAdvancedExperienceLocalization PickAppClipAdvancedExperienceLocalizations1() => AppClipAdvancedExperienceLocalizations1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipHeaderImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceLocalizations1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppClip? AppClipAdvancedExperienceLocalizations2 { get; init; } +#else + public global::AppStoreConnect.AppClip? AppClipAdvancedExperienceLocalizations2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceLocalizations2))] +#endif + public bool IsAppClipAdvancedExperienceLocalizations2 => AppClipAdvancedExperienceLocalizations2 != null; + + /// + /// + /// + public bool TryPickAppClipAdvancedExperienceLocalizations2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppClip? value) + { + value = AppClipAdvancedExperienceLocalizations2; + return IsAppClipAdvancedExperienceLocalizations2; + } + + /// + /// + /// + public global::AppStoreConnect.AppClip PickAppClipAdvancedExperienceLocalizations2() => AppClipAdvancedExperienceLocalizations2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceLocalizations2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem5(global::AppStoreConnect.AppClipAdvancedExperienceImage value) => new IncludedItem5((global::AppStoreConnect.AppClipAdvancedExperienceImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClipAdvancedExperienceImage?(IncludedItem5 @this) => @this.AppClipAdvancedExperienceImages; + + /// + /// + /// + public IncludedItem5(global::AppStoreConnect.AppClipAdvancedExperienceImage? value) + { + AppClipAdvancedExperienceImages = value; + } + /// /// /// - public static implicit operator IncludedItem5(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem5((global::AppStoreConnect.AppClipDefaultExperience?)value); + public static IncludedItem5 FromAppClipAdvancedExperienceImages(global::AppStoreConnect.AppClipAdvancedExperienceImage? value) => new IncludedItem5(value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem5 @this) => @this.AppClipDefaultExperiences; + public static implicit operator IncludedItem5(global::AppStoreConnect.AppClipAdvancedExperienceLocalization value) => new IncludedItem5((global::AppStoreConnect.AppClipAdvancedExperienceLocalization?)value); /// /// /// - public IncludedItem5(global::AppStoreConnect.AppClipDefaultExperience? value) + public static implicit operator global::AppStoreConnect.AppClipAdvancedExperienceLocalization?(IncludedItem5 @this) => @this.AppClipAdvancedExperienceLocalizations1; + + /// + /// + /// + public IncludedItem5(global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) { - AppClipDefaultExperiences = value; + AppClipAdvancedExperienceLocalizations1 = value; } /// /// /// - public static IncludedItem5 FromAppClipDefaultExperiences(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem5(value); + public static IncludedItem5 FromAppClipAdvancedExperienceLocalizations1(global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) => new IncludedItem5(value); /// /// /// - public static implicit operator IncludedItem5(global::AppStoreConnect.AppClipHeaderImage value) => new IncludedItem5((global::AppStoreConnect.AppClipHeaderImage?)value); + public static implicit operator IncludedItem5(global::AppStoreConnect.AppClip value) => new IncludedItem5((global::AppStoreConnect.AppClip?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClipHeaderImage?(IncludedItem5 @this) => @this.AppClipHeaderImages; + public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem5 @this) => @this.AppClipAdvancedExperienceLocalizations2; /// /// /// - public IncludedItem5(global::AppStoreConnect.AppClipHeaderImage? value) + public IncludedItem5(global::AppStoreConnect.AppClip? value) { - AppClipHeaderImages = value; + AppClipAdvancedExperienceLocalizations2 = value; } /// /// /// - public static IncludedItem5 FromAppClipHeaderImages(global::AppStoreConnect.AppClipHeaderImage? value) => new IncludedItem5(value); + public static IncludedItem5 FromAppClipAdvancedExperienceLocalizations2(global::AppStoreConnect.AppClip? value) => new IncludedItem5(value); /// /// /// public IncludedItem5( - global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences, - global::AppStoreConnect.AppClipHeaderImage? appClipHeaderImages + global::AppStoreConnect.AppClipAdvancedExperiencesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppClipAdvancedExperienceImage? appClipAdvancedExperienceImages, + global::AppStoreConnect.AppClipAdvancedExperienceLocalization? appClipAdvancedExperienceLocalizations1, + global::AppStoreConnect.AppClip? appClipAdvancedExperienceLocalizations2 ) { Type = type; - AppClipDefaultExperiences = appClipDefaultExperiences; - AppClipHeaderImages = appClipHeaderImages; + AppClipAdvancedExperienceImages = appClipAdvancedExperienceImages; + AppClipAdvancedExperienceLocalizations1 = appClipAdvancedExperienceLocalizations1; + AppClipAdvancedExperienceLocalizations2 = appClipAdvancedExperienceLocalizations2; } /// /// /// public object? Object => - AppClipHeaderImages as object ?? - AppClipDefaultExperiences as object + AppClipAdvancedExperienceLocalizations2 as object ?? + AppClipAdvancedExperienceLocalizations1 as object ?? + AppClipAdvancedExperienceImages as object ; /// /// /// public override string? ToString() => - AppClipDefaultExperiences?.ToString() ?? - AppClipHeaderImages?.ToString() + AppClipAdvancedExperienceImages?.ToString() ?? + AppClipAdvancedExperienceLocalizations1?.ToString() ?? + AppClipAdvancedExperienceLocalizations2?.ToString() ; /// @@ -169,15 +233,16 @@ AppClipDefaultExperiences as object /// public bool Validate() { - return IsAppClipDefaultExperiences && !IsAppClipHeaderImages || !IsAppClipDefaultExperiences && IsAppClipHeaderImages; + return IsAppClipAdvancedExperienceImages && !IsAppClipAdvancedExperienceLocalizations1 && !IsAppClipAdvancedExperienceLocalizations2 || !IsAppClipAdvancedExperienceImages && IsAppClipAdvancedExperienceLocalizations1 && !IsAppClipAdvancedExperienceLocalizations2 || !IsAppClipAdvancedExperienceImages && !IsAppClipAdvancedExperienceLocalizations1 && IsAppClipAdvancedExperienceLocalizations2; } /// /// /// public TResult? Match( - global::System.Func? appClipDefaultExperiences = null, - global::System.Func? appClipHeaderImages = null, + global::System.Func? appClipAdvancedExperienceImages = null, + global::System.Func? appClipAdvancedExperienceLocalizations1 = null, + global::System.Func? appClipAdvancedExperienceLocalizations2 = null, bool validate = true) { if (validate) @@ -185,13 +250,17 @@ public bool Validate() Validate(); } - if (AppClipDefaultExperiences is { } __value0 && appClipDefaultExperiences != null) + if (AppClipAdvancedExperienceImages is { } __value0 && appClipAdvancedExperienceImages != null) { - return appClipDefaultExperiences(__value0); + return appClipAdvancedExperienceImages(__value0); } - else if (AppClipHeaderImages is { } __value1 && appClipHeaderImages != null) + else if (AppClipAdvancedExperienceLocalizations1 is { } __value1 && appClipAdvancedExperienceLocalizations1 != null) { - return appClipHeaderImages(__value1); + return appClipAdvancedExperienceLocalizations1(__value1); + } + else if (AppClipAdvancedExperienceLocalizations2 is { } __value2 && appClipAdvancedExperienceLocalizations2 != null) + { + return appClipAdvancedExperienceLocalizations2(__value2); } return default(TResult); @@ -201,9 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? appClipDefaultExperiences = null, + global::System.Action? appClipAdvancedExperienceImages = null, + + global::System.Action? appClipAdvancedExperienceLocalizations1 = null, - global::System.Action? appClipHeaderImages = null, + global::System.Action? appClipAdvancedExperienceLocalizations2 = null, bool validate = true) { if (validate) @@ -211,13 +282,17 @@ public void Match( Validate(); } - if (AppClipDefaultExperiences is { } __value0) + if (AppClipAdvancedExperienceImages is { } __value0) + { + appClipAdvancedExperienceImages?.Invoke(__value0); + } + else if (AppClipAdvancedExperienceLocalizations1 is { } __value1) { - appClipDefaultExperiences?.Invoke(__value0); + appClipAdvancedExperienceLocalizations1?.Invoke(__value1); } - else if (AppClipHeaderImages is { } __value1) + else if (AppClipAdvancedExperienceLocalizations2 is { } __value2) { - appClipHeaderImages?.Invoke(__value1); + appClipAdvancedExperienceLocalizations2?.Invoke(__value2); } } @@ -225,8 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? appClipDefaultExperiences = null, - global::System.Action? appClipHeaderImages = null, + global::System.Action? appClipAdvancedExperienceImages = null, + global::System.Action? appClipAdvancedExperienceLocalizations1 = null, + global::System.Action? appClipAdvancedExperienceLocalizations2 = null, bool validate = true) { if (validate) @@ -234,13 +310,17 @@ public void Switch( Validate(); } - if (AppClipDefaultExperiences is { } __value0) + if (AppClipAdvancedExperienceImages is { } __value0) + { + appClipAdvancedExperienceImages?.Invoke(__value0); + } + else if (AppClipAdvancedExperienceLocalizations1 is { } __value1) { - appClipDefaultExperiences?.Invoke(__value0); + appClipAdvancedExperienceLocalizations1?.Invoke(__value1); } - else if (AppClipHeaderImages is { } __value1) + else if (AppClipAdvancedExperienceLocalizations2 is { } __value2) { - appClipHeaderImages?.Invoke(__value1); + appClipAdvancedExperienceLocalizations2?.Invoke(__value2); } } @@ -251,10 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - AppClipDefaultExperiences, - typeof(global::AppStoreConnect.AppClipDefaultExperience), - AppClipHeaderImages, - typeof(global::AppStoreConnect.AppClipHeaderImage), + AppClipAdvancedExperienceImages, + typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), + AppClipAdvancedExperienceLocalizations1, + typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), + AppClipAdvancedExperienceLocalizations2, + typeof(global::AppStoreConnect.AppClip), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem5 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences, other.AppClipDefaultExperiences) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipHeaderImages, other.AppClipHeaderImages) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceImages, other.AppClipAdvancedExperienceImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceLocalizations1, other.AppClipAdvancedExperienceLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceLocalizations2, other.AppClipAdvancedExperienceLocalizations2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem50.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem50.g.cs index b7b9657f4..06423a5f7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem50.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem50.g.cs @@ -12,156 +12,348 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.BackgroundAssetUploadFile? BackgroundAssetUploadFiles { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.BackgroundAssetUploadFile? BackgroundAssetUploadFiles { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetUploadFiles))] #endif - public bool IsApps => Apps != null; + public bool IsBackgroundAssetUploadFiles => BackgroundAssetUploadFiles != null; /// /// /// - public bool TryPickApps( + public bool TryPickBackgroundAssetUploadFiles( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.BackgroundAssetUploadFile? value) { - value = Apps; - return IsApps; + value = BackgroundAssetUploadFiles; + return IsBackgroundAssetUploadFiles; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.BackgroundAssetUploadFile PickBackgroundAssetUploadFiles() => BackgroundAssetUploadFiles is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetUploadFiles' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; init; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? BackgroundAssetVersionAppStoreReleases1 { get; init; } #else - public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? BackgroundAssetVersionAppStoreReleases1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionAppStoreReleases1))] #endif - public bool IsBackgroundAssetVersions => BackgroundAssetVersions != null; + public bool IsBackgroundAssetVersionAppStoreReleases1 => BackgroundAssetVersionAppStoreReleases1 != null; /// /// /// - public bool TryPickBackgroundAssetVersions( + public bool TryPickBackgroundAssetVersionAppStoreReleases1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetVersion? value) + out global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) { - value = BackgroundAssetVersions; - return IsBackgroundAssetVersions; + value = BackgroundAssetVersionAppStoreReleases1; + return IsBackgroundAssetVersionAppStoreReleases1; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersion PickBackgroundAssetVersions() => BackgroundAssetVersions is { } value + public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease PickBackgroundAssetVersionAppStoreReleases1() => BackgroundAssetVersionAppStoreReleases1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionAppStoreReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? BackgroundAssetVersionExternalBetaReleases { get; init; } +#else + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? BackgroundAssetVersionExternalBetaReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionExternalBetaReleases))] +#endif + public bool IsBackgroundAssetVersionExternalBetaReleases => BackgroundAssetVersionExternalBetaReleases != null; + + /// + /// + /// + public bool TryPickBackgroundAssetVersionExternalBetaReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) + { + value = BackgroundAssetVersionExternalBetaReleases; + return IsBackgroundAssetVersionExternalBetaReleases; + } + + /// + /// + /// + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease PickBackgroundAssetVersionExternalBetaReleases() => BackgroundAssetVersionExternalBetaReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionExternalBetaReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? BackgroundAssetVersionInternalBetaReleases { get; init; } +#else + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? BackgroundAssetVersionInternalBetaReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionInternalBetaReleases))] +#endif + public bool IsBackgroundAssetVersionInternalBetaReleases => BackgroundAssetVersionInternalBetaReleases != null; + + /// + /// + /// + public bool TryPickBackgroundAssetVersionInternalBetaReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) + { + value = BackgroundAssetVersionInternalBetaReleases; + return IsBackgroundAssetVersionInternalBetaReleases; + } + + /// + /// + /// + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease PickBackgroundAssetVersionInternalBetaReleases() => BackgroundAssetVersionInternalBetaReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionInternalBetaReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BackgroundAsset? BackgroundAssetVersionAppStoreReleases2 { get; init; } +#else + public global::AppStoreConnect.BackgroundAsset? BackgroundAssetVersionAppStoreReleases2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionAppStoreReleases2))] +#endif + public bool IsBackgroundAssetVersionAppStoreReleases2 => BackgroundAssetVersionAppStoreReleases2 != null; + + /// + /// + /// + public bool TryPickBackgroundAssetVersionAppStoreReleases2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BackgroundAsset? value) + { + value = BackgroundAssetVersionAppStoreReleases2; + return IsBackgroundAssetVersionAppStoreReleases2; + } + + /// + /// + /// + public global::AppStoreConnect.BackgroundAsset PickBackgroundAssetVersionAppStoreReleases2() => BackgroundAssetVersionAppStoreReleases2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionAppStoreReleases2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem50(global::AppStoreConnect.BackgroundAssetUploadFile value) => new IncludedItem50((global::AppStoreConnect.BackgroundAssetUploadFile?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BackgroundAssetUploadFile?(IncludedItem50 @this) => @this.BackgroundAssetUploadFiles; + + /// + /// + /// + public IncludedItem50(global::AppStoreConnect.BackgroundAssetUploadFile? value) + { + BackgroundAssetUploadFiles = value; + } + + /// + /// + /// + public static IncludedItem50 FromBackgroundAssetUploadFiles(global::AppStoreConnect.BackgroundAssetUploadFile? value) => new IncludedItem50(value); + + /// + /// + /// + public static implicit operator IncludedItem50(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease value) => new IncludedItem50((global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease?(IncludedItem50 @this) => @this.BackgroundAssetVersionAppStoreReleases1; + + /// + /// + /// + public IncludedItem50(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) + { + BackgroundAssetVersionAppStoreReleases1 = value; + } + + /// + /// + /// + public static IncludedItem50 FromBackgroundAssetVersionAppStoreReleases1(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) => new IncludedItem50(value); + /// /// /// - public static implicit operator IncludedItem50(global::AppStoreConnect.App value) => new IncludedItem50((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem50(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease value) => new IncludedItem50((global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem50 @this) => @this.Apps; + public static implicit operator global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease?(IncludedItem50 @this) => @this.BackgroundAssetVersionExternalBetaReleases; /// /// /// - public IncludedItem50(global::AppStoreConnect.App? value) + public IncludedItem50(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) { - Apps = value; + BackgroundAssetVersionExternalBetaReleases = value; } /// /// /// - public static IncludedItem50 FromApps(global::AppStoreConnect.App? value) => new IncludedItem50(value); + public static IncludedItem50 FromBackgroundAssetVersionExternalBetaReleases(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) => new IncludedItem50(value); /// /// /// - public static implicit operator IncludedItem50(global::AppStoreConnect.BackgroundAssetVersion value) => new IncludedItem50((global::AppStoreConnect.BackgroundAssetVersion?)value); + public static implicit operator IncludedItem50(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease value) => new IncludedItem50((global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersion?(IncludedItem50 @this) => @this.BackgroundAssetVersions; + public static implicit operator global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease?(IncludedItem50 @this) => @this.BackgroundAssetVersionInternalBetaReleases; /// /// /// - public IncludedItem50(global::AppStoreConnect.BackgroundAssetVersion? value) + public IncludedItem50(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) { - BackgroundAssetVersions = value; + BackgroundAssetVersionInternalBetaReleases = value; } /// /// /// - public static IncludedItem50 FromBackgroundAssetVersions(global::AppStoreConnect.BackgroundAssetVersion? value) => new IncludedItem50(value); + public static IncludedItem50 FromBackgroundAssetVersionInternalBetaReleases(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) => new IncludedItem50(value); + + /// + /// + /// + public static implicit operator IncludedItem50(global::AppStoreConnect.BackgroundAsset value) => new IncludedItem50((global::AppStoreConnect.BackgroundAsset?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BackgroundAsset?(IncludedItem50 @this) => @this.BackgroundAssetVersionAppStoreReleases2; + + /// + /// + /// + public IncludedItem50(global::AppStoreConnect.BackgroundAsset? value) + { + BackgroundAssetVersionAppStoreReleases2 = value; + } + + /// + /// + /// + public static IncludedItem50 FromBackgroundAssetVersionAppStoreReleases2(global::AppStoreConnect.BackgroundAsset? value) => new IncludedItem50(value); /// /// /// public IncludedItem50( - global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions + global::AppStoreConnect.BackgroundAssetVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BackgroundAssetUploadFile? backgroundAssetUploadFiles, + global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? backgroundAssetVersionAppStoreReleases1, + global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? backgroundAssetVersionExternalBetaReleases, + global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? backgroundAssetVersionInternalBetaReleases, + global::AppStoreConnect.BackgroundAsset? backgroundAssetVersionAppStoreReleases2 ) { Type = type; - Apps = apps; - BackgroundAssetVersions = backgroundAssetVersions; + BackgroundAssetUploadFiles = backgroundAssetUploadFiles; + BackgroundAssetVersionAppStoreReleases1 = backgroundAssetVersionAppStoreReleases1; + BackgroundAssetVersionExternalBetaReleases = backgroundAssetVersionExternalBetaReleases; + BackgroundAssetVersionInternalBetaReleases = backgroundAssetVersionInternalBetaReleases; + BackgroundAssetVersionAppStoreReleases2 = backgroundAssetVersionAppStoreReleases2; } /// /// /// public object? Object => - BackgroundAssetVersions as object ?? - Apps as object + BackgroundAssetVersionAppStoreReleases2 as object ?? + BackgroundAssetVersionInternalBetaReleases as object ?? + BackgroundAssetVersionExternalBetaReleases as object ?? + BackgroundAssetVersionAppStoreReleases1 as object ?? + BackgroundAssetUploadFiles as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - BackgroundAssetVersions?.ToString() + BackgroundAssetUploadFiles?.ToString() ?? + BackgroundAssetVersionAppStoreReleases1?.ToString() ?? + BackgroundAssetVersionExternalBetaReleases?.ToString() ?? + BackgroundAssetVersionInternalBetaReleases?.ToString() ?? + BackgroundAssetVersionAppStoreReleases2?.ToString() ; /// @@ -169,15 +361,18 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBackgroundAssetVersions || !IsApps && IsBackgroundAssetVersions; + return IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && IsBackgroundAssetVersionAppStoreReleases2; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? backgroundAssetVersions = null, + global::System.Func? backgroundAssetUploadFiles = null, + global::System.Func? backgroundAssetVersionAppStoreReleases1 = null, + global::System.Func? backgroundAssetVersionExternalBetaReleases = null, + global::System.Func? backgroundAssetVersionInternalBetaReleases = null, + global::System.Func? backgroundAssetVersionAppStoreReleases2 = null, bool validate = true) { if (validate) @@ -185,13 +380,25 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (BackgroundAssetUploadFiles is { } __value0 && backgroundAssetUploadFiles != null) + { + return backgroundAssetUploadFiles(__value0); + } + else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1 && backgroundAssetVersionAppStoreReleases1 != null) { - return apps(__value0); + return backgroundAssetVersionAppStoreReleases1(__value1); } - else if (BackgroundAssetVersions is { } __value1 && backgroundAssetVersions != null) + else if (BackgroundAssetVersionExternalBetaReleases is { } __value2 && backgroundAssetVersionExternalBetaReleases != null) { - return backgroundAssetVersions(__value1); + return backgroundAssetVersionExternalBetaReleases(__value2); + } + else if (BackgroundAssetVersionInternalBetaReleases is { } __value3 && backgroundAssetVersionInternalBetaReleases != null) + { + return backgroundAssetVersionInternalBetaReleases(__value3); + } + else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4 && backgroundAssetVersionAppStoreReleases2 != null) + { + return backgroundAssetVersionAppStoreReleases2(__value4); } return default(TResult); @@ -201,9 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? backgroundAssetUploadFiles = null, + + global::System.Action? backgroundAssetVersionAppStoreReleases1 = null, - global::System.Action? backgroundAssetVersions = null, + global::System.Action? backgroundAssetVersionExternalBetaReleases = null, + + global::System.Action? backgroundAssetVersionInternalBetaReleases = null, + + global::System.Action? backgroundAssetVersionAppStoreReleases2 = null, bool validate = true) { if (validate) @@ -211,13 +424,25 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (BackgroundAssetUploadFiles is { } __value0) { - apps?.Invoke(__value0); + backgroundAssetUploadFiles?.Invoke(__value0); } - else if (BackgroundAssetVersions is { } __value1) + else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1) { - backgroundAssetVersions?.Invoke(__value1); + backgroundAssetVersionAppStoreReleases1?.Invoke(__value1); + } + else if (BackgroundAssetVersionExternalBetaReleases is { } __value2) + { + backgroundAssetVersionExternalBetaReleases?.Invoke(__value2); + } + else if (BackgroundAssetVersionInternalBetaReleases is { } __value3) + { + backgroundAssetVersionInternalBetaReleases?.Invoke(__value3); + } + else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4) + { + backgroundAssetVersionAppStoreReleases2?.Invoke(__value4); } } @@ -225,8 +450,11 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? backgroundAssetVersions = null, + global::System.Action? backgroundAssetUploadFiles = null, + global::System.Action? backgroundAssetVersionAppStoreReleases1 = null, + global::System.Action? backgroundAssetVersionExternalBetaReleases = null, + global::System.Action? backgroundAssetVersionInternalBetaReleases = null, + global::System.Action? backgroundAssetVersionAppStoreReleases2 = null, bool validate = true) { if (validate) @@ -234,13 +462,25 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (BackgroundAssetUploadFiles is { } __value0) + { + backgroundAssetUploadFiles?.Invoke(__value0); + } + else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1) + { + backgroundAssetVersionAppStoreReleases1?.Invoke(__value1); + } + else if (BackgroundAssetVersionExternalBetaReleases is { } __value2) + { + backgroundAssetVersionExternalBetaReleases?.Invoke(__value2); + } + else if (BackgroundAssetVersionInternalBetaReleases is { } __value3) { - apps?.Invoke(__value0); + backgroundAssetVersionInternalBetaReleases?.Invoke(__value3); } - else if (BackgroundAssetVersions is { } __value1) + else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4) { - backgroundAssetVersions?.Invoke(__value1); + backgroundAssetVersionAppStoreReleases2?.Invoke(__value4); } } @@ -251,10 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, - typeof(global::AppStoreConnect.App), - BackgroundAssetVersions, - typeof(global::AppStoreConnect.BackgroundAssetVersion), + BackgroundAssetUploadFiles, + typeof(global::AppStoreConnect.BackgroundAssetUploadFile), + BackgroundAssetVersionAppStoreReleases1, + typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), + BackgroundAssetVersionExternalBetaReleases, + typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), + BackgroundAssetVersionInternalBetaReleases, + typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), + BackgroundAssetVersionAppStoreReleases2, + typeof(global::AppStoreConnect.BackgroundAsset), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem50 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersions, other.BackgroundAssetVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetUploadFiles, other.BackgroundAssetUploadFiles) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionAppStoreReleases1, other.BackgroundAssetVersionAppStoreReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionExternalBetaReleases, other.BackgroundAssetVersionExternalBetaReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionInternalBetaReleases, other.BackgroundAssetVersionInternalBetaReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionAppStoreReleases2, other.BackgroundAssetVersionAppStoreReleases2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem51.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem51.g.cs index 47684be13..d4868445a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem51.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem51.g.cs @@ -12,156 +12,348 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.BackgroundAssetUploadFile? BackgroundAssetUploadFiles { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.BackgroundAssetUploadFile? BackgroundAssetUploadFiles { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetUploadFiles))] #endif - public bool IsApps => Apps != null; + public bool IsBackgroundAssetUploadFiles => BackgroundAssetUploadFiles != null; /// /// /// - public bool TryPickApps( + public bool TryPickBackgroundAssetUploadFiles( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.BackgroundAssetUploadFile? value) { - value = Apps; - return IsApps; + value = BackgroundAssetUploadFiles; + return IsBackgroundAssetUploadFiles; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.BackgroundAssetUploadFile PickBackgroundAssetUploadFiles() => BackgroundAssetUploadFiles is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetUploadFiles' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; init; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? BackgroundAssetVersionAppStoreReleases1 { get; init; } #else - public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; } + public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? BackgroundAssetVersionAppStoreReleases1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionAppStoreReleases1))] #endif - public bool IsBackgroundAssetVersions => BackgroundAssetVersions != null; + public bool IsBackgroundAssetVersionAppStoreReleases1 => BackgroundAssetVersionAppStoreReleases1 != null; /// /// /// - public bool TryPickBackgroundAssetVersions( + public bool TryPickBackgroundAssetVersionAppStoreReleases1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BackgroundAssetVersion? value) + out global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) { - value = BackgroundAssetVersions; - return IsBackgroundAssetVersions; + value = BackgroundAssetVersionAppStoreReleases1; + return IsBackgroundAssetVersionAppStoreReleases1; } /// /// /// - public global::AppStoreConnect.BackgroundAssetVersion PickBackgroundAssetVersions() => BackgroundAssetVersions is { } value + public global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease PickBackgroundAssetVersionAppStoreReleases1() => BackgroundAssetVersionAppStoreReleases1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionAppStoreReleases1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? BackgroundAssetVersionExternalBetaReleases { get; init; } +#else + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? BackgroundAssetVersionExternalBetaReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionExternalBetaReleases))] +#endif + public bool IsBackgroundAssetVersionExternalBetaReleases => BackgroundAssetVersionExternalBetaReleases != null; + + /// + /// + /// + public bool TryPickBackgroundAssetVersionExternalBetaReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) + { + value = BackgroundAssetVersionExternalBetaReleases; + return IsBackgroundAssetVersionExternalBetaReleases; + } + + /// + /// + /// + public global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease PickBackgroundAssetVersionExternalBetaReleases() => BackgroundAssetVersionExternalBetaReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionExternalBetaReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? BackgroundAssetVersionInternalBetaReleases { get; init; } +#else + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? BackgroundAssetVersionInternalBetaReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionInternalBetaReleases))] +#endif + public bool IsBackgroundAssetVersionInternalBetaReleases => BackgroundAssetVersionInternalBetaReleases != null; + + /// + /// + /// + public bool TryPickBackgroundAssetVersionInternalBetaReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) + { + value = BackgroundAssetVersionInternalBetaReleases; + return IsBackgroundAssetVersionInternalBetaReleases; + } + + /// + /// + /// + public global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease PickBackgroundAssetVersionInternalBetaReleases() => BackgroundAssetVersionInternalBetaReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionInternalBetaReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BackgroundAsset? BackgroundAssetVersionAppStoreReleases2 { get; init; } +#else + public global::AppStoreConnect.BackgroundAsset? BackgroundAssetVersionAppStoreReleases2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersionAppStoreReleases2))] +#endif + public bool IsBackgroundAssetVersionAppStoreReleases2 => BackgroundAssetVersionAppStoreReleases2 != null; + + /// + /// + /// + public bool TryPickBackgroundAssetVersionAppStoreReleases2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BackgroundAsset? value) + { + value = BackgroundAssetVersionAppStoreReleases2; + return IsBackgroundAssetVersionAppStoreReleases2; + } + + /// + /// + /// + public global::AppStoreConnect.BackgroundAsset PickBackgroundAssetVersionAppStoreReleases2() => BackgroundAssetVersionAppStoreReleases2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersionAppStoreReleases2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem51(global::AppStoreConnect.BackgroundAssetUploadFile value) => new IncludedItem51((global::AppStoreConnect.BackgroundAssetUploadFile?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BackgroundAssetUploadFile?(IncludedItem51 @this) => @this.BackgroundAssetUploadFiles; + + /// + /// + /// + public IncludedItem51(global::AppStoreConnect.BackgroundAssetUploadFile? value) + { + BackgroundAssetUploadFiles = value; + } + + /// + /// + /// + public static IncludedItem51 FromBackgroundAssetUploadFiles(global::AppStoreConnect.BackgroundAssetUploadFile? value) => new IncludedItem51(value); + + /// + /// + /// + public static implicit operator IncludedItem51(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease value) => new IncludedItem51((global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease?(IncludedItem51 @this) => @this.BackgroundAssetVersionAppStoreReleases1; + + /// + /// + /// + public IncludedItem51(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) + { + BackgroundAssetVersionAppStoreReleases1 = value; + } + + /// + /// + /// + public static IncludedItem51 FromBackgroundAssetVersionAppStoreReleases1(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? value) => new IncludedItem51(value); + /// /// /// - public static implicit operator IncludedItem51(global::AppStoreConnect.App value) => new IncludedItem51((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem51(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease value) => new IncludedItem51((global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem51 @this) => @this.Apps; + public static implicit operator global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease?(IncludedItem51 @this) => @this.BackgroundAssetVersionExternalBetaReleases; /// /// /// - public IncludedItem51(global::AppStoreConnect.App? value) + public IncludedItem51(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) { - Apps = value; + BackgroundAssetVersionExternalBetaReleases = value; } /// /// /// - public static IncludedItem51 FromApps(global::AppStoreConnect.App? value) => new IncludedItem51(value); + public static IncludedItem51 FromBackgroundAssetVersionExternalBetaReleases(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? value) => new IncludedItem51(value); /// /// /// - public static implicit operator IncludedItem51(global::AppStoreConnect.BackgroundAssetVersion value) => new IncludedItem51((global::AppStoreConnect.BackgroundAssetVersion?)value); + public static implicit operator IncludedItem51(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease value) => new IncludedItem51((global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BackgroundAssetVersion?(IncludedItem51 @this) => @this.BackgroundAssetVersions; + public static implicit operator global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease?(IncludedItem51 @this) => @this.BackgroundAssetVersionInternalBetaReleases; /// /// /// - public IncludedItem51(global::AppStoreConnect.BackgroundAssetVersion? value) + public IncludedItem51(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) { - BackgroundAssetVersions = value; + BackgroundAssetVersionInternalBetaReleases = value; } /// /// /// - public static IncludedItem51 FromBackgroundAssetVersions(global::AppStoreConnect.BackgroundAssetVersion? value) => new IncludedItem51(value); + public static IncludedItem51 FromBackgroundAssetVersionInternalBetaReleases(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? value) => new IncludedItem51(value); + + /// + /// + /// + public static implicit operator IncludedItem51(global::AppStoreConnect.BackgroundAsset value) => new IncludedItem51((global::AppStoreConnect.BackgroundAsset?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BackgroundAsset?(IncludedItem51 @this) => @this.BackgroundAssetVersionAppStoreReleases2; + + /// + /// + /// + public IncludedItem51(global::AppStoreConnect.BackgroundAsset? value) + { + BackgroundAssetVersionAppStoreReleases2 = value; + } + + /// + /// + /// + public static IncludedItem51 FromBackgroundAssetVersionAppStoreReleases2(global::AppStoreConnect.BackgroundAsset? value) => new IncludedItem51(value); /// /// /// public IncludedItem51( - global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions + global::AppStoreConnect.BackgroundAssetVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BackgroundAssetUploadFile? backgroundAssetUploadFiles, + global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease? backgroundAssetVersionAppStoreReleases1, + global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease? backgroundAssetVersionExternalBetaReleases, + global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease? backgroundAssetVersionInternalBetaReleases, + global::AppStoreConnect.BackgroundAsset? backgroundAssetVersionAppStoreReleases2 ) { Type = type; - Apps = apps; - BackgroundAssetVersions = backgroundAssetVersions; + BackgroundAssetUploadFiles = backgroundAssetUploadFiles; + BackgroundAssetVersionAppStoreReleases1 = backgroundAssetVersionAppStoreReleases1; + BackgroundAssetVersionExternalBetaReleases = backgroundAssetVersionExternalBetaReleases; + BackgroundAssetVersionInternalBetaReleases = backgroundAssetVersionInternalBetaReleases; + BackgroundAssetVersionAppStoreReleases2 = backgroundAssetVersionAppStoreReleases2; } /// /// /// public object? Object => - BackgroundAssetVersions as object ?? - Apps as object + BackgroundAssetVersionAppStoreReleases2 as object ?? + BackgroundAssetVersionInternalBetaReleases as object ?? + BackgroundAssetVersionExternalBetaReleases as object ?? + BackgroundAssetVersionAppStoreReleases1 as object ?? + BackgroundAssetUploadFiles as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - BackgroundAssetVersions?.ToString() + BackgroundAssetUploadFiles?.ToString() ?? + BackgroundAssetVersionAppStoreReleases1?.ToString() ?? + BackgroundAssetVersionExternalBetaReleases?.ToString() ?? + BackgroundAssetVersionInternalBetaReleases?.ToString() ?? + BackgroundAssetVersionAppStoreReleases2?.ToString() ; /// @@ -169,15 +361,18 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBackgroundAssetVersions || !IsApps && IsBackgroundAssetVersions; + return IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && IsBackgroundAssetVersionInternalBetaReleases && !IsBackgroundAssetVersionAppStoreReleases2 || !IsBackgroundAssetUploadFiles && !IsBackgroundAssetVersionAppStoreReleases1 && !IsBackgroundAssetVersionExternalBetaReleases && !IsBackgroundAssetVersionInternalBetaReleases && IsBackgroundAssetVersionAppStoreReleases2; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? backgroundAssetVersions = null, + global::System.Func? backgroundAssetUploadFiles = null, + global::System.Func? backgroundAssetVersionAppStoreReleases1 = null, + global::System.Func? backgroundAssetVersionExternalBetaReleases = null, + global::System.Func? backgroundAssetVersionInternalBetaReleases = null, + global::System.Func? backgroundAssetVersionAppStoreReleases2 = null, bool validate = true) { if (validate) @@ -185,13 +380,25 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (BackgroundAssetUploadFiles is { } __value0 && backgroundAssetUploadFiles != null) + { + return backgroundAssetUploadFiles(__value0); + } + else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1 && backgroundAssetVersionAppStoreReleases1 != null) { - return apps(__value0); + return backgroundAssetVersionAppStoreReleases1(__value1); } - else if (BackgroundAssetVersions is { } __value1 && backgroundAssetVersions != null) + else if (BackgroundAssetVersionExternalBetaReleases is { } __value2 && backgroundAssetVersionExternalBetaReleases != null) { - return backgroundAssetVersions(__value1); + return backgroundAssetVersionExternalBetaReleases(__value2); + } + else if (BackgroundAssetVersionInternalBetaReleases is { } __value3 && backgroundAssetVersionInternalBetaReleases != null) + { + return backgroundAssetVersionInternalBetaReleases(__value3); + } + else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4 && backgroundAssetVersionAppStoreReleases2 != null) + { + return backgroundAssetVersionAppStoreReleases2(__value4); } return default(TResult); @@ -201,9 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? backgroundAssetUploadFiles = null, + + global::System.Action? backgroundAssetVersionAppStoreReleases1 = null, - global::System.Action? backgroundAssetVersions = null, + global::System.Action? backgroundAssetVersionExternalBetaReleases = null, + + global::System.Action? backgroundAssetVersionInternalBetaReleases = null, + + global::System.Action? backgroundAssetVersionAppStoreReleases2 = null, bool validate = true) { if (validate) @@ -211,13 +424,25 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (BackgroundAssetUploadFiles is { } __value0) { - apps?.Invoke(__value0); + backgroundAssetUploadFiles?.Invoke(__value0); } - else if (BackgroundAssetVersions is { } __value1) + else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1) { - backgroundAssetVersions?.Invoke(__value1); + backgroundAssetVersionAppStoreReleases1?.Invoke(__value1); + } + else if (BackgroundAssetVersionExternalBetaReleases is { } __value2) + { + backgroundAssetVersionExternalBetaReleases?.Invoke(__value2); + } + else if (BackgroundAssetVersionInternalBetaReleases is { } __value3) + { + backgroundAssetVersionInternalBetaReleases?.Invoke(__value3); + } + else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4) + { + backgroundAssetVersionAppStoreReleases2?.Invoke(__value4); } } @@ -225,8 +450,11 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? backgroundAssetVersions = null, + global::System.Action? backgroundAssetUploadFiles = null, + global::System.Action? backgroundAssetVersionAppStoreReleases1 = null, + global::System.Action? backgroundAssetVersionExternalBetaReleases = null, + global::System.Action? backgroundAssetVersionInternalBetaReleases = null, + global::System.Action? backgroundAssetVersionAppStoreReleases2 = null, bool validate = true) { if (validate) @@ -234,13 +462,25 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (BackgroundAssetUploadFiles is { } __value0) + { + backgroundAssetUploadFiles?.Invoke(__value0); + } + else if (BackgroundAssetVersionAppStoreReleases1 is { } __value1) + { + backgroundAssetVersionAppStoreReleases1?.Invoke(__value1); + } + else if (BackgroundAssetVersionExternalBetaReleases is { } __value2) + { + backgroundAssetVersionExternalBetaReleases?.Invoke(__value2); + } + else if (BackgroundAssetVersionInternalBetaReleases is { } __value3) { - apps?.Invoke(__value0); + backgroundAssetVersionInternalBetaReleases?.Invoke(__value3); } - else if (BackgroundAssetVersions is { } __value1) + else if (BackgroundAssetVersionAppStoreReleases2 is { } __value4) { - backgroundAssetVersions?.Invoke(__value1); + backgroundAssetVersionAppStoreReleases2?.Invoke(__value4); } } @@ -251,10 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, - typeof(global::AppStoreConnect.App), - BackgroundAssetVersions, - typeof(global::AppStoreConnect.BackgroundAssetVersion), + BackgroundAssetUploadFiles, + typeof(global::AppStoreConnect.BackgroundAssetUploadFile), + BackgroundAssetVersionAppStoreReleases1, + typeof(global::AppStoreConnect.BackgroundAssetVersionAppStoreRelease), + BackgroundAssetVersionExternalBetaReleases, + typeof(global::AppStoreConnect.BackgroundAssetVersionExternalBetaRelease), + BackgroundAssetVersionInternalBetaReleases, + typeof(global::AppStoreConnect.BackgroundAssetVersionInternalBetaRelease), + BackgroundAssetVersionAppStoreReleases2, + typeof(global::AppStoreConnect.BackgroundAsset), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem51 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersions, other.BackgroundAssetVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetUploadFiles, other.BackgroundAssetUploadFiles) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionAppStoreReleases1, other.BackgroundAssetVersionAppStoreReleases1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionExternalBetaReleases, other.BackgroundAssetVersionExternalBetaReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionInternalBetaReleases, other.BackgroundAssetVersionInternalBetaReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersionAppStoreReleases2, other.BackgroundAssetVersionAppStoreReleases2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem52.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem52.g.cs index 3598635f5..c1baf0399 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem52.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem52.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaTester? BetaTesters { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.BetaTester? BetaTesters { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaTesters))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsBetaTesters => BetaTesters != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickBetaTesters( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BetaTester? value) + out global::AppStoreConnect.App? value) { - value = BetaTesters; - return IsBetaTesters; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.BetaTester PickBetaTesters() => BetaTesters is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaTesters' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } + public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; init; } #else - public global::AppStoreConnect.Build? Builds { get; } + public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersions))] #endif - public bool IsBuilds => Builds != null; + public bool IsBackgroundAssetVersions => BackgroundAssetVersions != null; /// /// /// - public bool TryPickBuilds( + public bool TryPickBackgroundAssetVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Build? value) + out global::AppStoreConnect.BackgroundAssetVersion? value) { - value = Builds; - return IsBuilds; + value = BackgroundAssetVersions; + return IsBackgroundAssetVersions; } /// /// /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value + public global::AppStoreConnect.BackgroundAssetVersion PickBackgroundAssetVersions() => BackgroundAssetVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem52(global::AppStoreConnect.BetaTester value) => new IncludedItem52((global::AppStoreConnect.BetaTester?)value); + public static implicit operator IncludedItem52(global::AppStoreConnect.App value) => new IncludedItem52((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaTester?(IncludedItem52 @this) => @this.BetaTesters; + public static implicit operator global::AppStoreConnect.App?(IncludedItem52 @this) => @this.Apps; /// /// /// - public IncludedItem52(global::AppStoreConnect.BetaTester? value) + public IncludedItem52(global::AppStoreConnect.App? value) { - BetaTesters = value; + Apps = value; } /// /// /// - public static IncludedItem52 FromBetaTesters(global::AppStoreConnect.BetaTester? value) => new IncludedItem52(value); + public static IncludedItem52 FromApps(global::AppStoreConnect.App? value) => new IncludedItem52(value); /// /// /// - public static implicit operator IncludedItem52(global::AppStoreConnect.Build value) => new IncludedItem52((global::AppStoreConnect.Build?)value); + public static implicit operator IncludedItem52(global::AppStoreConnect.BackgroundAssetVersion value) => new IncludedItem52((global::AppStoreConnect.BackgroundAssetVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem52 @this) => @this.Builds; + public static implicit operator global::AppStoreConnect.BackgroundAssetVersion?(IncludedItem52 @this) => @this.BackgroundAssetVersions; /// /// /// - public IncludedItem52(global::AppStoreConnect.Build? value) + public IncludedItem52(global::AppStoreConnect.BackgroundAssetVersion? value) { - Builds = value; + BackgroundAssetVersions = value; } /// /// /// - public static IncludedItem52 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem52(value); + public static IncludedItem52 FromBackgroundAssetVersions(global::AppStoreConnect.BackgroundAssetVersion? value) => new IncludedItem52(value); /// /// /// public IncludedItem52( - global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.BetaTester? betaTesters, - global::AppStoreConnect.Build? builds + global::AppStoreConnect.BackgroundAssetsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions ) { Type = type; - BetaTesters = betaTesters; - Builds = builds; + Apps = apps; + BackgroundAssetVersions = backgroundAssetVersions; } /// /// /// public object? Object => - Builds as object ?? - BetaTesters as object + BackgroundAssetVersions as object ?? + Apps as object ; /// /// /// public override string? ToString() => - BetaTesters?.ToString() ?? - Builds?.ToString() + Apps?.ToString() ?? + BackgroundAssetVersions?.ToString() ; /// @@ -169,15 +169,15 @@ BetaTesters as object /// public bool Validate() { - return IsBetaTesters && !IsBuilds || !IsBetaTesters && IsBuilds; + return IsApps && !IsBackgroundAssetVersions || !IsApps && IsBackgroundAssetVersions; } /// /// /// public TResult? Match( - global::System.Func? betaTesters = null, - global::System.Func? builds = null, + global::System.Func? apps = null, + global::System.Func? backgroundAssetVersions = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (BetaTesters is { } __value0 && betaTesters != null) + if (Apps is { } __value0 && apps != null) { - return betaTesters(__value0); + return apps(__value0); } - else if (Builds is { } __value1 && builds != null) + else if (BackgroundAssetVersions is { } __value1 && backgroundAssetVersions != null) { - return builds(__value1); + return backgroundAssetVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? betaTesters = null, + global::System.Action? apps = null, - global::System.Action? builds = null, + global::System.Action? backgroundAssetVersions = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (BetaTesters is { } __value0) + if (Apps is { } __value0) { - betaTesters?.Invoke(__value0); + apps?.Invoke(__value0); } - else if (Builds is { } __value1) + else if (BackgroundAssetVersions is { } __value1) { - builds?.Invoke(__value1); + backgroundAssetVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? betaTesters = null, - global::System.Action? builds = null, + global::System.Action? apps = null, + global::System.Action? backgroundAssetVersions = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (BetaTesters is { } __value0) + if (Apps is { } __value0) { - betaTesters?.Invoke(__value0); + apps?.Invoke(__value0); } - else if (Builds is { } __value1) + else if (BackgroundAssetVersions is { } __value1) { - builds?.Invoke(__value1); + backgroundAssetVersions?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - BetaTesters, - typeof(global::AppStoreConnect.BetaTester), - Builds, - typeof(global::AppStoreConnect.Build), + Apps, + typeof(global::AppStoreConnect.App), + BackgroundAssetVersions, + typeof(global::AppStoreConnect.BackgroundAssetVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem52 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersions, other.BackgroundAssetVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem53.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem53.g.cs index 32a1930ec..6d65435dc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem53.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem53.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaTester? BetaTesters { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.BetaTester? BetaTesters { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaTesters))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsBetaTesters => BetaTesters != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickBetaTesters( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BetaTester? value) + out global::AppStoreConnect.App? value) { - value = BetaTesters; - return IsBetaTesters; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.BetaTester PickBetaTesters() => BetaTesters is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaTesters' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } + public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; init; } #else - public global::AppStoreConnect.Build? Builds { get; } + public global::AppStoreConnect.BackgroundAssetVersion? BackgroundAssetVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BackgroundAssetVersions))] #endif - public bool IsBuilds => Builds != null; + public bool IsBackgroundAssetVersions => BackgroundAssetVersions != null; /// /// /// - public bool TryPickBuilds( + public bool TryPickBackgroundAssetVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Build? value) + out global::AppStoreConnect.BackgroundAssetVersion? value) { - value = Builds; - return IsBuilds; + value = BackgroundAssetVersions; + return IsBackgroundAssetVersions; } /// /// /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value + public global::AppStoreConnect.BackgroundAssetVersion PickBackgroundAssetVersions() => BackgroundAssetVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BackgroundAssetVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem53(global::AppStoreConnect.BetaTester value) => new IncludedItem53((global::AppStoreConnect.BetaTester?)value); + public static implicit operator IncludedItem53(global::AppStoreConnect.App value) => new IncludedItem53((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaTester?(IncludedItem53 @this) => @this.BetaTesters; + public static implicit operator global::AppStoreConnect.App?(IncludedItem53 @this) => @this.Apps; /// /// /// - public IncludedItem53(global::AppStoreConnect.BetaTester? value) + public IncludedItem53(global::AppStoreConnect.App? value) { - BetaTesters = value; + Apps = value; } /// /// /// - public static IncludedItem53 FromBetaTesters(global::AppStoreConnect.BetaTester? value) => new IncludedItem53(value); + public static IncludedItem53 FromApps(global::AppStoreConnect.App? value) => new IncludedItem53(value); /// /// /// - public static implicit operator IncludedItem53(global::AppStoreConnect.Build value) => new IncludedItem53((global::AppStoreConnect.Build?)value); + public static implicit operator IncludedItem53(global::AppStoreConnect.BackgroundAssetVersion value) => new IncludedItem53((global::AppStoreConnect.BackgroundAssetVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem53 @this) => @this.Builds; + public static implicit operator global::AppStoreConnect.BackgroundAssetVersion?(IncludedItem53 @this) => @this.BackgroundAssetVersions; /// /// /// - public IncludedItem53(global::AppStoreConnect.Build? value) + public IncludedItem53(global::AppStoreConnect.BackgroundAssetVersion? value) { - Builds = value; + BackgroundAssetVersions = value; } /// /// /// - public static IncludedItem53 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem53(value); + public static IncludedItem53 FromBackgroundAssetVersions(global::AppStoreConnect.BackgroundAssetVersion? value) => new IncludedItem53(value); /// /// /// public IncludedItem53( - global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.BetaTester? betaTesters, - global::AppStoreConnect.Build? builds + global::AppStoreConnect.BackgroundAssetResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.BackgroundAssetVersion? backgroundAssetVersions ) { Type = type; - BetaTesters = betaTesters; - Builds = builds; + Apps = apps; + BackgroundAssetVersions = backgroundAssetVersions; } /// /// /// public object? Object => - Builds as object ?? - BetaTesters as object + BackgroundAssetVersions as object ?? + Apps as object ; /// /// /// public override string? ToString() => - BetaTesters?.ToString() ?? - Builds?.ToString() + Apps?.ToString() ?? + BackgroundAssetVersions?.ToString() ; /// @@ -169,15 +169,15 @@ BetaTesters as object /// public bool Validate() { - return IsBetaTesters && !IsBuilds || !IsBetaTesters && IsBuilds; + return IsApps && !IsBackgroundAssetVersions || !IsApps && IsBackgroundAssetVersions; } /// /// /// public TResult? Match( - global::System.Func? betaTesters = null, - global::System.Func? builds = null, + global::System.Func? apps = null, + global::System.Func? backgroundAssetVersions = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (BetaTesters is { } __value0 && betaTesters != null) + if (Apps is { } __value0 && apps != null) { - return betaTesters(__value0); + return apps(__value0); } - else if (Builds is { } __value1 && builds != null) + else if (BackgroundAssetVersions is { } __value1 && backgroundAssetVersions != null) { - return builds(__value1); + return backgroundAssetVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? betaTesters = null, + global::System.Action? apps = null, - global::System.Action? builds = null, + global::System.Action? backgroundAssetVersions = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (BetaTesters is { } __value0) + if (Apps is { } __value0) { - betaTesters?.Invoke(__value0); + apps?.Invoke(__value0); } - else if (Builds is { } __value1) + else if (BackgroundAssetVersions is { } __value1) { - builds?.Invoke(__value1); + backgroundAssetVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? betaTesters = null, - global::System.Action? builds = null, + global::System.Action? apps = null, + global::System.Action? backgroundAssetVersions = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (BetaTesters is { } __value0) + if (Apps is { } __value0) { - betaTesters?.Invoke(__value0); + apps?.Invoke(__value0); } - else if (Builds is { } __value1) + else if (BackgroundAssetVersions is { } __value1) { - builds?.Invoke(__value1); + backgroundAssetVersions?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - BetaTesters, - typeof(global::AppStoreConnect.BetaTester), - Builds, - typeof(global::AppStoreConnect.Build), + Apps, + typeof(global::AppStoreConnect.App), + BackgroundAssetVersions, + typeof(global::AppStoreConnect.BackgroundAssetVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem53 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BackgroundAssetVersions, other.BackgroundAssetVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem54.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem54.g.cs index 702bbe2ef..b1729d69d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem54.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem54.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -137,7 +137,7 @@ public IncludedItem54(global::AppStoreConnect.Build? value) /// /// public IncludedItem54( - global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BetaFeedbackCrashSubmissionsResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.BetaTester? betaTesters, global::AppStoreConnect.Build? builds ) diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem55.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem55.g.cs index ad2f6ff0b..f684a3206 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem55.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem55.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -137,7 +137,7 @@ public IncludedItem55(global::AppStoreConnect.Build? value) /// /// public IncludedItem55( - global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BetaFeedbackCrashSubmissionResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.BetaTester? betaTesters, global::AppStoreConnect.Build? builds ) diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem56.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem56.g.cs index 5af04d757..3a029b586 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem56.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem56.g.cs @@ -12,81 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType? Type { get; } - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } -#else - public global::AppStoreConnect.App? Apps { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] -#endif - public bool IsApps => Apps != null; - - /// - /// - /// - public bool TryPickApps( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) - { - value = Apps; - return IsApps; - } - - /// - /// - /// - public global::AppStoreConnect.App PickApps() => Apps is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaRecruitmentCriterion? BetaRecruitmentCriteria { get; init; } -#else - public global::AppStoreConnect.BetaRecruitmentCriterion? BetaRecruitmentCriteria { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaRecruitmentCriteria))] -#endif - public bool IsBetaRecruitmentCriteria => BetaRecruitmentCriteria != null; - - /// - /// - /// - public bool TryPickBetaRecruitmentCriteria( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaRecruitmentCriterion? value) - { - value = BetaRecruitmentCriteria; - return IsBetaRecruitmentCriteria; - } - - /// - /// - /// - public global::AppStoreConnect.BetaRecruitmentCriterion PickBetaRecruitmentCriteria() => BetaRecruitmentCriteria is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaRecruitmentCriteria' but the value was {ToString()}."); + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -161,52 +87,6 @@ public bool TryPickBuilds( public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem56(global::AppStoreConnect.App value) => new IncludedItem56((global::AppStoreConnect.App?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem56 @this) => @this.Apps; - - /// - /// - /// - public IncludedItem56(global::AppStoreConnect.App? value) - { - Apps = value; - } - - /// - /// - /// - public static IncludedItem56 FromApps(global::AppStoreConnect.App? value) => new IncludedItem56(value); - - /// - /// - /// - public static implicit operator IncludedItem56(global::AppStoreConnect.BetaRecruitmentCriterion value) => new IncludedItem56((global::AppStoreConnect.BetaRecruitmentCriterion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaRecruitmentCriterion?(IncludedItem56 @this) => @this.BetaRecruitmentCriteria; - - /// - /// - /// - public IncludedItem56(global::AppStoreConnect.BetaRecruitmentCriterion? value) - { - BetaRecruitmentCriteria = value; - } - - /// - /// - /// - public static IncludedItem56 FromBetaRecruitmentCriteria(global::AppStoreConnect.BetaRecruitmentCriterion? value) => new IncludedItem56(value); - /// /// /// @@ -257,17 +137,13 @@ public IncludedItem56(global::AppStoreConnect.Build? value) /// /// public IncludedItem56( - global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.BetaRecruitmentCriterion? betaRecruitmentCriteria, + global::AppStoreConnect.BetaFeedbackScreenshotSubmissionsResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.BetaTester? betaTesters, global::AppStoreConnect.Build? builds ) { Type = type; - Apps = apps; - BetaRecruitmentCriteria = betaRecruitmentCriteria; BetaTesters = betaTesters; Builds = builds; } @@ -277,17 +153,13 @@ public IncludedItem56( /// public object? Object => Builds as object ?? - BetaTesters as object ?? - BetaRecruitmentCriteria as object ?? - Apps as object + BetaTesters as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - BetaRecruitmentCriteria?.ToString() ?? BetaTesters?.ToString() ?? Builds?.ToString() ; @@ -297,15 +169,13 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBetaRecruitmentCriteria && !IsBetaTesters && !IsBuilds || !IsApps && IsBetaRecruitmentCriteria && !IsBetaTesters && !IsBuilds || !IsApps && !IsBetaRecruitmentCriteria && IsBetaTesters && !IsBuilds || !IsApps && !IsBetaRecruitmentCriteria && !IsBetaTesters && IsBuilds; + return IsBetaTesters && !IsBuilds || !IsBetaTesters && IsBuilds; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? betaRecruitmentCriteria = null, global::System.Func? betaTesters = null, global::System.Func? builds = null, bool validate = true) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) - { - return apps(__value0); - } - else if (BetaRecruitmentCriteria is { } __value1 && betaRecruitmentCriteria != null) - { - return betaRecruitmentCriteria(__value1); - } - else if (BetaTesters is { } __value2 && betaTesters != null) + if (BetaTesters is { } __value0 && betaTesters != null) { - return betaTesters(__value2); + return betaTesters(__value0); } - else if (Builds is { } __value3 && builds != null) + else if (Builds is { } __value1 && builds != null) { - return builds(__value3); + return builds(__value1); } return default(TResult); @@ -339,10 +201,6 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, - - global::System.Action? betaRecruitmentCriteria = null, - global::System.Action? betaTesters = null, global::System.Action? builds = null, @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (Apps is { } __value0) - { - apps?.Invoke(__value0); - } - else if (BetaRecruitmentCriteria is { } __value1) + if (BetaTesters is { } __value0) { - betaRecruitmentCriteria?.Invoke(__value1); + betaTesters?.Invoke(__value0); } - else if (BetaTesters is { } __value2) + else if (Builds is { } __value1) { - betaTesters?.Invoke(__value2); - } - else if (Builds is { } __value3) - { - builds?.Invoke(__value3); + builds?.Invoke(__value1); } } @@ -375,8 +225,6 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? betaRecruitmentCriteria = null, global::System.Action? betaTesters = null, global::System.Action? builds = null, bool validate = true) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (Apps is { } __value0) - { - apps?.Invoke(__value0); - } - else if (BetaRecruitmentCriteria is { } __value1) - { - betaRecruitmentCriteria?.Invoke(__value1); - } - else if (BetaTesters is { } __value2) + if (BetaTesters is { } __value0) { - betaTesters?.Invoke(__value2); + betaTesters?.Invoke(__value0); } - else if (Builds is { } __value3) + else if (Builds is { } __value1) { - builds?.Invoke(__value3); + builds?.Invoke(__value1); } } @@ -411,10 +251,6 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, - typeof(global::AppStoreConnect.App), - BetaRecruitmentCriteria, - typeof(global::AppStoreConnect.BetaRecruitmentCriterion), BetaTesters, typeof(global::AppStoreConnect.BetaTester), Builds, @@ -435,8 +271,6 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem56 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaRecruitmentCriteria, other.BetaRecruitmentCriteria) && global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem57.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem57.g.cs index ecc64623a..6c8ae2bd9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem57.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem57.g.cs @@ -12,81 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType? Type { get; } - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } -#else - public global::AppStoreConnect.App? Apps { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] -#endif - public bool IsApps => Apps != null; - - /// - /// - /// - public bool TryPickApps( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) - { - value = Apps; - return IsApps; - } - - /// - /// - /// - public global::AppStoreConnect.App PickApps() => Apps is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaRecruitmentCriterion? BetaRecruitmentCriteria { get; init; } -#else - public global::AppStoreConnect.BetaRecruitmentCriterion? BetaRecruitmentCriteria { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaRecruitmentCriteria))] -#endif - public bool IsBetaRecruitmentCriteria => BetaRecruitmentCriteria != null; - - /// - /// - /// - public bool TryPickBetaRecruitmentCriteria( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaRecruitmentCriterion? value) - { - value = BetaRecruitmentCriteria; - return IsBetaRecruitmentCriteria; - } - - /// - /// - /// - public global::AppStoreConnect.BetaRecruitmentCriterion PickBetaRecruitmentCriteria() => BetaRecruitmentCriteria is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaRecruitmentCriteria' but the value was {ToString()}."); + public global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -161,52 +87,6 @@ public bool TryPickBuilds( public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem57(global::AppStoreConnect.App value) => new IncludedItem57((global::AppStoreConnect.App?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem57 @this) => @this.Apps; - - /// - /// - /// - public IncludedItem57(global::AppStoreConnect.App? value) - { - Apps = value; - } - - /// - /// - /// - public static IncludedItem57 FromApps(global::AppStoreConnect.App? value) => new IncludedItem57(value); - - /// - /// - /// - public static implicit operator IncludedItem57(global::AppStoreConnect.BetaRecruitmentCriterion value) => new IncludedItem57((global::AppStoreConnect.BetaRecruitmentCriterion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaRecruitmentCriterion?(IncludedItem57 @this) => @this.BetaRecruitmentCriteria; - - /// - /// - /// - public IncludedItem57(global::AppStoreConnect.BetaRecruitmentCriterion? value) - { - BetaRecruitmentCriteria = value; - } - - /// - /// - /// - public static IncludedItem57 FromBetaRecruitmentCriteria(global::AppStoreConnect.BetaRecruitmentCriterion? value) => new IncludedItem57(value); - /// /// /// @@ -257,17 +137,13 @@ public IncludedItem57(global::AppStoreConnect.Build? value) /// /// public IncludedItem57( - global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.BetaRecruitmentCriterion? betaRecruitmentCriteria, + global::AppStoreConnect.BetaFeedbackScreenshotSubmissionResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.BetaTester? betaTesters, global::AppStoreConnect.Build? builds ) { Type = type; - Apps = apps; - BetaRecruitmentCriteria = betaRecruitmentCriteria; BetaTesters = betaTesters; Builds = builds; } @@ -277,17 +153,13 @@ public IncludedItem57( /// public object? Object => Builds as object ?? - BetaTesters as object ?? - BetaRecruitmentCriteria as object ?? - Apps as object + BetaTesters as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - BetaRecruitmentCriteria?.ToString() ?? BetaTesters?.ToString() ?? Builds?.ToString() ; @@ -297,15 +169,13 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBetaRecruitmentCriteria && !IsBetaTesters && !IsBuilds || !IsApps && IsBetaRecruitmentCriteria && !IsBetaTesters && !IsBuilds || !IsApps && !IsBetaRecruitmentCriteria && IsBetaTesters && !IsBuilds || !IsApps && !IsBetaRecruitmentCriteria && !IsBetaTesters && IsBuilds; + return IsBetaTesters && !IsBuilds || !IsBetaTesters && IsBuilds; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? betaRecruitmentCriteria = null, global::System.Func? betaTesters = null, global::System.Func? builds = null, bool validate = true) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) - { - return apps(__value0); - } - else if (BetaRecruitmentCriteria is { } __value1 && betaRecruitmentCriteria != null) - { - return betaRecruitmentCriteria(__value1); - } - else if (BetaTesters is { } __value2 && betaTesters != null) + if (BetaTesters is { } __value0 && betaTesters != null) { - return betaTesters(__value2); + return betaTesters(__value0); } - else if (Builds is { } __value3 && builds != null) + else if (Builds is { } __value1 && builds != null) { - return builds(__value3); + return builds(__value1); } return default(TResult); @@ -339,10 +201,6 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, - - global::System.Action? betaRecruitmentCriteria = null, - global::System.Action? betaTesters = null, global::System.Action? builds = null, @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (Apps is { } __value0) - { - apps?.Invoke(__value0); - } - else if (BetaRecruitmentCriteria is { } __value1) + if (BetaTesters is { } __value0) { - betaRecruitmentCriteria?.Invoke(__value1); + betaTesters?.Invoke(__value0); } - else if (BetaTesters is { } __value2) + else if (Builds is { } __value1) { - betaTesters?.Invoke(__value2); - } - else if (Builds is { } __value3) - { - builds?.Invoke(__value3); + builds?.Invoke(__value1); } } @@ -375,8 +225,6 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? betaRecruitmentCriteria = null, global::System.Action? betaTesters = null, global::System.Action? builds = null, bool validate = true) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (Apps is { } __value0) - { - apps?.Invoke(__value0); - } - else if (BetaRecruitmentCriteria is { } __value1) - { - betaRecruitmentCriteria?.Invoke(__value1); - } - else if (BetaTesters is { } __value2) + if (BetaTesters is { } __value0) { - betaTesters?.Invoke(__value2); + betaTesters?.Invoke(__value0); } - else if (Builds is { } __value3) + else if (Builds is { } __value1) { - builds?.Invoke(__value3); + builds?.Invoke(__value1); } } @@ -411,10 +251,6 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, - typeof(global::AppStoreConnect.App), - BetaRecruitmentCriteria, - typeof(global::AppStoreConnect.BetaRecruitmentCriterion), BetaTesters, typeof(global::AppStoreConnect.BetaTester), Builds, @@ -435,8 +271,6 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem57 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaRecruitmentCriteria, other.BetaRecruitmentCriteria) && global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem58.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem58.g.cs index 616a94cd5..0b00a5f4b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem58.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem58.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -55,38 +55,75 @@ public bool TryPickApps( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } + public global::AppStoreConnect.BetaRecruitmentCriterion? BetaRecruitmentCriteria { get; init; } #else - public global::AppStoreConnect.BetaGroup? BetaGroups { get; } + public global::AppStoreConnect.BetaRecruitmentCriterion? BetaRecruitmentCriteria { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaRecruitmentCriteria))] #endif - public bool IsBetaGroups => BetaGroups != null; + public bool IsBetaRecruitmentCriteria => BetaRecruitmentCriteria != null; /// /// /// - public bool TryPickBetaGroups( + public bool TryPickBetaRecruitmentCriteria( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BetaGroup? value) + out global::AppStoreConnect.BetaRecruitmentCriterion? value) { - value = BetaGroups; - return IsBetaGroups; + value = BetaRecruitmentCriteria; + return IsBetaRecruitmentCriteria; } /// /// /// - public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value + public global::AppStoreConnect.BetaRecruitmentCriterion PickBetaRecruitmentCriteria() => BetaRecruitmentCriteria is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaRecruitmentCriteria' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaTester? BetaTesters { get; init; } +#else + public global::AppStoreConnect.BetaTester? BetaTesters { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaTesters))] +#endif + public bool IsBetaTesters => BetaTesters != null; + + /// + /// + /// + public bool TryPickBetaTesters( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaTester? value) + { + value = BetaTesters; + return IsBetaTesters; + } + + /// + /// + /// + public global::AppStoreConnect.BetaTester PickBetaTesters() => BetaTesters is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaTesters' but the value was {ToString()}."); /// /// @@ -150,25 +187,48 @@ public IncludedItem58(global::AppStoreConnect.App? value) /// /// /// - public static implicit operator IncludedItem58(global::AppStoreConnect.BetaGroup value) => new IncludedItem58((global::AppStoreConnect.BetaGroup?)value); + public static implicit operator IncludedItem58(global::AppStoreConnect.BetaRecruitmentCriterion value) => new IncludedItem58((global::AppStoreConnect.BetaRecruitmentCriterion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaRecruitmentCriterion?(IncludedItem58 @this) => @this.BetaRecruitmentCriteria; + + /// + /// + /// + public IncludedItem58(global::AppStoreConnect.BetaRecruitmentCriterion? value) + { + BetaRecruitmentCriteria = value; + } + + /// + /// + /// + public static IncludedItem58 FromBetaRecruitmentCriteria(global::AppStoreConnect.BetaRecruitmentCriterion? value) => new IncludedItem58(value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem58 @this) => @this.BetaGroups; + public static implicit operator IncludedItem58(global::AppStoreConnect.BetaTester value) => new IncludedItem58((global::AppStoreConnect.BetaTester?)value); /// /// /// - public IncludedItem58(global::AppStoreConnect.BetaGroup? value) + public static implicit operator global::AppStoreConnect.BetaTester?(IncludedItem58 @this) => @this.BetaTesters; + + /// + /// + /// + public IncludedItem58(global::AppStoreConnect.BetaTester? value) { - BetaGroups = value; + BetaTesters = value; } /// /// /// - public static IncludedItem58 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem58(value); + public static IncludedItem58 FromBetaTesters(global::AppStoreConnect.BetaTester? value) => new IncludedItem58(value); /// /// @@ -197,16 +257,18 @@ public IncludedItem58(global::AppStoreConnect.Build? value) /// /// public IncludedItem58( - global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BetaGroupsResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.App? apps, - global::AppStoreConnect.BetaGroup? betaGroups, + global::AppStoreConnect.BetaRecruitmentCriterion? betaRecruitmentCriteria, + global::AppStoreConnect.BetaTester? betaTesters, global::AppStoreConnect.Build? builds ) { Type = type; Apps = apps; - BetaGroups = betaGroups; + BetaRecruitmentCriteria = betaRecruitmentCriteria; + BetaTesters = betaTesters; Builds = builds; } @@ -215,7 +277,8 @@ public IncludedItem58( /// public object? Object => Builds as object ?? - BetaGroups as object ?? + BetaTesters as object ?? + BetaRecruitmentCriteria as object ?? Apps as object ; @@ -224,7 +287,8 @@ Apps as object /// public override string? ToString() => Apps?.ToString() ?? - BetaGroups?.ToString() ?? + BetaRecruitmentCriteria?.ToString() ?? + BetaTesters?.ToString() ?? Builds?.ToString() ; @@ -233,7 +297,7 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBetaGroups && !IsBuilds || !IsApps && IsBetaGroups && !IsBuilds || !IsApps && !IsBetaGroups && IsBuilds; + return IsApps && !IsBetaRecruitmentCriteria && !IsBetaTesters && !IsBuilds || !IsApps && IsBetaRecruitmentCriteria && !IsBetaTesters && !IsBuilds || !IsApps && !IsBetaRecruitmentCriteria && IsBetaTesters && !IsBuilds || !IsApps && !IsBetaRecruitmentCriteria && !IsBetaTesters && IsBuilds; } /// @@ -241,7 +305,8 @@ public bool Validate() /// public TResult? Match( global::System.Func? apps = null, - global::System.Func? betaGroups = null, + global::System.Func? betaRecruitmentCriteria = null, + global::System.Func? betaTesters = null, global::System.Func? builds = null, bool validate = true) { @@ -254,13 +319,17 @@ public bool Validate() { return apps(__value0); } - else if (BetaGroups is { } __value1 && betaGroups != null) + else if (BetaRecruitmentCriteria is { } __value1 && betaRecruitmentCriteria != null) { - return betaGroups(__value1); + return betaRecruitmentCriteria(__value1); } - else if (Builds is { } __value2 && builds != null) + else if (BetaTesters is { } __value2 && betaTesters != null) { - return builds(__value2); + return betaTesters(__value2); + } + else if (Builds is { } __value3 && builds != null) + { + return builds(__value3); } return default(TResult); @@ -272,7 +341,9 @@ public bool Validate() public void Match( global::System.Action? apps = null, - global::System.Action? betaGroups = null, + global::System.Action? betaRecruitmentCriteria = null, + + global::System.Action? betaTesters = null, global::System.Action? builds = null, bool validate = true) @@ -286,13 +357,17 @@ public void Match( { apps?.Invoke(__value0); } - else if (BetaGroups is { } __value1) + else if (BetaRecruitmentCriteria is { } __value1) + { + betaRecruitmentCriteria?.Invoke(__value1); + } + else if (BetaTesters is { } __value2) { - betaGroups?.Invoke(__value1); + betaTesters?.Invoke(__value2); } - else if (Builds is { } __value2) + else if (Builds is { } __value3) { - builds?.Invoke(__value2); + builds?.Invoke(__value3); } } @@ -301,7 +376,8 @@ public void Match( /// public void Switch( global::System.Action? apps = null, - global::System.Action? betaGroups = null, + global::System.Action? betaRecruitmentCriteria = null, + global::System.Action? betaTesters = null, global::System.Action? builds = null, bool validate = true) { @@ -314,13 +390,17 @@ public void Switch( { apps?.Invoke(__value0); } - else if (BetaGroups is { } __value1) + else if (BetaRecruitmentCriteria is { } __value1) + { + betaRecruitmentCriteria?.Invoke(__value1); + } + else if (BetaTesters is { } __value2) { - betaGroups?.Invoke(__value1); + betaTesters?.Invoke(__value2); } - else if (Builds is { } __value2) + else if (Builds is { } __value3) { - builds?.Invoke(__value2); + builds?.Invoke(__value3); } } @@ -333,8 +413,10 @@ public override int GetHashCode() { Apps, typeof(global::AppStoreConnect.App), - BetaGroups, - typeof(global::AppStoreConnect.BetaGroup), + BetaRecruitmentCriteria, + typeof(global::AppStoreConnect.BetaRecruitmentCriterion), + BetaTesters, + typeof(global::AppStoreConnect.BetaTester), Builds, typeof(global::AppStoreConnect.Build), }; @@ -354,7 +436,8 @@ public bool Equals(IncludedItem58 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaRecruitmentCriteria, other.BetaRecruitmentCriteria) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem59.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem59.g.cs index 0cc454805..6d4cb6c92 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem59.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem59.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -55,38 +55,75 @@ public bool TryPickApps( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } + public global::AppStoreConnect.BetaRecruitmentCriterion? BetaRecruitmentCriteria { get; init; } #else - public global::AppStoreConnect.BetaGroup? BetaGroups { get; } + public global::AppStoreConnect.BetaRecruitmentCriterion? BetaRecruitmentCriteria { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaRecruitmentCriteria))] #endif - public bool IsBetaGroups => BetaGroups != null; + public bool IsBetaRecruitmentCriteria => BetaRecruitmentCriteria != null; /// /// /// - public bool TryPickBetaGroups( + public bool TryPickBetaRecruitmentCriteria( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BetaGroup? value) + out global::AppStoreConnect.BetaRecruitmentCriterion? value) { - value = BetaGroups; - return IsBetaGroups; + value = BetaRecruitmentCriteria; + return IsBetaRecruitmentCriteria; } /// /// /// - public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value + public global::AppStoreConnect.BetaRecruitmentCriterion PickBetaRecruitmentCriteria() => BetaRecruitmentCriteria is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaRecruitmentCriteria' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaTester? BetaTesters { get; init; } +#else + public global::AppStoreConnect.BetaTester? BetaTesters { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaTesters))] +#endif + public bool IsBetaTesters => BetaTesters != null; + + /// + /// + /// + public bool TryPickBetaTesters( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaTester? value) + { + value = BetaTesters; + return IsBetaTesters; + } + + /// + /// + /// + public global::AppStoreConnect.BetaTester PickBetaTesters() => BetaTesters is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaTesters' but the value was {ToString()}."); /// /// @@ -150,25 +187,48 @@ public IncludedItem59(global::AppStoreConnect.App? value) /// /// /// - public static implicit operator IncludedItem59(global::AppStoreConnect.BetaGroup value) => new IncludedItem59((global::AppStoreConnect.BetaGroup?)value); + public static implicit operator IncludedItem59(global::AppStoreConnect.BetaRecruitmentCriterion value) => new IncludedItem59((global::AppStoreConnect.BetaRecruitmentCriterion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaRecruitmentCriterion?(IncludedItem59 @this) => @this.BetaRecruitmentCriteria; + + /// + /// + /// + public IncludedItem59(global::AppStoreConnect.BetaRecruitmentCriterion? value) + { + BetaRecruitmentCriteria = value; + } + + /// + /// + /// + public static IncludedItem59 FromBetaRecruitmentCriteria(global::AppStoreConnect.BetaRecruitmentCriterion? value) => new IncludedItem59(value); /// /// /// - public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem59 @this) => @this.BetaGroups; + public static implicit operator IncludedItem59(global::AppStoreConnect.BetaTester value) => new IncludedItem59((global::AppStoreConnect.BetaTester?)value); /// /// /// - public IncludedItem59(global::AppStoreConnect.BetaGroup? value) + public static implicit operator global::AppStoreConnect.BetaTester?(IncludedItem59 @this) => @this.BetaTesters; + + /// + /// + /// + public IncludedItem59(global::AppStoreConnect.BetaTester? value) { - BetaGroups = value; + BetaTesters = value; } /// /// /// - public static IncludedItem59 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem59(value); + public static IncludedItem59 FromBetaTesters(global::AppStoreConnect.BetaTester? value) => new IncludedItem59(value); /// /// @@ -197,16 +257,18 @@ public IncludedItem59(global::AppStoreConnect.Build? value) /// /// public IncludedItem59( - global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BetaGroupResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.App? apps, - global::AppStoreConnect.BetaGroup? betaGroups, + global::AppStoreConnect.BetaRecruitmentCriterion? betaRecruitmentCriteria, + global::AppStoreConnect.BetaTester? betaTesters, global::AppStoreConnect.Build? builds ) { Type = type; Apps = apps; - BetaGroups = betaGroups; + BetaRecruitmentCriteria = betaRecruitmentCriteria; + BetaTesters = betaTesters; Builds = builds; } @@ -215,7 +277,8 @@ public IncludedItem59( /// public object? Object => Builds as object ?? - BetaGroups as object ?? + BetaTesters as object ?? + BetaRecruitmentCriteria as object ?? Apps as object ; @@ -224,7 +287,8 @@ Apps as object /// public override string? ToString() => Apps?.ToString() ?? - BetaGroups?.ToString() ?? + BetaRecruitmentCriteria?.ToString() ?? + BetaTesters?.ToString() ?? Builds?.ToString() ; @@ -233,7 +297,7 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBetaGroups && !IsBuilds || !IsApps && IsBetaGroups && !IsBuilds || !IsApps && !IsBetaGroups && IsBuilds; + return IsApps && !IsBetaRecruitmentCriteria && !IsBetaTesters && !IsBuilds || !IsApps && IsBetaRecruitmentCriteria && !IsBetaTesters && !IsBuilds || !IsApps && !IsBetaRecruitmentCriteria && IsBetaTesters && !IsBuilds || !IsApps && !IsBetaRecruitmentCriteria && !IsBetaTesters && IsBuilds; } /// @@ -241,7 +305,8 @@ public bool Validate() /// public TResult? Match( global::System.Func? apps = null, - global::System.Func? betaGroups = null, + global::System.Func? betaRecruitmentCriteria = null, + global::System.Func? betaTesters = null, global::System.Func? builds = null, bool validate = true) { @@ -254,13 +319,17 @@ public bool Validate() { return apps(__value0); } - else if (BetaGroups is { } __value1 && betaGroups != null) + else if (BetaRecruitmentCriteria is { } __value1 && betaRecruitmentCriteria != null) { - return betaGroups(__value1); + return betaRecruitmentCriteria(__value1); } - else if (Builds is { } __value2 && builds != null) + else if (BetaTesters is { } __value2 && betaTesters != null) { - return builds(__value2); + return betaTesters(__value2); + } + else if (Builds is { } __value3 && builds != null) + { + return builds(__value3); } return default(TResult); @@ -272,7 +341,9 @@ public bool Validate() public void Match( global::System.Action? apps = null, - global::System.Action? betaGroups = null, + global::System.Action? betaRecruitmentCriteria = null, + + global::System.Action? betaTesters = null, global::System.Action? builds = null, bool validate = true) @@ -286,13 +357,17 @@ public void Match( { apps?.Invoke(__value0); } - else if (BetaGroups is { } __value1) + else if (BetaRecruitmentCriteria is { } __value1) + { + betaRecruitmentCriteria?.Invoke(__value1); + } + else if (BetaTesters is { } __value2) { - betaGroups?.Invoke(__value1); + betaTesters?.Invoke(__value2); } - else if (Builds is { } __value2) + else if (Builds is { } __value3) { - builds?.Invoke(__value2); + builds?.Invoke(__value3); } } @@ -301,7 +376,8 @@ public void Match( /// public void Switch( global::System.Action? apps = null, - global::System.Action? betaGroups = null, + global::System.Action? betaRecruitmentCriteria = null, + global::System.Action? betaTesters = null, global::System.Action? builds = null, bool validate = true) { @@ -314,13 +390,17 @@ public void Switch( { apps?.Invoke(__value0); } - else if (BetaGroups is { } __value1) + else if (BetaRecruitmentCriteria is { } __value1) + { + betaRecruitmentCriteria?.Invoke(__value1); + } + else if (BetaTesters is { } __value2) { - betaGroups?.Invoke(__value1); + betaTesters?.Invoke(__value2); } - else if (Builds is { } __value2) + else if (Builds is { } __value3) { - builds?.Invoke(__value2); + builds?.Invoke(__value3); } } @@ -333,8 +413,10 @@ public override int GetHashCode() { Apps, typeof(global::AppStoreConnect.App), - BetaGroups, - typeof(global::AppStoreConnect.BetaGroup), + BetaRecruitmentCriteria, + typeof(global::AppStoreConnect.BetaRecruitmentCriterion), + BetaTesters, + typeof(global::AppStoreConnect.BetaTester), Builds, typeof(global::AppStoreConnect.Build), }; @@ -354,7 +436,8 @@ public bool Equals(IncludedItem59 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaRecruitmentCriteria, other.BetaRecruitmentCriteria) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem6.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem6.g.cs index 3e04be216..b4744dcaf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem6.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem6.g.cs @@ -12,156 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences { get; init; } + public global::AppStoreConnect.AppClipAdvancedExperienceImage? AppClipAdvancedExperienceImages { get; init; } #else - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences { get; } + public global::AppStoreConnect.AppClipAdvancedExperienceImage? AppClipAdvancedExperienceImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceImages))] #endif - public bool IsAppClipDefaultExperiences => AppClipDefaultExperiences != null; + public bool IsAppClipAdvancedExperienceImages => AppClipAdvancedExperienceImages != null; /// /// /// - public bool TryPickAppClipDefaultExperiences( + public bool TryPickAppClipAdvancedExperienceImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipDefaultExperience? value) + out global::AppStoreConnect.AppClipAdvancedExperienceImage? value) { - value = AppClipDefaultExperiences; - return IsAppClipDefaultExperiences; + value = AppClipAdvancedExperienceImages; + return IsAppClipAdvancedExperienceImages; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences() => AppClipDefaultExperiences is { } value + public global::AppStoreConnect.AppClipAdvancedExperienceImage PickAppClipAdvancedExperienceImages() => AppClipAdvancedExperienceImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipHeaderImage? AppClipHeaderImages { get; init; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? AppClipAdvancedExperienceLocalizations1 { get; init; } #else - public global::AppStoreConnect.AppClipHeaderImage? AppClipHeaderImages { get; } + public global::AppStoreConnect.AppClipAdvancedExperienceLocalization? AppClipAdvancedExperienceLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipHeaderImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceLocalizations1))] #endif - public bool IsAppClipHeaderImages => AppClipHeaderImages != null; + public bool IsAppClipAdvancedExperienceLocalizations1 => AppClipAdvancedExperienceLocalizations1 != null; /// /// /// - public bool TryPickAppClipHeaderImages( + public bool TryPickAppClipAdvancedExperienceLocalizations1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipHeaderImage? value) + out global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) { - value = AppClipHeaderImages; - return IsAppClipHeaderImages; + value = AppClipAdvancedExperienceLocalizations1; + return IsAppClipAdvancedExperienceLocalizations1; } /// /// /// - public global::AppStoreConnect.AppClipHeaderImage PickAppClipHeaderImages() => AppClipHeaderImages is { } value + public global::AppStoreConnect.AppClipAdvancedExperienceLocalization PickAppClipAdvancedExperienceLocalizations1() => AppClipAdvancedExperienceLocalizations1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipHeaderImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceLocalizations1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppClip? AppClipAdvancedExperienceLocalizations2 { get; init; } +#else + public global::AppStoreConnect.AppClip? AppClipAdvancedExperienceLocalizations2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAdvancedExperienceLocalizations2))] +#endif + public bool IsAppClipAdvancedExperienceLocalizations2 => AppClipAdvancedExperienceLocalizations2 != null; + + /// + /// + /// + public bool TryPickAppClipAdvancedExperienceLocalizations2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppClip? value) + { + value = AppClipAdvancedExperienceLocalizations2; + return IsAppClipAdvancedExperienceLocalizations2; + } + + /// + /// + /// + public global::AppStoreConnect.AppClip PickAppClipAdvancedExperienceLocalizations2() => AppClipAdvancedExperienceLocalizations2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAdvancedExperienceLocalizations2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem6(global::AppStoreConnect.AppClipAdvancedExperienceImage value) => new IncludedItem6((global::AppStoreConnect.AppClipAdvancedExperienceImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClipAdvancedExperienceImage?(IncludedItem6 @this) => @this.AppClipAdvancedExperienceImages; + + /// + /// + /// + public IncludedItem6(global::AppStoreConnect.AppClipAdvancedExperienceImage? value) + { + AppClipAdvancedExperienceImages = value; + } + /// /// /// - public static implicit operator IncludedItem6(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem6((global::AppStoreConnect.AppClipDefaultExperience?)value); + public static IncludedItem6 FromAppClipAdvancedExperienceImages(global::AppStoreConnect.AppClipAdvancedExperienceImage? value) => new IncludedItem6(value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem6 @this) => @this.AppClipDefaultExperiences; + public static implicit operator IncludedItem6(global::AppStoreConnect.AppClipAdvancedExperienceLocalization value) => new IncludedItem6((global::AppStoreConnect.AppClipAdvancedExperienceLocalization?)value); /// /// /// - public IncludedItem6(global::AppStoreConnect.AppClipDefaultExperience? value) + public static implicit operator global::AppStoreConnect.AppClipAdvancedExperienceLocalization?(IncludedItem6 @this) => @this.AppClipAdvancedExperienceLocalizations1; + + /// + /// + /// + public IncludedItem6(global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) { - AppClipDefaultExperiences = value; + AppClipAdvancedExperienceLocalizations1 = value; } /// /// /// - public static IncludedItem6 FromAppClipDefaultExperiences(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem6(value); + public static IncludedItem6 FromAppClipAdvancedExperienceLocalizations1(global::AppStoreConnect.AppClipAdvancedExperienceLocalization? value) => new IncludedItem6(value); /// /// /// - public static implicit operator IncludedItem6(global::AppStoreConnect.AppClipHeaderImage value) => new IncludedItem6((global::AppStoreConnect.AppClipHeaderImage?)value); + public static implicit operator IncludedItem6(global::AppStoreConnect.AppClip value) => new IncludedItem6((global::AppStoreConnect.AppClip?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppClipHeaderImage?(IncludedItem6 @this) => @this.AppClipHeaderImages; + public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem6 @this) => @this.AppClipAdvancedExperienceLocalizations2; /// /// /// - public IncludedItem6(global::AppStoreConnect.AppClipHeaderImage? value) + public IncludedItem6(global::AppStoreConnect.AppClip? value) { - AppClipHeaderImages = value; + AppClipAdvancedExperienceLocalizations2 = value; } /// /// /// - public static IncludedItem6 FromAppClipHeaderImages(global::AppStoreConnect.AppClipHeaderImage? value) => new IncludedItem6(value); + public static IncludedItem6 FromAppClipAdvancedExperienceLocalizations2(global::AppStoreConnect.AppClip? value) => new IncludedItem6(value); /// /// /// public IncludedItem6( - global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences, - global::AppStoreConnect.AppClipHeaderImage? appClipHeaderImages + global::AppStoreConnect.AppClipAdvancedExperienceResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppClipAdvancedExperienceImage? appClipAdvancedExperienceImages, + global::AppStoreConnect.AppClipAdvancedExperienceLocalization? appClipAdvancedExperienceLocalizations1, + global::AppStoreConnect.AppClip? appClipAdvancedExperienceLocalizations2 ) { Type = type; - AppClipDefaultExperiences = appClipDefaultExperiences; - AppClipHeaderImages = appClipHeaderImages; + AppClipAdvancedExperienceImages = appClipAdvancedExperienceImages; + AppClipAdvancedExperienceLocalizations1 = appClipAdvancedExperienceLocalizations1; + AppClipAdvancedExperienceLocalizations2 = appClipAdvancedExperienceLocalizations2; } /// /// /// public object? Object => - AppClipHeaderImages as object ?? - AppClipDefaultExperiences as object + AppClipAdvancedExperienceLocalizations2 as object ?? + AppClipAdvancedExperienceLocalizations1 as object ?? + AppClipAdvancedExperienceImages as object ; /// /// /// public override string? ToString() => - AppClipDefaultExperiences?.ToString() ?? - AppClipHeaderImages?.ToString() + AppClipAdvancedExperienceImages?.ToString() ?? + AppClipAdvancedExperienceLocalizations1?.ToString() ?? + AppClipAdvancedExperienceLocalizations2?.ToString() ; /// @@ -169,15 +233,16 @@ AppClipDefaultExperiences as object /// public bool Validate() { - return IsAppClipDefaultExperiences && !IsAppClipHeaderImages || !IsAppClipDefaultExperiences && IsAppClipHeaderImages; + return IsAppClipAdvancedExperienceImages && !IsAppClipAdvancedExperienceLocalizations1 && !IsAppClipAdvancedExperienceLocalizations2 || !IsAppClipAdvancedExperienceImages && IsAppClipAdvancedExperienceLocalizations1 && !IsAppClipAdvancedExperienceLocalizations2 || !IsAppClipAdvancedExperienceImages && !IsAppClipAdvancedExperienceLocalizations1 && IsAppClipAdvancedExperienceLocalizations2; } /// /// /// public TResult? Match( - global::System.Func? appClipDefaultExperiences = null, - global::System.Func? appClipHeaderImages = null, + global::System.Func? appClipAdvancedExperienceImages = null, + global::System.Func? appClipAdvancedExperienceLocalizations1 = null, + global::System.Func? appClipAdvancedExperienceLocalizations2 = null, bool validate = true) { if (validate) @@ -185,13 +250,17 @@ public bool Validate() Validate(); } - if (AppClipDefaultExperiences is { } __value0 && appClipDefaultExperiences != null) + if (AppClipAdvancedExperienceImages is { } __value0 && appClipAdvancedExperienceImages != null) { - return appClipDefaultExperiences(__value0); + return appClipAdvancedExperienceImages(__value0); } - else if (AppClipHeaderImages is { } __value1 && appClipHeaderImages != null) + else if (AppClipAdvancedExperienceLocalizations1 is { } __value1 && appClipAdvancedExperienceLocalizations1 != null) { - return appClipHeaderImages(__value1); + return appClipAdvancedExperienceLocalizations1(__value1); + } + else if (AppClipAdvancedExperienceLocalizations2 is { } __value2 && appClipAdvancedExperienceLocalizations2 != null) + { + return appClipAdvancedExperienceLocalizations2(__value2); } return default(TResult); @@ -201,9 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? appClipDefaultExperiences = null, + global::System.Action? appClipAdvancedExperienceImages = null, + + global::System.Action? appClipAdvancedExperienceLocalizations1 = null, - global::System.Action? appClipHeaderImages = null, + global::System.Action? appClipAdvancedExperienceLocalizations2 = null, bool validate = true) { if (validate) @@ -211,13 +282,17 @@ public void Match( Validate(); } - if (AppClipDefaultExperiences is { } __value0) + if (AppClipAdvancedExperienceImages is { } __value0) + { + appClipAdvancedExperienceImages?.Invoke(__value0); + } + else if (AppClipAdvancedExperienceLocalizations1 is { } __value1) { - appClipDefaultExperiences?.Invoke(__value0); + appClipAdvancedExperienceLocalizations1?.Invoke(__value1); } - else if (AppClipHeaderImages is { } __value1) + else if (AppClipAdvancedExperienceLocalizations2 is { } __value2) { - appClipHeaderImages?.Invoke(__value1); + appClipAdvancedExperienceLocalizations2?.Invoke(__value2); } } @@ -225,8 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? appClipDefaultExperiences = null, - global::System.Action? appClipHeaderImages = null, + global::System.Action? appClipAdvancedExperienceImages = null, + global::System.Action? appClipAdvancedExperienceLocalizations1 = null, + global::System.Action? appClipAdvancedExperienceLocalizations2 = null, bool validate = true) { if (validate) @@ -234,13 +310,17 @@ public void Switch( Validate(); } - if (AppClipDefaultExperiences is { } __value0) + if (AppClipAdvancedExperienceImages is { } __value0) + { + appClipAdvancedExperienceImages?.Invoke(__value0); + } + else if (AppClipAdvancedExperienceLocalizations1 is { } __value1) { - appClipDefaultExperiences?.Invoke(__value0); + appClipAdvancedExperienceLocalizations1?.Invoke(__value1); } - else if (AppClipHeaderImages is { } __value1) + else if (AppClipAdvancedExperienceLocalizations2 is { } __value2) { - appClipHeaderImages?.Invoke(__value1); + appClipAdvancedExperienceLocalizations2?.Invoke(__value2); } } @@ -251,10 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - AppClipDefaultExperiences, - typeof(global::AppStoreConnect.AppClipDefaultExperience), - AppClipHeaderImages, - typeof(global::AppStoreConnect.AppClipHeaderImage), + AppClipAdvancedExperienceImages, + typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage), + AppClipAdvancedExperienceLocalizations1, + typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization), + AppClipAdvancedExperienceLocalizations2, + typeof(global::AppStoreConnect.AppClip), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem6 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences, other.AppClipDefaultExperiences) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipHeaderImages, other.AppClipHeaderImages) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceImages, other.AppClipAdvancedExperienceImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceLocalizations1, other.AppClipAdvancedExperienceLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAdvancedExperienceLocalizations2, other.AppClipAdvancedExperienceLocalizations2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem60.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem60.g.cs index 2b2284a5b..5790306ff 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem60.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem60.g.cs @@ -12,103 +12,163 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildUploadFile? BuildUploadFiles1 { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.BuildUploadFile? BuildUploadFiles1 { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploadFiles1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsBuildUploadFiles1 => BuildUploadFiles1 != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickBuildUploadFiles1( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BuildUploadFile? value) + out global::AppStoreConnect.App? value) { - value = BuildUploadFiles1; - return IsBuildUploadFiles1; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.BuildUploadFile PickBuildUploadFiles1() => BuildUploadFiles1 is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploadFiles1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? BuildUploadFiles2 { get; init; } + public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } #else - public global::AppStoreConnect.Build? BuildUploadFiles2 { get; } + public global::AppStoreConnect.BetaGroup? BetaGroups { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploadFiles2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] #endif - public bool IsBuildUploadFiles2 => BuildUploadFiles2 != null; + public bool IsBetaGroups => BetaGroups != null; /// /// /// - public bool TryPickBuildUploadFiles2( + public bool TryPickBetaGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaGroup? value) + { + value = BetaGroups; + return IsBetaGroups; + } + + /// + /// + /// + public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Build? Builds { get; init; } +#else + public global::AppStoreConnect.Build? Builds { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] +#endif + public bool IsBuilds => Builds != null; + + /// + /// + /// + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.Build? value) { - value = BuildUploadFiles2; - return IsBuildUploadFiles2; + value = Builds; + return IsBuilds; } /// /// /// - public global::AppStoreConnect.Build PickBuildUploadFiles2() => BuildUploadFiles2 is { } value + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploadFiles2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem60(global::AppStoreConnect.App value) => new IncludedItem60((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem60 @this) => @this.Apps; + + /// + /// + /// + public IncludedItem60(global::AppStoreConnect.App? value) + { + Apps = value; + } + /// /// /// - public static implicit operator IncludedItem60(global::AppStoreConnect.BuildUploadFile value) => new IncludedItem60((global::AppStoreConnect.BuildUploadFile?)value); + public static IncludedItem60 FromApps(global::AppStoreConnect.App? value) => new IncludedItem60(value); /// /// /// - public static implicit operator global::AppStoreConnect.BuildUploadFile?(IncludedItem60 @this) => @this.BuildUploadFiles1; + public static implicit operator IncludedItem60(global::AppStoreConnect.BetaGroup value) => new IncludedItem60((global::AppStoreConnect.BetaGroup?)value); /// /// /// - public IncludedItem60(global::AppStoreConnect.BuildUploadFile? value) + public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem60 @this) => @this.BetaGroups; + + /// + /// + /// + public IncludedItem60(global::AppStoreConnect.BetaGroup? value) { - BuildUploadFiles1 = value; + BetaGroups = value; } /// /// /// - public static IncludedItem60 FromBuildUploadFiles1(global::AppStoreConnect.BuildUploadFile? value) => new IncludedItem60(value); + public static IncludedItem60 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem60(value); /// /// @@ -118,50 +178,54 @@ public IncludedItem60(global::AppStoreConnect.BuildUploadFile? value) /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem60 @this) => @this.BuildUploadFiles2; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem60 @this) => @this.Builds; /// /// /// public IncludedItem60(global::AppStoreConnect.Build? value) { - BuildUploadFiles2 = value; + Builds = value; } /// /// /// - public static IncludedItem60 FromBuildUploadFiles2(global::AppStoreConnect.Build? value) => new IncludedItem60(value); + public static IncludedItem60 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem60(value); /// /// /// public IncludedItem60( - global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.BuildUploadFile? buildUploadFiles1, - global::AppStoreConnect.Build? buildUploadFiles2 + global::AppStoreConnect.BetaTestersResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.BetaGroup? betaGroups, + global::AppStoreConnect.Build? builds ) { Type = type; - BuildUploadFiles1 = buildUploadFiles1; - BuildUploadFiles2 = buildUploadFiles2; + Apps = apps; + BetaGroups = betaGroups; + Builds = builds; } /// /// /// public object? Object => - BuildUploadFiles2 as object ?? - BuildUploadFiles1 as object + Builds as object ?? + BetaGroups as object ?? + Apps as object ; /// /// /// public override string? ToString() => - BuildUploadFiles1?.ToString() ?? - BuildUploadFiles2?.ToString() + Apps?.ToString() ?? + BetaGroups?.ToString() ?? + Builds?.ToString() ; /// @@ -169,15 +233,16 @@ BuildUploadFiles1 as object /// public bool Validate() { - return IsBuildUploadFiles1 && !IsBuildUploadFiles2 || !IsBuildUploadFiles1 && IsBuildUploadFiles2; + return IsApps && !IsBetaGroups && !IsBuilds || !IsApps && IsBetaGroups && !IsBuilds || !IsApps && !IsBetaGroups && IsBuilds; } /// /// /// public TResult? Match( - global::System.Func? buildUploadFiles1 = null, - global::System.Func? buildUploadFiles2 = null, + global::System.Func? apps = null, + global::System.Func? betaGroups = null, + global::System.Func? builds = null, bool validate = true) { if (validate) @@ -185,13 +250,17 @@ public bool Validate() Validate(); } - if (BuildUploadFiles1 is { } __value0 && buildUploadFiles1 != null) + if (Apps is { } __value0 && apps != null) { - return buildUploadFiles1(__value0); + return apps(__value0); } - else if (BuildUploadFiles2 is { } __value1 && buildUploadFiles2 != null) + else if (BetaGroups is { } __value1 && betaGroups != null) { - return buildUploadFiles2(__value1); + return betaGroups(__value1); + } + else if (Builds is { } __value2 && builds != null) + { + return builds(__value2); } return default(TResult); @@ -201,9 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? buildUploadFiles1 = null, + global::System.Action? apps = null, + + global::System.Action? betaGroups = null, - global::System.Action? buildUploadFiles2 = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -211,13 +282,17 @@ public void Match( Validate(); } - if (BuildUploadFiles1 is { } __value0) + if (Apps is { } __value0) + { + apps?.Invoke(__value0); + } + else if (BetaGroups is { } __value1) { - buildUploadFiles1?.Invoke(__value0); + betaGroups?.Invoke(__value1); } - else if (BuildUploadFiles2 is { } __value1) + else if (Builds is { } __value2) { - buildUploadFiles2?.Invoke(__value1); + builds?.Invoke(__value2); } } @@ -225,8 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? buildUploadFiles1 = null, - global::System.Action? buildUploadFiles2 = null, + global::System.Action? apps = null, + global::System.Action? betaGroups = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -234,13 +310,17 @@ public void Switch( Validate(); } - if (BuildUploadFiles1 is { } __value0) + if (Apps is { } __value0) + { + apps?.Invoke(__value0); + } + else if (BetaGroups is { } __value1) { - buildUploadFiles1?.Invoke(__value0); + betaGroups?.Invoke(__value1); } - else if (BuildUploadFiles2 is { } __value1) + else if (Builds is { } __value2) { - buildUploadFiles2?.Invoke(__value1); + builds?.Invoke(__value2); } } @@ -251,9 +331,11 @@ public override int GetHashCode() { var fields = new object?[] { - BuildUploadFiles1, - typeof(global::AppStoreConnect.BuildUploadFile), - BuildUploadFiles2, + Apps, + typeof(global::AppStoreConnect.App), + BetaGroups, + typeof(global::AppStoreConnect.BetaGroup), + Builds, typeof(global::AppStoreConnect.Build), }; const int offset = unchecked((int)2166136261); @@ -271,8 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem60 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploadFiles1, other.BuildUploadFiles1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploadFiles2, other.BuildUploadFiles2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem61.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem61.g.cs index d77c9a479..25bc26b5e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem61.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem61.g.cs @@ -12,103 +12,163 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildUploadFile? BuildUploadFiles1 { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.BuildUploadFile? BuildUploadFiles1 { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploadFiles1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsBuildUploadFiles1 => BuildUploadFiles1 != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickBuildUploadFiles1( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BuildUploadFile? value) + out global::AppStoreConnect.App? value) { - value = BuildUploadFiles1; - return IsBuildUploadFiles1; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.BuildUploadFile PickBuildUploadFiles1() => BuildUploadFiles1 is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploadFiles1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? BuildUploadFiles2 { get; init; } + public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } #else - public global::AppStoreConnect.Build? BuildUploadFiles2 { get; } + public global::AppStoreConnect.BetaGroup? BetaGroups { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploadFiles2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] #endif - public bool IsBuildUploadFiles2 => BuildUploadFiles2 != null; + public bool IsBetaGroups => BetaGroups != null; /// /// /// - public bool TryPickBuildUploadFiles2( + public bool TryPickBetaGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaGroup? value) + { + value = BetaGroups; + return IsBetaGroups; + } + + /// + /// + /// + public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.Build? Builds { get; init; } +#else + public global::AppStoreConnect.Build? Builds { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] +#endif + public bool IsBuilds => Builds != null; + + /// + /// + /// + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.Build? value) { - value = BuildUploadFiles2; - return IsBuildUploadFiles2; + value = Builds; + return IsBuilds; } /// /// /// - public global::AppStoreConnect.Build PickBuildUploadFiles2() => BuildUploadFiles2 is { } value + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploadFiles2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem61(global::AppStoreConnect.App value) => new IncludedItem61((global::AppStoreConnect.App?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.App?(IncludedItem61 @this) => @this.Apps; + + /// + /// + /// + public IncludedItem61(global::AppStoreConnect.App? value) + { + Apps = value; + } + /// /// /// - public static implicit operator IncludedItem61(global::AppStoreConnect.BuildUploadFile value) => new IncludedItem61((global::AppStoreConnect.BuildUploadFile?)value); + public static IncludedItem61 FromApps(global::AppStoreConnect.App? value) => new IncludedItem61(value); /// /// /// - public static implicit operator global::AppStoreConnect.BuildUploadFile?(IncludedItem61 @this) => @this.BuildUploadFiles1; + public static implicit operator IncludedItem61(global::AppStoreConnect.BetaGroup value) => new IncludedItem61((global::AppStoreConnect.BetaGroup?)value); /// /// /// - public IncludedItem61(global::AppStoreConnect.BuildUploadFile? value) + public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem61 @this) => @this.BetaGroups; + + /// + /// + /// + public IncludedItem61(global::AppStoreConnect.BetaGroup? value) { - BuildUploadFiles1 = value; + BetaGroups = value; } /// /// /// - public static IncludedItem61 FromBuildUploadFiles1(global::AppStoreConnect.BuildUploadFile? value) => new IncludedItem61(value); + public static IncludedItem61 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem61(value); /// /// @@ -118,50 +178,54 @@ public IncludedItem61(global::AppStoreConnect.BuildUploadFile? value) /// /// /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem61 @this) => @this.BuildUploadFiles2; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem61 @this) => @this.Builds; /// /// /// public IncludedItem61(global::AppStoreConnect.Build? value) { - BuildUploadFiles2 = value; + Builds = value; } /// /// /// - public static IncludedItem61 FromBuildUploadFiles2(global::AppStoreConnect.Build? value) => new IncludedItem61(value); + public static IncludedItem61 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem61(value); /// /// /// public IncludedItem61( - global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.BuildUploadFile? buildUploadFiles1, - global::AppStoreConnect.Build? buildUploadFiles2 + global::AppStoreConnect.BetaTesterResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.BetaGroup? betaGroups, + global::AppStoreConnect.Build? builds ) { Type = type; - BuildUploadFiles1 = buildUploadFiles1; - BuildUploadFiles2 = buildUploadFiles2; + Apps = apps; + BetaGroups = betaGroups; + Builds = builds; } /// /// /// public object? Object => - BuildUploadFiles2 as object ?? - BuildUploadFiles1 as object + Builds as object ?? + BetaGroups as object ?? + Apps as object ; /// /// /// public override string? ToString() => - BuildUploadFiles1?.ToString() ?? - BuildUploadFiles2?.ToString() + Apps?.ToString() ?? + BetaGroups?.ToString() ?? + Builds?.ToString() ; /// @@ -169,15 +233,16 @@ BuildUploadFiles1 as object /// public bool Validate() { - return IsBuildUploadFiles1 && !IsBuildUploadFiles2 || !IsBuildUploadFiles1 && IsBuildUploadFiles2; + return IsApps && !IsBetaGroups && !IsBuilds || !IsApps && IsBetaGroups && !IsBuilds || !IsApps && !IsBetaGroups && IsBuilds; } /// /// /// public TResult? Match( - global::System.Func? buildUploadFiles1 = null, - global::System.Func? buildUploadFiles2 = null, + global::System.Func? apps = null, + global::System.Func? betaGroups = null, + global::System.Func? builds = null, bool validate = true) { if (validate) @@ -185,13 +250,17 @@ public bool Validate() Validate(); } - if (BuildUploadFiles1 is { } __value0 && buildUploadFiles1 != null) + if (Apps is { } __value0 && apps != null) { - return buildUploadFiles1(__value0); + return apps(__value0); } - else if (BuildUploadFiles2 is { } __value1 && buildUploadFiles2 != null) + else if (BetaGroups is { } __value1 && betaGroups != null) { - return buildUploadFiles2(__value1); + return betaGroups(__value1); + } + else if (Builds is { } __value2 && builds != null) + { + return builds(__value2); } return default(TResult); @@ -201,9 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? buildUploadFiles1 = null, + global::System.Action? apps = null, + + global::System.Action? betaGroups = null, - global::System.Action? buildUploadFiles2 = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -211,13 +282,17 @@ public void Match( Validate(); } - if (BuildUploadFiles1 is { } __value0) + if (Apps is { } __value0) + { + apps?.Invoke(__value0); + } + else if (BetaGroups is { } __value1) { - buildUploadFiles1?.Invoke(__value0); + betaGroups?.Invoke(__value1); } - else if (BuildUploadFiles2 is { } __value1) + else if (Builds is { } __value2) { - buildUploadFiles2?.Invoke(__value1); + builds?.Invoke(__value2); } } @@ -225,8 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? buildUploadFiles1 = null, - global::System.Action? buildUploadFiles2 = null, + global::System.Action? apps = null, + global::System.Action? betaGroups = null, + global::System.Action? builds = null, bool validate = true) { if (validate) @@ -234,13 +310,17 @@ public void Switch( Validate(); } - if (BuildUploadFiles1 is { } __value0) + if (Apps is { } __value0) + { + apps?.Invoke(__value0); + } + else if (BetaGroups is { } __value1) { - buildUploadFiles1?.Invoke(__value0); + betaGroups?.Invoke(__value1); } - else if (BuildUploadFiles2 is { } __value1) + else if (Builds is { } __value2) { - buildUploadFiles2?.Invoke(__value1); + builds?.Invoke(__value2); } } @@ -251,9 +331,11 @@ public override int GetHashCode() { var fields = new object?[] { - BuildUploadFiles1, - typeof(global::AppStoreConnect.BuildUploadFile), - BuildUploadFiles2, + Apps, + typeof(global::AppStoreConnect.App), + BetaGroups, + typeof(global::AppStoreConnect.BetaGroup), + Builds, typeof(global::AppStoreConnect.Build), }; const int offset = unchecked((int)2166136261); @@ -271,8 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem61 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploadFiles1, other.BuildUploadFiles1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploadFiles2, other.BuildUploadFiles2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem62.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem62.g.cs index 7e68079bb..af2ed5dfd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem62.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem62.g.cs @@ -12,796 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations1 { get; init; } + public global::AppStoreConnect.BuildUploadFile? BuildUploadFiles1 { get; init; } #else - public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations1 { get; } + public global::AppStoreConnect.BuildUploadFile? BuildUploadFiles1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploadFiles1))] #endif - public bool IsAppEncryptionDeclarations1 => AppEncryptionDeclarations1 != null; + public bool IsBuildUploadFiles1 => BuildUploadFiles1 != null; /// /// /// - public bool TryPickAppEncryptionDeclarations1( + public bool TryPickBuildUploadFiles1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEncryptionDeclaration? value) + out global::AppStoreConnect.BuildUploadFile? value) { - value = AppEncryptionDeclarations1; - return IsAppEncryptionDeclarations1; + value = BuildUploadFiles1; + return IsBuildUploadFiles1; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclaration PickAppEncryptionDeclarations1() => AppEncryptionDeclarations1 is { } value + public global::AppStoreConnect.BuildUploadFile PickBuildUploadFiles1() => BuildUploadFiles1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploadFiles1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } + public global::AppStoreConnect.Build? BuildUploadFiles2 { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } + public global::AppStoreConnect.Build? BuildUploadFiles2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploadFiles2))] #endif - public bool IsAppStoreVersions => AppStoreVersions != null; + public bool IsBuildUploadFiles2 => BuildUploadFiles2 != null; /// /// /// - public bool TryPickAppStoreVersions( + public bool TryPickBuildUploadFiles2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.Build? value) { - value = AppStoreVersions; - return IsAppStoreVersions; + value = BuildUploadFiles2; + return IsBuildUploadFiles2; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + public global::AppStoreConnect.Build PickBuildUploadFiles2() => BuildUploadFiles2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppEncryptionDeclarations2 { get; init; } -#else - public global::AppStoreConnect.App? AppEncryptionDeclarations2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations2))] -#endif - public bool IsAppEncryptionDeclarations2 => AppEncryptionDeclarations2 != null; - - /// - /// - /// - public bool TryPickAppEncryptionDeclarations2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) - { - value = AppEncryptionDeclarations2; - return IsAppEncryptionDeclarations2; - } - - /// - /// - /// - public global::AppStoreConnect.App PickAppEncryptionDeclarations2() => AppEncryptionDeclarations2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaAppReviewSubmission? BetaAppReviewSubmissions { get; init; } -#else - public global::AppStoreConnect.BetaAppReviewSubmission? BetaAppReviewSubmissions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppReviewSubmissions))] -#endif - public bool IsBetaAppReviewSubmissions => BetaAppReviewSubmissions != null; - - /// - /// - /// - public bool TryPickBetaAppReviewSubmissions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaAppReviewSubmission? value) - { - value = BetaAppReviewSubmissions; - return IsBetaAppReviewSubmissions; - } - - /// - /// - /// - public global::AppStoreConnect.BetaAppReviewSubmission PickBetaAppReviewSubmissions() => BetaAppReviewSubmissions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppReviewSubmissions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaBuildLocalization? BetaBuildLocalizations { get; init; } -#else - public global::AppStoreConnect.BetaBuildLocalization? BetaBuildLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaBuildLocalizations))] -#endif - public bool IsBetaBuildLocalizations => BetaBuildLocalizations != null; - - /// - /// - /// - public bool TryPickBetaBuildLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaBuildLocalization? value) - { - value = BetaBuildLocalizations; - return IsBetaBuildLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.BetaBuildLocalization PickBetaBuildLocalizations() => BetaBuildLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaBuildLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } -#else - public global::AppStoreConnect.BetaGroup? BetaGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] -#endif - public bool IsBetaGroups => BetaGroups != null; - - /// - /// - /// - public bool TryPickBetaGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaGroup? value) - { - value = BetaGroups; - return IsBetaGroups; - } - - /// - /// - /// - public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaTester? BetaTesters { get; init; } -#else - public global::AppStoreConnect.BetaTester? BetaTesters { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaTesters))] -#endif - public bool IsBetaTesters => BetaTesters != null; - - /// - /// - /// - public bool TryPickBetaTesters( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaTester? value) - { - value = BetaTesters; - return IsBetaTesters; - } - - /// - /// - /// - public global::AppStoreConnect.BetaTester PickBetaTesters() => BetaTesters is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaTesters' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildBetaDetail? BuildBetaDetails { get; init; } -#else - public global::AppStoreConnect.BuildBetaDetail? BuildBetaDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildBetaDetails))] -#endif - public bool IsBuildBetaDetails => BuildBetaDetails != null; - - /// - /// - /// - public bool TryPickBuildBetaDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildBetaDetail? value) - { - value = BuildBetaDetails; - return IsBuildBetaDetails; - } - - /// - /// - /// - public global::AppStoreConnect.BuildBetaDetail PickBuildBetaDetails() => BuildBetaDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildBetaDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildBundle? BuildBundles { get; init; } -#else - public global::AppStoreConnect.BuildBundle? BuildBundles { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildBundles))] -#endif - public bool IsBuildBundles => BuildBundles != null; - - /// - /// - /// - public bool TryPickBuildBundles( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildBundle? value) - { - value = BuildBundles; - return IsBuildBundles; - } - - /// - /// - /// - public global::AppStoreConnect.BuildBundle PickBuildBundles() => BuildBundles is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildBundles' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildIcon? BuildIcons { get; init; } -#else - public global::AppStoreConnect.BuildIcon? BuildIcons { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons))] -#endif - public bool IsBuildIcons => BuildIcons != null; - - /// - /// - /// - public bool TryPickBuildIcons( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildIcon? value) - { - value = BuildIcons; - return IsBuildIcons; - } - - /// - /// - /// - public global::AppStoreConnect.BuildIcon PickBuildIcons() => BuildIcons is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildUpload? BuildUploads { get; init; } -#else - public global::AppStoreConnect.BuildUpload? BuildUploads { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploads))] -#endif - public bool IsBuildUploads => BuildUploads != null; - - /// - /// - /// - public bool TryPickBuildUploads( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildUpload? value) - { - value = BuildUploads; - return IsBuildUploads; - } - - /// - /// - /// - public global::AppStoreConnect.BuildUpload PickBuildUploads() => BuildUploads is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploads' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; init; } -#else - public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PreReleaseVersions))] -#endif - public bool IsPreReleaseVersions => PreReleaseVersions != null; - - /// - /// - /// - public bool TryPickPreReleaseVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.PrereleaseVersion? value) - { - value = PreReleaseVersions; - return IsPreReleaseVersions; - } - - /// - /// - /// - public global::AppStoreConnect.PrereleaseVersion PickPreReleaseVersions() => PreReleaseVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PreReleaseVersions' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.AppEncryptionDeclaration value) => new IncludedItem62((global::AppStoreConnect.AppEncryptionDeclaration?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppEncryptionDeclaration?(IncludedItem62 @this) => @this.AppEncryptionDeclarations1; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.AppEncryptionDeclaration? value) - { - AppEncryptionDeclarations1 = value; - } - - /// - /// - /// - public static IncludedItem62 FromAppEncryptionDeclarations1(global::AppStoreConnect.AppEncryptionDeclaration? value) => new IncludedItem62(value); - - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem62((global::AppStoreConnect.AppStoreVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem62 @this) => @this.AppStoreVersions; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.AppStoreVersion? value) - { - AppStoreVersions = value; - } - - /// - /// - /// - public static IncludedItem62 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem62(value); - - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.App value) => new IncludedItem62((global::AppStoreConnect.App?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem62 @this) => @this.AppEncryptionDeclarations2; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.App? value) - { - AppEncryptionDeclarations2 = value; - } - - /// - /// - /// - public static IncludedItem62 FromAppEncryptionDeclarations2(global::AppStoreConnect.App? value) => new IncludedItem62(value); - - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.BetaAppReviewSubmission value) => new IncludedItem62((global::AppStoreConnect.BetaAppReviewSubmission?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaAppReviewSubmission?(IncludedItem62 @this) => @this.BetaAppReviewSubmissions; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.BetaAppReviewSubmission? value) - { - BetaAppReviewSubmissions = value; - } - - /// - /// - /// - public static IncludedItem62 FromBetaAppReviewSubmissions(global::AppStoreConnect.BetaAppReviewSubmission? value) => new IncludedItem62(value); - - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.BetaBuildLocalization value) => new IncludedItem62((global::AppStoreConnect.BetaBuildLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaBuildLocalization?(IncludedItem62 @this) => @this.BetaBuildLocalizations; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.BetaBuildLocalization? value) - { - BetaBuildLocalizations = value; - } - - /// - /// - /// - public static IncludedItem62 FromBetaBuildLocalizations(global::AppStoreConnect.BetaBuildLocalization? value) => new IncludedItem62(value); - - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.BetaGroup value) => new IncludedItem62((global::AppStoreConnect.BetaGroup?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem62 @this) => @this.BetaGroups; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.BetaGroup? value) - { - BetaGroups = value; - } - - /// - /// - /// - public static IncludedItem62 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem62(value); - - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.BetaTester value) => new IncludedItem62((global::AppStoreConnect.BetaTester?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaTester?(IncludedItem62 @this) => @this.BetaTesters; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.BetaTester? value) - { - BetaTesters = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploadFiles2' but the value was {ToString()}."); /// /// /// - public static IncludedItem62 FromBetaTesters(global::AppStoreConnect.BetaTester? value) => new IncludedItem62(value); + public static implicit operator IncludedItem62(global::AppStoreConnect.BuildUploadFile value) => new IncludedItem62((global::AppStoreConnect.BuildUploadFile?)value); /// /// /// - public static implicit operator IncludedItem62(global::AppStoreConnect.BuildBetaDetail value) => new IncludedItem62((global::AppStoreConnect.BuildBetaDetail?)value); + public static implicit operator global::AppStoreConnect.BuildUploadFile?(IncludedItem62 @this) => @this.BuildUploadFiles1; /// /// /// - public static implicit operator global::AppStoreConnect.BuildBetaDetail?(IncludedItem62 @this) => @this.BuildBetaDetails; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.BuildBetaDetail? value) - { - BuildBetaDetails = value; - } - - /// - /// - /// - public static IncludedItem62 FromBuildBetaDetails(global::AppStoreConnect.BuildBetaDetail? value) => new IncludedItem62(value); - - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.BuildBundle value) => new IncludedItem62((global::AppStoreConnect.BuildBundle?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BuildBundle?(IncludedItem62 @this) => @this.BuildBundles; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.BuildBundle? value) - { - BuildBundles = value; - } - - /// - /// - /// - public static IncludedItem62 FromBuildBundles(global::AppStoreConnect.BuildBundle? value) => new IncludedItem62(value); - - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.BuildIcon value) => new IncludedItem62((global::AppStoreConnect.BuildIcon?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BuildIcon?(IncludedItem62 @this) => @this.BuildIcons; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.BuildIcon? value) - { - BuildIcons = value; - } - - /// - /// - /// - public static IncludedItem62 FromBuildIcons(global::AppStoreConnect.BuildIcon? value) => new IncludedItem62(value); - - /// - /// - /// - public static implicit operator IncludedItem62(global::AppStoreConnect.BuildUpload value) => new IncludedItem62((global::AppStoreConnect.BuildUpload?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BuildUpload?(IncludedItem62 @this) => @this.BuildUploads; - - /// - /// - /// - public IncludedItem62(global::AppStoreConnect.BuildUpload? value) + public IncludedItem62(global::AppStoreConnect.BuildUploadFile? value) { - BuildUploads = value; + BuildUploadFiles1 = value; } /// /// /// - public static IncludedItem62 FromBuildUploads(global::AppStoreConnect.BuildUpload? value) => new IncludedItem62(value); + public static IncludedItem62 FromBuildUploadFiles1(global::AppStoreConnect.BuildUploadFile? value) => new IncludedItem62(value); /// /// /// - public static implicit operator IncludedItem62(global::AppStoreConnect.PrereleaseVersion value) => new IncludedItem62((global::AppStoreConnect.PrereleaseVersion?)value); + public static implicit operator IncludedItem62(global::AppStoreConnect.Build value) => new IncludedItem62((global::AppStoreConnect.Build?)value); /// /// /// - public static implicit operator global::AppStoreConnect.PrereleaseVersion?(IncludedItem62 @this) => @this.PreReleaseVersions; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem62 @this) => @this.BuildUploadFiles2; /// /// /// - public IncludedItem62(global::AppStoreConnect.PrereleaseVersion? value) + public IncludedItem62(global::AppStoreConnect.Build? value) { - PreReleaseVersions = value; + BuildUploadFiles2 = value; } /// /// /// - public static IncludedItem62 FromPreReleaseVersions(global::AppStoreConnect.PrereleaseVersion? value) => new IncludedItem62(value); + public static IncludedItem62 FromBuildUploadFiles2(global::AppStoreConnect.Build? value) => new IncludedItem62(value); /// /// /// public IncludedItem62( - global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations1, - global::AppStoreConnect.AppStoreVersion? appStoreVersions, - global::AppStoreConnect.App? appEncryptionDeclarations2, - global::AppStoreConnect.BetaAppReviewSubmission? betaAppReviewSubmissions, - global::AppStoreConnect.BetaBuildLocalization? betaBuildLocalizations, - global::AppStoreConnect.BetaGroup? betaGroups, - global::AppStoreConnect.BetaTester? betaTesters, - global::AppStoreConnect.BuildBetaDetail? buildBetaDetails, - global::AppStoreConnect.BuildBundle? buildBundles, - global::AppStoreConnect.BuildIcon? buildIcons, - global::AppStoreConnect.BuildUpload? buildUploads, - global::AppStoreConnect.PrereleaseVersion? preReleaseVersions + global::AppStoreConnect.BuildUploadsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BuildUploadFile? buildUploadFiles1, + global::AppStoreConnect.Build? buildUploadFiles2 ) { Type = type; - AppEncryptionDeclarations1 = appEncryptionDeclarations1; - AppStoreVersions = appStoreVersions; - AppEncryptionDeclarations2 = appEncryptionDeclarations2; - BetaAppReviewSubmissions = betaAppReviewSubmissions; - BetaBuildLocalizations = betaBuildLocalizations; - BetaGroups = betaGroups; - BetaTesters = betaTesters; - BuildBetaDetails = buildBetaDetails; - BuildBundles = buildBundles; - BuildIcons = buildIcons; - BuildUploads = buildUploads; - PreReleaseVersions = preReleaseVersions; + BuildUploadFiles1 = buildUploadFiles1; + BuildUploadFiles2 = buildUploadFiles2; } /// /// /// public object? Object => - PreReleaseVersions as object ?? - BuildUploads as object ?? - BuildIcons as object ?? - BuildBundles as object ?? - BuildBetaDetails as object ?? - BetaTesters as object ?? - BetaGroups as object ?? - BetaBuildLocalizations as object ?? - BetaAppReviewSubmissions as object ?? - AppEncryptionDeclarations2 as object ?? - AppStoreVersions as object ?? - AppEncryptionDeclarations1 as object + BuildUploadFiles2 as object ?? + BuildUploadFiles1 as object ; /// /// /// public override string? ToString() => - AppEncryptionDeclarations1?.ToString() ?? - AppStoreVersions?.ToString() ?? - AppEncryptionDeclarations2?.ToString() ?? - BetaAppReviewSubmissions?.ToString() ?? - BetaBuildLocalizations?.ToString() ?? - BetaGroups?.ToString() ?? - BetaTesters?.ToString() ?? - BuildBetaDetails?.ToString() ?? - BuildBundles?.ToString() ?? - BuildIcons?.ToString() ?? - BuildUploads?.ToString() ?? - PreReleaseVersions?.ToString() + BuildUploadFiles1?.ToString() ?? + BuildUploadFiles2?.ToString() ; /// @@ -809,25 +169,15 @@ AppEncryptionDeclarations1 as object /// public bool Validate() { - return IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && IsPreReleaseVersions; + return IsBuildUploadFiles1 && !IsBuildUploadFiles2 || !IsBuildUploadFiles1 && IsBuildUploadFiles2; } /// /// /// public TResult? Match( - global::System.Func? appEncryptionDeclarations1 = null, - global::System.Func? appStoreVersions = null, - global::System.Func? appEncryptionDeclarations2 = null, - global::System.Func? betaAppReviewSubmissions = null, - global::System.Func? betaBuildLocalizations = null, - global::System.Func? betaGroups = null, - global::System.Func? betaTesters = null, - global::System.Func? buildBetaDetails = null, - global::System.Func? buildBundles = null, - global::System.Func? buildIcons = null, - global::System.Func? buildUploads = null, - global::System.Func? preReleaseVersions = null, + global::System.Func? buildUploadFiles1 = null, + global::System.Func? buildUploadFiles2 = null, bool validate = true) { if (validate) @@ -835,53 +185,13 @@ public bool Validate() Validate(); } - if (AppEncryptionDeclarations1 is { } __value0 && appEncryptionDeclarations1 != null) - { - return appEncryptionDeclarations1(__value0); - } - else if (AppStoreVersions is { } __value1 && appStoreVersions != null) - { - return appStoreVersions(__value1); - } - else if (AppEncryptionDeclarations2 is { } __value2 && appEncryptionDeclarations2 != null) - { - return appEncryptionDeclarations2(__value2); - } - else if (BetaAppReviewSubmissions is { } __value3 && betaAppReviewSubmissions != null) + if (BuildUploadFiles1 is { } __value0 && buildUploadFiles1 != null) { - return betaAppReviewSubmissions(__value3); + return buildUploadFiles1(__value0); } - else if (BetaBuildLocalizations is { } __value4 && betaBuildLocalizations != null) + else if (BuildUploadFiles2 is { } __value1 && buildUploadFiles2 != null) { - return betaBuildLocalizations(__value4); - } - else if (BetaGroups is { } __value5 && betaGroups != null) - { - return betaGroups(__value5); - } - else if (BetaTesters is { } __value6 && betaTesters != null) - { - return betaTesters(__value6); - } - else if (BuildBetaDetails is { } __value7 && buildBetaDetails != null) - { - return buildBetaDetails(__value7); - } - else if (BuildBundles is { } __value8 && buildBundles != null) - { - return buildBundles(__value8); - } - else if (BuildIcons is { } __value9 && buildIcons != null) - { - return buildIcons(__value9); - } - else if (BuildUploads is { } __value10 && buildUploads != null) - { - return buildUploads(__value10); - } - else if (PreReleaseVersions is { } __value11 && preReleaseVersions != null) - { - return preReleaseVersions(__value11); + return buildUploadFiles2(__value1); } return default(TResult); @@ -891,29 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appEncryptionDeclarations1 = null, - - global::System.Action? appStoreVersions = null, - - global::System.Action? appEncryptionDeclarations2 = null, + global::System.Action? buildUploadFiles1 = null, - global::System.Action? betaAppReviewSubmissions = null, - - global::System.Action? betaBuildLocalizations = null, - - global::System.Action? betaGroups = null, - - global::System.Action? betaTesters = null, - - global::System.Action? buildBetaDetails = null, - - global::System.Action? buildBundles = null, - - global::System.Action? buildIcons = null, - - global::System.Action? buildUploads = null, - - global::System.Action? preReleaseVersions = null, + global::System.Action? buildUploadFiles2 = null, bool validate = true) { if (validate) @@ -921,53 +211,13 @@ public void Match( Validate(); } - if (AppEncryptionDeclarations1 is { } __value0) - { - appEncryptionDeclarations1?.Invoke(__value0); - } - else if (AppStoreVersions is { } __value1) - { - appStoreVersions?.Invoke(__value1); - } - else if (AppEncryptionDeclarations2 is { } __value2) - { - appEncryptionDeclarations2?.Invoke(__value2); - } - else if (BetaAppReviewSubmissions is { } __value3) - { - betaAppReviewSubmissions?.Invoke(__value3); - } - else if (BetaBuildLocalizations is { } __value4) + if (BuildUploadFiles1 is { } __value0) { - betaBuildLocalizations?.Invoke(__value4); + buildUploadFiles1?.Invoke(__value0); } - else if (BetaGroups is { } __value5) + else if (BuildUploadFiles2 is { } __value1) { - betaGroups?.Invoke(__value5); - } - else if (BetaTesters is { } __value6) - { - betaTesters?.Invoke(__value6); - } - else if (BuildBetaDetails is { } __value7) - { - buildBetaDetails?.Invoke(__value7); - } - else if (BuildBundles is { } __value8) - { - buildBundles?.Invoke(__value8); - } - else if (BuildIcons is { } __value9) - { - buildIcons?.Invoke(__value9); - } - else if (BuildUploads is { } __value10) - { - buildUploads?.Invoke(__value10); - } - else if (PreReleaseVersions is { } __value11) - { - preReleaseVersions?.Invoke(__value11); + buildUploadFiles2?.Invoke(__value1); } } @@ -975,18 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appEncryptionDeclarations1 = null, - global::System.Action? appStoreVersions = null, - global::System.Action? appEncryptionDeclarations2 = null, - global::System.Action? betaAppReviewSubmissions = null, - global::System.Action? betaBuildLocalizations = null, - global::System.Action? betaGroups = null, - global::System.Action? betaTesters = null, - global::System.Action? buildBetaDetails = null, - global::System.Action? buildBundles = null, - global::System.Action? buildIcons = null, - global::System.Action? buildUploads = null, - global::System.Action? preReleaseVersions = null, + global::System.Action? buildUploadFiles1 = null, + global::System.Action? buildUploadFiles2 = null, bool validate = true) { if (validate) @@ -994,53 +234,13 @@ public void Switch( Validate(); } - if (AppEncryptionDeclarations1 is { } __value0) - { - appEncryptionDeclarations1?.Invoke(__value0); - } - else if (AppStoreVersions is { } __value1) - { - appStoreVersions?.Invoke(__value1); - } - else if (AppEncryptionDeclarations2 is { } __value2) - { - appEncryptionDeclarations2?.Invoke(__value2); - } - else if (BetaAppReviewSubmissions is { } __value3) - { - betaAppReviewSubmissions?.Invoke(__value3); - } - else if (BetaBuildLocalizations is { } __value4) - { - betaBuildLocalizations?.Invoke(__value4); - } - else if (BetaGroups is { } __value5) - { - betaGroups?.Invoke(__value5); - } - else if (BetaTesters is { } __value6) - { - betaTesters?.Invoke(__value6); - } - else if (BuildBetaDetails is { } __value7) - { - buildBetaDetails?.Invoke(__value7); - } - else if (BuildBundles is { } __value8) - { - buildBundles?.Invoke(__value8); - } - else if (BuildIcons is { } __value9) - { - buildIcons?.Invoke(__value9); - } - else if (BuildUploads is { } __value10) + if (BuildUploadFiles1 is { } __value0) { - buildUploads?.Invoke(__value10); + buildUploadFiles1?.Invoke(__value0); } - else if (PreReleaseVersions is { } __value11) + else if (BuildUploadFiles2 is { } __value1) { - preReleaseVersions?.Invoke(__value11); + buildUploadFiles2?.Invoke(__value1); } } @@ -1051,30 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppEncryptionDeclarations1, - typeof(global::AppStoreConnect.AppEncryptionDeclaration), - AppStoreVersions, - typeof(global::AppStoreConnect.AppStoreVersion), - AppEncryptionDeclarations2, - typeof(global::AppStoreConnect.App), - BetaAppReviewSubmissions, - typeof(global::AppStoreConnect.BetaAppReviewSubmission), - BetaBuildLocalizations, - typeof(global::AppStoreConnect.BetaBuildLocalization), - BetaGroups, - typeof(global::AppStoreConnect.BetaGroup), - BetaTesters, - typeof(global::AppStoreConnect.BetaTester), - BuildBetaDetails, - typeof(global::AppStoreConnect.BuildBetaDetail), - BuildBundles, - typeof(global::AppStoreConnect.BuildBundle), - BuildIcons, - typeof(global::AppStoreConnect.BuildIcon), - BuildUploads, - typeof(global::AppStoreConnect.BuildUpload), - PreReleaseVersions, - typeof(global::AppStoreConnect.PrereleaseVersion), + BuildUploadFiles1, + typeof(global::AppStoreConnect.BuildUploadFile), + BuildUploadFiles2, + typeof(global::AppStoreConnect.Build), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1091,18 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem62 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations1, other.AppEncryptionDeclarations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations2, other.AppEncryptionDeclarations2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppReviewSubmissions, other.BetaAppReviewSubmissions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaBuildLocalizations, other.BetaBuildLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildBetaDetails, other.BuildBetaDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildBundles, other.BuildBundles) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons, other.BuildIcons) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploads, other.BuildUploads) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(PreReleaseVersions, other.PreReleaseVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploadFiles1, other.BuildUploadFiles1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploadFiles2, other.BuildUploadFiles2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem63.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem63.g.cs index d28c36a94..ec93793fa 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem63.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem63.g.cs @@ -12,796 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations1 { get; init; } + public global::AppStoreConnect.BuildUploadFile? BuildUploadFiles1 { get; init; } #else - public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations1 { get; } + public global::AppStoreConnect.BuildUploadFile? BuildUploadFiles1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploadFiles1))] #endif - public bool IsAppEncryptionDeclarations1 => AppEncryptionDeclarations1 != null; + public bool IsBuildUploadFiles1 => BuildUploadFiles1 != null; /// /// /// - public bool TryPickAppEncryptionDeclarations1( + public bool TryPickBuildUploadFiles1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppEncryptionDeclaration? value) + out global::AppStoreConnect.BuildUploadFile? value) { - value = AppEncryptionDeclarations1; - return IsAppEncryptionDeclarations1; + value = BuildUploadFiles1; + return IsBuildUploadFiles1; } /// /// /// - public global::AppStoreConnect.AppEncryptionDeclaration PickAppEncryptionDeclarations1() => AppEncryptionDeclarations1 is { } value + public global::AppStoreConnect.BuildUploadFile PickBuildUploadFiles1() => BuildUploadFiles1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploadFiles1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } + public global::AppStoreConnect.Build? BuildUploadFiles2 { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } + public global::AppStoreConnect.Build? BuildUploadFiles2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploadFiles2))] #endif - public bool IsAppStoreVersions => AppStoreVersions != null; + public bool IsBuildUploadFiles2 => BuildUploadFiles2 != null; /// /// /// - public bool TryPickAppStoreVersions( + public bool TryPickBuildUploadFiles2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.Build? value) { - value = AppStoreVersions; - return IsAppStoreVersions; + value = BuildUploadFiles2; + return IsBuildUploadFiles2; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + public global::AppStoreConnect.Build PickBuildUploadFiles2() => BuildUploadFiles2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppEncryptionDeclarations2 { get; init; } -#else - public global::AppStoreConnect.App? AppEncryptionDeclarations2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations2))] -#endif - public bool IsAppEncryptionDeclarations2 => AppEncryptionDeclarations2 != null; - - /// - /// - /// - public bool TryPickAppEncryptionDeclarations2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.App? value) - { - value = AppEncryptionDeclarations2; - return IsAppEncryptionDeclarations2; - } - - /// - /// - /// - public global::AppStoreConnect.App PickAppEncryptionDeclarations2() => AppEncryptionDeclarations2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaAppReviewSubmission? BetaAppReviewSubmissions { get; init; } -#else - public global::AppStoreConnect.BetaAppReviewSubmission? BetaAppReviewSubmissions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppReviewSubmissions))] -#endif - public bool IsBetaAppReviewSubmissions => BetaAppReviewSubmissions != null; - - /// - /// - /// - public bool TryPickBetaAppReviewSubmissions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaAppReviewSubmission? value) - { - value = BetaAppReviewSubmissions; - return IsBetaAppReviewSubmissions; - } - - /// - /// - /// - public global::AppStoreConnect.BetaAppReviewSubmission PickBetaAppReviewSubmissions() => BetaAppReviewSubmissions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppReviewSubmissions' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaBuildLocalization? BetaBuildLocalizations { get; init; } -#else - public global::AppStoreConnect.BetaBuildLocalization? BetaBuildLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaBuildLocalizations))] -#endif - public bool IsBetaBuildLocalizations => BetaBuildLocalizations != null; - - /// - /// - /// - public bool TryPickBetaBuildLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaBuildLocalization? value) - { - value = BetaBuildLocalizations; - return IsBetaBuildLocalizations; - } - - /// - /// - /// - public global::AppStoreConnect.BetaBuildLocalization PickBetaBuildLocalizations() => BetaBuildLocalizations is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaBuildLocalizations' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } -#else - public global::AppStoreConnect.BetaGroup? BetaGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] -#endif - public bool IsBetaGroups => BetaGroups != null; - - /// - /// - /// - public bool TryPickBetaGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaGroup? value) - { - value = BetaGroups; - return IsBetaGroups; - } - - /// - /// - /// - public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BetaTester? BetaTesters { get; init; } -#else - public global::AppStoreConnect.BetaTester? BetaTesters { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaTesters))] -#endif - public bool IsBetaTesters => BetaTesters != null; - - /// - /// - /// - public bool TryPickBetaTesters( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BetaTester? value) - { - value = BetaTesters; - return IsBetaTesters; - } - - /// - /// - /// - public global::AppStoreConnect.BetaTester PickBetaTesters() => BetaTesters is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BetaTesters' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildBetaDetail? BuildBetaDetails { get; init; } -#else - public global::AppStoreConnect.BuildBetaDetail? BuildBetaDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildBetaDetails))] -#endif - public bool IsBuildBetaDetails => BuildBetaDetails != null; - - /// - /// - /// - public bool TryPickBuildBetaDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildBetaDetail? value) - { - value = BuildBetaDetails; - return IsBuildBetaDetails; - } - - /// - /// - /// - public global::AppStoreConnect.BuildBetaDetail PickBuildBetaDetails() => BuildBetaDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildBetaDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildBundle? BuildBundles { get; init; } -#else - public global::AppStoreConnect.BuildBundle? BuildBundles { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildBundles))] -#endif - public bool IsBuildBundles => BuildBundles != null; - - /// - /// - /// - public bool TryPickBuildBundles( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildBundle? value) - { - value = BuildBundles; - return IsBuildBundles; - } - - /// - /// - /// - public global::AppStoreConnect.BuildBundle PickBuildBundles() => BuildBundles is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildBundles' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildIcon? BuildIcons { get; init; } -#else - public global::AppStoreConnect.BuildIcon? BuildIcons { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons))] -#endif - public bool IsBuildIcons => BuildIcons != null; - - /// - /// - /// - public bool TryPickBuildIcons( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildIcon? value) - { - value = BuildIcons; - return IsBuildIcons; - } - - /// - /// - /// - public global::AppStoreConnect.BuildIcon PickBuildIcons() => BuildIcons is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.BuildUpload? BuildUploads { get; init; } -#else - public global::AppStoreConnect.BuildUpload? BuildUploads { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploads))] -#endif - public bool IsBuildUploads => BuildUploads != null; - - /// - /// - /// - public bool TryPickBuildUploads( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.BuildUpload? value) - { - value = BuildUploads; - return IsBuildUploads; - } - - /// - /// - /// - public global::AppStoreConnect.BuildUpload PickBuildUploads() => BuildUploads is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploads' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; init; } -#else - public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PreReleaseVersions))] -#endif - public bool IsPreReleaseVersions => PreReleaseVersions != null; - - /// - /// - /// - public bool TryPickPreReleaseVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.PrereleaseVersion? value) - { - value = PreReleaseVersions; - return IsPreReleaseVersions; - } - - /// - /// - /// - public global::AppStoreConnect.PrereleaseVersion PickPreReleaseVersions() => PreReleaseVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'PreReleaseVersions' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.AppEncryptionDeclaration value) => new IncludedItem63((global::AppStoreConnect.AppEncryptionDeclaration?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppEncryptionDeclaration?(IncludedItem63 @this) => @this.AppEncryptionDeclarations1; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.AppEncryptionDeclaration? value) - { - AppEncryptionDeclarations1 = value; - } - - /// - /// - /// - public static IncludedItem63 FromAppEncryptionDeclarations1(global::AppStoreConnect.AppEncryptionDeclaration? value) => new IncludedItem63(value); - - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem63((global::AppStoreConnect.AppStoreVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem63 @this) => @this.AppStoreVersions; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.AppStoreVersion? value) - { - AppStoreVersions = value; - } - - /// - /// - /// - public static IncludedItem63 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem63(value); - - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.App value) => new IncludedItem63((global::AppStoreConnect.App?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem63 @this) => @this.AppEncryptionDeclarations2; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.App? value) - { - AppEncryptionDeclarations2 = value; - } - - /// - /// - /// - public static IncludedItem63 FromAppEncryptionDeclarations2(global::AppStoreConnect.App? value) => new IncludedItem63(value); - - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.BetaAppReviewSubmission value) => new IncludedItem63((global::AppStoreConnect.BetaAppReviewSubmission?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaAppReviewSubmission?(IncludedItem63 @this) => @this.BetaAppReviewSubmissions; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.BetaAppReviewSubmission? value) - { - BetaAppReviewSubmissions = value; - } - - /// - /// - /// - public static IncludedItem63 FromBetaAppReviewSubmissions(global::AppStoreConnect.BetaAppReviewSubmission? value) => new IncludedItem63(value); - - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.BetaBuildLocalization value) => new IncludedItem63((global::AppStoreConnect.BetaBuildLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaBuildLocalization?(IncludedItem63 @this) => @this.BetaBuildLocalizations; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.BetaBuildLocalization? value) - { - BetaBuildLocalizations = value; - } - - /// - /// - /// - public static IncludedItem63 FromBetaBuildLocalizations(global::AppStoreConnect.BetaBuildLocalization? value) => new IncludedItem63(value); - - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.BetaGroup value) => new IncludedItem63((global::AppStoreConnect.BetaGroup?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem63 @this) => @this.BetaGroups; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.BetaGroup? value) - { - BetaGroups = value; - } - - /// - /// - /// - public static IncludedItem63 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem63(value); - - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.BetaTester value) => new IncludedItem63((global::AppStoreConnect.BetaTester?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BetaTester?(IncludedItem63 @this) => @this.BetaTesters; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.BetaTester? value) - { - BetaTesters = value; - } - + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploadFiles2' but the value was {ToString()}."); /// /// /// - public static IncludedItem63 FromBetaTesters(global::AppStoreConnect.BetaTester? value) => new IncludedItem63(value); + public static implicit operator IncludedItem63(global::AppStoreConnect.BuildUploadFile value) => new IncludedItem63((global::AppStoreConnect.BuildUploadFile?)value); /// /// /// - public static implicit operator IncludedItem63(global::AppStoreConnect.BuildBetaDetail value) => new IncludedItem63((global::AppStoreConnect.BuildBetaDetail?)value); + public static implicit operator global::AppStoreConnect.BuildUploadFile?(IncludedItem63 @this) => @this.BuildUploadFiles1; /// /// /// - public static implicit operator global::AppStoreConnect.BuildBetaDetail?(IncludedItem63 @this) => @this.BuildBetaDetails; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.BuildBetaDetail? value) - { - BuildBetaDetails = value; - } - - /// - /// - /// - public static IncludedItem63 FromBuildBetaDetails(global::AppStoreConnect.BuildBetaDetail? value) => new IncludedItem63(value); - - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.BuildBundle value) => new IncludedItem63((global::AppStoreConnect.BuildBundle?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BuildBundle?(IncludedItem63 @this) => @this.BuildBundles; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.BuildBundle? value) - { - BuildBundles = value; - } - - /// - /// - /// - public static IncludedItem63 FromBuildBundles(global::AppStoreConnect.BuildBundle? value) => new IncludedItem63(value); - - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.BuildIcon value) => new IncludedItem63((global::AppStoreConnect.BuildIcon?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BuildIcon?(IncludedItem63 @this) => @this.BuildIcons; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.BuildIcon? value) - { - BuildIcons = value; - } - - /// - /// - /// - public static IncludedItem63 FromBuildIcons(global::AppStoreConnect.BuildIcon? value) => new IncludedItem63(value); - - /// - /// - /// - public static implicit operator IncludedItem63(global::AppStoreConnect.BuildUpload value) => new IncludedItem63((global::AppStoreConnect.BuildUpload?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.BuildUpload?(IncludedItem63 @this) => @this.BuildUploads; - - /// - /// - /// - public IncludedItem63(global::AppStoreConnect.BuildUpload? value) + public IncludedItem63(global::AppStoreConnect.BuildUploadFile? value) { - BuildUploads = value; + BuildUploadFiles1 = value; } /// /// /// - public static IncludedItem63 FromBuildUploads(global::AppStoreConnect.BuildUpload? value) => new IncludedItem63(value); + public static IncludedItem63 FromBuildUploadFiles1(global::AppStoreConnect.BuildUploadFile? value) => new IncludedItem63(value); /// /// /// - public static implicit operator IncludedItem63(global::AppStoreConnect.PrereleaseVersion value) => new IncludedItem63((global::AppStoreConnect.PrereleaseVersion?)value); + public static implicit operator IncludedItem63(global::AppStoreConnect.Build value) => new IncludedItem63((global::AppStoreConnect.Build?)value); /// /// /// - public static implicit operator global::AppStoreConnect.PrereleaseVersion?(IncludedItem63 @this) => @this.PreReleaseVersions; + public static implicit operator global::AppStoreConnect.Build?(IncludedItem63 @this) => @this.BuildUploadFiles2; /// /// /// - public IncludedItem63(global::AppStoreConnect.PrereleaseVersion? value) + public IncludedItem63(global::AppStoreConnect.Build? value) { - PreReleaseVersions = value; + BuildUploadFiles2 = value; } /// /// /// - public static IncludedItem63 FromPreReleaseVersions(global::AppStoreConnect.PrereleaseVersion? value) => new IncludedItem63(value); + public static IncludedItem63 FromBuildUploadFiles2(global::AppStoreConnect.Build? value) => new IncludedItem63(value); /// /// /// public IncludedItem63( - global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations1, - global::AppStoreConnect.AppStoreVersion? appStoreVersions, - global::AppStoreConnect.App? appEncryptionDeclarations2, - global::AppStoreConnect.BetaAppReviewSubmission? betaAppReviewSubmissions, - global::AppStoreConnect.BetaBuildLocalization? betaBuildLocalizations, - global::AppStoreConnect.BetaGroup? betaGroups, - global::AppStoreConnect.BetaTester? betaTesters, - global::AppStoreConnect.BuildBetaDetail? buildBetaDetails, - global::AppStoreConnect.BuildBundle? buildBundles, - global::AppStoreConnect.BuildIcon? buildIcons, - global::AppStoreConnect.BuildUpload? buildUploads, - global::AppStoreConnect.PrereleaseVersion? preReleaseVersions + global::AppStoreConnect.BuildUploadResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.BuildUploadFile? buildUploadFiles1, + global::AppStoreConnect.Build? buildUploadFiles2 ) { Type = type; - AppEncryptionDeclarations1 = appEncryptionDeclarations1; - AppStoreVersions = appStoreVersions; - AppEncryptionDeclarations2 = appEncryptionDeclarations2; - BetaAppReviewSubmissions = betaAppReviewSubmissions; - BetaBuildLocalizations = betaBuildLocalizations; - BetaGroups = betaGroups; - BetaTesters = betaTesters; - BuildBetaDetails = buildBetaDetails; - BuildBundles = buildBundles; - BuildIcons = buildIcons; - BuildUploads = buildUploads; - PreReleaseVersions = preReleaseVersions; + BuildUploadFiles1 = buildUploadFiles1; + BuildUploadFiles2 = buildUploadFiles2; } /// /// /// public object? Object => - PreReleaseVersions as object ?? - BuildUploads as object ?? - BuildIcons as object ?? - BuildBundles as object ?? - BuildBetaDetails as object ?? - BetaTesters as object ?? - BetaGroups as object ?? - BetaBuildLocalizations as object ?? - BetaAppReviewSubmissions as object ?? - AppEncryptionDeclarations2 as object ?? - AppStoreVersions as object ?? - AppEncryptionDeclarations1 as object + BuildUploadFiles2 as object ?? + BuildUploadFiles1 as object ; /// /// /// public override string? ToString() => - AppEncryptionDeclarations1?.ToString() ?? - AppStoreVersions?.ToString() ?? - AppEncryptionDeclarations2?.ToString() ?? - BetaAppReviewSubmissions?.ToString() ?? - BetaBuildLocalizations?.ToString() ?? - BetaGroups?.ToString() ?? - BetaTesters?.ToString() ?? - BuildBetaDetails?.ToString() ?? - BuildBundles?.ToString() ?? - BuildIcons?.ToString() ?? - BuildUploads?.ToString() ?? - PreReleaseVersions?.ToString() + BuildUploadFiles1?.ToString() ?? + BuildUploadFiles2?.ToString() ; /// @@ -809,25 +169,15 @@ AppEncryptionDeclarations1 as object /// public bool Validate() { - return IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && IsPreReleaseVersions; + return IsBuildUploadFiles1 && !IsBuildUploadFiles2 || !IsBuildUploadFiles1 && IsBuildUploadFiles2; } /// /// /// public TResult? Match( - global::System.Func? appEncryptionDeclarations1 = null, - global::System.Func? appStoreVersions = null, - global::System.Func? appEncryptionDeclarations2 = null, - global::System.Func? betaAppReviewSubmissions = null, - global::System.Func? betaBuildLocalizations = null, - global::System.Func? betaGroups = null, - global::System.Func? betaTesters = null, - global::System.Func? buildBetaDetails = null, - global::System.Func? buildBundles = null, - global::System.Func? buildIcons = null, - global::System.Func? buildUploads = null, - global::System.Func? preReleaseVersions = null, + global::System.Func? buildUploadFiles1 = null, + global::System.Func? buildUploadFiles2 = null, bool validate = true) { if (validate) @@ -835,53 +185,13 @@ public bool Validate() Validate(); } - if (AppEncryptionDeclarations1 is { } __value0 && appEncryptionDeclarations1 != null) - { - return appEncryptionDeclarations1(__value0); - } - else if (AppStoreVersions is { } __value1 && appStoreVersions != null) - { - return appStoreVersions(__value1); - } - else if (AppEncryptionDeclarations2 is { } __value2 && appEncryptionDeclarations2 != null) - { - return appEncryptionDeclarations2(__value2); - } - else if (BetaAppReviewSubmissions is { } __value3 && betaAppReviewSubmissions != null) + if (BuildUploadFiles1 is { } __value0 && buildUploadFiles1 != null) { - return betaAppReviewSubmissions(__value3); + return buildUploadFiles1(__value0); } - else if (BetaBuildLocalizations is { } __value4 && betaBuildLocalizations != null) + else if (BuildUploadFiles2 is { } __value1 && buildUploadFiles2 != null) { - return betaBuildLocalizations(__value4); - } - else if (BetaGroups is { } __value5 && betaGroups != null) - { - return betaGroups(__value5); - } - else if (BetaTesters is { } __value6 && betaTesters != null) - { - return betaTesters(__value6); - } - else if (BuildBetaDetails is { } __value7 && buildBetaDetails != null) - { - return buildBetaDetails(__value7); - } - else if (BuildBundles is { } __value8 && buildBundles != null) - { - return buildBundles(__value8); - } - else if (BuildIcons is { } __value9 && buildIcons != null) - { - return buildIcons(__value9); - } - else if (BuildUploads is { } __value10 && buildUploads != null) - { - return buildUploads(__value10); - } - else if (PreReleaseVersions is { } __value11 && preReleaseVersions != null) - { - return preReleaseVersions(__value11); + return buildUploadFiles2(__value1); } return default(TResult); @@ -891,29 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appEncryptionDeclarations1 = null, - - global::System.Action? appStoreVersions = null, - - global::System.Action? appEncryptionDeclarations2 = null, + global::System.Action? buildUploadFiles1 = null, - global::System.Action? betaAppReviewSubmissions = null, - - global::System.Action? betaBuildLocalizations = null, - - global::System.Action? betaGroups = null, - - global::System.Action? betaTesters = null, - - global::System.Action? buildBetaDetails = null, - - global::System.Action? buildBundles = null, - - global::System.Action? buildIcons = null, - - global::System.Action? buildUploads = null, - - global::System.Action? preReleaseVersions = null, + global::System.Action? buildUploadFiles2 = null, bool validate = true) { if (validate) @@ -921,53 +211,13 @@ public void Match( Validate(); } - if (AppEncryptionDeclarations1 is { } __value0) - { - appEncryptionDeclarations1?.Invoke(__value0); - } - else if (AppStoreVersions is { } __value1) - { - appStoreVersions?.Invoke(__value1); - } - else if (AppEncryptionDeclarations2 is { } __value2) - { - appEncryptionDeclarations2?.Invoke(__value2); - } - else if (BetaAppReviewSubmissions is { } __value3) - { - betaAppReviewSubmissions?.Invoke(__value3); - } - else if (BetaBuildLocalizations is { } __value4) + if (BuildUploadFiles1 is { } __value0) { - betaBuildLocalizations?.Invoke(__value4); + buildUploadFiles1?.Invoke(__value0); } - else if (BetaGroups is { } __value5) + else if (BuildUploadFiles2 is { } __value1) { - betaGroups?.Invoke(__value5); - } - else if (BetaTesters is { } __value6) - { - betaTesters?.Invoke(__value6); - } - else if (BuildBetaDetails is { } __value7) - { - buildBetaDetails?.Invoke(__value7); - } - else if (BuildBundles is { } __value8) - { - buildBundles?.Invoke(__value8); - } - else if (BuildIcons is { } __value9) - { - buildIcons?.Invoke(__value9); - } - else if (BuildUploads is { } __value10) - { - buildUploads?.Invoke(__value10); - } - else if (PreReleaseVersions is { } __value11) - { - preReleaseVersions?.Invoke(__value11); + buildUploadFiles2?.Invoke(__value1); } } @@ -975,18 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appEncryptionDeclarations1 = null, - global::System.Action? appStoreVersions = null, - global::System.Action? appEncryptionDeclarations2 = null, - global::System.Action? betaAppReviewSubmissions = null, - global::System.Action? betaBuildLocalizations = null, - global::System.Action? betaGroups = null, - global::System.Action? betaTesters = null, - global::System.Action? buildBetaDetails = null, - global::System.Action? buildBundles = null, - global::System.Action? buildIcons = null, - global::System.Action? buildUploads = null, - global::System.Action? preReleaseVersions = null, + global::System.Action? buildUploadFiles1 = null, + global::System.Action? buildUploadFiles2 = null, bool validate = true) { if (validate) @@ -994,53 +234,13 @@ public void Switch( Validate(); } - if (AppEncryptionDeclarations1 is { } __value0) - { - appEncryptionDeclarations1?.Invoke(__value0); - } - else if (AppStoreVersions is { } __value1) - { - appStoreVersions?.Invoke(__value1); - } - else if (AppEncryptionDeclarations2 is { } __value2) - { - appEncryptionDeclarations2?.Invoke(__value2); - } - else if (BetaAppReviewSubmissions is { } __value3) - { - betaAppReviewSubmissions?.Invoke(__value3); - } - else if (BetaBuildLocalizations is { } __value4) - { - betaBuildLocalizations?.Invoke(__value4); - } - else if (BetaGroups is { } __value5) - { - betaGroups?.Invoke(__value5); - } - else if (BetaTesters is { } __value6) - { - betaTesters?.Invoke(__value6); - } - else if (BuildBetaDetails is { } __value7) - { - buildBetaDetails?.Invoke(__value7); - } - else if (BuildBundles is { } __value8) - { - buildBundles?.Invoke(__value8); - } - else if (BuildIcons is { } __value9) - { - buildIcons?.Invoke(__value9); - } - else if (BuildUploads is { } __value10) + if (BuildUploadFiles1 is { } __value0) { - buildUploads?.Invoke(__value10); + buildUploadFiles1?.Invoke(__value0); } - else if (PreReleaseVersions is { } __value11) + else if (BuildUploadFiles2 is { } __value1) { - preReleaseVersions?.Invoke(__value11); + buildUploadFiles2?.Invoke(__value1); } } @@ -1051,30 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppEncryptionDeclarations1, - typeof(global::AppStoreConnect.AppEncryptionDeclaration), - AppStoreVersions, - typeof(global::AppStoreConnect.AppStoreVersion), - AppEncryptionDeclarations2, - typeof(global::AppStoreConnect.App), - BetaAppReviewSubmissions, - typeof(global::AppStoreConnect.BetaAppReviewSubmission), - BetaBuildLocalizations, - typeof(global::AppStoreConnect.BetaBuildLocalization), - BetaGroups, - typeof(global::AppStoreConnect.BetaGroup), - BetaTesters, - typeof(global::AppStoreConnect.BetaTester), - BuildBetaDetails, - typeof(global::AppStoreConnect.BuildBetaDetail), - BuildBundles, - typeof(global::AppStoreConnect.BuildBundle), - BuildIcons, - typeof(global::AppStoreConnect.BuildIcon), - BuildUploads, - typeof(global::AppStoreConnect.BuildUpload), - PreReleaseVersions, - typeof(global::AppStoreConnect.PrereleaseVersion), + BuildUploadFiles1, + typeof(global::AppStoreConnect.BuildUploadFile), + BuildUploadFiles2, + typeof(global::AppStoreConnect.Build), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -1091,18 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem63 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations1, other.AppEncryptionDeclarations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations2, other.AppEncryptionDeclarations2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppReviewSubmissions, other.BetaAppReviewSubmissions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaBuildLocalizations, other.BetaBuildLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildBetaDetails, other.BuildBetaDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildBundles, other.BuildBundles) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons, other.BuildIcons) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploads, other.BuildUploads) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(PreReleaseVersions, other.PreReleaseVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploadFiles1, other.BuildUploadFiles1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploadFiles2, other.BuildUploadFiles2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem64.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem64.g.cs index 354ed4cf0..dd5bfe1df 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem64.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem64.g.cs @@ -12,118 +12,497 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations1 { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations1))] #endif - public bool IsApps => Apps != null; + public bool IsAppEncryptionDeclarations1 => AppEncryptionDeclarations1 != null; /// /// /// - public bool TryPickApps( + public bool TryPickAppEncryptionDeclarations1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppEncryptionDeclaration? value) + { + value = AppEncryptionDeclarations1; + return IsAppEncryptionDeclarations1; + } + + /// + /// + /// + public global::AppStoreConnect.AppEncryptionDeclaration PickAppEncryptionDeclarations1() => AppEncryptionDeclarations1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } +#else + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] +#endif + public bool IsAppStoreVersions => AppStoreVersions != null; + + /// + /// + /// + public bool TryPickAppStoreVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersion? value) + { + value = AppStoreVersions; + return IsAppStoreVersions; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppEncryptionDeclarations2 { get; init; } +#else + public global::AppStoreConnect.App? AppEncryptionDeclarations2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations2))] +#endif + public bool IsAppEncryptionDeclarations2 => AppEncryptionDeclarations2 != null; + + /// + /// + /// + public bool TryPickAppEncryptionDeclarations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.App? value) { - value = Apps; - return IsApps; + value = AppEncryptionDeclarations2; + return IsAppEncryptionDeclarations2; + } + + /// + /// + /// + public global::AppStoreConnect.App PickAppEncryptionDeclarations2() => AppEncryptionDeclarations2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaAppReviewSubmission? BetaAppReviewSubmissions { get; init; } +#else + public global::AppStoreConnect.BetaAppReviewSubmission? BetaAppReviewSubmissions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppReviewSubmissions))] +#endif + public bool IsBetaAppReviewSubmissions => BetaAppReviewSubmissions != null; + + /// + /// + /// + public bool TryPickBetaAppReviewSubmissions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaAppReviewSubmission? value) + { + value = BetaAppReviewSubmissions; + return IsBetaAppReviewSubmissions; + } + + /// + /// + /// + public global::AppStoreConnect.BetaAppReviewSubmission PickBetaAppReviewSubmissions() => BetaAppReviewSubmissions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppReviewSubmissions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaBuildLocalization? BetaBuildLocalizations { get; init; } +#else + public global::AppStoreConnect.BetaBuildLocalization? BetaBuildLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaBuildLocalizations))] +#endif + public bool IsBetaBuildLocalizations => BetaBuildLocalizations != null; + + /// + /// + /// + public bool TryPickBetaBuildLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaBuildLocalization? value) + { + value = BetaBuildLocalizations; + return IsBetaBuildLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.BetaBuildLocalization PickBetaBuildLocalizations() => BetaBuildLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaBuildLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } +#else + public global::AppStoreConnect.BetaGroup? BetaGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] +#endif + public bool IsBetaGroups => BetaGroups != null; + + /// + /// + /// + public bool TryPickBetaGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaGroup? value) + { + value = BetaGroups; + return IsBetaGroups; + } + + /// + /// + /// + public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaTester? BetaTesters { get; init; } +#else + public global::AppStoreConnect.BetaTester? BetaTesters { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaTesters))] +#endif + public bool IsBetaTesters => BetaTesters != null; + + /// + /// + /// + public bool TryPickBetaTesters( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaTester? value) + { + value = BetaTesters; + return IsBetaTesters; + } + + /// + /// + /// + public global::AppStoreConnect.BetaTester PickBetaTesters() => BetaTesters is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaTesters' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BuildBetaDetail? BuildBetaDetails { get; init; } +#else + public global::AppStoreConnect.BuildBetaDetail? BuildBetaDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildBetaDetails))] +#endif + public bool IsBuildBetaDetails => BuildBetaDetails != null; + + /// + /// + /// + public bool TryPickBuildBetaDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BuildBetaDetail? value) + { + value = BuildBetaDetails; + return IsBuildBetaDetails; + } + + /// + /// + /// + public global::AppStoreConnect.BuildBetaDetail PickBuildBetaDetails() => BuildBetaDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildBetaDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BuildBundle? BuildBundles { get; init; } +#else + public global::AppStoreConnect.BuildBundle? BuildBundles { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildBundles))] +#endif + public bool IsBuildBundles => BuildBundles != null; + + /// + /// + /// + public bool TryPickBuildBundles( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BuildBundle? value) + { + value = BuildBundles; + return IsBuildBundles; + } + + /// + /// + /// + public global::AppStoreConnect.BuildBundle PickBuildBundles() => BuildBundles is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildBundles' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BuildIcon? BuildIcons { get; init; } +#else + public global::AppStoreConnect.BuildIcon? BuildIcons { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons))] +#endif + public bool IsBuildIcons => BuildIcons != null; + + /// + /// + /// + public bool TryPickBuildIcons( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BuildIcon? value) + { + value = BuildIcons; + return IsBuildIcons; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.BuildIcon PickBuildIcons() => BuildIcons is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BundleIdCapability? BundleIdCapabilities { get; init; } + public global::AppStoreConnect.BuildUpload? BuildUploads { get; init; } #else - public global::AppStoreConnect.BundleIdCapability? BundleIdCapabilities { get; } + public global::AppStoreConnect.BuildUpload? BuildUploads { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIdCapabilities))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploads))] #endif - public bool IsBundleIdCapabilities => BundleIdCapabilities != null; + public bool IsBuildUploads => BuildUploads != null; /// /// /// - public bool TryPickBundleIdCapabilities( + public bool TryPickBuildUploads( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BundleIdCapability? value) + out global::AppStoreConnect.BuildUpload? value) { - value = BundleIdCapabilities; - return IsBundleIdCapabilities; + value = BuildUploads; + return IsBuildUploads; } /// /// /// - public global::AppStoreConnect.BundleIdCapability PickBundleIdCapabilities() => BundleIdCapabilities is { } value + public global::AppStoreConnect.BuildUpload PickBuildUploads() => BuildUploads is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIdCapabilities' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploads' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Profile? Profiles { get; init; } + public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; init; } #else - public global::AppStoreConnect.Profile? Profiles { get; } + public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Profiles))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PreReleaseVersions))] #endif - public bool IsProfiles => Profiles != null; + public bool IsPreReleaseVersions => PreReleaseVersions != null; /// /// /// - public bool TryPickProfiles( + public bool TryPickPreReleaseVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Profile? value) + out global::AppStoreConnect.PrereleaseVersion? value) { - value = Profiles; - return IsProfiles; + value = PreReleaseVersions; + return IsPreReleaseVersions; } /// /// /// - public global::AppStoreConnect.Profile PickProfiles() => Profiles is { } value + public global::AppStoreConnect.PrereleaseVersion PickPreReleaseVersions() => PreReleaseVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Profiles' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'PreReleaseVersions' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem64(global::AppStoreConnect.AppEncryptionDeclaration value) => new IncludedItem64((global::AppStoreConnect.AppEncryptionDeclaration?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEncryptionDeclaration?(IncludedItem64 @this) => @this.AppEncryptionDeclarations1; + + /// + /// + /// + public IncludedItem64(global::AppStoreConnect.AppEncryptionDeclaration? value) + { + AppEncryptionDeclarations1 = value; + } + + /// + /// + /// + public static IncludedItem64 FromAppEncryptionDeclarations1(global::AppStoreConnect.AppEncryptionDeclaration? value) => new IncludedItem64(value); + + /// + /// + /// + public static implicit operator IncludedItem64(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem64((global::AppStoreConnect.AppStoreVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem64 @this) => @this.AppStoreVersions; + + /// + /// + /// + public IncludedItem64(global::AppStoreConnect.AppStoreVersion? value) + { + AppStoreVersions = value; + } + + /// + /// + /// + public static IncludedItem64 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem64(value); + /// /// /// @@ -132,100 +511,297 @@ public bool TryPickProfiles( /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem64 @this) => @this.Apps; + public static implicit operator global::AppStoreConnect.App?(IncludedItem64 @this) => @this.AppEncryptionDeclarations2; /// /// /// public IncludedItem64(global::AppStoreConnect.App? value) { - Apps = value; + AppEncryptionDeclarations2 = value; + } + + /// + /// + /// + public static IncludedItem64 FromAppEncryptionDeclarations2(global::AppStoreConnect.App? value) => new IncludedItem64(value); + + /// + /// + /// + public static implicit operator IncludedItem64(global::AppStoreConnect.BetaAppReviewSubmission value) => new IncludedItem64((global::AppStoreConnect.BetaAppReviewSubmission?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaAppReviewSubmission?(IncludedItem64 @this) => @this.BetaAppReviewSubmissions; + + /// + /// + /// + public IncludedItem64(global::AppStoreConnect.BetaAppReviewSubmission? value) + { + BetaAppReviewSubmissions = value; + } + + /// + /// + /// + public static IncludedItem64 FromBetaAppReviewSubmissions(global::AppStoreConnect.BetaAppReviewSubmission? value) => new IncludedItem64(value); + + /// + /// + /// + public static implicit operator IncludedItem64(global::AppStoreConnect.BetaBuildLocalization value) => new IncludedItem64((global::AppStoreConnect.BetaBuildLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaBuildLocalization?(IncludedItem64 @this) => @this.BetaBuildLocalizations; + + /// + /// + /// + public IncludedItem64(global::AppStoreConnect.BetaBuildLocalization? value) + { + BetaBuildLocalizations = value; + } + + /// + /// + /// + public static IncludedItem64 FromBetaBuildLocalizations(global::AppStoreConnect.BetaBuildLocalization? value) => new IncludedItem64(value); + + /// + /// + /// + public static implicit operator IncludedItem64(global::AppStoreConnect.BetaGroup value) => new IncludedItem64((global::AppStoreConnect.BetaGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem64 @this) => @this.BetaGroups; + + /// + /// + /// + public IncludedItem64(global::AppStoreConnect.BetaGroup? value) + { + BetaGroups = value; + } + + /// + /// + /// + public static IncludedItem64 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem64(value); + + /// + /// + /// + public static implicit operator IncludedItem64(global::AppStoreConnect.BetaTester value) => new IncludedItem64((global::AppStoreConnect.BetaTester?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaTester?(IncludedItem64 @this) => @this.BetaTesters; + + /// + /// + /// + public IncludedItem64(global::AppStoreConnect.BetaTester? value) + { + BetaTesters = value; } /// /// /// - public static IncludedItem64 FromApps(global::AppStoreConnect.App? value) => new IncludedItem64(value); + public static IncludedItem64 FromBetaTesters(global::AppStoreConnect.BetaTester? value) => new IncludedItem64(value); /// /// /// - public static implicit operator IncludedItem64(global::AppStoreConnect.BundleIdCapability value) => new IncludedItem64((global::AppStoreConnect.BundleIdCapability?)value); + public static implicit operator IncludedItem64(global::AppStoreConnect.BuildBetaDetail value) => new IncludedItem64((global::AppStoreConnect.BuildBetaDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BundleIdCapability?(IncludedItem64 @this) => @this.BundleIdCapabilities; + public static implicit operator global::AppStoreConnect.BuildBetaDetail?(IncludedItem64 @this) => @this.BuildBetaDetails; /// /// /// - public IncludedItem64(global::AppStoreConnect.BundleIdCapability? value) + public IncludedItem64(global::AppStoreConnect.BuildBetaDetail? value) { - BundleIdCapabilities = value; + BuildBetaDetails = value; } /// /// /// - public static IncludedItem64 FromBundleIdCapabilities(global::AppStoreConnect.BundleIdCapability? value) => new IncludedItem64(value); + public static IncludedItem64 FromBuildBetaDetails(global::AppStoreConnect.BuildBetaDetail? value) => new IncludedItem64(value); /// /// /// - public static implicit operator IncludedItem64(global::AppStoreConnect.Profile value) => new IncludedItem64((global::AppStoreConnect.Profile?)value); + public static implicit operator IncludedItem64(global::AppStoreConnect.BuildBundle value) => new IncludedItem64((global::AppStoreConnect.BuildBundle?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Profile?(IncludedItem64 @this) => @this.Profiles; + public static implicit operator global::AppStoreConnect.BuildBundle?(IncludedItem64 @this) => @this.BuildBundles; /// /// /// - public IncludedItem64(global::AppStoreConnect.Profile? value) + public IncludedItem64(global::AppStoreConnect.BuildBundle? value) { - Profiles = value; + BuildBundles = value; } /// /// /// - public static IncludedItem64 FromProfiles(global::AppStoreConnect.Profile? value) => new IncludedItem64(value); + public static IncludedItem64 FromBuildBundles(global::AppStoreConnect.BuildBundle? value) => new IncludedItem64(value); + + /// + /// + /// + public static implicit operator IncludedItem64(global::AppStoreConnect.BuildIcon value) => new IncludedItem64((global::AppStoreConnect.BuildIcon?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BuildIcon?(IncludedItem64 @this) => @this.BuildIcons; + + /// + /// + /// + public IncludedItem64(global::AppStoreConnect.BuildIcon? value) + { + BuildIcons = value; + } + + /// + /// + /// + public static IncludedItem64 FromBuildIcons(global::AppStoreConnect.BuildIcon? value) => new IncludedItem64(value); + + /// + /// + /// + public static implicit operator IncludedItem64(global::AppStoreConnect.BuildUpload value) => new IncludedItem64((global::AppStoreConnect.BuildUpload?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BuildUpload?(IncludedItem64 @this) => @this.BuildUploads; + + /// + /// + /// + public IncludedItem64(global::AppStoreConnect.BuildUpload? value) + { + BuildUploads = value; + } + + /// + /// + /// + public static IncludedItem64 FromBuildUploads(global::AppStoreConnect.BuildUpload? value) => new IncludedItem64(value); + + /// + /// + /// + public static implicit operator IncludedItem64(global::AppStoreConnect.PrereleaseVersion value) => new IncludedItem64((global::AppStoreConnect.PrereleaseVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.PrereleaseVersion?(IncludedItem64 @this) => @this.PreReleaseVersions; + + /// + /// + /// + public IncludedItem64(global::AppStoreConnect.PrereleaseVersion? value) + { + PreReleaseVersions = value; + } + + /// + /// + /// + public static IncludedItem64 FromPreReleaseVersions(global::AppStoreConnect.PrereleaseVersion? value) => new IncludedItem64(value); /// /// /// public IncludedItem64( - global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.BundleIdCapability? bundleIdCapabilities, - global::AppStoreConnect.Profile? profiles + global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations1, + global::AppStoreConnect.AppStoreVersion? appStoreVersions, + global::AppStoreConnect.App? appEncryptionDeclarations2, + global::AppStoreConnect.BetaAppReviewSubmission? betaAppReviewSubmissions, + global::AppStoreConnect.BetaBuildLocalization? betaBuildLocalizations, + global::AppStoreConnect.BetaGroup? betaGroups, + global::AppStoreConnect.BetaTester? betaTesters, + global::AppStoreConnect.BuildBetaDetail? buildBetaDetails, + global::AppStoreConnect.BuildBundle? buildBundles, + global::AppStoreConnect.BuildIcon? buildIcons, + global::AppStoreConnect.BuildUpload? buildUploads, + global::AppStoreConnect.PrereleaseVersion? preReleaseVersions ) { Type = type; - Apps = apps; - BundleIdCapabilities = bundleIdCapabilities; - Profiles = profiles; + AppEncryptionDeclarations1 = appEncryptionDeclarations1; + AppStoreVersions = appStoreVersions; + AppEncryptionDeclarations2 = appEncryptionDeclarations2; + BetaAppReviewSubmissions = betaAppReviewSubmissions; + BetaBuildLocalizations = betaBuildLocalizations; + BetaGroups = betaGroups; + BetaTesters = betaTesters; + BuildBetaDetails = buildBetaDetails; + BuildBundles = buildBundles; + BuildIcons = buildIcons; + BuildUploads = buildUploads; + PreReleaseVersions = preReleaseVersions; } /// /// /// public object? Object => - Profiles as object ?? - BundleIdCapabilities as object ?? - Apps as object + PreReleaseVersions as object ?? + BuildUploads as object ?? + BuildIcons as object ?? + BuildBundles as object ?? + BuildBetaDetails as object ?? + BetaTesters as object ?? + BetaGroups as object ?? + BetaBuildLocalizations as object ?? + BetaAppReviewSubmissions as object ?? + AppEncryptionDeclarations2 as object ?? + AppStoreVersions as object ?? + AppEncryptionDeclarations1 as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - BundleIdCapabilities?.ToString() ?? - Profiles?.ToString() + AppEncryptionDeclarations1?.ToString() ?? + AppStoreVersions?.ToString() ?? + AppEncryptionDeclarations2?.ToString() ?? + BetaAppReviewSubmissions?.ToString() ?? + BetaBuildLocalizations?.ToString() ?? + BetaGroups?.ToString() ?? + BetaTesters?.ToString() ?? + BuildBetaDetails?.ToString() ?? + BuildBundles?.ToString() ?? + BuildIcons?.ToString() ?? + BuildUploads?.ToString() ?? + PreReleaseVersions?.ToString() ; /// @@ -233,16 +809,25 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBundleIdCapabilities && !IsProfiles || !IsApps && IsBundleIdCapabilities && !IsProfiles || !IsApps && !IsBundleIdCapabilities && IsProfiles; + return IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && IsPreReleaseVersions; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? bundleIdCapabilities = null, - global::System.Func? profiles = null, + global::System.Func? appEncryptionDeclarations1 = null, + global::System.Func? appStoreVersions = null, + global::System.Func? appEncryptionDeclarations2 = null, + global::System.Func? betaAppReviewSubmissions = null, + global::System.Func? betaBuildLocalizations = null, + global::System.Func? betaGroups = null, + global::System.Func? betaTesters = null, + global::System.Func? buildBetaDetails = null, + global::System.Func? buildBundles = null, + global::System.Func? buildIcons = null, + global::System.Func? buildUploads = null, + global::System.Func? preReleaseVersions = null, bool validate = true) { if (validate) @@ -250,17 +835,53 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (AppEncryptionDeclarations1 is { } __value0 && appEncryptionDeclarations1 != null) + { + return appEncryptionDeclarations1(__value0); + } + else if (AppStoreVersions is { } __value1 && appStoreVersions != null) { - return apps(__value0); + return appStoreVersions(__value1); } - else if (BundleIdCapabilities is { } __value1 && bundleIdCapabilities != null) + else if (AppEncryptionDeclarations2 is { } __value2 && appEncryptionDeclarations2 != null) { - return bundleIdCapabilities(__value1); + return appEncryptionDeclarations2(__value2); } - else if (Profiles is { } __value2 && profiles != null) + else if (BetaAppReviewSubmissions is { } __value3 && betaAppReviewSubmissions != null) { - return profiles(__value2); + return betaAppReviewSubmissions(__value3); + } + else if (BetaBuildLocalizations is { } __value4 && betaBuildLocalizations != null) + { + return betaBuildLocalizations(__value4); + } + else if (BetaGroups is { } __value5 && betaGroups != null) + { + return betaGroups(__value5); + } + else if (BetaTesters is { } __value6 && betaTesters != null) + { + return betaTesters(__value6); + } + else if (BuildBetaDetails is { } __value7 && buildBetaDetails != null) + { + return buildBetaDetails(__value7); + } + else if (BuildBundles is { } __value8 && buildBundles != null) + { + return buildBundles(__value8); + } + else if (BuildIcons is { } __value9 && buildIcons != null) + { + return buildIcons(__value9); + } + else if (BuildUploads is { } __value10 && buildUploads != null) + { + return buildUploads(__value10); + } + else if (PreReleaseVersions is { } __value11 && preReleaseVersions != null) + { + return preReleaseVersions(__value11); } return default(TResult); @@ -270,11 +891,29 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? appEncryptionDeclarations1 = null, + + global::System.Action? appStoreVersions = null, + + global::System.Action? appEncryptionDeclarations2 = null, - global::System.Action? bundleIdCapabilities = null, + global::System.Action? betaAppReviewSubmissions = null, - global::System.Action? profiles = null, + global::System.Action? betaBuildLocalizations = null, + + global::System.Action? betaGroups = null, + + global::System.Action? betaTesters = null, + + global::System.Action? buildBetaDetails = null, + + global::System.Action? buildBundles = null, + + global::System.Action? buildIcons = null, + + global::System.Action? buildUploads = null, + + global::System.Action? preReleaseVersions = null, bool validate = true) { if (validate) @@ -282,17 +921,53 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (AppEncryptionDeclarations1 is { } __value0) + { + appEncryptionDeclarations1?.Invoke(__value0); + } + else if (AppStoreVersions is { } __value1) + { + appStoreVersions?.Invoke(__value1); + } + else if (AppEncryptionDeclarations2 is { } __value2) + { + appEncryptionDeclarations2?.Invoke(__value2); + } + else if (BetaAppReviewSubmissions is { } __value3) + { + betaAppReviewSubmissions?.Invoke(__value3); + } + else if (BetaBuildLocalizations is { } __value4) + { + betaBuildLocalizations?.Invoke(__value4); + } + else if (BetaGroups is { } __value5) + { + betaGroups?.Invoke(__value5); + } + else if (BetaTesters is { } __value6) + { + betaTesters?.Invoke(__value6); + } + else if (BuildBetaDetails is { } __value7) { - apps?.Invoke(__value0); + buildBetaDetails?.Invoke(__value7); } - else if (BundleIdCapabilities is { } __value1) + else if (BuildBundles is { } __value8) { - bundleIdCapabilities?.Invoke(__value1); + buildBundles?.Invoke(__value8); } - else if (Profiles is { } __value2) + else if (BuildIcons is { } __value9) { - profiles?.Invoke(__value2); + buildIcons?.Invoke(__value9); + } + else if (BuildUploads is { } __value10) + { + buildUploads?.Invoke(__value10); + } + else if (PreReleaseVersions is { } __value11) + { + preReleaseVersions?.Invoke(__value11); } } @@ -300,9 +975,18 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? bundleIdCapabilities = null, - global::System.Action? profiles = null, + global::System.Action? appEncryptionDeclarations1 = null, + global::System.Action? appStoreVersions = null, + global::System.Action? appEncryptionDeclarations2 = null, + global::System.Action? betaAppReviewSubmissions = null, + global::System.Action? betaBuildLocalizations = null, + global::System.Action? betaGroups = null, + global::System.Action? betaTesters = null, + global::System.Action? buildBetaDetails = null, + global::System.Action? buildBundles = null, + global::System.Action? buildIcons = null, + global::System.Action? buildUploads = null, + global::System.Action? preReleaseVersions = null, bool validate = true) { if (validate) @@ -310,17 +994,53 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (AppEncryptionDeclarations1 is { } __value0) + { + appEncryptionDeclarations1?.Invoke(__value0); + } + else if (AppStoreVersions is { } __value1) + { + appStoreVersions?.Invoke(__value1); + } + else if (AppEncryptionDeclarations2 is { } __value2) + { + appEncryptionDeclarations2?.Invoke(__value2); + } + else if (BetaAppReviewSubmissions is { } __value3) + { + betaAppReviewSubmissions?.Invoke(__value3); + } + else if (BetaBuildLocalizations is { } __value4) + { + betaBuildLocalizations?.Invoke(__value4); + } + else if (BetaGroups is { } __value5) + { + betaGroups?.Invoke(__value5); + } + else if (BetaTesters is { } __value6) + { + betaTesters?.Invoke(__value6); + } + else if (BuildBetaDetails is { } __value7) + { + buildBetaDetails?.Invoke(__value7); + } + else if (BuildBundles is { } __value8) + { + buildBundles?.Invoke(__value8); + } + else if (BuildIcons is { } __value9) { - apps?.Invoke(__value0); + buildIcons?.Invoke(__value9); } - else if (BundleIdCapabilities is { } __value1) + else if (BuildUploads is { } __value10) { - bundleIdCapabilities?.Invoke(__value1); + buildUploads?.Invoke(__value10); } - else if (Profiles is { } __value2) + else if (PreReleaseVersions is { } __value11) { - profiles?.Invoke(__value2); + preReleaseVersions?.Invoke(__value11); } } @@ -331,12 +1051,30 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, + AppEncryptionDeclarations1, + typeof(global::AppStoreConnect.AppEncryptionDeclaration), + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), + AppEncryptionDeclarations2, typeof(global::AppStoreConnect.App), - BundleIdCapabilities, - typeof(global::AppStoreConnect.BundleIdCapability), - Profiles, - typeof(global::AppStoreConnect.Profile), + BetaAppReviewSubmissions, + typeof(global::AppStoreConnect.BetaAppReviewSubmission), + BetaBuildLocalizations, + typeof(global::AppStoreConnect.BetaBuildLocalization), + BetaGroups, + typeof(global::AppStoreConnect.BetaGroup), + BetaTesters, + typeof(global::AppStoreConnect.BetaTester), + BuildBetaDetails, + typeof(global::AppStoreConnect.BuildBetaDetail), + BuildBundles, + typeof(global::AppStoreConnect.BuildBundle), + BuildIcons, + typeof(global::AppStoreConnect.BuildIcon), + BuildUploads, + typeof(global::AppStoreConnect.BuildUpload), + PreReleaseVersions, + typeof(global::AppStoreConnect.PrereleaseVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +1091,18 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem64 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIdCapabilities, other.BundleIdCapabilities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Profiles, other.Profiles) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations1, other.AppEncryptionDeclarations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations2, other.AppEncryptionDeclarations2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppReviewSubmissions, other.BetaAppReviewSubmissions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaBuildLocalizations, other.BetaBuildLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildBetaDetails, other.BuildBetaDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildBundles, other.BuildBundles) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons, other.BuildIcons) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploads, other.BuildUploads) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PreReleaseVersions, other.PreReleaseVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem65.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem65.g.cs index a8cbd9a9b..2e133e46f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem65.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem65.g.cs @@ -12,118 +12,497 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations1 { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.AppEncryptionDeclaration? AppEncryptionDeclarations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations1))] #endif - public bool IsApps => Apps != null; + public bool IsAppEncryptionDeclarations1 => AppEncryptionDeclarations1 != null; /// /// /// - public bool TryPickApps( + public bool TryPickAppEncryptionDeclarations1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppEncryptionDeclaration? value) + { + value = AppEncryptionDeclarations1; + return IsAppEncryptionDeclarations1; + } + + /// + /// + /// + public global::AppStoreConnect.AppEncryptionDeclaration PickAppEncryptionDeclarations1() => AppEncryptionDeclarations1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } +#else + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] +#endif + public bool IsAppStoreVersions => AppStoreVersions != null; + + /// + /// + /// + public bool TryPickAppStoreVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersion? value) + { + value = AppStoreVersions; + return IsAppStoreVersions; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.App? AppEncryptionDeclarations2 { get; init; } +#else + public global::AppStoreConnect.App? AppEncryptionDeclarations2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppEncryptionDeclarations2))] +#endif + public bool IsAppEncryptionDeclarations2 => AppEncryptionDeclarations2 != null; + + /// + /// + /// + public bool TryPickAppEncryptionDeclarations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.App? value) { - value = Apps; - return IsApps; + value = AppEncryptionDeclarations2; + return IsAppEncryptionDeclarations2; + } + + /// + /// + /// + public global::AppStoreConnect.App PickAppEncryptionDeclarations2() => AppEncryptionDeclarations2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppEncryptionDeclarations2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaAppReviewSubmission? BetaAppReviewSubmissions { get; init; } +#else + public global::AppStoreConnect.BetaAppReviewSubmission? BetaAppReviewSubmissions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaAppReviewSubmissions))] +#endif + public bool IsBetaAppReviewSubmissions => BetaAppReviewSubmissions != null; + + /// + /// + /// + public bool TryPickBetaAppReviewSubmissions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaAppReviewSubmission? value) + { + value = BetaAppReviewSubmissions; + return IsBetaAppReviewSubmissions; + } + + /// + /// + /// + public global::AppStoreConnect.BetaAppReviewSubmission PickBetaAppReviewSubmissions() => BetaAppReviewSubmissions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaAppReviewSubmissions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaBuildLocalization? BetaBuildLocalizations { get; init; } +#else + public global::AppStoreConnect.BetaBuildLocalization? BetaBuildLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaBuildLocalizations))] +#endif + public bool IsBetaBuildLocalizations => BetaBuildLocalizations != null; + + /// + /// + /// + public bool TryPickBetaBuildLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaBuildLocalization? value) + { + value = BetaBuildLocalizations; + return IsBetaBuildLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.BetaBuildLocalization PickBetaBuildLocalizations() => BetaBuildLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaBuildLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaGroup? BetaGroups { get; init; } +#else + public global::AppStoreConnect.BetaGroup? BetaGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaGroups))] +#endif + public bool IsBetaGroups => BetaGroups != null; + + /// + /// + /// + public bool TryPickBetaGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaGroup? value) + { + value = BetaGroups; + return IsBetaGroups; + } + + /// + /// + /// + public global::AppStoreConnect.BetaGroup PickBetaGroups() => BetaGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BetaTester? BetaTesters { get; init; } +#else + public global::AppStoreConnect.BetaTester? BetaTesters { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BetaTesters))] +#endif + public bool IsBetaTesters => BetaTesters != null; + + /// + /// + /// + public bool TryPickBetaTesters( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BetaTester? value) + { + value = BetaTesters; + return IsBetaTesters; + } + + /// + /// + /// + public global::AppStoreConnect.BetaTester PickBetaTesters() => BetaTesters is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BetaTesters' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BuildBetaDetail? BuildBetaDetails { get; init; } +#else + public global::AppStoreConnect.BuildBetaDetail? BuildBetaDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildBetaDetails))] +#endif + public bool IsBuildBetaDetails => BuildBetaDetails != null; + + /// + /// + /// + public bool TryPickBuildBetaDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BuildBetaDetail? value) + { + value = BuildBetaDetails; + return IsBuildBetaDetails; + } + + /// + /// + /// + public global::AppStoreConnect.BuildBetaDetail PickBuildBetaDetails() => BuildBetaDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildBetaDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BuildBundle? BuildBundles { get; init; } +#else + public global::AppStoreConnect.BuildBundle? BuildBundles { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildBundles))] +#endif + public bool IsBuildBundles => BuildBundles != null; + + /// + /// + /// + public bool TryPickBuildBundles( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BuildBundle? value) + { + value = BuildBundles; + return IsBuildBundles; + } + + /// + /// + /// + public global::AppStoreConnect.BuildBundle PickBuildBundles() => BuildBundles is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildBundles' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.BuildIcon? BuildIcons { get; init; } +#else + public global::AppStoreConnect.BuildIcon? BuildIcons { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildIcons))] +#endif + public bool IsBuildIcons => BuildIcons != null; + + /// + /// + /// + public bool TryPickBuildIcons( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.BuildIcon? value) + { + value = BuildIcons; + return IsBuildIcons; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.BuildIcon PickBuildIcons() => BuildIcons is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildIcons' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BundleIdCapability? BundleIdCapabilities { get; init; } + public global::AppStoreConnect.BuildUpload? BuildUploads { get; init; } #else - public global::AppStoreConnect.BundleIdCapability? BundleIdCapabilities { get; } + public global::AppStoreConnect.BuildUpload? BuildUploads { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIdCapabilities))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BuildUploads))] #endif - public bool IsBundleIdCapabilities => BundleIdCapabilities != null; + public bool IsBuildUploads => BuildUploads != null; /// /// /// - public bool TryPickBundleIdCapabilities( + public bool TryPickBuildUploads( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BundleIdCapability? value) + out global::AppStoreConnect.BuildUpload? value) { - value = BundleIdCapabilities; - return IsBundleIdCapabilities; + value = BuildUploads; + return IsBuildUploads; } /// /// /// - public global::AppStoreConnect.BundleIdCapability PickBundleIdCapabilities() => BundleIdCapabilities is { } value + public global::AppStoreConnect.BuildUpload PickBuildUploads() => BuildUploads is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIdCapabilities' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BuildUploads' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Profile? Profiles { get; init; } + public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; init; } #else - public global::AppStoreConnect.Profile? Profiles { get; } + public global::AppStoreConnect.PrereleaseVersion? PreReleaseVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Profiles))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PreReleaseVersions))] #endif - public bool IsProfiles => Profiles != null; + public bool IsPreReleaseVersions => PreReleaseVersions != null; /// /// /// - public bool TryPickProfiles( + public bool TryPickPreReleaseVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Profile? value) + out global::AppStoreConnect.PrereleaseVersion? value) { - value = Profiles; - return IsProfiles; + value = PreReleaseVersions; + return IsPreReleaseVersions; } /// /// /// - public global::AppStoreConnect.Profile PickProfiles() => Profiles is { } value + public global::AppStoreConnect.PrereleaseVersion PickPreReleaseVersions() => PreReleaseVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Profiles' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'PreReleaseVersions' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem65(global::AppStoreConnect.AppEncryptionDeclaration value) => new IncludedItem65((global::AppStoreConnect.AppEncryptionDeclaration?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppEncryptionDeclaration?(IncludedItem65 @this) => @this.AppEncryptionDeclarations1; + + /// + /// + /// + public IncludedItem65(global::AppStoreConnect.AppEncryptionDeclaration? value) + { + AppEncryptionDeclarations1 = value; + } + + /// + /// + /// + public static IncludedItem65 FromAppEncryptionDeclarations1(global::AppStoreConnect.AppEncryptionDeclaration? value) => new IncludedItem65(value); + + /// + /// + /// + public static implicit operator IncludedItem65(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem65((global::AppStoreConnect.AppStoreVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem65 @this) => @this.AppStoreVersions; + + /// + /// + /// + public IncludedItem65(global::AppStoreConnect.AppStoreVersion? value) + { + AppStoreVersions = value; + } + + /// + /// + /// + public static IncludedItem65 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem65(value); + /// /// /// @@ -132,100 +511,297 @@ public bool TryPickProfiles( /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem65 @this) => @this.Apps; + public static implicit operator global::AppStoreConnect.App?(IncludedItem65 @this) => @this.AppEncryptionDeclarations2; /// /// /// public IncludedItem65(global::AppStoreConnect.App? value) { - Apps = value; + AppEncryptionDeclarations2 = value; + } + + /// + /// + /// + public static IncludedItem65 FromAppEncryptionDeclarations2(global::AppStoreConnect.App? value) => new IncludedItem65(value); + + /// + /// + /// + public static implicit operator IncludedItem65(global::AppStoreConnect.BetaAppReviewSubmission value) => new IncludedItem65((global::AppStoreConnect.BetaAppReviewSubmission?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaAppReviewSubmission?(IncludedItem65 @this) => @this.BetaAppReviewSubmissions; + + /// + /// + /// + public IncludedItem65(global::AppStoreConnect.BetaAppReviewSubmission? value) + { + BetaAppReviewSubmissions = value; + } + + /// + /// + /// + public static IncludedItem65 FromBetaAppReviewSubmissions(global::AppStoreConnect.BetaAppReviewSubmission? value) => new IncludedItem65(value); + + /// + /// + /// + public static implicit operator IncludedItem65(global::AppStoreConnect.BetaBuildLocalization value) => new IncludedItem65((global::AppStoreConnect.BetaBuildLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaBuildLocalization?(IncludedItem65 @this) => @this.BetaBuildLocalizations; + + /// + /// + /// + public IncludedItem65(global::AppStoreConnect.BetaBuildLocalization? value) + { + BetaBuildLocalizations = value; + } + + /// + /// + /// + public static IncludedItem65 FromBetaBuildLocalizations(global::AppStoreConnect.BetaBuildLocalization? value) => new IncludedItem65(value); + + /// + /// + /// + public static implicit operator IncludedItem65(global::AppStoreConnect.BetaGroup value) => new IncludedItem65((global::AppStoreConnect.BetaGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaGroup?(IncludedItem65 @this) => @this.BetaGroups; + + /// + /// + /// + public IncludedItem65(global::AppStoreConnect.BetaGroup? value) + { + BetaGroups = value; + } + + /// + /// + /// + public static IncludedItem65 FromBetaGroups(global::AppStoreConnect.BetaGroup? value) => new IncludedItem65(value); + + /// + /// + /// + public static implicit operator IncludedItem65(global::AppStoreConnect.BetaTester value) => new IncludedItem65((global::AppStoreConnect.BetaTester?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BetaTester?(IncludedItem65 @this) => @this.BetaTesters; + + /// + /// + /// + public IncludedItem65(global::AppStoreConnect.BetaTester? value) + { + BetaTesters = value; } /// /// /// - public static IncludedItem65 FromApps(global::AppStoreConnect.App? value) => new IncludedItem65(value); + public static IncludedItem65 FromBetaTesters(global::AppStoreConnect.BetaTester? value) => new IncludedItem65(value); /// /// /// - public static implicit operator IncludedItem65(global::AppStoreConnect.BundleIdCapability value) => new IncludedItem65((global::AppStoreConnect.BundleIdCapability?)value); + public static implicit operator IncludedItem65(global::AppStoreConnect.BuildBetaDetail value) => new IncludedItem65((global::AppStoreConnect.BuildBetaDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BundleIdCapability?(IncludedItem65 @this) => @this.BundleIdCapabilities; + public static implicit operator global::AppStoreConnect.BuildBetaDetail?(IncludedItem65 @this) => @this.BuildBetaDetails; /// /// /// - public IncludedItem65(global::AppStoreConnect.BundleIdCapability? value) + public IncludedItem65(global::AppStoreConnect.BuildBetaDetail? value) { - BundleIdCapabilities = value; + BuildBetaDetails = value; } /// /// /// - public static IncludedItem65 FromBundleIdCapabilities(global::AppStoreConnect.BundleIdCapability? value) => new IncludedItem65(value); + public static IncludedItem65 FromBuildBetaDetails(global::AppStoreConnect.BuildBetaDetail? value) => new IncludedItem65(value); /// /// /// - public static implicit operator IncludedItem65(global::AppStoreConnect.Profile value) => new IncludedItem65((global::AppStoreConnect.Profile?)value); + public static implicit operator IncludedItem65(global::AppStoreConnect.BuildBundle value) => new IncludedItem65((global::AppStoreConnect.BuildBundle?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Profile?(IncludedItem65 @this) => @this.Profiles; + public static implicit operator global::AppStoreConnect.BuildBundle?(IncludedItem65 @this) => @this.BuildBundles; /// /// /// - public IncludedItem65(global::AppStoreConnect.Profile? value) + public IncludedItem65(global::AppStoreConnect.BuildBundle? value) { - Profiles = value; + BuildBundles = value; } /// /// /// - public static IncludedItem65 FromProfiles(global::AppStoreConnect.Profile? value) => new IncludedItem65(value); + public static IncludedItem65 FromBuildBundles(global::AppStoreConnect.BuildBundle? value) => new IncludedItem65(value); + + /// + /// + /// + public static implicit operator IncludedItem65(global::AppStoreConnect.BuildIcon value) => new IncludedItem65((global::AppStoreConnect.BuildIcon?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BuildIcon?(IncludedItem65 @this) => @this.BuildIcons; + + /// + /// + /// + public IncludedItem65(global::AppStoreConnect.BuildIcon? value) + { + BuildIcons = value; + } + + /// + /// + /// + public static IncludedItem65 FromBuildIcons(global::AppStoreConnect.BuildIcon? value) => new IncludedItem65(value); + + /// + /// + /// + public static implicit operator IncludedItem65(global::AppStoreConnect.BuildUpload value) => new IncludedItem65((global::AppStoreConnect.BuildUpload?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.BuildUpload?(IncludedItem65 @this) => @this.BuildUploads; + + /// + /// + /// + public IncludedItem65(global::AppStoreConnect.BuildUpload? value) + { + BuildUploads = value; + } + + /// + /// + /// + public static IncludedItem65 FromBuildUploads(global::AppStoreConnect.BuildUpload? value) => new IncludedItem65(value); + + /// + /// + /// + public static implicit operator IncludedItem65(global::AppStoreConnect.PrereleaseVersion value) => new IncludedItem65((global::AppStoreConnect.PrereleaseVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.PrereleaseVersion?(IncludedItem65 @this) => @this.PreReleaseVersions; + + /// + /// + /// + public IncludedItem65(global::AppStoreConnect.PrereleaseVersion? value) + { + PreReleaseVersions = value; + } + + /// + /// + /// + public static IncludedItem65 FromPreReleaseVersions(global::AppStoreConnect.PrereleaseVersion? value) => new IncludedItem65(value); /// /// /// public IncludedItem65( - global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.BundleIdCapability? bundleIdCapabilities, - global::AppStoreConnect.Profile? profiles + global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppEncryptionDeclaration? appEncryptionDeclarations1, + global::AppStoreConnect.AppStoreVersion? appStoreVersions, + global::AppStoreConnect.App? appEncryptionDeclarations2, + global::AppStoreConnect.BetaAppReviewSubmission? betaAppReviewSubmissions, + global::AppStoreConnect.BetaBuildLocalization? betaBuildLocalizations, + global::AppStoreConnect.BetaGroup? betaGroups, + global::AppStoreConnect.BetaTester? betaTesters, + global::AppStoreConnect.BuildBetaDetail? buildBetaDetails, + global::AppStoreConnect.BuildBundle? buildBundles, + global::AppStoreConnect.BuildIcon? buildIcons, + global::AppStoreConnect.BuildUpload? buildUploads, + global::AppStoreConnect.PrereleaseVersion? preReleaseVersions ) { Type = type; - Apps = apps; - BundleIdCapabilities = bundleIdCapabilities; - Profiles = profiles; + AppEncryptionDeclarations1 = appEncryptionDeclarations1; + AppStoreVersions = appStoreVersions; + AppEncryptionDeclarations2 = appEncryptionDeclarations2; + BetaAppReviewSubmissions = betaAppReviewSubmissions; + BetaBuildLocalizations = betaBuildLocalizations; + BetaGroups = betaGroups; + BetaTesters = betaTesters; + BuildBetaDetails = buildBetaDetails; + BuildBundles = buildBundles; + BuildIcons = buildIcons; + BuildUploads = buildUploads; + PreReleaseVersions = preReleaseVersions; } /// /// /// public object? Object => - Profiles as object ?? - BundleIdCapabilities as object ?? - Apps as object + PreReleaseVersions as object ?? + BuildUploads as object ?? + BuildIcons as object ?? + BuildBundles as object ?? + BuildBetaDetails as object ?? + BetaTesters as object ?? + BetaGroups as object ?? + BetaBuildLocalizations as object ?? + BetaAppReviewSubmissions as object ?? + AppEncryptionDeclarations2 as object ?? + AppStoreVersions as object ?? + AppEncryptionDeclarations1 as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - BundleIdCapabilities?.ToString() ?? - Profiles?.ToString() + AppEncryptionDeclarations1?.ToString() ?? + AppStoreVersions?.ToString() ?? + AppEncryptionDeclarations2?.ToString() ?? + BetaAppReviewSubmissions?.ToString() ?? + BetaBuildLocalizations?.ToString() ?? + BetaGroups?.ToString() ?? + BetaTesters?.ToString() ?? + BuildBetaDetails?.ToString() ?? + BuildBundles?.ToString() ?? + BuildIcons?.ToString() ?? + BuildUploads?.ToString() ?? + PreReleaseVersions?.ToString() ; /// @@ -233,16 +809,25 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBundleIdCapabilities && !IsProfiles || !IsApps && IsBundleIdCapabilities && !IsProfiles || !IsApps && !IsBundleIdCapabilities && IsProfiles; + return IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && IsBuildBundles && !IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && IsBuildIcons && !IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && IsBuildUploads && !IsPreReleaseVersions || !IsAppEncryptionDeclarations1 && !IsAppStoreVersions && !IsAppEncryptionDeclarations2 && !IsBetaAppReviewSubmissions && !IsBetaBuildLocalizations && !IsBetaGroups && !IsBetaTesters && !IsBuildBetaDetails && !IsBuildBundles && !IsBuildIcons && !IsBuildUploads && IsPreReleaseVersions; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? bundleIdCapabilities = null, - global::System.Func? profiles = null, + global::System.Func? appEncryptionDeclarations1 = null, + global::System.Func? appStoreVersions = null, + global::System.Func? appEncryptionDeclarations2 = null, + global::System.Func? betaAppReviewSubmissions = null, + global::System.Func? betaBuildLocalizations = null, + global::System.Func? betaGroups = null, + global::System.Func? betaTesters = null, + global::System.Func? buildBetaDetails = null, + global::System.Func? buildBundles = null, + global::System.Func? buildIcons = null, + global::System.Func? buildUploads = null, + global::System.Func? preReleaseVersions = null, bool validate = true) { if (validate) @@ -250,17 +835,53 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (AppEncryptionDeclarations1 is { } __value0 && appEncryptionDeclarations1 != null) + { + return appEncryptionDeclarations1(__value0); + } + else if (AppStoreVersions is { } __value1 && appStoreVersions != null) { - return apps(__value0); + return appStoreVersions(__value1); } - else if (BundleIdCapabilities is { } __value1 && bundleIdCapabilities != null) + else if (AppEncryptionDeclarations2 is { } __value2 && appEncryptionDeclarations2 != null) { - return bundleIdCapabilities(__value1); + return appEncryptionDeclarations2(__value2); } - else if (Profiles is { } __value2 && profiles != null) + else if (BetaAppReviewSubmissions is { } __value3 && betaAppReviewSubmissions != null) { - return profiles(__value2); + return betaAppReviewSubmissions(__value3); + } + else if (BetaBuildLocalizations is { } __value4 && betaBuildLocalizations != null) + { + return betaBuildLocalizations(__value4); + } + else if (BetaGroups is { } __value5 && betaGroups != null) + { + return betaGroups(__value5); + } + else if (BetaTesters is { } __value6 && betaTesters != null) + { + return betaTesters(__value6); + } + else if (BuildBetaDetails is { } __value7 && buildBetaDetails != null) + { + return buildBetaDetails(__value7); + } + else if (BuildBundles is { } __value8 && buildBundles != null) + { + return buildBundles(__value8); + } + else if (BuildIcons is { } __value9 && buildIcons != null) + { + return buildIcons(__value9); + } + else if (BuildUploads is { } __value10 && buildUploads != null) + { + return buildUploads(__value10); + } + else if (PreReleaseVersions is { } __value11 && preReleaseVersions != null) + { + return preReleaseVersions(__value11); } return default(TResult); @@ -270,11 +891,29 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? appEncryptionDeclarations1 = null, + + global::System.Action? appStoreVersions = null, + + global::System.Action? appEncryptionDeclarations2 = null, - global::System.Action? bundleIdCapabilities = null, + global::System.Action? betaAppReviewSubmissions = null, - global::System.Action? profiles = null, + global::System.Action? betaBuildLocalizations = null, + + global::System.Action? betaGroups = null, + + global::System.Action? betaTesters = null, + + global::System.Action? buildBetaDetails = null, + + global::System.Action? buildBundles = null, + + global::System.Action? buildIcons = null, + + global::System.Action? buildUploads = null, + + global::System.Action? preReleaseVersions = null, bool validate = true) { if (validate) @@ -282,17 +921,53 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (AppEncryptionDeclarations1 is { } __value0) + { + appEncryptionDeclarations1?.Invoke(__value0); + } + else if (AppStoreVersions is { } __value1) + { + appStoreVersions?.Invoke(__value1); + } + else if (AppEncryptionDeclarations2 is { } __value2) + { + appEncryptionDeclarations2?.Invoke(__value2); + } + else if (BetaAppReviewSubmissions is { } __value3) + { + betaAppReviewSubmissions?.Invoke(__value3); + } + else if (BetaBuildLocalizations is { } __value4) + { + betaBuildLocalizations?.Invoke(__value4); + } + else if (BetaGroups is { } __value5) + { + betaGroups?.Invoke(__value5); + } + else if (BetaTesters is { } __value6) + { + betaTesters?.Invoke(__value6); + } + else if (BuildBetaDetails is { } __value7) { - apps?.Invoke(__value0); + buildBetaDetails?.Invoke(__value7); } - else if (BundleIdCapabilities is { } __value1) + else if (BuildBundles is { } __value8) { - bundleIdCapabilities?.Invoke(__value1); + buildBundles?.Invoke(__value8); } - else if (Profiles is { } __value2) + else if (BuildIcons is { } __value9) { - profiles?.Invoke(__value2); + buildIcons?.Invoke(__value9); + } + else if (BuildUploads is { } __value10) + { + buildUploads?.Invoke(__value10); + } + else if (PreReleaseVersions is { } __value11) + { + preReleaseVersions?.Invoke(__value11); } } @@ -300,9 +975,18 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? bundleIdCapabilities = null, - global::System.Action? profiles = null, + global::System.Action? appEncryptionDeclarations1 = null, + global::System.Action? appStoreVersions = null, + global::System.Action? appEncryptionDeclarations2 = null, + global::System.Action? betaAppReviewSubmissions = null, + global::System.Action? betaBuildLocalizations = null, + global::System.Action? betaGroups = null, + global::System.Action? betaTesters = null, + global::System.Action? buildBetaDetails = null, + global::System.Action? buildBundles = null, + global::System.Action? buildIcons = null, + global::System.Action? buildUploads = null, + global::System.Action? preReleaseVersions = null, bool validate = true) { if (validate) @@ -310,17 +994,53 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (AppEncryptionDeclarations1 is { } __value0) + { + appEncryptionDeclarations1?.Invoke(__value0); + } + else if (AppStoreVersions is { } __value1) + { + appStoreVersions?.Invoke(__value1); + } + else if (AppEncryptionDeclarations2 is { } __value2) + { + appEncryptionDeclarations2?.Invoke(__value2); + } + else if (BetaAppReviewSubmissions is { } __value3) + { + betaAppReviewSubmissions?.Invoke(__value3); + } + else if (BetaBuildLocalizations is { } __value4) + { + betaBuildLocalizations?.Invoke(__value4); + } + else if (BetaGroups is { } __value5) + { + betaGroups?.Invoke(__value5); + } + else if (BetaTesters is { } __value6) + { + betaTesters?.Invoke(__value6); + } + else if (BuildBetaDetails is { } __value7) + { + buildBetaDetails?.Invoke(__value7); + } + else if (BuildBundles is { } __value8) + { + buildBundles?.Invoke(__value8); + } + else if (BuildIcons is { } __value9) { - apps?.Invoke(__value0); + buildIcons?.Invoke(__value9); } - else if (BundleIdCapabilities is { } __value1) + else if (BuildUploads is { } __value10) { - bundleIdCapabilities?.Invoke(__value1); + buildUploads?.Invoke(__value10); } - else if (Profiles is { } __value2) + else if (PreReleaseVersions is { } __value11) { - profiles?.Invoke(__value2); + preReleaseVersions?.Invoke(__value11); } } @@ -331,12 +1051,30 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, + AppEncryptionDeclarations1, + typeof(global::AppStoreConnect.AppEncryptionDeclaration), + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), + AppEncryptionDeclarations2, typeof(global::AppStoreConnect.App), - BundleIdCapabilities, - typeof(global::AppStoreConnect.BundleIdCapability), - Profiles, - typeof(global::AppStoreConnect.Profile), + BetaAppReviewSubmissions, + typeof(global::AppStoreConnect.BetaAppReviewSubmission), + BetaBuildLocalizations, + typeof(global::AppStoreConnect.BetaBuildLocalization), + BetaGroups, + typeof(global::AppStoreConnect.BetaGroup), + BetaTesters, + typeof(global::AppStoreConnect.BetaTester), + BuildBetaDetails, + typeof(global::AppStoreConnect.BuildBetaDetail), + BuildBundles, + typeof(global::AppStoreConnect.BuildBundle), + BuildIcons, + typeof(global::AppStoreConnect.BuildIcon), + BuildUploads, + typeof(global::AppStoreConnect.BuildUpload), + PreReleaseVersions, + typeof(global::AppStoreConnect.PrereleaseVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +1091,18 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem65 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIdCapabilities, other.BundleIdCapabilities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Profiles, other.Profiles) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations1, other.AppEncryptionDeclarations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppEncryptionDeclarations2, other.AppEncryptionDeclarations2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaAppReviewSubmissions, other.BetaAppReviewSubmissions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaBuildLocalizations, other.BetaBuildLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaGroups, other.BetaGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BetaTesters, other.BetaTesters) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildBetaDetails, other.BuildBetaDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildBundles, other.BuildBundles) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildIcons, other.BuildIcons) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BuildUploads, other.BuildUploads) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PreReleaseVersions, other.PreReleaseVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem66.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem66.g.cs index df358fb04..31b318a1a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem66.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem66.g.cs @@ -12,348 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.Build? Builds { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsBuilds => Builds != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickBuilds( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Build? value) + out global::AppStoreConnect.App? value) { - value = Builds; - return IsBuilds; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CiProduct? CiProducts { get; init; } + public global::AppStoreConnect.BundleIdCapability? BundleIdCapabilities { get; init; } #else - public global::AppStoreConnect.CiProduct? CiProducts { get; } + public global::AppStoreConnect.BundleIdCapability? BundleIdCapabilities { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIdCapabilities))] #endif - public bool IsCiProducts => CiProducts != null; + public bool IsBundleIdCapabilities => BundleIdCapabilities != null; /// /// /// - public bool TryPickCiProducts( + public bool TryPickBundleIdCapabilities( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CiProduct? value) + out global::AppStoreConnect.BundleIdCapability? value) { - value = CiProducts; - return IsCiProducts; + value = BundleIdCapabilities; + return IsBundleIdCapabilities; } /// /// /// - public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value + public global::AppStoreConnect.BundleIdCapability PickBundleIdCapabilities() => BundleIdCapabilities is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIdCapabilities' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CiWorkflow? CiWorkflows { get; init; } + public global::AppStoreConnect.Profile? Profiles { get; init; } #else - public global::AppStoreConnect.CiWorkflow? CiWorkflows { get; } + public global::AppStoreConnect.Profile? Profiles { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiWorkflows))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Profiles))] #endif - public bool IsCiWorkflows => CiWorkflows != null; + public bool IsProfiles => Profiles != null; /// /// /// - public bool TryPickCiWorkflows( + public bool TryPickProfiles( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CiWorkflow? value) + out global::AppStoreConnect.Profile? value) { - value = CiWorkflows; - return IsCiWorkflows; + value = Profiles; + return IsProfiles; } /// /// /// - public global::AppStoreConnect.CiWorkflow PickCiWorkflows() => CiWorkflows is { } value + public global::AppStoreConnect.Profile PickProfiles() => Profiles is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiWorkflows' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; init; } -#else - public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmGitReferences))] -#endif - public bool IsScmGitReferences => ScmGitReferences != null; - - /// - /// - /// - public bool TryPickScmGitReferences( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.ScmGitReference? value) - { - value = ScmGitReferences; - return IsScmGitReferences; - } - - /// - /// - /// - public global::AppStoreConnect.ScmGitReference PickScmGitReferences() => ScmGitReferences is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmGitReferences' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmPullRequest? ScmPullRequests { get; init; } -#else - public global::AppStoreConnect.ScmPullRequest? ScmPullRequests { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmPullRequests))] -#endif - public bool IsScmPullRequests => ScmPullRequests != null; - - /// - /// - /// - public bool TryPickScmPullRequests( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.ScmPullRequest? value) - { - value = ScmPullRequests; - return IsScmPullRequests; - } - - /// - /// - /// - public global::AppStoreConnect.ScmPullRequest PickScmPullRequests() => ScmPullRequests is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmPullRequests' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem66(global::AppStoreConnect.Build value) => new IncludedItem66((global::AppStoreConnect.Build?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem66 @this) => @this.Builds; - - /// - /// - /// - public IncludedItem66(global::AppStoreConnect.Build? value) - { - Builds = value; - } - - /// - /// - /// - public static IncludedItem66 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem66(value); - - /// - /// - /// - public static implicit operator IncludedItem66(global::AppStoreConnect.CiProduct value) => new IncludedItem66((global::AppStoreConnect.CiProduct?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem66 @this) => @this.CiProducts; - + : throw new global::System.InvalidOperationException($"Expected union variant 'Profiles' but the value was {ToString()}."); /// /// /// - public IncludedItem66(global::AppStoreConnect.CiProduct? value) - { - CiProducts = value; - } + public static implicit operator IncludedItem66(global::AppStoreConnect.App value) => new IncludedItem66((global::AppStoreConnect.App?)value); /// /// /// - public static IncludedItem66 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem66(value); + public static implicit operator global::AppStoreConnect.App?(IncludedItem66 @this) => @this.Apps; /// /// /// - public static implicit operator IncludedItem66(global::AppStoreConnect.CiWorkflow value) => new IncludedItem66((global::AppStoreConnect.CiWorkflow?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.CiWorkflow?(IncludedItem66 @this) => @this.CiWorkflows; - - /// - /// - /// - public IncludedItem66(global::AppStoreConnect.CiWorkflow? value) + public IncludedItem66(global::AppStoreConnect.App? value) { - CiWorkflows = value; + Apps = value; } /// /// /// - public static IncludedItem66 FromCiWorkflows(global::AppStoreConnect.CiWorkflow? value) => new IncludedItem66(value); + public static IncludedItem66 FromApps(global::AppStoreConnect.App? value) => new IncludedItem66(value); /// /// /// - public static implicit operator IncludedItem66(global::AppStoreConnect.ScmGitReference value) => new IncludedItem66((global::AppStoreConnect.ScmGitReference?)value); + public static implicit operator IncludedItem66(global::AppStoreConnect.BundleIdCapability value) => new IncludedItem66((global::AppStoreConnect.BundleIdCapability?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ScmGitReference?(IncludedItem66 @this) => @this.ScmGitReferences; + public static implicit operator global::AppStoreConnect.BundleIdCapability?(IncludedItem66 @this) => @this.BundleIdCapabilities; /// /// /// - public IncludedItem66(global::AppStoreConnect.ScmGitReference? value) + public IncludedItem66(global::AppStoreConnect.BundleIdCapability? value) { - ScmGitReferences = value; + BundleIdCapabilities = value; } /// /// /// - public static IncludedItem66 FromScmGitReferences(global::AppStoreConnect.ScmGitReference? value) => new IncludedItem66(value); + public static IncludedItem66 FromBundleIdCapabilities(global::AppStoreConnect.BundleIdCapability? value) => new IncludedItem66(value); /// /// /// - public static implicit operator IncludedItem66(global::AppStoreConnect.ScmPullRequest value) => new IncludedItem66((global::AppStoreConnect.ScmPullRequest?)value); + public static implicit operator IncludedItem66(global::AppStoreConnect.Profile value) => new IncludedItem66((global::AppStoreConnect.Profile?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ScmPullRequest?(IncludedItem66 @this) => @this.ScmPullRequests; + public static implicit operator global::AppStoreConnect.Profile?(IncludedItem66 @this) => @this.Profiles; /// /// /// - public IncludedItem66(global::AppStoreConnect.ScmPullRequest? value) + public IncludedItem66(global::AppStoreConnect.Profile? value) { - ScmPullRequests = value; + Profiles = value; } /// /// /// - public static IncludedItem66 FromScmPullRequests(global::AppStoreConnect.ScmPullRequest? value) => new IncludedItem66(value); + public static IncludedItem66 FromProfiles(global::AppStoreConnect.Profile? value) => new IncludedItem66(value); /// /// /// public IncludedItem66( - global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.Build? builds, - global::AppStoreConnect.CiProduct? ciProducts, - global::AppStoreConnect.CiWorkflow? ciWorkflows, - global::AppStoreConnect.ScmGitReference? scmGitReferences, - global::AppStoreConnect.ScmPullRequest? scmPullRequests + global::AppStoreConnect.BundleIdsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.BundleIdCapability? bundleIdCapabilities, + global::AppStoreConnect.Profile? profiles ) { Type = type; - Builds = builds; - CiProducts = ciProducts; - CiWorkflows = ciWorkflows; - ScmGitReferences = scmGitReferences; - ScmPullRequests = scmPullRequests; + Apps = apps; + BundleIdCapabilities = bundleIdCapabilities; + Profiles = profiles; } /// /// /// public object? Object => - ScmPullRequests as object ?? - ScmGitReferences as object ?? - CiWorkflows as object ?? - CiProducts as object ?? - Builds as object + Profiles as object ?? + BundleIdCapabilities as object ?? + Apps as object ; /// /// /// public override string? ToString() => - Builds?.ToString() ?? - CiProducts?.ToString() ?? - CiWorkflows?.ToString() ?? - ScmGitReferences?.ToString() ?? - ScmPullRequests?.ToString() + Apps?.ToString() ?? + BundleIdCapabilities?.ToString() ?? + Profiles?.ToString() ; /// @@ -361,18 +233,16 @@ Builds as object /// public bool Validate() { - return IsBuilds && !IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && !IsCiWorkflows && IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && IsScmPullRequests; + return IsApps && !IsBundleIdCapabilities && !IsProfiles || !IsApps && IsBundleIdCapabilities && !IsProfiles || !IsApps && !IsBundleIdCapabilities && IsProfiles; } /// /// /// public TResult? Match( - global::System.Func? builds = null, - global::System.Func? ciProducts = null, - global::System.Func? ciWorkflows = null, - global::System.Func? scmGitReferences = null, - global::System.Func? scmPullRequests = null, + global::System.Func? apps = null, + global::System.Func? bundleIdCapabilities = null, + global::System.Func? profiles = null, bool validate = true) { if (validate) @@ -380,25 +250,17 @@ public bool Validate() Validate(); } - if (Builds is { } __value0 && builds != null) - { - return builds(__value0); - } - else if (CiProducts is { } __value1 && ciProducts != null) - { - return ciProducts(__value1); - } - else if (CiWorkflows is { } __value2 && ciWorkflows != null) + if (Apps is { } __value0 && apps != null) { - return ciWorkflows(__value2); + return apps(__value0); } - else if (ScmGitReferences is { } __value3 && scmGitReferences != null) + else if (BundleIdCapabilities is { } __value1 && bundleIdCapabilities != null) { - return scmGitReferences(__value3); + return bundleIdCapabilities(__value1); } - else if (ScmPullRequests is { } __value4 && scmPullRequests != null) + else if (Profiles is { } __value2 && profiles != null) { - return scmPullRequests(__value4); + return profiles(__value2); } return default(TResult); @@ -408,15 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? builds = null, - - global::System.Action? ciProducts = null, + global::System.Action? apps = null, - global::System.Action? ciWorkflows = null, + global::System.Action? bundleIdCapabilities = null, - global::System.Action? scmGitReferences = null, - - global::System.Action? scmPullRequests = null, + global::System.Action? profiles = null, bool validate = true) { if (validate) @@ -424,25 +282,17 @@ public void Match( Validate(); } - if (Builds is { } __value0) - { - builds?.Invoke(__value0); - } - else if (CiProducts is { } __value1) + if (Apps is { } __value0) { - ciProducts?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (CiWorkflows is { } __value2) + else if (BundleIdCapabilities is { } __value1) { - ciWorkflows?.Invoke(__value2); + bundleIdCapabilities?.Invoke(__value1); } - else if (ScmGitReferences is { } __value3) + else if (Profiles is { } __value2) { - scmGitReferences?.Invoke(__value3); - } - else if (ScmPullRequests is { } __value4) - { - scmPullRequests?.Invoke(__value4); + profiles?.Invoke(__value2); } } @@ -450,11 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? builds = null, - global::System.Action? ciProducts = null, - global::System.Action? ciWorkflows = null, - global::System.Action? scmGitReferences = null, - global::System.Action? scmPullRequests = null, + global::System.Action? apps = null, + global::System.Action? bundleIdCapabilities = null, + global::System.Action? profiles = null, bool validate = true) { if (validate) @@ -462,25 +310,17 @@ public void Switch( Validate(); } - if (Builds is { } __value0) - { - builds?.Invoke(__value0); - } - else if (CiProducts is { } __value1) - { - ciProducts?.Invoke(__value1); - } - else if (CiWorkflows is { } __value2) + if (Apps is { } __value0) { - ciWorkflows?.Invoke(__value2); + apps?.Invoke(__value0); } - else if (ScmGitReferences is { } __value3) + else if (BundleIdCapabilities is { } __value1) { - scmGitReferences?.Invoke(__value3); + bundleIdCapabilities?.Invoke(__value1); } - else if (ScmPullRequests is { } __value4) + else if (Profiles is { } __value2) { - scmPullRequests?.Invoke(__value4); + profiles?.Invoke(__value2); } } @@ -491,16 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - Builds, - typeof(global::AppStoreConnect.Build), - CiProducts, - typeof(global::AppStoreConnect.CiProduct), - CiWorkflows, - typeof(global::AppStoreConnect.CiWorkflow), - ScmGitReferences, - typeof(global::AppStoreConnect.ScmGitReference), - ScmPullRequests, - typeof(global::AppStoreConnect.ScmPullRequest), + Apps, + typeof(global::AppStoreConnect.App), + BundleIdCapabilities, + typeof(global::AppStoreConnect.BundleIdCapability), + Profiles, + typeof(global::AppStoreConnect.Profile), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -517,11 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem66 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiWorkflows, other.CiWorkflows) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmGitReferences, other.ScmGitReferences) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmPullRequests, other.ScmPullRequests) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIdCapabilities, other.BundleIdCapabilities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Profiles, other.Profiles) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem67.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem67.g.cs index da8f0db80..7892443c4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem67.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem67.g.cs @@ -12,348 +12,220 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Build? Builds { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.Build? Builds { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsBuilds => Builds != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickBuilds( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Build? value) + out global::AppStoreConnect.App? value) { - value = Builds; - return IsBuilds; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.Build PickBuilds() => Builds is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CiProduct? CiProducts { get; init; } + public global::AppStoreConnect.BundleIdCapability? BundleIdCapabilities { get; init; } #else - public global::AppStoreConnect.CiProduct? CiProducts { get; } + public global::AppStoreConnect.BundleIdCapability? BundleIdCapabilities { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIdCapabilities))] #endif - public bool IsCiProducts => CiProducts != null; + public bool IsBundleIdCapabilities => BundleIdCapabilities != null; /// /// /// - public bool TryPickCiProducts( + public bool TryPickBundleIdCapabilities( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CiProduct? value) + out global::AppStoreConnect.BundleIdCapability? value) { - value = CiProducts; - return IsCiProducts; + value = BundleIdCapabilities; + return IsBundleIdCapabilities; } /// /// /// - public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value + public global::AppStoreConnect.BundleIdCapability PickBundleIdCapabilities() => BundleIdCapabilities is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIdCapabilities' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CiWorkflow? CiWorkflows { get; init; } + public global::AppStoreConnect.Profile? Profiles { get; init; } #else - public global::AppStoreConnect.CiWorkflow? CiWorkflows { get; } + public global::AppStoreConnect.Profile? Profiles { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiWorkflows))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Profiles))] #endif - public bool IsCiWorkflows => CiWorkflows != null; + public bool IsProfiles => Profiles != null; /// /// /// - public bool TryPickCiWorkflows( + public bool TryPickProfiles( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CiWorkflow? value) + out global::AppStoreConnect.Profile? value) { - value = CiWorkflows; - return IsCiWorkflows; + value = Profiles; + return IsProfiles; } /// /// /// - public global::AppStoreConnect.CiWorkflow PickCiWorkflows() => CiWorkflows is { } value + public global::AppStoreConnect.Profile PickProfiles() => Profiles is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiWorkflows' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; init; } -#else - public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmGitReferences))] -#endif - public bool IsScmGitReferences => ScmGitReferences != null; - - /// - /// - /// - public bool TryPickScmGitReferences( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.ScmGitReference? value) - { - value = ScmGitReferences; - return IsScmGitReferences; - } - - /// - /// - /// - public global::AppStoreConnect.ScmGitReference PickScmGitReferences() => ScmGitReferences is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmGitReferences' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmPullRequest? ScmPullRequests { get; init; } -#else - public global::AppStoreConnect.ScmPullRequest? ScmPullRequests { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmPullRequests))] -#endif - public bool IsScmPullRequests => ScmPullRequests != null; - - /// - /// - /// - public bool TryPickScmPullRequests( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.ScmPullRequest? value) - { - value = ScmPullRequests; - return IsScmPullRequests; - } - - /// - /// - /// - public global::AppStoreConnect.ScmPullRequest PickScmPullRequests() => ScmPullRequests is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmPullRequests' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem67(global::AppStoreConnect.Build value) => new IncludedItem67((global::AppStoreConnect.Build?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.Build?(IncludedItem67 @this) => @this.Builds; - - /// - /// - /// - public IncludedItem67(global::AppStoreConnect.Build? value) - { - Builds = value; - } - - /// - /// - /// - public static IncludedItem67 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem67(value); - - /// - /// - /// - public static implicit operator IncludedItem67(global::AppStoreConnect.CiProduct value) => new IncludedItem67((global::AppStoreConnect.CiProduct?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem67 @this) => @this.CiProducts; - + : throw new global::System.InvalidOperationException($"Expected union variant 'Profiles' but the value was {ToString()}."); /// /// /// - public IncludedItem67(global::AppStoreConnect.CiProduct? value) - { - CiProducts = value; - } + public static implicit operator IncludedItem67(global::AppStoreConnect.App value) => new IncludedItem67((global::AppStoreConnect.App?)value); /// /// /// - public static IncludedItem67 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem67(value); + public static implicit operator global::AppStoreConnect.App?(IncludedItem67 @this) => @this.Apps; /// /// /// - public static implicit operator IncludedItem67(global::AppStoreConnect.CiWorkflow value) => new IncludedItem67((global::AppStoreConnect.CiWorkflow?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.CiWorkflow?(IncludedItem67 @this) => @this.CiWorkflows; - - /// - /// - /// - public IncludedItem67(global::AppStoreConnect.CiWorkflow? value) + public IncludedItem67(global::AppStoreConnect.App? value) { - CiWorkflows = value; + Apps = value; } /// /// /// - public static IncludedItem67 FromCiWorkflows(global::AppStoreConnect.CiWorkflow? value) => new IncludedItem67(value); + public static IncludedItem67 FromApps(global::AppStoreConnect.App? value) => new IncludedItem67(value); /// /// /// - public static implicit operator IncludedItem67(global::AppStoreConnect.ScmGitReference value) => new IncludedItem67((global::AppStoreConnect.ScmGitReference?)value); + public static implicit operator IncludedItem67(global::AppStoreConnect.BundleIdCapability value) => new IncludedItem67((global::AppStoreConnect.BundleIdCapability?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ScmGitReference?(IncludedItem67 @this) => @this.ScmGitReferences; + public static implicit operator global::AppStoreConnect.BundleIdCapability?(IncludedItem67 @this) => @this.BundleIdCapabilities; /// /// /// - public IncludedItem67(global::AppStoreConnect.ScmGitReference? value) + public IncludedItem67(global::AppStoreConnect.BundleIdCapability? value) { - ScmGitReferences = value; + BundleIdCapabilities = value; } /// /// /// - public static IncludedItem67 FromScmGitReferences(global::AppStoreConnect.ScmGitReference? value) => new IncludedItem67(value); + public static IncludedItem67 FromBundleIdCapabilities(global::AppStoreConnect.BundleIdCapability? value) => new IncludedItem67(value); /// /// /// - public static implicit operator IncludedItem67(global::AppStoreConnect.ScmPullRequest value) => new IncludedItem67((global::AppStoreConnect.ScmPullRequest?)value); + public static implicit operator IncludedItem67(global::AppStoreConnect.Profile value) => new IncludedItem67((global::AppStoreConnect.Profile?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ScmPullRequest?(IncludedItem67 @this) => @this.ScmPullRequests; + public static implicit operator global::AppStoreConnect.Profile?(IncludedItem67 @this) => @this.Profiles; /// /// /// - public IncludedItem67(global::AppStoreConnect.ScmPullRequest? value) + public IncludedItem67(global::AppStoreConnect.Profile? value) { - ScmPullRequests = value; + Profiles = value; } /// /// /// - public static IncludedItem67 FromScmPullRequests(global::AppStoreConnect.ScmPullRequest? value) => new IncludedItem67(value); + public static IncludedItem67 FromProfiles(global::AppStoreConnect.Profile? value) => new IncludedItem67(value); /// /// /// public IncludedItem67( - global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.Build? builds, - global::AppStoreConnect.CiProduct? ciProducts, - global::AppStoreConnect.CiWorkflow? ciWorkflows, - global::AppStoreConnect.ScmGitReference? scmGitReferences, - global::AppStoreConnect.ScmPullRequest? scmPullRequests + global::AppStoreConnect.BundleIdResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.BundleIdCapability? bundleIdCapabilities, + global::AppStoreConnect.Profile? profiles ) { Type = type; - Builds = builds; - CiProducts = ciProducts; - CiWorkflows = ciWorkflows; - ScmGitReferences = scmGitReferences; - ScmPullRequests = scmPullRequests; + Apps = apps; + BundleIdCapabilities = bundleIdCapabilities; + Profiles = profiles; } /// /// /// public object? Object => - ScmPullRequests as object ?? - ScmGitReferences as object ?? - CiWorkflows as object ?? - CiProducts as object ?? - Builds as object + Profiles as object ?? + BundleIdCapabilities as object ?? + Apps as object ; /// /// /// public override string? ToString() => - Builds?.ToString() ?? - CiProducts?.ToString() ?? - CiWorkflows?.ToString() ?? - ScmGitReferences?.ToString() ?? - ScmPullRequests?.ToString() + Apps?.ToString() ?? + BundleIdCapabilities?.ToString() ?? + Profiles?.ToString() ; /// @@ -361,18 +233,16 @@ Builds as object /// public bool Validate() { - return IsBuilds && !IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && !IsCiWorkflows && IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && IsScmPullRequests; + return IsApps && !IsBundleIdCapabilities && !IsProfiles || !IsApps && IsBundleIdCapabilities && !IsProfiles || !IsApps && !IsBundleIdCapabilities && IsProfiles; } /// /// /// public TResult? Match( - global::System.Func? builds = null, - global::System.Func? ciProducts = null, - global::System.Func? ciWorkflows = null, - global::System.Func? scmGitReferences = null, - global::System.Func? scmPullRequests = null, + global::System.Func? apps = null, + global::System.Func? bundleIdCapabilities = null, + global::System.Func? profiles = null, bool validate = true) { if (validate) @@ -380,25 +250,17 @@ public bool Validate() Validate(); } - if (Builds is { } __value0 && builds != null) - { - return builds(__value0); - } - else if (CiProducts is { } __value1 && ciProducts != null) - { - return ciProducts(__value1); - } - else if (CiWorkflows is { } __value2 && ciWorkflows != null) + if (Apps is { } __value0 && apps != null) { - return ciWorkflows(__value2); + return apps(__value0); } - else if (ScmGitReferences is { } __value3 && scmGitReferences != null) + else if (BundleIdCapabilities is { } __value1 && bundleIdCapabilities != null) { - return scmGitReferences(__value3); + return bundleIdCapabilities(__value1); } - else if (ScmPullRequests is { } __value4 && scmPullRequests != null) + else if (Profiles is { } __value2 && profiles != null) { - return scmPullRequests(__value4); + return profiles(__value2); } return default(TResult); @@ -408,15 +270,11 @@ public bool Validate() /// /// public void Match( - global::System.Action? builds = null, - - global::System.Action? ciProducts = null, + global::System.Action? apps = null, - global::System.Action? ciWorkflows = null, + global::System.Action? bundleIdCapabilities = null, - global::System.Action? scmGitReferences = null, - - global::System.Action? scmPullRequests = null, + global::System.Action? profiles = null, bool validate = true) { if (validate) @@ -424,25 +282,17 @@ public void Match( Validate(); } - if (Builds is { } __value0) - { - builds?.Invoke(__value0); - } - else if (CiProducts is { } __value1) + if (Apps is { } __value0) { - ciProducts?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (CiWorkflows is { } __value2) + else if (BundleIdCapabilities is { } __value1) { - ciWorkflows?.Invoke(__value2); + bundleIdCapabilities?.Invoke(__value1); } - else if (ScmGitReferences is { } __value3) + else if (Profiles is { } __value2) { - scmGitReferences?.Invoke(__value3); - } - else if (ScmPullRequests is { } __value4) - { - scmPullRequests?.Invoke(__value4); + profiles?.Invoke(__value2); } } @@ -450,11 +300,9 @@ public void Match( /// /// public void Switch( - global::System.Action? builds = null, - global::System.Action? ciProducts = null, - global::System.Action? ciWorkflows = null, - global::System.Action? scmGitReferences = null, - global::System.Action? scmPullRequests = null, + global::System.Action? apps = null, + global::System.Action? bundleIdCapabilities = null, + global::System.Action? profiles = null, bool validate = true) { if (validate) @@ -462,25 +310,17 @@ public void Switch( Validate(); } - if (Builds is { } __value0) - { - builds?.Invoke(__value0); - } - else if (CiProducts is { } __value1) - { - ciProducts?.Invoke(__value1); - } - else if (CiWorkflows is { } __value2) + if (Apps is { } __value0) { - ciWorkflows?.Invoke(__value2); + apps?.Invoke(__value0); } - else if (ScmGitReferences is { } __value3) + else if (BundleIdCapabilities is { } __value1) { - scmGitReferences?.Invoke(__value3); + bundleIdCapabilities?.Invoke(__value1); } - else if (ScmPullRequests is { } __value4) + else if (Profiles is { } __value2) { - scmPullRequests?.Invoke(__value4); + profiles?.Invoke(__value2); } } @@ -491,16 +331,12 @@ public override int GetHashCode() { var fields = new object?[] { - Builds, - typeof(global::AppStoreConnect.Build), - CiProducts, - typeof(global::AppStoreConnect.CiProduct), - CiWorkflows, - typeof(global::AppStoreConnect.CiWorkflow), - ScmGitReferences, - typeof(global::AppStoreConnect.ScmGitReference), - ScmPullRequests, - typeof(global::AppStoreConnect.ScmPullRequest), + Apps, + typeof(global::AppStoreConnect.App), + BundleIdCapabilities, + typeof(global::AppStoreConnect.BundleIdCapability), + Profiles, + typeof(global::AppStoreConnect.Profile), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -517,11 +353,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem67 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiWorkflows, other.CiWorkflows) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmGitReferences, other.ScmGitReferences) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmPullRequests, other.ScmPullRequests) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIdCapabilities, other.BundleIdCapabilities) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Profiles, other.Profiles) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem68.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem68.g.cs index 325722606..d9e98085a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem68.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem68.g.cs @@ -12,220 +12,348 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.Build? Builds { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.Build? Builds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] #endif - public bool IsApps => Apps != null; + public bool IsBuilds => Builds != null; /// /// /// - public bool TryPickApps( + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.Build? value) { - value = Apps; - return IsApps; + value = Builds; + return IsBuilds; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BundleId? BundleIds { get; init; } + public global::AppStoreConnect.CiProduct? CiProducts { get; init; } #else - public global::AppStoreConnect.BundleId? BundleIds { get; } + public global::AppStoreConnect.CiProduct? CiProducts { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] #endif - public bool IsBundleIds => BundleIds != null; + public bool IsCiProducts => CiProducts != null; /// /// /// - public bool TryPickBundleIds( + public bool TryPickCiProducts( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BundleId? value) + out global::AppStoreConnect.CiProduct? value) { - value = BundleIds; - return IsBundleIds; + value = CiProducts; + return IsCiProducts; } /// /// /// - public global::AppStoreConnect.BundleId PickBundleIds() => BundleIds is { } value + public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmRepository? ScmRepositories { get; init; } + public global::AppStoreConnect.CiWorkflow? CiWorkflows { get; init; } #else - public global::AppStoreConnect.ScmRepository? ScmRepositories { get; } + public global::AppStoreConnect.CiWorkflow? CiWorkflows { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmRepositories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiWorkflows))] #endif - public bool IsScmRepositories => ScmRepositories != null; + public bool IsCiWorkflows => CiWorkflows != null; /// /// /// - public bool TryPickScmRepositories( + public bool TryPickCiWorkflows( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.ScmRepository? value) + out global::AppStoreConnect.CiWorkflow? value) { - value = ScmRepositories; - return IsScmRepositories; + value = CiWorkflows; + return IsCiWorkflows; } /// /// /// - public global::AppStoreConnect.ScmRepository PickScmRepositories() => ScmRepositories is { } value + public global::AppStoreConnect.CiWorkflow PickCiWorkflows() => CiWorkflows is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmRepositories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CiWorkflows' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; init; } +#else + public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmGitReferences))] +#endif + public bool IsScmGitReferences => ScmGitReferences != null; + + /// + /// + /// + public bool TryPickScmGitReferences( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ScmGitReference? value) + { + value = ScmGitReferences; + return IsScmGitReferences; + } + + /// + /// + /// + public global::AppStoreConnect.ScmGitReference PickScmGitReferences() => ScmGitReferences is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmGitReferences' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ScmPullRequest? ScmPullRequests { get; init; } +#else + public global::AppStoreConnect.ScmPullRequest? ScmPullRequests { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmPullRequests))] +#endif + public bool IsScmPullRequests => ScmPullRequests != null; + + /// + /// + /// + public bool TryPickScmPullRequests( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ScmPullRequest? value) + { + value = ScmPullRequests; + return IsScmPullRequests; + } + + /// + /// + /// + public global::AppStoreConnect.ScmPullRequest PickScmPullRequests() => ScmPullRequests is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmPullRequests' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem68(global::AppStoreConnect.Build value) => new IncludedItem68((global::AppStoreConnect.Build?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Build?(IncludedItem68 @this) => @this.Builds; + + /// + /// + /// + public IncludedItem68(global::AppStoreConnect.Build? value) + { + Builds = value; + } + + /// + /// + /// + public static IncludedItem68 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem68(value); + + /// + /// + /// + public static implicit operator IncludedItem68(global::AppStoreConnect.CiProduct value) => new IncludedItem68((global::AppStoreConnect.CiProduct?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem68 @this) => @this.CiProducts; + /// /// /// - public static implicit operator IncludedItem68(global::AppStoreConnect.App value) => new IncludedItem68((global::AppStoreConnect.App?)value); + public IncludedItem68(global::AppStoreConnect.CiProduct? value) + { + CiProducts = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem68 @this) => @this.Apps; + public static IncludedItem68 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem68(value); /// /// /// - public IncludedItem68(global::AppStoreConnect.App? value) + public static implicit operator IncludedItem68(global::AppStoreConnect.CiWorkflow value) => new IncludedItem68((global::AppStoreConnect.CiWorkflow?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiWorkflow?(IncludedItem68 @this) => @this.CiWorkflows; + + /// + /// + /// + public IncludedItem68(global::AppStoreConnect.CiWorkflow? value) { - Apps = value; + CiWorkflows = value; } /// /// /// - public static IncludedItem68 FromApps(global::AppStoreConnect.App? value) => new IncludedItem68(value); + public static IncludedItem68 FromCiWorkflows(global::AppStoreConnect.CiWorkflow? value) => new IncludedItem68(value); /// /// /// - public static implicit operator IncludedItem68(global::AppStoreConnect.BundleId value) => new IncludedItem68((global::AppStoreConnect.BundleId?)value); + public static implicit operator IncludedItem68(global::AppStoreConnect.ScmGitReference value) => new IncludedItem68((global::AppStoreConnect.ScmGitReference?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BundleId?(IncludedItem68 @this) => @this.BundleIds; + public static implicit operator global::AppStoreConnect.ScmGitReference?(IncludedItem68 @this) => @this.ScmGitReferences; /// /// /// - public IncludedItem68(global::AppStoreConnect.BundleId? value) + public IncludedItem68(global::AppStoreConnect.ScmGitReference? value) { - BundleIds = value; + ScmGitReferences = value; } /// /// /// - public static IncludedItem68 FromBundleIds(global::AppStoreConnect.BundleId? value) => new IncludedItem68(value); + public static IncludedItem68 FromScmGitReferences(global::AppStoreConnect.ScmGitReference? value) => new IncludedItem68(value); /// /// /// - public static implicit operator IncludedItem68(global::AppStoreConnect.ScmRepository value) => new IncludedItem68((global::AppStoreConnect.ScmRepository?)value); + public static implicit operator IncludedItem68(global::AppStoreConnect.ScmPullRequest value) => new IncludedItem68((global::AppStoreConnect.ScmPullRequest?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ScmRepository?(IncludedItem68 @this) => @this.ScmRepositories; + public static implicit operator global::AppStoreConnect.ScmPullRequest?(IncludedItem68 @this) => @this.ScmPullRequests; /// /// /// - public IncludedItem68(global::AppStoreConnect.ScmRepository? value) + public IncludedItem68(global::AppStoreConnect.ScmPullRequest? value) { - ScmRepositories = value; + ScmPullRequests = value; } /// /// /// - public static IncludedItem68 FromScmRepositories(global::AppStoreConnect.ScmRepository? value) => new IncludedItem68(value); + public static IncludedItem68 FromScmPullRequests(global::AppStoreConnect.ScmPullRequest? value) => new IncludedItem68(value); /// /// /// public IncludedItem68( - global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.BundleId? bundleIds, - global::AppStoreConnect.ScmRepository? scmRepositories + global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.Build? builds, + global::AppStoreConnect.CiProduct? ciProducts, + global::AppStoreConnect.CiWorkflow? ciWorkflows, + global::AppStoreConnect.ScmGitReference? scmGitReferences, + global::AppStoreConnect.ScmPullRequest? scmPullRequests ) { Type = type; - Apps = apps; - BundleIds = bundleIds; - ScmRepositories = scmRepositories; + Builds = builds; + CiProducts = ciProducts; + CiWorkflows = ciWorkflows; + ScmGitReferences = scmGitReferences; + ScmPullRequests = scmPullRequests; } /// /// /// public object? Object => - ScmRepositories as object ?? - BundleIds as object ?? - Apps as object + ScmPullRequests as object ?? + ScmGitReferences as object ?? + CiWorkflows as object ?? + CiProducts as object ?? + Builds as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - BundleIds?.ToString() ?? - ScmRepositories?.ToString() + Builds?.ToString() ?? + CiProducts?.ToString() ?? + CiWorkflows?.ToString() ?? + ScmGitReferences?.ToString() ?? + ScmPullRequests?.ToString() ; /// @@ -233,16 +361,18 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBundleIds && !IsScmRepositories || !IsApps && IsBundleIds && !IsScmRepositories || !IsApps && !IsBundleIds && IsScmRepositories; + return IsBuilds && !IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && !IsCiWorkflows && IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && IsScmPullRequests; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? bundleIds = null, - global::System.Func? scmRepositories = null, + global::System.Func? builds = null, + global::System.Func? ciProducts = null, + global::System.Func? ciWorkflows = null, + global::System.Func? scmGitReferences = null, + global::System.Func? scmPullRequests = null, bool validate = true) { if (validate) @@ -250,17 +380,25 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (Builds is { } __value0 && builds != null) + { + return builds(__value0); + } + else if (CiProducts is { } __value1 && ciProducts != null) + { + return ciProducts(__value1); + } + else if (CiWorkflows is { } __value2 && ciWorkflows != null) { - return apps(__value0); + return ciWorkflows(__value2); } - else if (BundleIds is { } __value1 && bundleIds != null) + else if (ScmGitReferences is { } __value3 && scmGitReferences != null) { - return bundleIds(__value1); + return scmGitReferences(__value3); } - else if (ScmRepositories is { } __value2 && scmRepositories != null) + else if (ScmPullRequests is { } __value4 && scmPullRequests != null) { - return scmRepositories(__value2); + return scmPullRequests(__value4); } return default(TResult); @@ -270,11 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? builds = null, + + global::System.Action? ciProducts = null, - global::System.Action? bundleIds = null, + global::System.Action? ciWorkflows = null, - global::System.Action? scmRepositories = null, + global::System.Action? scmGitReferences = null, + + global::System.Action? scmPullRequests = null, bool validate = true) { if (validate) @@ -282,17 +424,25 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (Builds is { } __value0) + { + builds?.Invoke(__value0); + } + else if (CiProducts is { } __value1) { - apps?.Invoke(__value0); + ciProducts?.Invoke(__value1); } - else if (BundleIds is { } __value1) + else if (CiWorkflows is { } __value2) { - bundleIds?.Invoke(__value1); + ciWorkflows?.Invoke(__value2); } - else if (ScmRepositories is { } __value2) + else if (ScmGitReferences is { } __value3) { - scmRepositories?.Invoke(__value2); + scmGitReferences?.Invoke(__value3); + } + else if (ScmPullRequests is { } __value4) + { + scmPullRequests?.Invoke(__value4); } } @@ -300,9 +450,11 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? bundleIds = null, - global::System.Action? scmRepositories = null, + global::System.Action? builds = null, + global::System.Action? ciProducts = null, + global::System.Action? ciWorkflows = null, + global::System.Action? scmGitReferences = null, + global::System.Action? scmPullRequests = null, bool validate = true) { if (validate) @@ -310,17 +462,25 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (Builds is { } __value0) + { + builds?.Invoke(__value0); + } + else if (CiProducts is { } __value1) + { + ciProducts?.Invoke(__value1); + } + else if (CiWorkflows is { } __value2) { - apps?.Invoke(__value0); + ciWorkflows?.Invoke(__value2); } - else if (BundleIds is { } __value1) + else if (ScmGitReferences is { } __value3) { - bundleIds?.Invoke(__value1); + scmGitReferences?.Invoke(__value3); } - else if (ScmRepositories is { } __value2) + else if (ScmPullRequests is { } __value4) { - scmRepositories?.Invoke(__value2); + scmPullRequests?.Invoke(__value4); } } @@ -331,12 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, - typeof(global::AppStoreConnect.App), - BundleIds, - typeof(global::AppStoreConnect.BundleId), - ScmRepositories, - typeof(global::AppStoreConnect.ScmRepository), + Builds, + typeof(global::AppStoreConnect.Build), + CiProducts, + typeof(global::AppStoreConnect.CiProduct), + CiWorkflows, + typeof(global::AppStoreConnect.CiWorkflow), + ScmGitReferences, + typeof(global::AppStoreConnect.ScmGitReference), + ScmPullRequests, + typeof(global::AppStoreConnect.ScmPullRequest), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem68 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIds, other.BundleIds) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmRepositories, other.ScmRepositories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiWorkflows, other.CiWorkflows) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmGitReferences, other.ScmGitReferences) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmPullRequests, other.ScmPullRequests) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem69.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem69.g.cs index f11fec252..5e3e515b1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem69.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem69.g.cs @@ -12,220 +12,348 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.Build? Builds { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.Build? Builds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Builds))] #endif - public bool IsApps => Apps != null; + public bool IsBuilds => Builds != null; /// /// /// - public bool TryPickApps( + public bool TryPickBuilds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.Build? value) { - value = Apps; - return IsApps; + value = Builds; + return IsBuilds; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.Build PickBuilds() => Builds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Builds' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.BundleId? BundleIds { get; init; } + public global::AppStoreConnect.CiProduct? CiProducts { get; init; } #else - public global::AppStoreConnect.BundleId? BundleIds { get; } + public global::AppStoreConnect.CiProduct? CiProducts { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIds))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] #endif - public bool IsBundleIds => BundleIds != null; + public bool IsCiProducts => CiProducts != null; /// /// /// - public bool TryPickBundleIds( + public bool TryPickCiProducts( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.BundleId? value) + out global::AppStoreConnect.CiProduct? value) { - value = BundleIds; - return IsBundleIds; + value = CiProducts; + return IsCiProducts; } /// /// /// - public global::AppStoreConnect.BundleId PickBundleIds() => BundleIds is { } value + public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIds' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.ScmRepository? ScmRepositories { get; init; } + public global::AppStoreConnect.CiWorkflow? CiWorkflows { get; init; } #else - public global::AppStoreConnect.ScmRepository? ScmRepositories { get; } + public global::AppStoreConnect.CiWorkflow? CiWorkflows { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmRepositories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiWorkflows))] #endif - public bool IsScmRepositories => ScmRepositories != null; + public bool IsCiWorkflows => CiWorkflows != null; /// /// /// - public bool TryPickScmRepositories( + public bool TryPickCiWorkflows( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.ScmRepository? value) + out global::AppStoreConnect.CiWorkflow? value) { - value = ScmRepositories; - return IsScmRepositories; + value = CiWorkflows; + return IsCiWorkflows; } /// /// /// - public global::AppStoreConnect.ScmRepository PickScmRepositories() => ScmRepositories is { } value + public global::AppStoreConnect.CiWorkflow PickCiWorkflows() => CiWorkflows is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'ScmRepositories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CiWorkflows' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; init; } +#else + public global::AppStoreConnect.ScmGitReference? ScmGitReferences { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmGitReferences))] +#endif + public bool IsScmGitReferences => ScmGitReferences != null; + + /// + /// + /// + public bool TryPickScmGitReferences( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ScmGitReference? value) + { + value = ScmGitReferences; + return IsScmGitReferences; + } + + /// + /// + /// + public global::AppStoreConnect.ScmGitReference PickScmGitReferences() => ScmGitReferences is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmGitReferences' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ScmPullRequest? ScmPullRequests { get; init; } +#else + public global::AppStoreConnect.ScmPullRequest? ScmPullRequests { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmPullRequests))] +#endif + public bool IsScmPullRequests => ScmPullRequests != null; + + /// + /// + /// + public bool TryPickScmPullRequests( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ScmPullRequest? value) + { + value = ScmPullRequests; + return IsScmPullRequests; + } + + /// + /// + /// + public global::AppStoreConnect.ScmPullRequest PickScmPullRequests() => ScmPullRequests is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmPullRequests' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem69(global::AppStoreConnect.Build value) => new IncludedItem69((global::AppStoreConnect.Build?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.Build?(IncludedItem69 @this) => @this.Builds; + + /// + /// + /// + public IncludedItem69(global::AppStoreConnect.Build? value) + { + Builds = value; + } + + /// + /// + /// + public static IncludedItem69 FromBuilds(global::AppStoreConnect.Build? value) => new IncludedItem69(value); + + /// + /// + /// + public static implicit operator IncludedItem69(global::AppStoreConnect.CiProduct value) => new IncludedItem69((global::AppStoreConnect.CiProduct?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem69 @this) => @this.CiProducts; + /// /// /// - public static implicit operator IncludedItem69(global::AppStoreConnect.App value) => new IncludedItem69((global::AppStoreConnect.App?)value); + public IncludedItem69(global::AppStoreConnect.CiProduct? value) + { + CiProducts = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem69 @this) => @this.Apps; + public static IncludedItem69 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem69(value); /// /// /// - public IncludedItem69(global::AppStoreConnect.App? value) + public static implicit operator IncludedItem69(global::AppStoreConnect.CiWorkflow value) => new IncludedItem69((global::AppStoreConnect.CiWorkflow?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiWorkflow?(IncludedItem69 @this) => @this.CiWorkflows; + + /// + /// + /// + public IncludedItem69(global::AppStoreConnect.CiWorkflow? value) { - Apps = value; + CiWorkflows = value; } /// /// /// - public static IncludedItem69 FromApps(global::AppStoreConnect.App? value) => new IncludedItem69(value); + public static IncludedItem69 FromCiWorkflows(global::AppStoreConnect.CiWorkflow? value) => new IncludedItem69(value); /// /// /// - public static implicit operator IncludedItem69(global::AppStoreConnect.BundleId value) => new IncludedItem69((global::AppStoreConnect.BundleId?)value); + public static implicit operator IncludedItem69(global::AppStoreConnect.ScmGitReference value) => new IncludedItem69((global::AppStoreConnect.ScmGitReference?)value); /// /// /// - public static implicit operator global::AppStoreConnect.BundleId?(IncludedItem69 @this) => @this.BundleIds; + public static implicit operator global::AppStoreConnect.ScmGitReference?(IncludedItem69 @this) => @this.ScmGitReferences; /// /// /// - public IncludedItem69(global::AppStoreConnect.BundleId? value) + public IncludedItem69(global::AppStoreConnect.ScmGitReference? value) { - BundleIds = value; + ScmGitReferences = value; } /// /// /// - public static IncludedItem69 FromBundleIds(global::AppStoreConnect.BundleId? value) => new IncludedItem69(value); + public static IncludedItem69 FromScmGitReferences(global::AppStoreConnect.ScmGitReference? value) => new IncludedItem69(value); /// /// /// - public static implicit operator IncludedItem69(global::AppStoreConnect.ScmRepository value) => new IncludedItem69((global::AppStoreConnect.ScmRepository?)value); + public static implicit operator IncludedItem69(global::AppStoreConnect.ScmPullRequest value) => new IncludedItem69((global::AppStoreConnect.ScmPullRequest?)value); /// /// /// - public static implicit operator global::AppStoreConnect.ScmRepository?(IncludedItem69 @this) => @this.ScmRepositories; + public static implicit operator global::AppStoreConnect.ScmPullRequest?(IncludedItem69 @this) => @this.ScmPullRequests; /// /// /// - public IncludedItem69(global::AppStoreConnect.ScmRepository? value) + public IncludedItem69(global::AppStoreConnect.ScmPullRequest? value) { - ScmRepositories = value; + ScmPullRequests = value; } /// /// /// - public static IncludedItem69 FromScmRepositories(global::AppStoreConnect.ScmRepository? value) => new IncludedItem69(value); + public static IncludedItem69 FromScmPullRequests(global::AppStoreConnect.ScmPullRequest? value) => new IncludedItem69(value); /// /// /// public IncludedItem69( - global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, - global::AppStoreConnect.BundleId? bundleIds, - global::AppStoreConnect.ScmRepository? scmRepositories + global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.Build? builds, + global::AppStoreConnect.CiProduct? ciProducts, + global::AppStoreConnect.CiWorkflow? ciWorkflows, + global::AppStoreConnect.ScmGitReference? scmGitReferences, + global::AppStoreConnect.ScmPullRequest? scmPullRequests ) { Type = type; - Apps = apps; - BundleIds = bundleIds; - ScmRepositories = scmRepositories; + Builds = builds; + CiProducts = ciProducts; + CiWorkflows = ciWorkflows; + ScmGitReferences = scmGitReferences; + ScmPullRequests = scmPullRequests; } /// /// /// public object? Object => - ScmRepositories as object ?? - BundleIds as object ?? - Apps as object + ScmPullRequests as object ?? + ScmGitReferences as object ?? + CiWorkflows as object ?? + CiProducts as object ?? + Builds as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? - BundleIds?.ToString() ?? - ScmRepositories?.ToString() + Builds?.ToString() ?? + CiProducts?.ToString() ?? + CiWorkflows?.ToString() ?? + ScmGitReferences?.ToString() ?? + ScmPullRequests?.ToString() ; /// @@ -233,16 +361,18 @@ Apps as object /// public bool Validate() { - return IsApps && !IsBundleIds && !IsScmRepositories || !IsApps && IsBundleIds && !IsScmRepositories || !IsApps && !IsBundleIds && IsScmRepositories; + return IsBuilds && !IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && IsCiWorkflows && !IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && !IsCiWorkflows && IsScmGitReferences && !IsScmPullRequests || !IsBuilds && !IsCiProducts && !IsCiWorkflows && !IsScmGitReferences && IsScmPullRequests; } /// /// /// public TResult? Match( - global::System.Func? apps = null, - global::System.Func? bundleIds = null, - global::System.Func? scmRepositories = null, + global::System.Func? builds = null, + global::System.Func? ciProducts = null, + global::System.Func? ciWorkflows = null, + global::System.Func? scmGitReferences = null, + global::System.Func? scmPullRequests = null, bool validate = true) { if (validate) @@ -250,17 +380,25 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (Builds is { } __value0 && builds != null) + { + return builds(__value0); + } + else if (CiProducts is { } __value1 && ciProducts != null) + { + return ciProducts(__value1); + } + else if (CiWorkflows is { } __value2 && ciWorkflows != null) { - return apps(__value0); + return ciWorkflows(__value2); } - else if (BundleIds is { } __value1 && bundleIds != null) + else if (ScmGitReferences is { } __value3 && scmGitReferences != null) { - return bundleIds(__value1); + return scmGitReferences(__value3); } - else if (ScmRepositories is { } __value2 && scmRepositories != null) + else if (ScmPullRequests is { } __value4 && scmPullRequests != null) { - return scmRepositories(__value2); + return scmPullRequests(__value4); } return default(TResult); @@ -270,11 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? builds = null, + + global::System.Action? ciProducts = null, - global::System.Action? bundleIds = null, + global::System.Action? ciWorkflows = null, - global::System.Action? scmRepositories = null, + global::System.Action? scmGitReferences = null, + + global::System.Action? scmPullRequests = null, bool validate = true) { if (validate) @@ -282,17 +424,25 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (Builds is { } __value0) + { + builds?.Invoke(__value0); + } + else if (CiProducts is { } __value1) { - apps?.Invoke(__value0); + ciProducts?.Invoke(__value1); } - else if (BundleIds is { } __value1) + else if (CiWorkflows is { } __value2) { - bundleIds?.Invoke(__value1); + ciWorkflows?.Invoke(__value2); } - else if (ScmRepositories is { } __value2) + else if (ScmGitReferences is { } __value3) { - scmRepositories?.Invoke(__value2); + scmGitReferences?.Invoke(__value3); + } + else if (ScmPullRequests is { } __value4) + { + scmPullRequests?.Invoke(__value4); } } @@ -300,9 +450,11 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, - global::System.Action? bundleIds = null, - global::System.Action? scmRepositories = null, + global::System.Action? builds = null, + global::System.Action? ciProducts = null, + global::System.Action? ciWorkflows = null, + global::System.Action? scmGitReferences = null, + global::System.Action? scmPullRequests = null, bool validate = true) { if (validate) @@ -310,17 +462,25 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (Builds is { } __value0) + { + builds?.Invoke(__value0); + } + else if (CiProducts is { } __value1) + { + ciProducts?.Invoke(__value1); + } + else if (CiWorkflows is { } __value2) { - apps?.Invoke(__value0); + ciWorkflows?.Invoke(__value2); } - else if (BundleIds is { } __value1) + else if (ScmGitReferences is { } __value3) { - bundleIds?.Invoke(__value1); + scmGitReferences?.Invoke(__value3); } - else if (ScmRepositories is { } __value2) + else if (ScmPullRequests is { } __value4) { - scmRepositories?.Invoke(__value2); + scmPullRequests?.Invoke(__value4); } } @@ -331,12 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, - typeof(global::AppStoreConnect.App), - BundleIds, - typeof(global::AppStoreConnect.BundleId), - ScmRepositories, - typeof(global::AppStoreConnect.ScmRepository), + Builds, + typeof(global::AppStoreConnect.Build), + CiProducts, + typeof(global::AppStoreConnect.CiProduct), + CiWorkflows, + typeof(global::AppStoreConnect.CiWorkflow), + ScmGitReferences, + typeof(global::AppStoreConnect.ScmGitReference), + ScmPullRequests, + typeof(global::AppStoreConnect.ScmPullRequest), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -353,9 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem69 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIds, other.BundleIds) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmRepositories, other.ScmRepositories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Builds, other.Builds) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiWorkflows, other.CiWorkflows) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmGitReferences, other.ScmGitReferences) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmPullRequests, other.ScmPullRequests) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem7.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem7.g.cs index c81a8a170..1b6971416 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem7.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem7.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipAppStoreReviewDetail? AppClipAppStoreReviewDetails { get; init; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences { get; init; } #else - public global::AppStoreConnect.AppClipAppStoreReviewDetail? AppClipAppStoreReviewDetails { get; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAppStoreReviewDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences))] #endif - public bool IsAppClipAppStoreReviewDetails => AppClipAppStoreReviewDetails != null; + public bool IsAppClipDefaultExperiences => AppClipDefaultExperiences != null; /// /// /// - public bool TryPickAppClipAppStoreReviewDetails( + public bool TryPickAppClipDefaultExperiences( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipAppStoreReviewDetail? value) + out global::AppStoreConnect.AppClipDefaultExperience? value) { - value = AppClipAppStoreReviewDetails; - return IsAppClipAppStoreReviewDetails; + value = AppClipDefaultExperiences; + return IsAppClipDefaultExperiences; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetail PickAppClipAppStoreReviewDetails() => AppClipAppStoreReviewDetails is { } value + public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences() => AppClipDefaultExperiences is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAppStoreReviewDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipDefaultExperienceLocalization? AppClipDefaultExperienceLocalizations1 { get; init; } + public global::AppStoreConnect.AppClipHeaderImage? AppClipHeaderImages { get; init; } #else - public global::AppStoreConnect.AppClipDefaultExperienceLocalization? AppClipDefaultExperienceLocalizations1 { get; } + public global::AppStoreConnect.AppClipHeaderImage? AppClipHeaderImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperienceLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipHeaderImages))] #endif - public bool IsAppClipDefaultExperienceLocalizations1 => AppClipDefaultExperienceLocalizations1 != null; + public bool IsAppClipHeaderImages => AppClipHeaderImages != null; /// /// /// - public bool TryPickAppClipDefaultExperienceLocalizations1( + public bool TryPickAppClipHeaderImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) + out global::AppStoreConnect.AppClipHeaderImage? value) { - value = AppClipDefaultExperienceLocalizations1; - return IsAppClipDefaultExperienceLocalizations1; + value = AppClipHeaderImages; + return IsAppClipHeaderImages; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalization PickAppClipDefaultExperienceLocalizations1() => AppClipDefaultExperienceLocalizations1 is { } value + public global::AppStoreConnect.AppClipHeaderImage PickAppClipHeaderImages() => AppClipHeaderImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperienceLocalizations1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClip? AppClipDefaultExperienceLocalizations2 { get; init; } -#else - public global::AppStoreConnect.AppClip? AppClipDefaultExperienceLocalizations2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperienceLocalizations2))] -#endif - public bool IsAppClipDefaultExperienceLocalizations2 => AppClipDefaultExperienceLocalizations2 != null; - - /// - /// - /// - public bool TryPickAppClipDefaultExperienceLocalizations2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppClip? value) - { - value = AppClipDefaultExperienceLocalizations2; - return IsAppClipDefaultExperienceLocalizations2; - } - - /// - /// - /// - public global::AppStoreConnect.AppClip PickAppClipDefaultExperienceLocalizations2() => AppClipDefaultExperienceLocalizations2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperienceLocalizations2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } -#else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] -#endif - public bool IsAppStoreVersions => AppStoreVersions != null; - - /// - /// - /// - public bool TryPickAppStoreVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersion? value) - { - value = AppStoreVersions; - return IsAppStoreVersions; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem7(global::AppStoreConnect.AppClipAppStoreReviewDetail value) => new IncludedItem7((global::AppStoreConnect.AppClipAppStoreReviewDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClipAppStoreReviewDetail?(IncludedItem7 @this) => @this.AppClipAppStoreReviewDetails; - - /// - /// - /// - public IncludedItem7(global::AppStoreConnect.AppClipAppStoreReviewDetail? value) - { - AppClipAppStoreReviewDetails = value; - } - - /// - /// - /// - public static IncludedItem7 FromAppClipAppStoreReviewDetails(global::AppStoreConnect.AppClipAppStoreReviewDetail? value) => new IncludedItem7(value); - - /// - /// - /// - public static implicit operator IncludedItem7(global::AppStoreConnect.AppClipDefaultExperienceLocalization value) => new IncludedItem7((global::AppStoreConnect.AppClipDefaultExperienceLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClipDefaultExperienceLocalization?(IncludedItem7 @this) => @this.AppClipDefaultExperienceLocalizations1; - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipHeaderImages' but the value was {ToString()}."); /// /// /// - public IncludedItem7(global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) - { - AppClipDefaultExperienceLocalizations1 = value; - } + public static implicit operator IncludedItem7(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem7((global::AppStoreConnect.AppClipDefaultExperience?)value); /// /// /// - public static IncludedItem7 FromAppClipDefaultExperienceLocalizations1(global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) => new IncludedItem7(value); + public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem7 @this) => @this.AppClipDefaultExperiences; /// /// /// - public static implicit operator IncludedItem7(global::AppStoreConnect.AppClip value) => new IncludedItem7((global::AppStoreConnect.AppClip?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem7 @this) => @this.AppClipDefaultExperienceLocalizations2; - - /// - /// - /// - public IncludedItem7(global::AppStoreConnect.AppClip? value) + public IncludedItem7(global::AppStoreConnect.AppClipDefaultExperience? value) { - AppClipDefaultExperienceLocalizations2 = value; + AppClipDefaultExperiences = value; } /// /// /// - public static IncludedItem7 FromAppClipDefaultExperienceLocalizations2(global::AppStoreConnect.AppClip? value) => new IncludedItem7(value); + public static IncludedItem7 FromAppClipDefaultExperiences(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem7(value); /// /// /// - public static implicit operator IncludedItem7(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem7((global::AppStoreConnect.AppStoreVersion?)value); + public static implicit operator IncludedItem7(global::AppStoreConnect.AppClipHeaderImage value) => new IncludedItem7((global::AppStoreConnect.AppClipHeaderImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem7 @this) => @this.AppStoreVersions; + public static implicit operator global::AppStoreConnect.AppClipHeaderImage?(IncludedItem7 @this) => @this.AppClipHeaderImages; /// /// /// - public IncludedItem7(global::AppStoreConnect.AppStoreVersion? value) + public IncludedItem7(global::AppStoreConnect.AppClipHeaderImage? value) { - AppStoreVersions = value; + AppClipHeaderImages = value; } /// /// /// - public static IncludedItem7 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem7(value); + public static IncludedItem7 FromAppClipHeaderImages(global::AppStoreConnect.AppClipHeaderImage? value) => new IncludedItem7(value); /// /// /// public IncludedItem7( - global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppClipAppStoreReviewDetail? appClipAppStoreReviewDetails, - global::AppStoreConnect.AppClipDefaultExperienceLocalization? appClipDefaultExperienceLocalizations1, - global::AppStoreConnect.AppClip? appClipDefaultExperienceLocalizations2, - global::AppStoreConnect.AppStoreVersion? appStoreVersions + global::AppStoreConnect.AppClipDefaultExperienceLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences, + global::AppStoreConnect.AppClipHeaderImage? appClipHeaderImages ) { Type = type; - AppClipAppStoreReviewDetails = appClipAppStoreReviewDetails; - AppClipDefaultExperienceLocalizations1 = appClipDefaultExperienceLocalizations1; - AppClipDefaultExperienceLocalizations2 = appClipDefaultExperienceLocalizations2; - AppStoreVersions = appStoreVersions; + AppClipDefaultExperiences = appClipDefaultExperiences; + AppClipHeaderImages = appClipHeaderImages; } /// /// /// public object? Object => - AppStoreVersions as object ?? - AppClipDefaultExperienceLocalizations2 as object ?? - AppClipDefaultExperienceLocalizations1 as object ?? - AppClipAppStoreReviewDetails as object + AppClipHeaderImages as object ?? + AppClipDefaultExperiences as object ; /// /// /// public override string? ToString() => - AppClipAppStoreReviewDetails?.ToString() ?? - AppClipDefaultExperienceLocalizations1?.ToString() ?? - AppClipDefaultExperienceLocalizations2?.ToString() ?? - AppStoreVersions?.ToString() + AppClipDefaultExperiences?.ToString() ?? + AppClipHeaderImages?.ToString() ; /// @@ -297,17 +169,15 @@ AppClipAppStoreReviewDetails as object /// public bool Validate() { - return IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && IsAppStoreVersions; + return IsAppClipDefaultExperiences && !IsAppClipHeaderImages || !IsAppClipDefaultExperiences && IsAppClipHeaderImages; } /// /// /// public TResult? Match( - global::System.Func? appClipAppStoreReviewDetails = null, - global::System.Func? appClipDefaultExperienceLocalizations1 = null, - global::System.Func? appClipDefaultExperienceLocalizations2 = null, - global::System.Func? appStoreVersions = null, + global::System.Func? appClipDefaultExperiences = null, + global::System.Func? appClipHeaderImages = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (AppClipAppStoreReviewDetails is { } __value0 && appClipAppStoreReviewDetails != null) - { - return appClipAppStoreReviewDetails(__value0); - } - else if (AppClipDefaultExperienceLocalizations1 is { } __value1 && appClipDefaultExperienceLocalizations1 != null) - { - return appClipDefaultExperienceLocalizations1(__value1); - } - else if (AppClipDefaultExperienceLocalizations2 is { } __value2 && appClipDefaultExperienceLocalizations2 != null) + if (AppClipDefaultExperiences is { } __value0 && appClipDefaultExperiences != null) { - return appClipDefaultExperienceLocalizations2(__value2); + return appClipDefaultExperiences(__value0); } - else if (AppStoreVersions is { } __value3 && appStoreVersions != null) + else if (AppClipHeaderImages is { } __value1 && appClipHeaderImages != null) { - return appStoreVersions(__value3); + return appClipHeaderImages(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appClipAppStoreReviewDetails = null, - - global::System.Action? appClipDefaultExperienceLocalizations1 = null, + global::System.Action? appClipDefaultExperiences = null, - global::System.Action? appClipDefaultExperienceLocalizations2 = null, - - global::System.Action? appStoreVersions = null, + global::System.Action? appClipHeaderImages = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (AppClipAppStoreReviewDetails is { } __value0) - { - appClipAppStoreReviewDetails?.Invoke(__value0); - } - else if (AppClipDefaultExperienceLocalizations1 is { } __value1) + if (AppClipDefaultExperiences is { } __value0) { - appClipDefaultExperienceLocalizations1?.Invoke(__value1); + appClipDefaultExperiences?.Invoke(__value0); } - else if (AppClipDefaultExperienceLocalizations2 is { } __value2) + else if (AppClipHeaderImages is { } __value1) { - appClipDefaultExperienceLocalizations2?.Invoke(__value2); - } - else if (AppStoreVersions is { } __value3) - { - appStoreVersions?.Invoke(__value3); + appClipHeaderImages?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appClipAppStoreReviewDetails = null, - global::System.Action? appClipDefaultExperienceLocalizations1 = null, - global::System.Action? appClipDefaultExperienceLocalizations2 = null, - global::System.Action? appStoreVersions = null, + global::System.Action? appClipDefaultExperiences = null, + global::System.Action? appClipHeaderImages = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (AppClipAppStoreReviewDetails is { } __value0) - { - appClipAppStoreReviewDetails?.Invoke(__value0); - } - else if (AppClipDefaultExperienceLocalizations1 is { } __value1) - { - appClipDefaultExperienceLocalizations1?.Invoke(__value1); - } - else if (AppClipDefaultExperienceLocalizations2 is { } __value2) + if (AppClipDefaultExperiences is { } __value0) { - appClipDefaultExperienceLocalizations2?.Invoke(__value2); + appClipDefaultExperiences?.Invoke(__value0); } - else if (AppStoreVersions is { } __value3) + else if (AppClipHeaderImages is { } __value1) { - appStoreVersions?.Invoke(__value3); + appClipHeaderImages?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppClipAppStoreReviewDetails, - typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), - AppClipDefaultExperienceLocalizations1, - typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), - AppClipDefaultExperienceLocalizations2, - typeof(global::AppStoreConnect.AppClip), - AppStoreVersions, - typeof(global::AppStoreConnect.AppStoreVersion), + AppClipDefaultExperiences, + typeof(global::AppStoreConnect.AppClipDefaultExperience), + AppClipHeaderImages, + typeof(global::AppStoreConnect.AppClipHeaderImage), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem7 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAppStoreReviewDetails, other.AppClipAppStoreReviewDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperienceLocalizations1, other.AppClipDefaultExperienceLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperienceLocalizations2, other.AppClipDefaultExperienceLocalizations2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences, other.AppClipDefaultExperiences) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipHeaderImages, other.AppClipHeaderImages) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem70.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem70.g.cs index c1aa418e2..f9f23336d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem70.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem70.g.cs @@ -12,118 +12,81 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CiMacOsVersion? CiMacOsVersions { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.CiMacOsVersion? CiMacOsVersions { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiMacOsVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsCiMacOsVersions => CiMacOsVersions != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickCiMacOsVersions( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CiMacOsVersion? value) + out global::AppStoreConnect.App? value) { - value = CiMacOsVersions; - return IsCiMacOsVersions; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.CiMacOsVersion PickCiMacOsVersions() => CiMacOsVersions is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiMacOsVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CiProduct? CiProducts { get; init; } + public global::AppStoreConnect.BundleId? BundleIds { get; init; } #else - public global::AppStoreConnect.CiProduct? CiProducts { get; } + public global::AppStoreConnect.BundleId? BundleIds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIds))] #endif - public bool IsCiProducts => CiProducts != null; + public bool IsBundleIds => BundleIds != null; /// /// /// - public bool TryPickCiProducts( + public bool TryPickBundleIds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CiProduct? value) + out global::AppStoreConnect.BundleId? value) { - value = CiProducts; - return IsCiProducts; + value = BundleIds; + return IsBundleIds; } /// /// /// - public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value + public global::AppStoreConnect.BundleId PickBundleIds() => BundleIds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.CiXcodeVersion? CiXcodeVersions { get; init; } -#else - public global::AppStoreConnect.CiXcodeVersion? CiXcodeVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiXcodeVersions))] -#endif - public bool IsCiXcodeVersions => CiXcodeVersions != null; - - /// - /// - /// - public bool TryPickCiXcodeVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.CiXcodeVersion? value) - { - value = CiXcodeVersions; - return IsCiXcodeVersions; - } - - /// - /// - /// - public global::AppStoreConnect.CiXcodeVersion PickCiXcodeVersions() => CiXcodeVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiXcodeVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIds' but the value was {ToString()}."); /// /// @@ -164,71 +127,48 @@ public bool TryPickScmRepositories( /// /// /// - public static implicit operator IncludedItem70(global::AppStoreConnect.CiMacOsVersion value) => new IncludedItem70((global::AppStoreConnect.CiMacOsVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.CiMacOsVersion?(IncludedItem70 @this) => @this.CiMacOsVersions; - - /// - /// - /// - public IncludedItem70(global::AppStoreConnect.CiMacOsVersion? value) - { - CiMacOsVersions = value; - } - - /// - /// - /// - public static IncludedItem70 FromCiMacOsVersions(global::AppStoreConnect.CiMacOsVersion? value) => new IncludedItem70(value); + public static implicit operator IncludedItem70(global::AppStoreConnect.App value) => new IncludedItem70((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator IncludedItem70(global::AppStoreConnect.CiProduct value) => new IncludedItem70((global::AppStoreConnect.CiProduct?)value); + public static implicit operator global::AppStoreConnect.App?(IncludedItem70 @this) => @this.Apps; /// /// /// - public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem70 @this) => @this.CiProducts; - - /// - /// - /// - public IncludedItem70(global::AppStoreConnect.CiProduct? value) + public IncludedItem70(global::AppStoreConnect.App? value) { - CiProducts = value; + Apps = value; } /// /// /// - public static IncludedItem70 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem70(value); + public static IncludedItem70 FromApps(global::AppStoreConnect.App? value) => new IncludedItem70(value); /// /// /// - public static implicit operator IncludedItem70(global::AppStoreConnect.CiXcodeVersion value) => new IncludedItem70((global::AppStoreConnect.CiXcodeVersion?)value); + public static implicit operator IncludedItem70(global::AppStoreConnect.BundleId value) => new IncludedItem70((global::AppStoreConnect.BundleId?)value); /// /// /// - public static implicit operator global::AppStoreConnect.CiXcodeVersion?(IncludedItem70 @this) => @this.CiXcodeVersions; + public static implicit operator global::AppStoreConnect.BundleId?(IncludedItem70 @this) => @this.BundleIds; /// /// /// - public IncludedItem70(global::AppStoreConnect.CiXcodeVersion? value) + public IncludedItem70(global::AppStoreConnect.BundleId? value) { - CiXcodeVersions = value; + BundleIds = value; } /// /// /// - public static IncludedItem70 FromCiXcodeVersions(global::AppStoreConnect.CiXcodeVersion? value) => new IncludedItem70(value); + public static IncludedItem70 FromBundleIds(global::AppStoreConnect.BundleId? value) => new IncludedItem70(value); /// /// @@ -257,18 +197,16 @@ public IncludedItem70(global::AppStoreConnect.ScmRepository? value) /// /// public IncludedItem70( - global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.CiMacOsVersion? ciMacOsVersions, - global::AppStoreConnect.CiProduct? ciProducts, - global::AppStoreConnect.CiXcodeVersion? ciXcodeVersions, + global::AppStoreConnect.CiProductsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.BundleId? bundleIds, global::AppStoreConnect.ScmRepository? scmRepositories ) { Type = type; - CiMacOsVersions = ciMacOsVersions; - CiProducts = ciProducts; - CiXcodeVersions = ciXcodeVersions; + Apps = apps; + BundleIds = bundleIds; ScmRepositories = scmRepositories; } @@ -277,18 +215,16 @@ public IncludedItem70( /// public object? Object => ScmRepositories as object ?? - CiXcodeVersions as object ?? - CiProducts as object ?? - CiMacOsVersions as object + BundleIds as object ?? + Apps as object ; /// /// /// public override string? ToString() => - CiMacOsVersions?.ToString() ?? - CiProducts?.ToString() ?? - CiXcodeVersions?.ToString() ?? + Apps?.ToString() ?? + BundleIds?.ToString() ?? ScmRepositories?.ToString() ; @@ -297,16 +233,15 @@ CiMacOsVersions as object /// public bool Validate() { - return IsCiMacOsVersions && !IsCiProducts && !IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && IsCiProducts && !IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && !IsCiProducts && IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && !IsCiProducts && !IsCiXcodeVersions && IsScmRepositories; + return IsApps && !IsBundleIds && !IsScmRepositories || !IsApps && IsBundleIds && !IsScmRepositories || !IsApps && !IsBundleIds && IsScmRepositories; } /// /// /// public TResult? Match( - global::System.Func? ciMacOsVersions = null, - global::System.Func? ciProducts = null, - global::System.Func? ciXcodeVersions = null, + global::System.Func? apps = null, + global::System.Func? bundleIds = null, global::System.Func? scmRepositories = null, bool validate = true) { @@ -315,21 +250,17 @@ public bool Validate() Validate(); } - if (CiMacOsVersions is { } __value0 && ciMacOsVersions != null) + if (Apps is { } __value0 && apps != null) { - return ciMacOsVersions(__value0); + return apps(__value0); } - else if (CiProducts is { } __value1 && ciProducts != null) + else if (BundleIds is { } __value1 && bundleIds != null) { - return ciProducts(__value1); + return bundleIds(__value1); } - else if (CiXcodeVersions is { } __value2 && ciXcodeVersions != null) + else if (ScmRepositories is { } __value2 && scmRepositories != null) { - return ciXcodeVersions(__value2); - } - else if (ScmRepositories is { } __value3 && scmRepositories != null) - { - return scmRepositories(__value3); + return scmRepositories(__value2); } return default(TResult); @@ -339,11 +270,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? ciMacOsVersions = null, - - global::System.Action? ciProducts = null, + global::System.Action? apps = null, - global::System.Action? ciXcodeVersions = null, + global::System.Action? bundleIds = null, global::System.Action? scmRepositories = null, bool validate = true) @@ -353,21 +282,17 @@ public void Match( Validate(); } - if (CiMacOsVersions is { } __value0) - { - ciMacOsVersions?.Invoke(__value0); - } - else if (CiProducts is { } __value1) + if (Apps is { } __value0) { - ciProducts?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (CiXcodeVersions is { } __value2) + else if (BundleIds is { } __value1) { - ciXcodeVersions?.Invoke(__value2); + bundleIds?.Invoke(__value1); } - else if (ScmRepositories is { } __value3) + else if (ScmRepositories is { } __value2) { - scmRepositories?.Invoke(__value3); + scmRepositories?.Invoke(__value2); } } @@ -375,9 +300,8 @@ public void Match( /// /// public void Switch( - global::System.Action? ciMacOsVersions = null, - global::System.Action? ciProducts = null, - global::System.Action? ciXcodeVersions = null, + global::System.Action? apps = null, + global::System.Action? bundleIds = null, global::System.Action? scmRepositories = null, bool validate = true) { @@ -386,21 +310,17 @@ public void Switch( Validate(); } - if (CiMacOsVersions is { } __value0) - { - ciMacOsVersions?.Invoke(__value0); - } - else if (CiProducts is { } __value1) + if (Apps is { } __value0) { - ciProducts?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (CiXcodeVersions is { } __value2) + else if (BundleIds is { } __value1) { - ciXcodeVersions?.Invoke(__value2); + bundleIds?.Invoke(__value1); } - else if (ScmRepositories is { } __value3) + else if (ScmRepositories is { } __value2) { - scmRepositories?.Invoke(__value3); + scmRepositories?.Invoke(__value2); } } @@ -411,12 +331,10 @@ public override int GetHashCode() { var fields = new object?[] { - CiMacOsVersions, - typeof(global::AppStoreConnect.CiMacOsVersion), - CiProducts, - typeof(global::AppStoreConnect.CiProduct), - CiXcodeVersions, - typeof(global::AppStoreConnect.CiXcodeVersion), + Apps, + typeof(global::AppStoreConnect.App), + BundleIds, + typeof(global::AppStoreConnect.BundleId), ScmRepositories, typeof(global::AppStoreConnect.ScmRepository), }; @@ -435,9 +353,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem70 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiMacOsVersions, other.CiMacOsVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiXcodeVersions, other.CiXcodeVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIds, other.BundleIds) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmRepositories, other.ScmRepositories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem71.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem71.g.cs index 9504b68e5..6535f9ce6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem71.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem71.g.cs @@ -12,118 +12,81 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CiMacOsVersion? CiMacOsVersions { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.CiMacOsVersion? CiMacOsVersions { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiMacOsVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsCiMacOsVersions => CiMacOsVersions != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickCiMacOsVersions( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CiMacOsVersion? value) + out global::AppStoreConnect.App? value) { - value = CiMacOsVersions; - return IsCiMacOsVersions; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.CiMacOsVersion PickCiMacOsVersions() => CiMacOsVersions is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiMacOsVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CiProduct? CiProducts { get; init; } + public global::AppStoreConnect.BundleId? BundleIds { get; init; } #else - public global::AppStoreConnect.CiProduct? CiProducts { get; } + public global::AppStoreConnect.BundleId? BundleIds { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(BundleIds))] #endif - public bool IsCiProducts => CiProducts != null; + public bool IsBundleIds => BundleIds != null; /// /// /// - public bool TryPickCiProducts( + public bool TryPickBundleIds( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CiProduct? value) + out global::AppStoreConnect.BundleId? value) { - value = CiProducts; - return IsCiProducts; + value = BundleIds; + return IsBundleIds; } /// /// /// - public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value + public global::AppStoreConnect.BundleId PickBundleIds() => BundleIds is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.CiXcodeVersion? CiXcodeVersions { get; init; } -#else - public global::AppStoreConnect.CiXcodeVersion? CiXcodeVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiXcodeVersions))] -#endif - public bool IsCiXcodeVersions => CiXcodeVersions != null; - - /// - /// - /// - public bool TryPickCiXcodeVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.CiXcodeVersion? value) - { - value = CiXcodeVersions; - return IsCiXcodeVersions; - } - - /// - /// - /// - public global::AppStoreConnect.CiXcodeVersion PickCiXcodeVersions() => CiXcodeVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CiXcodeVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'BundleIds' but the value was {ToString()}."); /// /// @@ -164,71 +127,48 @@ public bool TryPickScmRepositories( /// /// /// - public static implicit operator IncludedItem71(global::AppStoreConnect.CiMacOsVersion value) => new IncludedItem71((global::AppStoreConnect.CiMacOsVersion?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.CiMacOsVersion?(IncludedItem71 @this) => @this.CiMacOsVersions; - - /// - /// - /// - public IncludedItem71(global::AppStoreConnect.CiMacOsVersion? value) - { - CiMacOsVersions = value; - } - - /// - /// - /// - public static IncludedItem71 FromCiMacOsVersions(global::AppStoreConnect.CiMacOsVersion? value) => new IncludedItem71(value); + public static implicit operator IncludedItem71(global::AppStoreConnect.App value) => new IncludedItem71((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator IncludedItem71(global::AppStoreConnect.CiProduct value) => new IncludedItem71((global::AppStoreConnect.CiProduct?)value); + public static implicit operator global::AppStoreConnect.App?(IncludedItem71 @this) => @this.Apps; /// /// /// - public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem71 @this) => @this.CiProducts; - - /// - /// - /// - public IncludedItem71(global::AppStoreConnect.CiProduct? value) + public IncludedItem71(global::AppStoreConnect.App? value) { - CiProducts = value; + Apps = value; } /// /// /// - public static IncludedItem71 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem71(value); + public static IncludedItem71 FromApps(global::AppStoreConnect.App? value) => new IncludedItem71(value); /// /// /// - public static implicit operator IncludedItem71(global::AppStoreConnect.CiXcodeVersion value) => new IncludedItem71((global::AppStoreConnect.CiXcodeVersion?)value); + public static implicit operator IncludedItem71(global::AppStoreConnect.BundleId value) => new IncludedItem71((global::AppStoreConnect.BundleId?)value); /// /// /// - public static implicit operator global::AppStoreConnect.CiXcodeVersion?(IncludedItem71 @this) => @this.CiXcodeVersions; + public static implicit operator global::AppStoreConnect.BundleId?(IncludedItem71 @this) => @this.BundleIds; /// /// /// - public IncludedItem71(global::AppStoreConnect.CiXcodeVersion? value) + public IncludedItem71(global::AppStoreConnect.BundleId? value) { - CiXcodeVersions = value; + BundleIds = value; } /// /// /// - public static IncludedItem71 FromCiXcodeVersions(global::AppStoreConnect.CiXcodeVersion? value) => new IncludedItem71(value); + public static IncludedItem71 FromBundleIds(global::AppStoreConnect.BundleId? value) => new IncludedItem71(value); /// /// @@ -257,18 +197,16 @@ public IncludedItem71(global::AppStoreConnect.ScmRepository? value) /// /// public IncludedItem71( - global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.CiMacOsVersion? ciMacOsVersions, - global::AppStoreConnect.CiProduct? ciProducts, - global::AppStoreConnect.CiXcodeVersion? ciXcodeVersions, + global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.BundleId? bundleIds, global::AppStoreConnect.ScmRepository? scmRepositories ) { Type = type; - CiMacOsVersions = ciMacOsVersions; - CiProducts = ciProducts; - CiXcodeVersions = ciXcodeVersions; + Apps = apps; + BundleIds = bundleIds; ScmRepositories = scmRepositories; } @@ -277,18 +215,16 @@ public IncludedItem71( /// public object? Object => ScmRepositories as object ?? - CiXcodeVersions as object ?? - CiProducts as object ?? - CiMacOsVersions as object + BundleIds as object ?? + Apps as object ; /// /// /// public override string? ToString() => - CiMacOsVersions?.ToString() ?? - CiProducts?.ToString() ?? - CiXcodeVersions?.ToString() ?? + Apps?.ToString() ?? + BundleIds?.ToString() ?? ScmRepositories?.ToString() ; @@ -297,16 +233,15 @@ CiMacOsVersions as object /// public bool Validate() { - return IsCiMacOsVersions && !IsCiProducts && !IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && IsCiProducts && !IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && !IsCiProducts && IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && !IsCiProducts && !IsCiXcodeVersions && IsScmRepositories; + return IsApps && !IsBundleIds && !IsScmRepositories || !IsApps && IsBundleIds && !IsScmRepositories || !IsApps && !IsBundleIds && IsScmRepositories; } /// /// /// public TResult? Match( - global::System.Func? ciMacOsVersions = null, - global::System.Func? ciProducts = null, - global::System.Func? ciXcodeVersions = null, + global::System.Func? apps = null, + global::System.Func? bundleIds = null, global::System.Func? scmRepositories = null, bool validate = true) { @@ -315,21 +250,17 @@ public bool Validate() Validate(); } - if (CiMacOsVersions is { } __value0 && ciMacOsVersions != null) + if (Apps is { } __value0 && apps != null) { - return ciMacOsVersions(__value0); + return apps(__value0); } - else if (CiProducts is { } __value1 && ciProducts != null) + else if (BundleIds is { } __value1 && bundleIds != null) { - return ciProducts(__value1); + return bundleIds(__value1); } - else if (CiXcodeVersions is { } __value2 && ciXcodeVersions != null) + else if (ScmRepositories is { } __value2 && scmRepositories != null) { - return ciXcodeVersions(__value2); - } - else if (ScmRepositories is { } __value3 && scmRepositories != null) - { - return scmRepositories(__value3); + return scmRepositories(__value2); } return default(TResult); @@ -339,11 +270,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? ciMacOsVersions = null, - - global::System.Action? ciProducts = null, + global::System.Action? apps = null, - global::System.Action? ciXcodeVersions = null, + global::System.Action? bundleIds = null, global::System.Action? scmRepositories = null, bool validate = true) @@ -353,21 +282,17 @@ public void Match( Validate(); } - if (CiMacOsVersions is { } __value0) - { - ciMacOsVersions?.Invoke(__value0); - } - else if (CiProducts is { } __value1) + if (Apps is { } __value0) { - ciProducts?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (CiXcodeVersions is { } __value2) + else if (BundleIds is { } __value1) { - ciXcodeVersions?.Invoke(__value2); + bundleIds?.Invoke(__value1); } - else if (ScmRepositories is { } __value3) + else if (ScmRepositories is { } __value2) { - scmRepositories?.Invoke(__value3); + scmRepositories?.Invoke(__value2); } } @@ -375,9 +300,8 @@ public void Match( /// /// public void Switch( - global::System.Action? ciMacOsVersions = null, - global::System.Action? ciProducts = null, - global::System.Action? ciXcodeVersions = null, + global::System.Action? apps = null, + global::System.Action? bundleIds = null, global::System.Action? scmRepositories = null, bool validate = true) { @@ -386,21 +310,17 @@ public void Switch( Validate(); } - if (CiMacOsVersions is { } __value0) - { - ciMacOsVersions?.Invoke(__value0); - } - else if (CiProducts is { } __value1) + if (Apps is { } __value0) { - ciProducts?.Invoke(__value1); + apps?.Invoke(__value0); } - else if (CiXcodeVersions is { } __value2) + else if (BundleIds is { } __value1) { - ciXcodeVersions?.Invoke(__value2); + bundleIds?.Invoke(__value1); } - else if (ScmRepositories is { } __value3) + else if (ScmRepositories is { } __value2) { - scmRepositories?.Invoke(__value3); + scmRepositories?.Invoke(__value2); } } @@ -411,12 +331,10 @@ public override int GetHashCode() { var fields = new object?[] { - CiMacOsVersions, - typeof(global::AppStoreConnect.CiMacOsVersion), - CiProducts, - typeof(global::AppStoreConnect.CiProduct), - CiXcodeVersions, - typeof(global::AppStoreConnect.CiXcodeVersion), + Apps, + typeof(global::AppStoreConnect.App), + BundleIds, + typeof(global::AppStoreConnect.BundleId), ScmRepositories, typeof(global::AppStoreConnect.ScmRepository), }; @@ -435,9 +353,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem71 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiMacOsVersions, other.CiMacOsVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(CiXcodeVersions, other.CiXcodeVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(BundleIds, other.BundleIds) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmRepositories, other.ScmRepositories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem72.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem72.g.cs index 956f75975..9f039d3bb 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem72.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem72.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CustomerReviewResponseV1? CustomerReviewResponses { get; init; } + public global::AppStoreConnect.CiMacOsVersion? CiMacOsVersions { get; init; } #else - public global::AppStoreConnect.CustomerReviewResponseV1? CustomerReviewResponses { get; } + public global::AppStoreConnect.CiMacOsVersion? CiMacOsVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CustomerReviewResponses))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiMacOsVersions))] #endif - public bool IsCustomerReviewResponses => CustomerReviewResponses != null; + public bool IsCiMacOsVersions => CiMacOsVersions != null; /// /// /// - public bool TryPickCustomerReviewResponses( + public bool TryPickCiMacOsVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CustomerReviewResponseV1? value) + out global::AppStoreConnect.CiMacOsVersion? value) { - value = CustomerReviewResponses; - return IsCustomerReviewResponses; + value = CiMacOsVersions; + return IsCiMacOsVersions; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1 PickCustomerReviewResponses() => CustomerReviewResponses is { } value + public global::AppStoreConnect.CiMacOsVersion PickCiMacOsVersions() => CiMacOsVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerReviewResponses' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CiMacOsVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.CiProduct? CiProducts { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.CiProduct? CiProducts { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] #endif - public bool IsTerritories => Territories != null; + public bool IsCiProducts => CiProducts != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickCiProducts( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.CiProduct? value) { - value = Territories; - return IsTerritories; + value = CiProducts; + return IsCiProducts; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.CiXcodeVersion? CiXcodeVersions { get; init; } +#else + public global::AppStoreConnect.CiXcodeVersion? CiXcodeVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiXcodeVersions))] +#endif + public bool IsCiXcodeVersions => CiXcodeVersions != null; + + /// + /// + /// + public bool TryPickCiXcodeVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.CiXcodeVersion? value) + { + value = CiXcodeVersions; + return IsCiXcodeVersions; + } + + /// + /// + /// + public global::AppStoreConnect.CiXcodeVersion PickCiXcodeVersions() => CiXcodeVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'CiXcodeVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ScmRepository? ScmRepositories { get; init; } +#else + public global::AppStoreConnect.ScmRepository? ScmRepositories { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmRepositories))] +#endif + public bool IsScmRepositories => ScmRepositories != null; + + /// + /// + /// + public bool TryPickScmRepositories( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ScmRepository? value) + { + value = ScmRepositories; + return IsScmRepositories; + } + + /// + /// + /// + public global::AppStoreConnect.ScmRepository PickScmRepositories() => ScmRepositories is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmRepositories' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem72(global::AppStoreConnect.CiMacOsVersion value) => new IncludedItem72((global::AppStoreConnect.CiMacOsVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiMacOsVersion?(IncludedItem72 @this) => @this.CiMacOsVersions; + + /// + /// + /// + public IncludedItem72(global::AppStoreConnect.CiMacOsVersion? value) + { + CiMacOsVersions = value; + } + + /// + /// + /// + public static IncludedItem72 FromCiMacOsVersions(global::AppStoreConnect.CiMacOsVersion? value) => new IncludedItem72(value); + + /// + /// + /// + public static implicit operator IncludedItem72(global::AppStoreConnect.CiProduct value) => new IncludedItem72((global::AppStoreConnect.CiProduct?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem72 @this) => @this.CiProducts; + /// /// /// - public static implicit operator IncludedItem72(global::AppStoreConnect.CustomerReviewResponseV1 value) => new IncludedItem72((global::AppStoreConnect.CustomerReviewResponseV1?)value); + public IncludedItem72(global::AppStoreConnect.CiProduct? value) + { + CiProducts = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.CustomerReviewResponseV1?(IncludedItem72 @this) => @this.CustomerReviewResponses; + public static IncludedItem72 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem72(value); /// /// /// - public IncludedItem72(global::AppStoreConnect.CustomerReviewResponseV1? value) + public static implicit operator IncludedItem72(global::AppStoreConnect.CiXcodeVersion value) => new IncludedItem72((global::AppStoreConnect.CiXcodeVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiXcodeVersion?(IncludedItem72 @this) => @this.CiXcodeVersions; + + /// + /// + /// + public IncludedItem72(global::AppStoreConnect.CiXcodeVersion? value) { - CustomerReviewResponses = value; + CiXcodeVersions = value; } /// /// /// - public static IncludedItem72 FromCustomerReviewResponses(global::AppStoreConnect.CustomerReviewResponseV1? value) => new IncludedItem72(value); + public static IncludedItem72 FromCiXcodeVersions(global::AppStoreConnect.CiXcodeVersion? value) => new IncludedItem72(value); /// /// /// - public static implicit operator IncludedItem72(global::AppStoreConnect.Territory value) => new IncludedItem72((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem72(global::AppStoreConnect.ScmRepository value) => new IncludedItem72((global::AppStoreConnect.ScmRepository?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem72 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.ScmRepository?(IncludedItem72 @this) => @this.ScmRepositories; /// /// /// - public IncludedItem72(global::AppStoreConnect.Territory? value) + public IncludedItem72(global::AppStoreConnect.ScmRepository? value) { - Territories = value; + ScmRepositories = value; } /// /// /// - public static IncludedItem72 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem72(value); + public static IncludedItem72 FromScmRepositories(global::AppStoreConnect.ScmRepository? value) => new IncludedItem72(value); /// /// /// public IncludedItem72( - global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.CustomerReviewResponseV1? customerReviewResponses, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.CiWorkflowsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.CiMacOsVersion? ciMacOsVersions, + global::AppStoreConnect.CiProduct? ciProducts, + global::AppStoreConnect.CiXcodeVersion? ciXcodeVersions, + global::AppStoreConnect.ScmRepository? scmRepositories ) { Type = type; - CustomerReviewResponses = customerReviewResponses; - Territories = territories; + CiMacOsVersions = ciMacOsVersions; + CiProducts = ciProducts; + CiXcodeVersions = ciXcodeVersions; + ScmRepositories = scmRepositories; } /// /// /// public object? Object => - Territories as object ?? - CustomerReviewResponses as object + ScmRepositories as object ?? + CiXcodeVersions as object ?? + CiProducts as object ?? + CiMacOsVersions as object ; /// /// /// public override string? ToString() => - CustomerReviewResponses?.ToString() ?? - Territories?.ToString() + CiMacOsVersions?.ToString() ?? + CiProducts?.ToString() ?? + CiXcodeVersions?.ToString() ?? + ScmRepositories?.ToString() ; /// @@ -169,15 +297,17 @@ CustomerReviewResponses as object /// public bool Validate() { - return IsCustomerReviewResponses && !IsTerritories || !IsCustomerReviewResponses && IsTerritories; + return IsCiMacOsVersions && !IsCiProducts && !IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && IsCiProducts && !IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && !IsCiProducts && IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && !IsCiProducts && !IsCiXcodeVersions && IsScmRepositories; } /// /// /// public TResult? Match( - global::System.Func? customerReviewResponses = null, - global::System.Func? territories = null, + global::System.Func? ciMacOsVersions = null, + global::System.Func? ciProducts = null, + global::System.Func? ciXcodeVersions = null, + global::System.Func? scmRepositories = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (CustomerReviewResponses is { } __value0 && customerReviewResponses != null) + if (CiMacOsVersions is { } __value0 && ciMacOsVersions != null) + { + return ciMacOsVersions(__value0); + } + else if (CiProducts is { } __value1 && ciProducts != null) + { + return ciProducts(__value1); + } + else if (CiXcodeVersions is { } __value2 && ciXcodeVersions != null) { - return customerReviewResponses(__value0); + return ciXcodeVersions(__value2); } - else if (Territories is { } __value1 && territories != null) + else if (ScmRepositories is { } __value3 && scmRepositories != null) { - return territories(__value1); + return scmRepositories(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? customerReviewResponses = null, + global::System.Action? ciMacOsVersions = null, + + global::System.Action? ciProducts = null, - global::System.Action? territories = null, + global::System.Action? ciXcodeVersions = null, + + global::System.Action? scmRepositories = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (CustomerReviewResponses is { } __value0) + if (CiMacOsVersions is { } __value0) + { + ciMacOsVersions?.Invoke(__value0); + } + else if (CiProducts is { } __value1) { - customerReviewResponses?.Invoke(__value0); + ciProducts?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (CiXcodeVersions is { } __value2) { - territories?.Invoke(__value1); + ciXcodeVersions?.Invoke(__value2); + } + else if (ScmRepositories is { } __value3) + { + scmRepositories?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? customerReviewResponses = null, - global::System.Action? territories = null, + global::System.Action? ciMacOsVersions = null, + global::System.Action? ciProducts = null, + global::System.Action? ciXcodeVersions = null, + global::System.Action? scmRepositories = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (CustomerReviewResponses is { } __value0) + if (CiMacOsVersions is { } __value0) + { + ciMacOsVersions?.Invoke(__value0); + } + else if (CiProducts is { } __value1) + { + ciProducts?.Invoke(__value1); + } + else if (CiXcodeVersions is { } __value2) { - customerReviewResponses?.Invoke(__value0); + ciXcodeVersions?.Invoke(__value2); } - else if (Territories is { } __value1) + else if (ScmRepositories is { } __value3) { - territories?.Invoke(__value1); + scmRepositories?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - CustomerReviewResponses, - typeof(global::AppStoreConnect.CustomerReviewResponseV1), - Territories, - typeof(global::AppStoreConnect.Territory), + CiMacOsVersions, + typeof(global::AppStoreConnect.CiMacOsVersion), + CiProducts, + typeof(global::AppStoreConnect.CiProduct), + CiXcodeVersions, + typeof(global::AppStoreConnect.CiXcodeVersion), + ScmRepositories, + typeof(global::AppStoreConnect.ScmRepository), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem72 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(CustomerReviewResponses, other.CustomerReviewResponses) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiMacOsVersions, other.CiMacOsVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiXcodeVersions, other.CiXcodeVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmRepositories, other.ScmRepositories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem73.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem73.g.cs index d0d2f2e38..9a44addcf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem73.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem73.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.CustomerReviewResponseV1? CustomerReviewResponses { get; init; } + public global::AppStoreConnect.CiMacOsVersion? CiMacOsVersions { get; init; } #else - public global::AppStoreConnect.CustomerReviewResponseV1? CustomerReviewResponses { get; } + public global::AppStoreConnect.CiMacOsVersion? CiMacOsVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CustomerReviewResponses))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiMacOsVersions))] #endif - public bool IsCustomerReviewResponses => CustomerReviewResponses != null; + public bool IsCiMacOsVersions => CiMacOsVersions != null; /// /// /// - public bool TryPickCustomerReviewResponses( + public bool TryPickCiMacOsVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.CustomerReviewResponseV1? value) + out global::AppStoreConnect.CiMacOsVersion? value) { - value = CustomerReviewResponses; - return IsCustomerReviewResponses; + value = CiMacOsVersions; + return IsCiMacOsVersions; } /// /// /// - public global::AppStoreConnect.CustomerReviewResponseV1 PickCustomerReviewResponses() => CustomerReviewResponses is { } value + public global::AppStoreConnect.CiMacOsVersion PickCiMacOsVersions() => CiMacOsVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerReviewResponses' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CiMacOsVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.Territory? Territories { get; init; } + public global::AppStoreConnect.CiProduct? CiProducts { get; init; } #else - public global::AppStoreConnect.Territory? Territories { get; } + public global::AppStoreConnect.CiProduct? CiProducts { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiProducts))] #endif - public bool IsTerritories => Territories != null; + public bool IsCiProducts => CiProducts != null; /// /// /// - public bool TryPickTerritories( + public bool TryPickCiProducts( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.Territory? value) + out global::AppStoreConnect.CiProduct? value) { - value = Territories; - return IsTerritories; + value = CiProducts; + return IsCiProducts; } /// /// /// - public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value + public global::AppStoreConnect.CiProduct PickCiProducts() => CiProducts is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CiProducts' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.CiXcodeVersion? CiXcodeVersions { get; init; } +#else + public global::AppStoreConnect.CiXcodeVersion? CiXcodeVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CiXcodeVersions))] +#endif + public bool IsCiXcodeVersions => CiXcodeVersions != null; + + /// + /// + /// + public bool TryPickCiXcodeVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.CiXcodeVersion? value) + { + value = CiXcodeVersions; + return IsCiXcodeVersions; + } + + /// + /// + /// + public global::AppStoreConnect.CiXcodeVersion PickCiXcodeVersions() => CiXcodeVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'CiXcodeVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.ScmRepository? ScmRepositories { get; init; } +#else + public global::AppStoreConnect.ScmRepository? ScmRepositories { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ScmRepositories))] +#endif + public bool IsScmRepositories => ScmRepositories != null; + + /// + /// + /// + public bool TryPickScmRepositories( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.ScmRepository? value) + { + value = ScmRepositories; + return IsScmRepositories; + } + + /// + /// + /// + public global::AppStoreConnect.ScmRepository PickScmRepositories() => ScmRepositories is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ScmRepositories' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem73(global::AppStoreConnect.CiMacOsVersion value) => new IncludedItem73((global::AppStoreConnect.CiMacOsVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiMacOsVersion?(IncludedItem73 @this) => @this.CiMacOsVersions; + + /// + /// + /// + public IncludedItem73(global::AppStoreConnect.CiMacOsVersion? value) + { + CiMacOsVersions = value; + } + + /// + /// + /// + public static IncludedItem73 FromCiMacOsVersions(global::AppStoreConnect.CiMacOsVersion? value) => new IncludedItem73(value); + + /// + /// + /// + public static implicit operator IncludedItem73(global::AppStoreConnect.CiProduct value) => new IncludedItem73((global::AppStoreConnect.CiProduct?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiProduct?(IncludedItem73 @this) => @this.CiProducts; + /// /// /// - public static implicit operator IncludedItem73(global::AppStoreConnect.CustomerReviewResponseV1 value) => new IncludedItem73((global::AppStoreConnect.CustomerReviewResponseV1?)value); + public IncludedItem73(global::AppStoreConnect.CiProduct? value) + { + CiProducts = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.CustomerReviewResponseV1?(IncludedItem73 @this) => @this.CustomerReviewResponses; + public static IncludedItem73 FromCiProducts(global::AppStoreConnect.CiProduct? value) => new IncludedItem73(value); /// /// /// - public IncludedItem73(global::AppStoreConnect.CustomerReviewResponseV1? value) + public static implicit operator IncludedItem73(global::AppStoreConnect.CiXcodeVersion value) => new IncludedItem73((global::AppStoreConnect.CiXcodeVersion?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.CiXcodeVersion?(IncludedItem73 @this) => @this.CiXcodeVersions; + + /// + /// + /// + public IncludedItem73(global::AppStoreConnect.CiXcodeVersion? value) { - CustomerReviewResponses = value; + CiXcodeVersions = value; } /// /// /// - public static IncludedItem73 FromCustomerReviewResponses(global::AppStoreConnect.CustomerReviewResponseV1? value) => new IncludedItem73(value); + public static IncludedItem73 FromCiXcodeVersions(global::AppStoreConnect.CiXcodeVersion? value) => new IncludedItem73(value); /// /// /// - public static implicit operator IncludedItem73(global::AppStoreConnect.Territory value) => new IncludedItem73((global::AppStoreConnect.Territory?)value); + public static implicit operator IncludedItem73(global::AppStoreConnect.ScmRepository value) => new IncludedItem73((global::AppStoreConnect.ScmRepository?)value); /// /// /// - public static implicit operator global::AppStoreConnect.Territory?(IncludedItem73 @this) => @this.Territories; + public static implicit operator global::AppStoreConnect.ScmRepository?(IncludedItem73 @this) => @this.ScmRepositories; /// /// /// - public IncludedItem73(global::AppStoreConnect.Territory? value) + public IncludedItem73(global::AppStoreConnect.ScmRepository? value) { - Territories = value; + ScmRepositories = value; } /// /// /// - public static IncludedItem73 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem73(value); + public static IncludedItem73 FromScmRepositories(global::AppStoreConnect.ScmRepository? value) => new IncludedItem73(value); /// /// /// public IncludedItem73( - global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.CustomerReviewResponseV1? customerReviewResponses, - global::AppStoreConnect.Territory? territories + global::AppStoreConnect.CiWorkflowResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.CiMacOsVersion? ciMacOsVersions, + global::AppStoreConnect.CiProduct? ciProducts, + global::AppStoreConnect.CiXcodeVersion? ciXcodeVersions, + global::AppStoreConnect.ScmRepository? scmRepositories ) { Type = type; - CustomerReviewResponses = customerReviewResponses; - Territories = territories; + CiMacOsVersions = ciMacOsVersions; + CiProducts = ciProducts; + CiXcodeVersions = ciXcodeVersions; + ScmRepositories = scmRepositories; } /// /// /// public object? Object => - Territories as object ?? - CustomerReviewResponses as object + ScmRepositories as object ?? + CiXcodeVersions as object ?? + CiProducts as object ?? + CiMacOsVersions as object ; /// /// /// public override string? ToString() => - CustomerReviewResponses?.ToString() ?? - Territories?.ToString() + CiMacOsVersions?.ToString() ?? + CiProducts?.ToString() ?? + CiXcodeVersions?.ToString() ?? + ScmRepositories?.ToString() ; /// @@ -169,15 +297,17 @@ CustomerReviewResponses as object /// public bool Validate() { - return IsCustomerReviewResponses && !IsTerritories || !IsCustomerReviewResponses && IsTerritories; + return IsCiMacOsVersions && !IsCiProducts && !IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && IsCiProducts && !IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && !IsCiProducts && IsCiXcodeVersions && !IsScmRepositories || !IsCiMacOsVersions && !IsCiProducts && !IsCiXcodeVersions && IsScmRepositories; } /// /// /// public TResult? Match( - global::System.Func? customerReviewResponses = null, - global::System.Func? territories = null, + global::System.Func? ciMacOsVersions = null, + global::System.Func? ciProducts = null, + global::System.Func? ciXcodeVersions = null, + global::System.Func? scmRepositories = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (CustomerReviewResponses is { } __value0 && customerReviewResponses != null) + if (CiMacOsVersions is { } __value0 && ciMacOsVersions != null) + { + return ciMacOsVersions(__value0); + } + else if (CiProducts is { } __value1 && ciProducts != null) + { + return ciProducts(__value1); + } + else if (CiXcodeVersions is { } __value2 && ciXcodeVersions != null) { - return customerReviewResponses(__value0); + return ciXcodeVersions(__value2); } - else if (Territories is { } __value1 && territories != null) + else if (ScmRepositories is { } __value3 && scmRepositories != null) { - return territories(__value1); + return scmRepositories(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? customerReviewResponses = null, + global::System.Action? ciMacOsVersions = null, + + global::System.Action? ciProducts = null, - global::System.Action? territories = null, + global::System.Action? ciXcodeVersions = null, + + global::System.Action? scmRepositories = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (CustomerReviewResponses is { } __value0) + if (CiMacOsVersions is { } __value0) + { + ciMacOsVersions?.Invoke(__value0); + } + else if (CiProducts is { } __value1) { - customerReviewResponses?.Invoke(__value0); + ciProducts?.Invoke(__value1); } - else if (Territories is { } __value1) + else if (CiXcodeVersions is { } __value2) { - territories?.Invoke(__value1); + ciXcodeVersions?.Invoke(__value2); + } + else if (ScmRepositories is { } __value3) + { + scmRepositories?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? customerReviewResponses = null, - global::System.Action? territories = null, + global::System.Action? ciMacOsVersions = null, + global::System.Action? ciProducts = null, + global::System.Action? ciXcodeVersions = null, + global::System.Action? scmRepositories = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (CustomerReviewResponses is { } __value0) + if (CiMacOsVersions is { } __value0) + { + ciMacOsVersions?.Invoke(__value0); + } + else if (CiProducts is { } __value1) + { + ciProducts?.Invoke(__value1); + } + else if (CiXcodeVersions is { } __value2) { - customerReviewResponses?.Invoke(__value0); + ciXcodeVersions?.Invoke(__value2); } - else if (Territories is { } __value1) + else if (ScmRepositories is { } __value3) { - territories?.Invoke(__value1); + scmRepositories?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - CustomerReviewResponses, - typeof(global::AppStoreConnect.CustomerReviewResponseV1), - Territories, - typeof(global::AppStoreConnect.Territory), + CiMacOsVersions, + typeof(global::AppStoreConnect.CiMacOsVersion), + CiProducts, + typeof(global::AppStoreConnect.CiProduct), + CiXcodeVersions, + typeof(global::AppStoreConnect.CiXcodeVersion), + ScmRepositories, + typeof(global::AppStoreConnect.ScmRepository), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem73 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(CustomerReviewResponses, other.CustomerReviewResponses) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiMacOsVersions, other.CiMacOsVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiProducts, other.CiProducts) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CiXcodeVersions, other.CiXcodeVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ScmRepositories, other.ScmRepositories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem74.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem74.g.cs index 4f9c1b6ed..6aa351c4b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem74.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem74.g.cs @@ -12,44 +12,44 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? Apps { get; init; } + public global::AppStoreConnect.CustomerReviewResponseV1? CustomerReviewResponses { get; init; } #else - public global::AppStoreConnect.App? Apps { get; } + public global::AppStoreConnect.CustomerReviewResponseV1? CustomerReviewResponses { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CustomerReviewResponses))] #endif - public bool IsApps => Apps != null; + public bool IsCustomerReviewResponses => CustomerReviewResponses != null; /// /// /// - public bool TryPickApps( + public bool TryPickCustomerReviewResponses( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.CustomerReviewResponseV1? value) { - value = Apps; - return IsApps; + value = CustomerReviewResponses; + return IsCustomerReviewResponses; } /// /// /// - public global::AppStoreConnect.App PickApps() => Apps is { } value + public global::AppStoreConnect.CustomerReviewResponseV1 PickCustomerReviewResponses() => CustomerReviewResponses is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerReviewResponses' but the value was {ToString()}."); /// /// @@ -90,25 +90,25 @@ public bool TryPickTerritories( /// /// /// - public static implicit operator IncludedItem74(global::AppStoreConnect.App value) => new IncludedItem74((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem74(global::AppStoreConnect.CustomerReviewResponseV1 value) => new IncludedItem74((global::AppStoreConnect.CustomerReviewResponseV1?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem74 @this) => @this.Apps; + public static implicit operator global::AppStoreConnect.CustomerReviewResponseV1?(IncludedItem74 @this) => @this.CustomerReviewResponses; /// /// /// - public IncludedItem74(global::AppStoreConnect.App? value) + public IncludedItem74(global::AppStoreConnect.CustomerReviewResponseV1? value) { - Apps = value; + CustomerReviewResponses = value; } /// /// /// - public static IncludedItem74 FromApps(global::AppStoreConnect.App? value) => new IncludedItem74(value); + public static IncludedItem74 FromCustomerReviewResponses(global::AppStoreConnect.CustomerReviewResponseV1? value) => new IncludedItem74(value); /// /// @@ -137,14 +137,14 @@ public IncludedItem74(global::AppStoreConnect.Territory? value) /// /// public IncludedItem74( - global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.App? apps, + global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.CustomerReviewResponseV1? customerReviewResponses, global::AppStoreConnect.Territory? territories ) { Type = type; - Apps = apps; + CustomerReviewResponses = customerReviewResponses; Territories = territories; } @@ -153,14 +153,14 @@ public IncludedItem74( /// public object? Object => Territories as object ?? - Apps as object + CustomerReviewResponses as object ; /// /// /// public override string? ToString() => - Apps?.ToString() ?? + CustomerReviewResponses?.ToString() ?? Territories?.ToString() ; @@ -169,14 +169,14 @@ Apps as object /// public bool Validate() { - return IsApps && !IsTerritories || !IsApps && IsTerritories; + return IsCustomerReviewResponses && !IsTerritories || !IsCustomerReviewResponses && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? apps = null, + global::System.Func? customerReviewResponses = null, global::System.Func? territories = null, bool validate = true) { @@ -185,9 +185,9 @@ public bool Validate() Validate(); } - if (Apps is { } __value0 && apps != null) + if (CustomerReviewResponses is { } __value0 && customerReviewResponses != null) { - return apps(__value0); + return customerReviewResponses(__value0); } else if (Territories is { } __value1 && territories != null) { @@ -201,7 +201,7 @@ public bool Validate() /// /// public void Match( - global::System.Action? apps = null, + global::System.Action? customerReviewResponses = null, global::System.Action? territories = null, bool validate = true) @@ -211,9 +211,9 @@ public void Match( Validate(); } - if (Apps is { } __value0) + if (CustomerReviewResponses is { } __value0) { - apps?.Invoke(__value0); + customerReviewResponses?.Invoke(__value0); } else if (Territories is { } __value1) { @@ -225,7 +225,7 @@ public void Match( /// /// public void Switch( - global::System.Action? apps = null, + global::System.Action? customerReviewResponses = null, global::System.Action? territories = null, bool validate = true) { @@ -234,9 +234,9 @@ public void Switch( Validate(); } - if (Apps is { } __value0) + if (CustomerReviewResponses is { } __value0) { - apps?.Invoke(__value0); + customerReviewResponses?.Invoke(__value0); } else if (Territories is { } __value1) { @@ -251,8 +251,8 @@ public override int GetHashCode() { var fields = new object?[] { - Apps, - typeof(global::AppStoreConnect.App), + CustomerReviewResponses, + typeof(global::AppStoreConnect.CustomerReviewResponseV1), Territories, typeof(global::AppStoreConnect.Territory), }; @@ -271,7 +271,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem74 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CustomerReviewResponses, other.CustomerReviewResponses) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem75.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem75.g.cs index 9af27ad71..7760e23b6 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem75.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem75.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementImageV2? GameCenterAchievementImages { get; init; } + public global::AppStoreConnect.CustomerReviewResponseV1? CustomerReviewResponses { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementImageV2? GameCenterAchievementImages { get; } + public global::AppStoreConnect.CustomerReviewResponseV1? CustomerReviewResponses { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CustomerReviewResponses))] #endif - public bool IsGameCenterAchievementImages => GameCenterAchievementImages != null; + public bool IsCustomerReviewResponses => CustomerReviewResponses != null; /// /// /// - public bool TryPickGameCenterAchievementImages( + public bool TryPickCustomerReviewResponses( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementImageV2? value) + out global::AppStoreConnect.CustomerReviewResponseV1? value) { - value = GameCenterAchievementImages; - return IsGameCenterAchievementImages; + value = CustomerReviewResponses; + return IsCustomerReviewResponses; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2 PickGameCenterAchievementImages() => GameCenterAchievementImages is { } value + public global::AppStoreConnect.CustomerReviewResponseV1 PickCustomerReviewResponses() => CustomerReviewResponses is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerReviewResponses' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickGameCenterAchievementVersions( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementVersionV2? value) + out global::AppStoreConnect.Territory? value) { - value = GameCenterAchievementVersions; - return IsGameCenterAchievementVersions; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem75(global::AppStoreConnect.GameCenterAchievementImageV2 value) => new IncludedItem75((global::AppStoreConnect.GameCenterAchievementImageV2?)value); + public static implicit operator IncludedItem75(global::AppStoreConnect.CustomerReviewResponseV1 value) => new IncludedItem75((global::AppStoreConnect.CustomerReviewResponseV1?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementImageV2?(IncludedItem75 @this) => @this.GameCenterAchievementImages; + public static implicit operator global::AppStoreConnect.CustomerReviewResponseV1?(IncludedItem75 @this) => @this.CustomerReviewResponses; /// /// /// - public IncludedItem75(global::AppStoreConnect.GameCenterAchievementImageV2? value) + public IncludedItem75(global::AppStoreConnect.CustomerReviewResponseV1? value) { - GameCenterAchievementImages = value; + CustomerReviewResponses = value; } /// /// /// - public static IncludedItem75 FromGameCenterAchievementImages(global::AppStoreConnect.GameCenterAchievementImageV2? value) => new IncludedItem75(value); + public static IncludedItem75 FromCustomerReviewResponses(global::AppStoreConnect.CustomerReviewResponseV1? value) => new IncludedItem75(value); /// /// /// - public static implicit operator IncludedItem75(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem75((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); + public static implicit operator IncludedItem75(global::AppStoreConnect.Territory value) => new IncludedItem75((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem75 @this) => @this.GameCenterAchievementVersions; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem75 @this) => @this.Territories; /// /// /// - public IncludedItem75(global::AppStoreConnect.GameCenterAchievementVersionV2? value) + public IncludedItem75(global::AppStoreConnect.Territory? value) { - GameCenterAchievementVersions = value; + Territories = value; } /// /// /// - public static IncludedItem75 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem75(value); + public static IncludedItem75 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem75(value); /// /// /// public IncludedItem75( - global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementImageV2? gameCenterAchievementImages, - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions + global::AppStoreConnect.CustomerReviewResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.CustomerReviewResponseV1? customerReviewResponses, + global::AppStoreConnect.Territory? territories ) { Type = type; - GameCenterAchievementImages = gameCenterAchievementImages; - GameCenterAchievementVersions = gameCenterAchievementVersions; + CustomerReviewResponses = customerReviewResponses; + Territories = territories; } /// /// /// public object? Object => - GameCenterAchievementVersions as object ?? - GameCenterAchievementImages as object + Territories as object ?? + CustomerReviewResponses as object ; /// /// /// public override string? ToString() => - GameCenterAchievementImages?.ToString() ?? - GameCenterAchievementVersions?.ToString() + CustomerReviewResponses?.ToString() ?? + Territories?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterAchievementImages as object /// public bool Validate() { - return IsGameCenterAchievementImages && !IsGameCenterAchievementVersions || !IsGameCenterAchievementImages && IsGameCenterAchievementVersions; + return IsCustomerReviewResponses && !IsTerritories || !IsCustomerReviewResponses && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementImages = null, - global::System.Func? gameCenterAchievementVersions = null, + global::System.Func? customerReviewResponses = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterAchievementImages is { } __value0 && gameCenterAchievementImages != null) + if (CustomerReviewResponses is { } __value0 && customerReviewResponses != null) { - return gameCenterAchievementImages(__value0); + return customerReviewResponses(__value0); } - else if (GameCenterAchievementVersions is { } __value1 && gameCenterAchievementVersions != null) + else if (Territories is { } __value1 && territories != null) { - return gameCenterAchievementVersions(__value1); + return territories(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementImages = null, + global::System.Action? customerReviewResponses = null, - global::System.Action? gameCenterAchievementVersions = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterAchievementImages is { } __value0) + if (CustomerReviewResponses is { } __value0) { - gameCenterAchievementImages?.Invoke(__value0); + customerReviewResponses?.Invoke(__value0); } - else if (GameCenterAchievementVersions is { } __value1) + else if (Territories is { } __value1) { - gameCenterAchievementVersions?.Invoke(__value1); + territories?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementImages = null, - global::System.Action? gameCenterAchievementVersions = null, + global::System.Action? customerReviewResponses = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterAchievementImages is { } __value0) + if (CustomerReviewResponses is { } __value0) { - gameCenterAchievementImages?.Invoke(__value0); + customerReviewResponses?.Invoke(__value0); } - else if (GameCenterAchievementVersions is { } __value1) + else if (Territories is { } __value1) { - gameCenterAchievementVersions?.Invoke(__value1); + territories?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievementImages, - typeof(global::AppStoreConnect.GameCenterAchievementImageV2), - GameCenterAchievementVersions, - typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), + CustomerReviewResponses, + typeof(global::AppStoreConnect.CustomerReviewResponseV1), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem75 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementImages, other.GameCenterAchievementImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(CustomerReviewResponses, other.CustomerReviewResponses) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem76.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem76.g.cs index adc4abf15..c8ee31186 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem76.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem76.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementImageV2? GameCenterAchievementImages { get; init; } + public global::AppStoreConnect.App? Apps { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementImageV2? GameCenterAchievementImages { get; } + public global::AppStoreConnect.App? Apps { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Apps))] #endif - public bool IsGameCenterAchievementImages => GameCenterAchievementImages != null; + public bool IsApps => Apps != null; /// /// /// - public bool TryPickGameCenterAchievementImages( + public bool TryPickApps( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementImageV2? value) + out global::AppStoreConnect.App? value) { - value = GameCenterAchievementImages; - return IsGameCenterAchievementImages; + value = Apps; + return IsApps; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementImageV2 PickGameCenterAchievementImages() => GameCenterAchievementImages is { } value + public global::AppStoreConnect.App PickApps() => Apps is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Apps' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } + public global::AppStoreConnect.Territory? Territories { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } + public global::AppStoreConnect.Territory? Territories { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Territories))] #endif - public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; + public bool IsTerritories => Territories != null; /// /// /// - public bool TryPickGameCenterAchievementVersions( + public bool TryPickTerritories( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementVersionV2? value) + out global::AppStoreConnect.Territory? value) { - value = GameCenterAchievementVersions; - return IsGameCenterAchievementVersions; + value = Territories; + return IsTerritories; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value + public global::AppStoreConnect.Territory PickTerritories() => Territories is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'Territories' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem76(global::AppStoreConnect.GameCenterAchievementImageV2 value) => new IncludedItem76((global::AppStoreConnect.GameCenterAchievementImageV2?)value); + public static implicit operator IncludedItem76(global::AppStoreConnect.App value) => new IncludedItem76((global::AppStoreConnect.App?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementImageV2?(IncludedItem76 @this) => @this.GameCenterAchievementImages; + public static implicit operator global::AppStoreConnect.App?(IncludedItem76 @this) => @this.Apps; /// /// /// - public IncludedItem76(global::AppStoreConnect.GameCenterAchievementImageV2? value) + public IncludedItem76(global::AppStoreConnect.App? value) { - GameCenterAchievementImages = value; + Apps = value; } /// /// /// - public static IncludedItem76 FromGameCenterAchievementImages(global::AppStoreConnect.GameCenterAchievementImageV2? value) => new IncludedItem76(value); + public static IncludedItem76 FromApps(global::AppStoreConnect.App? value) => new IncludedItem76(value); /// /// /// - public static implicit operator IncludedItem76(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem76((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); + public static implicit operator IncludedItem76(global::AppStoreConnect.Territory value) => new IncludedItem76((global::AppStoreConnect.Territory?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem76 @this) => @this.GameCenterAchievementVersions; + public static implicit operator global::AppStoreConnect.Territory?(IncludedItem76 @this) => @this.Territories; /// /// /// - public IncludedItem76(global::AppStoreConnect.GameCenterAchievementVersionV2? value) + public IncludedItem76(global::AppStoreConnect.Territory? value) { - GameCenterAchievementVersions = value; + Territories = value; } /// /// /// - public static IncludedItem76 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem76(value); + public static IncludedItem76 FromTerritories(global::AppStoreConnect.Territory? value) => new IncludedItem76(value); /// /// /// public IncludedItem76( - global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementImageV2? gameCenterAchievementImages, - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions + global::AppStoreConnect.EndUserLicenseAgreementResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.App? apps, + global::AppStoreConnect.Territory? territories ) { Type = type; - GameCenterAchievementImages = gameCenterAchievementImages; - GameCenterAchievementVersions = gameCenterAchievementVersions; + Apps = apps; + Territories = territories; } /// /// /// public object? Object => - GameCenterAchievementVersions as object ?? - GameCenterAchievementImages as object + Territories as object ?? + Apps as object ; /// /// /// public override string? ToString() => - GameCenterAchievementImages?.ToString() ?? - GameCenterAchievementVersions?.ToString() + Apps?.ToString() ?? + Territories?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterAchievementImages as object /// public bool Validate() { - return IsGameCenterAchievementImages && !IsGameCenterAchievementVersions || !IsGameCenterAchievementImages && IsGameCenterAchievementVersions; + return IsApps && !IsTerritories || !IsApps && IsTerritories; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementImages = null, - global::System.Func? gameCenterAchievementVersions = null, + global::System.Func? apps = null, + global::System.Func? territories = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterAchievementImages is { } __value0 && gameCenterAchievementImages != null) + if (Apps is { } __value0 && apps != null) { - return gameCenterAchievementImages(__value0); + return apps(__value0); } - else if (GameCenterAchievementVersions is { } __value1 && gameCenterAchievementVersions != null) + else if (Territories is { } __value1 && territories != null) { - return gameCenterAchievementVersions(__value1); + return territories(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementImages = null, + global::System.Action? apps = null, - global::System.Action? gameCenterAchievementVersions = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterAchievementImages is { } __value0) + if (Apps is { } __value0) { - gameCenterAchievementImages?.Invoke(__value0); + apps?.Invoke(__value0); } - else if (GameCenterAchievementVersions is { } __value1) + else if (Territories is { } __value1) { - gameCenterAchievementVersions?.Invoke(__value1); + territories?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementImages = null, - global::System.Action? gameCenterAchievementVersions = null, + global::System.Action? apps = null, + global::System.Action? territories = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterAchievementImages is { } __value0) + if (Apps is { } __value0) { - gameCenterAchievementImages?.Invoke(__value0); + apps?.Invoke(__value0); } - else if (GameCenterAchievementVersions is { } __value1) + else if (Territories is { } __value1) { - gameCenterAchievementVersions?.Invoke(__value1); + territories?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievementImages, - typeof(global::AppStoreConnect.GameCenterAchievementImageV2), - GameCenterAchievementVersions, - typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), + Apps, + typeof(global::AppStoreConnect.App), + Territories, + typeof(global::AppStoreConnect.Territory), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem76 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementImages, other.GameCenterAchievementImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Apps, other.Apps) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Territories, other.Territories) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem77.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem77.g.cs index 8fa3f64a4..5c97adf25 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem77.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem77.g.cs @@ -12,15 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementImage? GameCenterAchievementImages { get; init; } + public global::AppStoreConnect.GameCenterAchievementImageV2? GameCenterAchievementImages { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementImage? GameCenterAchievementImages { get; } + public global::AppStoreConnect.GameCenterAchievementImageV2? GameCenterAchievementImages { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickGameCenterAchievementImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementImage? value) + out global::AppStoreConnect.GameCenterAchievementImageV2? value) { value = GameCenterAchievementImages; return IsGameCenterAchievementImages; @@ -47,7 +47,7 @@ public bool TryPickGameCenterAchievementImages( /// /// /// - public global::AppStoreConnect.GameCenterAchievementImage PickGameCenterAchievementImages() => GameCenterAchievementImages is { } value + public global::AppStoreConnect.GameCenterAchievementImageV2 PickGameCenterAchievementImages() => GameCenterAchievementImages is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementImages' but the value was {ToString()}."); @@ -55,52 +55,52 @@ public bool TryPickGameCenterAchievementImages( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } #else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickGameCenterAchievementVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievement? value) + out global::AppStoreConnect.GameCenterAchievementVersionV2? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = GameCenterAchievementVersions; + return IsGameCenterAchievementVersions; } /// /// /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem77(global::AppStoreConnect.GameCenterAchievementImage value) => new IncludedItem77((global::AppStoreConnect.GameCenterAchievementImage?)value); + public static implicit operator IncludedItem77(global::AppStoreConnect.GameCenterAchievementImageV2 value) => new IncludedItem77((global::AppStoreConnect.GameCenterAchievementImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementImage?(IncludedItem77 @this) => @this.GameCenterAchievementImages; + public static implicit operator global::AppStoreConnect.GameCenterAchievementImageV2?(IncludedItem77 @this) => @this.GameCenterAchievementImages; /// /// /// - public IncludedItem77(global::AppStoreConnect.GameCenterAchievementImage? value) + public IncludedItem77(global::AppStoreConnect.GameCenterAchievementImageV2? value) { GameCenterAchievementImages = value; } @@ -108,51 +108,51 @@ public IncludedItem77(global::AppStoreConnect.GameCenterAchievementImage? value) /// /// /// - public static IncludedItem77 FromGameCenterAchievementImages(global::AppStoreConnect.GameCenterAchievementImage? value) => new IncludedItem77(value); + public static IncludedItem77 FromGameCenterAchievementImages(global::AppStoreConnect.GameCenterAchievementImageV2? value) => new IncludedItem77(value); /// /// /// - public static implicit operator IncludedItem77(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem77((global::AppStoreConnect.GameCenterAchievement?)value); + public static implicit operator IncludedItem77(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem77((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem77 @this) => @this.GameCenterAchievements; + public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem77 @this) => @this.GameCenterAchievementVersions; /// /// /// - public IncludedItem77(global::AppStoreConnect.GameCenterAchievement? value) + public IncludedItem77(global::AppStoreConnect.GameCenterAchievementVersionV2? value) { - GameCenterAchievements = value; + GameCenterAchievementVersions = value; } /// /// /// - public static IncludedItem77 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem77(value); + public static IncludedItem77 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem77(value); /// /// /// public IncludedItem77( - global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementImage? gameCenterAchievementImages, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements + global::AppStoreConnect.GameCenterAchievementLocalizationsV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementImageV2? gameCenterAchievementImages, + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions ) { Type = type; GameCenterAchievementImages = gameCenterAchievementImages; - GameCenterAchievements = gameCenterAchievements; + GameCenterAchievementVersions = gameCenterAchievementVersions; } /// /// /// public object? Object => - GameCenterAchievements as object ?? + GameCenterAchievementVersions as object ?? GameCenterAchievementImages as object ; @@ -161,7 +161,7 @@ GameCenterAchievementImages as object /// public override string? ToString() => GameCenterAchievementImages?.ToString() ?? - GameCenterAchievements?.ToString() + GameCenterAchievementVersions?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterAchievementImages as object /// public bool Validate() { - return IsGameCenterAchievementImages && !IsGameCenterAchievements || !IsGameCenterAchievementImages && IsGameCenterAchievements; + return IsGameCenterAchievementImages && !IsGameCenterAchievementVersions || !IsGameCenterAchievementImages && IsGameCenterAchievementVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementImages = null, - global::System.Func? gameCenterAchievements = null, + global::System.Func? gameCenterAchievementImages = null, + global::System.Func? gameCenterAchievementVersions = null, bool validate = true) { if (validate) @@ -189,9 +189,9 @@ public bool Validate() { return gameCenterAchievementImages(__value0); } - else if (GameCenterAchievements is { } __value1 && gameCenterAchievements != null) + else if (GameCenterAchievementVersions is { } __value1 && gameCenterAchievementVersions != null) { - return gameCenterAchievements(__value1); + return gameCenterAchievementVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementImages = null, + global::System.Action? gameCenterAchievementImages = null, - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievementVersions = null, bool validate = true) { if (validate) @@ -215,9 +215,9 @@ public void Match( { gameCenterAchievementImages?.Invoke(__value0); } - else if (GameCenterAchievements is { } __value1) + else if (GameCenterAchievementVersions is { } __value1) { - gameCenterAchievements?.Invoke(__value1); + gameCenterAchievementVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementImages = null, - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievementImages = null, + global::System.Action? gameCenterAchievementVersions = null, bool validate = true) { if (validate) @@ -238,9 +238,9 @@ public void Switch( { gameCenterAchievementImages?.Invoke(__value0); } - else if (GameCenterAchievements is { } __value1) + else if (GameCenterAchievementVersions is { } __value1) { - gameCenterAchievements?.Invoke(__value1); + gameCenterAchievementVersions?.Invoke(__value1); } } @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { GameCenterAchievementImages, - typeof(global::AppStoreConnect.GameCenterAchievementImage), - GameCenterAchievements, - typeof(global::AppStoreConnect.GameCenterAchievement), + typeof(global::AppStoreConnect.GameCenterAchievementImageV2), + GameCenterAchievementVersions, + typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem77 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementImages, other.GameCenterAchievementImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementImages, other.GameCenterAchievementImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem78.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem78.g.cs index 9017eaf43..44f364458 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem78.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem78.g.cs @@ -12,15 +12,15 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementImage? GameCenterAchievementImages { get; init; } + public global::AppStoreConnect.GameCenterAchievementImageV2? GameCenterAchievementImages { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementImage? GameCenterAchievementImages { get; } + public global::AppStoreConnect.GameCenterAchievementImageV2? GameCenterAchievementImages { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickGameCenterAchievementImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementImage? value) + out global::AppStoreConnect.GameCenterAchievementImageV2? value) { value = GameCenterAchievementImages; return IsGameCenterAchievementImages; @@ -47,7 +47,7 @@ public bool TryPickGameCenterAchievementImages( /// /// /// - public global::AppStoreConnect.GameCenterAchievementImage PickGameCenterAchievementImages() => GameCenterAchievementImages is { } value + public global::AppStoreConnect.GameCenterAchievementImageV2 PickGameCenterAchievementImages() => GameCenterAchievementImages is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementImages' but the value was {ToString()}."); @@ -55,52 +55,52 @@ public bool TryPickGameCenterAchievementImages( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } #else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickGameCenterAchievementVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievement? value) + out global::AppStoreConnect.GameCenterAchievementVersionV2? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = GameCenterAchievementVersions; + return IsGameCenterAchievementVersions; } /// /// /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem78(global::AppStoreConnect.GameCenterAchievementImage value) => new IncludedItem78((global::AppStoreConnect.GameCenterAchievementImage?)value); + public static implicit operator IncludedItem78(global::AppStoreConnect.GameCenterAchievementImageV2 value) => new IncludedItem78((global::AppStoreConnect.GameCenterAchievementImageV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementImage?(IncludedItem78 @this) => @this.GameCenterAchievementImages; + public static implicit operator global::AppStoreConnect.GameCenterAchievementImageV2?(IncludedItem78 @this) => @this.GameCenterAchievementImages; /// /// /// - public IncludedItem78(global::AppStoreConnect.GameCenterAchievementImage? value) + public IncludedItem78(global::AppStoreConnect.GameCenterAchievementImageV2? value) { GameCenterAchievementImages = value; } @@ -108,51 +108,51 @@ public IncludedItem78(global::AppStoreConnect.GameCenterAchievementImage? value) /// /// /// - public static IncludedItem78 FromGameCenterAchievementImages(global::AppStoreConnect.GameCenterAchievementImage? value) => new IncludedItem78(value); + public static IncludedItem78 FromGameCenterAchievementImages(global::AppStoreConnect.GameCenterAchievementImageV2? value) => new IncludedItem78(value); /// /// /// - public static implicit operator IncludedItem78(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem78((global::AppStoreConnect.GameCenterAchievement?)value); + public static implicit operator IncludedItem78(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem78((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem78 @this) => @this.GameCenterAchievements; + public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem78 @this) => @this.GameCenterAchievementVersions; /// /// /// - public IncludedItem78(global::AppStoreConnect.GameCenterAchievement? value) + public IncludedItem78(global::AppStoreConnect.GameCenterAchievementVersionV2? value) { - GameCenterAchievements = value; + GameCenterAchievementVersions = value; } /// /// /// - public static IncludedItem78 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem78(value); + public static IncludedItem78 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem78(value); /// /// /// public IncludedItem78( - global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementImage? gameCenterAchievementImages, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements + global::AppStoreConnect.GameCenterAchievementLocalizationV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementImageV2? gameCenterAchievementImages, + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions ) { Type = type; GameCenterAchievementImages = gameCenterAchievementImages; - GameCenterAchievements = gameCenterAchievements; + GameCenterAchievementVersions = gameCenterAchievementVersions; } /// /// /// public object? Object => - GameCenterAchievements as object ?? + GameCenterAchievementVersions as object ?? GameCenterAchievementImages as object ; @@ -161,7 +161,7 @@ GameCenterAchievementImages as object /// public override string? ToString() => GameCenterAchievementImages?.ToString() ?? - GameCenterAchievements?.ToString() + GameCenterAchievementVersions?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterAchievementImages as object /// public bool Validate() { - return IsGameCenterAchievementImages && !IsGameCenterAchievements || !IsGameCenterAchievementImages && IsGameCenterAchievements; + return IsGameCenterAchievementImages && !IsGameCenterAchievementVersions || !IsGameCenterAchievementImages && IsGameCenterAchievementVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementImages = null, - global::System.Func? gameCenterAchievements = null, + global::System.Func? gameCenterAchievementImages = null, + global::System.Func? gameCenterAchievementVersions = null, bool validate = true) { if (validate) @@ -189,9 +189,9 @@ public bool Validate() { return gameCenterAchievementImages(__value0); } - else if (GameCenterAchievements is { } __value1 && gameCenterAchievements != null) + else if (GameCenterAchievementVersions is { } __value1 && gameCenterAchievementVersions != null) { - return gameCenterAchievements(__value1); + return gameCenterAchievementVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementImages = null, + global::System.Action? gameCenterAchievementImages = null, - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievementVersions = null, bool validate = true) { if (validate) @@ -215,9 +215,9 @@ public void Match( { gameCenterAchievementImages?.Invoke(__value0); } - else if (GameCenterAchievements is { } __value1) + else if (GameCenterAchievementVersions is { } __value1) { - gameCenterAchievements?.Invoke(__value1); + gameCenterAchievementVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementImages = null, - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievementImages = null, + global::System.Action? gameCenterAchievementVersions = null, bool validate = true) { if (validate) @@ -238,9 +238,9 @@ public void Switch( { gameCenterAchievementImages?.Invoke(__value0); } - else if (GameCenterAchievements is { } __value1) + else if (GameCenterAchievementVersions is { } __value1) { - gameCenterAchievements?.Invoke(__value1); + gameCenterAchievementVersions?.Invoke(__value1); } } @@ -252,9 +252,9 @@ public override int GetHashCode() var fields = new object?[] { GameCenterAchievementImages, - typeof(global::AppStoreConnect.GameCenterAchievementImage), - GameCenterAchievements, - typeof(global::AppStoreConnect.GameCenterAchievement), + typeof(global::AppStoreConnect.GameCenterAchievementImageV2), + GameCenterAchievementVersions, + typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem78 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementImages, other.GameCenterAchievementImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementImages, other.GameCenterAchievementImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem79.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem79.g.cs index fcf357e3f..a2a03d6a0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem79.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem79.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } + public global::AppStoreConnect.GameCenterAchievementImage? GameCenterAchievementImages { get; init; } #else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } + public global::AppStoreConnect.GameCenterAchievementImage? GameCenterAchievementImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementImages))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsGameCenterAchievementImages => GameCenterAchievementImages != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickGameCenterAchievementImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievement? value) + out global::AppStoreConnect.GameCenterAchievementImage? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = GameCenterAchievementImages; + return IsGameCenterAchievementImages; } /// /// /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.GameCenterAchievementImage PickGameCenterAchievementImages() => GameCenterAchievementImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem79(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem79((global::AppStoreConnect.GameCenterAchievement?)value); + public static implicit operator IncludedItem79(global::AppStoreConnect.GameCenterAchievementImage value) => new IncludedItem79((global::AppStoreConnect.GameCenterAchievementImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem79 @this) => @this.GameCenterAchievements; + public static implicit operator global::AppStoreConnect.GameCenterAchievementImage?(IncludedItem79 @this) => @this.GameCenterAchievementImages; /// /// /// - public IncludedItem79(global::AppStoreConnect.GameCenterAchievement? value) + public IncludedItem79(global::AppStoreConnect.GameCenterAchievementImage? value) { - GameCenterAchievements = value; + GameCenterAchievementImages = value; } /// /// /// - public static IncludedItem79 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem79(value); + public static IncludedItem79 FromGameCenterAchievementImages(global::AppStoreConnect.GameCenterAchievementImage? value) => new IncludedItem79(value); /// /// /// - public static implicit operator IncludedItem79(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem79((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem79(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem79((global::AppStoreConnect.GameCenterAchievement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem79 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem79 @this) => @this.GameCenterAchievements; /// /// /// - public IncludedItem79(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem79(global::AppStoreConnect.GameCenterAchievement? value) { - GameCenterDetails = value; + GameCenterAchievements = value; } /// /// /// - public static IncludedItem79 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem79(value); + public static IncludedItem79 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem79(value); /// /// /// public IncludedItem79( - global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails + global::AppStoreConnect.GameCenterAchievementLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementImage? gameCenterAchievementImages, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements ) { Type = type; + GameCenterAchievementImages = gameCenterAchievementImages; GameCenterAchievements = gameCenterAchievements; - GameCenterDetails = gameCenterDetails; } /// /// /// public object? Object => - GameCenterDetails as object ?? - GameCenterAchievements as object + GameCenterAchievements as object ?? + GameCenterAchievementImages as object ; /// /// /// public override string? ToString() => - GameCenterAchievements?.ToString() ?? - GameCenterDetails?.ToString() + GameCenterAchievementImages?.ToString() ?? + GameCenterAchievements?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterAchievements as object /// public bool Validate() { - return IsGameCenterAchievements && !IsGameCenterDetails || !IsGameCenterAchievements && IsGameCenterDetails; + return IsGameCenterAchievementImages && !IsGameCenterAchievements || !IsGameCenterAchievementImages && IsGameCenterAchievements; } /// /// /// public TResult? Match( + global::System.Func? gameCenterAchievementImages = null, global::System.Func? gameCenterAchievements = null, - global::System.Func? gameCenterDetails = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) + if (GameCenterAchievementImages is { } __value0 && gameCenterAchievementImages != null) { - return gameCenterAchievements(__value0); + return gameCenterAchievementImages(__value0); } - else if (GameCenterDetails is { } __value1 && gameCenterDetails != null) + else if (GameCenterAchievements is { } __value1 && gameCenterAchievements != null) { - return gameCenterDetails(__value1); + return gameCenterAchievements(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievementImages = null, - global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterAchievements = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterAchievements is { } __value0) + if (GameCenterAchievementImages is { } __value0) { - gameCenterAchievements?.Invoke(__value0); + gameCenterAchievementImages?.Invoke(__value0); } - else if (GameCenterDetails is { } __value1) + else if (GameCenterAchievements is { } __value1) { - gameCenterDetails?.Invoke(__value1); + gameCenterAchievements?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( + global::System.Action? gameCenterAchievementImages = null, global::System.Action? gameCenterAchievements = null, - global::System.Action? gameCenterDetails = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterAchievements is { } __value0) + if (GameCenterAchievementImages is { } __value0) { - gameCenterAchievements?.Invoke(__value0); + gameCenterAchievementImages?.Invoke(__value0); } - else if (GameCenterDetails is { } __value1) + else if (GameCenterAchievements is { } __value1) { - gameCenterDetails?.Invoke(__value1); + gameCenterAchievements?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { + GameCenterAchievementImages, + typeof(global::AppStoreConnect.GameCenterAchievementImage), GameCenterAchievements, typeof(global::AppStoreConnect.GameCenterAchievement), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem79 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementImages, other.GameCenterAchievementImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem8.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem8.g.cs index 9d720918e..f330eb5e7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem8.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem8.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipAppStoreReviewDetail? AppClipAppStoreReviewDetails { get; init; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences { get; init; } #else - public global::AppStoreConnect.AppClipAppStoreReviewDetail? AppClipAppStoreReviewDetails { get; } + public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAppStoreReviewDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences))] #endif - public bool IsAppClipAppStoreReviewDetails => AppClipAppStoreReviewDetails != null; + public bool IsAppClipDefaultExperiences => AppClipDefaultExperiences != null; /// /// /// - public bool TryPickAppClipAppStoreReviewDetails( + public bool TryPickAppClipDefaultExperiences( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipAppStoreReviewDetail? value) + out global::AppStoreConnect.AppClipDefaultExperience? value) { - value = AppClipAppStoreReviewDetails; - return IsAppClipAppStoreReviewDetails; + value = AppClipDefaultExperiences; + return IsAppClipDefaultExperiences; } /// /// /// - public global::AppStoreConnect.AppClipAppStoreReviewDetail PickAppClipAppStoreReviewDetails() => AppClipAppStoreReviewDetails is { } value + public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences() => AppClipDefaultExperiences is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAppStoreReviewDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipDefaultExperienceLocalization? AppClipDefaultExperienceLocalizations1 { get; init; } + public global::AppStoreConnect.AppClipHeaderImage? AppClipHeaderImages { get; init; } #else - public global::AppStoreConnect.AppClipDefaultExperienceLocalization? AppClipDefaultExperienceLocalizations1 { get; } + public global::AppStoreConnect.AppClipHeaderImage? AppClipHeaderImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperienceLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipHeaderImages))] #endif - public bool IsAppClipDefaultExperienceLocalizations1 => AppClipDefaultExperienceLocalizations1 != null; + public bool IsAppClipHeaderImages => AppClipHeaderImages != null; /// /// /// - public bool TryPickAppClipDefaultExperienceLocalizations1( + public bool TryPickAppClipHeaderImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) + out global::AppStoreConnect.AppClipHeaderImage? value) { - value = AppClipDefaultExperienceLocalizations1; - return IsAppClipDefaultExperienceLocalizations1; + value = AppClipHeaderImages; + return IsAppClipHeaderImages; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperienceLocalization PickAppClipDefaultExperienceLocalizations1() => AppClipDefaultExperienceLocalizations1 is { } value + public global::AppStoreConnect.AppClipHeaderImage PickAppClipHeaderImages() => AppClipHeaderImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperienceLocalizations1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClip? AppClipDefaultExperienceLocalizations2 { get; init; } -#else - public global::AppStoreConnect.AppClip? AppClipDefaultExperienceLocalizations2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperienceLocalizations2))] -#endif - public bool IsAppClipDefaultExperienceLocalizations2 => AppClipDefaultExperienceLocalizations2 != null; - - /// - /// - /// - public bool TryPickAppClipDefaultExperienceLocalizations2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppClip? value) - { - value = AppClipDefaultExperienceLocalizations2; - return IsAppClipDefaultExperienceLocalizations2; - } - - /// - /// - /// - public global::AppStoreConnect.AppClip PickAppClipDefaultExperienceLocalizations2() => AppClipDefaultExperienceLocalizations2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperienceLocalizations2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } -#else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] -#endif - public bool IsAppStoreVersions => AppStoreVersions != null; - - /// - /// - /// - public bool TryPickAppStoreVersions( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.AppStoreVersion? value) - { - value = AppStoreVersions; - return IsAppStoreVersions; - } - - /// - /// - /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem8(global::AppStoreConnect.AppClipAppStoreReviewDetail value) => new IncludedItem8((global::AppStoreConnect.AppClipAppStoreReviewDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClipAppStoreReviewDetail?(IncludedItem8 @this) => @this.AppClipAppStoreReviewDetails; - - /// - /// - /// - public IncludedItem8(global::AppStoreConnect.AppClipAppStoreReviewDetail? value) - { - AppClipAppStoreReviewDetails = value; - } - - /// - /// - /// - public static IncludedItem8 FromAppClipAppStoreReviewDetails(global::AppStoreConnect.AppClipAppStoreReviewDetail? value) => new IncludedItem8(value); - - /// - /// - /// - public static implicit operator IncludedItem8(global::AppStoreConnect.AppClipDefaultExperienceLocalization value) => new IncludedItem8((global::AppStoreConnect.AppClipDefaultExperienceLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClipDefaultExperienceLocalization?(IncludedItem8 @this) => @this.AppClipDefaultExperienceLocalizations1; - + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipHeaderImages' but the value was {ToString()}."); /// /// /// - public IncludedItem8(global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) - { - AppClipDefaultExperienceLocalizations1 = value; - } + public static implicit operator IncludedItem8(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem8((global::AppStoreConnect.AppClipDefaultExperience?)value); /// /// /// - public static IncludedItem8 FromAppClipDefaultExperienceLocalizations1(global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) => new IncludedItem8(value); + public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem8 @this) => @this.AppClipDefaultExperiences; /// /// /// - public static implicit operator IncludedItem8(global::AppStoreConnect.AppClip value) => new IncludedItem8((global::AppStoreConnect.AppClip?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem8 @this) => @this.AppClipDefaultExperienceLocalizations2; - - /// - /// - /// - public IncludedItem8(global::AppStoreConnect.AppClip? value) + public IncludedItem8(global::AppStoreConnect.AppClipDefaultExperience? value) { - AppClipDefaultExperienceLocalizations2 = value; + AppClipDefaultExperiences = value; } /// /// /// - public static IncludedItem8 FromAppClipDefaultExperienceLocalizations2(global::AppStoreConnect.AppClip? value) => new IncludedItem8(value); + public static IncludedItem8 FromAppClipDefaultExperiences(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem8(value); /// /// /// - public static implicit operator IncludedItem8(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem8((global::AppStoreConnect.AppStoreVersion?)value); + public static implicit operator IncludedItem8(global::AppStoreConnect.AppClipHeaderImage value) => new IncludedItem8((global::AppStoreConnect.AppClipHeaderImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem8 @this) => @this.AppStoreVersions; + public static implicit operator global::AppStoreConnect.AppClipHeaderImage?(IncludedItem8 @this) => @this.AppClipHeaderImages; /// /// /// - public IncludedItem8(global::AppStoreConnect.AppStoreVersion? value) + public IncludedItem8(global::AppStoreConnect.AppClipHeaderImage? value) { - AppStoreVersions = value; + AppClipHeaderImages = value; } /// /// /// - public static IncludedItem8 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem8(value); + public static IncludedItem8 FromAppClipHeaderImages(global::AppStoreConnect.AppClipHeaderImage? value) => new IncludedItem8(value); /// /// /// public IncludedItem8( - global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppClipAppStoreReviewDetail? appClipAppStoreReviewDetails, - global::AppStoreConnect.AppClipDefaultExperienceLocalization? appClipDefaultExperienceLocalizations1, - global::AppStoreConnect.AppClip? appClipDefaultExperienceLocalizations2, - global::AppStoreConnect.AppStoreVersion? appStoreVersions + global::AppStoreConnect.AppClipDefaultExperienceLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences, + global::AppStoreConnect.AppClipHeaderImage? appClipHeaderImages ) { Type = type; - AppClipAppStoreReviewDetails = appClipAppStoreReviewDetails; - AppClipDefaultExperienceLocalizations1 = appClipDefaultExperienceLocalizations1; - AppClipDefaultExperienceLocalizations2 = appClipDefaultExperienceLocalizations2; - AppStoreVersions = appStoreVersions; + AppClipDefaultExperiences = appClipDefaultExperiences; + AppClipHeaderImages = appClipHeaderImages; } /// /// /// public object? Object => - AppStoreVersions as object ?? - AppClipDefaultExperienceLocalizations2 as object ?? - AppClipDefaultExperienceLocalizations1 as object ?? - AppClipAppStoreReviewDetails as object + AppClipHeaderImages as object ?? + AppClipDefaultExperiences as object ; /// /// /// public override string? ToString() => - AppClipAppStoreReviewDetails?.ToString() ?? - AppClipDefaultExperienceLocalizations1?.ToString() ?? - AppClipDefaultExperienceLocalizations2?.ToString() ?? - AppStoreVersions?.ToString() + AppClipDefaultExperiences?.ToString() ?? + AppClipHeaderImages?.ToString() ; /// @@ -297,17 +169,15 @@ AppClipAppStoreReviewDetails as object /// public bool Validate() { - return IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && IsAppStoreVersions; + return IsAppClipDefaultExperiences && !IsAppClipHeaderImages || !IsAppClipDefaultExperiences && IsAppClipHeaderImages; } /// /// /// public TResult? Match( - global::System.Func? appClipAppStoreReviewDetails = null, - global::System.Func? appClipDefaultExperienceLocalizations1 = null, - global::System.Func? appClipDefaultExperienceLocalizations2 = null, - global::System.Func? appStoreVersions = null, + global::System.Func? appClipDefaultExperiences = null, + global::System.Func? appClipHeaderImages = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (AppClipAppStoreReviewDetails is { } __value0 && appClipAppStoreReviewDetails != null) - { - return appClipAppStoreReviewDetails(__value0); - } - else if (AppClipDefaultExperienceLocalizations1 is { } __value1 && appClipDefaultExperienceLocalizations1 != null) - { - return appClipDefaultExperienceLocalizations1(__value1); - } - else if (AppClipDefaultExperienceLocalizations2 is { } __value2 && appClipDefaultExperienceLocalizations2 != null) + if (AppClipDefaultExperiences is { } __value0 && appClipDefaultExperiences != null) { - return appClipDefaultExperienceLocalizations2(__value2); + return appClipDefaultExperiences(__value0); } - else if (AppStoreVersions is { } __value3 && appStoreVersions != null) + else if (AppClipHeaderImages is { } __value1 && appClipHeaderImages != null) { - return appStoreVersions(__value3); + return appClipHeaderImages(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? appClipAppStoreReviewDetails = null, - - global::System.Action? appClipDefaultExperienceLocalizations1 = null, + global::System.Action? appClipDefaultExperiences = null, - global::System.Action? appClipDefaultExperienceLocalizations2 = null, - - global::System.Action? appStoreVersions = null, + global::System.Action? appClipHeaderImages = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (AppClipAppStoreReviewDetails is { } __value0) - { - appClipAppStoreReviewDetails?.Invoke(__value0); - } - else if (AppClipDefaultExperienceLocalizations1 is { } __value1) + if (AppClipDefaultExperiences is { } __value0) { - appClipDefaultExperienceLocalizations1?.Invoke(__value1); + appClipDefaultExperiences?.Invoke(__value0); } - else if (AppClipDefaultExperienceLocalizations2 is { } __value2) + else if (AppClipHeaderImages is { } __value1) { - appClipDefaultExperienceLocalizations2?.Invoke(__value2); - } - else if (AppStoreVersions is { } __value3) - { - appStoreVersions?.Invoke(__value3); + appClipHeaderImages?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? appClipAppStoreReviewDetails = null, - global::System.Action? appClipDefaultExperienceLocalizations1 = null, - global::System.Action? appClipDefaultExperienceLocalizations2 = null, - global::System.Action? appStoreVersions = null, + global::System.Action? appClipDefaultExperiences = null, + global::System.Action? appClipHeaderImages = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (AppClipAppStoreReviewDetails is { } __value0) - { - appClipAppStoreReviewDetails?.Invoke(__value0); - } - else if (AppClipDefaultExperienceLocalizations1 is { } __value1) - { - appClipDefaultExperienceLocalizations1?.Invoke(__value1); - } - else if (AppClipDefaultExperienceLocalizations2 is { } __value2) + if (AppClipDefaultExperiences is { } __value0) { - appClipDefaultExperienceLocalizations2?.Invoke(__value2); + appClipDefaultExperiences?.Invoke(__value0); } - else if (AppStoreVersions is { } __value3) + else if (AppClipHeaderImages is { } __value1) { - appStoreVersions?.Invoke(__value3); + appClipHeaderImages?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - AppClipAppStoreReviewDetails, - typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), - AppClipDefaultExperienceLocalizations1, - typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), - AppClipDefaultExperienceLocalizations2, - typeof(global::AppStoreConnect.AppClip), - AppStoreVersions, - typeof(global::AppStoreConnect.AppStoreVersion), + AppClipDefaultExperiences, + typeof(global::AppStoreConnect.AppClipDefaultExperience), + AppClipHeaderImages, + typeof(global::AppStoreConnect.AppClipHeaderImage), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem8 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAppStoreReviewDetails, other.AppClipAppStoreReviewDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperienceLocalizations1, other.AppClipDefaultExperienceLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperienceLocalizations2, other.AppClipDefaultExperienceLocalizations2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences, other.AppClipDefaultExperiences) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipHeaderImages, other.AppClipHeaderImages) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem80.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem80.g.cs index badbba9e9..d7f5559f2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem80.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem80.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } + public global::AppStoreConnect.GameCenterAchievementImage? GameCenterAchievementImages { get; init; } #else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } + public global::AppStoreConnect.GameCenterAchievementImage? GameCenterAchievementImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementImages))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsGameCenterAchievementImages => GameCenterAchievementImages != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickGameCenterAchievementImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievement? value) + out global::AppStoreConnect.GameCenterAchievementImage? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = GameCenterAchievementImages; + return IsGameCenterAchievementImages; } /// /// /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.GameCenterAchievementImage PickGameCenterAchievementImages() => GameCenterAchievementImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem80(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem80((global::AppStoreConnect.GameCenterAchievement?)value); + public static implicit operator IncludedItem80(global::AppStoreConnect.GameCenterAchievementImage value) => new IncludedItem80((global::AppStoreConnect.GameCenterAchievementImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem80 @this) => @this.GameCenterAchievements; + public static implicit operator global::AppStoreConnect.GameCenterAchievementImage?(IncludedItem80 @this) => @this.GameCenterAchievementImages; /// /// /// - public IncludedItem80(global::AppStoreConnect.GameCenterAchievement? value) + public IncludedItem80(global::AppStoreConnect.GameCenterAchievementImage? value) { - GameCenterAchievements = value; + GameCenterAchievementImages = value; } /// /// /// - public static IncludedItem80 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem80(value); + public static IncludedItem80 FromGameCenterAchievementImages(global::AppStoreConnect.GameCenterAchievementImage? value) => new IncludedItem80(value); /// /// /// - public static implicit operator IncludedItem80(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem80((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem80(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem80((global::AppStoreConnect.GameCenterAchievement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem80 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem80 @this) => @this.GameCenterAchievements; /// /// /// - public IncludedItem80(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem80(global::AppStoreConnect.GameCenterAchievement? value) { - GameCenterDetails = value; + GameCenterAchievements = value; } /// /// /// - public static IncludedItem80 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem80(value); + public static IncludedItem80 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem80(value); /// /// /// public IncludedItem80( - global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails + global::AppStoreConnect.GameCenterAchievementLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementImage? gameCenterAchievementImages, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements ) { Type = type; + GameCenterAchievementImages = gameCenterAchievementImages; GameCenterAchievements = gameCenterAchievements; - GameCenterDetails = gameCenterDetails; } /// /// /// public object? Object => - GameCenterDetails as object ?? - GameCenterAchievements as object + GameCenterAchievements as object ?? + GameCenterAchievementImages as object ; /// /// /// public override string? ToString() => - GameCenterAchievements?.ToString() ?? - GameCenterDetails?.ToString() + GameCenterAchievementImages?.ToString() ?? + GameCenterAchievements?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterAchievements as object /// public bool Validate() { - return IsGameCenterAchievements && !IsGameCenterDetails || !IsGameCenterAchievements && IsGameCenterDetails; + return IsGameCenterAchievementImages && !IsGameCenterAchievements || !IsGameCenterAchievementImages && IsGameCenterAchievements; } /// /// /// public TResult? Match( + global::System.Func? gameCenterAchievementImages = null, global::System.Func? gameCenterAchievements = null, - global::System.Func? gameCenterDetails = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) + if (GameCenterAchievementImages is { } __value0 && gameCenterAchievementImages != null) { - return gameCenterAchievements(__value0); + return gameCenterAchievementImages(__value0); } - else if (GameCenterDetails is { } __value1 && gameCenterDetails != null) + else if (GameCenterAchievements is { } __value1 && gameCenterAchievements != null) { - return gameCenterDetails(__value1); + return gameCenterAchievements(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievementImages = null, - global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterAchievements = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterAchievements is { } __value0) + if (GameCenterAchievementImages is { } __value0) { - gameCenterAchievements?.Invoke(__value0); + gameCenterAchievementImages?.Invoke(__value0); } - else if (GameCenterDetails is { } __value1) + else if (GameCenterAchievements is { } __value1) { - gameCenterDetails?.Invoke(__value1); + gameCenterAchievements?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( + global::System.Action? gameCenterAchievementImages = null, global::System.Action? gameCenterAchievements = null, - global::System.Action? gameCenterDetails = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterAchievements is { } __value0) + if (GameCenterAchievementImages is { } __value0) { - gameCenterAchievements?.Invoke(__value0); + gameCenterAchievementImages?.Invoke(__value0); } - else if (GameCenterDetails is { } __value1) + else if (GameCenterAchievements is { } __value1) { - gameCenterDetails?.Invoke(__value1); + gameCenterAchievements?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { + GameCenterAchievementImages, + typeof(global::AppStoreConnect.GameCenterAchievementImage), GameCenterAchievements, typeof(global::AppStoreConnect.GameCenterAchievement), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem80 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementImages, other.GameCenterAchievementImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem81.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem81.g.cs index 4ee457c93..462f0d9f3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem81.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem81.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementLocalizationV2? GameCenterAchievementLocalizations { get; init; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementLocalizationV2? GameCenterAchievementLocalizations { get; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterAchievementLocalizations => GameCenterAchievementLocalizations != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterAchievementLocalizations( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) + out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterAchievementLocalizations; - return IsGameCenterAchievementLocalizations; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2 PickGameCenterAchievementLocalizations() => GameCenterAchievementLocalizations is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementV2? GameCenterAchievements { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementV2? GameCenterAchievements { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementV2? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2 PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem81(global::AppStoreConnect.GameCenterAchievementLocalizationV2 value) => new IncludedItem81((global::AppStoreConnect.GameCenterAchievementLocalizationV2?)value); + public static implicit operator IncludedItem81(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem81((global::AppStoreConnect.GameCenterAchievement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementLocalizationV2?(IncludedItem81 @this) => @this.GameCenterAchievementLocalizations; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem81 @this) => @this.GameCenterAchievements; /// /// /// - public IncludedItem81(global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) + public IncludedItem81(global::AppStoreConnect.GameCenterAchievement? value) { - GameCenterAchievementLocalizations = value; + GameCenterAchievements = value; } /// /// /// - public static IncludedItem81 FromGameCenterAchievementLocalizations(global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) => new IncludedItem81(value); + public static IncludedItem81 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem81(value); /// /// /// - public static implicit operator IncludedItem81(global::AppStoreConnect.GameCenterAchievementV2 value) => new IncludedItem81((global::AppStoreConnect.GameCenterAchievementV2?)value); + public static implicit operator IncludedItem81(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem81((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementV2?(IncludedItem81 @this) => @this.GameCenterAchievements; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem81 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem81(global::AppStoreConnect.GameCenterAchievementV2? value) + public IncludedItem81(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterAchievements = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem81 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievementV2? value) => new IncludedItem81(value); + public static IncludedItem81 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem81(value); /// /// /// public IncludedItem81( - global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementLocalizationV2? gameCenterAchievementLocalizations, - global::AppStoreConnect.GameCenterAchievementV2? gameCenterAchievements + global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails ) { Type = type; - GameCenterAchievementLocalizations = gameCenterAchievementLocalizations; GameCenterAchievements = gameCenterAchievements; + GameCenterDetails = gameCenterDetails; } /// /// /// public object? Object => - GameCenterAchievements as object ?? - GameCenterAchievementLocalizations as object + GameCenterDetails as object ?? + GameCenterAchievements as object ; /// /// /// public override string? ToString() => - GameCenterAchievementLocalizations?.ToString() ?? - GameCenterAchievements?.ToString() + GameCenterAchievements?.ToString() ?? + GameCenterDetails?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterAchievementLocalizations as object /// public bool Validate() { - return IsGameCenterAchievementLocalizations && !IsGameCenterAchievements || !IsGameCenterAchievementLocalizations && IsGameCenterAchievements; + return IsGameCenterAchievements && !IsGameCenterDetails || !IsGameCenterAchievements && IsGameCenterDetails; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementLocalizations = null, - global::System.Func? gameCenterAchievements = null, + global::System.Func? gameCenterAchievements = null, + global::System.Func? gameCenterDetails = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterAchievementLocalizations is { } __value0 && gameCenterAchievementLocalizations != null) + if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) { - return gameCenterAchievementLocalizations(__value0); + return gameCenterAchievements(__value0); } - else if (GameCenterAchievements is { } __value1 && gameCenterAchievements != null) + else if (GameCenterDetails is { } __value1 && gameCenterDetails != null) { - return gameCenterAchievements(__value1); + return gameCenterDetails(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementLocalizations = null, + global::System.Action? gameCenterAchievements = null, - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterDetails = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterAchievementLocalizations is { } __value0) + if (GameCenterAchievements is { } __value0) { - gameCenterAchievementLocalizations?.Invoke(__value0); + gameCenterAchievements?.Invoke(__value0); } - else if (GameCenterAchievements is { } __value1) + else if (GameCenterDetails is { } __value1) { - gameCenterAchievements?.Invoke(__value1); + gameCenterDetails?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementLocalizations = null, - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterDetails = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterAchievementLocalizations is { } __value0) + if (GameCenterAchievements is { } __value0) { - gameCenterAchievementLocalizations?.Invoke(__value0); + gameCenterAchievements?.Invoke(__value0); } - else if (GameCenterAchievements is { } __value1) + else if (GameCenterDetails is { } __value1) { - gameCenterAchievements?.Invoke(__value1); + gameCenterDetails?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievementLocalizations, - typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), GameCenterAchievements, - typeof(global::AppStoreConnect.GameCenterAchievementV2), + typeof(global::AppStoreConnect.GameCenterAchievement), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem81 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations, other.GameCenterAchievementLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem82.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem82.g.cs index 96bab4c5b..a43f5f5a0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem82.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem82.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementLocalizationV2? GameCenterAchievementLocalizations { get; init; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementLocalizationV2? GameCenterAchievementLocalizations { get; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterAchievementLocalizations => GameCenterAchievementLocalizations != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterAchievementLocalizations( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) + out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterAchievementLocalizations; - return IsGameCenterAchievementLocalizations; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalizationV2 PickGameCenterAchievementLocalizations() => GameCenterAchievementLocalizations is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementV2? GameCenterAchievements { get; init; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementV2? GameCenterAchievements { get; } + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsGameCenterDetails => GameCenterDetails != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickGameCenterDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementV2? value) + out global::AppStoreConnect.GameCenterDetail? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = GameCenterDetails; + return IsGameCenterDetails; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2 PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem82(global::AppStoreConnect.GameCenterAchievementLocalizationV2 value) => new IncludedItem82((global::AppStoreConnect.GameCenterAchievementLocalizationV2?)value); + public static implicit operator IncludedItem82(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem82((global::AppStoreConnect.GameCenterAchievement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementLocalizationV2?(IncludedItem82 @this) => @this.GameCenterAchievementLocalizations; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem82 @this) => @this.GameCenterAchievements; /// /// /// - public IncludedItem82(global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) + public IncludedItem82(global::AppStoreConnect.GameCenterAchievement? value) { - GameCenterAchievementLocalizations = value; + GameCenterAchievements = value; } /// /// /// - public static IncludedItem82 FromGameCenterAchievementLocalizations(global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) => new IncludedItem82(value); + public static IncludedItem82 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem82(value); /// /// /// - public static implicit operator IncludedItem82(global::AppStoreConnect.GameCenterAchievementV2 value) => new IncludedItem82((global::AppStoreConnect.GameCenterAchievementV2?)value); + public static implicit operator IncludedItem82(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem82((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementV2?(IncludedItem82 @this) => @this.GameCenterAchievements; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem82 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem82(global::AppStoreConnect.GameCenterAchievementV2? value) + public IncludedItem82(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterAchievements = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem82 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievementV2? value) => new IncludedItem82(value); + public static IncludedItem82 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem82(value); /// /// /// public IncludedItem82( - global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementLocalizationV2? gameCenterAchievementLocalizations, - global::AppStoreConnect.GameCenterAchievementV2? gameCenterAchievements + global::AppStoreConnect.GameCenterAchievementReleaseResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails ) { Type = type; - GameCenterAchievementLocalizations = gameCenterAchievementLocalizations; GameCenterAchievements = gameCenterAchievements; + GameCenterDetails = gameCenterDetails; } /// /// /// public object? Object => - GameCenterAchievements as object ?? - GameCenterAchievementLocalizations as object + GameCenterDetails as object ?? + GameCenterAchievements as object ; /// /// /// public override string? ToString() => - GameCenterAchievementLocalizations?.ToString() ?? - GameCenterAchievements?.ToString() + GameCenterAchievements?.ToString() ?? + GameCenterDetails?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterAchievementLocalizations as object /// public bool Validate() { - return IsGameCenterAchievementLocalizations && !IsGameCenterAchievements || !IsGameCenterAchievementLocalizations && IsGameCenterAchievements; + return IsGameCenterAchievements && !IsGameCenterDetails || !IsGameCenterAchievements && IsGameCenterDetails; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementLocalizations = null, - global::System.Func? gameCenterAchievements = null, + global::System.Func? gameCenterAchievements = null, + global::System.Func? gameCenterDetails = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterAchievementLocalizations is { } __value0 && gameCenterAchievementLocalizations != null) + if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) { - return gameCenterAchievementLocalizations(__value0); + return gameCenterAchievements(__value0); } - else if (GameCenterAchievements is { } __value1 && gameCenterAchievements != null) + else if (GameCenterDetails is { } __value1 && gameCenterDetails != null) { - return gameCenterAchievements(__value1); + return gameCenterDetails(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementLocalizations = null, + global::System.Action? gameCenterAchievements = null, - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterDetails = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterAchievementLocalizations is { } __value0) + if (GameCenterAchievements is { } __value0) { - gameCenterAchievementLocalizations?.Invoke(__value0); + gameCenterAchievements?.Invoke(__value0); } - else if (GameCenterAchievements is { } __value1) + else if (GameCenterDetails is { } __value1) { - gameCenterAchievements?.Invoke(__value1); + gameCenterDetails?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementLocalizations = null, - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterDetails = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterAchievementLocalizations is { } __value0) + if (GameCenterAchievements is { } __value0) { - gameCenterAchievementLocalizations?.Invoke(__value0); + gameCenterAchievements?.Invoke(__value0); } - else if (GameCenterAchievements is { } __value1) + else if (GameCenterDetails is { } __value1) { - gameCenterAchievements?.Invoke(__value1); + gameCenterDetails?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievementLocalizations, - typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), GameCenterAchievements, - typeof(global::AppStoreConnect.GameCenterAchievementV2), + typeof(global::AppStoreConnect.GameCenterAchievement), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem82 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations, other.GameCenterAchievementLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem83.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem83.g.cs index e252ea1ef..48aed7e8d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem83.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem83.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2? GameCenterAchievementLocalizations { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2? GameCenterAchievementLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations))] #endif - public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; + public bool IsGameCenterAchievementLocalizations => GameCenterAchievementLocalizations != null; /// /// /// - public bool TryPickGameCenterAchievementVersions( + public bool TryPickGameCenterAchievementLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementVersionV2? value) + out global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) { - value = GameCenterAchievementVersions; - return IsGameCenterAchievementVersions; + value = GameCenterAchievementLocalizations; + return IsGameCenterAchievementLocalizations; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value + public global::AppStoreConnect.GameCenterAchievementLocalizationV2 PickGameCenterAchievementLocalizations() => GameCenterAchievementLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } + public global::AppStoreConnect.GameCenterAchievementV2? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } + public global::AppStoreConnect.GameCenterAchievementV2? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterActivities => GameCenterActivities != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterActivities( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterActivity? value) + out global::AppStoreConnect.GameCenterAchievementV2? value) { - value = GameCenterActivities; - return IsGameCenterActivities; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value + public global::AppStoreConnect.GameCenterAchievementV2 PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } -#else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] -#endif - public bool IsGameCenterDetails => GameCenterDetails != null; - - /// - /// - /// - public bool TryPickGameCenterDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterDetail? value) - { - value = GameCenterDetails; - return IsGameCenterDetails; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } -#else - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] -#endif - public bool IsGameCenterGroups => GameCenterGroups != null; - - /// - /// - /// - public bool TryPickGameCenterGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterGroup? value) - { - value = GameCenterGroups; - return IsGameCenterGroups; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem83(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem83((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem83 @this) => @this.GameCenterAchievementVersions; - - /// - /// - /// - public IncludedItem83(global::AppStoreConnect.GameCenterAchievementVersionV2? value) - { - GameCenterAchievementVersions = value; - } - - /// - /// - /// - public static IncludedItem83 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem83(value); - - /// - /// - /// - public static implicit operator IncludedItem83(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem83((global::AppStoreConnect.GameCenterActivity?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem83 @this) => @this.GameCenterActivities; - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// /// - public IncludedItem83(global::AppStoreConnect.GameCenterActivity? value) - { - GameCenterActivities = value; - } + public static implicit operator IncludedItem83(global::AppStoreConnect.GameCenterAchievementLocalizationV2 value) => new IncludedItem83((global::AppStoreConnect.GameCenterAchievementLocalizationV2?)value); /// /// /// - public static IncludedItem83 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem83(value); + public static implicit operator global::AppStoreConnect.GameCenterAchievementLocalizationV2?(IncludedItem83 @this) => @this.GameCenterAchievementLocalizations; /// /// /// - public static implicit operator IncludedItem83(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem83((global::AppStoreConnect.GameCenterDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem83 @this) => @this.GameCenterDetails; - - /// - /// - /// - public IncludedItem83(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem83(global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) { - GameCenterDetails = value; + GameCenterAchievementLocalizations = value; } /// /// /// - public static IncludedItem83 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem83(value); + public static IncludedItem83 FromGameCenterAchievementLocalizations(global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) => new IncludedItem83(value); /// /// /// - public static implicit operator IncludedItem83(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem83((global::AppStoreConnect.GameCenterGroup?)value); + public static implicit operator IncludedItem83(global::AppStoreConnect.GameCenterAchievementV2 value) => new IncludedItem83((global::AppStoreConnect.GameCenterAchievementV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem83 @this) => @this.GameCenterGroups; + public static implicit operator global::AppStoreConnect.GameCenterAchievementV2?(IncludedItem83 @this) => @this.GameCenterAchievements; /// /// /// - public IncludedItem83(global::AppStoreConnect.GameCenterGroup? value) + public IncludedItem83(global::AppStoreConnect.GameCenterAchievementV2? value) { - GameCenterGroups = value; + GameCenterAchievements = value; } /// /// /// - public static IncludedItem83 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem83(value); + public static IncludedItem83 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievementV2? value) => new IncludedItem83(value); /// /// /// public IncludedItem83( - global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions, - global::AppStoreConnect.GameCenterActivity? gameCenterActivities, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups + global::AppStoreConnect.GameCenterAchievementVersionsV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementLocalizationV2? gameCenterAchievementLocalizations, + global::AppStoreConnect.GameCenterAchievementV2? gameCenterAchievements ) { Type = type; - GameCenterAchievementVersions = gameCenterAchievementVersions; - GameCenterActivities = gameCenterActivities; - GameCenterDetails = gameCenterDetails; - GameCenterGroups = gameCenterGroups; + GameCenterAchievementLocalizations = gameCenterAchievementLocalizations; + GameCenterAchievements = gameCenterAchievements; } /// /// /// public object? Object => - GameCenterGroups as object ?? - GameCenterDetails as object ?? - GameCenterActivities as object ?? - GameCenterAchievementVersions as object + GameCenterAchievements as object ?? + GameCenterAchievementLocalizations as object ; /// /// /// public override string? ToString() => - GameCenterAchievementVersions?.ToString() ?? - GameCenterActivities?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() + GameCenterAchievementLocalizations?.ToString() ?? + GameCenterAchievements?.ToString() ; /// @@ -297,17 +169,15 @@ GameCenterAchievementVersions as object /// public bool Validate() { - return IsGameCenterAchievementVersions && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && !IsGameCenterActivities && IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && !IsGameCenterActivities && !IsGameCenterDetails && IsGameCenterGroups; + return IsGameCenterAchievementLocalizations && !IsGameCenterAchievements || !IsGameCenterAchievementLocalizations && IsGameCenterAchievements; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementVersions = null, - global::System.Func? gameCenterActivities = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterAchievementLocalizations = null, + global::System.Func? gameCenterAchievements = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterAchievementVersions is { } __value0 && gameCenterAchievementVersions != null) - { - return gameCenterAchievementVersions(__value0); - } - else if (GameCenterActivities is { } __value1 && gameCenterActivities != null) - { - return gameCenterActivities(__value1); - } - else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) + if (GameCenterAchievementLocalizations is { } __value0 && gameCenterAchievementLocalizations != null) { - return gameCenterDetails(__value2); + return gameCenterAchievementLocalizations(__value0); } - else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) + else if (GameCenterAchievements is { } __value1 && gameCenterAchievements != null) { - return gameCenterGroups(__value3); + return gameCenterAchievements(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementVersions = null, - - global::System.Action? gameCenterActivities = null, + global::System.Action? gameCenterAchievementLocalizations = null, - global::System.Action? gameCenterDetails = null, - - global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterAchievements = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (GameCenterAchievementVersions is { } __value0) - { - gameCenterAchievementVersions?.Invoke(__value0); - } - else if (GameCenterActivities is { } __value1) + if (GameCenterAchievementLocalizations is { } __value0) { - gameCenterActivities?.Invoke(__value1); + gameCenterAchievementLocalizations?.Invoke(__value0); } - else if (GameCenterDetails is { } __value2) + else if (GameCenterAchievements is { } __value1) { - gameCenterDetails?.Invoke(__value2); - } - else if (GameCenterGroups is { } __value3) - { - gameCenterGroups?.Invoke(__value3); + gameCenterAchievements?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementVersions = null, - global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterAchievementLocalizations = null, + global::System.Action? gameCenterAchievements = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (GameCenterAchievementVersions is { } __value0) - { - gameCenterAchievementVersions?.Invoke(__value0); - } - else if (GameCenterActivities is { } __value1) - { - gameCenterActivities?.Invoke(__value1); - } - else if (GameCenterDetails is { } __value2) + if (GameCenterAchievementLocalizations is { } __value0) { - gameCenterDetails?.Invoke(__value2); + gameCenterAchievementLocalizations?.Invoke(__value0); } - else if (GameCenterGroups is { } __value3) + else if (GameCenterAchievements is { } __value1) { - gameCenterGroups?.Invoke(__value3); + gameCenterAchievements?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievementVersions, - typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), - GameCenterActivities, - typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterGroups, - typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterAchievementLocalizations, + typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), + GameCenterAchievements, + typeof(global::AppStoreConnect.GameCenterAchievementV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem83 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations, other.GameCenterAchievementLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem84.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem84.g.cs index 69c1b371b..98c04dfbc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem84.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem84.g.cs @@ -12,284 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2? GameCenterAchievementLocalizations { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } + public global::AppStoreConnect.GameCenterAchievementLocalizationV2? GameCenterAchievementLocalizations { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations))] #endif - public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; + public bool IsGameCenterAchievementLocalizations => GameCenterAchievementLocalizations != null; /// /// /// - public bool TryPickGameCenterAchievementVersions( + public bool TryPickGameCenterAchievementLocalizations( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementVersionV2? value) + out global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) { - value = GameCenterAchievementVersions; - return IsGameCenterAchievementVersions; + value = GameCenterAchievementLocalizations; + return IsGameCenterAchievementLocalizations; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value + public global::AppStoreConnect.GameCenterAchievementLocalizationV2 PickGameCenterAchievementLocalizations() => GameCenterAchievementLocalizations is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } + public global::AppStoreConnect.GameCenterAchievementV2? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } + public global::AppStoreConnect.GameCenterAchievementV2? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterActivities => GameCenterActivities != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterActivities( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterActivity? value) + out global::AppStoreConnect.GameCenterAchievementV2? value) { - value = GameCenterActivities; - return IsGameCenterActivities; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value + public global::AppStoreConnect.GameCenterAchievementV2 PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } -#else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] -#endif - public bool IsGameCenterDetails => GameCenterDetails != null; - - /// - /// - /// - public bool TryPickGameCenterDetails( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterDetail? value) - { - value = GameCenterDetails; - return IsGameCenterDetails; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } -#else - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] -#endif - public bool IsGameCenterGroups => GameCenterGroups != null; - - /// - /// - /// - public bool TryPickGameCenterGroups( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterGroup? value) - { - value = GameCenterGroups; - return IsGameCenterGroups; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem84(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem84((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem84 @this) => @this.GameCenterAchievementVersions; - - /// - /// - /// - public IncludedItem84(global::AppStoreConnect.GameCenterAchievementVersionV2? value) - { - GameCenterAchievementVersions = value; - } - - /// - /// - /// - public static IncludedItem84 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem84(value); - - /// - /// - /// - public static implicit operator IncludedItem84(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem84((global::AppStoreConnect.GameCenterActivity?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem84 @this) => @this.GameCenterActivities; - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// /// - public IncludedItem84(global::AppStoreConnect.GameCenterActivity? value) - { - GameCenterActivities = value; - } + public static implicit operator IncludedItem84(global::AppStoreConnect.GameCenterAchievementLocalizationV2 value) => new IncludedItem84((global::AppStoreConnect.GameCenterAchievementLocalizationV2?)value); /// /// /// - public static IncludedItem84 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem84(value); + public static implicit operator global::AppStoreConnect.GameCenterAchievementLocalizationV2?(IncludedItem84 @this) => @this.GameCenterAchievementLocalizations; /// /// /// - public static implicit operator IncludedItem84(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem84((global::AppStoreConnect.GameCenterDetail?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem84 @this) => @this.GameCenterDetails; - - /// - /// - /// - public IncludedItem84(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem84(global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) { - GameCenterDetails = value; + GameCenterAchievementLocalizations = value; } /// /// /// - public static IncludedItem84 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem84(value); + public static IncludedItem84 FromGameCenterAchievementLocalizations(global::AppStoreConnect.GameCenterAchievementLocalizationV2? value) => new IncludedItem84(value); /// /// /// - public static implicit operator IncludedItem84(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem84((global::AppStoreConnect.GameCenterGroup?)value); + public static implicit operator IncludedItem84(global::AppStoreConnect.GameCenterAchievementV2 value) => new IncludedItem84((global::AppStoreConnect.GameCenterAchievementV2?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem84 @this) => @this.GameCenterGroups; + public static implicit operator global::AppStoreConnect.GameCenterAchievementV2?(IncludedItem84 @this) => @this.GameCenterAchievements; /// /// /// - public IncludedItem84(global::AppStoreConnect.GameCenterGroup? value) + public IncludedItem84(global::AppStoreConnect.GameCenterAchievementV2? value) { - GameCenterGroups = value; + GameCenterAchievements = value; } /// /// /// - public static IncludedItem84 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem84(value); + public static IncludedItem84 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievementV2? value) => new IncludedItem84(value); /// /// /// public IncludedItem84( - global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions, - global::AppStoreConnect.GameCenterActivity? gameCenterActivities, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups + global::AppStoreConnect.GameCenterAchievementVersionV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementLocalizationV2? gameCenterAchievementLocalizations, + global::AppStoreConnect.GameCenterAchievementV2? gameCenterAchievements ) { Type = type; - GameCenterAchievementVersions = gameCenterAchievementVersions; - GameCenterActivities = gameCenterActivities; - GameCenterDetails = gameCenterDetails; - GameCenterGroups = gameCenterGroups; + GameCenterAchievementLocalizations = gameCenterAchievementLocalizations; + GameCenterAchievements = gameCenterAchievements; } /// /// /// public object? Object => - GameCenterGroups as object ?? - GameCenterDetails as object ?? - GameCenterActivities as object ?? - GameCenterAchievementVersions as object + GameCenterAchievements as object ?? + GameCenterAchievementLocalizations as object ; /// /// /// public override string? ToString() => - GameCenterAchievementVersions?.ToString() ?? - GameCenterActivities?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() + GameCenterAchievementLocalizations?.ToString() ?? + GameCenterAchievements?.ToString() ; /// @@ -297,17 +169,15 @@ GameCenterAchievementVersions as object /// public bool Validate() { - return IsGameCenterAchievementVersions && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && !IsGameCenterActivities && IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && !IsGameCenterActivities && !IsGameCenterDetails && IsGameCenterGroups; + return IsGameCenterAchievementLocalizations && !IsGameCenterAchievements || !IsGameCenterAchievementLocalizations && IsGameCenterAchievements; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementVersions = null, - global::System.Func? gameCenterActivities = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterAchievementLocalizations = null, + global::System.Func? gameCenterAchievements = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterAchievementVersions is { } __value0 && gameCenterAchievementVersions != null) - { - return gameCenterAchievementVersions(__value0); - } - else if (GameCenterActivities is { } __value1 && gameCenterActivities != null) - { - return gameCenterActivities(__value1); - } - else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) + if (GameCenterAchievementLocalizations is { } __value0 && gameCenterAchievementLocalizations != null) { - return gameCenterDetails(__value2); + return gameCenterAchievementLocalizations(__value0); } - else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) + else if (GameCenterAchievements is { } __value1 && gameCenterAchievements != null) { - return gameCenterGroups(__value3); + return gameCenterAchievements(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementVersions = null, - - global::System.Action? gameCenterActivities = null, + global::System.Action? gameCenterAchievementLocalizations = null, - global::System.Action? gameCenterDetails = null, - - global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterAchievements = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (GameCenterAchievementVersions is { } __value0) - { - gameCenterAchievementVersions?.Invoke(__value0); - } - else if (GameCenterActivities is { } __value1) + if (GameCenterAchievementLocalizations is { } __value0) { - gameCenterActivities?.Invoke(__value1); + gameCenterAchievementLocalizations?.Invoke(__value0); } - else if (GameCenterDetails is { } __value2) + else if (GameCenterAchievements is { } __value1) { - gameCenterDetails?.Invoke(__value2); - } - else if (GameCenterGroups is { } __value3) - { - gameCenterGroups?.Invoke(__value3); + gameCenterAchievements?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementVersions = null, - global::System.Action? gameCenterActivities = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterAchievementLocalizations = null, + global::System.Action? gameCenterAchievements = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (GameCenterAchievementVersions is { } __value0) - { - gameCenterAchievementVersions?.Invoke(__value0); - } - else if (GameCenterActivities is { } __value1) - { - gameCenterActivities?.Invoke(__value1); - } - else if (GameCenterDetails is { } __value2) + if (GameCenterAchievementLocalizations is { } __value0) { - gameCenterDetails?.Invoke(__value2); + gameCenterAchievementLocalizations?.Invoke(__value0); } - else if (GameCenterGroups is { } __value3) + else if (GameCenterAchievements is { } __value1) { - gameCenterGroups?.Invoke(__value3); + gameCenterAchievements?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievementVersions, - typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), - GameCenterActivities, - typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterGroups, - typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterAchievementLocalizations, + typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2), + GameCenterAchievements, + typeof(global::AppStoreConnect.GameCenterAchievementV2), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem84 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations, other.GameCenterAchievementLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem85.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem85.g.cs index 4fa6c1993..1863a5cc9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem85.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem85.g.cs @@ -12,118 +12,44 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementLocalization? GameCenterAchievementLocalizations1 { get; init; } + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementLocalization? GameCenterAchievementLocalizations1 { get; } + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] #endif - public bool IsGameCenterAchievementLocalizations1 => GameCenterAchievementLocalizations1 != null; + public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; /// /// /// - public bool TryPickGameCenterAchievementLocalizations1( + public bool TryPickGameCenterAchievementVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementLocalization? value) + out global::AppStoreConnect.GameCenterAchievementVersionV2? value) { - value = GameCenterAchievementLocalizations1; - return IsGameCenterAchievementLocalizations1; + value = GameCenterAchievementVersions; + return IsGameCenterAchievementVersions; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalization PickGameCenterAchievementLocalizations1() => GameCenterAchievementLocalizations1 is { } value + public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases))] -#endif - public bool IsGameCenterAchievementReleases => GameCenterAchievementReleases != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementReleases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievementRelease? value) - { - value = GameCenterAchievementReleases; - return IsGameCenterAchievementReleases; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievementRelease PickGameCenterAchievementReleases() => GameCenterAchievementReleases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementLocalizations2 { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementLocalizations2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations2))] -#endif - public bool IsGameCenterAchievementLocalizations2 => GameCenterAchievementLocalizations2 != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementLocalizations2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievement? value) - { - value = GameCenterAchievementLocalizations2; - return IsGameCenterAchievementLocalizations2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievementLocalizations2() => GameCenterAchievementLocalizations2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); /// /// @@ -238,71 +164,25 @@ public bool TryPickGameCenterGroups( /// /// /// - public static implicit operator IncludedItem85(global::AppStoreConnect.GameCenterAchievementLocalization value) => new IncludedItem85((global::AppStoreConnect.GameCenterAchievementLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementLocalization?(IncludedItem85 @this) => @this.GameCenterAchievementLocalizations1; - - /// - /// - /// - public IncludedItem85(global::AppStoreConnect.GameCenterAchievementLocalization? value) - { - GameCenterAchievementLocalizations1 = value; - } - - /// - /// - /// - public static IncludedItem85 FromGameCenterAchievementLocalizations1(global::AppStoreConnect.GameCenterAchievementLocalization? value) => new IncludedItem85(value); - - /// - /// - /// - public static implicit operator IncludedItem85(global::AppStoreConnect.GameCenterAchievementRelease value) => new IncludedItem85((global::AppStoreConnect.GameCenterAchievementRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementRelease?(IncludedItem85 @this) => @this.GameCenterAchievementReleases; - - /// - /// - /// - public IncludedItem85(global::AppStoreConnect.GameCenterAchievementRelease? value) - { - GameCenterAchievementReleases = value; - } + public static implicit operator IncludedItem85(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem85((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); /// /// /// - public static IncludedItem85 FromGameCenterAchievementReleases(global::AppStoreConnect.GameCenterAchievementRelease? value) => new IncludedItem85(value); + public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem85 @this) => @this.GameCenterAchievementVersions; /// /// /// - public static implicit operator IncludedItem85(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem85((global::AppStoreConnect.GameCenterAchievement?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem85 @this) => @this.GameCenterAchievementLocalizations2; - - /// - /// - /// - public IncludedItem85(global::AppStoreConnect.GameCenterAchievement? value) + public IncludedItem85(global::AppStoreConnect.GameCenterAchievementVersionV2? value) { - GameCenterAchievementLocalizations2 = value; + GameCenterAchievementVersions = value; } /// /// /// - public static IncludedItem85 FromGameCenterAchievementLocalizations2(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem85(value); + public static IncludedItem85 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem85(value); /// /// @@ -377,10 +257,8 @@ public IncludedItem85(global::AppStoreConnect.GameCenterGroup? value) /// /// public IncludedItem85( - global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementLocalization? gameCenterAchievementLocalizations1, - global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementLocalizations2, + global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions, global::AppStoreConnect.GameCenterActivity? gameCenterActivities, global::AppStoreConnect.GameCenterDetail? gameCenterDetails, global::AppStoreConnect.GameCenterGroup? gameCenterGroups @@ -388,9 +266,7 @@ public IncludedItem85( { Type = type; - GameCenterAchievementLocalizations1 = gameCenterAchievementLocalizations1; - GameCenterAchievementReleases = gameCenterAchievementReleases; - GameCenterAchievementLocalizations2 = gameCenterAchievementLocalizations2; + GameCenterAchievementVersions = gameCenterAchievementVersions; GameCenterActivities = gameCenterActivities; GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; @@ -403,18 +279,14 @@ public IncludedItem85( GameCenterGroups as object ?? GameCenterDetails as object ?? GameCenterActivities as object ?? - GameCenterAchievementLocalizations2 as object ?? - GameCenterAchievementReleases as object ?? - GameCenterAchievementLocalizations1 as object + GameCenterAchievementVersions as object ; /// /// /// public override string? ToString() => - GameCenterAchievementLocalizations1?.ToString() ?? - GameCenterAchievementReleases?.ToString() ?? - GameCenterAchievementLocalizations2?.ToString() ?? + GameCenterAchievementVersions?.ToString() ?? GameCenterActivities?.ToString() ?? GameCenterDetails?.ToString() ?? GameCenterGroups?.ToString() @@ -425,16 +297,14 @@ GameCenterAchievementLocalizations1 as object /// public bool Validate() { - return IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && IsGameCenterGroups; + return IsGameCenterAchievementVersions && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && !IsGameCenterActivities && IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && !IsGameCenterActivities && !IsGameCenterDetails && IsGameCenterGroups; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementLocalizations1 = null, - global::System.Func? gameCenterAchievementReleases = null, - global::System.Func? gameCenterAchievementLocalizations2 = null, + global::System.Func? gameCenterAchievementVersions = null, global::System.Func? gameCenterActivities = null, global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, @@ -445,29 +315,21 @@ public bool Validate() Validate(); } - if (GameCenterAchievementLocalizations1 is { } __value0 && gameCenterAchievementLocalizations1 != null) - { - return gameCenterAchievementLocalizations1(__value0); - } - else if (GameCenterAchievementReleases is { } __value1 && gameCenterAchievementReleases != null) - { - return gameCenterAchievementReleases(__value1); - } - else if (GameCenterAchievementLocalizations2 is { } __value2 && gameCenterAchievementLocalizations2 != null) + if (GameCenterAchievementVersions is { } __value0 && gameCenterAchievementVersions != null) { - return gameCenterAchievementLocalizations2(__value2); + return gameCenterAchievementVersions(__value0); } - else if (GameCenterActivities is { } __value3 && gameCenterActivities != null) + else if (GameCenterActivities is { } __value1 && gameCenterActivities != null) { - return gameCenterActivities(__value3); + return gameCenterActivities(__value1); } - else if (GameCenterDetails is { } __value4 && gameCenterDetails != null) + else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) { - return gameCenterDetails(__value4); + return gameCenterDetails(__value2); } - else if (GameCenterGroups is { } __value5 && gameCenterGroups != null) + else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) { - return gameCenterGroups(__value5); + return gameCenterGroups(__value3); } return default(TResult); @@ -477,11 +339,7 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementLocalizations1 = null, - - global::System.Action? gameCenterAchievementReleases = null, - - global::System.Action? gameCenterAchievementLocalizations2 = null, + global::System.Action? gameCenterAchievementVersions = null, global::System.Action? gameCenterActivities = null, @@ -495,29 +353,21 @@ public void Match( Validate(); } - if (GameCenterAchievementLocalizations1 is { } __value0) - { - gameCenterAchievementLocalizations1?.Invoke(__value0); - } - else if (GameCenterAchievementReleases is { } __value1) + if (GameCenterAchievementVersions is { } __value0) { - gameCenterAchievementReleases?.Invoke(__value1); + gameCenterAchievementVersions?.Invoke(__value0); } - else if (GameCenterAchievementLocalizations2 is { } __value2) + else if (GameCenterActivities is { } __value1) { - gameCenterAchievementLocalizations2?.Invoke(__value2); + gameCenterActivities?.Invoke(__value1); } - else if (GameCenterActivities is { } __value3) + else if (GameCenterDetails is { } __value2) { - gameCenterActivities?.Invoke(__value3); + gameCenterDetails?.Invoke(__value2); } - else if (GameCenterDetails is { } __value4) + else if (GameCenterGroups is { } __value3) { - gameCenterDetails?.Invoke(__value4); - } - else if (GameCenterGroups is { } __value5) - { - gameCenterGroups?.Invoke(__value5); + gameCenterGroups?.Invoke(__value3); } } @@ -525,9 +375,7 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementLocalizations1 = null, - global::System.Action? gameCenterAchievementReleases = null, - global::System.Action? gameCenterAchievementLocalizations2 = null, + global::System.Action? gameCenterAchievementVersions = null, global::System.Action? gameCenterActivities = null, global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, @@ -538,29 +386,21 @@ public void Switch( Validate(); } - if (GameCenterAchievementLocalizations1 is { } __value0) - { - gameCenterAchievementLocalizations1?.Invoke(__value0); - } - else if (GameCenterAchievementReleases is { } __value1) - { - gameCenterAchievementReleases?.Invoke(__value1); - } - else if (GameCenterAchievementLocalizations2 is { } __value2) + if (GameCenterAchievementVersions is { } __value0) { - gameCenterAchievementLocalizations2?.Invoke(__value2); + gameCenterAchievementVersions?.Invoke(__value0); } - else if (GameCenterActivities is { } __value3) + else if (GameCenterActivities is { } __value1) { - gameCenterActivities?.Invoke(__value3); + gameCenterActivities?.Invoke(__value1); } - else if (GameCenterDetails is { } __value4) + else if (GameCenterDetails is { } __value2) { - gameCenterDetails?.Invoke(__value4); + gameCenterDetails?.Invoke(__value2); } - else if (GameCenterGroups is { } __value5) + else if (GameCenterGroups is { } __value3) { - gameCenterGroups?.Invoke(__value5); + gameCenterGroups?.Invoke(__value3); } } @@ -571,12 +411,8 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievementLocalizations1, - typeof(global::AppStoreConnect.GameCenterAchievementLocalization), - GameCenterAchievementReleases, - typeof(global::AppStoreConnect.GameCenterAchievementRelease), - GameCenterAchievementLocalizations2, - typeof(global::AppStoreConnect.GameCenterAchievement), + GameCenterAchievementVersions, + typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), GameCenterActivities, typeof(global::AppStoreConnect.GameCenterActivity), GameCenterDetails, @@ -599,9 +435,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem85 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations1, other.GameCenterAchievementLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases, other.GameCenterAchievementReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations2, other.GameCenterAchievementLocalizations2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem86.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem86.g.cs index 703c52c26..7d44641cd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem86.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem86.g.cs @@ -12,118 +12,44 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementLocalization? GameCenterAchievementLocalizations1 { get; init; } + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; init; } #else - public global::AppStoreConnect.GameCenterAchievementLocalization? GameCenterAchievementLocalizations1 { get; } + public global::AppStoreConnect.GameCenterAchievementVersionV2? GameCenterAchievementVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementVersions))] #endif - public bool IsGameCenterAchievementLocalizations1 => GameCenterAchievementLocalizations1 != null; + public bool IsGameCenterAchievementVersions => GameCenterAchievementVersions != null; /// /// /// - public bool TryPickGameCenterAchievementLocalizations1( + public bool TryPickGameCenterAchievementVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAchievementLocalization? value) + out global::AppStoreConnect.GameCenterAchievementVersionV2? value) { - value = GameCenterAchievementLocalizations1; - return IsGameCenterAchievementLocalizations1; + value = GameCenterAchievementVersions; + return IsGameCenterAchievementVersions; } /// /// /// - public global::AppStoreConnect.GameCenterAchievementLocalization PickGameCenterAchievementLocalizations1() => GameCenterAchievementLocalizations1 is { } value + public global::AppStoreConnect.GameCenterAchievementVersionV2 PickGameCenterAchievementVersions() => GameCenterAchievementVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases))] -#endif - public bool IsGameCenterAchievementReleases => GameCenterAchievementReleases != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementReleases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievementRelease? value) - { - value = GameCenterAchievementReleases; - return IsGameCenterAchievementReleases; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievementRelease PickGameCenterAchievementReleases() => GameCenterAchievementReleases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementLocalizations2 { get; init; } -#else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementLocalizations2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations2))] -#endif - public bool IsGameCenterAchievementLocalizations2 => GameCenterAchievementLocalizations2 != null; - - /// - /// - /// - public bool TryPickGameCenterAchievementLocalizations2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterAchievement? value) - { - value = GameCenterAchievementLocalizations2; - return IsGameCenterAchievementLocalizations2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievementLocalizations2() => GameCenterAchievementLocalizations2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementVersions' but the value was {ToString()}."); /// /// @@ -238,71 +164,25 @@ public bool TryPickGameCenterGroups( /// /// /// - public static implicit operator IncludedItem86(global::AppStoreConnect.GameCenterAchievementLocalization value) => new IncludedItem86((global::AppStoreConnect.GameCenterAchievementLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementLocalization?(IncludedItem86 @this) => @this.GameCenterAchievementLocalizations1; - - /// - /// - /// - public IncludedItem86(global::AppStoreConnect.GameCenterAchievementLocalization? value) - { - GameCenterAchievementLocalizations1 = value; - } - - /// - /// - /// - public static IncludedItem86 FromGameCenterAchievementLocalizations1(global::AppStoreConnect.GameCenterAchievementLocalization? value) => new IncludedItem86(value); - - /// - /// - /// - public static implicit operator IncludedItem86(global::AppStoreConnect.GameCenterAchievementRelease value) => new IncludedItem86((global::AppStoreConnect.GameCenterAchievementRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievementRelease?(IncludedItem86 @this) => @this.GameCenterAchievementReleases; - - /// - /// - /// - public IncludedItem86(global::AppStoreConnect.GameCenterAchievementRelease? value) - { - GameCenterAchievementReleases = value; - } + public static implicit operator IncludedItem86(global::AppStoreConnect.GameCenterAchievementVersionV2 value) => new IncludedItem86((global::AppStoreConnect.GameCenterAchievementVersionV2?)value); /// /// /// - public static IncludedItem86 FromGameCenterAchievementReleases(global::AppStoreConnect.GameCenterAchievementRelease? value) => new IncludedItem86(value); + public static implicit operator global::AppStoreConnect.GameCenterAchievementVersionV2?(IncludedItem86 @this) => @this.GameCenterAchievementVersions; /// /// /// - public static implicit operator IncludedItem86(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem86((global::AppStoreConnect.GameCenterAchievement?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem86 @this) => @this.GameCenterAchievementLocalizations2; - - /// - /// - /// - public IncludedItem86(global::AppStoreConnect.GameCenterAchievement? value) + public IncludedItem86(global::AppStoreConnect.GameCenterAchievementVersionV2? value) { - GameCenterAchievementLocalizations2 = value; + GameCenterAchievementVersions = value; } /// /// /// - public static IncludedItem86 FromGameCenterAchievementLocalizations2(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem86(value); + public static IncludedItem86 FromGameCenterAchievementVersions(global::AppStoreConnect.GameCenterAchievementVersionV2? value) => new IncludedItem86(value); /// /// @@ -377,10 +257,8 @@ public IncludedItem86(global::AppStoreConnect.GameCenterGroup? value) /// /// public IncludedItem86( - global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievementLocalization? gameCenterAchievementLocalizations1, - global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementLocalizations2, + global::AppStoreConnect.GameCenterAchievementV2ResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementVersionV2? gameCenterAchievementVersions, global::AppStoreConnect.GameCenterActivity? gameCenterActivities, global::AppStoreConnect.GameCenterDetail? gameCenterDetails, global::AppStoreConnect.GameCenterGroup? gameCenterGroups @@ -388,9 +266,7 @@ public IncludedItem86( { Type = type; - GameCenterAchievementLocalizations1 = gameCenterAchievementLocalizations1; - GameCenterAchievementReleases = gameCenterAchievementReleases; - GameCenterAchievementLocalizations2 = gameCenterAchievementLocalizations2; + GameCenterAchievementVersions = gameCenterAchievementVersions; GameCenterActivities = gameCenterActivities; GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; @@ -403,18 +279,14 @@ public IncludedItem86( GameCenterGroups as object ?? GameCenterDetails as object ?? GameCenterActivities as object ?? - GameCenterAchievementLocalizations2 as object ?? - GameCenterAchievementReleases as object ?? - GameCenterAchievementLocalizations1 as object + GameCenterAchievementVersions as object ; /// /// /// public override string? ToString() => - GameCenterAchievementLocalizations1?.ToString() ?? - GameCenterAchievementReleases?.ToString() ?? - GameCenterAchievementLocalizations2?.ToString() ?? + GameCenterAchievementVersions?.ToString() ?? GameCenterActivities?.ToString() ?? GameCenterDetails?.ToString() ?? GameCenterGroups?.ToString() @@ -425,16 +297,14 @@ GameCenterAchievementLocalizations1 as object /// public bool Validate() { - return IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && IsGameCenterGroups; + return IsGameCenterAchievementVersions && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && !IsGameCenterActivities && IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementVersions && !IsGameCenterActivities && !IsGameCenterDetails && IsGameCenterGroups; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievementLocalizations1 = null, - global::System.Func? gameCenterAchievementReleases = null, - global::System.Func? gameCenterAchievementLocalizations2 = null, + global::System.Func? gameCenterAchievementVersions = null, global::System.Func? gameCenterActivities = null, global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, @@ -445,29 +315,21 @@ public bool Validate() Validate(); } - if (GameCenterAchievementLocalizations1 is { } __value0 && gameCenterAchievementLocalizations1 != null) - { - return gameCenterAchievementLocalizations1(__value0); - } - else if (GameCenterAchievementReleases is { } __value1 && gameCenterAchievementReleases != null) - { - return gameCenterAchievementReleases(__value1); - } - else if (GameCenterAchievementLocalizations2 is { } __value2 && gameCenterAchievementLocalizations2 != null) + if (GameCenterAchievementVersions is { } __value0 && gameCenterAchievementVersions != null) { - return gameCenterAchievementLocalizations2(__value2); + return gameCenterAchievementVersions(__value0); } - else if (GameCenterActivities is { } __value3 && gameCenterActivities != null) + else if (GameCenterActivities is { } __value1 && gameCenterActivities != null) { - return gameCenterActivities(__value3); + return gameCenterActivities(__value1); } - else if (GameCenterDetails is { } __value4 && gameCenterDetails != null) + else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) { - return gameCenterDetails(__value4); + return gameCenterDetails(__value2); } - else if (GameCenterGroups is { } __value5 && gameCenterGroups != null) + else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) { - return gameCenterGroups(__value5); + return gameCenterGroups(__value3); } return default(TResult); @@ -477,11 +339,7 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievementLocalizations1 = null, - - global::System.Action? gameCenterAchievementReleases = null, - - global::System.Action? gameCenterAchievementLocalizations2 = null, + global::System.Action? gameCenterAchievementVersions = null, global::System.Action? gameCenterActivities = null, @@ -495,29 +353,21 @@ public void Match( Validate(); } - if (GameCenterAchievementLocalizations1 is { } __value0) - { - gameCenterAchievementLocalizations1?.Invoke(__value0); - } - else if (GameCenterAchievementReleases is { } __value1) + if (GameCenterAchievementVersions is { } __value0) { - gameCenterAchievementReleases?.Invoke(__value1); + gameCenterAchievementVersions?.Invoke(__value0); } - else if (GameCenterAchievementLocalizations2 is { } __value2) + else if (GameCenterActivities is { } __value1) { - gameCenterAchievementLocalizations2?.Invoke(__value2); + gameCenterActivities?.Invoke(__value1); } - else if (GameCenterActivities is { } __value3) + else if (GameCenterDetails is { } __value2) { - gameCenterActivities?.Invoke(__value3); + gameCenterDetails?.Invoke(__value2); } - else if (GameCenterDetails is { } __value4) + else if (GameCenterGroups is { } __value3) { - gameCenterDetails?.Invoke(__value4); - } - else if (GameCenterGroups is { } __value5) - { - gameCenterGroups?.Invoke(__value5); + gameCenterGroups?.Invoke(__value3); } } @@ -525,9 +375,7 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievementLocalizations1 = null, - global::System.Action? gameCenterAchievementReleases = null, - global::System.Action? gameCenterAchievementLocalizations2 = null, + global::System.Action? gameCenterAchievementVersions = null, global::System.Action? gameCenterActivities = null, global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, @@ -538,29 +386,21 @@ public void Switch( Validate(); } - if (GameCenterAchievementLocalizations1 is { } __value0) - { - gameCenterAchievementLocalizations1?.Invoke(__value0); - } - else if (GameCenterAchievementReleases is { } __value1) - { - gameCenterAchievementReleases?.Invoke(__value1); - } - else if (GameCenterAchievementLocalizations2 is { } __value2) + if (GameCenterAchievementVersions is { } __value0) { - gameCenterAchievementLocalizations2?.Invoke(__value2); + gameCenterAchievementVersions?.Invoke(__value0); } - else if (GameCenterActivities is { } __value3) + else if (GameCenterActivities is { } __value1) { - gameCenterActivities?.Invoke(__value3); + gameCenterActivities?.Invoke(__value1); } - else if (GameCenterDetails is { } __value4) + else if (GameCenterDetails is { } __value2) { - gameCenterDetails?.Invoke(__value4); + gameCenterDetails?.Invoke(__value2); } - else if (GameCenterGroups is { } __value5) + else if (GameCenterGroups is { } __value3) { - gameCenterGroups?.Invoke(__value5); + gameCenterGroups?.Invoke(__value3); } } @@ -571,12 +411,8 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievementLocalizations1, - typeof(global::AppStoreConnect.GameCenterAchievementLocalization), - GameCenterAchievementReleases, - typeof(global::AppStoreConnect.GameCenterAchievementRelease), - GameCenterAchievementLocalizations2, - typeof(global::AppStoreConnect.GameCenterAchievement), + GameCenterAchievementVersions, + typeof(global::AppStoreConnect.GameCenterAchievementVersionV2), GameCenterActivities, typeof(global::AppStoreConnect.GameCenterActivity), GameCenterDetails, @@ -599,9 +435,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem86 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations1, other.GameCenterAchievementLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases, other.GameCenterAchievementReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations2, other.GameCenterAchievementLocalizations2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementVersions, other.GameCenterAchievementVersions) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem87.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem87.g.cs index 68f982db7..5931ec779 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem87.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem87.g.cs @@ -12,81 +12,155 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } + public global::AppStoreConnect.GameCenterAchievementLocalization? GameCenterAchievementLocalizations1 { get; init; } #else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } + public global::AppStoreConnect.GameCenterAchievementLocalization? GameCenterAchievementLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations1))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsGameCenterAchievementLocalizations1 => GameCenterAchievementLocalizations1 != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickGameCenterAchievementLocalizations1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAchievementLocalization? value) + { + value = GameCenterAchievementLocalizations1; + return IsGameCenterAchievementLocalizations1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAchievementLocalization PickGameCenterAchievementLocalizations1() => GameCenterAchievementLocalizations1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases))] +#endif + public bool IsGameCenterAchievementReleases => GameCenterAchievementReleases != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAchievementRelease? value) + { + value = GameCenterAchievementReleases; + return IsGameCenterAchievementReleases; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAchievementRelease PickGameCenterAchievementReleases() => GameCenterAchievementReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementLocalizations2 { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementLocalizations2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations2))] +#endif + public bool IsGameCenterAchievementLocalizations2 => GameCenterAchievementLocalizations2 != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementLocalizations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = GameCenterAchievementLocalizations2; + return IsGameCenterAchievementLocalizations2; } /// /// /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievementLocalizations2() => GameCenterAchievementLocalizations2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations2' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; init; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } #else - public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] #endif - public bool IsGameCenterActivityVersions => GameCenterActivityVersions != null; + public bool IsGameCenterActivities => GameCenterActivities != null; /// /// /// - public bool TryPickGameCenterActivityVersions( + public bool TryPickGameCenterActivities( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterActivityVersion? value) + out global::AppStoreConnect.GameCenterActivity? value) { - value = GameCenterActivityVersions; - return IsGameCenterActivityVersions; + value = GameCenterActivities; + return IsGameCenterActivities; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value + public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); /// /// @@ -161,199 +235,189 @@ public bool TryPickGameCenterGroups( public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - /// /// /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } -#endif + public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterAchievementLocalization value) => new IncludedItem87((global::AppStoreConnect.GameCenterAchievementLocalization?)value); /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] -#endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + public static implicit operator global::AppStoreConnect.GameCenterAchievementLocalization?(IncludedItem87 @this) => @this.GameCenterAchievementLocalizations1; /// /// /// - public bool TryPickGameCenterLeaderboards( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem87(global::AppStoreConnect.GameCenterAchievementLocalization? value) { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; + GameCenterAchievementLocalizations1 = value; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); + public static IncludedItem87 FromGameCenterAchievementLocalizations1(global::AppStoreConnect.GameCenterAchievementLocalization? value) => new IncludedItem87(value); + /// /// /// - public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem87((global::AppStoreConnect.GameCenterAchievement?)value); + public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterAchievementRelease value) => new IncludedItem87((global::AppStoreConnect.GameCenterAchievementRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem87 @this) => @this.GameCenterAchievements; + public static implicit operator global::AppStoreConnect.GameCenterAchievementRelease?(IncludedItem87 @this) => @this.GameCenterAchievementReleases; /// /// /// - public IncludedItem87(global::AppStoreConnect.GameCenterAchievement? value) + public IncludedItem87(global::AppStoreConnect.GameCenterAchievementRelease? value) { - GameCenterAchievements = value; + GameCenterAchievementReleases = value; } /// /// /// - public static IncludedItem87 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem87(value); + public static IncludedItem87 FromGameCenterAchievementReleases(global::AppStoreConnect.GameCenterAchievementRelease? value) => new IncludedItem87(value); /// /// /// - public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterActivityVersion value) => new IncludedItem87((global::AppStoreConnect.GameCenterActivityVersion?)value); + public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem87((global::AppStoreConnect.GameCenterAchievement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterActivityVersion?(IncludedItem87 @this) => @this.GameCenterActivityVersions; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem87 @this) => @this.GameCenterAchievementLocalizations2; /// /// /// - public IncludedItem87(global::AppStoreConnect.GameCenterActivityVersion? value) + public IncludedItem87(global::AppStoreConnect.GameCenterAchievement? value) { - GameCenterActivityVersions = value; + GameCenterAchievementLocalizations2 = value; } /// /// /// - public static IncludedItem87 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem87(value); + public static IncludedItem87 FromGameCenterAchievementLocalizations2(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem87(value); /// /// /// - public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem87((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem87((global::AppStoreConnect.GameCenterActivity?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem87 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem87 @this) => @this.GameCenterActivities; /// /// /// - public IncludedItem87(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem87(global::AppStoreConnect.GameCenterActivity? value) { - GameCenterDetails = value; + GameCenterActivities = value; } /// /// /// - public static IncludedItem87 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem87(value); + public static IncludedItem87 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem87(value); /// /// /// - public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem87((global::AppStoreConnect.GameCenterGroup?)value); + public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem87((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem87 @this) => @this.GameCenterGroups; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem87 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem87(global::AppStoreConnect.GameCenterGroup? value) + public IncludedItem87(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterGroups = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem87 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem87(value); + public static IncludedItem87 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem87(value); /// /// /// - public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem87((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem87(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem87((global::AppStoreConnect.GameCenterGroup?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem87 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem87 @this) => @this.GameCenterGroups; /// /// /// - public IncludedItem87(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem87(global::AppStoreConnect.GameCenterGroup? value) { - GameCenterLeaderboards = value; + GameCenterGroups = value; } /// /// /// - public static IncludedItem87 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem87(value); + public static IncludedItem87 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem87(value); /// /// /// public IncludedItem87( - global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions, + global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementLocalization? gameCenterAchievementLocalizations1, + global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementLocalizations2, + global::AppStoreConnect.GameCenterActivity? gameCenterActivities, global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards + global::AppStoreConnect.GameCenterGroup? gameCenterGroups ) { Type = type; - GameCenterAchievements = gameCenterAchievements; - GameCenterActivityVersions = gameCenterActivityVersions; + GameCenterAchievementLocalizations1 = gameCenterAchievementLocalizations1; + GameCenterAchievementReleases = gameCenterAchievementReleases; + GameCenterAchievementLocalizations2 = gameCenterAchievementLocalizations2; + GameCenterActivities = gameCenterActivities; GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; - GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? GameCenterGroups as object ?? GameCenterDetails as object ?? - GameCenterActivityVersions as object ?? - GameCenterAchievements as object + GameCenterActivities as object ?? + GameCenterAchievementLocalizations2 as object ?? + GameCenterAchievementReleases as object ?? + GameCenterAchievementLocalizations1 as object ; /// /// /// public override string? ToString() => - GameCenterAchievements?.ToString() ?? - GameCenterActivityVersions?.ToString() ?? + GameCenterAchievementLocalizations1?.ToString() ?? + GameCenterAchievementReleases?.ToString() ?? + GameCenterAchievementLocalizations2?.ToString() ?? + GameCenterActivities?.ToString() ?? GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterGroups?.ToString() ; /// @@ -361,18 +425,19 @@ GameCenterAchievements as object /// public bool Validate() { - return IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboards; + return IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && IsGameCenterGroups; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievements = null, - global::System.Func? gameCenterActivityVersions = null, + global::System.Func? gameCenterAchievementLocalizations1 = null, + global::System.Func? gameCenterAchievementReleases = null, + global::System.Func? gameCenterAchievementLocalizations2 = null, + global::System.Func? gameCenterActivities = null, global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -380,25 +445,29 @@ public bool Validate() Validate(); } - if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) + if (GameCenterAchievementLocalizations1 is { } __value0 && gameCenterAchievementLocalizations1 != null) { - return gameCenterAchievements(__value0); + return gameCenterAchievementLocalizations1(__value0); } - else if (GameCenterActivityVersions is { } __value1 && gameCenterActivityVersions != null) + else if (GameCenterAchievementReleases is { } __value1 && gameCenterAchievementReleases != null) { - return gameCenterActivityVersions(__value1); + return gameCenterAchievementReleases(__value1); } - else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) + else if (GameCenterAchievementLocalizations2 is { } __value2 && gameCenterAchievementLocalizations2 != null) { - return gameCenterDetails(__value2); + return gameCenterAchievementLocalizations2(__value2); } - else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) + else if (GameCenterActivities is { } __value3 && gameCenterActivities != null) { - return gameCenterGroups(__value3); + return gameCenterActivities(__value3); } - else if (GameCenterLeaderboards is { } __value4 && gameCenterLeaderboards != null) + else if (GameCenterDetails is { } __value4 && gameCenterDetails != null) { - return gameCenterLeaderboards(__value4); + return gameCenterDetails(__value4); + } + else if (GameCenterGroups is { } __value5 && gameCenterGroups != null) + { + return gameCenterGroups(__value5); } return default(TResult); @@ -408,15 +477,17 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievementLocalizations1 = null, + + global::System.Action? gameCenterAchievementReleases = null, - global::System.Action? gameCenterActivityVersions = null, + global::System.Action? gameCenterAchievementLocalizations2 = null, + + global::System.Action? gameCenterActivities = null, global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - - global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -424,25 +495,29 @@ public void Match( Validate(); } - if (GameCenterAchievements is { } __value0) + if (GameCenterAchievementLocalizations1 is { } __value0) + { + gameCenterAchievementLocalizations1?.Invoke(__value0); + } + else if (GameCenterAchievementReleases is { } __value1) { - gameCenterAchievements?.Invoke(__value0); + gameCenterAchievementReleases?.Invoke(__value1); } - else if (GameCenterActivityVersions is { } __value1) + else if (GameCenterAchievementLocalizations2 is { } __value2) { - gameCenterActivityVersions?.Invoke(__value1); + gameCenterAchievementLocalizations2?.Invoke(__value2); } - else if (GameCenterDetails is { } __value2) + else if (GameCenterActivities is { } __value3) { - gameCenterDetails?.Invoke(__value2); + gameCenterActivities?.Invoke(__value3); } - else if (GameCenterGroups is { } __value3) + else if (GameCenterDetails is { } __value4) { - gameCenterGroups?.Invoke(__value3); + gameCenterDetails?.Invoke(__value4); } - else if (GameCenterLeaderboards is { } __value4) + else if (GameCenterGroups is { } __value5) { - gameCenterLeaderboards?.Invoke(__value4); + gameCenterGroups?.Invoke(__value5); } } @@ -450,11 +525,12 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievements = null, - global::System.Action? gameCenterActivityVersions = null, + global::System.Action? gameCenterAchievementLocalizations1 = null, + global::System.Action? gameCenterAchievementReleases = null, + global::System.Action? gameCenterAchievementLocalizations2 = null, + global::System.Action? gameCenterActivities = null, global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -462,25 +538,29 @@ public void Switch( Validate(); } - if (GameCenterAchievements is { } __value0) + if (GameCenterAchievementLocalizations1 is { } __value0) + { + gameCenterAchievementLocalizations1?.Invoke(__value0); + } + else if (GameCenterAchievementReleases is { } __value1) { - gameCenterAchievements?.Invoke(__value0); + gameCenterAchievementReleases?.Invoke(__value1); } - else if (GameCenterActivityVersions is { } __value1) + else if (GameCenterAchievementLocalizations2 is { } __value2) { - gameCenterActivityVersions?.Invoke(__value1); + gameCenterAchievementLocalizations2?.Invoke(__value2); } - else if (GameCenterDetails is { } __value2) + else if (GameCenterActivities is { } __value3) { - gameCenterDetails?.Invoke(__value2); + gameCenterActivities?.Invoke(__value3); } - else if (GameCenterGroups is { } __value3) + else if (GameCenterDetails is { } __value4) { - gameCenterGroups?.Invoke(__value3); + gameCenterDetails?.Invoke(__value4); } - else if (GameCenterLeaderboards is { } __value4) + else if (GameCenterGroups is { } __value5) { - gameCenterLeaderboards?.Invoke(__value4); + gameCenterGroups?.Invoke(__value5); } } @@ -491,16 +571,18 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievements, + GameCenterAchievementLocalizations1, + typeof(global::AppStoreConnect.GameCenterAchievementLocalization), + GameCenterAchievementReleases, + typeof(global::AppStoreConnect.GameCenterAchievementRelease), + GameCenterAchievementLocalizations2, typeof(global::AppStoreConnect.GameCenterAchievement), - GameCenterActivityVersions, - typeof(global::AppStoreConnect.GameCenterActivityVersion), + GameCenterActivities, + typeof(global::AppStoreConnect.GameCenterActivity), GameCenterDetails, typeof(global::AppStoreConnect.GameCenterDetail), GameCenterGroups, typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -517,11 +599,12 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem87 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations1, other.GameCenterAchievementLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases, other.GameCenterAchievementReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations2, other.GameCenterAchievementLocalizations2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem88.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem88.g.cs index 6743e570e..d47c350d9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem88.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem88.g.cs @@ -12,81 +12,155 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } + public global::AppStoreConnect.GameCenterAchievementLocalization? GameCenterAchievementLocalizations1 { get; init; } #else - public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } + public global::AppStoreConnect.GameCenterAchievementLocalization? GameCenterAchievementLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations1))] #endif - public bool IsGameCenterAchievements => GameCenterAchievements != null; + public bool IsGameCenterAchievementLocalizations1 => GameCenterAchievementLocalizations1 != null; /// /// /// - public bool TryPickGameCenterAchievements( + public bool TryPickGameCenterAchievementLocalizations1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAchievementLocalization? value) + { + value = GameCenterAchievementLocalizations1; + return IsGameCenterAchievementLocalizations1; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAchievementLocalization PickGameCenterAchievementLocalizations1() => GameCenterAchievementLocalizations1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievementRelease? GameCenterAchievementReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementReleases))] +#endif + public bool IsGameCenterAchievementReleases => GameCenterAchievementReleases != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterAchievementRelease? value) + { + value = GameCenterAchievementReleases; + return IsGameCenterAchievementReleases; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterAchievementRelease PickGameCenterAchievementReleases() => GameCenterAchievementReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementReleases' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementLocalizations2 { get; init; } +#else + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievementLocalizations2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievementLocalizations2))] +#endif + public bool IsGameCenterAchievementLocalizations2 => GameCenterAchievementLocalizations2 != null; + + /// + /// + /// + public bool TryPickGameCenterAchievementLocalizations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterAchievements; - return IsGameCenterAchievements; + value = GameCenterAchievementLocalizations2; + return IsGameCenterAchievementLocalizations2; } /// /// /// - public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievementLocalizations2() => GameCenterAchievementLocalizations2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievementLocalizations2' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; init; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; init; } #else - public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivities { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivities))] #endif - public bool IsGameCenterActivityVersions => GameCenterActivityVersions != null; + public bool IsGameCenterActivities => GameCenterActivities != null; /// /// /// - public bool TryPickGameCenterActivityVersions( + public bool TryPickGameCenterActivities( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterActivityVersion? value) + out global::AppStoreConnect.GameCenterActivity? value) { - value = GameCenterActivityVersions; - return IsGameCenterActivityVersions; + value = GameCenterActivities; + return IsGameCenterActivities; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value + public global::AppStoreConnect.GameCenterActivity PickGameCenterActivities() => GameCenterActivities is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivities' but the value was {ToString()}."); /// /// @@ -161,199 +235,189 @@ public bool TryPickGameCenterGroups( public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); - /// /// /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } -#else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } -#endif + public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterAchievementLocalization value) => new IncludedItem88((global::AppStoreConnect.GameCenterAchievementLocalization?)value); /// /// /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] -#endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + public static implicit operator global::AppStoreConnect.GameCenterAchievementLocalization?(IncludedItem88 @this) => @this.GameCenterAchievementLocalizations1; /// /// /// - public bool TryPickGameCenterLeaderboards( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem88(global::AppStoreConnect.GameCenterAchievementLocalization? value) { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; + GameCenterAchievementLocalizations1 = value; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); + public static IncludedItem88 FromGameCenterAchievementLocalizations1(global::AppStoreConnect.GameCenterAchievementLocalization? value) => new IncludedItem88(value); + /// /// /// - public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem88((global::AppStoreConnect.GameCenterAchievement?)value); + public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterAchievementRelease value) => new IncludedItem88((global::AppStoreConnect.GameCenterAchievementRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem88 @this) => @this.GameCenterAchievements; + public static implicit operator global::AppStoreConnect.GameCenterAchievementRelease?(IncludedItem88 @this) => @this.GameCenterAchievementReleases; /// /// /// - public IncludedItem88(global::AppStoreConnect.GameCenterAchievement? value) + public IncludedItem88(global::AppStoreConnect.GameCenterAchievementRelease? value) { - GameCenterAchievements = value; + GameCenterAchievementReleases = value; } /// /// /// - public static IncludedItem88 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem88(value); + public static IncludedItem88 FromGameCenterAchievementReleases(global::AppStoreConnect.GameCenterAchievementRelease? value) => new IncludedItem88(value); /// /// /// - public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterActivityVersion value) => new IncludedItem88((global::AppStoreConnect.GameCenterActivityVersion?)value); + public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem88((global::AppStoreConnect.GameCenterAchievement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterActivityVersion?(IncludedItem88 @this) => @this.GameCenterActivityVersions; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem88 @this) => @this.GameCenterAchievementLocalizations2; /// /// /// - public IncludedItem88(global::AppStoreConnect.GameCenterActivityVersion? value) + public IncludedItem88(global::AppStoreConnect.GameCenterAchievement? value) { - GameCenterActivityVersions = value; + GameCenterAchievementLocalizations2 = value; } /// /// /// - public static IncludedItem88 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem88(value); + public static IncludedItem88 FromGameCenterAchievementLocalizations2(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem88(value); /// /// /// - public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem88((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem88((global::AppStoreConnect.GameCenterActivity?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem88 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem88 @this) => @this.GameCenterActivities; /// /// /// - public IncludedItem88(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem88(global::AppStoreConnect.GameCenterActivity? value) { - GameCenterDetails = value; + GameCenterActivities = value; } /// /// /// - public static IncludedItem88 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem88(value); + public static IncludedItem88 FromGameCenterActivities(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem88(value); /// /// /// - public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem88((global::AppStoreConnect.GameCenterGroup?)value); + public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem88((global::AppStoreConnect.GameCenterDetail?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem88 @this) => @this.GameCenterGroups; + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem88 @this) => @this.GameCenterDetails; /// /// /// - public IncludedItem88(global::AppStoreConnect.GameCenterGroup? value) + public IncludedItem88(global::AppStoreConnect.GameCenterDetail? value) { - GameCenterGroups = value; + GameCenterDetails = value; } /// /// /// - public static IncludedItem88 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem88(value); + public static IncludedItem88 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem88(value); /// /// /// - public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem88((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem88(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem88((global::AppStoreConnect.GameCenterGroup?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem88 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem88 @this) => @this.GameCenterGroups; /// /// /// - public IncludedItem88(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem88(global::AppStoreConnect.GameCenterGroup? value) { - GameCenterLeaderboards = value; + GameCenterGroups = value; } /// /// /// - public static IncludedItem88 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem88(value); + public static IncludedItem88 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem88(value); /// /// /// public IncludedItem88( - global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions, + global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievementLocalization? gameCenterAchievementLocalizations1, + global::AppStoreConnect.GameCenterAchievementRelease? gameCenterAchievementReleases, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievementLocalizations2, + global::AppStoreConnect.GameCenterActivity? gameCenterActivities, global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards + global::AppStoreConnect.GameCenterGroup? gameCenterGroups ) { Type = type; - GameCenterAchievements = gameCenterAchievements; - GameCenterActivityVersions = gameCenterActivityVersions; + GameCenterAchievementLocalizations1 = gameCenterAchievementLocalizations1; + GameCenterAchievementReleases = gameCenterAchievementReleases; + GameCenterAchievementLocalizations2 = gameCenterAchievementLocalizations2; + GameCenterActivities = gameCenterActivities; GameCenterDetails = gameCenterDetails; GameCenterGroups = gameCenterGroups; - GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? GameCenterGroups as object ?? GameCenterDetails as object ?? - GameCenterActivityVersions as object ?? - GameCenterAchievements as object + GameCenterActivities as object ?? + GameCenterAchievementLocalizations2 as object ?? + GameCenterAchievementReleases as object ?? + GameCenterAchievementLocalizations1 as object ; /// /// /// public override string? ToString() => - GameCenterAchievements?.ToString() ?? - GameCenterActivityVersions?.ToString() ?? + GameCenterAchievementLocalizations1?.ToString() ?? + GameCenterAchievementReleases?.ToString() ?? + GameCenterAchievementLocalizations2?.ToString() ?? + GameCenterActivities?.ToString() ?? GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterGroups?.ToString() ; /// @@ -361,18 +425,19 @@ GameCenterAchievements as object /// public bool Validate() { - return IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboards; + return IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && IsGameCenterActivities && !IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && IsGameCenterDetails && !IsGameCenterGroups || !IsGameCenterAchievementLocalizations1 && !IsGameCenterAchievementReleases && !IsGameCenterAchievementLocalizations2 && !IsGameCenterActivities && !IsGameCenterDetails && IsGameCenterGroups; } /// /// /// public TResult? Match( - global::System.Func? gameCenterAchievements = null, - global::System.Func? gameCenterActivityVersions = null, + global::System.Func? gameCenterAchievementLocalizations1 = null, + global::System.Func? gameCenterAchievementReleases = null, + global::System.Func? gameCenterAchievementLocalizations2 = null, + global::System.Func? gameCenterActivities = null, global::System.Func? gameCenterDetails = null, global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -380,25 +445,29 @@ public bool Validate() Validate(); } - if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) + if (GameCenterAchievementLocalizations1 is { } __value0 && gameCenterAchievementLocalizations1 != null) { - return gameCenterAchievements(__value0); + return gameCenterAchievementLocalizations1(__value0); } - else if (GameCenterActivityVersions is { } __value1 && gameCenterActivityVersions != null) + else if (GameCenterAchievementReleases is { } __value1 && gameCenterAchievementReleases != null) { - return gameCenterActivityVersions(__value1); + return gameCenterAchievementReleases(__value1); } - else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) + else if (GameCenterAchievementLocalizations2 is { } __value2 && gameCenterAchievementLocalizations2 != null) { - return gameCenterDetails(__value2); + return gameCenterAchievementLocalizations2(__value2); } - else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) + else if (GameCenterActivities is { } __value3 && gameCenterActivities != null) { - return gameCenterGroups(__value3); + return gameCenterActivities(__value3); } - else if (GameCenterLeaderboards is { } __value4 && gameCenterLeaderboards != null) + else if (GameCenterDetails is { } __value4 && gameCenterDetails != null) { - return gameCenterLeaderboards(__value4); + return gameCenterDetails(__value4); + } + else if (GameCenterGroups is { } __value5 && gameCenterGroups != null) + { + return gameCenterGroups(__value5); } return default(TResult); @@ -408,15 +477,17 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterAchievements = null, + global::System.Action? gameCenterAchievementLocalizations1 = null, + + global::System.Action? gameCenterAchievementReleases = null, - global::System.Action? gameCenterActivityVersions = null, + global::System.Action? gameCenterAchievementLocalizations2 = null, + + global::System.Action? gameCenterActivities = null, global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - - global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -424,25 +495,29 @@ public void Match( Validate(); } - if (GameCenterAchievements is { } __value0) + if (GameCenterAchievementLocalizations1 is { } __value0) + { + gameCenterAchievementLocalizations1?.Invoke(__value0); + } + else if (GameCenterAchievementReleases is { } __value1) { - gameCenterAchievements?.Invoke(__value0); + gameCenterAchievementReleases?.Invoke(__value1); } - else if (GameCenterActivityVersions is { } __value1) + else if (GameCenterAchievementLocalizations2 is { } __value2) { - gameCenterActivityVersions?.Invoke(__value1); + gameCenterAchievementLocalizations2?.Invoke(__value2); } - else if (GameCenterDetails is { } __value2) + else if (GameCenterActivities is { } __value3) { - gameCenterDetails?.Invoke(__value2); + gameCenterActivities?.Invoke(__value3); } - else if (GameCenterGroups is { } __value3) + else if (GameCenterDetails is { } __value4) { - gameCenterGroups?.Invoke(__value3); + gameCenterDetails?.Invoke(__value4); } - else if (GameCenterLeaderboards is { } __value4) + else if (GameCenterGroups is { } __value5) { - gameCenterLeaderboards?.Invoke(__value4); + gameCenterGroups?.Invoke(__value5); } } @@ -450,11 +525,12 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterAchievements = null, - global::System.Action? gameCenterActivityVersions = null, + global::System.Action? gameCenterAchievementLocalizations1 = null, + global::System.Action? gameCenterAchievementReleases = null, + global::System.Action? gameCenterAchievementLocalizations2 = null, + global::System.Action? gameCenterActivities = null, global::System.Action? gameCenterDetails = null, global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -462,25 +538,29 @@ public void Switch( Validate(); } - if (GameCenterAchievements is { } __value0) + if (GameCenterAchievementLocalizations1 is { } __value0) + { + gameCenterAchievementLocalizations1?.Invoke(__value0); + } + else if (GameCenterAchievementReleases is { } __value1) { - gameCenterAchievements?.Invoke(__value0); + gameCenterAchievementReleases?.Invoke(__value1); } - else if (GameCenterActivityVersions is { } __value1) + else if (GameCenterAchievementLocalizations2 is { } __value2) { - gameCenterActivityVersions?.Invoke(__value1); + gameCenterAchievementLocalizations2?.Invoke(__value2); } - else if (GameCenterDetails is { } __value2) + else if (GameCenterActivities is { } __value3) { - gameCenterDetails?.Invoke(__value2); + gameCenterActivities?.Invoke(__value3); } - else if (GameCenterGroups is { } __value3) + else if (GameCenterDetails is { } __value4) { - gameCenterGroups?.Invoke(__value3); + gameCenterDetails?.Invoke(__value4); } - else if (GameCenterLeaderboards is { } __value4) + else if (GameCenterGroups is { } __value5) { - gameCenterLeaderboards?.Invoke(__value4); + gameCenterGroups?.Invoke(__value5); } } @@ -491,16 +571,18 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterAchievements, + GameCenterAchievementLocalizations1, + typeof(global::AppStoreConnect.GameCenterAchievementLocalization), + GameCenterAchievementReleases, + typeof(global::AppStoreConnect.GameCenterAchievementRelease), + GameCenterAchievementLocalizations2, typeof(global::AppStoreConnect.GameCenterAchievement), - GameCenterActivityVersions, - typeof(global::AppStoreConnect.GameCenterActivityVersion), + GameCenterActivities, + typeof(global::AppStoreConnect.GameCenterActivity), GameCenterDetails, typeof(global::AppStoreConnect.GameCenterDetail), GameCenterGroups, typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -517,11 +599,12 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem88 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations1, other.GameCenterAchievementLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementReleases, other.GameCenterAchievementReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievementLocalizations2, other.GameCenterAchievementLocalizations2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivities, other.GameCenterActivities) && global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem89.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem89.g.cs index f3bd99237..a9a4761df 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem89.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem89.g.cs @@ -12,44 +12,44 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages { get; init; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages { get; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterActivityImages => GameCenterActivityImages != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterActivityImages( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterActivityImage? value) + out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterActivityImages; - return IsGameCenterActivityImages; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImage PickGameCenterActivityImages() => GameCenterActivityImages is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// @@ -87,28 +87,139 @@ public bool TryPickGameCenterActivityVersions( public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } +#else + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] +#endif + public bool IsGameCenterDetails => GameCenterDetails != null; + + /// + /// + /// + public bool TryPickGameCenterDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterDetail? value) + { + value = GameCenterDetails; + return IsGameCenterDetails; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } +#else + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] +#endif + public bool IsGameCenterGroups => GameCenterGroups != null; + + /// + /// + /// + public bool TryPickGameCenterGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterGroup? value) + { + value = GameCenterGroups; + return IsGameCenterGroups; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] +#endif + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboards( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboard? value) + { + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem89(global::AppStoreConnect.GameCenterActivityImage value) => new IncludedItem89((global::AppStoreConnect.GameCenterActivityImage?)value); + public static implicit operator IncludedItem89(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem89((global::AppStoreConnect.GameCenterAchievement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterActivityImage?(IncludedItem89 @this) => @this.GameCenterActivityImages; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem89 @this) => @this.GameCenterAchievements; /// /// /// - public IncludedItem89(global::AppStoreConnect.GameCenterActivityImage? value) + public IncludedItem89(global::AppStoreConnect.GameCenterAchievement? value) { - GameCenterActivityImages = value; + GameCenterAchievements = value; } /// /// /// - public static IncludedItem89 FromGameCenterActivityImages(global::AppStoreConnect.GameCenterActivityImage? value) => new IncludedItem89(value); + public static IncludedItem89 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem89(value); /// /// @@ -133,35 +244,116 @@ public IncludedItem89(global::AppStoreConnect.GameCenterActivityVersion? value) /// public static IncludedItem89 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem89(value); + /// + /// + /// + public static implicit operator IncludedItem89(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem89((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem89 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem89(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + + /// + /// + /// + public static IncludedItem89 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem89(value); + + /// + /// + /// + public static implicit operator IncludedItem89(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem89((global::AppStoreConnect.GameCenterGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem89 @this) => @this.GameCenterGroups; + + /// + /// + /// + public IncludedItem89(global::AppStoreConnect.GameCenterGroup? value) + { + GameCenterGroups = value; + } + + /// + /// + /// + public static IncludedItem89 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem89(value); + + /// + /// + /// + public static implicit operator IncludedItem89(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem89((global::AppStoreConnect.GameCenterLeaderboard?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem89 @this) => @this.GameCenterLeaderboards; + + /// + /// + /// + public IncludedItem89(global::AppStoreConnect.GameCenterLeaderboard? value) + { + GameCenterLeaderboards = value; + } + + /// + /// + /// + public static IncludedItem89 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem89(value); + /// /// /// public IncludedItem89( - global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages, - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions + global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterGroup? gameCenterGroups, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards ) { Type = type; - GameCenterActivityImages = gameCenterActivityImages; + GameCenterAchievements = gameCenterAchievements; GameCenterActivityVersions = gameCenterActivityVersions; + GameCenterDetails = gameCenterDetails; + GameCenterGroups = gameCenterGroups; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => + GameCenterLeaderboards as object ?? + GameCenterGroups as object ?? + GameCenterDetails as object ?? GameCenterActivityVersions as object ?? - GameCenterActivityImages as object + GameCenterAchievements as object ; /// /// /// public override string? ToString() => - GameCenterActivityImages?.ToString() ?? - GameCenterActivityVersions?.ToString() + GameCenterAchievements?.ToString() ?? + GameCenterActivityVersions?.ToString() ?? + GameCenterDetails?.ToString() ?? + GameCenterGroups?.ToString() ?? + GameCenterLeaderboards?.ToString() ; /// @@ -169,15 +361,18 @@ GameCenterActivityImages as object /// public bool Validate() { - return IsGameCenterActivityImages && !IsGameCenterActivityVersions || !IsGameCenterActivityImages && IsGameCenterActivityVersions; + return IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboards; } /// /// /// public TResult? Match( - global::System.Func? gameCenterActivityImages = null, + global::System.Func? gameCenterAchievements = null, global::System.Func? gameCenterActivityVersions = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -185,14 +380,26 @@ public bool Validate() Validate(); } - if (GameCenterActivityImages is { } __value0 && gameCenterActivityImages != null) + if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) { - return gameCenterActivityImages(__value0); + return gameCenterAchievements(__value0); } else if (GameCenterActivityVersions is { } __value1 && gameCenterActivityVersions != null) { return gameCenterActivityVersions(__value1); } + else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) + { + return gameCenterDetails(__value2); + } + else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) + { + return gameCenterGroups(__value3); + } + else if (GameCenterLeaderboards is { } __value4 && gameCenterLeaderboards != null) + { + return gameCenterLeaderboards(__value4); + } return default(TResult); } @@ -201,9 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterActivityImages = null, + global::System.Action? gameCenterAchievements = null, global::System.Action? gameCenterActivityVersions = null, + + global::System.Action? gameCenterDetails = null, + + global::System.Action? gameCenterGroups = null, + + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -211,22 +424,37 @@ public void Match( Validate(); } - if (GameCenterActivityImages is { } __value0) + if (GameCenterAchievements is { } __value0) { - gameCenterActivityImages?.Invoke(__value0); + gameCenterAchievements?.Invoke(__value0); } else if (GameCenterActivityVersions is { } __value1) { gameCenterActivityVersions?.Invoke(__value1); } + else if (GameCenterDetails is { } __value2) + { + gameCenterDetails?.Invoke(__value2); + } + else if (GameCenterGroups is { } __value3) + { + gameCenterGroups?.Invoke(__value3); + } + else if (GameCenterLeaderboards is { } __value4) + { + gameCenterLeaderboards?.Invoke(__value4); + } } /// /// /// public void Switch( - global::System.Action? gameCenterActivityImages = null, + global::System.Action? gameCenterAchievements = null, global::System.Action? gameCenterActivityVersions = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -234,14 +462,26 @@ public void Switch( Validate(); } - if (GameCenterActivityImages is { } __value0) + if (GameCenterAchievements is { } __value0) { - gameCenterActivityImages?.Invoke(__value0); + gameCenterAchievements?.Invoke(__value0); } else if (GameCenterActivityVersions is { } __value1) { gameCenterActivityVersions?.Invoke(__value1); } + else if (GameCenterDetails is { } __value2) + { + gameCenterDetails?.Invoke(__value2); + } + else if (GameCenterGroups is { } __value3) + { + gameCenterGroups?.Invoke(__value3); + } + else if (GameCenterLeaderboards is { } __value4) + { + gameCenterLeaderboards?.Invoke(__value4); + } } /// @@ -251,10 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterActivityImages, - typeof(global::AppStoreConnect.GameCenterActivityImage), + GameCenterAchievements, + typeof(global::AppStoreConnect.GameCenterAchievement), GameCenterActivityVersions, typeof(global::AppStoreConnect.GameCenterActivityVersion), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterGroups, + typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboards, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem89 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages, other.GameCenterActivityImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem9.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem9.g.cs index e25d04ab1..abbaf7509 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem9.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem9.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; init; } + public global::AppStoreConnect.AppClipAppStoreReviewDetail? AppClipAppStoreReviewDetails { get; init; } #else - public global::AppStoreConnect.AppClipDefaultExperience? AppClipDefaultExperiences1 { get; } + public global::AppStoreConnect.AppClipAppStoreReviewDetail? AppClipAppStoreReviewDetails { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipAppStoreReviewDetails))] #endif - public bool IsAppClipDefaultExperiences1 => AppClipDefaultExperiences1 != null; + public bool IsAppClipAppStoreReviewDetails => AppClipAppStoreReviewDetails != null; /// /// /// - public bool TryPickAppClipDefaultExperiences1( + public bool TryPickAppClipAppStoreReviewDetails( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppClipDefaultExperience? value) + out global::AppStoreConnect.AppClipAppStoreReviewDetail? value) { - value = AppClipDefaultExperiences1; - return IsAppClipDefaultExperiences1; + value = AppClipAppStoreReviewDetails; + return IsAppClipAppStoreReviewDetails; } /// /// /// - public global::AppStoreConnect.AppClipDefaultExperience PickAppClipDefaultExperiences1() => AppClipDefaultExperiences1 is { } value + public global::AppStoreConnect.AppClipAppStoreReviewDetail PickAppClipAppStoreReviewDetails() => AppClipAppStoreReviewDetails is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences1' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipAppStoreReviewDetails' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; init; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalization? AppClipDefaultExperienceLocalizations1 { get; init; } #else - public global::AppStoreConnect.App? AppClipDefaultExperiences2 { get; } + public global::AppStoreConnect.AppClipDefaultExperienceLocalization? AppClipDefaultExperienceLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperiences2))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperienceLocalizations1))] #endif - public bool IsAppClipDefaultExperiences2 => AppClipDefaultExperiences2 != null; + public bool IsAppClipDefaultExperienceLocalizations1 => AppClipDefaultExperienceLocalizations1 != null; /// /// /// - public bool TryPickAppClipDefaultExperiences2( + public bool TryPickAppClipDefaultExperienceLocalizations1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.App? value) + out global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) { - value = AppClipDefaultExperiences2; - return IsAppClipDefaultExperiences2; + value = AppClipDefaultExperienceLocalizations1; + return IsAppClipDefaultExperienceLocalizations1; } /// /// /// - public global::AppStoreConnect.App PickAppClipDefaultExperiences2() => AppClipDefaultExperiences2 is { } value + public global::AppStoreConnect.AppClipDefaultExperienceLocalization PickAppClipDefaultExperienceLocalizations1() => AppClipDefaultExperienceLocalizations1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperiences2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperienceLocalizations1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppClip? AppClipDefaultExperienceLocalizations2 { get; init; } +#else + public global::AppStoreConnect.AppClip? AppClipDefaultExperienceLocalizations2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppClipDefaultExperienceLocalizations2))] +#endif + public bool IsAppClipDefaultExperienceLocalizations2 => AppClipDefaultExperienceLocalizations2 != null; + + /// + /// + /// + public bool TryPickAppClipDefaultExperienceLocalizations2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppClip? value) + { + value = AppClipDefaultExperienceLocalizations2; + return IsAppClipDefaultExperienceLocalizations2; + } + + /// + /// + /// + public global::AppStoreConnect.AppClip PickAppClipDefaultExperienceLocalizations2() => AppClipDefaultExperienceLocalizations2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppClipDefaultExperienceLocalizations2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } +#else + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] +#endif + public bool IsAppStoreVersions => AppStoreVersions != null; + + /// + /// + /// + public bool TryPickAppStoreVersions( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppStoreVersion? value) + { + value = AppStoreVersions; + return IsAppStoreVersions; + } + + /// + /// + /// + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem9(global::AppStoreConnect.AppClipAppStoreReviewDetail value) => new IncludedItem9((global::AppStoreConnect.AppClipAppStoreReviewDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClipAppStoreReviewDetail?(IncludedItem9 @this) => @this.AppClipAppStoreReviewDetails; + + /// + /// + /// + public IncludedItem9(global::AppStoreConnect.AppClipAppStoreReviewDetail? value) + { + AppClipAppStoreReviewDetails = value; + } + + /// + /// + /// + public static IncludedItem9 FromAppClipAppStoreReviewDetails(global::AppStoreConnect.AppClipAppStoreReviewDetail? value) => new IncludedItem9(value); + + /// + /// + /// + public static implicit operator IncludedItem9(global::AppStoreConnect.AppClipDefaultExperienceLocalization value) => new IncludedItem9((global::AppStoreConnect.AppClipDefaultExperienceLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClipDefaultExperienceLocalization?(IncludedItem9 @this) => @this.AppClipDefaultExperienceLocalizations1; + /// /// /// - public static implicit operator IncludedItem9(global::AppStoreConnect.AppClipDefaultExperience value) => new IncludedItem9((global::AppStoreConnect.AppClipDefaultExperience?)value); + public IncludedItem9(global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) + { + AppClipDefaultExperienceLocalizations1 = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.AppClipDefaultExperience?(IncludedItem9 @this) => @this.AppClipDefaultExperiences1; + public static IncludedItem9 FromAppClipDefaultExperienceLocalizations1(global::AppStoreConnect.AppClipDefaultExperienceLocalization? value) => new IncludedItem9(value); /// /// /// - public IncludedItem9(global::AppStoreConnect.AppClipDefaultExperience? value) + public static implicit operator IncludedItem9(global::AppStoreConnect.AppClip value) => new IncludedItem9((global::AppStoreConnect.AppClip?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppClip?(IncludedItem9 @this) => @this.AppClipDefaultExperienceLocalizations2; + + /// + /// + /// + public IncludedItem9(global::AppStoreConnect.AppClip? value) { - AppClipDefaultExperiences1 = value; + AppClipDefaultExperienceLocalizations2 = value; } /// /// /// - public static IncludedItem9 FromAppClipDefaultExperiences1(global::AppStoreConnect.AppClipDefaultExperience? value) => new IncludedItem9(value); + public static IncludedItem9 FromAppClipDefaultExperienceLocalizations2(global::AppStoreConnect.AppClip? value) => new IncludedItem9(value); /// /// /// - public static implicit operator IncludedItem9(global::AppStoreConnect.App value) => new IncludedItem9((global::AppStoreConnect.App?)value); + public static implicit operator IncludedItem9(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem9((global::AppStoreConnect.AppStoreVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.App?(IncludedItem9 @this) => @this.AppClipDefaultExperiences2; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem9 @this) => @this.AppStoreVersions; /// /// /// - public IncludedItem9(global::AppStoreConnect.App? value) + public IncludedItem9(global::AppStoreConnect.AppStoreVersion? value) { - AppClipDefaultExperiences2 = value; + AppStoreVersions = value; } /// /// /// - public static IncludedItem9 FromAppClipDefaultExperiences2(global::AppStoreConnect.App? value) => new IncludedItem9(value); + public static IncludedItem9 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem9(value); /// /// /// public IncludedItem9( - global::AppStoreConnect.AppClipsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppClipDefaultExperience? appClipDefaultExperiences1, - global::AppStoreConnect.App? appClipDefaultExperiences2 + global::AppStoreConnect.AppClipDefaultExperiencesResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppClipAppStoreReviewDetail? appClipAppStoreReviewDetails, + global::AppStoreConnect.AppClipDefaultExperienceLocalization? appClipDefaultExperienceLocalizations1, + global::AppStoreConnect.AppClip? appClipDefaultExperienceLocalizations2, + global::AppStoreConnect.AppStoreVersion? appStoreVersions ) { Type = type; - AppClipDefaultExperiences1 = appClipDefaultExperiences1; - AppClipDefaultExperiences2 = appClipDefaultExperiences2; + AppClipAppStoreReviewDetails = appClipAppStoreReviewDetails; + AppClipDefaultExperienceLocalizations1 = appClipDefaultExperienceLocalizations1; + AppClipDefaultExperienceLocalizations2 = appClipDefaultExperienceLocalizations2; + AppStoreVersions = appStoreVersions; } /// /// /// public object? Object => - AppClipDefaultExperiences2 as object ?? - AppClipDefaultExperiences1 as object + AppStoreVersions as object ?? + AppClipDefaultExperienceLocalizations2 as object ?? + AppClipDefaultExperienceLocalizations1 as object ?? + AppClipAppStoreReviewDetails as object ; /// /// /// public override string? ToString() => - AppClipDefaultExperiences1?.ToString() ?? - AppClipDefaultExperiences2?.ToString() + AppClipAppStoreReviewDetails?.ToString() ?? + AppClipDefaultExperienceLocalizations1?.ToString() ?? + AppClipDefaultExperienceLocalizations2?.ToString() ?? + AppStoreVersions?.ToString() ; /// @@ -169,15 +297,17 @@ AppClipDefaultExperiences1 as object /// public bool Validate() { - return IsAppClipDefaultExperiences1 && !IsAppClipDefaultExperiences2 || !IsAppClipDefaultExperiences1 && IsAppClipDefaultExperiences2; + return IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && IsAppClipDefaultExperienceLocalizations2 && !IsAppStoreVersions || !IsAppClipAppStoreReviewDetails && !IsAppClipDefaultExperienceLocalizations1 && !IsAppClipDefaultExperienceLocalizations2 && IsAppStoreVersions; } /// /// /// public TResult? Match( - global::System.Func? appClipDefaultExperiences1 = null, - global::System.Func? appClipDefaultExperiences2 = null, + global::System.Func? appClipAppStoreReviewDetails = null, + global::System.Func? appClipDefaultExperienceLocalizations1 = null, + global::System.Func? appClipDefaultExperienceLocalizations2 = null, + global::System.Func? appStoreVersions = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (AppClipDefaultExperiences1 is { } __value0 && appClipDefaultExperiences1 != null) + if (AppClipAppStoreReviewDetails is { } __value0 && appClipAppStoreReviewDetails != null) + { + return appClipAppStoreReviewDetails(__value0); + } + else if (AppClipDefaultExperienceLocalizations1 is { } __value1 && appClipDefaultExperienceLocalizations1 != null) + { + return appClipDefaultExperienceLocalizations1(__value1); + } + else if (AppClipDefaultExperienceLocalizations2 is { } __value2 && appClipDefaultExperienceLocalizations2 != null) { - return appClipDefaultExperiences1(__value0); + return appClipDefaultExperienceLocalizations2(__value2); } - else if (AppClipDefaultExperiences2 is { } __value1 && appClipDefaultExperiences2 != null) + else if (AppStoreVersions is { } __value3 && appStoreVersions != null) { - return appClipDefaultExperiences2(__value1); + return appStoreVersions(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appClipDefaultExperiences1 = null, + global::System.Action? appClipAppStoreReviewDetails = null, + + global::System.Action? appClipDefaultExperienceLocalizations1 = null, - global::System.Action? appClipDefaultExperiences2 = null, + global::System.Action? appClipDefaultExperienceLocalizations2 = null, + + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (AppClipDefaultExperiences1 is { } __value0) + if (AppClipAppStoreReviewDetails is { } __value0) + { + appClipAppStoreReviewDetails?.Invoke(__value0); + } + else if (AppClipDefaultExperienceLocalizations1 is { } __value1) { - appClipDefaultExperiences1?.Invoke(__value0); + appClipDefaultExperienceLocalizations1?.Invoke(__value1); } - else if (AppClipDefaultExperiences2 is { } __value1) + else if (AppClipDefaultExperienceLocalizations2 is { } __value2) { - appClipDefaultExperiences2?.Invoke(__value1); + appClipDefaultExperienceLocalizations2?.Invoke(__value2); + } + else if (AppStoreVersions is { } __value3) + { + appStoreVersions?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appClipDefaultExperiences1 = null, - global::System.Action? appClipDefaultExperiences2 = null, + global::System.Action? appClipAppStoreReviewDetails = null, + global::System.Action? appClipDefaultExperienceLocalizations1 = null, + global::System.Action? appClipDefaultExperienceLocalizations2 = null, + global::System.Action? appStoreVersions = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (AppClipDefaultExperiences1 is { } __value0) + if (AppClipAppStoreReviewDetails is { } __value0) + { + appClipAppStoreReviewDetails?.Invoke(__value0); + } + else if (AppClipDefaultExperienceLocalizations1 is { } __value1) + { + appClipDefaultExperienceLocalizations1?.Invoke(__value1); + } + else if (AppClipDefaultExperienceLocalizations2 is { } __value2) { - appClipDefaultExperiences1?.Invoke(__value0); + appClipDefaultExperienceLocalizations2?.Invoke(__value2); } - else if (AppClipDefaultExperiences2 is { } __value1) + else if (AppStoreVersions is { } __value3) { - appClipDefaultExperiences2?.Invoke(__value1); + appStoreVersions?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppClipDefaultExperiences1, - typeof(global::AppStoreConnect.AppClipDefaultExperience), - AppClipDefaultExperiences2, - typeof(global::AppStoreConnect.App), + AppClipAppStoreReviewDetails, + typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail), + AppClipDefaultExperienceLocalizations1, + typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalization), + AppClipDefaultExperienceLocalizations2, + typeof(global::AppStoreConnect.AppClip), + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem9 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences1, other.AppClipDefaultExperiences1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperiences2, other.AppClipDefaultExperiences2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipAppStoreReviewDetails, other.AppClipAppStoreReviewDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperienceLocalizations1, other.AppClipDefaultExperienceLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppClipDefaultExperienceLocalizations2, other.AppClipDefaultExperienceLocalizations2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem90.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem90.g.cs index e0ded47e7..bca6ff870 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem90.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem90.g.cs @@ -12,44 +12,44 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages { get; init; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; init; } #else - public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages { get; } + public global::AppStoreConnect.GameCenterAchievement? GameCenterAchievements { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAchievements))] #endif - public bool IsGameCenterActivityImages => GameCenterActivityImages != null; + public bool IsGameCenterAchievements => GameCenterAchievements != null; /// /// /// - public bool TryPickGameCenterActivityImages( + public bool TryPickGameCenterAchievements( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterActivityImage? value) + out global::AppStoreConnect.GameCenterAchievement? value) { - value = GameCenterActivityImages; - return IsGameCenterActivityImages; + value = GameCenterAchievements; + return IsGameCenterAchievements; } /// /// /// - public global::AppStoreConnect.GameCenterActivityImage PickGameCenterActivityImages() => GameCenterActivityImages is { } value + public global::AppStoreConnect.GameCenterAchievement PickGameCenterAchievements() => GameCenterAchievements is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAchievements' but the value was {ToString()}."); /// /// @@ -87,28 +87,139 @@ public bool TryPickGameCenterActivityVersions( public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value ? value : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } +#else + public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] +#endif + public bool IsGameCenterDetails => GameCenterDetails != null; + + /// + /// + /// + public bool TryPickGameCenterDetails( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterDetail? value) + { + value = GameCenterDetails; + return IsGameCenterDetails; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } +#else + public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] +#endif + public bool IsGameCenterGroups => GameCenterGroups != null; + + /// + /// + /// + public bool TryPickGameCenterGroups( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterGroup? value) + { + value = GameCenterGroups; + return IsGameCenterGroups; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } +#else + public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] +#endif + public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + + /// + /// + /// + public bool TryPickGameCenterLeaderboards( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterLeaderboard? value) + { + value = GameCenterLeaderboards; + return IsGameCenterLeaderboards; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem90(global::AppStoreConnect.GameCenterActivityImage value) => new IncludedItem90((global::AppStoreConnect.GameCenterActivityImage?)value); + public static implicit operator IncludedItem90(global::AppStoreConnect.GameCenterAchievement value) => new IncludedItem90((global::AppStoreConnect.GameCenterAchievement?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterActivityImage?(IncludedItem90 @this) => @this.GameCenterActivityImages; + public static implicit operator global::AppStoreConnect.GameCenterAchievement?(IncludedItem90 @this) => @this.GameCenterAchievements; /// /// /// - public IncludedItem90(global::AppStoreConnect.GameCenterActivityImage? value) + public IncludedItem90(global::AppStoreConnect.GameCenterAchievement? value) { - GameCenterActivityImages = value; + GameCenterAchievements = value; } /// /// /// - public static IncludedItem90 FromGameCenterActivityImages(global::AppStoreConnect.GameCenterActivityImage? value) => new IncludedItem90(value); + public static IncludedItem90 FromGameCenterAchievements(global::AppStoreConnect.GameCenterAchievement? value) => new IncludedItem90(value); /// /// @@ -133,35 +244,116 @@ public IncludedItem90(global::AppStoreConnect.GameCenterActivityVersion? value) /// public static IncludedItem90 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem90(value); + /// + /// + /// + public static implicit operator IncludedItem90(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem90((global::AppStoreConnect.GameCenterDetail?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem90 @this) => @this.GameCenterDetails; + + /// + /// + /// + public IncludedItem90(global::AppStoreConnect.GameCenterDetail? value) + { + GameCenterDetails = value; + } + + /// + /// + /// + public static IncludedItem90 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem90(value); + + /// + /// + /// + public static implicit operator IncludedItem90(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem90((global::AppStoreConnect.GameCenterGroup?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem90 @this) => @this.GameCenterGroups; + + /// + /// + /// + public IncludedItem90(global::AppStoreConnect.GameCenterGroup? value) + { + GameCenterGroups = value; + } + + /// + /// + /// + public static IncludedItem90 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem90(value); + + /// + /// + /// + public static implicit operator IncludedItem90(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem90((global::AppStoreConnect.GameCenterLeaderboard?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem90 @this) => @this.GameCenterLeaderboards; + + /// + /// + /// + public IncludedItem90(global::AppStoreConnect.GameCenterLeaderboard? value) + { + GameCenterLeaderboards = value; + } + + /// + /// + /// + public static IncludedItem90 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem90(value); + /// /// /// public IncludedItem90( - global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages, - global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions + global::AppStoreConnect.GameCenterActivityResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterAchievement? gameCenterAchievements, + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions, + global::AppStoreConnect.GameCenterDetail? gameCenterDetails, + global::AppStoreConnect.GameCenterGroup? gameCenterGroups, + global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards ) { Type = type; - GameCenterActivityImages = gameCenterActivityImages; + GameCenterAchievements = gameCenterAchievements; GameCenterActivityVersions = gameCenterActivityVersions; + GameCenterDetails = gameCenterDetails; + GameCenterGroups = gameCenterGroups; + GameCenterLeaderboards = gameCenterLeaderboards; } /// /// /// public object? Object => + GameCenterLeaderboards as object ?? + GameCenterGroups as object ?? + GameCenterDetails as object ?? GameCenterActivityVersions as object ?? - GameCenterActivityImages as object + GameCenterAchievements as object ; /// /// /// public override string? ToString() => - GameCenterActivityImages?.ToString() ?? - GameCenterActivityVersions?.ToString() + GameCenterAchievements?.ToString() ?? + GameCenterActivityVersions?.ToString() ?? + GameCenterDetails?.ToString() ?? + GameCenterGroups?.ToString() ?? + GameCenterLeaderboards?.ToString() ; /// @@ -169,15 +361,18 @@ GameCenterActivityImages as object /// public bool Validate() { - return IsGameCenterActivityImages && !IsGameCenterActivityVersions || !IsGameCenterActivityImages && IsGameCenterActivityVersions; + return IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterAchievements && !IsGameCenterActivityVersions && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboards; } /// /// /// public TResult? Match( - global::System.Func? gameCenterActivityImages = null, + global::System.Func? gameCenterAchievements = null, global::System.Func? gameCenterActivityVersions = null, + global::System.Func? gameCenterDetails = null, + global::System.Func? gameCenterGroups = null, + global::System.Func? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -185,14 +380,26 @@ public bool Validate() Validate(); } - if (GameCenterActivityImages is { } __value0 && gameCenterActivityImages != null) + if (GameCenterAchievements is { } __value0 && gameCenterAchievements != null) { - return gameCenterActivityImages(__value0); + return gameCenterAchievements(__value0); } else if (GameCenterActivityVersions is { } __value1 && gameCenterActivityVersions != null) { return gameCenterActivityVersions(__value1); } + else if (GameCenterDetails is { } __value2 && gameCenterDetails != null) + { + return gameCenterDetails(__value2); + } + else if (GameCenterGroups is { } __value3 && gameCenterGroups != null) + { + return gameCenterGroups(__value3); + } + else if (GameCenterLeaderboards is { } __value4 && gameCenterLeaderboards != null) + { + return gameCenterLeaderboards(__value4); + } return default(TResult); } @@ -201,9 +408,15 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterActivityImages = null, + global::System.Action? gameCenterAchievements = null, global::System.Action? gameCenterActivityVersions = null, + + global::System.Action? gameCenterDetails = null, + + global::System.Action? gameCenterGroups = null, + + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -211,22 +424,37 @@ public void Match( Validate(); } - if (GameCenterActivityImages is { } __value0) + if (GameCenterAchievements is { } __value0) { - gameCenterActivityImages?.Invoke(__value0); + gameCenterAchievements?.Invoke(__value0); } else if (GameCenterActivityVersions is { } __value1) { gameCenterActivityVersions?.Invoke(__value1); } + else if (GameCenterDetails is { } __value2) + { + gameCenterDetails?.Invoke(__value2); + } + else if (GameCenterGroups is { } __value3) + { + gameCenterGroups?.Invoke(__value3); + } + else if (GameCenterLeaderboards is { } __value4) + { + gameCenterLeaderboards?.Invoke(__value4); + } } /// /// /// public void Switch( - global::System.Action? gameCenterActivityImages = null, + global::System.Action? gameCenterAchievements = null, global::System.Action? gameCenterActivityVersions = null, + global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterLeaderboards = null, bool validate = true) { if (validate) @@ -234,14 +462,26 @@ public void Switch( Validate(); } - if (GameCenterActivityImages is { } __value0) + if (GameCenterAchievements is { } __value0) { - gameCenterActivityImages?.Invoke(__value0); + gameCenterAchievements?.Invoke(__value0); } else if (GameCenterActivityVersions is { } __value1) { gameCenterActivityVersions?.Invoke(__value1); } + else if (GameCenterDetails is { } __value2) + { + gameCenterDetails?.Invoke(__value2); + } + else if (GameCenterGroups is { } __value3) + { + gameCenterGroups?.Invoke(__value3); + } + else if (GameCenterLeaderboards is { } __value4) + { + gameCenterLeaderboards?.Invoke(__value4); + } } /// @@ -251,10 +491,16 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterActivityImages, - typeof(global::AppStoreConnect.GameCenterActivityImage), + GameCenterAchievements, + typeof(global::AppStoreConnect.GameCenterAchievement), GameCenterActivityVersions, typeof(global::AppStoreConnect.GameCenterActivityVersion), + GameCenterDetails, + typeof(global::AppStoreConnect.GameCenterDetail), + GameCenterGroups, + typeof(global::AppStoreConnect.GameCenterGroup), + GameCenterLeaderboards, + typeof(global::AppStoreConnect.GameCenterLeaderboard), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +517,11 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem90 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages, other.GameCenterActivityImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAchievements, other.GameCenterAchievements) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem91.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem91.g.cs index c1fe04ab2..a66a6b15c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem91.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem91.g.cs @@ -12,178 +12,81 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivity? GameCenterActivityImages1 { get; init; } + public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages { get; init; } #else - public global::AppStoreConnect.GameCenterActivity? GameCenterActivityImages1 { get; } + public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages))] #endif - public bool IsGameCenterActivityImages1 => GameCenterActivityImages1 != null; + public bool IsGameCenterActivityImages => GameCenterActivityImages != null; /// /// /// - public bool TryPickGameCenterActivityImages1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivity? value) - { - value = GameCenterActivityImages1; - return IsGameCenterActivityImages1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivity PickGameCenterActivityImages1() => GameCenterActivityImages1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages2 { get; init; } -#else - public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages2))] -#endif - public bool IsGameCenterActivityImages2 => GameCenterActivityImages2 != null; - - /// - /// - /// - public bool TryPickGameCenterActivityImages2( + public bool TryPickGameCenterActivityImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterActivityImage? value) { - value = GameCenterActivityImages2; - return IsGameCenterActivityImages2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivityImage PickGameCenterActivityImages2() => GameCenterActivityImages2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityLocalization? GameCenterActivityLocalizations { get; init; } -#else - public global::AppStoreConnect.GameCenterActivityLocalization? GameCenterActivityLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityLocalizations))] -#endif - public bool IsGameCenterActivityLocalizations => GameCenterActivityLocalizations != null; - - /// - /// - /// - public bool TryPickGameCenterActivityLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivityLocalization? value) - { - value = GameCenterActivityLocalizations; - return IsGameCenterActivityLocalizations; + value = GameCenterActivityImages; + return IsGameCenterActivityImages; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalization PickGameCenterActivityLocalizations() => GameCenterActivityLocalizations is { } value + public global::AppStoreConnect.GameCenterActivityImage PickGameCenterActivityImages() => GameCenterActivityImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; init; } + public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; init; } #else - public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; } + public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersionReleases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersions))] #endif - public bool IsGameCenterActivityVersionReleases => GameCenterActivityVersionReleases != null; + public bool IsGameCenterActivityVersions => GameCenterActivityVersions != null; /// /// /// - public bool TryPickGameCenterActivityVersionReleases( + public bool TryPickGameCenterActivityVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterActivityVersionRelease? value) + out global::AppStoreConnect.GameCenterActivityVersion? value) { - value = GameCenterActivityVersionReleases; - return IsGameCenterActivityVersionReleases; + value = GameCenterActivityVersions; + return IsGameCenterActivityVersions; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelease PickGameCenterActivityVersionReleases() => GameCenterActivityVersionReleases is { } value + public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersionReleases' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem91(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem91((global::AppStoreConnect.GameCenterActivity?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem91 @this) => @this.GameCenterActivityImages1; - - /// - /// - /// - public IncludedItem91(global::AppStoreConnect.GameCenterActivity? value) - { - GameCenterActivityImages1 = value; - } - - /// - /// - /// - public static IncludedItem91 FromGameCenterActivityImages1(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem91(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); /// /// /// @@ -192,104 +95,73 @@ public IncludedItem91(global::AppStoreConnect.GameCenterActivity? value) /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterActivityImage?(IncludedItem91 @this) => @this.GameCenterActivityImages2; + public static implicit operator global::AppStoreConnect.GameCenterActivityImage?(IncludedItem91 @this) => @this.GameCenterActivityImages; /// /// /// public IncludedItem91(global::AppStoreConnect.GameCenterActivityImage? value) { - GameCenterActivityImages2 = value; - } - - /// - /// - /// - public static IncludedItem91 FromGameCenterActivityImages2(global::AppStoreConnect.GameCenterActivityImage? value) => new IncludedItem91(value); - - /// - /// - /// - public static implicit operator IncludedItem91(global::AppStoreConnect.GameCenterActivityLocalization value) => new IncludedItem91((global::AppStoreConnect.GameCenterActivityLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivityLocalization?(IncludedItem91 @this) => @this.GameCenterActivityLocalizations; - - /// - /// - /// - public IncludedItem91(global::AppStoreConnect.GameCenterActivityLocalization? value) - { - GameCenterActivityLocalizations = value; + GameCenterActivityImages = value; } /// /// /// - public static IncludedItem91 FromGameCenterActivityLocalizations(global::AppStoreConnect.GameCenterActivityLocalization? value) => new IncludedItem91(value); + public static IncludedItem91 FromGameCenterActivityImages(global::AppStoreConnect.GameCenterActivityImage? value) => new IncludedItem91(value); /// /// /// - public static implicit operator IncludedItem91(global::AppStoreConnect.GameCenterActivityVersionRelease value) => new IncludedItem91((global::AppStoreConnect.GameCenterActivityVersionRelease?)value); + public static implicit operator IncludedItem91(global::AppStoreConnect.GameCenterActivityVersion value) => new IncludedItem91((global::AppStoreConnect.GameCenterActivityVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterActivityVersionRelease?(IncludedItem91 @this) => @this.GameCenterActivityVersionReleases; + public static implicit operator global::AppStoreConnect.GameCenterActivityVersion?(IncludedItem91 @this) => @this.GameCenterActivityVersions; /// /// /// - public IncludedItem91(global::AppStoreConnect.GameCenterActivityVersionRelease? value) + public IncludedItem91(global::AppStoreConnect.GameCenterActivityVersion? value) { - GameCenterActivityVersionReleases = value; + GameCenterActivityVersions = value; } /// /// /// - public static IncludedItem91 FromGameCenterActivityVersionReleases(global::AppStoreConnect.GameCenterActivityVersionRelease? value) => new IncludedItem91(value); + public static IncludedItem91 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem91(value); /// /// /// public IncludedItem91( - global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterActivity? gameCenterActivityImages1, - global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages2, - global::AppStoreConnect.GameCenterActivityLocalization? gameCenterActivityLocalizations, - global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases + global::AppStoreConnect.GameCenterActivityLocalizationsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages, + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions ) { Type = type; - GameCenterActivityImages1 = gameCenterActivityImages1; - GameCenterActivityImages2 = gameCenterActivityImages2; - GameCenterActivityLocalizations = gameCenterActivityLocalizations; - GameCenterActivityVersionReleases = gameCenterActivityVersionReleases; + GameCenterActivityImages = gameCenterActivityImages; + GameCenterActivityVersions = gameCenterActivityVersions; } /// /// /// public object? Object => - GameCenterActivityVersionReleases as object ?? - GameCenterActivityLocalizations as object ?? - GameCenterActivityImages2 as object ?? - GameCenterActivityImages1 as object + GameCenterActivityVersions as object ?? + GameCenterActivityImages as object ; /// /// /// public override string? ToString() => - GameCenterActivityImages1?.ToString() ?? - GameCenterActivityImages2?.ToString() ?? - GameCenterActivityLocalizations?.ToString() ?? - GameCenterActivityVersionReleases?.ToString() + GameCenterActivityImages?.ToString() ?? + GameCenterActivityVersions?.ToString() ; /// @@ -297,17 +169,15 @@ GameCenterActivityImages1 as object /// public bool Validate() { - return IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && IsGameCenterActivityVersionReleases; + return IsGameCenterActivityImages && !IsGameCenterActivityVersions || !IsGameCenterActivityImages && IsGameCenterActivityVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterActivityImages1 = null, - global::System.Func? gameCenterActivityImages2 = null, - global::System.Func? gameCenterActivityLocalizations = null, - global::System.Func? gameCenterActivityVersionReleases = null, + global::System.Func? gameCenterActivityImages = null, + global::System.Func? gameCenterActivityVersions = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterActivityImages1 is { } __value0 && gameCenterActivityImages1 != null) - { - return gameCenterActivityImages1(__value0); - } - else if (GameCenterActivityImages2 is { } __value1 && gameCenterActivityImages2 != null) - { - return gameCenterActivityImages2(__value1); - } - else if (GameCenterActivityLocalizations is { } __value2 && gameCenterActivityLocalizations != null) + if (GameCenterActivityImages is { } __value0 && gameCenterActivityImages != null) { - return gameCenterActivityLocalizations(__value2); + return gameCenterActivityImages(__value0); } - else if (GameCenterActivityVersionReleases is { } __value3 && gameCenterActivityVersionReleases != null) + else if (GameCenterActivityVersions is { } __value1 && gameCenterActivityVersions != null) { - return gameCenterActivityVersionReleases(__value3); + return gameCenterActivityVersions(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterActivityImages1 = null, - - global::System.Action? gameCenterActivityImages2 = null, + global::System.Action? gameCenterActivityImages = null, - global::System.Action? gameCenterActivityLocalizations = null, - - global::System.Action? gameCenterActivityVersionReleases = null, + global::System.Action? gameCenterActivityVersions = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (GameCenterActivityImages1 is { } __value0) - { - gameCenterActivityImages1?.Invoke(__value0); - } - else if (GameCenterActivityImages2 is { } __value1) + if (GameCenterActivityImages is { } __value0) { - gameCenterActivityImages2?.Invoke(__value1); + gameCenterActivityImages?.Invoke(__value0); } - else if (GameCenterActivityLocalizations is { } __value2) + else if (GameCenterActivityVersions is { } __value1) { - gameCenterActivityLocalizations?.Invoke(__value2); - } - else if (GameCenterActivityVersionReleases is { } __value3) - { - gameCenterActivityVersionReleases?.Invoke(__value3); + gameCenterActivityVersions?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterActivityImages1 = null, - global::System.Action? gameCenterActivityImages2 = null, - global::System.Action? gameCenterActivityLocalizations = null, - global::System.Action? gameCenterActivityVersionReleases = null, + global::System.Action? gameCenterActivityImages = null, + global::System.Action? gameCenterActivityVersions = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (GameCenterActivityImages1 is { } __value0) - { - gameCenterActivityImages1?.Invoke(__value0); - } - else if (GameCenterActivityImages2 is { } __value1) - { - gameCenterActivityImages2?.Invoke(__value1); - } - else if (GameCenterActivityLocalizations is { } __value2) + if (GameCenterActivityImages is { } __value0) { - gameCenterActivityLocalizations?.Invoke(__value2); + gameCenterActivityImages?.Invoke(__value0); } - else if (GameCenterActivityVersionReleases is { } __value3) + else if (GameCenterActivityVersions is { } __value1) { - gameCenterActivityVersionReleases?.Invoke(__value3); + gameCenterActivityVersions?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterActivityImages1, - typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterActivityImages2, + GameCenterActivityImages, typeof(global::AppStoreConnect.GameCenterActivityImage), - GameCenterActivityLocalizations, - typeof(global::AppStoreConnect.GameCenterActivityLocalization), - GameCenterActivityVersionReleases, - typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), + GameCenterActivityVersions, + typeof(global::AppStoreConnect.GameCenterActivityVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem91 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages1, other.GameCenterActivityImages1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages2, other.GameCenterActivityImages2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityLocalizations, other.GameCenterActivityLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersionReleases, other.GameCenterActivityVersionReleases) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages, other.GameCenterActivityImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem92.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem92.g.cs index 9e412a49f..a4eedea7f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem92.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem92.g.cs @@ -12,178 +12,81 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivity? GameCenterActivityImages1 { get; init; } + public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages { get; init; } #else - public global::AppStoreConnect.GameCenterActivity? GameCenterActivityImages1 { get; } + public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages))] #endif - public bool IsGameCenterActivityImages1 => GameCenterActivityImages1 != null; + public bool IsGameCenterActivityImages => GameCenterActivityImages != null; /// /// /// - public bool TryPickGameCenterActivityImages1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivity? value) - { - value = GameCenterActivityImages1; - return IsGameCenterActivityImages1; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivity PickGameCenterActivityImages1() => GameCenterActivityImages1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages2 { get; init; } -#else - public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages2))] -#endif - public bool IsGameCenterActivityImages2 => GameCenterActivityImages2 != null; - - /// - /// - /// - public bool TryPickGameCenterActivityImages2( + public bool TryPickGameCenterActivityImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif out global::AppStoreConnect.GameCenterActivityImage? value) { - value = GameCenterActivityImages2; - return IsGameCenterActivityImages2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterActivityImage PickGameCenterActivityImages2() => GameCenterActivityImages2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityLocalization? GameCenterActivityLocalizations { get; init; } -#else - public global::AppStoreConnect.GameCenterActivityLocalization? GameCenterActivityLocalizations { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityLocalizations))] -#endif - public bool IsGameCenterActivityLocalizations => GameCenterActivityLocalizations != null; - - /// - /// - /// - public bool TryPickGameCenterActivityLocalizations( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterActivityLocalization? value) - { - value = GameCenterActivityLocalizations; - return IsGameCenterActivityLocalizations; + value = GameCenterActivityImages; + return IsGameCenterActivityImages; } /// /// /// - public global::AppStoreConnect.GameCenterActivityLocalization PickGameCenterActivityLocalizations() => GameCenterActivityLocalizations is { } value + public global::AppStoreConnect.GameCenterActivityImage PickGameCenterActivityImages() => GameCenterActivityImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityLocalizations' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; init; } + public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; init; } #else - public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; } + public global::AppStoreConnect.GameCenterActivityVersion? GameCenterActivityVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersionReleases))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersions))] #endif - public bool IsGameCenterActivityVersionReleases => GameCenterActivityVersionReleases != null; + public bool IsGameCenterActivityVersions => GameCenterActivityVersions != null; /// /// /// - public bool TryPickGameCenterActivityVersionReleases( + public bool TryPickGameCenterActivityVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterActivityVersionRelease? value) + out global::AppStoreConnect.GameCenterActivityVersion? value) { - value = GameCenterActivityVersionReleases; - return IsGameCenterActivityVersionReleases; + value = GameCenterActivityVersions; + return IsGameCenterActivityVersions; } /// /// /// - public global::AppStoreConnect.GameCenterActivityVersionRelease PickGameCenterActivityVersionReleases() => GameCenterActivityVersionReleases is { } value + public global::AppStoreConnect.GameCenterActivityVersion PickGameCenterActivityVersions() => GameCenterActivityVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersionReleases' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator IncludedItem92(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem92((global::AppStoreConnect.GameCenterActivity?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem92 @this) => @this.GameCenterActivityImages1; - - /// - /// - /// - public IncludedItem92(global::AppStoreConnect.GameCenterActivity? value) - { - GameCenterActivityImages1 = value; - } - - /// - /// - /// - public static IncludedItem92 FromGameCenterActivityImages1(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem92(value); - + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersions' but the value was {ToString()}."); /// /// /// @@ -192,104 +95,73 @@ public IncludedItem92(global::AppStoreConnect.GameCenterActivity? value) /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterActivityImage?(IncludedItem92 @this) => @this.GameCenterActivityImages2; + public static implicit operator global::AppStoreConnect.GameCenterActivityImage?(IncludedItem92 @this) => @this.GameCenterActivityImages; /// /// /// public IncludedItem92(global::AppStoreConnect.GameCenterActivityImage? value) { - GameCenterActivityImages2 = value; - } - - /// - /// - /// - public static IncludedItem92 FromGameCenterActivityImages2(global::AppStoreConnect.GameCenterActivityImage? value) => new IncludedItem92(value); - - /// - /// - /// - public static implicit operator IncludedItem92(global::AppStoreConnect.GameCenterActivityLocalization value) => new IncludedItem92((global::AppStoreConnect.GameCenterActivityLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterActivityLocalization?(IncludedItem92 @this) => @this.GameCenterActivityLocalizations; - - /// - /// - /// - public IncludedItem92(global::AppStoreConnect.GameCenterActivityLocalization? value) - { - GameCenterActivityLocalizations = value; + GameCenterActivityImages = value; } /// /// /// - public static IncludedItem92 FromGameCenterActivityLocalizations(global::AppStoreConnect.GameCenterActivityLocalization? value) => new IncludedItem92(value); + public static IncludedItem92 FromGameCenterActivityImages(global::AppStoreConnect.GameCenterActivityImage? value) => new IncludedItem92(value); /// /// /// - public static implicit operator IncludedItem92(global::AppStoreConnect.GameCenterActivityVersionRelease value) => new IncludedItem92((global::AppStoreConnect.GameCenterActivityVersionRelease?)value); + public static implicit operator IncludedItem92(global::AppStoreConnect.GameCenterActivityVersion value) => new IncludedItem92((global::AppStoreConnect.GameCenterActivityVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterActivityVersionRelease?(IncludedItem92 @this) => @this.GameCenterActivityVersionReleases; + public static implicit operator global::AppStoreConnect.GameCenterActivityVersion?(IncludedItem92 @this) => @this.GameCenterActivityVersions; /// /// /// - public IncludedItem92(global::AppStoreConnect.GameCenterActivityVersionRelease? value) + public IncludedItem92(global::AppStoreConnect.GameCenterActivityVersion? value) { - GameCenterActivityVersionReleases = value; + GameCenterActivityVersions = value; } /// /// /// - public static IncludedItem92 FromGameCenterActivityVersionReleases(global::AppStoreConnect.GameCenterActivityVersionRelease? value) => new IncludedItem92(value); + public static IncludedItem92 FromGameCenterActivityVersions(global::AppStoreConnect.GameCenterActivityVersion? value) => new IncludedItem92(value); /// /// /// public IncludedItem92( - global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterActivity? gameCenterActivityImages1, - global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages2, - global::AppStoreConnect.GameCenterActivityLocalization? gameCenterActivityLocalizations, - global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases + global::AppStoreConnect.GameCenterActivityLocalizationResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages, + global::AppStoreConnect.GameCenterActivityVersion? gameCenterActivityVersions ) { Type = type; - GameCenterActivityImages1 = gameCenterActivityImages1; - GameCenterActivityImages2 = gameCenterActivityImages2; - GameCenterActivityLocalizations = gameCenterActivityLocalizations; - GameCenterActivityVersionReleases = gameCenterActivityVersionReleases; + GameCenterActivityImages = gameCenterActivityImages; + GameCenterActivityVersions = gameCenterActivityVersions; } /// /// /// public object? Object => - GameCenterActivityVersionReleases as object ?? - GameCenterActivityLocalizations as object ?? - GameCenterActivityImages2 as object ?? - GameCenterActivityImages1 as object + GameCenterActivityVersions as object ?? + GameCenterActivityImages as object ; /// /// /// public override string? ToString() => - GameCenterActivityImages1?.ToString() ?? - GameCenterActivityImages2?.ToString() ?? - GameCenterActivityLocalizations?.ToString() ?? - GameCenterActivityVersionReleases?.ToString() + GameCenterActivityImages?.ToString() ?? + GameCenterActivityVersions?.ToString() ; /// @@ -297,17 +169,15 @@ GameCenterActivityImages1 as object /// public bool Validate() { - return IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && IsGameCenterActivityVersionReleases; + return IsGameCenterActivityImages && !IsGameCenterActivityVersions || !IsGameCenterActivityImages && IsGameCenterActivityVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterActivityImages1 = null, - global::System.Func? gameCenterActivityImages2 = null, - global::System.Func? gameCenterActivityLocalizations = null, - global::System.Func? gameCenterActivityVersionReleases = null, + global::System.Func? gameCenterActivityImages = null, + global::System.Func? gameCenterActivityVersions = null, bool validate = true) { if (validate) @@ -315,21 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterActivityImages1 is { } __value0 && gameCenterActivityImages1 != null) - { - return gameCenterActivityImages1(__value0); - } - else if (GameCenterActivityImages2 is { } __value1 && gameCenterActivityImages2 != null) - { - return gameCenterActivityImages2(__value1); - } - else if (GameCenterActivityLocalizations is { } __value2 && gameCenterActivityLocalizations != null) + if (GameCenterActivityImages is { } __value0 && gameCenterActivityImages != null) { - return gameCenterActivityLocalizations(__value2); + return gameCenterActivityImages(__value0); } - else if (GameCenterActivityVersionReleases is { } __value3 && gameCenterActivityVersionReleases != null) + else if (GameCenterActivityVersions is { } __value1 && gameCenterActivityVersions != null) { - return gameCenterActivityVersionReleases(__value3); + return gameCenterActivityVersions(__value1); } return default(TResult); @@ -339,13 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterActivityImages1 = null, - - global::System.Action? gameCenterActivityImages2 = null, + global::System.Action? gameCenterActivityImages = null, - global::System.Action? gameCenterActivityLocalizations = null, - - global::System.Action? gameCenterActivityVersionReleases = null, + global::System.Action? gameCenterActivityVersions = null, bool validate = true) { if (validate) @@ -353,21 +211,13 @@ public void Match( Validate(); } - if (GameCenterActivityImages1 is { } __value0) - { - gameCenterActivityImages1?.Invoke(__value0); - } - else if (GameCenterActivityImages2 is { } __value1) + if (GameCenterActivityImages is { } __value0) { - gameCenterActivityImages2?.Invoke(__value1); + gameCenterActivityImages?.Invoke(__value0); } - else if (GameCenterActivityLocalizations is { } __value2) + else if (GameCenterActivityVersions is { } __value1) { - gameCenterActivityLocalizations?.Invoke(__value2); - } - else if (GameCenterActivityVersionReleases is { } __value3) - { - gameCenterActivityVersionReleases?.Invoke(__value3); + gameCenterActivityVersions?.Invoke(__value1); } } @@ -375,10 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterActivityImages1 = null, - global::System.Action? gameCenterActivityImages2 = null, - global::System.Action? gameCenterActivityLocalizations = null, - global::System.Action? gameCenterActivityVersionReleases = null, + global::System.Action? gameCenterActivityImages = null, + global::System.Action? gameCenterActivityVersions = null, bool validate = true) { if (validate) @@ -386,21 +234,13 @@ public void Switch( Validate(); } - if (GameCenterActivityImages1 is { } __value0) - { - gameCenterActivityImages1?.Invoke(__value0); - } - else if (GameCenterActivityImages2 is { } __value1) - { - gameCenterActivityImages2?.Invoke(__value1); - } - else if (GameCenterActivityLocalizations is { } __value2) + if (GameCenterActivityImages is { } __value0) { - gameCenterActivityLocalizations?.Invoke(__value2); + gameCenterActivityImages?.Invoke(__value0); } - else if (GameCenterActivityVersionReleases is { } __value3) + else if (GameCenterActivityVersions is { } __value1) { - gameCenterActivityVersionReleases?.Invoke(__value3); + gameCenterActivityVersions?.Invoke(__value1); } } @@ -411,14 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterActivityImages1, - typeof(global::AppStoreConnect.GameCenterActivity), - GameCenterActivityImages2, + GameCenterActivityImages, typeof(global::AppStoreConnect.GameCenterActivityImage), - GameCenterActivityLocalizations, - typeof(global::AppStoreConnect.GameCenterActivityLocalization), - GameCenterActivityVersionReleases, - typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), + GameCenterActivityVersions, + typeof(global::AppStoreConnect.GameCenterActivityVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem92 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages1, other.GameCenterActivityImages1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages2, other.GameCenterActivityImages2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityLocalizations, other.GameCenterActivityLocalizations) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersionReleases, other.GameCenterActivityVersionReleases) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages, other.GameCenterActivityImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersions, other.GameCenterActivityVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem93.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem93.g.cs index ad643f78e..13ae3e4ee 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem93.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem93.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivityImages1 { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivityImages1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages1))] #endif - public bool IsAppStoreVersions => AppStoreVersions != null; + public bool IsGameCenterActivityImages1 => GameCenterActivityImages1 != null; /// /// /// - public bool TryPickAppStoreVersions( + public bool TryPickGameCenterActivityImages1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.GameCenterActivity? value) { - value = AppStoreVersions; - return IsAppStoreVersions; + value = GameCenterActivityImages1; + return IsGameCenterActivityImages1; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + public global::AppStoreConnect.GameCenterActivity PickGameCenterActivityImages1() => GameCenterActivityImages1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; init; } + public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages2 { get; init; } #else - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; } + public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages2))] #endif - public bool IsGameCenterAppVersions => GameCenterAppVersions != null; + public bool IsGameCenterActivityImages2 => GameCenterActivityImages2 != null; /// /// /// - public bool TryPickGameCenterAppVersions( + public bool TryPickGameCenterActivityImages2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAppVersion? value) + out global::AppStoreConnect.GameCenterActivityImage? value) { - value = GameCenterAppVersions; - return IsGameCenterAppVersions; + value = GameCenterActivityImages2; + return IsGameCenterActivityImages2; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions() => GameCenterAppVersions is { } value + public global::AppStoreConnect.GameCenterActivityImage PickGameCenterActivityImages2() => GameCenterActivityImages2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterActivityLocalization? GameCenterActivityLocalizations { get; init; } +#else + public global::AppStoreConnect.GameCenterActivityLocalization? GameCenterActivityLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityLocalizations))] +#endif + public bool IsGameCenterActivityLocalizations => GameCenterActivityLocalizations != null; + + /// + /// + /// + public bool TryPickGameCenterActivityLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivityLocalization? value) + { + value = GameCenterActivityLocalizations; + return IsGameCenterActivityLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivityLocalization PickGameCenterActivityLocalizations() => GameCenterActivityLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; init; } +#else + public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersionReleases))] +#endif + public bool IsGameCenterActivityVersionReleases => GameCenterActivityVersionReleases != null; + + /// + /// + /// + public bool TryPickGameCenterActivityVersionReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivityVersionRelease? value) + { + value = GameCenterActivityVersionReleases; + return IsGameCenterActivityVersionReleases; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivityVersionRelease PickGameCenterActivityVersionReleases() => GameCenterActivityVersionReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersionReleases' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem93(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem93((global::AppStoreConnect.GameCenterActivity?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem93 @this) => @this.GameCenterActivityImages1; + + /// + /// + /// + public IncludedItem93(global::AppStoreConnect.GameCenterActivity? value) + { + GameCenterActivityImages1 = value; + } + + /// + /// + /// + public static IncludedItem93 FromGameCenterActivityImages1(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem93(value); + + /// + /// + /// + public static implicit operator IncludedItem93(global::AppStoreConnect.GameCenterActivityImage value) => new IncludedItem93((global::AppStoreConnect.GameCenterActivityImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivityImage?(IncludedItem93 @this) => @this.GameCenterActivityImages2; + /// /// /// - public static implicit operator IncludedItem93(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem93((global::AppStoreConnect.AppStoreVersion?)value); + public IncludedItem93(global::AppStoreConnect.GameCenterActivityImage? value) + { + GameCenterActivityImages2 = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem93 @this) => @this.AppStoreVersions; + public static IncludedItem93 FromGameCenterActivityImages2(global::AppStoreConnect.GameCenterActivityImage? value) => new IncludedItem93(value); /// /// /// - public IncludedItem93(global::AppStoreConnect.AppStoreVersion? value) + public static implicit operator IncludedItem93(global::AppStoreConnect.GameCenterActivityLocalization value) => new IncludedItem93((global::AppStoreConnect.GameCenterActivityLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivityLocalization?(IncludedItem93 @this) => @this.GameCenterActivityLocalizations; + + /// + /// + /// + public IncludedItem93(global::AppStoreConnect.GameCenterActivityLocalization? value) { - AppStoreVersions = value; + GameCenterActivityLocalizations = value; } /// /// /// - public static IncludedItem93 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem93(value); + public static IncludedItem93 FromGameCenterActivityLocalizations(global::AppStoreConnect.GameCenterActivityLocalization? value) => new IncludedItem93(value); /// /// /// - public static implicit operator IncludedItem93(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem93((global::AppStoreConnect.GameCenterAppVersion?)value); + public static implicit operator IncludedItem93(global::AppStoreConnect.GameCenterActivityVersionRelease value) => new IncludedItem93((global::AppStoreConnect.GameCenterActivityVersionRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem93 @this) => @this.GameCenterAppVersions; + public static implicit operator global::AppStoreConnect.GameCenterActivityVersionRelease?(IncludedItem93 @this) => @this.GameCenterActivityVersionReleases; /// /// /// - public IncludedItem93(global::AppStoreConnect.GameCenterAppVersion? value) + public IncludedItem93(global::AppStoreConnect.GameCenterActivityVersionRelease? value) { - GameCenterAppVersions = value; + GameCenterActivityVersionReleases = value; } /// /// /// - public static IncludedItem93 FromGameCenterAppVersions(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem93(value); + public static IncludedItem93 FromGameCenterActivityVersionReleases(global::AppStoreConnect.GameCenterActivityVersionRelease? value) => new IncludedItem93(value); /// /// /// public IncludedItem93( - global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppStoreVersion? appStoreVersions, - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions + global::AppStoreConnect.GameCenterActivityVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterActivity? gameCenterActivityImages1, + global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages2, + global::AppStoreConnect.GameCenterActivityLocalization? gameCenterActivityLocalizations, + global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases ) { Type = type; - AppStoreVersions = appStoreVersions; - GameCenterAppVersions = gameCenterAppVersions; + GameCenterActivityImages1 = gameCenterActivityImages1; + GameCenterActivityImages2 = gameCenterActivityImages2; + GameCenterActivityLocalizations = gameCenterActivityLocalizations; + GameCenterActivityVersionReleases = gameCenterActivityVersionReleases; } /// /// /// public object? Object => - GameCenterAppVersions as object ?? - AppStoreVersions as object + GameCenterActivityVersionReleases as object ?? + GameCenterActivityLocalizations as object ?? + GameCenterActivityImages2 as object ?? + GameCenterActivityImages1 as object ; /// /// /// public override string? ToString() => - AppStoreVersions?.ToString() ?? - GameCenterAppVersions?.ToString() + GameCenterActivityImages1?.ToString() ?? + GameCenterActivityImages2?.ToString() ?? + GameCenterActivityLocalizations?.ToString() ?? + GameCenterActivityVersionReleases?.ToString() ; /// @@ -169,15 +297,17 @@ AppStoreVersions as object /// public bool Validate() { - return IsAppStoreVersions && !IsGameCenterAppVersions || !IsAppStoreVersions && IsGameCenterAppVersions; + return IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && IsGameCenterActivityVersionReleases; } /// /// /// public TResult? Match( - global::System.Func? appStoreVersions = null, - global::System.Func? gameCenterAppVersions = null, + global::System.Func? gameCenterActivityImages1 = null, + global::System.Func? gameCenterActivityImages2 = null, + global::System.Func? gameCenterActivityLocalizations = null, + global::System.Func? gameCenterActivityVersionReleases = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (AppStoreVersions is { } __value0 && appStoreVersions != null) + if (GameCenterActivityImages1 is { } __value0 && gameCenterActivityImages1 != null) + { + return gameCenterActivityImages1(__value0); + } + else if (GameCenterActivityImages2 is { } __value1 && gameCenterActivityImages2 != null) + { + return gameCenterActivityImages2(__value1); + } + else if (GameCenterActivityLocalizations is { } __value2 && gameCenterActivityLocalizations != null) { - return appStoreVersions(__value0); + return gameCenterActivityLocalizations(__value2); } - else if (GameCenterAppVersions is { } __value1 && gameCenterAppVersions != null) + else if (GameCenterActivityVersionReleases is { } __value3 && gameCenterActivityVersionReleases != null) { - return gameCenterAppVersions(__value1); + return gameCenterActivityVersionReleases(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appStoreVersions = null, + global::System.Action? gameCenterActivityImages1 = null, + + global::System.Action? gameCenterActivityImages2 = null, - global::System.Action? gameCenterAppVersions = null, + global::System.Action? gameCenterActivityLocalizations = null, + + global::System.Action? gameCenterActivityVersionReleases = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (AppStoreVersions is { } __value0) + if (GameCenterActivityImages1 is { } __value0) + { + gameCenterActivityImages1?.Invoke(__value0); + } + else if (GameCenterActivityImages2 is { } __value1) { - appStoreVersions?.Invoke(__value0); + gameCenterActivityImages2?.Invoke(__value1); } - else if (GameCenterAppVersions is { } __value1) + else if (GameCenterActivityLocalizations is { } __value2) { - gameCenterAppVersions?.Invoke(__value1); + gameCenterActivityLocalizations?.Invoke(__value2); + } + else if (GameCenterActivityVersionReleases is { } __value3) + { + gameCenterActivityVersionReleases?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appStoreVersions = null, - global::System.Action? gameCenterAppVersions = null, + global::System.Action? gameCenterActivityImages1 = null, + global::System.Action? gameCenterActivityImages2 = null, + global::System.Action? gameCenterActivityLocalizations = null, + global::System.Action? gameCenterActivityVersionReleases = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (AppStoreVersions is { } __value0) + if (GameCenterActivityImages1 is { } __value0) + { + gameCenterActivityImages1?.Invoke(__value0); + } + else if (GameCenterActivityImages2 is { } __value1) + { + gameCenterActivityImages2?.Invoke(__value1); + } + else if (GameCenterActivityLocalizations is { } __value2) { - appStoreVersions?.Invoke(__value0); + gameCenterActivityLocalizations?.Invoke(__value2); } - else if (GameCenterAppVersions is { } __value1) + else if (GameCenterActivityVersionReleases is { } __value3) { - gameCenterAppVersions?.Invoke(__value1); + gameCenterActivityVersionReleases?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppStoreVersions, - typeof(global::AppStoreConnect.AppStoreVersion), - GameCenterAppVersions, - typeof(global::AppStoreConnect.GameCenterAppVersion), + GameCenterActivityImages1, + typeof(global::AppStoreConnect.GameCenterActivity), + GameCenterActivityImages2, + typeof(global::AppStoreConnect.GameCenterActivityImage), + GameCenterActivityLocalizations, + typeof(global::AppStoreConnect.GameCenterActivityLocalization), + GameCenterActivityVersionReleases, + typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem93 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions, other.GameCenterAppVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages1, other.GameCenterActivityImages1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages2, other.GameCenterActivityImages2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityLocalizations, other.GameCenterActivityLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersionReleases, other.GameCenterActivityVersionReleases) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem94.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem94.g.cs index 7678a8fe9..4af0fc29f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem94.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem94.g.cs @@ -12,156 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivityImages1 { get; init; } #else - public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } + public global::AppStoreConnect.GameCenterActivity? GameCenterActivityImages1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages1))] #endif - public bool IsAppStoreVersions => AppStoreVersions != null; + public bool IsGameCenterActivityImages1 => GameCenterActivityImages1 != null; /// /// /// - public bool TryPickAppStoreVersions( + public bool TryPickGameCenterActivityImages1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.AppStoreVersion? value) + out global::AppStoreConnect.GameCenterActivity? value) { - value = AppStoreVersions; - return IsAppStoreVersions; + value = GameCenterActivityImages1; + return IsGameCenterActivityImages1; } /// /// /// - public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value + public global::AppStoreConnect.GameCenterActivity PickGameCenterActivityImages1() => GameCenterActivityImages1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; init; } + public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages2 { get; init; } #else - public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; } + public global::AppStoreConnect.GameCenterActivityImage? GameCenterActivityImages2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityImages2))] #endif - public bool IsGameCenterAppVersions => GameCenterAppVersions != null; + public bool IsGameCenterActivityImages2 => GameCenterActivityImages2 != null; /// /// /// - public bool TryPickGameCenterAppVersions( + public bool TryPickGameCenterActivityImages2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterAppVersion? value) + out global::AppStoreConnect.GameCenterActivityImage? value) { - value = GameCenterAppVersions; - return IsGameCenterAppVersions; + value = GameCenterActivityImages2; + return IsGameCenterActivityImages2; } /// /// /// - public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions() => GameCenterAppVersions is { } value + public global::AppStoreConnect.GameCenterActivityImage PickGameCenterActivityImages2() => GameCenterActivityImages2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityImages2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterActivityLocalization? GameCenterActivityLocalizations { get; init; } +#else + public global::AppStoreConnect.GameCenterActivityLocalization? GameCenterActivityLocalizations { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityLocalizations))] +#endif + public bool IsGameCenterActivityLocalizations => GameCenterActivityLocalizations != null; + + /// + /// + /// + public bool TryPickGameCenterActivityLocalizations( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivityLocalization? value) + { + value = GameCenterActivityLocalizations; + return IsGameCenterActivityLocalizations; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivityLocalization PickGameCenterActivityLocalizations() => GameCenterActivityLocalizations is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityLocalizations' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; init; } +#else + public global::AppStoreConnect.GameCenterActivityVersionRelease? GameCenterActivityVersionReleases { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterActivityVersionReleases))] +#endif + public bool IsGameCenterActivityVersionReleases => GameCenterActivityVersionReleases != null; + + /// + /// + /// + public bool TryPickGameCenterActivityVersionReleases( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.GameCenterActivityVersionRelease? value) + { + value = GameCenterActivityVersionReleases; + return IsGameCenterActivityVersionReleases; + } + + /// + /// + /// + public global::AppStoreConnect.GameCenterActivityVersionRelease PickGameCenterActivityVersionReleases() => GameCenterActivityVersionReleases is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterActivityVersionReleases' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator IncludedItem94(global::AppStoreConnect.GameCenterActivity value) => new IncludedItem94((global::AppStoreConnect.GameCenterActivity?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivity?(IncludedItem94 @this) => @this.GameCenterActivityImages1; + + /// + /// + /// + public IncludedItem94(global::AppStoreConnect.GameCenterActivity? value) + { + GameCenterActivityImages1 = value; + } + + /// + /// + /// + public static IncludedItem94 FromGameCenterActivityImages1(global::AppStoreConnect.GameCenterActivity? value) => new IncludedItem94(value); + + /// + /// + /// + public static implicit operator IncludedItem94(global::AppStoreConnect.GameCenterActivityImage value) => new IncludedItem94((global::AppStoreConnect.GameCenterActivityImage?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivityImage?(IncludedItem94 @this) => @this.GameCenterActivityImages2; + /// /// /// - public static implicit operator IncludedItem94(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem94((global::AppStoreConnect.AppStoreVersion?)value); + public IncludedItem94(global::AppStoreConnect.GameCenterActivityImage? value) + { + GameCenterActivityImages2 = value; + } /// /// /// - public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem94 @this) => @this.AppStoreVersions; + public static IncludedItem94 FromGameCenterActivityImages2(global::AppStoreConnect.GameCenterActivityImage? value) => new IncludedItem94(value); /// /// /// - public IncludedItem94(global::AppStoreConnect.AppStoreVersion? value) + public static implicit operator IncludedItem94(global::AppStoreConnect.GameCenterActivityLocalization value) => new IncludedItem94((global::AppStoreConnect.GameCenterActivityLocalization?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.GameCenterActivityLocalization?(IncludedItem94 @this) => @this.GameCenterActivityLocalizations; + + /// + /// + /// + public IncludedItem94(global::AppStoreConnect.GameCenterActivityLocalization? value) { - AppStoreVersions = value; + GameCenterActivityLocalizations = value; } /// /// /// - public static IncludedItem94 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem94(value); + public static IncludedItem94 FromGameCenterActivityLocalizations(global::AppStoreConnect.GameCenterActivityLocalization? value) => new IncludedItem94(value); /// /// /// - public static implicit operator IncludedItem94(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem94((global::AppStoreConnect.GameCenterAppVersion?)value); + public static implicit operator IncludedItem94(global::AppStoreConnect.GameCenterActivityVersionRelease value) => new IncludedItem94((global::AppStoreConnect.GameCenterActivityVersionRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem94 @this) => @this.GameCenterAppVersions; + public static implicit operator global::AppStoreConnect.GameCenterActivityVersionRelease?(IncludedItem94 @this) => @this.GameCenterActivityVersionReleases; /// /// /// - public IncludedItem94(global::AppStoreConnect.GameCenterAppVersion? value) + public IncludedItem94(global::AppStoreConnect.GameCenterActivityVersionRelease? value) { - GameCenterAppVersions = value; + GameCenterActivityVersionReleases = value; } /// /// /// - public static IncludedItem94 FromGameCenterAppVersions(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem94(value); + public static IncludedItem94 FromGameCenterActivityVersionReleases(global::AppStoreConnect.GameCenterActivityVersionRelease? value) => new IncludedItem94(value); /// /// /// public IncludedItem94( - global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.AppStoreVersion? appStoreVersions, - global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions + global::AppStoreConnect.GameCenterActivityVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterActivity? gameCenterActivityImages1, + global::AppStoreConnect.GameCenterActivityImage? gameCenterActivityImages2, + global::AppStoreConnect.GameCenterActivityLocalization? gameCenterActivityLocalizations, + global::AppStoreConnect.GameCenterActivityVersionRelease? gameCenterActivityVersionReleases ) { Type = type; - AppStoreVersions = appStoreVersions; - GameCenterAppVersions = gameCenterAppVersions; + GameCenterActivityImages1 = gameCenterActivityImages1; + GameCenterActivityImages2 = gameCenterActivityImages2; + GameCenterActivityLocalizations = gameCenterActivityLocalizations; + GameCenterActivityVersionReleases = gameCenterActivityVersionReleases; } /// /// /// public object? Object => - GameCenterAppVersions as object ?? - AppStoreVersions as object + GameCenterActivityVersionReleases as object ?? + GameCenterActivityLocalizations as object ?? + GameCenterActivityImages2 as object ?? + GameCenterActivityImages1 as object ; /// /// /// public override string? ToString() => - AppStoreVersions?.ToString() ?? - GameCenterAppVersions?.ToString() + GameCenterActivityImages1?.ToString() ?? + GameCenterActivityImages2?.ToString() ?? + GameCenterActivityLocalizations?.ToString() ?? + GameCenterActivityVersionReleases?.ToString() ; /// @@ -169,15 +297,17 @@ AppStoreVersions as object /// public bool Validate() { - return IsAppStoreVersions && !IsGameCenterAppVersions || !IsAppStoreVersions && IsGameCenterAppVersions; + return IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && IsGameCenterActivityLocalizations && !IsGameCenterActivityVersionReleases || !IsGameCenterActivityImages1 && !IsGameCenterActivityImages2 && !IsGameCenterActivityLocalizations && IsGameCenterActivityVersionReleases; } /// /// /// public TResult? Match( - global::System.Func? appStoreVersions = null, - global::System.Func? gameCenterAppVersions = null, + global::System.Func? gameCenterActivityImages1 = null, + global::System.Func? gameCenterActivityImages2 = null, + global::System.Func? gameCenterActivityLocalizations = null, + global::System.Func? gameCenterActivityVersionReleases = null, bool validate = true) { if (validate) @@ -185,13 +315,21 @@ public bool Validate() Validate(); } - if (AppStoreVersions is { } __value0 && appStoreVersions != null) + if (GameCenterActivityImages1 is { } __value0 && gameCenterActivityImages1 != null) + { + return gameCenterActivityImages1(__value0); + } + else if (GameCenterActivityImages2 is { } __value1 && gameCenterActivityImages2 != null) + { + return gameCenterActivityImages2(__value1); + } + else if (GameCenterActivityLocalizations is { } __value2 && gameCenterActivityLocalizations != null) { - return appStoreVersions(__value0); + return gameCenterActivityLocalizations(__value2); } - else if (GameCenterAppVersions is { } __value1 && gameCenterAppVersions != null) + else if (GameCenterActivityVersionReleases is { } __value3 && gameCenterActivityVersionReleases != null) { - return gameCenterAppVersions(__value1); + return gameCenterActivityVersionReleases(__value3); } return default(TResult); @@ -201,9 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? appStoreVersions = null, + global::System.Action? gameCenterActivityImages1 = null, + + global::System.Action? gameCenterActivityImages2 = null, - global::System.Action? gameCenterAppVersions = null, + global::System.Action? gameCenterActivityLocalizations = null, + + global::System.Action? gameCenterActivityVersionReleases = null, bool validate = true) { if (validate) @@ -211,13 +353,21 @@ public void Match( Validate(); } - if (AppStoreVersions is { } __value0) + if (GameCenterActivityImages1 is { } __value0) + { + gameCenterActivityImages1?.Invoke(__value0); + } + else if (GameCenterActivityImages2 is { } __value1) { - appStoreVersions?.Invoke(__value0); + gameCenterActivityImages2?.Invoke(__value1); } - else if (GameCenterAppVersions is { } __value1) + else if (GameCenterActivityLocalizations is { } __value2) { - gameCenterAppVersions?.Invoke(__value1); + gameCenterActivityLocalizations?.Invoke(__value2); + } + else if (GameCenterActivityVersionReleases is { } __value3) + { + gameCenterActivityVersionReleases?.Invoke(__value3); } } @@ -225,8 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? appStoreVersions = null, - global::System.Action? gameCenterAppVersions = null, + global::System.Action? gameCenterActivityImages1 = null, + global::System.Action? gameCenterActivityImages2 = null, + global::System.Action? gameCenterActivityLocalizations = null, + global::System.Action? gameCenterActivityVersionReleases = null, bool validate = true) { if (validate) @@ -234,13 +386,21 @@ public void Switch( Validate(); } - if (AppStoreVersions is { } __value0) + if (GameCenterActivityImages1 is { } __value0) + { + gameCenterActivityImages1?.Invoke(__value0); + } + else if (GameCenterActivityImages2 is { } __value1) + { + gameCenterActivityImages2?.Invoke(__value1); + } + else if (GameCenterActivityLocalizations is { } __value2) { - appStoreVersions?.Invoke(__value0); + gameCenterActivityLocalizations?.Invoke(__value2); } - else if (GameCenterAppVersions is { } __value1) + else if (GameCenterActivityVersionReleases is { } __value3) { - gameCenterAppVersions?.Invoke(__value1); + gameCenterActivityVersionReleases?.Invoke(__value3); } } @@ -251,10 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - AppStoreVersions, - typeof(global::AppStoreConnect.AppStoreVersion), - GameCenterAppVersions, - typeof(global::AppStoreConnect.GameCenterAppVersion), + GameCenterActivityImages1, + typeof(global::AppStoreConnect.GameCenterActivity), + GameCenterActivityImages2, + typeof(global::AppStoreConnect.GameCenterActivityImage), + GameCenterActivityLocalizations, + typeof(global::AppStoreConnect.GameCenterActivityLocalization), + GameCenterActivityVersionReleases, + typeof(global::AppStoreConnect.GameCenterActivityVersionRelease), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem94 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions, other.GameCenterAppVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages1, other.GameCenterActivityImages1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityImages2, other.GameCenterActivityImages2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityLocalizations, other.GameCenterActivityLocalizations) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterActivityVersionReleases, other.GameCenterActivityVersionReleases) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem95.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem95.g.cs index e4876c730..f269731d2 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem95.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem95.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeImage? GameCenterChallengeImages { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } #else - public global::AppStoreConnect.GameCenterChallengeImage? GameCenterChallengeImages { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] #endif - public bool IsGameCenterChallengeImages => GameCenterChallengeImages != null; + public bool IsAppStoreVersions => AppStoreVersions != null; /// /// /// - public bool TryPickGameCenterChallengeImages( + public bool TryPickAppStoreVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterChallengeImage? value) + out global::AppStoreConnect.AppStoreVersion? value) { - value = GameCenterChallengeImages; - return IsGameCenterChallengeImages; + value = AppStoreVersions; + return IsAppStoreVersions; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImage PickGameCenterChallengeImages() => GameCenterChallengeImages is { } value + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; init; } #else - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions))] #endif - public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; + public bool IsGameCenterAppVersions => GameCenterAppVersions != null; /// /// /// - public bool TryPickGameCenterChallengeVersions( + public bool TryPickGameCenterAppVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterChallengeVersion? value) + out global::AppStoreConnect.GameCenterAppVersion? value) { - value = GameCenterChallengeVersions; - return IsGameCenterChallengeVersions; + value = GameCenterAppVersions; + return IsGameCenterAppVersions; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value + public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions() => GameCenterAppVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem95(global::AppStoreConnect.GameCenterChallengeImage value) => new IncludedItem95((global::AppStoreConnect.GameCenterChallengeImage?)value); + public static implicit operator IncludedItem95(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem95((global::AppStoreConnect.AppStoreVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeImage?(IncludedItem95 @this) => @this.GameCenterChallengeImages; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem95 @this) => @this.AppStoreVersions; /// /// /// - public IncludedItem95(global::AppStoreConnect.GameCenterChallengeImage? value) + public IncludedItem95(global::AppStoreConnect.AppStoreVersion? value) { - GameCenterChallengeImages = value; + AppStoreVersions = value; } /// /// /// - public static IncludedItem95 FromGameCenterChallengeImages(global::AppStoreConnect.GameCenterChallengeImage? value) => new IncludedItem95(value); + public static IncludedItem95 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem95(value); /// /// /// - public static implicit operator IncludedItem95(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem95((global::AppStoreConnect.GameCenterChallengeVersion?)value); + public static implicit operator IncludedItem95(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem95((global::AppStoreConnect.GameCenterAppVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem95 @this) => @this.GameCenterChallengeVersions; + public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem95 @this) => @this.GameCenterAppVersions; /// /// /// - public IncludedItem95(global::AppStoreConnect.GameCenterChallengeVersion? value) + public IncludedItem95(global::AppStoreConnect.GameCenterAppVersion? value) { - GameCenterChallengeVersions = value; + GameCenterAppVersions = value; } /// /// /// - public static IncludedItem95 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem95(value); + public static IncludedItem95 FromGameCenterAppVersions(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem95(value); /// /// /// public IncludedItem95( - global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages, - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions + global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersion? appStoreVersions, + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions ) { Type = type; - GameCenterChallengeImages = gameCenterChallengeImages; - GameCenterChallengeVersions = gameCenterChallengeVersions; + AppStoreVersions = appStoreVersions; + GameCenterAppVersions = gameCenterAppVersions; } /// /// /// public object? Object => - GameCenterChallengeVersions as object ?? - GameCenterChallengeImages as object + GameCenterAppVersions as object ?? + AppStoreVersions as object ; /// /// /// public override string? ToString() => - GameCenterChallengeImages?.ToString() ?? - GameCenterChallengeVersions?.ToString() + AppStoreVersions?.ToString() ?? + GameCenterAppVersions?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterChallengeImages as object /// public bool Validate() { - return IsGameCenterChallengeImages && !IsGameCenterChallengeVersions || !IsGameCenterChallengeImages && IsGameCenterChallengeVersions; + return IsAppStoreVersions && !IsGameCenterAppVersions || !IsAppStoreVersions && IsGameCenterAppVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterChallengeImages = null, - global::System.Func? gameCenterChallengeVersions = null, + global::System.Func? appStoreVersions = null, + global::System.Func? gameCenterAppVersions = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterChallengeImages is { } __value0 && gameCenterChallengeImages != null) + if (AppStoreVersions is { } __value0 && appStoreVersions != null) { - return gameCenterChallengeImages(__value0); + return appStoreVersions(__value0); } - else if (GameCenterChallengeVersions is { } __value1 && gameCenterChallengeVersions != null) + else if (GameCenterAppVersions is { } __value1 && gameCenterAppVersions != null) { - return gameCenterChallengeVersions(__value1); + return gameCenterAppVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterChallengeImages = null, + global::System.Action? appStoreVersions = null, - global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? gameCenterAppVersions = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterChallengeImages is { } __value0) + if (AppStoreVersions is { } __value0) { - gameCenterChallengeImages?.Invoke(__value0); + appStoreVersions?.Invoke(__value0); } - else if (GameCenterChallengeVersions is { } __value1) + else if (GameCenterAppVersions is { } __value1) { - gameCenterChallengeVersions?.Invoke(__value1); + gameCenterAppVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterChallengeImages = null, - global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? appStoreVersions = null, + global::System.Action? gameCenterAppVersions = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterChallengeImages is { } __value0) + if (AppStoreVersions is { } __value0) { - gameCenterChallengeImages?.Invoke(__value0); + appStoreVersions?.Invoke(__value0); } - else if (GameCenterChallengeVersions is { } __value1) + else if (GameCenterAppVersions is { } __value1) { - gameCenterChallengeVersions?.Invoke(__value1); + gameCenterAppVersions?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterChallengeImages, - typeof(global::AppStoreConnect.GameCenterChallengeImage), - GameCenterChallengeVersions, - typeof(global::AppStoreConnect.GameCenterChallengeVersion), + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), + GameCenterAppVersions, + typeof(global::AppStoreConnect.GameCenterAppVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem95 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeImages, other.GameCenterChallengeImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions, other.GameCenterAppVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem96.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem96.g.cs index 2003b6e00..b69b89b57 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem96.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem96.g.cs @@ -12,156 +12,156 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeImage? GameCenterChallengeImages { get; init; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; init; } #else - public global::AppStoreConnect.GameCenterChallengeImage? GameCenterChallengeImages { get; } + public global::AppStoreConnect.AppStoreVersion? AppStoreVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeImages))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AppStoreVersions))] #endif - public bool IsGameCenterChallengeImages => GameCenterChallengeImages != null; + public bool IsAppStoreVersions => AppStoreVersions != null; /// /// /// - public bool TryPickGameCenterChallengeImages( + public bool TryPickAppStoreVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterChallengeImage? value) + out global::AppStoreConnect.AppStoreVersion? value) { - value = GameCenterChallengeImages; - return IsGameCenterChallengeImages; + value = AppStoreVersions; + return IsAppStoreVersions; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeImage PickGameCenterChallengeImages() => GameCenterChallengeImages is { } value + public global::AppStoreConnect.AppStoreVersion PickAppStoreVersions() => AppStoreVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeImages' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'AppStoreVersions' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; init; } #else - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } + public global::AppStoreConnect.GameCenterAppVersion? GameCenterAppVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterAppVersions))] #endif - public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; + public bool IsGameCenterAppVersions => GameCenterAppVersions != null; /// /// /// - public bool TryPickGameCenterChallengeVersions( + public bool TryPickGameCenterAppVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterChallengeVersion? value) + out global::AppStoreConnect.GameCenterAppVersion? value) { - value = GameCenterChallengeVersions; - return IsGameCenterChallengeVersions; + value = GameCenterAppVersions; + return IsGameCenterAppVersions; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value + public global::AppStoreConnect.GameCenterAppVersion PickGameCenterAppVersions() => GameCenterAppVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterAppVersions' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem96(global::AppStoreConnect.GameCenterChallengeImage value) => new IncludedItem96((global::AppStoreConnect.GameCenterChallengeImage?)value); + public static implicit operator IncludedItem96(global::AppStoreConnect.AppStoreVersion value) => new IncludedItem96((global::AppStoreConnect.AppStoreVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeImage?(IncludedItem96 @this) => @this.GameCenterChallengeImages; + public static implicit operator global::AppStoreConnect.AppStoreVersion?(IncludedItem96 @this) => @this.AppStoreVersions; /// /// /// - public IncludedItem96(global::AppStoreConnect.GameCenterChallengeImage? value) + public IncludedItem96(global::AppStoreConnect.AppStoreVersion? value) { - GameCenterChallengeImages = value; + AppStoreVersions = value; } /// /// /// - public static IncludedItem96 FromGameCenterChallengeImages(global::AppStoreConnect.GameCenterChallengeImage? value) => new IncludedItem96(value); + public static IncludedItem96 FromAppStoreVersions(global::AppStoreConnect.AppStoreVersion? value) => new IncludedItem96(value); /// /// /// - public static implicit operator IncludedItem96(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem96((global::AppStoreConnect.GameCenterChallengeVersion?)value); + public static implicit operator IncludedItem96(global::AppStoreConnect.GameCenterAppVersion value) => new IncludedItem96((global::AppStoreConnect.GameCenterAppVersion?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem96 @this) => @this.GameCenterChallengeVersions; + public static implicit operator global::AppStoreConnect.GameCenterAppVersion?(IncludedItem96 @this) => @this.GameCenterAppVersions; /// /// /// - public IncludedItem96(global::AppStoreConnect.GameCenterChallengeVersion? value) + public IncludedItem96(global::AppStoreConnect.GameCenterAppVersion? value) { - GameCenterChallengeVersions = value; + GameCenterAppVersions = value; } /// /// /// - public static IncludedItem96 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem96(value); + public static IncludedItem96 FromGameCenterAppVersions(global::AppStoreConnect.GameCenterAppVersion? value) => new IncludedItem96(value); /// /// /// public IncludedItem96( - global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages, - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions + global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.AppStoreVersion? appStoreVersions, + global::AppStoreConnect.GameCenterAppVersion? gameCenterAppVersions ) { Type = type; - GameCenterChallengeImages = gameCenterChallengeImages; - GameCenterChallengeVersions = gameCenterChallengeVersions; + AppStoreVersions = appStoreVersions; + GameCenterAppVersions = gameCenterAppVersions; } /// /// /// public object? Object => - GameCenterChallengeVersions as object ?? - GameCenterChallengeImages as object + GameCenterAppVersions as object ?? + AppStoreVersions as object ; /// /// /// public override string? ToString() => - GameCenterChallengeImages?.ToString() ?? - GameCenterChallengeVersions?.ToString() + AppStoreVersions?.ToString() ?? + GameCenterAppVersions?.ToString() ; /// @@ -169,15 +169,15 @@ GameCenterChallengeImages as object /// public bool Validate() { - return IsGameCenterChallengeImages && !IsGameCenterChallengeVersions || !IsGameCenterChallengeImages && IsGameCenterChallengeVersions; + return IsAppStoreVersions && !IsGameCenterAppVersions || !IsAppStoreVersions && IsGameCenterAppVersions; } /// /// /// public TResult? Match( - global::System.Func? gameCenterChallengeImages = null, - global::System.Func? gameCenterChallengeVersions = null, + global::System.Func? appStoreVersions = null, + global::System.Func? gameCenterAppVersions = null, bool validate = true) { if (validate) @@ -185,13 +185,13 @@ public bool Validate() Validate(); } - if (GameCenterChallengeImages is { } __value0 && gameCenterChallengeImages != null) + if (AppStoreVersions is { } __value0 && appStoreVersions != null) { - return gameCenterChallengeImages(__value0); + return appStoreVersions(__value0); } - else if (GameCenterChallengeVersions is { } __value1 && gameCenterChallengeVersions != null) + else if (GameCenterAppVersions is { } __value1 && gameCenterAppVersions != null) { - return gameCenterChallengeVersions(__value1); + return gameCenterAppVersions(__value1); } return default(TResult); @@ -201,9 +201,9 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterChallengeImages = null, + global::System.Action? appStoreVersions = null, - global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? gameCenterAppVersions = null, bool validate = true) { if (validate) @@ -211,13 +211,13 @@ public void Match( Validate(); } - if (GameCenterChallengeImages is { } __value0) + if (AppStoreVersions is { } __value0) { - gameCenterChallengeImages?.Invoke(__value0); + appStoreVersions?.Invoke(__value0); } - else if (GameCenterChallengeVersions is { } __value1) + else if (GameCenterAppVersions is { } __value1) { - gameCenterChallengeVersions?.Invoke(__value1); + gameCenterAppVersions?.Invoke(__value1); } } @@ -225,8 +225,8 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterChallengeImages = null, - global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? appStoreVersions = null, + global::System.Action? gameCenterAppVersions = null, bool validate = true) { if (validate) @@ -234,13 +234,13 @@ public void Switch( Validate(); } - if (GameCenterChallengeImages is { } __value0) + if (AppStoreVersions is { } __value0) { - gameCenterChallengeImages?.Invoke(__value0); + appStoreVersions?.Invoke(__value0); } - else if (GameCenterChallengeVersions is { } __value1) + else if (GameCenterAppVersions is { } __value1) { - gameCenterChallengeVersions?.Invoke(__value1); + gameCenterAppVersions?.Invoke(__value1); } } @@ -251,10 +251,10 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterChallengeImages, - typeof(global::AppStoreConnect.GameCenterChallengeImage), - GameCenterChallengeVersions, - typeof(global::AppStoreConnect.GameCenterChallengeVersion), + AppStoreVersions, + typeof(global::AppStoreConnect.AppStoreVersion), + GameCenterAppVersions, + typeof(global::AppStoreConnect.GameCenterAppVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -271,8 +271,8 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem96 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeImages, other.GameCenterChallengeImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) + global::System.Collections.Generic.EqualityComparer.Default.Equals(AppStoreVersions, other.AppStoreVersions) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterAppVersions, other.GameCenterAppVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem97.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem97.g.cs index 2594f1975..cc0b4f9ed 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem97.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem97.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -55,112 +55,38 @@ public bool TryPickGameCenterChallengeImages( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeLocalization? GameCenterChallengeLocalizations1 { get; init; } + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } #else - public global::AppStoreConnect.GameCenterChallengeLocalization? GameCenterChallengeLocalizations1 { get; } + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] #endif - public bool IsGameCenterChallengeLocalizations1 => GameCenterChallengeLocalizations1 != null; + public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; /// /// /// - public bool TryPickGameCenterChallengeLocalizations1( + public bool TryPickGameCenterChallengeVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterChallengeLocalization? value) + out global::AppStoreConnect.GameCenterChallengeVersion? value) { - value = GameCenterChallengeLocalizations1; - return IsGameCenterChallengeLocalizations1; + value = GameCenterChallengeVersions; + return IsGameCenterChallengeVersions; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalization PickGameCenterChallengeLocalizations1() => GameCenterChallengeLocalizations1 is { } value + public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeLocalizations1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases { get; init; } -#else - public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases))] -#endif - public bool IsGameCenterChallengeVersionReleases => GameCenterChallengeVersionReleases != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeVersionReleases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallengeVersionRelease? value) - { - value = GameCenterChallengeVersionReleases; - return IsGameCenterChallengeVersionReleases; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallengeVersionRelease PickGameCenterChallengeVersionReleases() => GameCenterChallengeVersionReleases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeLocalizations2 { get; init; } -#else - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeLocalizations2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeLocalizations2))] -#endif - public bool IsGameCenterChallengeLocalizations2 => GameCenterChallengeLocalizations2 != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeLocalizations2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallenge? value) - { - value = GameCenterChallengeLocalizations2; - return IsGameCenterChallengeLocalizations2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallengeLocalizations2() => GameCenterChallengeLocalizations2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); /// /// /// @@ -187,98 +113,46 @@ public IncludedItem97(global::AppStoreConnect.GameCenterChallengeImage? value) /// /// /// - public static implicit operator IncludedItem97(global::AppStoreConnect.GameCenterChallengeLocalization value) => new IncludedItem97((global::AppStoreConnect.GameCenterChallengeLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeLocalization?(IncludedItem97 @this) => @this.GameCenterChallengeLocalizations1; - - /// - /// - /// - public IncludedItem97(global::AppStoreConnect.GameCenterChallengeLocalization? value) - { - GameCenterChallengeLocalizations1 = value; - } - - /// - /// - /// - public static IncludedItem97 FromGameCenterChallengeLocalizations1(global::AppStoreConnect.GameCenterChallengeLocalization? value) => new IncludedItem97(value); - - /// - /// - /// - public static implicit operator IncludedItem97(global::AppStoreConnect.GameCenterChallengeVersionRelease value) => new IncludedItem97((global::AppStoreConnect.GameCenterChallengeVersionRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersionRelease?(IncludedItem97 @this) => @this.GameCenterChallengeVersionReleases; - - /// - /// - /// - public IncludedItem97(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) - { - GameCenterChallengeVersionReleases = value; - } + public static implicit operator IncludedItem97(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem97((global::AppStoreConnect.GameCenterChallengeVersion?)value); /// /// /// - public static IncludedItem97 FromGameCenterChallengeVersionReleases(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) => new IncludedItem97(value); + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem97 @this) => @this.GameCenterChallengeVersions; /// /// /// - public static implicit operator IncludedItem97(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem97((global::AppStoreConnect.GameCenterChallenge?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem97 @this) => @this.GameCenterChallengeLocalizations2; - - /// - /// - /// - public IncludedItem97(global::AppStoreConnect.GameCenterChallenge? value) + public IncludedItem97(global::AppStoreConnect.GameCenterChallengeVersion? value) { - GameCenterChallengeLocalizations2 = value; + GameCenterChallengeVersions = value; } /// /// /// - public static IncludedItem97 FromGameCenterChallengeLocalizations2(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem97(value); + public static IncludedItem97 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem97(value); /// /// /// public IncludedItem97( - global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterChallengeLocalizationsResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages, - global::AppStoreConnect.GameCenterChallengeLocalization? gameCenterChallengeLocalizations1, - global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases, - global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeLocalizations2 + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions ) { Type = type; GameCenterChallengeImages = gameCenterChallengeImages; - GameCenterChallengeLocalizations1 = gameCenterChallengeLocalizations1; - GameCenterChallengeVersionReleases = gameCenterChallengeVersionReleases; - GameCenterChallengeLocalizations2 = gameCenterChallengeLocalizations2; + GameCenterChallengeVersions = gameCenterChallengeVersions; } /// /// /// public object? Object => - GameCenterChallengeLocalizations2 as object ?? - GameCenterChallengeVersionReleases as object ?? - GameCenterChallengeLocalizations1 as object ?? + GameCenterChallengeVersions as object ?? GameCenterChallengeImages as object ; @@ -287,9 +161,7 @@ GameCenterChallengeImages as object /// public override string? ToString() => GameCenterChallengeImages?.ToString() ?? - GameCenterChallengeLocalizations1?.ToString() ?? - GameCenterChallengeVersionReleases?.ToString() ?? - GameCenterChallengeLocalizations2?.ToString() + GameCenterChallengeVersions?.ToString() ; /// @@ -297,7 +169,7 @@ GameCenterChallengeImages as object /// public bool Validate() { - return IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && IsGameCenterChallengeLocalizations2; + return IsGameCenterChallengeImages && !IsGameCenterChallengeVersions || !IsGameCenterChallengeImages && IsGameCenterChallengeVersions; } /// @@ -305,9 +177,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? gameCenterChallengeImages = null, - global::System.Func? gameCenterChallengeLocalizations1 = null, - global::System.Func? gameCenterChallengeVersionReleases = null, - global::System.Func? gameCenterChallengeLocalizations2 = null, + global::System.Func? gameCenterChallengeVersions = null, bool validate = true) { if (validate) @@ -319,17 +189,9 @@ public bool Validate() { return gameCenterChallengeImages(__value0); } - else if (GameCenterChallengeLocalizations1 is { } __value1 && gameCenterChallengeLocalizations1 != null) - { - return gameCenterChallengeLocalizations1(__value1); - } - else if (GameCenterChallengeVersionReleases is { } __value2 && gameCenterChallengeVersionReleases != null) - { - return gameCenterChallengeVersionReleases(__value2); - } - else if (GameCenterChallengeLocalizations2 is { } __value3 && gameCenterChallengeLocalizations2 != null) + else if (GameCenterChallengeVersions is { } __value1 && gameCenterChallengeVersions != null) { - return gameCenterChallengeLocalizations2(__value3); + return gameCenterChallengeVersions(__value1); } return default(TResult); @@ -341,11 +203,7 @@ public bool Validate() public void Match( global::System.Action? gameCenterChallengeImages = null, - global::System.Action? gameCenterChallengeLocalizations1 = null, - - global::System.Action? gameCenterChallengeVersionReleases = null, - - global::System.Action? gameCenterChallengeLocalizations2 = null, + global::System.Action? gameCenterChallengeVersions = null, bool validate = true) { if (validate) @@ -357,17 +215,9 @@ public void Match( { gameCenterChallengeImages?.Invoke(__value0); } - else if (GameCenterChallengeLocalizations1 is { } __value1) - { - gameCenterChallengeLocalizations1?.Invoke(__value1); - } - else if (GameCenterChallengeVersionReleases is { } __value2) + else if (GameCenterChallengeVersions is { } __value1) { - gameCenterChallengeVersionReleases?.Invoke(__value2); - } - else if (GameCenterChallengeLocalizations2 is { } __value3) - { - gameCenterChallengeLocalizations2?.Invoke(__value3); + gameCenterChallengeVersions?.Invoke(__value1); } } @@ -376,9 +226,7 @@ public void Match( /// public void Switch( global::System.Action? gameCenterChallengeImages = null, - global::System.Action? gameCenterChallengeLocalizations1 = null, - global::System.Action? gameCenterChallengeVersionReleases = null, - global::System.Action? gameCenterChallengeLocalizations2 = null, + global::System.Action? gameCenterChallengeVersions = null, bool validate = true) { if (validate) @@ -390,17 +238,9 @@ public void Switch( { gameCenterChallengeImages?.Invoke(__value0); } - else if (GameCenterChallengeLocalizations1 is { } __value1) - { - gameCenterChallengeLocalizations1?.Invoke(__value1); - } - else if (GameCenterChallengeVersionReleases is { } __value2) - { - gameCenterChallengeVersionReleases?.Invoke(__value2); - } - else if (GameCenterChallengeLocalizations2 is { } __value3) + else if (GameCenterChallengeVersions is { } __value1) { - gameCenterChallengeLocalizations2?.Invoke(__value3); + gameCenterChallengeVersions?.Invoke(__value1); } } @@ -413,12 +253,8 @@ public override int GetHashCode() { GameCenterChallengeImages, typeof(global::AppStoreConnect.GameCenterChallengeImage), - GameCenterChallengeLocalizations1, - typeof(global::AppStoreConnect.GameCenterChallengeLocalization), - GameCenterChallengeVersionReleases, - typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), - GameCenterChallengeLocalizations2, - typeof(global::AppStoreConnect.GameCenterChallenge), + GameCenterChallengeVersions, + typeof(global::AppStoreConnect.GameCenterChallengeVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -436,9 +272,7 @@ public bool Equals(IncludedItem97 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeImages, other.GameCenterChallengeImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeLocalizations1, other.GameCenterChallengeLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases, other.GameCenterChallengeVersionReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeLocalizations2, other.GameCenterChallengeLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem98.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem98.g.cs index f8c709c9e..40d88697d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem98.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem98.g.cs @@ -12,7 +12,7 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType? Type { get; } /// /// @@ -55,112 +55,38 @@ public bool TryPickGameCenterChallengeImages( /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeLocalization? GameCenterChallengeLocalizations1 { get; init; } + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } #else - public global::AppStoreConnect.GameCenterChallengeLocalization? GameCenterChallengeLocalizations1 { get; } + public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeLocalizations1))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] #endif - public bool IsGameCenterChallengeLocalizations1 => GameCenterChallengeLocalizations1 != null; + public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; /// /// /// - public bool TryPickGameCenterChallengeLocalizations1( + public bool TryPickGameCenterChallengeVersions( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterChallengeLocalization? value) + out global::AppStoreConnect.GameCenterChallengeVersion? value) { - value = GameCenterChallengeLocalizations1; - return IsGameCenterChallengeLocalizations1; + value = GameCenterChallengeVersions; + return IsGameCenterChallengeVersions; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeLocalization PickGameCenterChallengeLocalizations1() => GameCenterChallengeLocalizations1 is { } value + public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeLocalizations1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases { get; init; } -#else - public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases))] -#endif - public bool IsGameCenterChallengeVersionReleases => GameCenterChallengeVersionReleases != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeVersionReleases( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallengeVersionRelease? value) - { - value = GameCenterChallengeVersionReleases; - return IsGameCenterChallengeVersionReleases; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallengeVersionRelease PickGameCenterChallengeVersionReleases() => GameCenterChallengeVersionReleases is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeLocalizations2 { get; init; } -#else - public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeLocalizations2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeLocalizations2))] -#endif - public bool IsGameCenterChallengeLocalizations2 => GameCenterChallengeLocalizations2 != null; - - /// - /// - /// - public bool TryPickGameCenterChallengeLocalizations2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::AppStoreConnect.GameCenterChallenge? value) - { - value = GameCenterChallengeLocalizations2; - return IsGameCenterChallengeLocalizations2; - } - - /// - /// - /// - public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallengeLocalizations2() => GameCenterChallengeLocalizations2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeLocalizations2' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); /// /// /// @@ -187,98 +113,46 @@ public IncludedItem98(global::AppStoreConnect.GameCenterChallengeImage? value) /// /// /// - public static implicit operator IncludedItem98(global::AppStoreConnect.GameCenterChallengeLocalization value) => new IncludedItem98((global::AppStoreConnect.GameCenterChallengeLocalization?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeLocalization?(IncludedItem98 @this) => @this.GameCenterChallengeLocalizations1; - - /// - /// - /// - public IncludedItem98(global::AppStoreConnect.GameCenterChallengeLocalization? value) - { - GameCenterChallengeLocalizations1 = value; - } - - /// - /// - /// - public static IncludedItem98 FromGameCenterChallengeLocalizations1(global::AppStoreConnect.GameCenterChallengeLocalization? value) => new IncludedItem98(value); - - /// - /// - /// - public static implicit operator IncludedItem98(global::AppStoreConnect.GameCenterChallengeVersionRelease value) => new IncludedItem98((global::AppStoreConnect.GameCenterChallengeVersionRelease?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersionRelease?(IncludedItem98 @this) => @this.GameCenterChallengeVersionReleases; - - /// - /// - /// - public IncludedItem98(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) - { - GameCenterChallengeVersionReleases = value; - } + public static implicit operator IncludedItem98(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem98((global::AppStoreConnect.GameCenterChallengeVersion?)value); /// /// /// - public static IncludedItem98 FromGameCenterChallengeVersionReleases(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) => new IncludedItem98(value); + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem98 @this) => @this.GameCenterChallengeVersions; /// /// /// - public static implicit operator IncludedItem98(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem98((global::AppStoreConnect.GameCenterChallenge?)value); - - /// - /// - /// - public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem98 @this) => @this.GameCenterChallengeLocalizations2; - - /// - /// - /// - public IncludedItem98(global::AppStoreConnect.GameCenterChallenge? value) + public IncludedItem98(global::AppStoreConnect.GameCenterChallengeVersion? value) { - GameCenterChallengeLocalizations2 = value; + GameCenterChallengeVersions = value; } /// /// /// - public static IncludedItem98 FromGameCenterChallengeLocalizations2(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem98(value); + public static IncludedItem98 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem98(value); /// /// /// public IncludedItem98( - global::AppStoreConnect.GameCenterChallengeVersionResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterChallengeLocalizationResponseIncludedItemDiscriminatorType? type, global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages, - global::AppStoreConnect.GameCenterChallengeLocalization? gameCenterChallengeLocalizations1, - global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases, - global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeLocalizations2 + global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions ) { Type = type; GameCenterChallengeImages = gameCenterChallengeImages; - GameCenterChallengeLocalizations1 = gameCenterChallengeLocalizations1; - GameCenterChallengeVersionReleases = gameCenterChallengeVersionReleases; - GameCenterChallengeLocalizations2 = gameCenterChallengeLocalizations2; + GameCenterChallengeVersions = gameCenterChallengeVersions; } /// /// /// public object? Object => - GameCenterChallengeLocalizations2 as object ?? - GameCenterChallengeVersionReleases as object ?? - GameCenterChallengeLocalizations1 as object ?? + GameCenterChallengeVersions as object ?? GameCenterChallengeImages as object ; @@ -287,9 +161,7 @@ GameCenterChallengeImages as object /// public override string? ToString() => GameCenterChallengeImages?.ToString() ?? - GameCenterChallengeLocalizations1?.ToString() ?? - GameCenterChallengeVersionReleases?.ToString() ?? - GameCenterChallengeLocalizations2?.ToString() + GameCenterChallengeVersions?.ToString() ; /// @@ -297,7 +169,7 @@ GameCenterChallengeImages as object /// public bool Validate() { - return IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && IsGameCenterChallengeLocalizations2; + return IsGameCenterChallengeImages && !IsGameCenterChallengeVersions || !IsGameCenterChallengeImages && IsGameCenterChallengeVersions; } /// @@ -305,9 +177,7 @@ public bool Validate() /// public TResult? Match( global::System.Func? gameCenterChallengeImages = null, - global::System.Func? gameCenterChallengeLocalizations1 = null, - global::System.Func? gameCenterChallengeVersionReleases = null, - global::System.Func? gameCenterChallengeLocalizations2 = null, + global::System.Func? gameCenterChallengeVersions = null, bool validate = true) { if (validate) @@ -319,17 +189,9 @@ public bool Validate() { return gameCenterChallengeImages(__value0); } - else if (GameCenterChallengeLocalizations1 is { } __value1 && gameCenterChallengeLocalizations1 != null) - { - return gameCenterChallengeLocalizations1(__value1); - } - else if (GameCenterChallengeVersionReleases is { } __value2 && gameCenterChallengeVersionReleases != null) - { - return gameCenterChallengeVersionReleases(__value2); - } - else if (GameCenterChallengeLocalizations2 is { } __value3 && gameCenterChallengeLocalizations2 != null) + else if (GameCenterChallengeVersions is { } __value1 && gameCenterChallengeVersions != null) { - return gameCenterChallengeLocalizations2(__value3); + return gameCenterChallengeVersions(__value1); } return default(TResult); @@ -341,11 +203,7 @@ public bool Validate() public void Match( global::System.Action? gameCenterChallengeImages = null, - global::System.Action? gameCenterChallengeLocalizations1 = null, - - global::System.Action? gameCenterChallengeVersionReleases = null, - - global::System.Action? gameCenterChallengeLocalizations2 = null, + global::System.Action? gameCenterChallengeVersions = null, bool validate = true) { if (validate) @@ -357,17 +215,9 @@ public void Match( { gameCenterChallengeImages?.Invoke(__value0); } - else if (GameCenterChallengeLocalizations1 is { } __value1) - { - gameCenterChallengeLocalizations1?.Invoke(__value1); - } - else if (GameCenterChallengeVersionReleases is { } __value2) + else if (GameCenterChallengeVersions is { } __value1) { - gameCenterChallengeVersionReleases?.Invoke(__value2); - } - else if (GameCenterChallengeLocalizations2 is { } __value3) - { - gameCenterChallengeLocalizations2?.Invoke(__value3); + gameCenterChallengeVersions?.Invoke(__value1); } } @@ -376,9 +226,7 @@ public void Match( /// public void Switch( global::System.Action? gameCenterChallengeImages = null, - global::System.Action? gameCenterChallengeLocalizations1 = null, - global::System.Action? gameCenterChallengeVersionReleases = null, - global::System.Action? gameCenterChallengeLocalizations2 = null, + global::System.Action? gameCenterChallengeVersions = null, bool validate = true) { if (validate) @@ -390,17 +238,9 @@ public void Switch( { gameCenterChallengeImages?.Invoke(__value0); } - else if (GameCenterChallengeLocalizations1 is { } __value1) - { - gameCenterChallengeLocalizations1?.Invoke(__value1); - } - else if (GameCenterChallengeVersionReleases is { } __value2) - { - gameCenterChallengeVersionReleases?.Invoke(__value2); - } - else if (GameCenterChallengeLocalizations2 is { } __value3) + else if (GameCenterChallengeVersions is { } __value1) { - gameCenterChallengeLocalizations2?.Invoke(__value3); + gameCenterChallengeVersions?.Invoke(__value1); } } @@ -413,12 +253,8 @@ public override int GetHashCode() { GameCenterChallengeImages, typeof(global::AppStoreConnect.GameCenterChallengeImage), - GameCenterChallengeLocalizations1, - typeof(global::AppStoreConnect.GameCenterChallengeLocalization), - GameCenterChallengeVersionReleases, - typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), - GameCenterChallengeLocalizations2, - typeof(global::AppStoreConnect.GameCenterChallenge), + GameCenterChallengeVersions, + typeof(global::AppStoreConnect.GameCenterChallengeVersion), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -436,9 +272,7 @@ public bool Equals(IncludedItem98 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeImages, other.GameCenterChallengeImages) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeLocalizations1, other.GameCenterChallengeLocalizations1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases, other.GameCenterChallengeVersionReleases) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeLocalizations2, other.GameCenterChallengeLocalizations2) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem99.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem99.g.cs index c180904ce..4d1229f7e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem99.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.IncludedItem99.g.cs @@ -12,284 +12,284 @@ namespace AppStoreConnect /// /// /// - public global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType? Type { get; } + public global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType? Type { get; } /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; init; } + public global::AppStoreConnect.GameCenterChallengeImage? GameCenterChallengeImages { get; init; } #else - public global::AppStoreConnect.GameCenterChallengeVersion? GameCenterChallengeVersions { get; } + public global::AppStoreConnect.GameCenterChallengeImage? GameCenterChallengeImages { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersions))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeImages))] #endif - public bool IsGameCenterChallengeVersions => GameCenterChallengeVersions != null; + public bool IsGameCenterChallengeImages => GameCenterChallengeImages != null; /// /// /// - public bool TryPickGameCenterChallengeVersions( + public bool TryPickGameCenterChallengeImages( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterChallengeVersion? value) + out global::AppStoreConnect.GameCenterChallengeImage? value) { - value = GameCenterChallengeVersions; - return IsGameCenterChallengeVersions; + value = GameCenterChallengeImages; + return IsGameCenterChallengeImages; } /// /// /// - public global::AppStoreConnect.GameCenterChallengeVersion PickGameCenterChallengeVersions() => GameCenterChallengeVersions is { } value + public global::AppStoreConnect.GameCenterChallengeImage PickGameCenterChallengeImages() => GameCenterChallengeImages is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersions' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeImages' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; init; } + public global::AppStoreConnect.GameCenterChallengeLocalization? GameCenterChallengeLocalizations1 { get; init; } #else - public global::AppStoreConnect.GameCenterDetail? GameCenterDetails { get; } + public global::AppStoreConnect.GameCenterChallengeLocalization? GameCenterChallengeLocalizations1 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterDetails))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeLocalizations1))] #endif - public bool IsGameCenterDetails => GameCenterDetails != null; + public bool IsGameCenterChallengeLocalizations1 => GameCenterChallengeLocalizations1 != null; /// /// /// - public bool TryPickGameCenterDetails( + public bool TryPickGameCenterChallengeLocalizations1( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterDetail? value) + out global::AppStoreConnect.GameCenterChallengeLocalization? value) { - value = GameCenterDetails; - return IsGameCenterDetails; + value = GameCenterChallengeLocalizations1; + return IsGameCenterChallengeLocalizations1; } /// /// /// - public global::AppStoreConnect.GameCenterDetail PickGameCenterDetails() => GameCenterDetails is { } value + public global::AppStoreConnect.GameCenterChallengeLocalization PickGameCenterChallengeLocalizations1() => GameCenterChallengeLocalizations1 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterDetails' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeLocalizations1' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; init; } + public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases { get; init; } #else - public global::AppStoreConnect.GameCenterGroup? GameCenterGroups { get; } + public global::AppStoreConnect.GameCenterChallengeVersionRelease? GameCenterChallengeVersionReleases { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterGroups))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeVersionReleases))] #endif - public bool IsGameCenterGroups => GameCenterGroups != null; + public bool IsGameCenterChallengeVersionReleases => GameCenterChallengeVersionReleases != null; /// /// /// - public bool TryPickGameCenterGroups( + public bool TryPickGameCenterChallengeVersionReleases( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterGroup? value) + out global::AppStoreConnect.GameCenterChallengeVersionRelease? value) { - value = GameCenterGroups; - return IsGameCenterGroups; + value = GameCenterChallengeVersionReleases; + return IsGameCenterChallengeVersionReleases; } /// /// /// - public global::AppStoreConnect.GameCenterGroup PickGameCenterGroups() => GameCenterGroups is { } value + public global::AppStoreConnect.GameCenterChallengeVersionRelease PickGameCenterChallengeVersionReleases() => GameCenterChallengeVersionReleases is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterGroups' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeVersionReleases' but the value was {ToString()}."); /// /// /// #if NET6_0_OR_GREATER - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; init; } + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeLocalizations2 { get; init; } #else - public global::AppStoreConnect.GameCenterLeaderboard? GameCenterLeaderboards { get; } + public global::AppStoreConnect.GameCenterChallenge? GameCenterChallengeLocalizations2 { get; } #endif /// /// /// #if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterLeaderboards))] + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(GameCenterChallengeLocalizations2))] #endif - public bool IsGameCenterLeaderboards => GameCenterLeaderboards != null; + public bool IsGameCenterChallengeLocalizations2 => GameCenterChallengeLocalizations2 != null; /// /// /// - public bool TryPickGameCenterLeaderboards( + public bool TryPickGameCenterChallengeLocalizations2( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::AppStoreConnect.GameCenterLeaderboard? value) + out global::AppStoreConnect.GameCenterChallenge? value) { - value = GameCenterLeaderboards; - return IsGameCenterLeaderboards; + value = GameCenterChallengeLocalizations2; + return IsGameCenterChallengeLocalizations2; } /// /// /// - public global::AppStoreConnect.GameCenterLeaderboard PickGameCenterLeaderboards() => GameCenterLeaderboards is { } value + public global::AppStoreConnect.GameCenterChallenge PickGameCenterChallengeLocalizations2() => GameCenterChallengeLocalizations2 is { } value ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterLeaderboards' but the value was {ToString()}."); + : throw new global::System.InvalidOperationException($"Expected union variant 'GameCenterChallengeLocalizations2' but the value was {ToString()}."); /// /// /// - public static implicit operator IncludedItem99(global::AppStoreConnect.GameCenterChallengeVersion value) => new IncludedItem99((global::AppStoreConnect.GameCenterChallengeVersion?)value); + public static implicit operator IncludedItem99(global::AppStoreConnect.GameCenterChallengeImage value) => new IncludedItem99((global::AppStoreConnect.GameCenterChallengeImage?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterChallengeVersion?(IncludedItem99 @this) => @this.GameCenterChallengeVersions; + public static implicit operator global::AppStoreConnect.GameCenterChallengeImage?(IncludedItem99 @this) => @this.GameCenterChallengeImages; /// /// /// - public IncludedItem99(global::AppStoreConnect.GameCenterChallengeVersion? value) + public IncludedItem99(global::AppStoreConnect.GameCenterChallengeImage? value) { - GameCenterChallengeVersions = value; + GameCenterChallengeImages = value; } /// /// /// - public static IncludedItem99 FromGameCenterChallengeVersions(global::AppStoreConnect.GameCenterChallengeVersion? value) => new IncludedItem99(value); + public static IncludedItem99 FromGameCenterChallengeImages(global::AppStoreConnect.GameCenterChallengeImage? value) => new IncludedItem99(value); /// /// /// - public static implicit operator IncludedItem99(global::AppStoreConnect.GameCenterDetail value) => new IncludedItem99((global::AppStoreConnect.GameCenterDetail?)value); + public static implicit operator IncludedItem99(global::AppStoreConnect.GameCenterChallengeLocalization value) => new IncludedItem99((global::AppStoreConnect.GameCenterChallengeLocalization?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterDetail?(IncludedItem99 @this) => @this.GameCenterDetails; + public static implicit operator global::AppStoreConnect.GameCenterChallengeLocalization?(IncludedItem99 @this) => @this.GameCenterChallengeLocalizations1; /// /// /// - public IncludedItem99(global::AppStoreConnect.GameCenterDetail? value) + public IncludedItem99(global::AppStoreConnect.GameCenterChallengeLocalization? value) { - GameCenterDetails = value; + GameCenterChallengeLocalizations1 = value; } /// /// /// - public static IncludedItem99 FromGameCenterDetails(global::AppStoreConnect.GameCenterDetail? value) => new IncludedItem99(value); + public static IncludedItem99 FromGameCenterChallengeLocalizations1(global::AppStoreConnect.GameCenterChallengeLocalization? value) => new IncludedItem99(value); /// /// /// - public static implicit operator IncludedItem99(global::AppStoreConnect.GameCenterGroup value) => new IncludedItem99((global::AppStoreConnect.GameCenterGroup?)value); + public static implicit operator IncludedItem99(global::AppStoreConnect.GameCenterChallengeVersionRelease value) => new IncludedItem99((global::AppStoreConnect.GameCenterChallengeVersionRelease?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterGroup?(IncludedItem99 @this) => @this.GameCenterGroups; + public static implicit operator global::AppStoreConnect.GameCenterChallengeVersionRelease?(IncludedItem99 @this) => @this.GameCenterChallengeVersionReleases; /// /// /// - public IncludedItem99(global::AppStoreConnect.GameCenterGroup? value) + public IncludedItem99(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) { - GameCenterGroups = value; + GameCenterChallengeVersionReleases = value; } /// /// /// - public static IncludedItem99 FromGameCenterGroups(global::AppStoreConnect.GameCenterGroup? value) => new IncludedItem99(value); + public static IncludedItem99 FromGameCenterChallengeVersionReleases(global::AppStoreConnect.GameCenterChallengeVersionRelease? value) => new IncludedItem99(value); /// /// /// - public static implicit operator IncludedItem99(global::AppStoreConnect.GameCenterLeaderboard value) => new IncludedItem99((global::AppStoreConnect.GameCenterLeaderboard?)value); + public static implicit operator IncludedItem99(global::AppStoreConnect.GameCenterChallenge value) => new IncludedItem99((global::AppStoreConnect.GameCenterChallenge?)value); /// /// /// - public static implicit operator global::AppStoreConnect.GameCenterLeaderboard?(IncludedItem99 @this) => @this.GameCenterLeaderboards; + public static implicit operator global::AppStoreConnect.GameCenterChallenge?(IncludedItem99 @this) => @this.GameCenterChallengeLocalizations2; /// /// /// - public IncludedItem99(global::AppStoreConnect.GameCenterLeaderboard? value) + public IncludedItem99(global::AppStoreConnect.GameCenterChallenge? value) { - GameCenterLeaderboards = value; + GameCenterChallengeLocalizations2 = value; } /// /// /// - public static IncludedItem99 FromGameCenterLeaderboards(global::AppStoreConnect.GameCenterLeaderboard? value) => new IncludedItem99(value); + public static IncludedItem99 FromGameCenterChallengeLocalizations2(global::AppStoreConnect.GameCenterChallenge? value) => new IncludedItem99(value); /// /// /// public IncludedItem99( - global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType? type, - global::AppStoreConnect.GameCenterChallengeVersion? gameCenterChallengeVersions, - global::AppStoreConnect.GameCenterDetail? gameCenterDetails, - global::AppStoreConnect.GameCenterGroup? gameCenterGroups, - global::AppStoreConnect.GameCenterLeaderboard? gameCenterLeaderboards + global::AppStoreConnect.GameCenterChallengeVersionsResponseIncludedItemDiscriminatorType? type, + global::AppStoreConnect.GameCenterChallengeImage? gameCenterChallengeImages, + global::AppStoreConnect.GameCenterChallengeLocalization? gameCenterChallengeLocalizations1, + global::AppStoreConnect.GameCenterChallengeVersionRelease? gameCenterChallengeVersionReleases, + global::AppStoreConnect.GameCenterChallenge? gameCenterChallengeLocalizations2 ) { Type = type; - GameCenterChallengeVersions = gameCenterChallengeVersions; - GameCenterDetails = gameCenterDetails; - GameCenterGroups = gameCenterGroups; - GameCenterLeaderboards = gameCenterLeaderboards; + GameCenterChallengeImages = gameCenterChallengeImages; + GameCenterChallengeLocalizations1 = gameCenterChallengeLocalizations1; + GameCenterChallengeVersionReleases = gameCenterChallengeVersionReleases; + GameCenterChallengeLocalizations2 = gameCenterChallengeLocalizations2; } /// /// /// public object? Object => - GameCenterLeaderboards as object ?? - GameCenterGroups as object ?? - GameCenterDetails as object ?? - GameCenterChallengeVersions as object + GameCenterChallengeLocalizations2 as object ?? + GameCenterChallengeVersionReleases as object ?? + GameCenterChallengeLocalizations1 as object ?? + GameCenterChallengeImages as object ; /// /// /// public override string? ToString() => - GameCenterChallengeVersions?.ToString() ?? - GameCenterDetails?.ToString() ?? - GameCenterGroups?.ToString() ?? - GameCenterLeaderboards?.ToString() + GameCenterChallengeImages?.ToString() ?? + GameCenterChallengeLocalizations1?.ToString() ?? + GameCenterChallengeVersionReleases?.ToString() ?? + GameCenterChallengeLocalizations2?.ToString() ; /// @@ -297,17 +297,17 @@ GameCenterChallengeVersions as object /// public bool Validate() { - return IsGameCenterChallengeVersions && !IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && IsGameCenterDetails && !IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && !IsGameCenterDetails && IsGameCenterGroups && !IsGameCenterLeaderboards || !IsGameCenterChallengeVersions && !IsGameCenterDetails && !IsGameCenterGroups && IsGameCenterLeaderboards; + return IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && IsGameCenterChallengeVersionReleases && !IsGameCenterChallengeLocalizations2 || !IsGameCenterChallengeImages && !IsGameCenterChallengeLocalizations1 && !IsGameCenterChallengeVersionReleases && IsGameCenterChallengeLocalizations2; } /// /// /// public TResult? Match( - global::System.Func? gameCenterChallengeVersions = null, - global::System.Func? gameCenterDetails = null, - global::System.Func? gameCenterGroups = null, - global::System.Func? gameCenterLeaderboards = null, + global::System.Func? gameCenterChallengeImages = null, + global::System.Func? gameCenterChallengeLocalizations1 = null, + global::System.Func? gameCenterChallengeVersionReleases = null, + global::System.Func? gameCenterChallengeLocalizations2 = null, bool validate = true) { if (validate) @@ -315,21 +315,21 @@ public bool Validate() Validate(); } - if (GameCenterChallengeVersions is { } __value0 && gameCenterChallengeVersions != null) + if (GameCenterChallengeImages is { } __value0 && gameCenterChallengeImages != null) { - return gameCenterChallengeVersions(__value0); + return gameCenterChallengeImages(__value0); } - else if (GameCenterDetails is { } __value1 && gameCenterDetails != null) + else if (GameCenterChallengeLocalizations1 is { } __value1 && gameCenterChallengeLocalizations1 != null) { - return gameCenterDetails(__value1); + return gameCenterChallengeLocalizations1(__value1); } - else if (GameCenterGroups is { } __value2 && gameCenterGroups != null) + else if (GameCenterChallengeVersionReleases is { } __value2 && gameCenterChallengeVersionReleases != null) { - return gameCenterGroups(__value2); + return gameCenterChallengeVersionReleases(__value2); } - else if (GameCenterLeaderboards is { } __value3 && gameCenterLeaderboards != null) + else if (GameCenterChallengeLocalizations2 is { } __value3 && gameCenterChallengeLocalizations2 != null) { - return gameCenterLeaderboards(__value3); + return gameCenterChallengeLocalizations2(__value3); } return default(TResult); @@ -339,13 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? gameCenterChallengeVersions = null, + global::System.Action? gameCenterChallengeImages = null, - global::System.Action? gameCenterDetails = null, + global::System.Action? gameCenterChallengeLocalizations1 = null, - global::System.Action? gameCenterGroups = null, + global::System.Action? gameCenterChallengeVersionReleases = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterChallengeLocalizations2 = null, bool validate = true) { if (validate) @@ -353,21 +353,21 @@ public void Match( Validate(); } - if (GameCenterChallengeVersions is { } __value0) + if (GameCenterChallengeImages is { } __value0) { - gameCenterChallengeVersions?.Invoke(__value0); + gameCenterChallengeImages?.Invoke(__value0); } - else if (GameCenterDetails is { } __value1) + else if (GameCenterChallengeLocalizations1 is { } __value1) { - gameCenterDetails?.Invoke(__value1); + gameCenterChallengeLocalizations1?.Invoke(__value1); } - else if (GameCenterGroups is { } __value2) + else if (GameCenterChallengeVersionReleases is { } __value2) { - gameCenterGroups?.Invoke(__value2); + gameCenterChallengeVersionReleases?.Invoke(__value2); } - else if (GameCenterLeaderboards is { } __value3) + else if (GameCenterChallengeLocalizations2 is { } __value3) { - gameCenterLeaderboards?.Invoke(__value3); + gameCenterChallengeLocalizations2?.Invoke(__value3); } } @@ -375,10 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? gameCenterChallengeVersions = null, - global::System.Action? gameCenterDetails = null, - global::System.Action? gameCenterGroups = null, - global::System.Action? gameCenterLeaderboards = null, + global::System.Action? gameCenterChallengeImages = null, + global::System.Action? gameCenterChallengeLocalizations1 = null, + global::System.Action? gameCenterChallengeVersionReleases = null, + global::System.Action? gameCenterChallengeLocalizations2 = null, bool validate = true) { if (validate) @@ -386,21 +386,21 @@ public void Switch( Validate(); } - if (GameCenterChallengeVersions is { } __value0) + if (GameCenterChallengeImages is { } __value0) { - gameCenterChallengeVersions?.Invoke(__value0); + gameCenterChallengeImages?.Invoke(__value0); } - else if (GameCenterDetails is { } __value1) + else if (GameCenterChallengeLocalizations1 is { } __value1) { - gameCenterDetails?.Invoke(__value1); + gameCenterChallengeLocalizations1?.Invoke(__value1); } - else if (GameCenterGroups is { } __value2) + else if (GameCenterChallengeVersionReleases is { } __value2) { - gameCenterGroups?.Invoke(__value2); + gameCenterChallengeVersionReleases?.Invoke(__value2); } - else if (GameCenterLeaderboards is { } __value3) + else if (GameCenterChallengeLocalizations2 is { } __value3) { - gameCenterLeaderboards?.Invoke(__value3); + gameCenterChallengeLocalizations2?.Invoke(__value3); } } @@ -411,14 +411,14 @@ public override int GetHashCode() { var fields = new object?[] { - GameCenterChallengeVersions, - typeof(global::AppStoreConnect.GameCenterChallengeVersion), - GameCenterDetails, - typeof(global::AppStoreConnect.GameCenterDetail), - GameCenterGroups, - typeof(global::AppStoreConnect.GameCenterGroup), - GameCenterLeaderboards, - typeof(global::AppStoreConnect.GameCenterLeaderboard), + GameCenterChallengeImages, + typeof(global::AppStoreConnect.GameCenterChallengeImage), + GameCenterChallengeLocalizations1, + typeof(global::AppStoreConnect.GameCenterChallengeLocalization), + GameCenterChallengeVersionReleases, + typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease), + GameCenterChallengeLocalizations2, + typeof(global::AppStoreConnect.GameCenterChallenge), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(IncludedItem99 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersions, other.GameCenterChallengeVersions) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterDetails, other.GameCenterDetails) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterGroups, other.GameCenterGroups) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterLeaderboards, other.GameCenterLeaderboards) + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeImages, other.GameCenterChallengeImages) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeLocalizations1, other.GameCenterChallengeLocalizations1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeVersionReleases, other.GameCenterChallengeVersionReleases) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(GameCenterChallengeLocalizations2, other.GameCenterChallengeLocalizations2) ; } diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationResponse.g.cs index f40b4e9df..b16313a3c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class NominationResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class NominationResponse public NominationResponse( global::AppStoreConnect.Nomination data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsGetCollectionFieldsApp.g.cs index 6c9f44202..11c35eb1c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum NominationsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this NominationsGetCollectionFieldsApp value) NominationsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", NominationsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", NominationsGetCollectionFieldsApp.AppTags => "appTags", + NominationsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", NominationsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", NominationsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", NominationsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this NominationsGetCollectionFieldsApp value) "appStoreVersionExperimentsV2" => NominationsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => NominationsGetCollectionFieldsApp.AppStoreVersions, "appTags" => NominationsGetCollectionFieldsApp.AppTags, + "assetLibrary" => NominationsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => NominationsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => NominationsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => NominationsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsGetInstanceFieldsApp.g.cs index 192e82451..c67fec8fd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum NominationsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this NominationsGetInstanceFieldsApp value) NominationsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", NominationsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", NominationsGetInstanceFieldsApp.AppTags => "appTags", + NominationsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", NominationsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", NominationsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", NominationsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this NominationsGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => NominationsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => NominationsGetInstanceFieldsApp.AppStoreVersions, "appTags" => NominationsGetInstanceFieldsApp.AppTags, + "assetLibrary" => NominationsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => NominationsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => NominationsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => NominationsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsResponse.g.cs index 97f007780..2759a0c3c 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.NominationsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class NominationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class NominationsResponse public NominationsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsAppGetToOneRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsAppGetToOneRelatedFieldsApp.g.cs index ecb144156..e3f30e661 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsAppGetToOneRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsAppGetToOneRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum PreReleaseVersionsAppGetToOneRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this PreReleaseVersionsAppGetToOneRelatedFiel PreReleaseVersionsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", PreReleaseVersionsAppGetToOneRelatedFieldsApp.AppStoreVersions => "appStoreVersions", PreReleaseVersionsAppGetToOneRelatedFieldsApp.AppTags => "appTags", + PreReleaseVersionsAppGetToOneRelatedFieldsApp.AssetLibrary => "assetLibrary", PreReleaseVersionsAppGetToOneRelatedFieldsApp.BackgroundAssets => "backgroundAssets", PreReleaseVersionsAppGetToOneRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", PreReleaseVersionsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this PreReleaseVersionsAppGetToOneRelatedFiel "appStoreVersionExperimentsV2" => PreReleaseVersionsAppGetToOneRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => PreReleaseVersionsAppGetToOneRelatedFieldsApp.AppStoreVersions, "appTags" => PreReleaseVersionsAppGetToOneRelatedFieldsApp.AppTags, + "assetLibrary" => PreReleaseVersionsAppGetToOneRelatedFieldsApp.AssetLibrary, "backgroundAssets" => PreReleaseVersionsAppGetToOneRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => PreReleaseVersionsAppGetToOneRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => PreReleaseVersionsAppGetToOneRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsGetCollectionFieldsApp.g.cs index b6dabfee9..0c4c021c1 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum PreReleaseVersionsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this PreReleaseVersionsGetCollectionFieldsApp PreReleaseVersionsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", PreReleaseVersionsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", PreReleaseVersionsGetCollectionFieldsApp.AppTags => "appTags", + PreReleaseVersionsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", PreReleaseVersionsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", PreReleaseVersionsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", PreReleaseVersionsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this PreReleaseVersionsGetCollectionFieldsApp "appStoreVersionExperimentsV2" => PreReleaseVersionsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => PreReleaseVersionsGetCollectionFieldsApp.AppStoreVersions, "appTags" => PreReleaseVersionsGetCollectionFieldsApp.AppTags, + "assetLibrary" => PreReleaseVersionsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => PreReleaseVersionsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => PreReleaseVersionsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => PreReleaseVersionsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsGetInstanceFieldsApp.g.cs index 53d320576..42fdd5b03 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum PreReleaseVersionsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this PreReleaseVersionsGetInstanceFieldsApp v PreReleaseVersionsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", PreReleaseVersionsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", PreReleaseVersionsGetInstanceFieldsApp.AppTags => "appTags", + PreReleaseVersionsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", PreReleaseVersionsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", PreReleaseVersionsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", PreReleaseVersionsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this PreReleaseVersionsGetInstanceFieldsApp v "appStoreVersionExperimentsV2" => PreReleaseVersionsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => PreReleaseVersionsGetInstanceFieldsApp.AppStoreVersions, "appTags" => PreReleaseVersionsGetInstanceFieldsApp.AppTags, + "assetLibrary" => PreReleaseVersionsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => PreReleaseVersionsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => PreReleaseVersionsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => PreReleaseVersionsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsResponse.g.cs index 83c4e0cb4..7fae2af74 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PreReleaseVersionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class PreReleaseVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class PreReleaseVersionsResponse public PreReleaseVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PrereleaseVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PrereleaseVersionResponse.g.cs index 042fabeaf..ce43db27a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PrereleaseVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PrereleaseVersionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class PrereleaseVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class PrereleaseVersionResponse public PrereleaseVersionResponse( global::AppStoreConnect.PrereleaseVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ProfileResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ProfileResponse.g.cs index d1662a222..d4cdb4ded 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ProfileResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ProfileResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class ProfileResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class ProfileResponse public ProfileResponse( global::AppStoreConnect.Profile data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ProfilesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ProfilesResponse.g.cs index 971cd651c..ced9f8465 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ProfilesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ProfilesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class ProfilesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class ProfilesResponse public ProfilesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PromotedPurchaseResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PromotedPurchaseResponse.g.cs index b875d02a5..72a31ea31 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PromotedPurchaseResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PromotedPurchaseResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class PromotedPurchaseResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class PromotedPurchaseResponse public PromotedPurchaseResponse( global::AppStoreConnect.PromotedPurchase data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PromotedPurchasesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PromotedPurchasesResponse.g.cs index 74499946a..f93cb8430 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PromotedPurchasesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.PromotedPurchasesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class PromotedPurchasesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class PromotedPurchasesResponse public PromotedPurchasesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Relationships.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Relationships.Json.g.cs new file mode 100644 index 000000000..8f68ec999 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Relationships.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public readonly partial struct Relationships + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.Relationships? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.Relationships), + jsonSerializerContext) as global::AppStoreConnect.Relationships?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.Relationships? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.Relationships? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.Relationships), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.Relationships?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Relationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Relationships.g.cs new file mode 100644 index 000000000..33db90edc --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.Relationships.g.cs @@ -0,0 +1,303 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public readonly partial struct Relationships : global::System.IEquatable + { + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType? MediaType { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? Image { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? Image { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Image))] +#endif + public bool IsImage => Image != null; + + /// + /// + /// + public bool TryPickImage( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? value) + { + value = Image; + return IsImage; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships PickImage() => Image is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Image' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? Video { get; init; } +#else + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? Video { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Video))] +#endif + public bool IsVideo => Video != null; + + /// + /// + /// + public bool TryPickVideo( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? value) + { + value = Video; + return IsVideo; + } + + /// + /// + /// + public global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships PickVideo() => Video is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'Video' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator Relationships(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships value) => new Relationships((global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships?(Relationships @this) => @this.Image; + + /// + /// + /// + public Relationships(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? value) + { + Image = value; + } + + /// + /// + /// + public static Relationships FromImage(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? value) => new Relationships(value); + + /// + /// + /// + public static implicit operator Relationships(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships value) => new Relationships((global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships?)value); + + /// + /// + /// + public static implicit operator global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships?(Relationships @this) => @this.Video; + + /// + /// + /// + public Relationships(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? value) + { + Video = value; + } + + /// + /// + /// + public static Relationships FromVideo(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? value) => new Relationships(value); + + /// + /// + /// + public Relationships( + global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType? mediaType, + global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships? image, + global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships? video + ) + { + MediaType = mediaType; + + Image = image; + Video = video; + } + + /// + /// + /// + public object? Object => + Video as object ?? + Image as object + ; + + /// + /// + /// + public override string? ToString() => + Image?.ToString() ?? + Video?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsImage && !IsVideo || !IsImage && IsVideo; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? image = null, + global::System.Func? video = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Image is { } __value0 && image != null) + { + return image(__value0); + } + else if (Video is { } __value1 && video != null) + { + return video(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? image = null, + + global::System.Action? video = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Image is { } __value0) + { + image?.Invoke(__value0); + } + else if (Video is { } __value1) + { + video?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? image = null, + global::System.Action? video = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (Image is { } __value0) + { + image?.Invoke(__value0); + } + else if (Video is { } __value1) + { + video?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Image, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships), + Video, + typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(Relationships other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Image, other.Image) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Video, other.Video) + ; + } + + /// + /// + /// + public static bool operator ==(Relationships obj1, Relationships obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(Relationships obj1, Relationships obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is Relationships o && Equals(o); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationships.g.cs index c60c86478..347ea7e22 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationships.g.cs @@ -45,6 +45,18 @@ public sealed partial class ReviewSubmissionItemCreateRequestDataRelationships [global::System.Text.Json.Serialization.JsonPropertyName("appEvent")] public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEvent? AppEvent { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appAssetLibraryImage")] + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage? AppAssetLibraryImage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appAssetLibraryVideo")] + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo? AppAssetLibraryVideo { get; set; } + /// /// /// @@ -114,6 +126,8 @@ public sealed partial class ReviewSubmissionItemCreateRequestDataRelationships /// /// /// + /// + /// /// /// /// @@ -133,6 +147,8 @@ public ReviewSubmissionItemCreateRequestDataRelationships( global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperiment? appStoreVersionExperiment, global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentV2? appStoreVersionExperimentV2, global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEvent? appEvent, + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage? appAssetLibraryImage, + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo? appAssetLibraryVideo, global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersion? backgroundAssetVersion, global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterAchievementVersion? gameCenterAchievementVersion, global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterActivityVersion? gameCenterActivityVersion, @@ -149,6 +165,8 @@ public ReviewSubmissionItemCreateRequestDataRelationships( this.AppStoreVersionExperiment = appStoreVersionExperiment; this.AppStoreVersionExperimentV2 = appStoreVersionExperimentV2; this.AppEvent = appEvent; + this.AppAssetLibraryImage = appAssetLibraryImage; + this.AppAssetLibraryVideo = appAssetLibraryVideo; this.BackgroundAssetVersion = backgroundAssetVersion; this.GameCenterAchievementVersion = gameCenterAchievementVersion; this.GameCenterActivityVersion = gameCenterActivityVersion; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage.Json.g.cs new file mode 100644 index 000000000..2d0aec850 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage), + jsonSerializerContext) as global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..8a510571f --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage( + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData.Json.g.cs new file mode 100644 index 000000000..478cc2e15 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData), + jsonSerializerContext) as global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData.g.cs new file mode 100644 index 000000000..d2c438d3a --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeJsonConverter))] + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData( + string id, + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.g.cs new file mode 100644 index 000000000..18b740b58 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType + { + /// + /// + /// + AppAssetLibraryImages, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType value) + { + return value switch + { + ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.AppAssetLibraryImages => "appAssetLibraryImages", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType.AppAssetLibraryImages, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo.Json.g.cs new file mode 100644 index 000000000..8eb20bb01 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo), + jsonSerializerContext) as global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..4c6d19949 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo( + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData.Json.g.cs new file mode 100644 index 000000000..d11f7e9f7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData), + jsonSerializerContext) as global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData.g.cs new file mode 100644 index 000000000..bc5fb0281 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeJsonConverter))] + public global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData( + string id, + global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.g.cs new file mode 100644 index 000000000..680bc8099 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType + { + /// + /// + /// + AppAssetLibraryVideos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType value) + { + return value switch + { + ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.AppAssetLibraryVideos => "appAssetLibraryVideos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryVideos" => ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType.AppAssetLibraryVideos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationships.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationships.g.cs index 902a017da..29f95adbd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationships.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationships.g.cs @@ -38,6 +38,18 @@ public sealed partial class ReviewSubmissionItemRelationships [global::System.Text.Json.Serialization.JsonPropertyName("appEvent")] public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEvent? AppEvent { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appAssetLibraryImage")] + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage? AppAssetLibraryImage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("appAssetLibraryVideo")] + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo? AppAssetLibraryVideo { get; set; } + /// /// /// @@ -106,6 +118,8 @@ public sealed partial class ReviewSubmissionItemRelationships /// /// /// + /// + /// /// /// /// @@ -124,6 +138,8 @@ public ReviewSubmissionItemRelationships( global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperiment? appStoreVersionExperiment, global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentV2? appStoreVersionExperimentV2, global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEvent? appEvent, + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage? appAssetLibraryImage, + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo? appAssetLibraryVideo, global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersion? backgroundAssetVersion, global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterAchievementVersion? gameCenterAchievementVersion, global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterActivityVersion? gameCenterActivityVersion, @@ -139,6 +155,8 @@ public ReviewSubmissionItemRelationships( this.AppStoreVersionExperiment = appStoreVersionExperiment; this.AppStoreVersionExperimentV2 = appStoreVersionExperimentV2; this.AppEvent = appEvent; + this.AppAssetLibraryImage = appAssetLibraryImage; + this.AppAssetLibraryVideo = appAssetLibraryVideo; this.BackgroundAssetVersion = backgroundAssetVersion; this.GameCenterAchievementVersion = gameCenterAchievementVersion; this.GameCenterActivityVersion = gameCenterActivityVersion; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImage.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImage.Json.g.cs new file mode 100644 index 000000000..4a858dc30 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImage.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class ReviewSubmissionItemRelationshipsAppAssetLibraryImage + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage), + jsonSerializerContext) as global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..9e911ab34 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImage.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class ReviewSubmissionItemRelationshipsAppAssetLibraryImage + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ReviewSubmissionItemRelationshipsAppAssetLibraryImage( + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public ReviewSubmissionItemRelationshipsAppAssetLibraryImage() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData.Json.g.cs new file mode 100644 index 000000000..7eb469274 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class ReviewSubmissionItemRelationshipsAppAssetLibraryImageData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData), + jsonSerializerContext) as global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData.g.cs new file mode 100644 index 000000000..5421c65eb --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class ReviewSubmissionItemRelationshipsAppAssetLibraryImageData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeJsonConverter))] + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ReviewSubmissionItemRelationshipsAppAssetLibraryImageData( + string id, + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public ReviewSubmissionItemRelationshipsAppAssetLibraryImageData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.g.cs new file mode 100644 index 000000000..e19942233 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType + { + /// + /// + /// + AppAssetLibraryImages, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType value) + { + return value switch + { + ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.AppAssetLibraryImages => "appAssetLibraryImages", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryImages" => ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType.AppAssetLibraryImages, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo.Json.g.cs new file mode 100644 index 000000000..33957f373 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class ReviewSubmissionItemRelationshipsAppAssetLibraryVideo + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo), + jsonSerializerContext) as global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..4a18da3f7 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class ReviewSubmissionItemRelationshipsAppAssetLibraryVideo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData? Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ReviewSubmissionItemRelationshipsAppAssetLibraryVideo( + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData? data) + { + this.Data = data; + } + + /// + /// Initializes a new instance of the class. + /// + public ReviewSubmissionItemRelationshipsAppAssetLibraryVideo() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData.Json.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData.Json.g.cs new file mode 100644 index 000000000..6b8168e29 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AppStoreConnect +{ + public sealed partial class ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData), + jsonSerializerContext) as global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData? FromJson( + string json) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData), + jsonSerializerContext).ConfigureAwait(false)) as global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AppStoreConnect.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData.g.cs new file mode 100644 index 000000000..018490243 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public sealed partial class ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeJsonConverter))] + public global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData( + string id, + global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType type) + { + this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + } + + /// + /// Initializes a new instance of the class. + /// + public ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.g.cs new file mode 100644 index 000000000..8391fc688 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType + { + /// + /// + /// + AppAssetLibraryVideos, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType value) + { + return value switch + { + ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.AppAssetLibraryVideos => "appAssetLibraryVideos", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType? ToEnum(string value) + { + return value switch + { + "appAssetLibraryVideos" => ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType.AppAssetLibraryVideos, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemResponse.g.cs index 9402a3693..ce27c9fde 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class ReviewSubmissionItemResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class ReviewSubmissionItemResponse public ReviewSubmissionItemResponse( global::AppStoreConnect.ReviewSubmissionItem data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.g.cs index 1605fd38f..67ee5580b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,14 @@ namespace AppStoreConnect /// public enum ReviewSubmissionItemResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryImages, + /// + /// + /// + AppAssetLibraryVideos, /// /// /// @@ -74,6 +82,8 @@ public static string ToValueString(this ReviewSubmissionItemResponseIncludedItem { return value switch { + ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppAssetLibraryImages => "appAssetLibraryImages", + ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos => "appAssetLibraryVideos", ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions => "appCustomProductPageVersions", ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppEvents => "appEvents", ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments => "appStoreVersionExperiments", @@ -97,6 +107,8 @@ public static string ToValueString(this ReviewSubmissionItemResponseIncludedItem { return value switch { + "appAssetLibraryImages" => ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppAssetLibraryImages, + "appAssetLibraryVideos" => ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos, "appCustomProductPageVersions" => ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions, "appEvents" => ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppEvents, "appStoreVersionExperiments" => ReviewSubmissionItemResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemsResponse.g.cs index 6d274bb75..753f8c93a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class ReviewSubmissionItemsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class ReviewSubmissionItemsResponse public ReviewSubmissionItemsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.g.cs index 6eae419ad..1bd7f4227 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.g.cs @@ -8,6 +8,14 @@ namespace AppStoreConnect /// public enum ReviewSubmissionItemsResponseIncludedItemDiscriminatorType { + /// + /// + /// + AppAssetLibraryImages, + /// + /// + /// + AppAssetLibraryVideos, /// /// /// @@ -74,6 +82,8 @@ public static string ToValueString(this ReviewSubmissionItemsResponseIncludedIte { return value switch { + ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppAssetLibraryImages => "appAssetLibraryImages", + ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos => "appAssetLibraryVideos", ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions => "appCustomProductPageVersions", ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppEvents => "appEvents", ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments => "appStoreVersionExperiments", @@ -97,6 +107,8 @@ public static string ToValueString(this ReviewSubmissionItemsResponseIncludedIte { return value switch { + "appAssetLibraryImages" => ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppAssetLibraryImages, + "appAssetLibraryVideos" => ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppAssetLibraryVideos, "appCustomProductPageVersions" => ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppCustomProductPageVersions, "appEvents" => ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppEvents, "appStoreVersionExperiments" => ReviewSubmissionItemsResponseIncludedItemDiscriminatorType.AppStoreVersionExperiments, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionResponse.g.cs index f7ebdd47c..4b7971768 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class ReviewSubmissionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class ReviewSubmissionResponse public ReviewSubmissionResponse( global::AppStoreConnect.ReviewSubmission data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetCollectionFieldsApp.g.cs index 717fb214b..e7c9683c8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum ReviewSubmissionsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this ReviewSubmissionsGetCollectionFieldsApp ReviewSubmissionsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", ReviewSubmissionsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", ReviewSubmissionsGetCollectionFieldsApp.AppTags => "appTags", + ReviewSubmissionsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", ReviewSubmissionsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", ReviewSubmissionsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", ReviewSubmissionsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this ReviewSubmissionsGetCollectionFieldsApp "appStoreVersionExperimentsV2" => ReviewSubmissionsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => ReviewSubmissionsGetCollectionFieldsApp.AppStoreVersions, "appTags" => ReviewSubmissionsGetCollectionFieldsApp.AppTags, + "assetLibrary" => ReviewSubmissionsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => ReviewSubmissionsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => ReviewSubmissionsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => ReviewSubmissionsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.g.cs index e1e0e29ea..973497fc8 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.g.cs @@ -8,6 +8,14 @@ namespace AppStoreConnect /// public enum ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem { + /// + /// + /// + AppAssetLibraryImage, + /// + /// + /// + AppAssetLibraryVideo, /// /// /// @@ -82,6 +90,8 @@ public static string ToValueString(this ReviewSubmissionsGetCollectionFieldsRevi { return value switch { + ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppAssetLibraryImage => "appAssetLibraryImage", + ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppAssetLibraryVideo => "appAssetLibraryVideo", ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppCustomProductPageVersion => "appCustomProductPageVersion", ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppEvent => "appEvent", ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppStoreVersion => "appStoreVersion", @@ -107,6 +117,8 @@ public static string ToValueString(this ReviewSubmissionsGetCollectionFieldsRevi { return value switch { + "appAssetLibraryImage" => ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppAssetLibraryImage, + "appAssetLibraryVideo" => ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppAssetLibraryVideo, "appCustomProductPageVersion" => ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppCustomProductPageVersion, "appEvent" => ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppEvent, "appStoreVersion" => ReviewSubmissionsGetCollectionFieldsReviewSubmissionItem.AppStoreVersion, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetInstanceFieldsApp.g.cs index 9dd455340..5806a9dbc 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum ReviewSubmissionsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this ReviewSubmissionsGetInstanceFieldsApp va ReviewSubmissionsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", ReviewSubmissionsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", ReviewSubmissionsGetInstanceFieldsApp.AppTags => "appTags", + ReviewSubmissionsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", ReviewSubmissionsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", ReviewSubmissionsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", ReviewSubmissionsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this ReviewSubmissionsGetInstanceFieldsApp va "appStoreVersionExperimentsV2" => ReviewSubmissionsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => ReviewSubmissionsGetInstanceFieldsApp.AppStoreVersions, "appTags" => ReviewSubmissionsGetInstanceFieldsApp.AppTags, + "assetLibrary" => ReviewSubmissionsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => ReviewSubmissionsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => ReviewSubmissionsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => ReviewSubmissionsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.g.cs index 4213ab2a4..fbb6901aa 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.g.cs @@ -8,6 +8,14 @@ namespace AppStoreConnect /// public enum ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem { + /// + /// + /// + AppAssetLibraryImage, + /// + /// + /// + AppAssetLibraryVideo, /// /// /// @@ -82,6 +90,8 @@ public static string ToValueString(this ReviewSubmissionsGetInstanceFieldsReview { return value switch { + ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppAssetLibraryImage => "appAssetLibraryImage", + ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppAssetLibraryVideo => "appAssetLibraryVideo", ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppCustomProductPageVersion => "appCustomProductPageVersion", ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppEvent => "appEvent", ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppStoreVersion => "appStoreVersion", @@ -107,6 +117,8 @@ public static string ToValueString(this ReviewSubmissionsGetInstanceFieldsReview { return value switch { + "appAssetLibraryImage" => ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppAssetLibraryImage, + "appAssetLibraryVideo" => ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppAssetLibraryVideo, "appCustomProductPageVersion" => ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppCustomProductPageVersion, "appEvent" => ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppEvent, "appStoreVersion" => ReviewSubmissionsGetInstanceFieldsReviewSubmissionItem.AppStoreVersion, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs new file mode 100644 index 000000000..0f9550ffa --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + ImageAsset, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage value) + { + return value switch + { + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.Category => "category", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate => "createdDate", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.FileName => "fileName", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize => "fileSize", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset => "imageAsset", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate => "lastModifiedDate", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.Placements => "placements", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName => "referenceName", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId => "specId", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.State => "state", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails => "stateDetails", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations => "uploadOperations", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage? ToEnum(string value) + { + return value switch + { + "category" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.Category, + "createdDate" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.CreatedDate, + "fileName" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.FileName, + "fileSize" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.FileSize, + "imageAsset" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.ImageAsset, + "lastModifiedDate" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.LastModifiedDate, + "placements" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.Placements, + "referenceName" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.ReferenceName, + "specId" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.SpecId, + "state" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.State, + "stateDetails" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.StateDetails, + "uploadOperations" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage.UploadOperations, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs new file mode 100644 index 000000000..c7794e046 --- /dev/null +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace AppStoreConnect +{ + /// + /// + /// + public enum ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo + { + /// + /// + /// + Category, + /// + /// + /// + CreatedDate, + /// + /// + /// + FileName, + /// + /// + /// + FileSize, + /// + /// + /// + LastModifiedDate, + /// + /// + /// + Placements, + /// + /// + /// + PreviewFrameImage, + /// + /// + /// + PreviewFrameTimeCode, + /// + /// + /// + ReferenceName, + /// + /// + /// + SpecId, + /// + /// + /// + State, + /// + /// + /// + StateDetails, + /// + /// + /// + UploadOperations, + /// + /// + /// + VideoAsset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo value) + { + return value switch + { + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.Category => "category", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate => "createdDate", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName => "fileName", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize => "fileSize", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate => "lastModifiedDate", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements => "placements", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage => "previewFrameImage", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode => "previewFrameTimeCode", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName => "referenceName", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId => "specId", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.State => "state", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails => "stateDetails", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations => "uploadOperations", + ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset => "videoAsset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo? ToEnum(string value) + { + return value switch + { + "category" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.Category, + "createdDate" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.CreatedDate, + "fileName" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.FileName, + "fileSize" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.FileSize, + "lastModifiedDate" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.LastModifiedDate, + "placements" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.Placements, + "previewFrameImage" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameImage, + "previewFrameTimeCode" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.PreviewFrameTimeCode, + "referenceName" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.ReferenceName, + "specId" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.SpecId, + "state" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.State, + "stateDetails" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.StateDetails, + "uploadOperations" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.UploadOperations, + "videoAsset" => ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo.VideoAsset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.g.cs index ccf73a085..415dec305 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.g.cs @@ -8,6 +8,14 @@ namespace AppStoreConnect /// public enum ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem { + /// + /// + /// + AppAssetLibraryImage, + /// + /// + /// + AppAssetLibraryVideo, /// /// /// @@ -82,6 +90,8 @@ public static string ToValueString(this ReviewSubmissionsItemsGetToManyRelatedFi { return value switch { + ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppAssetLibraryImage => "appAssetLibraryImage", + ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppAssetLibraryVideo => "appAssetLibraryVideo", ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppCustomProductPageVersion => "appCustomProductPageVersion", ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppEvent => "appEvent", ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppStoreVersion => "appStoreVersion", @@ -107,6 +117,8 @@ public static string ToValueString(this ReviewSubmissionsItemsGetToManyRelatedFi { return value switch { + "appAssetLibraryImage" => ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppAssetLibraryImage, + "appAssetLibraryVideo" => ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppAssetLibraryVideo, "appCustomProductPageVersion" => ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppCustomProductPageVersion, "appEvent" => ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppEvent, "appStoreVersion" => ReviewSubmissionsItemsGetToManyRelatedFieldsReviewSubmissionItem.AppStoreVersion, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedIncludeItem.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedIncludeItem.g.cs index 1aa38022f..67030a08f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedIncludeItem.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsItemsGetToManyRelatedIncludeItem.g.cs @@ -8,6 +8,14 @@ namespace AppStoreConnect /// public enum ReviewSubmissionsItemsGetToManyRelatedIncludeItem { + /// + /// + /// + AppAssetLibraryImage, + /// + /// + /// + AppAssetLibraryVideo, /// /// /// @@ -78,6 +86,8 @@ public static string ToValueString(this ReviewSubmissionsItemsGetToManyRelatedIn { return value switch { + ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppAssetLibraryImage => "appAssetLibraryImage", + ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppAssetLibraryVideo => "appAssetLibraryVideo", ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppCustomProductPageVersion => "appCustomProductPageVersion", ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppEvent => "appEvent", ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppStoreVersion => "appStoreVersion", @@ -102,6 +112,8 @@ public static string ToValueString(this ReviewSubmissionsItemsGetToManyRelatedIn { return value switch { + "appAssetLibraryImage" => ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppAssetLibraryImage, + "appAssetLibraryVideo" => ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppAssetLibraryVideo, "appCustomProductPageVersion" => ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppCustomProductPageVersion, "appEvent" => ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppEvent, "appStoreVersion" => ReviewSubmissionsItemsGetToManyRelatedIncludeItem.AppStoreVersion, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsResponse.g.cs index 812e44180..a18e53d98 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ReviewSubmissionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class ReviewSubmissionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class ReviewSubmissionsResponse public ReviewSubmissionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ScmRepositoriesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ScmRepositoriesResponse.g.cs index 6a25a0d34..c9285d2a3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ScmRepositoriesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ScmRepositoriesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class ScmRepositoriesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class ScmRepositoriesResponse public ScmRepositoriesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ScmRepositoryResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ScmRepositoryResponse.g.cs index 7a9e4b8bb..76afb311b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ScmRepositoryResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.ScmRepositoryResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class ScmRepositoryResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class ScmRepositoryResponse public ScmRepositoryResponse( global::AppStoreConnect.ScmRepository data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupResponse.g.cs index 4c7918e10..e4004cc04 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionGroupResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class SubscriptionGroupResponse public SubscriptionGroupResponse( global::AppStoreConnect.SubscriptionGroup data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupVersionResponse.g.cs index 2f545ea89..3e11426bf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupVersionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionGroupVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class SubscriptionGroupVersionResponse public SubscriptionGroupVersionResponse( global::AppStoreConnect.SubscriptionGroupVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupVersionsResponse.g.cs index a44abe7e5..0949a01e4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupVersionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionGroupVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class SubscriptionGroupVersionsResponse public SubscriptionGroupVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupsResponse.g.cs index 6579ddd4b..29cfd594f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionGroupsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionGroupsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class SubscriptionGroupsResponse public SubscriptionGroupsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionIntroductoryOfferResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionIntroductoryOfferResponse.g.cs index 428b8ce09..86713ca9b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionIntroductoryOfferResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionIntroductoryOfferResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionIntroductoryOfferResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class SubscriptionIntroductoryOfferResponse public SubscriptionIntroductoryOfferResponse( global::AppStoreConnect.SubscriptionIntroductoryOffer data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionIntroductoryOffersResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionIntroductoryOffersResponse.g.cs index f7e555970..2c2cd73ad 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionIntroductoryOffersResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionIntroductoryOffersResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionIntroductoryOffersResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class SubscriptionIntroductoryOffersResponse public SubscriptionIntroductoryOffersResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodePricesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodePricesResponse.g.cs index 3a7e01a25..013f76363 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodePricesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodePricesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionOfferCodePricesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class SubscriptionOfferCodePricesResponse public SubscriptionOfferCodePricesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodeResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodeResponse.g.cs index 858f50827..caf603881 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodeResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodeResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionOfferCodeResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class SubscriptionOfferCodeResponse public SubscriptionOfferCodeResponse( global::AppStoreConnect.SubscriptionOfferCode data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodesResponse.g.cs index a21010686..c6e7681c9 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionOfferCodesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionOfferCodesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class SubscriptionOfferCodesResponse public SubscriptionOfferCodesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPriceResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPriceResponse.g.cs index 8472cd222..aab9d58a3 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPriceResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPriceResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionPriceResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class SubscriptionPriceResponse public SubscriptionPriceResponse( global::AppStoreConnect.SubscriptionPrice data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPricesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPricesResponse.g.cs index af7974f93..c304dfd8b 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPricesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPricesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionPricesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class SubscriptionPricesResponse public SubscriptionPricesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOfferPricesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOfferPricesResponse.g.cs index 48d53a811..89593d988 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOfferPricesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOfferPricesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionPromotionalOfferPricesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class SubscriptionPromotionalOfferPricesResponse public SubscriptionPromotionalOfferPricesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOfferResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOfferResponse.g.cs index e40471f05..3a0cfe01f 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOfferResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOfferResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionPromotionalOfferResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class SubscriptionPromotionalOfferResponse public SubscriptionPromotionalOfferResponse( global::AppStoreConnect.SubscriptionPromotionalOffer data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOffersResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOffersResponse.g.cs index 893974681..e3114381a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOffersResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionPromotionalOffersResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionPromotionalOffersResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class SubscriptionPromotionalOffersResponse public SubscriptionPromotionalOffersResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionResponse.g.cs index 5105a8cd5..e9f980b1a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class SubscriptionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class SubscriptionResponse public SubscriptionResponse( global::AppStoreConnect.Subscription data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionVersionResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionVersionResponse.g.cs index 1606672b2..99368438e 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionVersionResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionVersionResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionVersionResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -46,7 +46,7 @@ public sealed partial class SubscriptionVersionResponse public SubscriptionVersionResponse( global::AppStoreConnect.SubscriptionVersion data, global::AppStoreConnect.DocumentLinks links, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? included) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Included = included; diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionVersionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionVersionsResponse.g.cs index ac290ec8a..7ca0741e4 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionVersionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionVersionsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class SubscriptionVersionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class SubscriptionVersionsResponse public SubscriptionVersionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionsResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionsResponse.g.cs index f6ab95057..a1bba4760 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionsResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.SubscriptionsResponse.g.cs @@ -21,7 +21,7 @@ public sealed partial class SubscriptionsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class SubscriptionsResponse public SubscriptionsResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsGetCollectionFieldsApp.g.cs index b2b20f86e..7900c6f86 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum UserInvitationsGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this UserInvitationsGetCollectionFieldsApp va UserInvitationsGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", UserInvitationsGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", UserInvitationsGetCollectionFieldsApp.AppTags => "appTags", + UserInvitationsGetCollectionFieldsApp.AssetLibrary => "assetLibrary", UserInvitationsGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", UserInvitationsGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", UserInvitationsGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this UserInvitationsGetCollectionFieldsApp va "appStoreVersionExperimentsV2" => UserInvitationsGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => UserInvitationsGetCollectionFieldsApp.AppStoreVersions, "appTags" => UserInvitationsGetCollectionFieldsApp.AppTags, + "assetLibrary" => UserInvitationsGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => UserInvitationsGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => UserInvitationsGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => UserInvitationsGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsGetInstanceFieldsApp.g.cs index c870ed9a0..91f2df44d 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum UserInvitationsGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this UserInvitationsGetInstanceFieldsApp valu UserInvitationsGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", UserInvitationsGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", UserInvitationsGetInstanceFieldsApp.AppTags => "appTags", + UserInvitationsGetInstanceFieldsApp.AssetLibrary => "assetLibrary", UserInvitationsGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", UserInvitationsGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", UserInvitationsGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this UserInvitationsGetInstanceFieldsApp valu "appStoreVersionExperimentsV2" => UserInvitationsGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => UserInvitationsGetInstanceFieldsApp.AppStoreVersions, "appTags" => UserInvitationsGetInstanceFieldsApp.AppTags, + "assetLibrary" => UserInvitationsGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => UserInvitationsGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => UserInvitationsGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => UserInvitationsGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.g.cs index b98e6bb0f..877f49131 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum UserInvitationsVisibleAppsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this UserInvitationsVisibleAppsGetToManyRelat UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.AppTags => "appTags", + UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this UserInvitationsVisibleAppsGetToManyRelat "appStoreVersionExperimentsV2" => UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => UserInvitationsVisibleAppsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersGetCollectionFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersGetCollectionFieldsApp.g.cs index 24e5bb333..8d9b95a9a 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersGetCollectionFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersGetCollectionFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum UsersGetCollectionFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this UsersGetCollectionFieldsApp value) UsersGetCollectionFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", UsersGetCollectionFieldsApp.AppStoreVersions => "appStoreVersions", UsersGetCollectionFieldsApp.AppTags => "appTags", + UsersGetCollectionFieldsApp.AssetLibrary => "assetLibrary", UsersGetCollectionFieldsApp.BackgroundAssets => "backgroundAssets", UsersGetCollectionFieldsApp.BetaAppLocalizations => "betaAppLocalizations", UsersGetCollectionFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this UsersGetCollectionFieldsApp value) "appStoreVersionExperimentsV2" => UsersGetCollectionFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => UsersGetCollectionFieldsApp.AppStoreVersions, "appTags" => UsersGetCollectionFieldsApp.AppTags, + "assetLibrary" => UsersGetCollectionFieldsApp.AssetLibrary, "backgroundAssets" => UsersGetCollectionFieldsApp.BackgroundAssets, "betaAppLocalizations" => UsersGetCollectionFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => UsersGetCollectionFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersGetInstanceFieldsApp.g.cs index 95ffb68ff..c580a0677 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum UsersGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this UsersGetInstanceFieldsApp value) UsersGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", UsersGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", UsersGetInstanceFieldsApp.AppTags => "appTags", + UsersGetInstanceFieldsApp.AssetLibrary => "assetLibrary", UsersGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", UsersGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", UsersGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this UsersGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => UsersGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => UsersGetInstanceFieldsApp.AppStoreVersions, "appTags" => UsersGetInstanceFieldsApp.AppTags, + "assetLibrary" => UsersGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => UsersGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => UsersGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => UsersGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersVisibleAppsGetToManyRelatedFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersVisibleAppsGetToManyRelatedFieldsApp.g.cs index 0ad1ff218..e858dc2c5 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersVisibleAppsGetToManyRelatedFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.UsersVisibleAppsGetToManyRelatedFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum UsersVisibleAppsGetToManyRelatedFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this UsersVisibleAppsGetToManyRelatedFieldsAp UsersVisibleAppsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", UsersVisibleAppsGetToManyRelatedFieldsApp.AppStoreVersions => "appStoreVersions", UsersVisibleAppsGetToManyRelatedFieldsApp.AppTags => "appTags", + UsersVisibleAppsGetToManyRelatedFieldsApp.AssetLibrary => "assetLibrary", UsersVisibleAppsGetToManyRelatedFieldsApp.BackgroundAssets => "backgroundAssets", UsersVisibleAppsGetToManyRelatedFieldsApp.BetaAppLocalizations => "betaAppLocalizations", UsersVisibleAppsGetToManyRelatedFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this UsersVisibleAppsGetToManyRelatedFieldsAp "appStoreVersionExperimentsV2" => UsersVisibleAppsGetToManyRelatedFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => UsersVisibleAppsGetToManyRelatedFieldsApp.AppStoreVersions, "appTags" => UsersVisibleAppsGetToManyRelatedFieldsApp.AppTags, + "assetLibrary" => UsersVisibleAppsGetToManyRelatedFieldsApp.AssetLibrary, "backgroundAssets" => UsersVisibleAppsGetToManyRelatedFieldsApp.BackgroundAssets, "betaAppLocalizations" => UsersVisibleAppsGetToManyRelatedFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => UsersVisibleAppsGetToManyRelatedFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.WebhooksGetInstanceFieldsApp.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.WebhooksGetInstanceFieldsApp.g.cs index 732313b11..bf3b7c5bf 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.WebhooksGetInstanceFieldsApp.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.WebhooksGetInstanceFieldsApp.g.cs @@ -79,6 +79,10 @@ public enum WebhooksGetInstanceFieldsApp /// /// /// + AssetLibrary, + /// + /// + /// BackgroundAssets, /// /// @@ -263,6 +267,7 @@ public static string ToValueString(this WebhooksGetInstanceFieldsApp value) WebhooksGetInstanceFieldsApp.AppStoreVersionExperimentsV2 => "appStoreVersionExperimentsV2", WebhooksGetInstanceFieldsApp.AppStoreVersions => "appStoreVersions", WebhooksGetInstanceFieldsApp.AppTags => "appTags", + WebhooksGetInstanceFieldsApp.AssetLibrary => "assetLibrary", WebhooksGetInstanceFieldsApp.BackgroundAssets => "backgroundAssets", WebhooksGetInstanceFieldsApp.BetaAppLocalizations => "betaAppLocalizations", WebhooksGetInstanceFieldsApp.BetaAppReviewDetail => "betaAppReviewDetail", @@ -329,6 +334,7 @@ public static string ToValueString(this WebhooksGetInstanceFieldsApp value) "appStoreVersionExperimentsV2" => WebhooksGetInstanceFieldsApp.AppStoreVersionExperimentsV2, "appStoreVersions" => WebhooksGetInstanceFieldsApp.AppStoreVersions, "appTags" => WebhooksGetInstanceFieldsApp.AppTags, + "assetLibrary" => WebhooksGetInstanceFieldsApp.AssetLibrary, "backgroundAssets" => WebhooksGetInstanceFieldsApp.BackgroundAssets, "betaAppLocalizations" => WebhooksGetInstanceFieldsApp.BetaAppLocalizations, "betaAppReviewDetail" => WebhooksGetInstanceFieldsApp.BetaAppReviewDetail, diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.WinBackOfferPricesResponse.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.WinBackOfferPricesResponse.g.cs index 1dbbeeb15..0965f1ea7 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.WinBackOfferPricesResponse.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.Models.WinBackOfferPricesResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class WinBackOfferPricesResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } + public global::System.Collections.Generic.IList? Included { get; set; } /// /// @@ -53,7 +53,7 @@ public sealed partial class WinBackOfferPricesResponse public WinBackOfferPricesResponse( global::System.Collections.Generic.IList data, global::AppStoreConnect.PagedDocumentLinks links, - global::System.Collections.Generic.IList? included, + global::System.Collections.Generic.IList? included, global::AppStoreConnect.PagingInformation? meta) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.PartitionCore.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.PartitionCore.JsonSerializerContext.g.cs index dcde672a7..c905ebfc0 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.PartitionCore.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.PartitionCore.JsonSerializerContext.g.cs @@ -9,6 +9,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] @@ -135,6 +137,171 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetailAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibrary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryType), TypeInfoPropertyName = "AppAssetLibraryType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRelationships))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRelationshipsImages))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryRelationshipsVideos))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageType), TypeInfoPropertyName = "AppAssetLibraryImageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Attributes), TypeInfoPropertyName = "Attributes2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes), TypeInfoPropertyName = "AppAssetLibraryImageAwaitingUploadAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes), TypeInfoPropertyName = "AppAssetLibraryImageUploadCompleteAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes), TypeInfoPropertyName = "AppAssetLibraryImageFailedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageCommonAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes), TypeInfoPropertyName = "AppAssetLibraryImageReadyForReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes), TypeInfoPropertyName = "AppAssetLibraryImageWaitingForReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes), TypeInfoPropertyName = "AppAssetLibraryImageInReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes), TypeInfoPropertyName = "AppAssetLibraryImageAcceptedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes), TypeInfoPropertyName = "AppAssetLibraryImageApprovedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes), TypeInfoPropertyName = "AppAssetLibraryImageRejectedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes), TypeInfoPropertyName = "AppAssetLibraryImageArchivedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState), TypeInfoPropertyName = "AppAssetLibraryImageAttributesDiscriminatorState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageRelationships))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppAssetLibraryImageRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory), TypeInfoPropertyName = "AppAssetLibraryAssetCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ImageAsset))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryAssetState), TypeInfoPropertyName = "AppAssetLibraryAssetState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.StateDetail))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributesVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.UploadOperation))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributesVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributesVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacement))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationships))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataEnum3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementType), TypeInfoPropertyName = "AppAssetLibraryPlacementType2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryMediaType), TypeInfoPropertyName = "AppAssetLibraryMediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2), TypeInfoPropertyName = "AppAssetLibraryPlacementType22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementState), TypeInfoPropertyName = "AppAssetLibraryPlacementState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Relationships), TypeInfoPropertyName = "Relationships2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships), TypeInfoPropertyName = "AppAssetLibraryPlacementImageRelationships2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships), TypeInfoPropertyName = "AppAssetLibraryPlacementVideoRelationships2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType), TypeInfoPropertyName = "AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationships))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes), TypeInfoPropertyName = "AppAssetLibraryPlacementVideoAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2Image))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2Video))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem3), TypeInfoPropertyName = "IncludedItem32_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideo))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalization))] + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization))] + #pragma warning restore CS0618 + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem4), TypeInfoPropertyName = "IncludedItem42_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCreateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationships))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideo))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum6))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum7))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataEnum8))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoType), TypeInfoPropertyName = "AppAssetLibraryVideoType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Attributes2), TypeInfoPropertyName = "Attributes22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoAwaitingUploadAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoUploadCompleteAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoFailedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoCommonAttributes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoReadyForReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoWaitingForReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoInReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoAcceptedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoApprovedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoRejectedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes), TypeInfoPropertyName = "AppAssetLibraryVideoArchivedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState), TypeInfoPropertyName = "AppAssetLibraryVideoAttributesDiscriminatorState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationships))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppAssetLibraryVideoRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PreviewFrameImage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributesVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributesVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributesVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAvailabilityV2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAvailabilityV2Type), TypeInfoPropertyName = "AppAvailabilityV2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAvailabilityV2Attributes))] @@ -164,10 +331,6 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImageType), TypeInfoPropertyName = "AppClipAdvancedExperienceImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImageAttributes))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ImageAsset))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.UploadOperation))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppMediaAssetState))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalization))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalizationType), TypeInfoPropertyName = "AppClipAdvancedExperienceLocalizationType2")] @@ -203,11 +366,11 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsLocalizationsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsLocalizationsDataItemType), TypeInfoPropertyName = "AppClipAdvancedExperienceRelationshipsLocalizationsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem3), TypeInfoPropertyName = "IncludedItem32_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem5), TypeInfoPropertyName = "IncludedItem52_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClip))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem4), TypeInfoPropertyName = "IncludedItem42_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem6), TypeInfoPropertyName = "IncludedItem62_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetail))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetailType), TypeInfoPropertyName = "AppClipAppStoreReviewDetailType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetailAttributes))] @@ -229,11 +392,11 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImageData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImageDataType), TypeInfoPropertyName = "AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImageDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem5), TypeInfoPropertyName = "IncludedItem52_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem7), TypeInfoPropertyName = "IncludedItem72_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipHeaderImage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem6), TypeInfoPropertyName = "IncludedItem62_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem8), TypeInfoPropertyName = "IncludedItem82_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceType), TypeInfoPropertyName = "AppClipDefaultExperienceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceRelationships))] @@ -250,12 +413,12 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetail))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetailData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetailDataType), TypeInfoPropertyName = "AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetailDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem7), TypeInfoPropertyName = "IncludedItem72_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem9), TypeInfoPropertyName = "IncludedItem92_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem8), TypeInfoPropertyName = "IncludedItem82_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem10), TypeInfoPropertyName = "IncludedItem102_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppClipDefaultExperienceResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipHeaderImageType), TypeInfoPropertyName = "AppClipHeaderImageType2")] @@ -277,12 +440,11 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipRelationshipsAppClipDefaultExperiencesDataItemType), TypeInfoPropertyName = "AppClipRelationshipsAppClipDefaultExperiencesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipRelationshipsAppClipAdvancedExperiences))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem9), TypeInfoPropertyName = "IncludedItem92_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem11), TypeInfoPropertyName = "IncludedItem112_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.App))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem10), TypeInfoPropertyName = "IncludedItem102_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem12), TypeInfoPropertyName = "IncludedItem122_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationType), TypeInfoPropertyName = "AppCustomProductPageLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationships))] @@ -301,15 +463,19 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemType), TypeInfoPropertyName = "AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem11), TypeInfoPropertyName = "IncludedItem112_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem13), TypeInfoPropertyName = "IncludedItem132_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppKeyword))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSet))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSet))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem12), TypeInfoPropertyName = "IncludedItem122_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem14), TypeInfoPropertyName = "IncludedItem142")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionType), TypeInfoPropertyName = "AppCustomProductPageVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionAttributesState), TypeInfoPropertyName = "AppCustomProductPageVersionAttributesState2")] @@ -322,11 +488,11 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizationsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizationsDataItemType), TypeInfoPropertyName = "AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizationsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem13), TypeInfoPropertyName = "IncludedItem132")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem15), TypeInfoPropertyName = "IncludedItem152_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem14), TypeInfoPropertyName = "IncludedItem142_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem16), TypeInfoPropertyName = "IncludedItem162_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageType), TypeInfoPropertyName = "AppCustomProductPageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageRelationships))] @@ -338,10 +504,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageRelationshipsAppCustomProductPageVersionsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageRelationshipsAppCustomProductPageVersionsDataItemType), TypeInfoPropertyName = "AppCustomProductPageRelationshipsAppCustomProductPageVersionsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem15), TypeInfoPropertyName = "IncludedItem152_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem16), TypeInfoPropertyName = "IncludedItem162_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem17), TypeInfoPropertyName = "IncludedItem172_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem18), TypeInfoPropertyName = "IncludedItem182")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocument))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocumentType), TypeInfoPropertyName = "AppEncryptionDeclarationDocumentType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocumentAttributes))] @@ -349,6 +515,18 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclaration))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationType), TypeInfoPropertyName = "AppEncryptionDeclarationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationAttributes))] + internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationState), TypeInfoPropertyName = "AppEncryptionDeclarationState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationRelationships))] #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -383,14 +561,13 @@ namespace AppStoreConnect #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem18), TypeInfoPropertyName = "IncludedItem182")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem20), TypeInfoPropertyName = "IncludedItem202")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Build))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem19), TypeInfoPropertyName = "IncludedItem192")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalization))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem21), TypeInfoPropertyName = "IncludedItem212")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationType), TypeInfoPropertyName = "AppEventLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationships))] @@ -405,14 +582,18 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClipsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClipsDataItemType), TypeInfoPropertyName = "AppEventLocalizationRelationshipsAppEventVideoClipsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppEventLocalizationRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem20), TypeInfoPropertyName = "IncludedItem202")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem22), TypeInfoPropertyName = "IncludedItem222")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventScreenshot))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventVideoClip))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEvent))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem21), TypeInfoPropertyName = "IncludedItem212")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem23), TypeInfoPropertyName = "IncludedItem232")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventScreenshotType), TypeInfoPropertyName = "AppEventScreenshotType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventScreenshotAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventAssetType), TypeInfoPropertyName = "AppEventAssetType2")] @@ -423,7 +604,6 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventVideoClipType), TypeInfoPropertyName = "AppEventVideoClipType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventVideoClipAttributes))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PreviewFrameImage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppMediaVideoState))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventVideoClipRelationships))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventVideoClipRelationshipsAppEventLocalization))] @@ -504,10 +684,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryTwoData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryTwoDataType), TypeInfoPropertyName = "AppInfoRelationshipsSecondarySubcategoryTwoDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppInfoRelationshipsTerritoryAgeRatings))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem22), TypeInfoPropertyName = "IncludedItem222")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem23), TypeInfoPropertyName = "IncludedItem232")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem24), TypeInfoPropertyName = "IncludedItem242")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem25), TypeInfoPropertyName = "IncludedItem252")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppKeywordType), TypeInfoPropertyName = "AppKeywordType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppKeywordsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -530,29 +710,15 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSetRelationshipsAppPreviewsDataItemType), TypeInfoPropertyName = "AppPreviewSetRelationshipsAppPreviewsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSetsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem24), TypeInfoPropertyName = "IncludedItem242")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem26), TypeInfoPropertyName = "IncludedItem262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreview))] - #pragma warning disable CS0618 // This registration names a deprecated API model. - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalization))] - #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalization))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppPreviewSetsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem25), TypeInfoPropertyName = "IncludedItem252")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem27), TypeInfoPropertyName = "IncludedItem272")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewType), TypeInfoPropertyName = "AppPreviewType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewAttributes))] - internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewRelationships))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewRelationshipsAppPreviewSet))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewRelationshipsAppPreviewSetData))] @@ -571,13 +737,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPricePointV3RelationshipsTerritoryDataType), TypeInfoPropertyName = "AppPricePointV3RelationshipsTerritoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPricePointsV3Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem26), TypeInfoPropertyName = "IncludedItem262")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem28), TypeInfoPropertyName = "IncludedItem282")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Territory))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppPricePointsV3ResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem27), TypeInfoPropertyName = "IncludedItem272")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem29), TypeInfoPropertyName = "IncludedItem292")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceSchedule))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleType), TypeInfoPropertyName = "AppPriceScheduleType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleRelationships))] @@ -596,8 +762,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleRelationshipsAutomaticPricesDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleRelationshipsAutomaticPricesDataItemType), TypeInfoPropertyName = "AppPriceScheduleRelationshipsAutomaticPricesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem28), TypeInfoPropertyName = "IncludedItem282")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem30), TypeInfoPropertyName = "IncludedItem302")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceV2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppPriceScheduleResponseIncludedItemDiscriminatorType2")] @@ -612,8 +778,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceV2RelationshipsTerritoryData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceV2RelationshipsTerritoryDataType), TypeInfoPropertyName = "AppPriceV2RelationshipsTerritoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem30), TypeInfoPropertyName = "IncludedItem302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem32), TypeInfoPropertyName = "IncludedItem322")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetType), TypeInfoPropertyName = "AppScreenshotSetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScreenshotDisplayType), TypeInfoPropertyName = "ScreenshotDisplayType2")] @@ -633,13 +799,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetRelationshipsAppScreenshotsDataItemType), TypeInfoPropertyName = "AppScreenshotSetRelationshipsAppScreenshotsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem31), TypeInfoPropertyName = "IncludedItem312")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem33), TypeInfoPropertyName = "IncludedItem332")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshot))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppScreenshotSetsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem32), TypeInfoPropertyName = "IncludedItem322")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem34), TypeInfoPropertyName = "IncludedItem342")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotType), TypeInfoPropertyName = "AppScreenshotType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotRelationships))] @@ -668,8 +834,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreReviewAttachmentsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreReviewAttachmentsDataItemType), TypeInfoPropertyName = "AppStoreReviewDetailRelationshipsAppStoreReviewAttachmentsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewDetailResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem33), TypeInfoPropertyName = "IncludedItem332")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem35), TypeInfoPropertyName = "IncludedItem352")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppStoreReviewDetailResponseIncludedItemDiscriminatorType2")] #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -715,15 +881,27 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemType), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemType2")] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacements))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItem))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType2")] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem34), TypeInfoPropertyName = "IncludedItem342")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem36), TypeInfoPropertyName = "IncludedItem362")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatment))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem35), TypeInfoPropertyName = "IncludedItem352")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem37), TypeInfoPropertyName = "IncludedItem372")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentType), TypeInfoPropertyName = "AppStoreVersionExperimentTreatmentType2")] #pragma warning restore CS0618 @@ -766,13 +944,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem36), TypeInfoPropertyName = "IncludedItem362")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem38), TypeInfoPropertyName = "IncludedItem382")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperiment))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem37), TypeInfoPropertyName = "IncludedItem372")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem39), TypeInfoPropertyName = "IncludedItem392")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2))] #pragma warning restore CS0618 @@ -836,16 +1014,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem38), TypeInfoPropertyName = "IncludedItem382")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem40), TypeInfoPropertyName = "IncludedItem402")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem39), TypeInfoPropertyName = "IncludedItem392")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem41), TypeInfoPropertyName = "IncludedItem412")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentType), TypeInfoPropertyName = "AppStoreVersionExperimentType2")] #pragma warning restore CS0618 @@ -882,10 +1060,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem40), TypeInfoPropertyName = "IncludedItem402")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem41), TypeInfoPropertyName = "IncludedItem412")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem42), TypeInfoPropertyName = "IncludedItem422")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem43), TypeInfoPropertyName = "IncludedItem432")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationType), TypeInfoPropertyName = "AppStoreVersionLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationships))] @@ -904,11 +1082,15 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemType), TypeInfoPropertyName = "AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacements))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType), TypeInfoPropertyName = "AppStoreVersionLocalizationRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem42), TypeInfoPropertyName = "IncludedItem422")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem43), TypeInfoPropertyName = "IncludedItem432")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem44), TypeInfoPropertyName = "IncludedItem442")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem45), TypeInfoPropertyName = "IncludedItem452")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionPhasedRelease))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionPhasedReleaseType), TypeInfoPropertyName = "AppStoreVersionPhasedReleaseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionPhasedReleaseAttributes))] @@ -978,13 +1160,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackageData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackageDataType), TypeInfoPropertyName = "AppStoreVersionRelationshipsAlternativeDistributionPackageDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem44), TypeInfoPropertyName = "IncludedItem442")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem46), TypeInfoPropertyName = "IncludedItem462")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.RoutingAppCoverage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem45), TypeInfoPropertyName = "IncludedItem452")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem47), TypeInfoPropertyName = "IncludedItem472")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppStoreVersionResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppTag))] @@ -1023,6 +1205,18 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsAppStoreVersionsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsAppStoreVersionsDataItemType), TypeInfoPropertyName = "AppRelationshipsAppStoreVersionsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsAppTags))] + internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsPreReleaseVersions))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsPreReleaseVersionsDataItem))] @@ -1122,6 +1316,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsMarketplaceSearchDetail))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsBuildUploads))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsBackgroundAssets))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsAssetLibrary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsBetaFeedbackScreenshotSubmissions))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsBetaFeedbackCrashSubmissions))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsSearchKeywords))] @@ -1131,8 +1326,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsAndroidToIosAppMappingDetailsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsAndroidToIosAppMappingDetailsDataItemType), TypeInfoPropertyName = "AppRelationshipsAndroidToIosAppMappingDetailsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem46), TypeInfoPropertyName = "IncludedItem462")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem48), TypeInfoPropertyName = "IncludedItem482")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaAppLocalization))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaAppReviewDetail))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroup))] @@ -1153,8 +1348,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGracePeriod))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroup))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem47), TypeInfoPropertyName = "IncludedItem472")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem49), TypeInfoPropertyName = "IncludedItem492")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "AppResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetUploadFile))] @@ -1194,8 +1389,6 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionState), TypeInfoPropertyName = "BackgroundAssetVersionState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionAttributesStateDetails))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.StateDetail))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionRelationships))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAsset))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAssetData))] @@ -1216,21 +1409,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk0 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionRelationshipsManifestFileData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionRelationshipsManifestFileDataType), TypeInfoPropertyName = "BackgroundAssetVersionRelationshipsManifestFileDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionRelationshipsBackgroundAssetUploadFiles))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem48), TypeInfoPropertyName = "IncludedItem482")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem50), TypeInfoPropertyName = "IncludedItem502")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAsset))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem49), TypeInfoPropertyName = "IncludedItem492")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem51), TypeInfoPropertyName = "IncludedItem512")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetType), TypeInfoPropertyName = "BackgroundAssetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetRelationships))] @@ -1248,10 +1431,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetRelationshipsExternalBetaVersionData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetRelationshipsExternalBetaVersionDataType), TypeInfoPropertyName = "BackgroundAssetRelationshipsExternalBetaVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem50), TypeInfoPropertyName = "IncludedItem502")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem51), TypeInfoPropertyName = "IncludedItem512")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem52), TypeInfoPropertyName = "IncludedItem522")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem53), TypeInfoPropertyName = "IncludedItem532")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaAppClipInvocationLocalization))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaAppClipInvocationLocalizationType), TypeInfoPropertyName = "BetaAppClipInvocationLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaAppClipInvocationLocalizationAttributes))] @@ -1314,11 +1497,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsTesterData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsTesterDataType), TypeInfoPropertyName = "BetaFeedbackCrashSubmissionRelationshipsTesterDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem52), TypeInfoPropertyName = "IncludedItem522")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem54), TypeInfoPropertyName = "IncludedItem542")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaTester))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem53), TypeInfoPropertyName = "IncludedItem532")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem55), TypeInfoPropertyName = "IncludedItem552")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmission))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionType), TypeInfoPropertyName = "BetaFeedbackScreenshotSubmissionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionAttributes))] @@ -1332,10 +1515,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsTesterData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsTesterDataType), TypeInfoPropertyName = "BetaFeedbackScreenshotSubmissionRelationshipsTesterDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem54), TypeInfoPropertyName = "IncludedItem542")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem55), TypeInfoPropertyName = "IncludedItem552")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem56), TypeInfoPropertyName = "IncludedItem562")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem57), TypeInfoPropertyName = "IncludedItem572")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupType), TypeInfoPropertyName = "BetaGroupType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupRelationships))] @@ -1355,11 +1538,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriteriaDataType), TypeInfoPropertyName = "BetaGroupRelationshipsBetaRecruitmentCriteriaDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriterionCompatibleBuildCheck))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem56), TypeInfoPropertyName = "IncludedItem562")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem58), TypeInfoPropertyName = "IncludedItem582")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaRecruitmentCriterion))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem57), TypeInfoPropertyName = "IncludedItem572")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem59), TypeInfoPropertyName = "IncludedItem592")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaLicenseAgreementType), TypeInfoPropertyName = "BetaLicenseAgreementType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaLicenseAgreementAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaLicenseAgreementRelationships))] @@ -1393,10 +1576,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaTesterRelationshipsBuildsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaTesterRelationshipsBuildsDataItemType), TypeInfoPropertyName = "BetaTesterRelationshipsBuildsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem58), TypeInfoPropertyName = "IncludedItem582")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem59), TypeInfoPropertyName = "IncludedItem592")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem60), TypeInfoPropertyName = "IncludedItem602")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem61), TypeInfoPropertyName = "IncludedItem612")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildBetaDetail))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildBetaDetailType), TypeInfoPropertyName = "BuildBetaDetailType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildBetaDetailAttributes))] @@ -1459,10 +1642,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildUploadRelationshipsAssetSpiFileDataType), TypeInfoPropertyName = "BuildUploadRelationshipsAssetSpiFileDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildUploadRelationshipsBuildUploadFiles))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem60), TypeInfoPropertyName = "IncludedItem602")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem61), TypeInfoPropertyName = "IncludedItem612")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem62), TypeInfoPropertyName = "IncludedItem622")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem63), TypeInfoPropertyName = "IncludedItem632")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildType), TypeInfoPropertyName = "BuildType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildAttributesProcessingState), TypeInfoPropertyName = "BuildAttributesProcessingState2")] @@ -1512,13 +1695,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildRelationshipsPerfPowerMetrics))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildRelationshipsDiagnosticSignatures))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem62), TypeInfoPropertyName = "IncludedItem622")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem64), TypeInfoPropertyName = "IncludedItem642")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildsResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "BuildsResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem63), TypeInfoPropertyName = "IncludedItem632")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem65), TypeInfoPropertyName = "IncludedItem652")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "BuildResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BundleIdCapability))] @@ -1546,12 +1729,24 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BundleIdRelationshipsAppData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BundleIdRelationshipsAppDataType), TypeInfoPropertyName = "BundleIdRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem64), TypeInfoPropertyName = "IncludedItem642")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem66), TypeInfoPropertyName = "IncludedItem662")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Profile))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem65), TypeInfoPropertyName = "IncludedItem652")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem67), TypeInfoPropertyName = "IncludedItem672")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Certificate))] + internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CertificateType), TypeInfoPropertyName = "CertificateType2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CertificateAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CertificateType2), TypeInfoPropertyName = "CertificateType22")] @@ -1614,16 +1809,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunRelationshipsPullRequestData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunRelationshipsPullRequestDataType), TypeInfoPropertyName = "CiBuildRunRelationshipsPullRequestDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem66), TypeInfoPropertyName = "IncludedItem662")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem68), TypeInfoPropertyName = "IncludedItem682")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiWorkflow))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmGitReference))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmPullRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "CiBuildRunsResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem67), TypeInfoPropertyName = "IncludedItem672")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem69), TypeInfoPropertyName = "IncludedItem692")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "CiBuildRunResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiIssue))] @@ -1662,12 +1857,12 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiProductRelationshipsAdditionalRepositories))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiProductRelationshipsBuildRuns))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem68), TypeInfoPropertyName = "IncludedItem682")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem70), TypeInfoPropertyName = "IncludedItem702")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepository))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiProductResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem69), TypeInfoPropertyName = "IncludedItem692")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem71), TypeInfoPropertyName = "IncludedItem712")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiProductResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "CiProductResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiTestResult))] @@ -1703,10 +1898,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiWorkflowRelationshipsMacOsVersionDataType), TypeInfoPropertyName = "CiWorkflowRelationshipsMacOsVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiWorkflowRelationshipsBuildRuns))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem70), TypeInfoPropertyName = "IncludedItem702")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem71), TypeInfoPropertyName = "IncludedItem712")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem72), TypeInfoPropertyName = "IncludedItem722")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem73), TypeInfoPropertyName = "IncludedItem732")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiXcodeVersionType), TypeInfoPropertyName = "CiXcodeVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiXcodeVersionAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -1727,16 +1922,6 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk1 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewResponseV1Relationships))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewResponseV1RelationshipsReview))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewResponseV1RelationshipsReviewData))] - internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewResponseV1RelationshipsReviewDataType), TypeInfoPropertyName = "CustomerReviewResponseV1RelationshipsReviewDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewResponseV1Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -1752,12 +1937,12 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewRelationshipsReviewTerritoryData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewRelationshipsReviewTerritoryDataType), TypeInfoPropertyName = "CustomerReviewRelationshipsReviewTerritoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem72), TypeInfoPropertyName = "IncludedItem722")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem74), TypeInfoPropertyName = "IncludedItem742")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "CustomerReviewsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem73), TypeInfoPropertyName = "IncludedItem732")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem75), TypeInfoPropertyName = "IncludedItem752")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Device))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.DeviceType), TypeInfoPropertyName = "DeviceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.DeviceAttributes))] @@ -1776,8 +1961,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.EndUserLicenseAgreementRelationshipsTerritoriesDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.EndUserLicenseAgreementRelationshipsTerritoriesDataItemType), TypeInfoPropertyName = "EndUserLicenseAgreementRelationshipsTerritoriesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem74), TypeInfoPropertyName = "IncludedItem742")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem76), TypeInfoPropertyName = "IncludedItem762")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementImage))] #pragma warning restore CS0618 @@ -1865,13 +2050,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsImageDataType), TypeInfoPropertyName = "GameCenterAchievementLocalizationV2RelationshipsImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem75), TypeInfoPropertyName = "IncludedItem752")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem77), TypeInfoPropertyName = "IncludedItem772")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem76), TypeInfoPropertyName = "IncludedItem762")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem78), TypeInfoPropertyName = "IncludedItem782")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationType), TypeInfoPropertyName = "GameCenterAchievementLocalizationType2")] #pragma warning restore CS0618 @@ -1899,13 +2084,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementImageDataType), TypeInfoPropertyName = "GameCenterAchievementLocalizationRelationshipsGameCenterAchievementImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem77), TypeInfoPropertyName = "IncludedItem772")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem79), TypeInfoPropertyName = "IncludedItem792")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievement))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem78), TypeInfoPropertyName = "IncludedItem782")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem80), TypeInfoPropertyName = "IncludedItem802")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementRelease))] #pragma warning restore CS0618 @@ -1942,16 +2127,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem79), TypeInfoPropertyName = "IncludedItem792")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem81), TypeInfoPropertyName = "IncludedItem812")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem80), TypeInfoPropertyName = "IncludedItem802")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem82), TypeInfoPropertyName = "IncludedItem822")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2Type), TypeInfoPropertyName = "GameCenterAchievementVersionV2Type2")] #pragma warning restore CS0618 @@ -1986,13 +2171,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem81), TypeInfoPropertyName = "IncludedItem812")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem83), TypeInfoPropertyName = "IncludedItem832")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementV2))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem82), TypeInfoPropertyName = "IncludedItem822")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem84), TypeInfoPropertyName = "IncludedItem842")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementV2Type), TypeInfoPropertyName = "GameCenterAchievementV2Type2")] #pragma warning restore CS0618 @@ -2047,8 +2232,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem83), TypeInfoPropertyName = "IncludedItem832")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem85), TypeInfoPropertyName = "IncludedItem852")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivity))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroup))] #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -2057,8 +2242,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem84), TypeInfoPropertyName = "IncludedItem842")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem86), TypeInfoPropertyName = "IncludedItem862")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementType), TypeInfoPropertyName = "GameCenterAchievementType2")] #pragma warning restore CS0618 @@ -2134,8 +2319,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem85), TypeInfoPropertyName = "IncludedItem852")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem87), TypeInfoPropertyName = "IncludedItem872")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 @@ -2145,8 +2330,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementResponse))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem86), TypeInfoPropertyName = "IncludedItem862")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem88), TypeInfoPropertyName = "IncludedItem882")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 @@ -2217,16 +2402,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityRelationshipsVersionsDataItemType), TypeInfoPropertyName = "GameCenterActivityRelationshipsVersionsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivitiesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem87), TypeInfoPropertyName = "IncludedItem872")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem89), TypeInfoPropertyName = "IncludedItem892")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityVersion))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboard))] #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterActivitiesResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem88), TypeInfoPropertyName = "IncludedItem882")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem90), TypeInfoPropertyName = "IncludedItem902")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityImage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityImageType), TypeInfoPropertyName = "GameCenterActivityImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityImageAttributes))] @@ -2242,10 +2427,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsImageData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsImageDataType), TypeInfoPropertyName = "GameCenterActivityLocalizationRelationshipsImageDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem89), TypeInfoPropertyName = "IncludedItem892")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem90), TypeInfoPropertyName = "IncludedItem902")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem91), TypeInfoPropertyName = "IncludedItem912")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem92), TypeInfoPropertyName = "IncludedItem922")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityVersionRelease))] #pragma warning restore CS0618 @@ -2285,10 +2470,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityVersionRelationshipsReleasesDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityVersionRelationshipsReleasesDataItemType), TypeInfoPropertyName = "GameCenterActivityVersionRelationshipsReleasesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem91), TypeInfoPropertyName = "IncludedItem912")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem92), TypeInfoPropertyName = "IncludedItem922")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem93), TypeInfoPropertyName = "IncludedItem932")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem94), TypeInfoPropertyName = "IncludedItem942")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionType), TypeInfoPropertyName = "GameCenterAppVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionRelationships))] @@ -2301,13 +2486,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionRelationshipsAppStoreVersionDataType), TypeInfoPropertyName = "GameCenterAppVersionRelationshipsAppStoreVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem93), TypeInfoPropertyName = "IncludedItem932")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem95), TypeInfoPropertyName = "IncludedItem952")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterAppVersionsResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem94), TypeInfoPropertyName = "IncludedItem942")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem96), TypeInfoPropertyName = "IncludedItem962")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterAppVersionResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeImage))] @@ -2325,11 +2510,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsImageData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsImageDataType), TypeInfoPropertyName = "GameCenterChallengeLocalizationRelationshipsImageDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem95), TypeInfoPropertyName = "IncludedItem952")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem97), TypeInfoPropertyName = "IncludedItem972")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersion))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem96), TypeInfoPropertyName = "IncludedItem962")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem98), TypeInfoPropertyName = "IncludedItem982")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelease))] #pragma warning restore CS0618 @@ -2354,6 +2539,18 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionType), TypeInfoPropertyName = "GameCenterChallengeVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionAttributes))] + internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelationships))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelationshipsChallenge))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelationshipsChallengeData))] @@ -2369,11 +2566,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImageData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImageDataType), TypeInfoPropertyName = "GameCenterChallengeVersionRelationshipsDefaultImageDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem97), TypeInfoPropertyName = "IncludedItem972")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem99), TypeInfoPropertyName = "IncludedItem992")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallenge))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem98), TypeInfoPropertyName = "IncludedItem982")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem100), TypeInfoPropertyName = "IncludedItem1002")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeType), TypeInfoPropertyName = "GameCenterChallengeType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeAttributesChallengeType), TypeInfoPropertyName = "GameCenterChallengeAttributesChallengeType2")] @@ -2408,12 +2605,12 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem99), TypeInfoPropertyName = "IncludedItem992")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem101), TypeInfoPropertyName = "IncludedItem1012")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterChallengesResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem100), TypeInfoPropertyName = "IncludedItem1002")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem102), TypeInfoPropertyName = "IncludedItem1022")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailPlayer))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailPlayerType), TypeInfoPropertyName = "GameCenterDetailPlayerType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailPlayerAttributes))] @@ -2613,8 +2810,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailRelationshipsChallengesMinimumPlatformVersionsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailRelationshipsChallengesMinimumPlatformVersionsDataItemType), TypeInfoPropertyName = "GameCenterDetailRelationshipsChallengesMinimumPlatformVersionsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem101), TypeInfoPropertyName = "IncludedItem1012")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem103), TypeInfoPropertyName = "IncludedItem1032")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardRelease))] #pragma warning restore CS0618 @@ -2625,8 +2822,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSet))] #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem102), TypeInfoPropertyName = "IncludedItem1022")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem104), TypeInfoPropertyName = "IncludedItem1042")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterDetailResponseIncludedItemDiscriminatorType2")] #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -2665,8 +2862,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem103), TypeInfoPropertyName = "IncludedItem1032")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem105), TypeInfoPropertyName = "IncludedItem1052")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 @@ -2707,16 +2904,6 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk2 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterLeaderboardSets))] #pragma warning restore CS0618 - internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 @@ -2771,11 +2958,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterChallengesDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterChallengesDataItemType), TypeInfoPropertyName = "GameCenterGroupRelationshipsGameCenterChallengesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem104), TypeInfoPropertyName = "IncludedItem1042")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem106), TypeInfoPropertyName = "IncludedItem1062")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroupResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem105), TypeInfoPropertyName = "IncludedItem1052")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem107), TypeInfoPropertyName = "IncludedItem1072")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterGroupResponseIncludedItemDiscriminatorType2")] #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -2868,10 +3055,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImageDataType), TypeInfoPropertyName = "GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem106), TypeInfoPropertyName = "IncludedItem1062")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem107), TypeInfoPropertyName = "IncludedItem1072")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem108), TypeInfoPropertyName = "IncludedItem1082")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem109), TypeInfoPropertyName = "IncludedItem1092")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Type), TypeInfoPropertyName = "GameCenterLeaderboardLocalizationV2Type2")] #pragma warning restore CS0618 @@ -2899,13 +3086,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsImageDataType), TypeInfoPropertyName = "GameCenterLeaderboardLocalizationV2RelationshipsImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem108), TypeInfoPropertyName = "IncludedItem1082")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem110), TypeInfoPropertyName = "IncludedItem1102")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem109), TypeInfoPropertyName = "IncludedItem1092")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem111), TypeInfoPropertyName = "IncludedItem1112")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardReleaseType), TypeInfoPropertyName = "GameCenterLeaderboardReleaseType2")] #pragma warning restore CS0618 @@ -2939,16 +3126,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem110), TypeInfoPropertyName = "IncludedItem1102")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem112), TypeInfoPropertyName = "IncludedItem1122")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem111), TypeInfoPropertyName = "IncludedItem1112")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem113), TypeInfoPropertyName = "IncludedItem1132")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImage))] #pragma warning restore CS0618 @@ -3036,10 +3223,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImageDataType), TypeInfoPropertyName = "GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem112), TypeInfoPropertyName = "IncludedItem1122")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem113), TypeInfoPropertyName = "IncludedItem1132")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem114), TypeInfoPropertyName = "IncludedItem1142")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem115), TypeInfoPropertyName = "IncludedItem1152")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Type), TypeInfoPropertyName = "GameCenterLeaderboardSetLocalizationV2Type2")] #pragma warning restore CS0618 @@ -3067,17 +3254,17 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsImageDataType), TypeInfoPropertyName = "GameCenterLeaderboardSetLocalizationV2RelationshipsImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem114), TypeInfoPropertyName = "IncludedItem1142")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem116), TypeInfoPropertyName = "IncludedItem1162")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem115), TypeInfoPropertyName = "IncludedItem1152")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem116), TypeInfoPropertyName = "IncludedItem1162")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem117), TypeInfoPropertyName = "IncludedItem1172")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem118), TypeInfoPropertyName = "IncludedItem1182")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem119), TypeInfoPropertyName = "IncludedItem1192")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleaseType), TypeInfoPropertyName = "GameCenterLeaderboardSetReleaseType2")] #pragma warning restore CS0618 @@ -3111,16 +3298,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem118), TypeInfoPropertyName = "IncludedItem1182")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem120), TypeInfoPropertyName = "IncludedItem1202")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem119), TypeInfoPropertyName = "IncludedItem1192")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem121), TypeInfoPropertyName = "IncludedItem1212")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Type), TypeInfoPropertyName = "GameCenterLeaderboardSetVersionV2Type2")] #pragma warning restore CS0618 @@ -3154,13 +3341,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem120), TypeInfoPropertyName = "IncludedItem1202")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem122), TypeInfoPropertyName = "IncludedItem1222")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem121), TypeInfoPropertyName = "IncludedItem1212")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem123), TypeInfoPropertyName = "IncludedItem1232")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2Type), TypeInfoPropertyName = "GameCenterLeaderboardSetV2Type2")] #pragma warning restore CS0618 @@ -3218,8 +3405,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem122), TypeInfoPropertyName = "IncludedItem1222")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem124), TypeInfoPropertyName = "IncludedItem1242")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardV2))] #pragma warning restore CS0618 @@ -3229,8 +3416,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem123), TypeInfoPropertyName = "IncludedItem1232")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem125), TypeInfoPropertyName = "IncludedItem1252")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetType), TypeInfoPropertyName = "GameCenterLeaderboardSetType2")] #pragma warning restore CS0618 @@ -3309,8 +3496,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem124), TypeInfoPropertyName = "IncludedItem1242")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem126), TypeInfoPropertyName = "IncludedItem1262")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 @@ -3320,8 +3507,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetResponse))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem125), TypeInfoPropertyName = "IncludedItem1252")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem127), TypeInfoPropertyName = "IncludedItem1272")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 @@ -3361,10 +3548,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem126), TypeInfoPropertyName = "IncludedItem1262")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem127), TypeInfoPropertyName = "IncludedItem1272")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem128), TypeInfoPropertyName = "IncludedItem1282")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem129), TypeInfoPropertyName = "IncludedItem1292")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardType), TypeInfoPropertyName = "GameCenterLeaderboardType2")] #pragma warning restore CS0618 @@ -3470,8 +3657,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem128), TypeInfoPropertyName = "IncludedItem1282")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem130), TypeInfoPropertyName = "IncludedItem1302")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 @@ -3481,8 +3668,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardResponse))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem129), TypeInfoPropertyName = "IncludedItem1292")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem131), TypeInfoPropertyName = "IncludedItem1312")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 @@ -3552,6 +3739,18 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsChallenge))] #pragma warning restore CS0618 + internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsChallengeData))] #pragma warning restore CS0618 @@ -3576,16 +3775,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem130), TypeInfoPropertyName = "IncludedItem1302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem132), TypeInfoPropertyName = "IncludedItem1322")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminator))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem131), TypeInfoPropertyName = "IncludedItem1312")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem133), TypeInfoPropertyName = "IncludedItem1332")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueue))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueType), TypeInfoPropertyName = "GameCenterMatchmakingQueueType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueAttributes))] @@ -3615,12 +3814,12 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueuesDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueuesDataItemType), TypeInfoPropertyName = "GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueuesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem134), TypeInfoPropertyName = "IncludedItem1342")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem136), TypeInfoPropertyName = "IncludedItem1362")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRule))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingTeam))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem135), TypeInfoPropertyName = "IncludedItem1352")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem137), TypeInfoPropertyName = "IncludedItem1372")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleType), TypeInfoPropertyName = "GameCenterMatchmakingRuleType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleAttributesType), TypeInfoPropertyName = "GameCenterMatchmakingRuleAttributesType2")] @@ -3949,13 +4148,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem136), TypeInfoPropertyName = "IncludedItem1362")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem138), TypeInfoPropertyName = "IncludedItem1382")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseOfferPrice))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem137), TypeInfoPropertyName = "IncludedItem1372")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem139), TypeInfoPropertyName = "IncludedItem1392")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseOfferPriceType), TypeInfoPropertyName = "InAppPurchaseOfferPriceType2")] #pragma warning restore CS0618 @@ -3971,16 +4170,6 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk3 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsTerritoryDataType), TypeInfoPropertyName = "InAppPurchaseOfferPriceRelationshipsTerritoryDataType2")] #pragma warning restore CS0618 - internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsPricePoint))] #pragma warning restore CS0618 @@ -3993,8 +4182,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem138), TypeInfoPropertyName = "IncludedItem1382")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem140), TypeInfoPropertyName = "IncludedItem1402")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchasePricePoint))] #pragma warning restore CS0618 @@ -4070,8 +4259,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchasePriceScheduleResponse))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem139), TypeInfoPropertyName = "IncludedItem1392")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem141), TypeInfoPropertyName = "IncludedItem1412")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchasePrice))] #pragma warning restore CS0618 @@ -4111,8 +4300,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem141), TypeInfoPropertyName = "IncludedItem1412")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem143), TypeInfoPropertyName = "IncludedItem1432")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseVersionType), TypeInfoPropertyName = "InAppPurchaseVersionType2")] #pragma warning restore CS0618 @@ -4167,10 +4356,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseVersionRelationshipsLocalizationsDataItemType), TypeInfoPropertyName = "InAppPurchaseVersionRelationshipsLocalizationsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem142), TypeInfoPropertyName = "IncludedItem1422")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem143), TypeInfoPropertyName = "IncludedItem1432")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem144), TypeInfoPropertyName = "IncludedItem1442")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem145), TypeInfoPropertyName = "IncludedItem1452")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseType), TypeInfoPropertyName = "InAppPurchaseType2_3")] #pragma warning restore CS0618 @@ -4321,19 +4510,19 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseV2RelationshipsVersionsDataItemType), TypeInfoPropertyName = "InAppPurchaseV2RelationshipsVersionsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem144), TypeInfoPropertyName = "IncludedItem1442")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem145), TypeInfoPropertyName = "IncludedItem1452")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem146), TypeInfoPropertyName = "IncludedItem1462")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem147), TypeInfoPropertyName = "IncludedItem1472")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.MarketplaceSearchDetail))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.MarketplaceSearchDetailType), TypeInfoPropertyName = "MarketplaceSearchDetailType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.MarketplaceSearchDetailAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.MarketplaceSearchDetailResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem146), TypeInfoPropertyName = "IncludedItem1462")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem147), TypeInfoPropertyName = "IncludedItem1472")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem148), TypeInfoPropertyName = "IncludedItem1482")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem149), TypeInfoPropertyName = "IncludedItem1492")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PassTypeIdType), TypeInfoPropertyName = "PassTypeIdType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PassTypeIdAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PassTypeIdRelationships))] @@ -4361,10 +4550,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PrereleaseVersionRelationshipsAppData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PrereleaseVersionRelationshipsAppDataType), TypeInfoPropertyName = "PrereleaseVersionRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem148), TypeInfoPropertyName = "IncludedItem1482")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem149), TypeInfoPropertyName = "IncludedItem1492")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem150), TypeInfoPropertyName = "IncludedItem1502")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem151), TypeInfoPropertyName = "IncludedItem1512")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileType), TypeInfoPropertyName = "ProfileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileAttributesProfileType), TypeInfoPropertyName = "ProfileAttributesProfileType2")] @@ -4382,10 +4571,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileRelationshipsCertificatesDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileRelationshipsCertificatesDataItemType), TypeInfoPropertyName = "ProfileRelationshipsCertificatesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem150), TypeInfoPropertyName = "IncludedItem1502")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem151), TypeInfoPropertyName = "IncludedItem1512")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem152), TypeInfoPropertyName = "IncludedItem1522")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem153), TypeInfoPropertyName = "IncludedItem1532")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseType), TypeInfoPropertyName = "PromotedPurchaseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseAttributesState), TypeInfoPropertyName = "PromotedPurchaseAttributesState2")] @@ -4397,12 +4586,12 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseRelationshipsSubscriptionData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseRelationshipsSubscriptionDataType), TypeInfoPropertyName = "PromotedPurchaseRelationshipsSubscriptionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem152), TypeInfoPropertyName = "IncludedItem1522")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem154), TypeInfoPropertyName = "IncludedItem1542")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Subscription))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem153), TypeInfoPropertyName = "IncludedItem1532")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem155), TypeInfoPropertyName = "IncludedItem1552")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "PromotedPurchaseResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItem))] @@ -4425,6 +4614,12 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEventData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEventDataType), TypeInfoPropertyName = "ReviewSubmissionItemRelationshipsAppEventDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType), TypeInfoPropertyName = "ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideo))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType), TypeInfoPropertyName = "ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType), TypeInfoPropertyName = "ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType2")] @@ -4453,12 +4648,12 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionGroupVersionData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionGroupVersionDataType), TypeInfoPropertyName = "ReviewSubmissionItemRelationshipsSubscriptionGroupVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem154), TypeInfoPropertyName = "IncludedItem1542")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem156), TypeInfoPropertyName = "IncludedItem1562")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersion))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem155), TypeInfoPropertyName = "IncludedItem1552")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem157), TypeInfoPropertyName = "IncludedItem1572")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionType), TypeInfoPropertyName = "ReviewSubmissionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionAttributesState), TypeInfoPropertyName = "ReviewSubmissionAttributesState2")] @@ -4481,12 +4676,12 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionRelationshipsLastUpdatedByActorDataType), TypeInfoPropertyName = "ReviewSubmissionRelationshipsLastUpdatedByActorDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem156), TypeInfoPropertyName = "IncludedItem1562")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem158), TypeInfoPropertyName = "IncludedItem1582")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "ReviewSubmissionsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem157), TypeInfoPropertyName = "IncludedItem1572")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem159), TypeInfoPropertyName = "IncludedItem1592")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.RoutingAppCoverageType), TypeInfoPropertyName = "RoutingAppCoverageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.RoutingAppCoverageAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.RoutingAppCoverageRelationships))] @@ -4514,6 +4709,18 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmPullRequestAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmPullRequestRelationships))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmPullRequestRelationshipsRepository))] + internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmPullRequestRelationshipsRepositoryData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmPullRequestRelationshipsRepositoryDataType), TypeInfoPropertyName = "ScmPullRequestRelationshipsRepositoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -4529,13 +4736,13 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoryRelationshipsGitReferences))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoryRelationshipsPullRequests))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoriesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem158), TypeInfoPropertyName = "IncludedItem1582")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem160), TypeInfoPropertyName = "IncludedItem1602")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "ScmRepositoriesResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoryResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem159), TypeInfoPropertyName = "IncludedItem1592")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem161), TypeInfoPropertyName = "IncludedItem1612")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType), TypeInfoPropertyName = "ScmRepositoryResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshot))] @@ -4609,10 +4816,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupVersionRelationshipsLocalizationsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupVersionRelationshipsLocalizationsDataItemType), TypeInfoPropertyName = "SubscriptionGroupVersionRelationshipsLocalizationsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem160), TypeInfoPropertyName = "IncludedItem1602")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem161), TypeInfoPropertyName = "IncludedItem1612")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem162), TypeInfoPropertyName = "IncludedItem1622")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem163), TypeInfoPropertyName = "IncludedItem1632")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupType), TypeInfoPropertyName = "SubscriptionGroupType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupRelationships))] @@ -4628,10 +4835,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupRelationshipsVersionsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupRelationshipsVersionsDataItemType), TypeInfoPropertyName = "SubscriptionGroupRelationshipsVersionsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem162), TypeInfoPropertyName = "IncludedItem1622")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem163), TypeInfoPropertyName = "IncludedItem1632")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem164), TypeInfoPropertyName = "IncludedItem1642")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem165), TypeInfoPropertyName = "IncludedItem1652")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionImage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionImageType), TypeInfoPropertyName = "SubscriptionImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionImageAttributes))] @@ -4663,11 +4870,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePointData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePointDataType), TypeInfoPropertyName = "SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePointDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem164), TypeInfoPropertyName = "IncludedItem1642")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem166), TypeInfoPropertyName = "IncludedItem1662")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPricePoint))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem165), TypeInfoPropertyName = "IncludedItem1652")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem167), TypeInfoPropertyName = "IncludedItem1672")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionLocalizationV2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionLocalizationV2Type), TypeInfoPropertyName = "SubscriptionLocalizationV2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionLocalizationV2Attributes))] @@ -4717,18 +4924,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk4 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsSubscriptionPricePointData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsSubscriptionPricePointDataType), TypeInfoPropertyName = "SubscriptionOfferCodePriceRelationshipsSubscriptionPricePointDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem166), TypeInfoPropertyName = "IncludedItem1662")] - internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem168), TypeInfoPropertyName = "IncludedItem1682")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodeType), TypeInfoPropertyName = "SubscriptionOfferCodeType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodeAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -4750,10 +4947,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodeRelationshipsPricesDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodeRelationshipsPricesDataItemType), TypeInfoPropertyName = "SubscriptionOfferCodeRelationshipsPricesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem167), TypeInfoPropertyName = "IncludedItem1672")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem168), TypeInfoPropertyName = "IncludedItem1682")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem169), TypeInfoPropertyName = "IncludedItem1692")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem170), TypeInfoPropertyName = "IncludedItem1702")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPlanAvailability))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPlanAvailabilityType), TypeInfoPropertyName = "SubscriptionPlanAvailabilityType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPlanAvailabilityAttributes))] @@ -4784,10 +4981,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPriceRelationshipsSubscriptionPricePointData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPriceRelationshipsSubscriptionPricePointDataType), TypeInfoPropertyName = "SubscriptionPriceRelationshipsSubscriptionPricePointDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem169), TypeInfoPropertyName = "IncludedItem1692")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem170), TypeInfoPropertyName = "IncludedItem1702")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem171), TypeInfoPropertyName = "IncludedItem1712")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem172), TypeInfoPropertyName = "IncludedItem1722")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPrice))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPriceType), TypeInfoPropertyName = "SubscriptionPromotionalOfferPriceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationships))] @@ -4798,8 +4995,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePointData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePointDataType), TypeInfoPropertyName = "SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePointDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem171), TypeInfoPropertyName = "IncludedItem1712")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem173), TypeInfoPropertyName = "IncludedItem1732")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOffer))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferType), TypeInfoPropertyName = "SubscriptionPromotionalOfferType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferAttributes))] @@ -4812,10 +5009,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsPricesDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsPricesDataItemType), TypeInfoPropertyName = "SubscriptionPromotionalOfferRelationshipsPricesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem172), TypeInfoPropertyName = "IncludedItem1722")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem173), TypeInfoPropertyName = "IncludedItem1732")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem174), TypeInfoPropertyName = "IncludedItem1742")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem175), TypeInfoPropertyName = "IncludedItem1752")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionType), TypeInfoPropertyName = "SubscriptionVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionAttributesState), TypeInfoPropertyName = "SubscriptionVersionAttributesState2")] @@ -4834,10 +5031,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionRelationshipsLocalizationsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionRelationshipsLocalizationsDataItemType), TypeInfoPropertyName = "SubscriptionVersionRelationshipsLocalizationsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem174), TypeInfoPropertyName = "IncludedItem1742")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem175), TypeInfoPropertyName = "IncludedItem1752")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem176), TypeInfoPropertyName = "IncludedItem1762")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem177), TypeInfoPropertyName = "IncludedItem1772")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionType), TypeInfoPropertyName = "SubscriptionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionAttributesState), TypeInfoPropertyName = "SubscriptionAttributesState2")] @@ -4901,11 +5098,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionRelationshipsVersionsDataItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionRelationshipsVersionsDataItemType), TypeInfoPropertyName = "SubscriptionRelationshipsVersionsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem176), TypeInfoPropertyName = "IncludedItem1762")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem178), TypeInfoPropertyName = "IncludedItem1782")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOffer))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem177), TypeInfoPropertyName = "IncludedItem1772")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem179), TypeInfoPropertyName = "IncludedItem1792")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.TerritoryType), TypeInfoPropertyName = "TerritoryType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.TerritoryAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.TerritoryInlineCreateType), TypeInfoPropertyName = "TerritoryInlineCreateType2")] @@ -4957,8 +5154,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferPriceRelationshipsSubscriptionPricePointData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferPriceRelationshipsSubscriptionPricePointDataType), TypeInfoPropertyName = "WinBackOfferPriceRelationshipsSubscriptionPricePointDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem179), TypeInfoPropertyName = "IncludedItem1792")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem181), TypeInfoPropertyName = "IncludedItem1812")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferType), TypeInfoPropertyName = "WinBackOfferType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferAttributes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IntegerRange))] @@ -5052,6 +5249,18 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItemDataPoint))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItemDataPointValues))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueSizesV1MetricResponseDataItemGranularity), TypeInfoPropertyName = "GameCenterMatchmakingQueueSizesV1MetricResponseDataItemGranularity2")] + internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueRequestsV1MetricResponseDataItem))] @@ -5111,7 +5320,6 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ErrorSourcePointer))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ErrorSourceParameter))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ErrorLinks))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.OneOf), TypeInfoPropertyName = "OneOfStringErrorLinksAssociated2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ErrorLinksAssociated))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ErrorLinksAssociatedMeta))] @@ -5241,16 +5449,6 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk5 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ActorType?), TypeInfoPropertyName = "NullableActorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ActorAttributesActorType?), TypeInfoPropertyName = "NullableActorAttributesActorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AgeRatingDeclarationType?), TypeInfoPropertyName = "NullableAgeRatingDeclarationType2")] - internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AgeRatingDeclarationAttributesAlcoholTobaccoOrDrugUseOrReferences?), TypeInfoPropertyName = "NullableAgeRatingDeclarationAttributesAlcoholTobaccoOrDrugUseOrReferences2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AgeRatingDeclarationAttributesContests?), TypeInfoPropertyName = "NullableAgeRatingDeclarationAttributesContests2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AgeRatingDeclarationAttributesGamblingSimulated?), TypeInfoPropertyName = "NullableAgeRatingDeclarationAttributesGamblingSimulated2")] @@ -5295,6 +5493,67 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AnalyticsReportType?), TypeInfoPropertyName = "NullableAnalyticsReportType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AnalyticsReportAttributesCategory?), TypeInfoPropertyName = "NullableAnalyticsReportAttributesCategory2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AndroidToIosAppMappingDetailType?), TypeInfoPropertyName = "NullableAndroidToIosAppMappingDetailType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryType?), TypeInfoPropertyName = "NullableAppAssetLibraryType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageType?), TypeInfoPropertyName = "NullableAppAssetLibraryImageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Attributes?), TypeInfoPropertyName = "NullableAttributes2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageAwaitingUploadAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageAwaitingUploadAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageUploadCompleteAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageUploadCompleteAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageFailedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageFailedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageReadyForReviewAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageReadyForReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageWaitingForReviewAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageWaitingForReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageInReviewAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageInReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageAcceptedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageAcceptedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageApprovedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageApprovedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageRejectedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageRejectedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageArchivedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryImageArchivedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState?), TypeInfoPropertyName = "NullableAppAssetLibraryImageAttributesDiscriminatorState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryImageRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory?), TypeInfoPropertyName = "NullableAppAssetLibraryAssetCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryAssetState?), TypeInfoPropertyName = "NullableAppAssetLibraryAssetState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementOrderingRequestCreateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementType2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryMediaType?), TypeInfoPropertyName = "NullableAppAssetLibraryMediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementType22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementState?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Relationships?), TypeInfoPropertyName = "NullableRelationships2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationships?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementImageRelationships2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationships?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementVideoRelationships2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementRelationshipsDiscriminatorMediaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementVideoAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem3?), TypeInfoPropertyName = "NullableIncludedItem32_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem4?), TypeInfoPropertyName = "NullableIncludedItem42_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCreateRequestDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "NullableAppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoType?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.Attributes2?), TypeInfoPropertyName = "NullableAttributes22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoAwaitingUploadAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoAwaitingUploadAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoUploadCompleteAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoUploadCompleteAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoFailedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoFailedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoReadyForReviewAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoReadyForReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoWaitingForReviewAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoWaitingForReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoInReviewAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoInReviewAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoAcceptedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoAcceptedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoApprovedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoApprovedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoRejectedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoRejectedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoArchivedAttributes?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoArchivedAttributes2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoAttributesDiscriminatorState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppAssetLibraryVideoRelationshipsPlacementsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAvailabilityV2Type?), TypeInfoPropertyName = "NullableAppAvailabilityV2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAvailabilityV2RelationshipsTerritoryAvailabilitiesDataItemType?), TypeInfoPropertyName = "NullableAppAvailabilityV2RelationshipsTerritoryAvailabilitiesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCategoryType?), TypeInfoPropertyName = "NullableAppCategoryType2")] @@ -5302,7 +5561,6 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCategoryRelationshipsSubcategoriesDataItemType?), TypeInfoPropertyName = "NullableAppCategoryRelationshipsSubcategoriesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCategoryRelationshipsParentDataType?), TypeInfoPropertyName = "NullableAppCategoryRelationshipsParentDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceImageType?), TypeInfoPropertyName = "NullableAppClipAdvancedExperienceImageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLocalizationType?), TypeInfoPropertyName = "NullableAppClipAdvancedExperienceLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceLanguage?), TypeInfoPropertyName = "NullableAppClipAdvancedExperienceLanguage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceType?), TypeInfoPropertyName = "NullableAppClipAdvancedExperienceType2")] @@ -5318,48 +5576,49 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsAppClipDataType?), TypeInfoPropertyName = "NullableAppClipAdvancedExperienceRelationshipsAppClipDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsHeaderImageDataType?), TypeInfoPropertyName = "NullableAppClipAdvancedExperienceRelationshipsHeaderImageDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAdvancedExperienceRelationshipsLocalizationsDataItemType?), TypeInfoPropertyName = "NullableAppClipAdvancedExperienceRelationshipsLocalizationsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem3?), TypeInfoPropertyName = "NullableIncludedItem32_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem4?), TypeInfoPropertyName = "NullableIncludedItem42_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem5?), TypeInfoPropertyName = "NullableIncludedItem52_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem6?), TypeInfoPropertyName = "NullableIncludedItem62_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetailType?), TypeInfoPropertyName = "NullableAppClipAppStoreReviewDetailType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipAppStoreReviewDetailRelationshipsAppClipDefaultExperienceDataType?), TypeInfoPropertyName = "NullableAppClipAppStoreReviewDetailRelationshipsAppClipDefaultExperienceDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationType?), TypeInfoPropertyName = "NullableAppClipDefaultExperienceLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipDefaultExperienceDataType?), TypeInfoPropertyName = "NullableAppClipDefaultExperienceLocalizationRelationshipsAppClipDefaultExperienceDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImageDataType?), TypeInfoPropertyName = "NullableAppClipDefaultExperienceLocalizationRelationshipsAppClipHeaderImageDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem5?), TypeInfoPropertyName = "NullableIncludedItem52_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem6?), TypeInfoPropertyName = "NullableIncludedItem62_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem7?), TypeInfoPropertyName = "NullableIncludedItem72_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem8?), TypeInfoPropertyName = "NullableIncludedItem82_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceType?), TypeInfoPropertyName = "NullableAppClipDefaultExperienceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDataType?), TypeInfoPropertyName = "NullableAppClipDefaultExperienceRelationshipsAppClipDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceRelationshipsReleaseWithAppStoreVersionDataType?), TypeInfoPropertyName = "NullableAppClipDefaultExperienceRelationshipsReleaseWithAppStoreVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipDefaultExperienceLocalizationsDataItemType?), TypeInfoPropertyName = "NullableAppClipDefaultExperienceRelationshipsAppClipDefaultExperienceLocalizationsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetailDataType?), TypeInfoPropertyName = "NullableAppClipDefaultExperienceRelationshipsAppClipAppStoreReviewDetailDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem7?), TypeInfoPropertyName = "NullableIncludedItem72_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem8?), TypeInfoPropertyName = "NullableIncludedItem82_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem9?), TypeInfoPropertyName = "NullableIncludedItem92_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem10?), TypeInfoPropertyName = "NullableIncludedItem102_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipDefaultExperienceResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppClipDefaultExperienceResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipHeaderImageType?), TypeInfoPropertyName = "NullableAppClipHeaderImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipHeaderImageRelationshipsAppClipDefaultExperienceLocalizationDataType?), TypeInfoPropertyName = "NullableAppClipHeaderImageRelationshipsAppClipDefaultExperienceLocalizationDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipType?), TypeInfoPropertyName = "NullableAppClipType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipRelationshipsAppDataType?), TypeInfoPropertyName = "NullableAppClipRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppClipRelationshipsAppClipDefaultExperiencesDataItemType?), TypeInfoPropertyName = "NullableAppClipRelationshipsAppClipDefaultExperiencesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem9?), TypeInfoPropertyName = "NullableIncludedItem92_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem10?), TypeInfoPropertyName = "NullableIncludedItem102_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem11?), TypeInfoPropertyName = "NullableIncludedItem112_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem12?), TypeInfoPropertyName = "NullableIncludedItem122_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppCustomProductPageVersionDataType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationRelationshipsAppCustomProductPageVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppScreenshotSetsDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationRelationshipsAppScreenshotSetsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsAppPreviewSetsDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationRelationshipsAppPreviewSetsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem11?), TypeInfoPropertyName = "NullableIncludedItem112_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem12?), TypeInfoPropertyName = "NullableIncludedItem122_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageLocalizationRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem13?), TypeInfoPropertyName = "NullableIncludedItem132_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem14?), TypeInfoPropertyName = "NullableIncludedItem142")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionType?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionAttributesState?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionAttributesState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageDataType?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionRelationshipsAppCustomProductPageDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizationsDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageVersionRelationshipsAppCustomProductPageLocalizationsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem13?), TypeInfoPropertyName = "NullableIncludedItem132")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem14?), TypeInfoPropertyName = "NullableIncludedItem142_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem15?), TypeInfoPropertyName = "NullableIncludedItem152_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem16?), TypeInfoPropertyName = "NullableIncludedItem162_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageType?), TypeInfoPropertyName = "NullableAppCustomProductPageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageRelationshipsAppDataType?), TypeInfoPropertyName = "NullableAppCustomProductPageRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppCustomProductPageRelationshipsAppCustomProductPageVersionsDataItemType?), TypeInfoPropertyName = "NullableAppCustomProductPageRelationshipsAppCustomProductPageVersionsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem15?), TypeInfoPropertyName = "NullableIncludedItem152_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem16?), TypeInfoPropertyName = "NullableIncludedItem162_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem17?), TypeInfoPropertyName = "NullableIncludedItem172_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem18?), TypeInfoPropertyName = "NullableIncludedItem182")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationDocumentType?), TypeInfoPropertyName = "NullableAppEncryptionDeclarationDocumentType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationType?), TypeInfoPropertyName = "NullableAppEncryptionDeclarationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationState?), TypeInfoPropertyName = "NullableAppEncryptionDeclarationState2")] @@ -5372,15 +5631,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationRelationshipsAppEncryptionDeclarationDocumentDataType?), TypeInfoPropertyName = "NullableAppEncryptionDeclarationRelationshipsAppEncryptionDeclarationDocumentDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem18?), TypeInfoPropertyName = "NullableIncludedItem182")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem20?), TypeInfoPropertyName = "NullableIncludedItem202")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEncryptionDeclarationsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppEncryptionDeclarationsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem19?), TypeInfoPropertyName = "NullableIncludedItem192")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem21?), TypeInfoPropertyName = "NullableIncludedItem212")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationType?), TypeInfoPropertyName = "NullableAppEventLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventDataType?), TypeInfoPropertyName = "NullableAppEventLocalizationRelationshipsAppEventDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventScreenshotsDataItemType?), TypeInfoPropertyName = "NullableAppEventLocalizationRelationshipsAppEventScreenshotsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClipsDataItemType?), TypeInfoPropertyName = "NullableAppEventLocalizationRelationshipsAppEventVideoClipsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem20?), TypeInfoPropertyName = "NullableIncludedItem202")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem21?), TypeInfoPropertyName = "NullableIncludedItem212")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppEventLocalizationRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem22?), TypeInfoPropertyName = "NullableIncludedItem222")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem23?), TypeInfoPropertyName = "NullableIncludedItem232")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventScreenshotType?), TypeInfoPropertyName = "NullableAppEventScreenshotType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventAssetType?), TypeInfoPropertyName = "NullableAppEventAssetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppEventScreenshotRelationshipsAppEventLocalizationDataType?), TypeInfoPropertyName = "NullableAppEventScreenshotRelationshipsAppEventLocalizationDataType2")] @@ -5420,8 +5680,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppInfoRelationshipsSecondaryCategoryDataType?), TypeInfoPropertyName = "NullableAppInfoRelationshipsSecondaryCategoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryOneDataType?), TypeInfoPropertyName = "NullableAppInfoRelationshipsSecondarySubcategoryOneDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppInfoRelationshipsSecondarySubcategoryTwoDataType?), TypeInfoPropertyName = "NullableAppInfoRelationshipsSecondarySubcategoryTwoDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem22?), TypeInfoPropertyName = "NullableIncludedItem222")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem23?), TypeInfoPropertyName = "NullableIncludedItem232")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem24?), TypeInfoPropertyName = "NullableIncludedItem242")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem25?), TypeInfoPropertyName = "NullableIncludedItem252")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppKeywordType?), TypeInfoPropertyName = "NullableAppKeywordType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSetType?), TypeInfoPropertyName = "NullableAppPreviewSetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PreviewType?), TypeInfoPropertyName = "NullablePreviewType2")] @@ -5429,37 +5689,37 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSetRelationshipsAppCustomProductPageLocalizationDataType?), TypeInfoPropertyName = "NullableAppPreviewSetRelationshipsAppCustomProductPageLocalizationDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "NullableAppPreviewSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSetRelationshipsAppPreviewsDataItemType?), TypeInfoPropertyName = "NullableAppPreviewSetRelationshipsAppPreviewsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem24?), TypeInfoPropertyName = "NullableIncludedItem242")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem26?), TypeInfoPropertyName = "NullableIncludedItem262")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewSetsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppPreviewSetsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem25?), TypeInfoPropertyName = "NullableIncludedItem252")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem27?), TypeInfoPropertyName = "NullableIncludedItem272")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewType?), TypeInfoPropertyName = "NullableAppPreviewType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPreviewRelationshipsAppPreviewSetDataType?), TypeInfoPropertyName = "NullableAppPreviewRelationshipsAppPreviewSetDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPricePointV3Type?), TypeInfoPropertyName = "NullableAppPricePointV3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPricePointV3RelationshipsAppDataType?), TypeInfoPropertyName = "NullableAppPricePointV3RelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPricePointV3RelationshipsTerritoryDataType?), TypeInfoPropertyName = "NullableAppPricePointV3RelationshipsTerritoryDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem26?), TypeInfoPropertyName = "NullableIncludedItem262")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem28?), TypeInfoPropertyName = "NullableIncludedItem282")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPricePointsV3ResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppPricePointsV3ResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem27?), TypeInfoPropertyName = "NullableIncludedItem272")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem29?), TypeInfoPropertyName = "NullableIncludedItem292")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleType?), TypeInfoPropertyName = "NullableAppPriceScheduleType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleRelationshipsAppDataType?), TypeInfoPropertyName = "NullableAppPriceScheduleRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleRelationshipsBaseTerritoryDataType?), TypeInfoPropertyName = "NullableAppPriceScheduleRelationshipsBaseTerritoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleRelationshipsManualPricesDataItemType?), TypeInfoPropertyName = "NullableAppPriceScheduleRelationshipsManualPricesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleRelationshipsAutomaticPricesDataItemType?), TypeInfoPropertyName = "NullableAppPriceScheduleRelationshipsAutomaticPricesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem28?), TypeInfoPropertyName = "NullableIncludedItem282")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem30?), TypeInfoPropertyName = "NullableIncludedItem302")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceScheduleResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppPriceScheduleResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceV2Type?), TypeInfoPropertyName = "NullableAppPriceV2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceV2RelationshipsAppPricePointDataType?), TypeInfoPropertyName = "NullableAppPriceV2RelationshipsAppPricePointDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppPriceV2RelationshipsTerritoryDataType?), TypeInfoPropertyName = "NullableAppPriceV2RelationshipsTerritoryDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem30?), TypeInfoPropertyName = "NullableIncludedItem302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem32?), TypeInfoPropertyName = "NullableIncludedItem322")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetType?), TypeInfoPropertyName = "NullableAppScreenshotSetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScreenshotDisplayType?), TypeInfoPropertyName = "NullableScreenshotDisplayType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionLocalizationDataType?), TypeInfoPropertyName = "NullableAppScreenshotSetRelationshipsAppStoreVersionLocalizationDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetRelationshipsAppCustomProductPageLocalizationDataType?), TypeInfoPropertyName = "NullableAppScreenshotSetRelationshipsAppCustomProductPageLocalizationDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "NullableAppScreenshotSetRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetRelationshipsAppScreenshotsDataItemType?), TypeInfoPropertyName = "NullableAppScreenshotSetRelationshipsAppScreenshotsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem31?), TypeInfoPropertyName = "NullableIncludedItem312")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem33?), TypeInfoPropertyName = "NullableIncludedItem332")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotSetsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppScreenshotSetsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem32?), TypeInfoPropertyName = "NullableIncludedItem322")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem34?), TypeInfoPropertyName = "NullableIncludedItem342")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotType?), TypeInfoPropertyName = "NullableAppScreenshotType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppScreenshotRelationshipsAppScreenshotSetDataType?), TypeInfoPropertyName = "NullableAppScreenshotRelationshipsAppScreenshotSetDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewAttachmentType?), TypeInfoPropertyName = "NullableAppStoreReviewAttachmentType2")] @@ -5467,7 +5727,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewDetailType?), TypeInfoPropertyName = "NullableAppStoreReviewDetailType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreVersionDataType?), TypeInfoPropertyName = "NullableAppStoreReviewDetailRelationshipsAppStoreVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewDetailRelationshipsAppStoreReviewAttachmentsDataItemType?), TypeInfoPropertyName = "NullableAppStoreReviewDetailRelationshipsAppStoreReviewAttachmentsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem33?), TypeInfoPropertyName = "NullableIncludedItem332")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem35?), TypeInfoPropertyName = "NullableIncludedItem352")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreReviewDetailResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppStoreReviewDetailResponseIncludedItemDiscriminatorType2")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationType2")] @@ -5481,8 +5741,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem34?), TypeInfoPropertyName = "NullableIncludedItem342")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem35?), TypeInfoPropertyName = "NullableIncludedItem352")] + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType2")] + #pragma warning restore CS0618 + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem36?), TypeInfoPropertyName = "NullableIncludedItem362")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem37?), TypeInfoPropertyName = "NullableIncludedItem372")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentType2")] #pragma warning restore CS0618 @@ -5495,8 +5758,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentTreatmentLocalizationsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentTreatmentRelationshipsAppStoreVersionExperimentTreatmentLocalizationsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem36?), TypeInfoPropertyName = "NullableIncludedItem362")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem37?), TypeInfoPropertyName = "NullableIncludedItem372")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem38?), TypeInfoPropertyName = "NullableIncludedItem382")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem39?), TypeInfoPropertyName = "NullableIncludedItem392")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2Type?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentV2Type2")] #pragma warning restore CS0618 @@ -5515,11 +5778,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentV2RelationshipsAppStoreVersionExperimentTreatmentsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentV2RelationshipsAppStoreVersionExperimentTreatmentsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem38?), TypeInfoPropertyName = "NullableIncludedItem382")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem40?), TypeInfoPropertyName = "NullableIncludedItem402")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentsV2ResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem39?), TypeInfoPropertyName = "NullableIncludedItem392")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem41?), TypeInfoPropertyName = "NullableIncludedItem412")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentType2")] #pragma warning restore CS0618 @@ -5532,15 +5795,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionExperimentRelationshipsAppStoreVersionExperimentTreatmentsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionExperimentRelationshipsAppStoreVersionExperimentTreatmentsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem40?), TypeInfoPropertyName = "NullableIncludedItem402")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem41?), TypeInfoPropertyName = "NullableIncludedItem412")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem42?), TypeInfoPropertyName = "NullableIncludedItem422")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem43?), TypeInfoPropertyName = "NullableIncludedItem432")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppStoreVersionDataType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationRelationshipsAppStoreVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppScreenshotSetsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationRelationshipsAppScreenshotSetsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsAppPreviewSetsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationRelationshipsAppPreviewSetsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem42?), TypeInfoPropertyName = "NullableIncludedItem422")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem43?), TypeInfoPropertyName = "NullableIncludedItem432")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionLocalizationRelationshipsPlacementsDataItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem44?), TypeInfoPropertyName = "NullableIncludedItem442")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem45?), TypeInfoPropertyName = "NullableIncludedItem452")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionPhasedReleaseType?), TypeInfoPropertyName = "NullableAppStoreVersionPhasedReleaseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PhasedReleaseState?), TypeInfoPropertyName = "NullablePhasedReleaseState2")] #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -5557,6 +5821,18 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionLocalizationsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionRelationshipsAppStoreVersionLocalizationsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsBuildDataType?), TypeInfoPropertyName = "NullableAppStoreVersionRelationshipsBuildDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionPhasedReleaseDataType?), TypeInfoPropertyName = "NullableAppStoreVersionRelationshipsAppStoreVersionPhasedReleaseDataType2")] + internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsGameCenterAppVersionDataType?), TypeInfoPropertyName = "NullableAppStoreVersionRelationshipsGameCenterAppVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsRoutingAppCoverageDataType?), TypeInfoPropertyName = "NullableAppStoreVersionRelationshipsRoutingAppCoverageDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreReviewDetailDataType?), TypeInfoPropertyName = "NullableAppStoreVersionRelationshipsAppStoreReviewDetailDataType2")] @@ -5565,8 +5841,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsDataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionRelationshipsAppStoreVersionExperimentsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsAppStoreVersionExperimentsV2DataItemType?), TypeInfoPropertyName = "NullableAppStoreVersionRelationshipsAppStoreVersionExperimentsV2DataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionRelationshipsAlternativeDistributionPackageDataType?), TypeInfoPropertyName = "NullableAppStoreVersionRelationshipsAlternativeDistributionPackageDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem44?), TypeInfoPropertyName = "NullableIncludedItem442")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem45?), TypeInfoPropertyName = "NullableIncludedItem452")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem46?), TypeInfoPropertyName = "NullableIncludedItem462")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem47?), TypeInfoPropertyName = "NullableIncludedItem472")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppStoreVersionResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppStoreVersionResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppTagType?), TypeInfoPropertyName = "NullableAppTagType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppTagRelationshipsTerritoriesDataItemType?), TypeInfoPropertyName = "NullableAppTagRelationshipsTerritoriesDataItemType2")] @@ -5602,8 +5878,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsGameCenterDetailDataType?), TypeInfoPropertyName = "NullableAppRelationshipsGameCenterDetailDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsAppStoreVersionExperimentsV2DataItemType?), TypeInfoPropertyName = "NullableAppRelationshipsAppStoreVersionExperimentsV2DataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppRelationshipsAndroidToIosAppMappingDetailsDataItemType?), TypeInfoPropertyName = "NullableAppRelationshipsAndroidToIosAppMappingDetailsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem46?), TypeInfoPropertyName = "NullableIncludedItem462")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem47?), TypeInfoPropertyName = "NullableIncludedItem472")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem48?), TypeInfoPropertyName = "NullableIncludedItem482")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem49?), TypeInfoPropertyName = "NullableIncludedItem492")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableAppResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetUploadFileType?), TypeInfoPropertyName = "NullableBackgroundAssetUploadFileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetUploadFileAttributesAssetType?), TypeInfoPropertyName = "NullableBackgroundAssetUploadFileAttributesAssetType2")] @@ -5624,15 +5900,15 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionRelationshipsAppStoreReleaseDataType?), TypeInfoPropertyName = "NullableBackgroundAssetVersionRelationshipsAppStoreReleaseDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionRelationshipsAssetFileDataType?), TypeInfoPropertyName = "NullableBackgroundAssetVersionRelationshipsAssetFileDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetVersionRelationshipsManifestFileDataType?), TypeInfoPropertyName = "NullableBackgroundAssetVersionRelationshipsManifestFileDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem48?), TypeInfoPropertyName = "NullableIncludedItem482")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem49?), TypeInfoPropertyName = "NullableIncludedItem492")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem50?), TypeInfoPropertyName = "NullableIncludedItem502")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem51?), TypeInfoPropertyName = "NullableIncludedItem512")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetType?), TypeInfoPropertyName = "NullableBackgroundAssetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetRelationshipsAppDataType?), TypeInfoPropertyName = "NullableBackgroundAssetRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetRelationshipsAppStoreVersionDataType?), TypeInfoPropertyName = "NullableBackgroundAssetRelationshipsAppStoreVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetRelationshipsInternalBetaVersionDataType?), TypeInfoPropertyName = "NullableBackgroundAssetRelationshipsInternalBetaVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BackgroundAssetRelationshipsExternalBetaVersionDataType?), TypeInfoPropertyName = "NullableBackgroundAssetRelationshipsExternalBetaVersionDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem50?), TypeInfoPropertyName = "NullableIncludedItem502")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem51?), TypeInfoPropertyName = "NullableIncludedItem512")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem52?), TypeInfoPropertyName = "NullableIncludedItem522")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem53?), TypeInfoPropertyName = "NullableIncludedItem532")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaAppClipInvocationLocalizationType?), TypeInfoPropertyName = "NullableBetaAppClipInvocationLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaAppClipInvocationType?), TypeInfoPropertyName = "NullableBetaAppClipInvocationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaAppClipInvocationRelationshipsBetaAppClipInvocationLocalizationsDataItemType?), TypeInfoPropertyName = "NullableBetaAppClipInvocationRelationshipsBetaAppClipInvocationLocalizationsDataItemType2")] @@ -5650,20 +5926,20 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.DeviceConnectionType?), TypeInfoPropertyName = "NullableDeviceConnectionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsBuildDataType?), TypeInfoPropertyName = "NullableBetaFeedbackCrashSubmissionRelationshipsBuildDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackCrashSubmissionRelationshipsTesterDataType?), TypeInfoPropertyName = "NullableBetaFeedbackCrashSubmissionRelationshipsTesterDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem52?), TypeInfoPropertyName = "NullableIncludedItem522")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem53?), TypeInfoPropertyName = "NullableIncludedItem532")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem54?), TypeInfoPropertyName = "NullableIncludedItem542")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem55?), TypeInfoPropertyName = "NullableIncludedItem552")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionType?), TypeInfoPropertyName = "NullableBetaFeedbackScreenshotSubmissionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsBuildDataType?), TypeInfoPropertyName = "NullableBetaFeedbackScreenshotSubmissionRelationshipsBuildDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaFeedbackScreenshotSubmissionRelationshipsTesterDataType?), TypeInfoPropertyName = "NullableBetaFeedbackScreenshotSubmissionRelationshipsTesterDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem54?), TypeInfoPropertyName = "NullableIncludedItem542")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem55?), TypeInfoPropertyName = "NullableIncludedItem552")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem56?), TypeInfoPropertyName = "NullableIncludedItem562")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem57?), TypeInfoPropertyName = "NullableIncludedItem572")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupType?), TypeInfoPropertyName = "NullableBetaGroupType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupRelationshipsAppDataType?), TypeInfoPropertyName = "NullableBetaGroupRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupRelationshipsBuildsDataItemType?), TypeInfoPropertyName = "NullableBetaGroupRelationshipsBuildsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupRelationshipsBetaTestersDataItemType?), TypeInfoPropertyName = "NullableBetaGroupRelationshipsBetaTestersDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaGroupRelationshipsBetaRecruitmentCriteriaDataType?), TypeInfoPropertyName = "NullableBetaGroupRelationshipsBetaRecruitmentCriteriaDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem56?), TypeInfoPropertyName = "NullableIncludedItem562")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem57?), TypeInfoPropertyName = "NullableIncludedItem572")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem58?), TypeInfoPropertyName = "NullableIncludedItem582")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem59?), TypeInfoPropertyName = "NullableIncludedItem592")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaLicenseAgreementType?), TypeInfoPropertyName = "NullableBetaLicenseAgreementType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaLicenseAgreementRelationshipsAppDataType?), TypeInfoPropertyName = "NullableBetaLicenseAgreementRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaRecruitmentCriterionType?), TypeInfoPropertyName = "NullableBetaRecruitmentCriterionType2")] @@ -5674,8 +5950,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaTesterRelationshipsAppsDataItemType?), TypeInfoPropertyName = "NullableBetaTesterRelationshipsAppsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaTesterRelationshipsBetaGroupsDataItemType?), TypeInfoPropertyName = "NullableBetaTesterRelationshipsBetaGroupsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BetaTesterRelationshipsBuildsDataItemType?), TypeInfoPropertyName = "NullableBetaTesterRelationshipsBuildsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem58?), TypeInfoPropertyName = "NullableIncludedItem582")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem59?), TypeInfoPropertyName = "NullableIncludedItem592")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem60?), TypeInfoPropertyName = "NullableIncludedItem602")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem61?), TypeInfoPropertyName = "NullableIncludedItem612")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildBetaDetailType?), TypeInfoPropertyName = "NullableBuildBetaDetailType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InternalBetaState?), TypeInfoPropertyName = "NullableInternalBetaState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ExternalBetaState?), TypeInfoPropertyName = "NullableExternalBetaState2")] @@ -5697,8 +5973,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildUploadRelationshipsAssetFileDataType?), TypeInfoPropertyName = "NullableBuildUploadRelationshipsAssetFileDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildUploadRelationshipsAssetDescriptionFileDataType?), TypeInfoPropertyName = "NullableBuildUploadRelationshipsAssetDescriptionFileDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildUploadRelationshipsAssetSpiFileDataType?), TypeInfoPropertyName = "NullableBuildUploadRelationshipsAssetSpiFileDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem60?), TypeInfoPropertyName = "NullableIncludedItem602")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem61?), TypeInfoPropertyName = "NullableIncludedItem612")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem62?), TypeInfoPropertyName = "NullableIncludedItem622")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem63?), TypeInfoPropertyName = "NullableIncludedItem632")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildType?), TypeInfoPropertyName = "NullableBuildType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildAttributesProcessingState?), TypeInfoPropertyName = "NullableBuildAttributesProcessingState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildAudienceType?), TypeInfoPropertyName = "NullableBuildAudienceType2")] @@ -5714,9 +5990,9 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildRelationshipsIconsDataItemType?), TypeInfoPropertyName = "NullableBuildRelationshipsIconsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildRelationshipsBuildBundlesDataItemType?), TypeInfoPropertyName = "NullableBuildRelationshipsBuildBundlesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildRelationshipsBuildUploadDataType?), TypeInfoPropertyName = "NullableBuildRelationshipsBuildUploadDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem62?), TypeInfoPropertyName = "NullableIncludedItem622")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem64?), TypeInfoPropertyName = "NullableIncludedItem642")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableBuildsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem63?), TypeInfoPropertyName = "NullableIncludedItem632")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem65?), TypeInfoPropertyName = "NullableIncludedItem652")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BuildResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableBuildResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BundleIdCapabilityType?), TypeInfoPropertyName = "NullableBundleIdCapabilityType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CapabilityType?), TypeInfoPropertyName = "NullableCapabilityType2")] @@ -5725,8 +6001,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BundleIdRelationshipsProfilesDataItemType?), TypeInfoPropertyName = "NullableBundleIdRelationshipsProfilesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BundleIdRelationshipsBundleIdCapabilitiesDataItemType?), TypeInfoPropertyName = "NullableBundleIdRelationshipsBundleIdCapabilitiesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.BundleIdRelationshipsAppDataType?), TypeInfoPropertyName = "NullableBundleIdRelationshipsAppDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem64?), TypeInfoPropertyName = "NullableIncludedItem642")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem65?), TypeInfoPropertyName = "NullableIncludedItem652")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem66?), TypeInfoPropertyName = "NullableIncludedItem662")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem67?), TypeInfoPropertyName = "NullableIncludedItem672")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CertificateType?), TypeInfoPropertyName = "NullableCertificateType2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CertificateType2?), TypeInfoPropertyName = "NullableCertificateType22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CertificateRelationshipsPassTypeIdDataType?), TypeInfoPropertyName = "NullableCertificateRelationshipsPassTypeIdDataType2")] @@ -5746,9 +6022,9 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunRelationshipsSourceBranchOrTagDataType?), TypeInfoPropertyName = "NullableCiBuildRunRelationshipsSourceBranchOrTagDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunRelationshipsDestinationBranchDataType?), TypeInfoPropertyName = "NullableCiBuildRunRelationshipsDestinationBranchDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunRelationshipsPullRequestDataType?), TypeInfoPropertyName = "NullableCiBuildRunRelationshipsPullRequestDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem66?), TypeInfoPropertyName = "NullableIncludedItem662")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem68?), TypeInfoPropertyName = "NullableIncludedItem682")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableCiBuildRunsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem67?), TypeInfoPropertyName = "NullableIncludedItem672")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem69?), TypeInfoPropertyName = "NullableIncludedItem692")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiBuildRunResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableCiBuildRunResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiIssueType?), TypeInfoPropertyName = "NullableCiIssueType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiIssueAttributesIssueType?), TypeInfoPropertyName = "NullableCiIssueAttributesIssueType2")] @@ -5759,8 +6035,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiProductRelationshipsAppDataType?), TypeInfoPropertyName = "NullableCiProductRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiProductRelationshipsBundleIdDataType?), TypeInfoPropertyName = "NullableCiProductRelationshipsBundleIdDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiProductRelationshipsPrimaryRepositoriesDataItemType?), TypeInfoPropertyName = "NullableCiProductRelationshipsPrimaryRepositoriesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem68?), TypeInfoPropertyName = "NullableIncludedItem682")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem69?), TypeInfoPropertyName = "NullableIncludedItem692")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem70?), TypeInfoPropertyName = "NullableIncludedItem702")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem71?), TypeInfoPropertyName = "NullableIncludedItem712")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiProductResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableCiProductResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiTestResultType?), TypeInfoPropertyName = "NullableCiTestResultType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiTestStatus?), TypeInfoPropertyName = "NullableCiTestStatus2")] @@ -5769,8 +6045,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiWorkflowRelationshipsRepositoryDataType?), TypeInfoPropertyName = "NullableCiWorkflowRelationshipsRepositoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiWorkflowRelationshipsXcodeVersionDataType?), TypeInfoPropertyName = "NullableCiWorkflowRelationshipsXcodeVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiWorkflowRelationshipsMacOsVersionDataType?), TypeInfoPropertyName = "NullableCiWorkflowRelationshipsMacOsVersionDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem70?), TypeInfoPropertyName = "NullableIncludedItem702")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem71?), TypeInfoPropertyName = "NullableIncludedItem712")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem72?), TypeInfoPropertyName = "NullableIncludedItem722")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem73?), TypeInfoPropertyName = "NullableIncludedItem732")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiXcodeVersionType?), TypeInfoPropertyName = "NullableCiXcodeVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiTestDestinationKind?), TypeInfoPropertyName = "NullableCiTestDestinationKind2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CiXcodeVersionRelationshipsMacOsVersionsDataItemType?), TypeInfoPropertyName = "NullableCiXcodeVersionRelationshipsMacOsVersionsDataItemType2")] @@ -5781,9 +6057,9 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.TerritoryCode?), TypeInfoPropertyName = "NullableTerritoryCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewRelationshipsResponseDataType?), TypeInfoPropertyName = "NullableCustomerReviewRelationshipsResponseDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewRelationshipsReviewTerritoryDataType?), TypeInfoPropertyName = "NullableCustomerReviewRelationshipsReviewTerritoryDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem72?), TypeInfoPropertyName = "NullableIncludedItem722")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem74?), TypeInfoPropertyName = "NullableIncludedItem742")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.CustomerReviewsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableCustomerReviewsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem73?), TypeInfoPropertyName = "NullableIncludedItem732")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem75?), TypeInfoPropertyName = "NullableIncludedItem752")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.DeviceType?), TypeInfoPropertyName = "NullableDeviceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.DeviceAttributesDeviceClass?), TypeInfoPropertyName = "NullableDeviceAttributesDeviceClass2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.DeviceAttributesStatus?), TypeInfoPropertyName = "NullableDeviceAttributesStatus2")] @@ -5791,7 +6067,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.EndUserLicenseAgreementType?), TypeInfoPropertyName = "NullableEndUserLicenseAgreementType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.EndUserLicenseAgreementRelationshipsAppDataType?), TypeInfoPropertyName = "NullableEndUserLicenseAgreementRelationshipsAppDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.EndUserLicenseAgreementRelationshipsTerritoriesDataItemType?), TypeInfoPropertyName = "NullableEndUserLicenseAgreementRelationshipsTerritoriesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem74?), TypeInfoPropertyName = "NullableIncludedItem742")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem76?), TypeInfoPropertyName = "NullableIncludedItem762")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementImageType?), TypeInfoPropertyName = "NullableGameCenterAchievementImageType2")] #pragma warning restore CS0618 @@ -5813,8 +6089,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationV2RelationshipsImageDataType?), TypeInfoPropertyName = "NullableGameCenterAchievementLocalizationV2RelationshipsImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem75?), TypeInfoPropertyName = "NullableIncludedItem752")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem76?), TypeInfoPropertyName = "NullableIncludedItem762")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem77?), TypeInfoPropertyName = "NullableIncludedItem772")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem78?), TypeInfoPropertyName = "NullableIncludedItem782")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationType?), TypeInfoPropertyName = "NullableGameCenterAchievementLocalizationType2")] #pragma warning restore CS0618 @@ -5824,8 +6100,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementLocalizationRelationshipsGameCenterAchievementImageDataType?), TypeInfoPropertyName = "NullableGameCenterAchievementLocalizationRelationshipsGameCenterAchievementImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem77?), TypeInfoPropertyName = "NullableIncludedItem772")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem78?), TypeInfoPropertyName = "NullableIncludedItem782")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem79?), TypeInfoPropertyName = "NullableIncludedItem792")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem80?), TypeInfoPropertyName = "NullableIncludedItem802")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementReleaseType?), TypeInfoPropertyName = "NullableGameCenterAchievementReleaseType2")] #pragma warning restore CS0618 @@ -5835,11 +6111,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementReleaseRelationshipsGameCenterAchievementDataType?), TypeInfoPropertyName = "NullableGameCenterAchievementReleaseRelationshipsGameCenterAchievementDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem79?), TypeInfoPropertyName = "NullableIncludedItem792")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem81?), TypeInfoPropertyName = "NullableIncludedItem812")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementReleasesResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterAchievementReleasesResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem80?), TypeInfoPropertyName = "NullableIncludedItem802")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem82?), TypeInfoPropertyName = "NullableIncludedItem822")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2Type?), TypeInfoPropertyName = "NullableGameCenterAchievementVersionV2Type2")] #pragma warning restore CS0618 @@ -5847,21 +6123,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk6 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsAchievementDataType?), TypeInfoPropertyName = "NullableGameCenterAchievementVersionV2RelationshipsAchievementDataType2")] #pragma warning restore CS0618 - internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementVersionV2RelationshipsLocalizationsDataItemType?), TypeInfoPropertyName = "NullableGameCenterAchievementVersionV2RelationshipsLocalizationsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem81?), TypeInfoPropertyName = "NullableIncludedItem812")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem82?), TypeInfoPropertyName = "NullableIncludedItem822")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem83?), TypeInfoPropertyName = "NullableIncludedItem832")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem84?), TypeInfoPropertyName = "NullableIncludedItem842")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementV2Type?), TypeInfoPropertyName = "NullableGameCenterAchievementV2Type2")] #pragma warning restore CS0618 @@ -5877,11 +6143,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementV2RelationshipsVersionsDataItemType?), TypeInfoPropertyName = "NullableGameCenterAchievementV2RelationshipsVersionsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem83?), TypeInfoPropertyName = "NullableIncludedItem832")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem85?), TypeInfoPropertyName = "NullableIncludedItem852")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementsV2ResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterAchievementsV2ResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem84?), TypeInfoPropertyName = "NullableIncludedItem842")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem86?), TypeInfoPropertyName = "NullableIncludedItem862")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementType?), TypeInfoPropertyName = "NullableGameCenterAchievementType2")] #pragma warning restore CS0618 @@ -5903,11 +6169,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementRelationshipsActivityDataType?), TypeInfoPropertyName = "NullableGameCenterAchievementRelationshipsActivityDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem85?), TypeInfoPropertyName = "NullableIncludedItem852")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem87?), TypeInfoPropertyName = "NullableIncludedItem872")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterAchievementsResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem86?), TypeInfoPropertyName = "NullableIncludedItem862")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem88?), TypeInfoPropertyName = "NullableIncludedItem882")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAchievementResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterAchievementResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 @@ -5928,15 +6194,15 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityRelationshipsLeaderboardsV2DataItemType?), TypeInfoPropertyName = "NullableGameCenterActivityRelationshipsLeaderboardsV2DataItemType2")] #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityRelationshipsVersionsDataItemType?), TypeInfoPropertyName = "NullableGameCenterActivityRelationshipsVersionsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem87?), TypeInfoPropertyName = "NullableIncludedItem872")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem89?), TypeInfoPropertyName = "NullableIncludedItem892")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivitiesResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterActivitiesResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem88?), TypeInfoPropertyName = "NullableIncludedItem882")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem90?), TypeInfoPropertyName = "NullableIncludedItem902")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityImageType?), TypeInfoPropertyName = "NullableGameCenterActivityImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityLocalizationType?), TypeInfoPropertyName = "NullableGameCenterActivityLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsVersionDataType?), TypeInfoPropertyName = "NullableGameCenterActivityLocalizationRelationshipsVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityLocalizationRelationshipsImageDataType?), TypeInfoPropertyName = "NullableGameCenterActivityLocalizationRelationshipsImageDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem89?), TypeInfoPropertyName = "NullableIncludedItem892")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem90?), TypeInfoPropertyName = "NullableIncludedItem902")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem91?), TypeInfoPropertyName = "NullableIncludedItem912")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem92?), TypeInfoPropertyName = "NullableIncludedItem922")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityVersionReleaseType?), TypeInfoPropertyName = "NullableGameCenterActivityVersionReleaseType2")] #pragma warning restore CS0618 @@ -5948,21 +6214,21 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityVersionRelationshipsLocalizationsDataItemType?), TypeInfoPropertyName = "NullableGameCenterActivityVersionRelationshipsLocalizationsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityVersionRelationshipsDefaultImageDataType?), TypeInfoPropertyName = "NullableGameCenterActivityVersionRelationshipsDefaultImageDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterActivityVersionRelationshipsReleasesDataItemType?), TypeInfoPropertyName = "NullableGameCenterActivityVersionRelationshipsReleasesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem91?), TypeInfoPropertyName = "NullableIncludedItem912")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem92?), TypeInfoPropertyName = "NullableIncludedItem922")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem93?), TypeInfoPropertyName = "NullableIncludedItem932")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem94?), TypeInfoPropertyName = "NullableIncludedItem942")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionType?), TypeInfoPropertyName = "NullableGameCenterAppVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionRelationshipsCompatibilityVersionsDataItemType?), TypeInfoPropertyName = "NullableGameCenterAppVersionRelationshipsCompatibilityVersionsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionRelationshipsAppStoreVersionDataType?), TypeInfoPropertyName = "NullableGameCenterAppVersionRelationshipsAppStoreVersionDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem93?), TypeInfoPropertyName = "NullableIncludedItem932")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem95?), TypeInfoPropertyName = "NullableIncludedItem952")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterAppVersionsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem94?), TypeInfoPropertyName = "NullableIncludedItem942")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem96?), TypeInfoPropertyName = "NullableIncludedItem962")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterAppVersionResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterAppVersionResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeImageType?), TypeInfoPropertyName = "NullableGameCenterChallengeImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeLocalizationType?), TypeInfoPropertyName = "NullableGameCenterChallengeLocalizationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsVersionDataType?), TypeInfoPropertyName = "NullableGameCenterChallengeLocalizationRelationshipsVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeLocalizationRelationshipsImageDataType?), TypeInfoPropertyName = "NullableGameCenterChallengeLocalizationRelationshipsImageDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem95?), TypeInfoPropertyName = "NullableIncludedItem952")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem96?), TypeInfoPropertyName = "NullableIncludedItem962")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem97?), TypeInfoPropertyName = "NullableIncludedItem972")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem98?), TypeInfoPropertyName = "NullableIncludedItem982")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionReleaseType?), TypeInfoPropertyName = "NullableGameCenterChallengeVersionReleaseType2")] #pragma warning restore CS0618 @@ -5974,8 +6240,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelationshipsLocalizationsDataItemType?), TypeInfoPropertyName = "NullableGameCenterChallengeVersionRelationshipsLocalizationsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelationshipsReleasesDataItemType?), TypeInfoPropertyName = "NullableGameCenterChallengeVersionRelationshipsReleasesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeVersionRelationshipsDefaultImageDataType?), TypeInfoPropertyName = "NullableGameCenterChallengeVersionRelationshipsDefaultImageDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem97?), TypeInfoPropertyName = "NullableIncludedItem972")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem98?), TypeInfoPropertyName = "NullableIncludedItem982")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem99?), TypeInfoPropertyName = "NullableIncludedItem992")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem100?), TypeInfoPropertyName = "NullableIncludedItem1002")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeType?), TypeInfoPropertyName = "NullableGameCenterChallengeType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeAttributesChallengeType?), TypeInfoPropertyName = "NullableGameCenterChallengeAttributesChallengeType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeRelationshipsGameCenterDetailDataType?), TypeInfoPropertyName = "NullableGameCenterChallengeRelationshipsGameCenterDetailDataType2")] @@ -5987,9 +6253,9 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengeRelationshipsLeaderboardV2DataType?), TypeInfoPropertyName = "NullableGameCenterChallengeRelationshipsLeaderboardV2DataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem99?), TypeInfoPropertyName = "NullableIncludedItem992")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem101?), TypeInfoPropertyName = "NullableIncludedItem1012")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterChallengesResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterChallengesResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem100?), TypeInfoPropertyName = "NullableIncludedItem1002")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem102?), TypeInfoPropertyName = "NullableIncludedItem1022")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailPlayerType?), TypeInfoPropertyName = "NullableGameCenterDetailPlayerType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailType?), TypeInfoPropertyName = "NullableGameCenterDetailType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailRelationshipsAppDataType?), TypeInfoPropertyName = "NullableGameCenterDetailRelationshipsAppDataType2")] @@ -6043,8 +6309,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailRelationshipsLeaderboardSetReleasesDataItemType?), TypeInfoPropertyName = "NullableGameCenterDetailRelationshipsLeaderboardSetReleasesDataItemType2")] #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailRelationshipsChallengesMinimumPlatformVersionsDataItemType?), TypeInfoPropertyName = "NullableGameCenterDetailRelationshipsChallengesMinimumPlatformVersionsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem101?), TypeInfoPropertyName = "NullableIncludedItem1012")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem102?), TypeInfoPropertyName = "NullableIncludedItem1022")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem103?), TypeInfoPropertyName = "NullableIncludedItem1032")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem104?), TypeInfoPropertyName = "NullableIncludedItem1042")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterDetailResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterDetailResponseIncludedItemDiscriminatorType2")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterEnabledVersionType?), TypeInfoPropertyName = "NullableGameCenterEnabledVersionType2")] @@ -6055,7 +6321,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterEnabledVersionRelationshipsAppDataType?), TypeInfoPropertyName = "NullableGameCenterEnabledVersionRelationshipsAppDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem103?), TypeInfoPropertyName = "NullableIncludedItem1032")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem105?), TypeInfoPropertyName = "NullableIncludedItem1052")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterEnabledVersionsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterEnabledVersionsResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 @@ -6081,8 +6347,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterActivitiesDataItemType?), TypeInfoPropertyName = "NullableGameCenterGroupRelationshipsGameCenterActivitiesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroupRelationshipsGameCenterChallengesDataItemType?), TypeInfoPropertyName = "NullableGameCenterGroupRelationshipsGameCenterChallengesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem104?), TypeInfoPropertyName = "NullableIncludedItem1042")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem105?), TypeInfoPropertyName = "NullableIncludedItem1052")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem106?), TypeInfoPropertyName = "NullableIncludedItem1062")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem107?), TypeInfoPropertyName = "NullableIncludedItem1072")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterGroupResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterGroupResponseIncludedItemDiscriminatorType2")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardImageType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardImageType2")] @@ -6108,8 +6374,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImageDataType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardLocalizationRelationshipsGameCenterLeaderboardImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem106?), TypeInfoPropertyName = "NullableIncludedItem1062")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem107?), TypeInfoPropertyName = "NullableIncludedItem1072")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem108?), TypeInfoPropertyName = "NullableIncludedItem1082")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem109?), TypeInfoPropertyName = "NullableIncludedItem1092")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2Type?), TypeInfoPropertyName = "NullableGameCenterLeaderboardLocalizationV2Type2")] #pragma warning restore CS0618 @@ -6119,8 +6385,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardLocalizationV2RelationshipsImageDataType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardLocalizationV2RelationshipsImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem108?), TypeInfoPropertyName = "NullableIncludedItem1082")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem109?), TypeInfoPropertyName = "NullableIncludedItem1092")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem110?), TypeInfoPropertyName = "NullableIncludedItem1102")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem111?), TypeInfoPropertyName = "NullableIncludedItem1112")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardReleaseType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardReleaseType2")] #pragma warning restore CS0618 @@ -6130,11 +6396,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardReleaseRelationshipsGameCenterLeaderboardDataType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardReleaseRelationshipsGameCenterLeaderboardDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem110?), TypeInfoPropertyName = "NullableIncludedItem1102")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem112?), TypeInfoPropertyName = "NullableIncludedItem1122")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardReleasesResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem111?), TypeInfoPropertyName = "NullableIncludedItem1112")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem113?), TypeInfoPropertyName = "NullableIncludedItem1132")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetImageType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetImageType2")] #pragma warning restore CS0618 @@ -6156,8 +6422,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImageDataType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetLocalizationRelationshipsGameCenterLeaderboardSetImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem112?), TypeInfoPropertyName = "NullableIncludedItem1122")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem113?), TypeInfoPropertyName = "NullableIncludedItem1132")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem114?), TypeInfoPropertyName = "NullableIncludedItem1142")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem115?), TypeInfoPropertyName = "NullableIncludedItem1152")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2Type?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetLocalizationV2Type2")] #pragma warning restore CS0618 @@ -6167,10 +6433,10 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetLocalizationV2RelationshipsImageDataType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetLocalizationV2RelationshipsImageDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem114?), TypeInfoPropertyName = "NullableIncludedItem1142")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem115?), TypeInfoPropertyName = "NullableIncludedItem1152")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem116?), TypeInfoPropertyName = "NullableIncludedItem1162")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem117?), TypeInfoPropertyName = "NullableIncludedItem1172")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem118?), TypeInfoPropertyName = "NullableIncludedItem1182")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem119?), TypeInfoPropertyName = "NullableIncludedItem1192")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleaseType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetReleaseType2")] #pragma warning restore CS0618 @@ -6180,11 +6446,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleaseRelationshipsGameCenterLeaderboardSetDataType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetReleaseRelationshipsGameCenterLeaderboardSetDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem118?), TypeInfoPropertyName = "NullableIncludedItem1182")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem120?), TypeInfoPropertyName = "NullableIncludedItem1202")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetReleasesResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem119?), TypeInfoPropertyName = "NullableIncludedItem1192")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem121?), TypeInfoPropertyName = "NullableIncludedItem1212")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2Type?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetVersionV2Type2")] #pragma warning restore CS0618 @@ -6194,8 +6460,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetVersionV2RelationshipsLocalizationsDataItemType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetVersionV2RelationshipsLocalizationsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem120?), TypeInfoPropertyName = "NullableIncludedItem1202")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem121?), TypeInfoPropertyName = "NullableIncludedItem1212")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem122?), TypeInfoPropertyName = "NullableIncludedItem1222")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem123?), TypeInfoPropertyName = "NullableIncludedItem1232")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2Type?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetV2Type2")] #pragma warning restore CS0618 @@ -6211,11 +6477,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetV2RelationshipsVersionsDataItemType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetV2RelationshipsVersionsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem122?), TypeInfoPropertyName = "NullableIncludedItem1222")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem124?), TypeInfoPropertyName = "NullableIncludedItem1242")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetsV2ResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem123?), TypeInfoPropertyName = "NullableIncludedItem1232")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem125?), TypeInfoPropertyName = "NullableIncludedItem1252")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetType2")] #pragma warning restore CS0618 @@ -6237,11 +6503,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetRelationshipsReleasesDataItemType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetRelationshipsReleasesDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem124?), TypeInfoPropertyName = "NullableIncludedItem1242")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem126?), TypeInfoPropertyName = "NullableIncludedItem1262")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetsResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem125?), TypeInfoPropertyName = "NullableIncludedItem1252")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem127?), TypeInfoPropertyName = "NullableIncludedItem1272")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardSetResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardSetResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 @@ -6254,8 +6520,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardVersionV2RelationshipsLocalizationsDataItemType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardVersionV2RelationshipsLocalizationsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem126?), TypeInfoPropertyName = "NullableIncludedItem1262")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem127?), TypeInfoPropertyName = "NullableIncludedItem1272")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem128?), TypeInfoPropertyName = "NullableIncludedItem1282")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem129?), TypeInfoPropertyName = "NullableIncludedItem1292")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardType2")] #pragma warning restore CS0618 @@ -6292,11 +6558,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardRelationshipsChallengeDataType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardRelationshipsChallengeDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem128?), TypeInfoPropertyName = "NullableIncludedItem1282")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem130?), TypeInfoPropertyName = "NullableIncludedItem1302")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardsResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem129?), TypeInfoPropertyName = "NullableIncludedItem1292")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem131?), TypeInfoPropertyName = "NullableIncludedItem1312")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 @@ -6330,11 +6596,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardV2RelationshipsVersionsDataItemType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardV2RelationshipsVersionsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem130?), TypeInfoPropertyName = "NullableIncludedItem1302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem132?), TypeInfoPropertyName = "NullableIncludedItem1322")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableGameCenterLeaderboardsV2ResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem131?), TypeInfoPropertyName = "NullableIncludedItem1312")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem133?), TypeInfoPropertyName = "NullableIncludedItem1332")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingQueueType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsRuleSetDataType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingQueueRelationshipsRuleSetDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingQueueRelationshipsExperimentRuleSetDataType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingQueueRelationshipsExperimentRuleSetDataType2")] @@ -6342,8 +6608,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsTeamsDataItemType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingRuleSetRelationshipsTeamsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsRulesDataItemType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingRuleSetRelationshipsRulesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleSetRelationshipsMatchmakingQueuesDataItemType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingRuleSetRelationshipsMatchmakingQueuesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem134?), TypeInfoPropertyName = "NullableIncludedItem1342")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem135?), TypeInfoPropertyName = "NullableIncludedItem1352")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem136?), TypeInfoPropertyName = "NullableIncludedItem1362")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem137?), TypeInfoPropertyName = "NullableIncludedItem1372")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingRuleType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingRuleAttributesType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingRuleAttributesType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.GameCenterMatchmakingTeamType?), TypeInfoPropertyName = "NullableGameCenterMatchmakingTeamType2")] @@ -6361,6 +6627,18 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseAvailabilityRelationshipsAvailableTerritoriesDataItemType?), TypeInfoPropertyName = "NullableInAppPurchaseAvailabilityRelationshipsAvailableTerritoriesDataItemType2")] #pragma warning restore CS0618 + internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseContentType?), TypeInfoPropertyName = "NullableInAppPurchaseContentType2")] #pragma warning restore CS0618 @@ -6431,8 +6709,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseOfferCodeRelationshipsPricesDataItemType?), TypeInfoPropertyName = "NullableInAppPurchaseOfferCodeRelationshipsPricesDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem136?), TypeInfoPropertyName = "NullableIncludedItem1362")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem137?), TypeInfoPropertyName = "NullableIncludedItem1372")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem138?), TypeInfoPropertyName = "NullableIncludedItem1382")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem139?), TypeInfoPropertyName = "NullableIncludedItem1392")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseOfferPriceType?), TypeInfoPropertyName = "NullableInAppPurchaseOfferPriceType2")] #pragma warning restore CS0618 @@ -6442,7 +6720,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseOfferPriceRelationshipsPricePointDataType?), TypeInfoPropertyName = "NullableInAppPurchaseOfferPriceRelationshipsPricePointDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem138?), TypeInfoPropertyName = "NullableIncludedItem1382")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem140?), TypeInfoPropertyName = "NullableIncludedItem1402")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchasePricePointType?), TypeInfoPropertyName = "NullableInAppPurchasePricePointType2")] #pragma warning restore CS0618 @@ -6461,7 +6739,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchasePriceScheduleRelationshipsAutomaticPricesDataItemType?), TypeInfoPropertyName = "NullableInAppPurchasePriceScheduleRelationshipsAutomaticPricesDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem139?), TypeInfoPropertyName = "NullableIncludedItem1392")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem141?), TypeInfoPropertyName = "NullableIncludedItem1412")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableInAppPurchasePriceScheduleResponseIncludedItemDiscriminatorType2")] #pragma warning restore CS0618 @@ -6474,7 +6752,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchasePriceRelationshipsTerritoryDataType?), TypeInfoPropertyName = "NullableInAppPurchasePriceRelationshipsTerritoryDataType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem141?), TypeInfoPropertyName = "NullableIncludedItem1412")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem143?), TypeInfoPropertyName = "NullableIncludedItem1432")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseVersionType?), TypeInfoPropertyName = "NullableInAppPurchaseVersionType2")] #pragma warning restore CS0618 @@ -6493,8 +6771,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseVersionRelationshipsLocalizationsDataItemType?), TypeInfoPropertyName = "NullableInAppPurchaseVersionRelationshipsLocalizationsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem142?), TypeInfoPropertyName = "NullableIncludedItem1422")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem143?), TypeInfoPropertyName = "NullableIncludedItem1432")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem144?), TypeInfoPropertyName = "NullableIncludedItem1442")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem145?), TypeInfoPropertyName = "NullableIncludedItem1452")] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseType?), TypeInfoPropertyName = "NullableInAppPurchaseType2_3")] #pragma warning restore CS0618 @@ -6546,11 +6824,11 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.InAppPurchaseV2RelationshipsVersionsDataItemType?), TypeInfoPropertyName = "NullableInAppPurchaseV2RelationshipsVersionsDataItemType2")] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem144?), TypeInfoPropertyName = "NullableIncludedItem1442")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem145?), TypeInfoPropertyName = "NullableIncludedItem1452")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.MarketplaceSearchDetailType?), TypeInfoPropertyName = "NullableMarketplaceSearchDetailType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem146?), TypeInfoPropertyName = "NullableIncludedItem1462")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem147?), TypeInfoPropertyName = "NullableIncludedItem1472")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.MarketplaceSearchDetailType?), TypeInfoPropertyName = "NullableMarketplaceSearchDetailType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem148?), TypeInfoPropertyName = "NullableIncludedItem1482")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem149?), TypeInfoPropertyName = "NullableIncludedItem1492")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PassTypeIdType?), TypeInfoPropertyName = "NullablePassTypeIdType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PassTypeIdRelationshipsCertificatesDataItemType?), TypeInfoPropertyName = "NullablePassTypeIdRelationshipsCertificatesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PerfPowerMetricType?), TypeInfoPropertyName = "NullablePerfPowerMetricType2")] @@ -6560,22 +6838,22 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PrereleaseVersionType?), TypeInfoPropertyName = "NullablePrereleaseVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PrereleaseVersionRelationshipsBuildsDataItemType?), TypeInfoPropertyName = "NullablePrereleaseVersionRelationshipsBuildsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PrereleaseVersionRelationshipsAppDataType?), TypeInfoPropertyName = "NullablePrereleaseVersionRelationshipsAppDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem148?), TypeInfoPropertyName = "NullableIncludedItem1482")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem149?), TypeInfoPropertyName = "NullableIncludedItem1492")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem150?), TypeInfoPropertyName = "NullableIncludedItem1502")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem151?), TypeInfoPropertyName = "NullableIncludedItem1512")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileType?), TypeInfoPropertyName = "NullableProfileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileAttributesProfileType?), TypeInfoPropertyName = "NullableProfileAttributesProfileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileAttributesProfileState?), TypeInfoPropertyName = "NullableProfileAttributesProfileState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileRelationshipsBundleIdDataType?), TypeInfoPropertyName = "NullableProfileRelationshipsBundleIdDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileRelationshipsDevicesDataItemType?), TypeInfoPropertyName = "NullableProfileRelationshipsDevicesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ProfileRelationshipsCertificatesDataItemType?), TypeInfoPropertyName = "NullableProfileRelationshipsCertificatesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem150?), TypeInfoPropertyName = "NullableIncludedItem1502")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem151?), TypeInfoPropertyName = "NullableIncludedItem1512")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem152?), TypeInfoPropertyName = "NullableIncludedItem1522")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem153?), TypeInfoPropertyName = "NullableIncludedItem1532")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseType?), TypeInfoPropertyName = "NullablePromotedPurchaseType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseAttributesState?), TypeInfoPropertyName = "NullablePromotedPurchaseAttributesState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseRelationshipsInAppPurchaseV2DataType?), TypeInfoPropertyName = "NullablePromotedPurchaseRelationshipsInAppPurchaseV2DataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseRelationshipsSubscriptionDataType?), TypeInfoPropertyName = "NullablePromotedPurchaseRelationshipsSubscriptionDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem152?), TypeInfoPropertyName = "NullableIncludedItem1522")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem153?), TypeInfoPropertyName = "NullableIncludedItem1532")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem154?), TypeInfoPropertyName = "NullableIncludedItem1542")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem155?), TypeInfoPropertyName = "NullableIncludedItem1552")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.PromotedPurchaseResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullablePromotedPurchaseResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemType?), TypeInfoPropertyName = "NullableReviewSubmissionItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemAttributesState?), TypeInfoPropertyName = "NullableReviewSubmissionItemAttributesState2")] @@ -6584,6 +6862,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsAppStoreVersionExperimentDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppStoreVersionExperimentV2DataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsAppStoreVersionExperimentV2DataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEventDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsAppEventDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterAchievementVersionDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsGameCenterAchievementVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsGameCenterActivityVersionDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsGameCenterActivityVersionDataType2")] @@ -6593,8 +6873,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsInAppPurchaseVersionDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsInAppPurchaseVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionVersionDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsSubscriptionVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsSubscriptionGroupVersionDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemRelationshipsSubscriptionGroupVersionDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem154?), TypeInfoPropertyName = "NullableIncludedItem1542")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem155?), TypeInfoPropertyName = "NullableIncludedItem1552")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem156?), TypeInfoPropertyName = "NullableIncludedItem1562")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem157?), TypeInfoPropertyName = "NullableIncludedItem1572")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionType?), TypeInfoPropertyName = "NullableReviewSubmissionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionAttributesState?), TypeInfoPropertyName = "NullableReviewSubmissionAttributesState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionRelationshipsAppDataType?), TypeInfoPropertyName = "NullableReviewSubmissionRelationshipsAppDataType2")] @@ -6602,9 +6882,9 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionRelationshipsAppStoreVersionForReviewDataType?), TypeInfoPropertyName = "NullableReviewSubmissionRelationshipsAppStoreVersionForReviewDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionRelationshipsSubmittedByActorDataType?), TypeInfoPropertyName = "NullableReviewSubmissionRelationshipsSubmittedByActorDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionRelationshipsLastUpdatedByActorDataType?), TypeInfoPropertyName = "NullableReviewSubmissionRelationshipsLastUpdatedByActorDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem156?), TypeInfoPropertyName = "NullableIncludedItem1562")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem158?), TypeInfoPropertyName = "NullableIncludedItem1582")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableReviewSubmissionsResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem157?), TypeInfoPropertyName = "NullableIncludedItem1572")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem159?), TypeInfoPropertyName = "NullableIncludedItem1592")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.RoutingAppCoverageType?), TypeInfoPropertyName = "NullableRoutingAppCoverageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.RoutingAppCoverageRelationshipsAppStoreVersionDataType?), TypeInfoPropertyName = "NullableRoutingAppCoverageRelationshipsAppStoreVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmGitReferenceType?), TypeInfoPropertyName = "NullableScmGitReferenceType2")] @@ -6616,9 +6896,9 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoryType?), TypeInfoPropertyName = "NullableScmRepositoryType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoryRelationshipsScmProviderDataType?), TypeInfoPropertyName = "NullableScmRepositoryRelationshipsScmProviderDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoryRelationshipsDefaultBranchDataType?), TypeInfoPropertyName = "NullableScmRepositoryRelationshipsDefaultBranchDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem158?), TypeInfoPropertyName = "NullableIncludedItem1582")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem160?), TypeInfoPropertyName = "NullableIncludedItem1602")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoriesResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableScmRepositoriesResponseIncludedItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem159?), TypeInfoPropertyName = "NullableIncludedItem1592")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem161?), TypeInfoPropertyName = "NullableIncludedItem1612")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ScmRepositoryResponseIncludedItemDiscriminatorType?), TypeInfoPropertyName = "NullableScmRepositoryResponseIncludedItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotType?), TypeInfoPropertyName = "NullableSubscriptionAppStoreReviewScreenshotType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionAppStoreReviewScreenshotRelationshipsSubscriptionDataType?), TypeInfoPropertyName = "NullableSubscriptionAppStoreReviewScreenshotRelationshipsSubscriptionDataType2")] @@ -6640,14 +6920,14 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupVersionAttributesState?), TypeInfoPropertyName = "NullableSubscriptionGroupVersionAttributesState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupVersionRelationshipsSubscriptionGroupDataType?), TypeInfoPropertyName = "NullableSubscriptionGroupVersionRelationshipsSubscriptionGroupDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupVersionRelationshipsLocalizationsDataItemType?), TypeInfoPropertyName = "NullableSubscriptionGroupVersionRelationshipsLocalizationsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem160?), TypeInfoPropertyName = "NullableIncludedItem1602")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem161?), TypeInfoPropertyName = "NullableIncludedItem1612")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem162?), TypeInfoPropertyName = "NullableIncludedItem1622")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem163?), TypeInfoPropertyName = "NullableIncludedItem1632")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupType?), TypeInfoPropertyName = "NullableSubscriptionGroupType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionsDataItemType?), TypeInfoPropertyName = "NullableSubscriptionGroupRelationshipsSubscriptionsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupRelationshipsSubscriptionGroupLocalizationsDataItemType?), TypeInfoPropertyName = "NullableSubscriptionGroupRelationshipsSubscriptionGroupLocalizationsDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionGroupRelationshipsVersionsDataItemType?), TypeInfoPropertyName = "NullableSubscriptionGroupRelationshipsVersionsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem162?), TypeInfoPropertyName = "NullableIncludedItem1622")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem163?), TypeInfoPropertyName = "NullableIncludedItem1632")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem164?), TypeInfoPropertyName = "NullableIncludedItem1642")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem165?), TypeInfoPropertyName = "NullableIncludedItem1652")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionImageType?), TypeInfoPropertyName = "NullableSubscriptionImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionImageAttributesState?), TypeInfoPropertyName = "NullableSubscriptionImageAttributesState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionImageRelationshipsSubscriptionDataType?), TypeInfoPropertyName = "NullableSubscriptionImageRelationshipsSubscriptionDataType2")] @@ -6659,8 +6939,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionDataType?), TypeInfoPropertyName = "NullableSubscriptionIntroductoryOfferRelationshipsSubscriptionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsTerritoryDataType?), TypeInfoPropertyName = "NullableSubscriptionIntroductoryOfferRelationshipsTerritoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionIntroductoryOfferRelationshipsSubscriptionPricePointDataType?), TypeInfoPropertyName = "NullableSubscriptionIntroductoryOfferRelationshipsSubscriptionPricePointDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem164?), TypeInfoPropertyName = "NullableIncludedItem1642")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem165?), TypeInfoPropertyName = "NullableIncludedItem1652")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem166?), TypeInfoPropertyName = "NullableIncludedItem1662")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem167?), TypeInfoPropertyName = "NullableIncludedItem1672")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionLocalizationV2Type?), TypeInfoPropertyName = "NullableSubscriptionLocalizationV2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionLocalizationV2RelationshipsVersionDataType?), TypeInfoPropertyName = "NullableSubscriptionLocalizationV2RelationshipsVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionLocalizationType?), TypeInfoPropertyName = "NullableSubscriptionLocalizationType2")] @@ -6674,7 +6954,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodePriceType?), TypeInfoPropertyName = "NullableSubscriptionOfferCodePriceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsTerritoryDataType?), TypeInfoPropertyName = "NullableSubscriptionOfferCodePriceRelationshipsTerritoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodePriceRelationshipsSubscriptionPricePointDataType?), TypeInfoPropertyName = "NullableSubscriptionOfferCodePriceRelationshipsSubscriptionPricePointDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem166?), TypeInfoPropertyName = "NullableIncludedItem1662")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem168?), TypeInfoPropertyName = "NullableIncludedItem1682")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodeType?), TypeInfoPropertyName = "NullableSubscriptionOfferCodeType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionCustomerEligibility?), TypeInfoPropertyName = "NullableSubscriptionCustomerEligibility2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferEligibility?), TypeInfoPropertyName = "NullableSubscriptionOfferEligibility2")] @@ -6682,8 +6962,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodeRelationshipsOneTimeUseCodesDataItemType?), TypeInfoPropertyName = "NullableSubscriptionOfferCodeRelationshipsOneTimeUseCodesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodeRelationshipsCustomCodesDataItemType?), TypeInfoPropertyName = "NullableSubscriptionOfferCodeRelationshipsCustomCodesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionOfferCodeRelationshipsPricesDataItemType?), TypeInfoPropertyName = "NullableSubscriptionOfferCodeRelationshipsPricesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem167?), TypeInfoPropertyName = "NullableIncludedItem1672")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem168?), TypeInfoPropertyName = "NullableIncludedItem1682")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem169?), TypeInfoPropertyName = "NullableIncludedItem1692")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem170?), TypeInfoPropertyName = "NullableIncludedItem1702")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPlanAvailabilityType?), TypeInfoPropertyName = "NullableSubscriptionPlanAvailabilityType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPlanAvailabilityRelationshipsAvailableTerritoriesDataItemType?), TypeInfoPropertyName = "NullableSubscriptionPlanAvailabilityRelationshipsAvailableTerritoriesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPricePointType?), TypeInfoPropertyName = "NullableSubscriptionPricePointType2")] @@ -6691,25 +6971,25 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPriceType?), TypeInfoPropertyName = "NullableSubscriptionPriceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPriceRelationshipsTerritoryDataType?), TypeInfoPropertyName = "NullableSubscriptionPriceRelationshipsTerritoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPriceRelationshipsSubscriptionPricePointDataType?), TypeInfoPropertyName = "NullableSubscriptionPriceRelationshipsSubscriptionPricePointDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem169?), TypeInfoPropertyName = "NullableIncludedItem1692")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem170?), TypeInfoPropertyName = "NullableIncludedItem1702")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem171?), TypeInfoPropertyName = "NullableIncludedItem1712")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem172?), TypeInfoPropertyName = "NullableIncludedItem1722")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPriceType?), TypeInfoPropertyName = "NullableSubscriptionPromotionalOfferPriceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsTerritoryDataType?), TypeInfoPropertyName = "NullableSubscriptionPromotionalOfferPriceRelationshipsTerritoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePointDataType?), TypeInfoPropertyName = "NullableSubscriptionPromotionalOfferPriceRelationshipsSubscriptionPricePointDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem171?), TypeInfoPropertyName = "NullableIncludedItem1712")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem173?), TypeInfoPropertyName = "NullableIncludedItem1732")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferType?), TypeInfoPropertyName = "NullableSubscriptionPromotionalOfferType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsSubscriptionDataType?), TypeInfoPropertyName = "NullableSubscriptionPromotionalOfferRelationshipsSubscriptionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionPromotionalOfferRelationshipsPricesDataItemType?), TypeInfoPropertyName = "NullableSubscriptionPromotionalOfferRelationshipsPricesDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem172?), TypeInfoPropertyName = "NullableIncludedItem1722")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem173?), TypeInfoPropertyName = "NullableIncludedItem1732")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem174?), TypeInfoPropertyName = "NullableIncludedItem1742")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem175?), TypeInfoPropertyName = "NullableIncludedItem1752")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionType?), TypeInfoPropertyName = "NullableSubscriptionVersionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionAttributesState?), TypeInfoPropertyName = "NullableSubscriptionVersionAttributesState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionRelationshipsSubscriptionDataType?), TypeInfoPropertyName = "NullableSubscriptionVersionRelationshipsSubscriptionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionRelationshipsImageDataType?), TypeInfoPropertyName = "NullableSubscriptionVersionRelationshipsImageDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionRelationshipsImagesDataItemType?), TypeInfoPropertyName = "NullableSubscriptionVersionRelationshipsImagesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionVersionRelationshipsLocalizationsDataItemType?), TypeInfoPropertyName = "NullableSubscriptionVersionRelationshipsLocalizationsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem174?), TypeInfoPropertyName = "NullableIncludedItem1742")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem175?), TypeInfoPropertyName = "NullableIncludedItem1752")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem176?), TypeInfoPropertyName = "NullableIncludedItem1762")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem177?), TypeInfoPropertyName = "NullableIncludedItem1772")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionType?), TypeInfoPropertyName = "NullableSubscriptionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionAttributesState?), TypeInfoPropertyName = "NullableSubscriptionAttributesState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionAttributesSubscriptionPeriod?), TypeInfoPropertyName = "NullableSubscriptionAttributesSubscriptionPeriod2")] @@ -6730,8 +7010,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionRelationshipsImagesDataItemType?), TypeInfoPropertyName = "NullableSubscriptionRelationshipsImagesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionRelationshipsPlanAvailabilitiesDataItemType?), TypeInfoPropertyName = "NullableSubscriptionRelationshipsPlanAvailabilitiesDataItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.SubscriptionRelationshipsVersionsDataItemType?), TypeInfoPropertyName = "NullableSubscriptionRelationshipsVersionsDataItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem176?), TypeInfoPropertyName = "NullableIncludedItem1762")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem177?), TypeInfoPropertyName = "NullableIncludedItem1772")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem178?), TypeInfoPropertyName = "NullableIncludedItem1782")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem179?), TypeInfoPropertyName = "NullableIncludedItem1792")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.TerritoryType?), TypeInfoPropertyName = "NullableTerritoryType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.TerritoryInlineCreateType?), TypeInfoPropertyName = "NullableTerritoryInlineCreateType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.TerritoryAvailabilityType?), TypeInfoPropertyName = "NullableTerritoryAvailabilityType2")] @@ -6741,16 +7021,6 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk7 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WebhookDeliveryType?), TypeInfoPropertyName = "NullableWebhookDeliveryType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WebhookDeliveryAttributesDeliveryState?), TypeInfoPropertyName = "NullableWebhookDeliveryAttributesDeliveryState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WebhookDeliveryRelationshipsEventDataType?), TypeInfoPropertyName = "NullableWebhookDeliveryRelationshipsEventDataType2")] - internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WebhookEventType?), TypeInfoPropertyName = "NullableWebhookEventType2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WebhookEventType2?), TypeInfoPropertyName = "NullableWebhookEventType22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WebhookType?), TypeInfoPropertyName = "NullableWebhookType2")] @@ -6758,7 +7028,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferPriceType?), TypeInfoPropertyName = "NullableWinBackOfferPriceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferPriceRelationshipsTerritoryDataType?), TypeInfoPropertyName = "NullableWinBackOfferPriceRelationshipsTerritoryDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferPriceRelationshipsSubscriptionPricePointDataType?), TypeInfoPropertyName = "NullableWinBackOfferPriceRelationshipsSubscriptionPricePointDataType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem179?), TypeInfoPropertyName = "NullableIncludedItem1792")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.IncludedItem181?), TypeInfoPropertyName = "NullableIncludedItem1812")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferType?), TypeInfoPropertyName = "NullableWinBackOfferType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferAttributesPriority?), TypeInfoPropertyName = "NullableWinBackOfferAttributesPriority2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.WinBackOfferAttributesPromotionIntent?), TypeInfoPropertyName = "NullableWinBackOfferAttributesPromotionIntent2")] @@ -6853,52 +7123,65 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -6908,31 +7191,31 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -6940,18 +7223,21 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + #pragma warning restore CS0618 + #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -6961,29 +7247,30 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7004,22 +7291,33 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + internal sealed partial class PartitionCoreSourceGenerationContextChunk9 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_86084021c9eafb36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?), TypeInfoPropertyName = "AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatment_dbc293338efb117b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7029,17 +7327,17 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7047,92 +7345,92 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -7142,8 +7440,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -7158,38 +7456,38 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. @@ -7229,15 +7527,15 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning restore CS0618 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7260,48 +7558,48 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -7311,8 +7609,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -7325,16 +7623,16 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -7347,8 +7645,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -7358,15 +7656,15 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7412,12 +7710,12 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -7427,29 +7725,19 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk8 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - internal sealed partial class PartitionCoreSourceGenerationContextChunk9 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 @@ -7471,37 +7759,37 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk9 : globa #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7511,18 +7799,18 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk9 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7530,29 +7818,29 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk9 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7563,8 +7851,8 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk9 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7572,7 +7860,7 @@ internal sealed partial class PartitionCoreSourceGenerationContextChunk9 : globa [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -7686,8 +7974,34 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions { options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItemJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem2JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageAcceptedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageApprovedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageArchivedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageAwaitingUploadAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageFailedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageInReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageReadyForReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageRejectedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageUploadCompleteAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageWaitingForReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.RelationshipsJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem3JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem4JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.Attributes2JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoAcceptedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoApprovedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoArchivedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoAwaitingUploadAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoFailedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoInReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoReadyForReviewAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoRejectedAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoUploadCompleteAttributesJsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoWaitingForReviewAttributesJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem5JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem6JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem7JsonConverter()); @@ -7700,8 +8014,8 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem14JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem15JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem16JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem17JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem18JsonConverter()); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem19JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem20JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem21JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem22JsonConverter()); @@ -7711,8 +8025,8 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem26JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem27JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem28JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem29JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem30JsonConverter()); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem31JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem32JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem33JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem34JsonConverter()); @@ -7813,14 +8127,14 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem129JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem130JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem131JsonConverter()); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem134JsonConverter()); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem135JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem132JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem133JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem136JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem137JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem138JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem139JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem140JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem141JsonConverter()); - options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem142JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem143JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem144JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem145JsonConverter()); @@ -7856,7 +8170,9 @@ public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem175JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem176JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem177JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem178JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem179JsonConverter()); + options.Converters.Add(new global::AppStoreConnect.JsonConverters.IncludedItem181JsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::AppStoreConnect.JsonConverters.UnixTimestampJsonConverter()); @@ -8041,6 +8357,118 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AndroidToIosAppMappingDetailType?) + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilityV2Type) || typeToConvert == typeof(global::AppStoreConnect.AppAvailabilityV2Type?) @@ -8197,6 +8625,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionType) || typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionType?) @@ -8265,6 +8697,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsAppEventVideoClipsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppEventScreenshotType) || typeToConvert == typeof(global::AppStoreConnect.AppEventScreenshotType?) @@ -8533,6 +8969,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentType?) @@ -8613,6 +9053,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType) + + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType?) + || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionPhasedReleaseType) || typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionPhasedReleaseType?) @@ -10525,6 +10969,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppEventDataType?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType?) @@ -11101,6 +11553,26 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemGranularity?) + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetState) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetState?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryMediaType) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryMediaType?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementState) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementState?) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2) + + || typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2?) + || typeToConvert == typeof(global::AppStoreConnect.AppClipAction) || typeToConvert == typeof(global::AppStoreConnect.AppClipAction?) @@ -11922,6 +12394,286 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AndroidToIosAppMappingDetailTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorStateJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageAttributesDiscriminatorState?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageAttributesDiscriminatorStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryImageRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryImageRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsOrderedPlacementsDataItemTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementOrderingRequestCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementRelationshipsDiscriminatorMediaTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppEventLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppCustomProductPageLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCommonRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementImageRelationshipsVariant2ImageDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementVideoRelationshipsVariant2VideoDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementsResponseIncludedItemDiscriminatorTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsImageDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsVideoDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppEventLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppCustomProductPageLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementCreateRequestDataRelationshipsAppStoreVersionExperimentTreatmentLocalizationDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorStateJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoAttributesDiscriminatorState?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoAttributesDiscriminatorStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryVideoRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryVideoRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppAvailabilityV2Type)) { return new global::AppStoreConnect.JsonConverters.AppAvailabilityV2TypeJsonConverter(); @@ -12312,6 +13064,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsSearchKeywordsDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppCustomProductPageLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppCustomProductPageVersionType)) { return new global::AppStoreConnect.JsonConverters.AppCustomProductPageVersionTypeJsonConverter(); @@ -12482,6 +13244,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsAppEventVideoClipsDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppEventLocalizationRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppEventLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppEventScreenshotType)) { return new global::AppStoreConnect.JsonConverters.AppEventScreenshotTypeJsonConverter(); @@ -13152,6 +13924,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsAppPreviewSetsDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionExperimentTreatmentType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionExperimentTreatmentTypeJsonConverter(); @@ -13352,6 +14134,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsSearchKeywordsDataItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionLocalizationRelationshipsPlacementsDataItemType?)) + { + return new global::AppStoreConnect.JsonConverters.AppStoreVersionLocalizationRelationshipsPlacementsDataItemTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppStoreVersionPhasedReleaseType)) { return new global::AppStoreConnect.JsonConverters.AppStoreVersionPhasedReleaseTypeJsonConverter(); @@ -18132,6 +18924,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppEventDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataType?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryImageDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataType?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsAppAssetLibraryVideoDataTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataType)) { return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemRelationshipsBackgroundAssetVersionDataTypeJsonConverter(); @@ -19572,6 +20384,56 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.GameCenterMatchmakingRuleErrorsV1MetricResponseDataItemGranularityNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetCategory?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetCategoryNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetState)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryAssetState?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryAssetStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryMediaType)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryMediaType?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryMediaTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementState)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementState?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2JsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.AppAssetLibraryPlacementType2?)) + { + return new global::AppStoreConnect.JsonConverters.AppAssetLibraryPlacementType2NullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.AppClipAction)) { return new global::AppStoreConnect.JsonConverters.AppClipActionJsonConverter(); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissionItems.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissionItems.JsonSerializerContext.g.cs index 38b80d500..cf9e8ba77 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissionItems.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissionItems.JsonSerializerContext.g.cs @@ -38,6 +38,12 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataType), TypeInfoPropertyName = "ReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType), TypeInfoPropertyName = "ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideo))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType), TypeInfoPropertyName = "ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType), TypeInfoPropertyName = "ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType2")] @@ -77,6 +83,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentV2DataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemCreateRequestDataRelationshipsAppStoreVersionExperimentV2DataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterAchievementVersionDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemCreateRequestDataRelationshipsGameCenterAchievementVersionDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsGameCenterActivityVersionDataType?), TypeInfoPropertyName = "NullableReviewSubmissionItemCreateRequestDataRelationshipsGameCenterActivityVersionDataType2")] @@ -188,6 +196,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataType?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType?) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType?) @@ -313,6 +329,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppEventDataTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataType?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryImageDataTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataType?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsAppAssetLibraryVideoDataTypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataType)) { return new global::AppStoreConnect.JsonConverters.ReviewSubmissionItemCreateRequestDataRelationshipsBackgroundAssetVersionDataTypeJsonConverter(); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissions.JsonSerializerContext.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissions.JsonSerializerContext.g.cs index 68594f520..90a9107fd 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissions.JsonSerializerContext.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissions.JsonSerializerContext.g.cs @@ -73,6 +73,10 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppStoreVersionExperiment), TypeInfoPropertyName = "ReviewSubmissionsItemsGetToManyRelatedFieldsAppStoreVersionExperiment2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppEvent), TypeInfoPropertyName = "ReviewSubmissionsItemsGetToManyRelatedFieldsAppEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage), TypeInfoPropertyName = "ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo), TypeInfoPropertyName = "ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion), TypeInfoPropertyName = "ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -118,6 +122,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppCustomProductPageVersion?), TypeInfoPropertyName = "NullableReviewSubmissionsItemsGetToManyRelatedFieldsAppCustomProductPageVersion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppStoreVersionExperiment?), TypeInfoPropertyName = "NullableReviewSubmissionsItemsGetToManyRelatedFieldsAppStoreVersionExperiment2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppEvent?), TypeInfoPropertyName = "NullableReviewSubmissionsItemsGetToManyRelatedFieldsAppEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage?), TypeInfoPropertyName = "NullableReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo?), TypeInfoPropertyName = "NullableReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion?), TypeInfoPropertyName = "NullableReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterAchievementVersion?), TypeInfoPropertyName = "NullableReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterAchievementVersion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterActivityVersion?), TypeInfoPropertyName = "NullableReviewSubmissionsItemsGetToManyRelatedFieldsGameCenterActivityVersion2")] @@ -148,6 +154,8 @@ namespace AppStoreConnect [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -327,6 +335,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppEvent?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage?) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo) + + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo?) + || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion) || typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion?) @@ -622,6 +638,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppEventNullableJsonConverter(); } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImage?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryImageNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoJsonConverter(); + } + + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideo?)) + { + return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsAppAssetLibraryVideoNullableJsonConverter(); + } + if (typeToConvert == typeof(global::AppStoreConnect.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersion)) { return new global::AppStoreConnect.JsonConverters.ReviewSubmissionsItemsGetToManyRelatedFieldsBackgroundAssetVersionJsonConverter(); diff --git a/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissionsClient.ReviewSubmissionsItemsGetToManyRelated.g.cs b/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissionsClient.ReviewSubmissionsItemsGetToManyRelated.g.cs index 4eeabf239..f39b06d74 100644 --- a/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissionsClient.ReviewSubmissionsItemsGetToManyRelated.g.cs +++ b/src/libs/AppStoreConnect/Generated/AppStoreConnect.ReviewSubmissionsClient.ReviewSubmissionsItemsGetToManyRelated.g.cs @@ -32,6 +32,8 @@ partial void PrepareReviewSubmissionsItemsGetToManyRelatedArguments( global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions, global::System.Collections.Generic.IList? fieldsAppStoreVersionExperiments, global::System.Collections.Generic.IList? fieldsAppEvents, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, global::System.Collections.Generic.IList? fieldsBackgroundAssetVersions, global::System.Collections.Generic.IList? fieldsGameCenterAchievementVersions, global::System.Collections.Generic.IList? fieldsGameCenterActivityVersions, @@ -52,6 +54,8 @@ partial void PrepareReviewSubmissionsItemsGetToManyRelatedRequest( global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions, global::System.Collections.Generic.IList? fieldsAppStoreVersionExperiments, global::System.Collections.Generic.IList? fieldsAppEvents, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos, global::System.Collections.Generic.IList? fieldsBackgroundAssetVersions, global::System.Collections.Generic.IList? fieldsGameCenterAchievementVersions, global::System.Collections.Generic.IList? fieldsGameCenterActivityVersions, @@ -81,6 +85,8 @@ partial void ProcessReviewSubmissionsItemsGetToManyRelatedResponseContent( /// /// /// + /// + /// /// /// /// @@ -103,6 +109,8 @@ partial void ProcessReviewSubmissionsItemsGetToManyRelatedResponseContent( global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions = default, global::System.Collections.Generic.IList? fieldsAppStoreVersionExperiments = default, global::System.Collections.Generic.IList? fieldsAppEvents = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, global::System.Collections.Generic.IList? fieldsBackgroundAssetVersions = default, global::System.Collections.Generic.IList? fieldsGameCenterAchievementVersions = default, global::System.Collections.Generic.IList? fieldsGameCenterActivityVersions = default, @@ -124,6 +132,8 @@ partial void ProcessReviewSubmissionsItemsGetToManyRelatedResponseContent( fieldsAppCustomProductPageVersions: fieldsAppCustomProductPageVersions, fieldsAppStoreVersionExperiments: fieldsAppStoreVersionExperiments, fieldsAppEvents: fieldsAppEvents, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, fieldsBackgroundAssetVersions: fieldsBackgroundAssetVersions, fieldsGameCenterAchievementVersions: fieldsGameCenterAchievementVersions, fieldsGameCenterActivityVersions: fieldsGameCenterActivityVersions, @@ -149,6 +159,8 @@ partial void ProcessReviewSubmissionsItemsGetToManyRelatedResponseContent( /// /// /// + /// + /// /// /// /// @@ -171,6 +183,8 @@ partial void ProcessReviewSubmissionsItemsGetToManyRelatedResponseContent( global::System.Collections.Generic.IList? fieldsAppCustomProductPageVersions = default, global::System.Collections.Generic.IList? fieldsAppStoreVersionExperiments = default, global::System.Collections.Generic.IList? fieldsAppEvents = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryImages = default, + global::System.Collections.Generic.IList? fieldsAppAssetLibraryVideos = default, global::System.Collections.Generic.IList? fieldsBackgroundAssetVersions = default, global::System.Collections.Generic.IList? fieldsGameCenterAchievementVersions = default, global::System.Collections.Generic.IList? fieldsGameCenterActivityVersions = default, @@ -194,6 +208,8 @@ partial void ProcessReviewSubmissionsItemsGetToManyRelatedResponseContent( fieldsAppCustomProductPageVersions: fieldsAppCustomProductPageVersions, fieldsAppStoreVersionExperiments: fieldsAppStoreVersionExperiments, fieldsAppEvents: fieldsAppEvents, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, fieldsBackgroundAssetVersions: fieldsBackgroundAssetVersions, fieldsGameCenterAchievementVersions: fieldsGameCenterAchievementVersions, fieldsGameCenterActivityVersions: fieldsGameCenterActivityVersions, @@ -239,6 +255,8 @@ partial void ProcessReviewSubmissionsItemsGetToManyRelatedResponseContent( .AddOptionalParameter("fields[appCustomProductPageVersions]", fieldsAppCustomProductPageVersions, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appStoreVersionExperiments]", fieldsAppStoreVersionExperiments, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[appEvents]", fieldsAppEvents, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryImages]", fieldsAppAssetLibraryImages, selector: static x => x.ToValueString(), delimiter: ",", explode: false) + .AddOptionalParameter("fields[appAssetLibraryVideos]", fieldsAppAssetLibraryVideos, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[backgroundAssetVersions]", fieldsBackgroundAssetVersions, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[gameCenterAchievementVersions]", fieldsGameCenterAchievementVersions, selector: static x => x.ToValueString(), delimiter: ",", explode: false) .AddOptionalParameter("fields[gameCenterActivityVersions]", fieldsGameCenterActivityVersions, selector: static x => x.ToValueString(), delimiter: ",", explode: false) @@ -296,6 +314,8 @@ partial void ProcessReviewSubmissionsItemsGetToManyRelatedResponseContent( fieldsAppCustomProductPageVersions: fieldsAppCustomProductPageVersions, fieldsAppStoreVersionExperiments: fieldsAppStoreVersionExperiments, fieldsAppEvents: fieldsAppEvents, + fieldsAppAssetLibraryImages: fieldsAppAssetLibraryImages, + fieldsAppAssetLibraryVideos: fieldsAppAssetLibraryVideos, fieldsBackgroundAssetVersions: fieldsBackgroundAssetVersions, fieldsGameCenterAchievementVersions: fieldsGameCenterAchievementVersions, fieldsGameCenterActivityVersions: fieldsGameCenterActivityVersions, diff --git a/src/libs/AppStoreConnect/openapi.json b/src/libs/AppStoreConnect/openapi.json index 68e5839ce..2afe09071 100644 --- a/src/libs/AppStoreConnect/openapi.json +++ b/src/libs/AppStoreConnect/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.1", "info": { "title": "App Store Connect API", - "version": "4.5", + "version": "4.5.1", "x-platforms": { "app_store_connect_api": "App Store Connect API" } @@ -3019,171 +3019,30 @@ } ] }, - "/v2/appAvailabilities": { - "post": { - "tags": [ - "AppAvailabilities" - ], - "operationId": "appAvailabilitiesV2_createInstance", - "requestBody": { - "description": "AppAvailability representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppAvailabilityV2CreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single AppAvailability", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppAvailabilityV2Response" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v2/appAvailabilities/{id}": { + "/v1/appAssetLibraries/{id}": { "get": { "tags": [ - "AppAvailabilities" + "AppAssetLibraries" ], - "operationId": "appAvailabilitiesV2_getInstance", + "operationId": "appAssetLibraries_getInstance", "parameters": [ { - "name": "fields[appAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type appAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "territoryAvailabilities" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[territoryAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type territoryAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "available", - "releaseDate", - "preOrderEnabled", - "preOrderPublishDate", - "contentStatuses", - "territory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", + "name": "fields[appAssetLibraries]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appAssetLibraries", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "territoryAvailabilities" + "images", + "videos" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[territoryAvailabilities]", - "in": "query", - "description": "maximum number of related territoryAvailabilities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -3228,11 +3087,11 @@ } }, "200": { - "description": "Single AppAvailability", + "description": "Single AppAssetLibrary", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAvailabilityV2Response" + "$ref": "#/components/schemas/AppAssetLibraryResponse" } } } @@ -3262,103 +3121,23 @@ } ] }, - "/v1/appCategories": { - "get": { + "/v1/appAssetLibraryImages": { + "post": { "tags": [ - "AppCategories" + "AppAssetLibraryImages" ], - "operationId": "appCategories_getCollection", - "parameters": [ - { - "name": "filter[platforms]", - "in": "query", - "description": "filter by attribute 'platforms'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "exists[parent]", - "in": "query", - "description": "filter by existence or non-existence of related 'parent'", - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appCategories]", - "in": "query", - "description": "the fields to include for returned resources of type appCategories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platforms", - "subcategories", - "parent" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subcategories", - "parent" - ] + "operationId": "appAssetLibraryImages_createInstance", + "requestBody": { + "description": "AppAssetLibraryImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppAssetLibraryImageCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -3390,12 +3169,32 @@ } } }, - "200": { - "description": "List of AppCategories", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoriesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AppAssetLibraryImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppAssetLibraryImageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -3413,25 +3212,63 @@ } } }, - "/v1/appCategories/{id}": { + "/v1/appAssetLibraryImages/{id}": { "get": { "tags": [ - "AppCategories" + "AppAssetLibraryImages" ], - "operationId": "appCategories_getInstance", + "operationId": "appAssetLibraryImages_getInstance", "parameters": [ { - "name": "fields[appCategories]", + "name": "fields[appAssetLibraryImages]", "in": "query", - "description": "the fields to include for returned resources of type appCategories", + "description": "the fields to include for returned resources of type appAssetLibraryImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platforms", - "subcategories", - "parent" + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appAssetLibraryPlacements]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -3448,8 +3285,7 @@ "items": { "type": "string", "enum": [ - "subcategories", - "parent" + "placements" ] } }, @@ -3458,9 +3294,9 @@ "required": false }, { - "name": "limit[subcategories]", + "name": "limit[placements]", "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", + "description": "maximum number of related placements returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -3511,11 +3347,11 @@ } }, "200": { - "description": "Single AppCategory", + "description": "Single AppAssetLibraryImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoryResponse" + "$ref": "#/components/schemas/AppAssetLibraryImageResponse" } } } @@ -3532,31 +3368,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appClipAdvancedExperienceImages": { - "post": { + "patch": { "tags": [ - "AppClipAdvancedExperienceImages" + "AppAssetLibraryImages" ], - "operationId": "appClipAdvancedExperienceImages_createInstance", + "operationId": "appAssetLibraryImages_updateInstance", "requestBody": { - "description": "AppClipAdvancedExperienceImage representation", + "description": "AppAssetLibraryImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceImageCreateRequest" + "$ref": "#/components/schemas/AppAssetLibraryImageUpdateRequest" } } }, @@ -3593,6 +3415,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -3603,12 +3435,12 @@ } } }, - "201": { - "description": "Single AppClipAdvancedExperienceImage", + "200": { + "description": "Single AppAssetLibraryImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceImageResponse" + "$ref": "#/components/schemas/AppAssetLibraryImageResponse" } } } @@ -3634,38 +3466,12 @@ } } } - } - }, - "/v1/appClipAdvancedExperienceImages/{id}": { - "get": { + }, + "delete": { "tags": [ - "AppClipAdvancedExperienceImages" - ], - "operationId": "appClipAdvancedExperienceImages_getInstance", - "parameters": [ - { - "name": "fields[appClipAdvancedExperienceImages]", - "in": "query", - "description": "the fields to include for returned resources of type appClipAdvancedExperienceImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "uploadOperations", - "assetDeliveryState" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } + "AppAssetLibraryImages" ], + "operationId": "appAssetLibraryImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -3707,15 +3513,8 @@ } } }, - "200": { - "description": "Single AppClipAdvancedExperienceImage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceImageResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -3729,17 +3528,103 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appAssetLibraryPlacementOrderingRequests": { + "post": { "tags": [ - "AppClipAdvancedExperienceImages" + "AppAssetLibraryPlacementOrderingRequests" + ], + "operationId": "appAssetLibraryPlacementOrderingRequests_createInstance", + "parameters": [ + { + "name": "fields[appAssetLibraryPlacements]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "orderedPlacements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[orderedPlacements]", + "in": "query", + "description": "maximum number of related orderedPlacements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "fields[appAssetLibraryPlacementOrderingRequests]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacementOrderingRequests", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "orderedPlacements" + ] + } + }, + "style": "form", + "explode": false + } ], - "operationId": "appClipAdvancedExperienceImages_updateInstance", "requestBody": { - "description": "AppClipAdvancedExperienceImage representation", + "description": "AppAssetLibraryPlacementOrderingRequest representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceImageUpdateRequest" + "$ref": "#/components/schemas/AppAssetLibraryPlacementOrderingRequestCreateRequest" } } }, @@ -3776,16 +3661,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -3796,12 +3671,12 @@ } } }, - "200": { - "description": "Single AppClipAdvancedExperienceImage", + "201": { + "description": "Single AppAssetLibraryPlacementOrderingRequest", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceImageResponse" + "$ref": "#/components/schemas/AppAssetLibraryPlacementOrderingRequestResponse" } } } @@ -3827,32 +3702,20 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/appClipAdvancedExperiences": { + "/v1/appAssetLibraryPlacements": { "post": { "tags": [ - "AppClipAdvancedExperiences" + "AppAssetLibraryPlacements" ], - "operationId": "appClipAdvancedExperiences_createInstance", + "operationId": "appAssetLibraryPlacements_createInstance", "requestBody": { - "description": "AppClipAdvancedExperience representation", + "description": "AppAssetLibraryPlacement representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceCreateRequest" + "$ref": "#/components/schemas/AppAssetLibraryPlacementCreateRequest" } } }, @@ -3900,11 +3763,11 @@ } }, "201": { - "description": "Single AppClipAdvancedExperience", + "description": "Single AppAssetLibraryPlacement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceResponse" + "$ref": "#/components/schemas/AppAssetLibraryPlacementResponse" } } } @@ -3932,34 +3795,35 @@ } } }, - "/v1/appClipAdvancedExperiences/{id}": { + "/v1/appAssetLibraryPlacements/{id}": { "get": { "tags": [ - "AppClipAdvancedExperiences" + "AppAssetLibraryPlacements" ], - "operationId": "appClipAdvancedExperiences_getInstance", + "operationId": "appAssetLibraryPlacements_getInstance", "parameters": [ { - "name": "fields[appClipAdvancedExperiences]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "the fields to include for returned resources of type appClipAdvancedExperiences", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "link", - "version", - "status", - "action", - "isPoweredBy", - "place", - "placeStatus", - "businessCategory", - "defaultLanguage", - "appClip", - "headerImage", - "localizations" + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -3968,18 +3832,26 @@ "required": false }, { - "name": "fields[appClips]", + "name": "fields[appAssetLibraryImages]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type appAssetLibraryImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "app", - "appClipDefaultExperiences", - "appClipAdvancedExperiences" + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" ] } }, @@ -3988,20 +3860,28 @@ "required": false }, { - "name": "fields[appClipAdvancedExperienceImages]", + "name": "fields[appAssetLibraryVideos]", "in": "query", - "description": "the fields to include for returned resources of type appClipAdvancedExperienceImages", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", + "category", + "createdDate", + "lastModifiedDate", "fileName", - "sourceFileChecksum", - "imageAsset", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", "uploadOperations", - "assetDeliveryState" + "videoAsset", + "placements" ] } }, @@ -4010,17 +3890,22 @@ "required": false }, { - "name": "fields[appClipAdvancedExperienceLocalizations]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appClipAdvancedExperienceLocalizations", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "language", - "title", - "subtitle" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -4029,17 +3914,26 @@ "required": false }, { - "name": "include", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClip", - "headerImage", - "localizations" + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -4048,14 +3942,69 @@ "required": false }, { - "name": "limit[localizations]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } }, "style": "form", + "explode": false, "required": false } ], @@ -4101,11 +4050,11 @@ } }, "200": { - "description": "Single AppClipAdvancedExperience", + "description": "Single AppAssetLibraryPlacement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceResponse" + "$ref": "#/components/schemas/AppAssetLibraryPlacementResponse" } } } @@ -4122,22 +4071,11 @@ } } }, - "patch": { + "delete": { "tags": [ - "AppClipAdvancedExperiences" + "AppAssetLibraryPlacements" ], - "operationId": "appClipAdvancedExperiences_updateInstance", - "requestBody": { - "description": "AppClipAdvancedExperience representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceUpdateRequest" - } - } - }, - "required": true - }, + "operationId": "appAssetLibraryPlacements_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -4179,35 +4117,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppClipAdvancedExperience", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperienceResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -4234,116 +4145,49 @@ } ] }, - "/v1/appClipAppStoreReviewDetails": { - "post": { + "/v1/appAssetLibraryRefData": { + "get": { "tags": [ - "AppClipAppStoreReviewDetails" + "AppAssetLibraryRefData" ], - "operationId": "appClipAppStoreReviewDetails_createInstance", - "requestBody": { - "description": "AppClipAppStoreReviewDetail representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipAppStoreReviewDetailCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single AppClipAppStoreReviewDetail", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipAppStoreReviewDetailResponse" - } + "operationId": "appAssetLibraryRefData_getCollection", + "parameters": [ + { + "name": "filter[placementTypes]", + "in": "query", + "description": "filter by attribute 'placementTypes'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[placementProfileGroups]", + "in": "query", + "description": "filter by attribute 'placementProfileGroups'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/appClipAppStoreReviewDetails/{id}": { - "get": { - "tags": [ - "AppClipAppStoreReviewDetails" - ], - "operationId": "appClipAppStoreReviewDetails_getInstance", - "parameters": [ { - "name": "fields[appClipAppStoreReviewDetails]", + "name": "filter[features]", "in": "query", - "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", + "description": "filter by attribute 'features'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "invocationUrls", - "appClipDefaultExperience" - ] + "type": "string" } }, "style": "form", @@ -4351,20 +4195,13 @@ "required": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "filter[specs]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "filter by specs", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" - ] + "type": "string" } }, "style": "form", @@ -4372,15 +4209,20 @@ "required": false }, { - "name": "include", + "name": "fields[appAssetLibraryRefData]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appAssetLibraryRefData", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperience" + "features", + "placementProfileGroups", + "imageSpecs", + "videoSpecs", + "placementTypes", + "displayClasses" ] } }, @@ -4420,22 +4262,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single AppClipAppStoreReviewDetail", + "description": "List of AppAssetLibraryRefData", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAppStoreReviewDetailResponse" + "$ref": "#/components/schemas/AppAssetLibraryRefDataResponse" } } } @@ -4451,23 +4283,38 @@ } } } - }, - "patch": { + } + }, + "/v1/appAssetLibraryRefData/{id}": { + "get": { "tags": [ - "AppClipAppStoreReviewDetails" + "AppAssetLibraryRefData" ], - "operationId": "appClipAppStoreReviewDetails_updateInstance", - "requestBody": { - "description": "AppClipAppStoreReviewDetail representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipAppStoreReviewDetailUpdateRequest" + "operationId": "appAssetLibraryRefData_getInstance", + "parameters": [ + { + "name": "fields[appAssetLibraryRefData]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryRefData", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "features", + "placementProfileGroups", + "imageSpecs", + "videoSpecs", + "placementTypes", + "displayClasses" + ] } - } - }, - "required": true - }, + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -4509,32 +4356,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single AppClipAppStoreReviewDetail", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipAppStoreReviewDetailResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single AppAssetLibraryRefDatum", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppAssetLibraryRefDatumResponse" } } } @@ -4564,18 +4391,18 @@ } ] }, - "/v1/appClipDefaultExperienceLocalizations": { + "/v1/appAssetLibraryVideos": { "post": { "tags": [ - "AppClipDefaultExperienceLocalizations" + "AppAssetLibraryVideos" ], - "operationId": "appClipDefaultExperienceLocalizations_createInstance", + "operationId": "appAssetLibraryVideos_createInstance", "requestBody": { - "description": "AppClipDefaultExperienceLocalization representation", + "description": "AppAssetLibraryVideo representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationCreateRequest" + "$ref": "#/components/schemas/AppAssetLibraryVideoCreateRequest" } } }, @@ -4623,11 +4450,11 @@ } }, "201": { - "description": "Single AppClipDefaultExperienceLocalization", + "description": "Single AppAssetLibraryVideo", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationResponse" + "$ref": "#/components/schemas/AppAssetLibraryVideoResponse" } } } @@ -4655,26 +4482,36 @@ } } }, - "/v1/appClipDefaultExperienceLocalizations/{id}": { + "/v1/appAssetLibraryVideos/{id}": { "get": { "tags": [ - "AppClipDefaultExperienceLocalizations" + "AppAssetLibraryVideos" ], - "operationId": "appClipDefaultExperienceLocalizations_getInstance", + "operationId": "appAssetLibraryVideos_getInstance", "parameters": [ { - "name": "fields[appClipDefaultExperienceLocalizations]", + "name": "fields[appAssetLibraryVideos]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "subtitle", - "appClipDefaultExperience", - "appClipHeaderImage" + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "videoAsset", + "placements" ] } }, @@ -4683,19 +4520,27 @@ "required": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -4704,21 +4549,15 @@ "required": false }, { - "name": "fields[appClipHeaderImages]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appClipHeaderImages", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "appClipDefaultExperienceLocalization" + "placements" ] } }, @@ -4727,21 +4566,14 @@ "required": false }, { - "name": "include", + "name": "limit[placements]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related placements returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appClipDefaultExperience", - "appClipHeaderImage" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false } ], @@ -4787,11 +4619,11 @@ } }, "200": { - "description": "Single AppClipDefaultExperienceLocalization", + "description": "Single AppAssetLibraryVideo", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationResponse" + "$ref": "#/components/schemas/AppAssetLibraryVideoResponse" } } } @@ -4810,15 +4642,15 @@ }, "patch": { "tags": [ - "AppClipDefaultExperienceLocalizations" + "AppAssetLibraryVideos" ], - "operationId": "appClipDefaultExperienceLocalizations_updateInstance", + "operationId": "appAssetLibraryVideos_updateInstance", "requestBody": { - "description": "AppClipDefaultExperienceLocalization representation", + "description": "AppAssetLibraryVideo representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationUpdateRequest" + "$ref": "#/components/schemas/AppAssetLibraryVideoUpdateRequest" } } }, @@ -4876,11 +4708,11 @@ } }, "200": { - "description": "Single AppClipDefaultExperienceLocalization", + "description": "Single AppAssetLibraryVideo", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationResponse" + "$ref": "#/components/schemas/AppAssetLibraryVideoResponse" } } } @@ -4909,9 +4741,9 @@ }, "delete": { "tags": [ - "AppClipDefaultExperienceLocalizations" + "AppAssetLibraryVideos" ], - "operationId": "appClipDefaultExperienceLocalizations_deleteInstance", + "operationId": "appAssetLibraryVideos_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -4981,18 +4813,18 @@ } ] }, - "/v1/appClipDefaultExperiences": { + "/v2/appAvailabilities": { "post": { "tags": [ - "AppClipDefaultExperiences" + "AppAvailabilities" ], - "operationId": "appClipDefaultExperiences_createInstance", + "operationId": "appAvailabilitiesV2_createInstance", "requestBody": { - "description": "AppClipDefaultExperience representation", + "description": "AppAvailability representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceCreateRequest" + "$ref": "#/components/schemas/AppAvailabilityV2CreateRequest" } } }, @@ -5040,11 +4872,11 @@ } }, "201": { - "description": "Single AppClipDefaultExperience", + "description": "Single AppAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceResponse" + "$ref": "#/components/schemas/AppAvailabilityV2Response" } } } @@ -5072,27 +4904,24 @@ } } }, - "/v1/appClipDefaultExperiences/{id}": { + "/v2/appAvailabilities/{id}": { "get": { "tags": [ - "AppClipDefaultExperiences" + "AppAvailabilities" ], - "operationId": "appClipDefaultExperiences_getInstance", + "operationId": "appAvailabilitiesV2_getInstance", "parameters": [ { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" + "availableInNewTerritories", + "territoryAvailabilities" ] } }, @@ -5101,96 +4930,20 @@ "required": false }, { - "name": "fields[appClips]", + "name": "fields[territoryAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type territoryAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "app", - "appClipDefaultExperiences", - "appClipAdvancedExperiences" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appClipDefaultExperienceLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "subtitle", - "appClipDefaultExperience", - "appClipHeaderImage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appClipAppStoreReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "invocationUrls", - "appClipDefaultExperience" + "available", + "releaseDate", + "preOrderEnabled", + "preOrderPublishDate", + "contentStatuses", + "territory" ] } }, @@ -5207,10 +4960,7 @@ "items": { "type": "string", "enum": [ - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" + "territoryAvailabilities" ] } }, @@ -5219,9 +4969,9 @@ "required": false }, { - "name": "limit[appClipDefaultExperienceLocalizations]", + "name": "limit[territoryAvailabilities]", "in": "query", - "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", + "description": "maximum number of related territoryAvailabilities returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -5272,11 +5022,11 @@ } }, "200": { - "description": "Single AppClipDefaultExperience", + "description": "Single AppAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceResponse" + "$ref": "#/components/schemas/AppAvailabilityV2Response" } } } @@ -5293,22 +5043,116 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appCategories": { + "get": { "tags": [ - "AppClipDefaultExperiences" + "AppCategories" ], - "operationId": "appClipDefaultExperiences_updateInstance", - "requestBody": { - "description": "AppClipDefaultExperience representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceUpdateRequest" + "operationId": "appCategories_getCollection", + "parameters": [ + { + "name": "filter[platforms]", + "in": "query", + "description": "filter by attribute 'platforms'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "exists[parent]", + "in": "query", + "description": "filter by existence or non-existence of related 'parent'", + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appCategories]", + "in": "query", + "description": "the fields to include for returned resources of type appCategories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platforms", + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -5340,42 +5184,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single AppClipDefaultExperience", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "List of AppCategories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppCategoriesResponse" } } } @@ -5391,12 +5205,64 @@ } } } - }, - "delete": { + } + }, + "/v1/appCategories/{id}": { + "get": { "tags": [ - "AppClipDefaultExperiences" + "AppCategories" + ], + "operationId": "appCategories_getInstance", + "parameters": [ + { + "name": "fields[appCategories]", + "in": "query", + "description": "the fields to include for returned resources of type appCategories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platforms", + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } ], - "operationId": "appClipDefaultExperiences_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -5438,8 +5304,15 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single AppCategory", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppCategoryResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -5466,18 +5339,18 @@ } ] }, - "/v1/appClipHeaderImages": { + "/v1/appClipAdvancedExperienceImages": { "post": { "tags": [ - "AppClipHeaderImages" + "AppClipAdvancedExperienceImages" ], - "operationId": "appClipHeaderImages_createInstance", + "operationId": "appClipAdvancedExperienceImages_createInstance", "requestBody": { - "description": "AppClipHeaderImage representation", + "description": "AppClipAdvancedExperienceImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipHeaderImageCreateRequest" + "$ref": "#/components/schemas/AppClipAdvancedExperienceImageCreateRequest" } } }, @@ -5525,11 +5398,11 @@ } }, "201": { - "description": "Single AppClipHeaderImage", + "description": "Single AppClipAdvancedExperienceImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipHeaderImageResponse" + "$ref": "#/components/schemas/AppClipAdvancedExperienceImageResponse" } } } @@ -5557,17 +5430,17 @@ } } }, - "/v1/appClipHeaderImages/{id}": { + "/v1/appClipAdvancedExperienceImages/{id}": { "get": { "tags": [ - "AppClipHeaderImages" + "AppClipAdvancedExperienceImages" ], - "operationId": "appClipHeaderImages_getInstance", + "operationId": "appClipAdvancedExperienceImages_getInstance", "parameters": [ { - "name": "fields[appClipHeaderImages]", + "name": "fields[appClipAdvancedExperienceImages]", "in": "query", - "description": "the fields to include for returned resources of type appClipHeaderImages", + "description": "the fields to include for returned resources of type appClipAdvancedExperienceImages", "schema": { "type": "array", "items": { @@ -5578,45 +5451,7 @@ "sourceFileChecksum", "imageAsset", "uploadOperations", - "assetDeliveryState", - "appClipDefaultExperienceLocalization" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appClipDefaultExperienceLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "subtitle", - "appClipDefaultExperience", - "appClipHeaderImage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appClipDefaultExperienceLocalization" + "assetDeliveryState" ] } }, @@ -5667,11 +5502,11 @@ } }, "200": { - "description": "Single AppClipHeaderImage", + "description": "Single AppClipAdvancedExperienceImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipHeaderImageResponse" + "$ref": "#/components/schemas/AppClipAdvancedExperienceImageResponse" } } } @@ -5690,15 +5525,15 @@ }, "patch": { "tags": [ - "AppClipHeaderImages" + "AppClipAdvancedExperienceImages" ], - "operationId": "appClipHeaderImages_updateInstance", + "operationId": "appClipAdvancedExperienceImages_updateInstance", "requestBody": { - "description": "AppClipHeaderImage representation", + "description": "AppClipAdvancedExperienceImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipHeaderImageUpdateRequest" + "$ref": "#/components/schemas/AppClipAdvancedExperienceImageUpdateRequest" } } }, @@ -5756,11 +5591,11 @@ } }, "200": { - "description": "Single AppClipHeaderImage", + "description": "Single AppClipAdvancedExperienceImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipHeaderImageResponse" + "$ref": "#/components/schemas/AppClipAdvancedExperienceImageResponse" } } } @@ -5787,11 +5622,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appClipAdvancedExperiences": { + "post": { "tags": [ - "AppClipHeaderImages" + "AppClipAdvancedExperiences" ], - "operationId": "appClipHeaderImages_deleteInstance", + "operationId": "appClipAdvancedExperiences_createInstance", + "requestBody": { + "description": "AppClipAdvancedExperience representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppClipAdvancedExperienceCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -5823,8 +5683,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -5833,8 +5693,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single AppClipAdvancedExperience", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppClipAdvancedExperienceResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -5847,27 +5724,43 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/appClips/{id}": { + "/v1/appClipAdvancedExperiences/{id}": { "get": { "tags": [ - "AppClips" + "AppClipAdvancedExperiences" ], - "operationId": "appClips_getInstance", + "operationId": "appClipAdvancedExperiences_getInstance", "parameters": [ + { + "name": "fields[appClipAdvancedExperiences]", + "in": "query", + "description": "the fields to include for returned resources of type appClipAdvancedExperiences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "link", + "version", + "status", + "action", + "isPoweredBy", + "place", + "placeStatus", + "businessCategory", + "defaultLanguage", + "appClip", + "headerImage", + "localizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[appClips]", "in": "query", @@ -5889,70 +5782,20 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[appClipAdvancedExperienceImages]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appClipAdvancedExperienceImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -5961,19 +5804,17 @@ "required": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appClipAdvancedExperienceLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appClipAdvancedExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" + "language", + "title", + "subtitle" ] } }, @@ -5990,8 +5831,9 @@ "items": { "type": "string", "enum": [ - "app", - "appClipDefaultExperiences" + "appClip", + "headerImage", + "localizations" ] } }, @@ -6000,9 +5842,9 @@ "required": false }, { - "name": "limit[appClipDefaultExperiences]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related appClipDefaultExperiences returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -6053,11 +5895,110 @@ } }, "200": { - "description": "Single AppClip", + "description": "Single AppClipAdvancedExperience", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipResponse" + "$ref": "#/components/schemas/AppClipAdvancedExperienceResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "AppClipAdvancedExperiences" + ], + "operationId": "appClipAdvancedExperiences_updateInstance", + "requestBody": { + "description": "AppClipAdvancedExperience representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppClipAdvancedExperienceUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppClipAdvancedExperience", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppClipAdvancedExperienceResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6087,18 +6028,18 @@ } ] }, - "/v1/appCustomProductPageLocalizations": { + "/v1/appClipAppStoreReviewDetails": { "post": { "tags": [ - "AppCustomProductPageLocalizations" + "AppClipAppStoreReviewDetails" ], - "operationId": "appCustomProductPageLocalizations_createInstance", + "operationId": "appClipAppStoreReviewDetails_createInstance", "requestBody": { - "description": "AppCustomProductPageLocalization representation", + "description": "AppClipAppStoreReviewDetail representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationCreateRequest" + "$ref": "#/components/schemas/AppClipAppStoreReviewDetailCreateRequest" } } }, @@ -6146,11 +6087,11 @@ } }, "201": { - "description": "Single AppCustomProductPageLocalization", + "description": "Single AppClipAppStoreReviewDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationResponse" + "$ref": "#/components/schemas/AppClipAppStoreReviewDetailResponse" } } } @@ -6178,70 +6119,24 @@ } } }, - "/v1/appCustomProductPageLocalizations/{id}": { + "/v1/appClipAppStoreReviewDetails/{id}": { "get": { "tags": [ - "AppCustomProductPageLocalizations" + "AppClipAppStoreReviewDetails" ], - "operationId": "appCustomProductPageLocalizations_getInstance", + "operationId": "appClipAppStoreReviewDetails_getInstance", "parameters": [ { - "name": "fields[appCustomProductPageLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appCustomProductPageVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "deepLink", - "appCustomProductPage", - "appCustomProductPageLocalizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appScreenshotSets]", + "name": "fields[appClipAppStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "invocationUrls", + "appClipDefaultExperience" ] } }, @@ -6250,19 +6145,19 @@ "required": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, @@ -6279,49 +6174,13 @@ "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" + "appClipDefaultExperience" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[appPreviewSets]", - "in": "query", - "description": "maximum number of related appPreviewSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[appScreenshotSets]", - "in": "query", - "description": "maximum number of related appScreenshotSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[searchKeywords]", - "in": "query", - "description": "maximum number of related searchKeywords returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -6366,11 +6225,11 @@ } }, "200": { - "description": "Single AppCustomProductPageLocalization", + "description": "Single AppClipAppStoreReviewDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationResponse" + "$ref": "#/components/schemas/AppClipAppStoreReviewDetailResponse" } } } @@ -6389,15 +6248,15 @@ }, "patch": { "tags": [ - "AppCustomProductPageLocalizations" + "AppClipAppStoreReviewDetails" ], - "operationId": "appCustomProductPageLocalizations_updateInstance", + "operationId": "appClipAppStoreReviewDetails_updateInstance", "requestBody": { - "description": "AppCustomProductPageLocalization representation", + "description": "AppClipAppStoreReviewDetail representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationUpdateRequest" + "$ref": "#/components/schemas/AppClipAppStoreReviewDetailUpdateRequest" } } }, @@ -6455,11 +6314,11 @@ } }, "200": { - "description": "Single AppCustomProductPageLocalization", + "description": "Single AppClipAppStoreReviewDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationResponse" + "$ref": "#/components/schemas/AppClipAppStoreReviewDetailResponse" } } } @@ -6486,67 +6345,6 @@ } } }, - "delete": { - "tags": [ - "AppCustomProductPageLocalizations" - ], - "operationId": "appCustomProductPageLocalizations_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, "parameters": [ { "name": "id", @@ -6560,18 +6358,18 @@ } ] }, - "/v1/appCustomProductPageVersions": { + "/v1/appClipDefaultExperienceLocalizations": { "post": { "tags": [ - "AppCustomProductPageVersions" + "AppClipDefaultExperienceLocalizations" ], - "operationId": "appCustomProductPageVersions_createInstance", + "operationId": "appClipDefaultExperienceLocalizations_createInstance", "requestBody": { - "description": "AppCustomProductPageVersion representation", + "description": "AppClipDefaultExperienceLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageVersionCreateRequest" + "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationCreateRequest" } } }, @@ -6619,11 +6417,11 @@ } }, "201": { - "description": "Single AppCustomProductPageVersion", + "description": "Single AppClipDefaultExperienceLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageVersionResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationResponse" } } } @@ -6651,27 +6449,26 @@ } } }, - "/v1/appCustomProductPageVersions/{id}": { + "/v1/appClipDefaultExperienceLocalizations/{id}": { "get": { "tags": [ - "AppCustomProductPageVersions" + "AppClipDefaultExperienceLocalizations" ], - "operationId": "appCustomProductPageVersions_getInstance", + "operationId": "appClipDefaultExperienceLocalizations_getInstance", "parameters": [ { - "name": "fields[appCustomProductPageVersions]", + "name": "fields[appClipDefaultExperienceLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "deepLink", - "appCustomProductPage", - "appCustomProductPageLocalizations" + "locale", + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, @@ -6680,19 +6477,19 @@ "required": false }, { - "name": "fields[appCustomProductPages]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "url", - "visible", - "app", - "appCustomProductPageVersions" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, @@ -6701,20 +6498,21 @@ "required": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appClipHeaderImages]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appClipHeaderImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "appClipDefaultExperienceLocalization" ] } }, @@ -6731,25 +6529,14 @@ "items": { "type": "string", "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations" + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[appCustomProductPageLocalizations]", - "in": "query", - "description": "maximum number of related appCustomProductPageLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -6794,11 +6581,11 @@ } }, "200": { - "description": "Single AppCustomProductPageVersion", + "description": "Single AppClipDefaultExperienceLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageVersionResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationResponse" } } } @@ -6817,15 +6604,15 @@ }, "patch": { "tags": [ - "AppCustomProductPageVersions" + "AppClipDefaultExperienceLocalizations" ], - "operationId": "appCustomProductPageVersions_updateInstance", + "operationId": "appClipDefaultExperienceLocalizations_updateInstance", "requestBody": { - "description": "AppCustomProductPageVersion representation", + "description": "AppClipDefaultExperienceLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageVersionUpdateRequest" + "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationUpdateRequest" } } }, @@ -6883,11 +6670,11 @@ } }, "200": { - "description": "Single AppCustomProductPageVersion", + "description": "Single AppClipDefaultExperienceLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageVersionResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationResponse" } } } @@ -6914,36 +6701,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appCustomProductPages": { - "post": { + "delete": { "tags": [ - "AppCustomProductPages" + "AppClipDefaultExperienceLocalizations" ], - "operationId": "appCustomProductPages_createInstance", - "requestBody": { - "description": "AppCustomProductPage representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppCustomProductPageCreateRequest" - } - } - }, - "required": true - }, + "operationId": "appClipDefaultExperienceLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -6975,8 +6737,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -6985,12 +6747,98 @@ } } }, - "201": { - "description": "Single AppCustomProductPage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppCustomProductPageResponse" + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appClipDefaultExperiences": { + "post": { + "tags": [ + "AppClipDefaultExperiences" + ], + "operationId": "appClipDefaultExperiences_createInstance", + "requestBody": { + "description": "AppClipDefaultExperience representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppClipDefaultExperienceCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AppClipDefaultExperience", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppClipDefaultExperienceResponse" } } } @@ -7018,27 +6866,27 @@ } } }, - "/v1/appCustomProductPages/{id}": { + "/v1/appClipDefaultExperiences/{id}": { "get": { "tags": [ - "AppCustomProductPages" + "AppClipDefaultExperiences" ], - "operationId": "appCustomProductPages_getInstance", + "operationId": "appClipDefaultExperiences_getInstance", "parameters": [ { - "name": "fields[appCustomProductPages]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "url", - "visible", - "app", - "appCustomProductPageVersions" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, @@ -7047,70 +6895,58 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[appClips]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", + "app", + "appClipDefaultExperiences", + "appClipAdvancedExperiences" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -7119,19 +6955,36 @@ "required": false }, { - "name": "fields[appCustomProductPageVersions]", + "name": "fields[appClipDefaultExperienceLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "deepLink", - "appCustomProductPage", - "appCustomProductPageLocalizations" + "locale", + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appClipAppStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "invocationUrls", + "appClipDefaultExperience" ] } }, @@ -7148,8 +7001,10 @@ "items": { "type": "string", "enum": [ - "app", - "appCustomProductPageVersions" + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, @@ -7158,9 +7013,9 @@ "required": false }, { - "name": "limit[appCustomProductPageVersions]", + "name": "limit[appClipDefaultExperienceLocalizations]", "in": "query", - "description": "maximum number of related appCustomProductPageVersions returned (when they are included)", + "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -7211,11 +7066,11 @@ } }, "200": { - "description": "Single AppCustomProductPage", + "description": "Single AppClipDefaultExperience", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceResponse" } } } @@ -7234,15 +7089,15 @@ }, "patch": { "tags": [ - "AppCustomProductPages" + "AppClipDefaultExperiences" ], - "operationId": "appCustomProductPages_updateInstance", + "operationId": "appClipDefaultExperiences_updateInstance", "requestBody": { - "description": "AppCustomProductPage representation", + "description": "AppClipDefaultExperience representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageUpdateRequest" + "$ref": "#/components/schemas/AppClipDefaultExperienceUpdateRequest" } } }, @@ -7300,11 +7155,11 @@ } }, "200": { - "description": "Single AppCustomProductPage", + "description": "Single AppClipDefaultExperience", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceResponse" } } } @@ -7333,9 +7188,9 @@ }, "delete": { "tags": [ - "AppCustomProductPages" + "AppClipDefaultExperiences" ], - "operationId": "appCustomProductPages_deleteInstance", + "operationId": "appClipDefaultExperiences_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -7405,18 +7260,18 @@ } ] }, - "/v1/appEncryptionDeclarationDocuments": { + "/v1/appClipHeaderImages": { "post": { "tags": [ - "AppEncryptionDeclarationDocuments" + "AppClipHeaderImages" ], - "operationId": "appEncryptionDeclarationDocuments_createInstance", + "operationId": "appClipHeaderImages_createInstance", "requestBody": { - "description": "AppEncryptionDeclarationDocument representation", + "description": "AppClipHeaderImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentCreateRequest" + "$ref": "#/components/schemas/AppClipHeaderImageCreateRequest" } } }, @@ -7464,11 +7319,11 @@ } }, "201": { - "description": "Single AppEncryptionDeclarationDocument", + "description": "Single AppClipHeaderImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentResponse" + "$ref": "#/components/schemas/AppClipHeaderImageResponse" } } } @@ -7496,17 +7351,17 @@ } } }, - "/v1/appEncryptionDeclarationDocuments/{id}": { + "/v1/appClipHeaderImages/{id}": { "get": { "tags": [ - "AppEncryptionDeclarationDocuments" + "AppClipHeaderImages" ], - "operationId": "appEncryptionDeclarationDocuments_getInstance", + "operationId": "appClipHeaderImages_getInstance", "parameters": [ { - "name": "fields[appEncryptionDeclarationDocuments]", + "name": "fields[appClipHeaderImages]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", + "description": "the fields to include for returned resources of type appClipHeaderImages", "schema": { "type": "array", "items": { @@ -7514,11 +7369,48 @@ "enum": [ "fileSize", "fileName", - "assetToken", - "downloadUrl", "sourceFileChecksum", + "imageAsset", "uploadOperations", - "assetDeliveryState" + "assetDeliveryState", + "appClipDefaultExperienceLocalization" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appClipDefaultExperienceLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appClipDefaultExperienceLocalization" ] } }, @@ -7569,11 +7461,11 @@ } }, "200": { - "description": "Single AppEncryptionDeclarationDocument", + "description": "Single AppClipHeaderImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentResponse" + "$ref": "#/components/schemas/AppClipHeaderImageResponse" } } } @@ -7592,15 +7484,15 @@ }, "patch": { "tags": [ - "AppEncryptionDeclarationDocuments" + "AppClipHeaderImages" ], - "operationId": "appEncryptionDeclarationDocuments_updateInstance", + "operationId": "appClipHeaderImages_updateInstance", "requestBody": { - "description": "AppEncryptionDeclarationDocument representation", + "description": "AppClipHeaderImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentUpdateRequest" + "$ref": "#/components/schemas/AppClipHeaderImageUpdateRequest" } } }, @@ -7658,11 +7550,11 @@ } }, "200": { - "description": "Single AppEncryptionDeclarationDocument", + "description": "Single AppClipHeaderImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentResponse" + "$ref": "#/components/schemas/AppClipHeaderImageResponse" } } } @@ -7689,288 +7581,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appEncryptionDeclarations": { - "get": { + "delete": { "tags": [ - "AppEncryptionDeclarations" - ], - "operationId": "appEncryptionDeclarations_getCollection", - "parameters": [ - { - "name": "filter[platform]", - "in": "query", - "description": "filter by attribute 'platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "filter[app]", - "in": "query", - "description": "filter by id(s) of related 'app'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[builds]", - "in": "query", - "description": "filter by id(s) of related 'builds'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appEncryptionDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", - "platform", - "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", - "app", - "builds", - "appEncryptionDeclarationDocument" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[appEncryptionDeclarationDocuments]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "assetToken", - "downloadUrl", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "builds", - "appEncryptionDeclarationDocument" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } + "AppClipHeaderImages" ], + "operationId": "appClipHeaderImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -8002,16 +7617,19 @@ } } }, - "200": { - "description": "List of AppEncryptionDeclarations", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationsResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -8024,129 +7642,39 @@ } } }, - "post": { - "tags": [ - "AppEncryptionDeclarations" - ], - "operationId": "appEncryptionDeclarations_createInstance", - "requestBody": { - "description": "AppEncryptionDeclaration representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationCreateRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single AppEncryptionDeclaration", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } } - } + ] }, - "/v1/appEncryptionDeclarations/{id}": { + "/v1/appClips/{id}": { "get": { "tags": [ - "AppEncryptionDeclarations" + "AppClips" ], - "operationId": "appEncryptionDeclarations_getInstance", + "operationId": "appClips_getInstance", "parameters": [ { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[appClips]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", - "platform", - "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", + "bundleId", "app", - "builds", - "appEncryptionDeclarationDocument" + "appClipDefaultExperiences", + "appClipAdvancedExperiences" ] } }, @@ -8214,6 +7742,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -8224,68 +7753,22 @@ }, "style": "form", "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[appEncryptionDeclarationDocuments]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "assetToken", - "downloadUrl", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, @@ -8303,8 +7786,7 @@ "type": "string", "enum": [ "app", - "builds", - "appEncryptionDeclarationDocument" + "appClipDefaultExperiences" ] } }, @@ -8313,9 +7795,9 @@ "required": false }, { - "name": "limit[builds]", + "name": "limit[appClipDefaultExperiences]", "in": "query", - "description": "maximum number of related builds returned (when they are included)", + "description": "maximum number of related appClipDefaultExperiences returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -8366,11 +7848,11 @@ } }, "200": { - "description": "Single AppEncryptionDeclaration", + "description": "Single AppClip", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationResponse" + "$ref": "#/components/schemas/AppClipResponse" } } } @@ -8400,18 +7882,18 @@ } ] }, - "/v1/appEventLocalizations": { + "/v1/appCustomProductPageLocalizations": { "post": { "tags": [ - "AppEventLocalizations" + "AppCustomProductPageLocalizations" ], - "operationId": "appEventLocalizations_createInstance", + "operationId": "appCustomProductPageLocalizations_createInstance", "requestBody": { - "description": "AppEventLocalization representation", + "description": "AppCustomProductPageLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventLocalizationCreateRequest" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationCreateRequest" } } }, @@ -8459,11 +7941,11 @@ } }, "201": { - "description": "Single AppEventLocalization", + "description": "Single AppCustomProductPageLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventLocalizationResponse" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationResponse" } } } @@ -8491,29 +7973,29 @@ } } }, - "/v1/appEventLocalizations/{id}": { + "/v1/appCustomProductPageLocalizations/{id}": { "get": { "tags": [ - "AppEventLocalizations" + "AppCustomProductPageLocalizations" ], - "operationId": "appEventLocalizations_getInstance", + "operationId": "appCustomProductPageLocalizations_getInstance", "parameters": [ { - "name": "fields[appEventLocalizations]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ "locale", - "name", - "shortDescription", - "longDescription", - "appEvent", - "appEventScreenshots", - "appEventVideoClips" + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -8522,25 +8004,19 @@ "required": false }, { - "name": "fields[appEvents]", + "name": "fields[appCustomProductPageVersions]", "in": "query", - "description": "the fields to include for returned resources of type appEvents", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "badge", - "eventState", + "version", + "state", "deepLink", - "purchaseRequirement", - "primaryLocale", - "priority", - "purpose", - "territorySchedules", - "archivedTerritorySchedules", - "localizations" + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -8549,22 +8025,19 @@ "required": false }, { - "name": "fields[appEventScreenshots]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type appEventScreenshots", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "assetToken", - "uploadOperations", - "assetDeliveryState", - "appEventAssetType", - "appEventLocalization" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -8573,25 +8046,48 @@ "required": false }, { - "name": "fields[appEventVideoClips]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appEventVideoClips", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "previewFrameTimeCode", - "videoUrl", - "previewFrameImage", - "previewImage", - "uploadOperations", - "assetDeliveryState", - "videoDeliveryState", - "appEventAssetType", - "appEventLocalization" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appAssetLibraryPlacements]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -8608,9 +8104,11 @@ "items": { "type": "string", "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips" + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -8619,9 +8117,9 @@ "required": false }, { - "name": "limit[appEventScreenshots]", + "name": "limit[appPreviewSets]", "in": "query", - "description": "maximum number of related appEventScreenshots returned (when they are included)", + "description": "maximum number of related appPreviewSets returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -8630,9 +8128,31 @@ "required": false }, { - "name": "limit[appEventVideoClips]", + "name": "limit[appScreenshotSets]", "in": "query", - "description": "maximum number of related appEventVideoClips returned (when they are included)", + "description": "maximum number of related appScreenshotSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[placements]", + "in": "query", + "description": "maximum number of related placements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[searchKeywords]", + "in": "query", + "description": "maximum number of related searchKeywords returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -8683,11 +8203,11 @@ } }, "200": { - "description": "Single AppEventLocalization", + "description": "Single AppCustomProductPageLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventLocalizationResponse" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationResponse" } } } @@ -8706,15 +8226,15 @@ }, "patch": { "tags": [ - "AppEventLocalizations" + "AppCustomProductPageLocalizations" ], - "operationId": "appEventLocalizations_updateInstance", + "operationId": "appCustomProductPageLocalizations_updateInstance", "requestBody": { - "description": "AppEventLocalization representation", + "description": "AppCustomProductPageLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventLocalizationUpdateRequest" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationUpdateRequest" } } }, @@ -8772,11 +8292,11 @@ } }, "200": { - "description": "Single AppEventLocalization", + "description": "Single AppCustomProductPageLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventLocalizationResponse" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationResponse" } } } @@ -8805,9 +8325,9 @@ }, "delete": { "tags": [ - "AppEventLocalizations" + "AppCustomProductPageLocalizations" ], - "operationId": "appEventLocalizations_deleteInstance", + "operationId": "appCustomProductPageLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -8877,18 +8397,18 @@ } ] }, - "/v1/appEventScreenshots": { + "/v1/appCustomProductPageVersions": { "post": { "tags": [ - "AppEventScreenshots" + "AppCustomProductPageVersions" ], - "operationId": "appEventScreenshots_createInstance", + "operationId": "appCustomProductPageVersions_createInstance", "requestBody": { - "description": "AppEventScreenshot representation", + "description": "AppCustomProductPageVersion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventScreenshotCreateRequest" + "$ref": "#/components/schemas/AppCustomProductPageVersionCreateRequest" } } }, @@ -8936,11 +8456,11 @@ } }, "201": { - "description": "Single AppEventScreenshot", + "description": "Single AppCustomProductPageVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventScreenshotResponse" + "$ref": "#/components/schemas/AppCustomProductPageVersionResponse" } } } @@ -8968,30 +8488,27 @@ } } }, - "/v1/appEventScreenshots/{id}": { + "/v1/appCustomProductPageVersions/{id}": { "get": { "tags": [ - "AppEventScreenshots" + "AppCustomProductPageVersions" ], - "operationId": "appEventScreenshots_getInstance", + "operationId": "appCustomProductPageVersions_getInstance", "parameters": [ { - "name": "fields[appEventScreenshots]", + "name": "fields[appCustomProductPageVersions]", "in": "query", - "description": "the fields to include for returned resources of type appEventScreenshots", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "assetToken", - "uploadOperations", - "assetDeliveryState", - "appEventAssetType", - "appEventLocalization" + "version", + "state", + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -9000,21 +8517,42 @@ "required": false }, { - "name": "fields[appEventLocalizations]", + "name": "fields[appCustomProductPages]", "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", + "description": "the fields to include for returned resources of type appCustomProductPages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", "name", - "shortDescription", - "longDescription", - "appEvent", - "appEventScreenshots", - "appEventVideoClips" + "url", + "visible", + "app", + "appCustomProductPageVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appCustomProductPageLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -9031,13 +8569,25 @@ "items": { "type": "string", "enum": [ - "appEventLocalization" + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[appCustomProductPageLocalizations]", + "in": "query", + "description": "maximum number of related appCustomProductPageLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -9082,11 +8632,11 @@ } }, "200": { - "description": "Single AppEventScreenshot", + "description": "Single AppCustomProductPageVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventScreenshotResponse" + "$ref": "#/components/schemas/AppCustomProductPageVersionResponse" } } } @@ -9105,15 +8655,15 @@ }, "patch": { "tags": [ - "AppEventScreenshots" + "AppCustomProductPageVersions" ], - "operationId": "appEventScreenshots_updateInstance", + "operationId": "appCustomProductPageVersions_updateInstance", "requestBody": { - "description": "AppEventScreenshot representation", + "description": "AppCustomProductPageVersion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventScreenshotUpdateRequest" + "$ref": "#/components/schemas/AppCustomProductPageVersionUpdateRequest" } } }, @@ -9171,11 +8721,11 @@ } }, "200": { - "description": "Single AppEventScreenshot", + "description": "Single AppCustomProductPageVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventScreenshotResponse" + "$ref": "#/components/schemas/AppCustomProductPageVersionResponse" } } } @@ -9202,67 +8752,6 @@ } } }, - "delete": { - "tags": [ - "AppEventScreenshots" - ], - "operationId": "appEventScreenshots_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, "parameters": [ { "name": "id", @@ -9276,18 +8765,18 @@ } ] }, - "/v1/appEventVideoClips": { + "/v1/appCustomProductPages": { "post": { "tags": [ - "AppEventVideoClips" + "AppCustomProductPages" ], - "operationId": "appEventVideoClips_createInstance", + "operationId": "appCustomProductPages_createInstance", "requestBody": { - "description": "AppEventVideoClip representation", + "description": "AppCustomProductPage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventVideoClipCreateRequest" + "$ref": "#/components/schemas/AppCustomProductPageCreateRequest" } } }, @@ -9335,11 +8824,11 @@ } }, "201": { - "description": "Single AppEventVideoClip", + "description": "Single AppCustomProductPage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventVideoClipResponse" + "$ref": "#/components/schemas/AppCustomProductPageResponse" } } } @@ -9367,33 +8856,27 @@ } } }, - "/v1/appEventVideoClips/{id}": { + "/v1/appCustomProductPages/{id}": { "get": { "tags": [ - "AppEventVideoClips" + "AppCustomProductPages" ], - "operationId": "appEventVideoClips_getInstance", + "operationId": "appCustomProductPages_getInstance", "parameters": [ { - "name": "fields[appEventVideoClips]", + "name": "fields[appCustomProductPages]", "in": "query", - "description": "the fields to include for returned resources of type appEventVideoClips", + "description": "the fields to include for returned resources of type appCustomProductPages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "previewFrameTimeCode", - "videoUrl", - "previewFrameImage", - "previewImage", - "uploadOperations", - "assetDeliveryState", - "videoDeliveryState", - "appEventAssetType", - "appEventLocalization" + "name", + "url", + "visible", + "app", + "appCustomProductPageVersions" ] } }, @@ -9402,21 +8885,92 @@ "required": false }, { - "name": "fields[appEventLocalizations]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", + "accessibilityUrl", "name", - "shortDescription", - "longDescription", - "appEvent", - "appEventScreenshots", - "appEventVideoClips" + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appCustomProductPageVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -9433,13 +8987,25 @@ "items": { "type": "string", "enum": [ - "appEventLocalization" + "app", + "appCustomProductPageVersions" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[appCustomProductPageVersions]", + "in": "query", + "description": "maximum number of related appCustomProductPageVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -9484,11 +9050,11 @@ } }, "200": { - "description": "Single AppEventVideoClip", + "description": "Single AppCustomProductPage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventVideoClipResponse" + "$ref": "#/components/schemas/AppCustomProductPageResponse" } } } @@ -9507,15 +9073,15 @@ }, "patch": { "tags": [ - "AppEventVideoClips" + "AppCustomProductPages" ], - "operationId": "appEventVideoClips_updateInstance", + "operationId": "appCustomProductPages_updateInstance", "requestBody": { - "description": "AppEventVideoClip representation", + "description": "AppCustomProductPage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventVideoClipUpdateRequest" + "$ref": "#/components/schemas/AppCustomProductPageUpdateRequest" } } }, @@ -9573,11 +9139,11 @@ } }, "200": { - "description": "Single AppEventVideoClip", + "description": "Single AppCustomProductPage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventVideoClipResponse" + "$ref": "#/components/schemas/AppCustomProductPageResponse" } } } @@ -9606,9 +9172,9 @@ }, "delete": { "tags": [ - "AppEventVideoClips" + "AppCustomProductPages" ], - "operationId": "appEventVideoClips_deleteInstance", + "operationId": "appCustomProductPages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -9678,18 +9244,18 @@ } ] }, - "/v1/appEvents": { + "/v1/appEncryptionDeclarationDocuments": { "post": { "tags": [ - "AppEvents" + "AppEncryptionDeclarationDocuments" ], - "operationId": "appEvents_createInstance", + "operationId": "appEncryptionDeclarationDocuments_createInstance", "requestBody": { - "description": "AppEvent representation", + "description": "AppEncryptionDeclarationDocument representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventCreateRequest" + "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentCreateRequest" } } }, @@ -9737,11 +9303,11 @@ } }, "201": { - "description": "Single AppEvent", + "description": "Single AppEncryptionDeclarationDocument", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentResponse" } } } @@ -9769,90 +9335,35 @@ } } }, - "/v1/appEvents/{id}": { + "/v1/appEncryptionDeclarationDocuments/{id}": { "get": { "tags": [ - "AppEvents" + "AppEncryptionDeclarationDocuments" ], - "operationId": "appEvents_getInstance", + "operationId": "appEncryptionDeclarationDocuments_getInstance", "parameters": [ { - "name": "fields[appEvents]", - "in": "query", - "description": "the fields to include for returned resources of type appEvents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "badge", - "eventState", - "deepLink", - "purchaseRequirement", - "primaryLocale", - "priority", - "purpose", - "territorySchedules", - "archivedTerritorySchedules", - "localizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appEventLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "shortDescription", - "longDescription", - "appEvent", - "appEventScreenshots", - "appEventVideoClips" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", + "name": "fields[appEncryptionDeclarationDocuments]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "localizations" + "fileSize", + "fileName", + "assetToken", + "downloadUrl", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -9897,11 +9408,11 @@ } }, "200": { - "description": "Single AppEvent", + "description": "Single AppEncryptionDeclarationDocument", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentResponse" } } } @@ -9920,15 +9431,15 @@ }, "patch": { "tags": [ - "AppEvents" + "AppEncryptionDeclarationDocuments" ], - "operationId": "appEvents_updateInstance", + "operationId": "appEncryptionDeclarationDocuments_updateInstance", "requestBody": { - "description": "AppEvent representation", + "description": "AppEncryptionDeclarationDocument representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventUpdateRequest" + "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentUpdateRequest" } } }, @@ -9986,11 +9497,11 @@ } }, "200": { - "description": "Single AppEvent", + "description": "Single AppEncryptionDeclarationDocument", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentResponse" } } } @@ -10017,11 +9528,289 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appEncryptionDeclarations": { + "get": { "tags": [ - "AppEvents" + "AppEncryptionDeclarations" + ], + "operationId": "appEncryptionDeclarations_getCollection", + "parameters": [ + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "filter[app]", + "in": "query", + "description": "filter by id(s) of related 'app'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[builds]", + "in": "query", + "description": "filter by id(s) of related 'builds'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appEncryptionDeclarations]", + "in": "query", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[appEncryptionDeclarationDocuments]", + "in": "query", + "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "assetToken", + "downloadUrl", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "builds", + "appEncryptionDeclarationDocument" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } ], - "operationId": "appEvents_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -10053,19 +9842,16 @@ } } }, - "404": { - "description": "Not found error", + "200": { + "description": "List of AppEncryptionDeclarations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationsResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -10078,31 +9864,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appInfoLocalizations": { "post": { "tags": [ - "AppInfoLocalizations" + "AppEncryptionDeclarations" ], - "operationId": "appInfoLocalizations_createInstance", + "operationId": "appEncryptionDeclarations_createInstance", "requestBody": { - "description": "AppInfoLocalization representation", + "description": "AppEncryptionDeclaration representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoLocalizationCreateRequest" + "$ref": "#/components/schemas/AppEncryptionDeclarationCreateRequest" } } }, @@ -10150,11 +9922,11 @@ } }, "201": { - "description": "Single AppInfoLocalization", + "description": "Single AppEncryptionDeclaration", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoLocalizationResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationResponse" } } } @@ -10182,29 +9954,39 @@ } } }, - "/v1/appInfoLocalizations/{id}": { + "/v1/appEncryptionDeclarations/{id}": { "get": { "tags": [ - "AppInfoLocalizations" + "AppEncryptionDeclarations" ], - "operationId": "appInfoLocalizations_getInstance", + "operationId": "appEncryptionDeclarations_getInstance", "parameters": [ { - "name": "fields[appInfoLocalizations]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type appInfoLocalizations", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "subtitle", - "privacyPolicyUrl", - "privacyChoicesUrl", - "privacyPolicyText", - "appInfo" + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -10213,32 +9995,138 @@ "required": false }, { - "name": "fields[appInfos]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appInfos", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreState", - "state", - "appStoreAgeRating", - "australiaAgeRating", - "brazilAgeRating", - "brazilAgeRatingV2", - "franceAgeRating", - "koreaAgeRating", + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "territoryAgeRatings" + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[appEncryptionDeclarationDocuments]", + "in": "query", + "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "assetToken", + "downloadUrl", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -10255,13 +10143,26 @@ "items": { "type": "string", "enum": [ - "appInfo" + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -10306,11 +10207,11 @@ } }, "200": { - "description": "Single AppInfoLocalization", + "description": "Single AppEncryptionDeclaration", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoLocalizationResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationResponse" } } } @@ -10327,17 +10228,31 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appEventLocalizations": { + "post": { "tags": [ - "AppInfoLocalizations" + "AppEventLocalizations" ], - "operationId": "appInfoLocalizations_updateInstance", + "operationId": "appEventLocalizations_createInstance", "requestBody": { - "description": "AppInfoLocalization representation", + "description": "AppEventLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoLocalizationUpdateRequest" + "$ref": "#/components/schemas/AppEventLocalizationCreateRequest" } } }, @@ -10374,16 +10289,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -10394,12 +10299,12 @@ } } }, - "200": { - "description": "Single AppInfoLocalization", + "201": { + "description": "Single AppEventLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoLocalizationResponse" + "$ref": "#/components/schemas/AppEventLocalizationResponse" } } } @@ -10425,115 +10330,32 @@ } } } - }, - "delete": { - "tags": [ - "AppInfoLocalizations" - ], - "operationId": "appInfoLocalizations_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/appInfos/{id}": { + "/v1/appEventLocalizations/{id}": { "get": { "tags": [ - "AppInfos" + "AppEventLocalizations" ], - "operationId": "appInfos_getInstance", + "operationId": "appEventLocalizations_getInstance", "parameters": [ { - "name": "fields[appInfos]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appInfos", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreState", - "state", - "appStoreAgeRating", - "australiaAgeRating", - "brazilAgeRating", - "brazilAgeRatingV2", - "franceAgeRating", - "koreaAgeRating", - "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "territoryAgeRatings" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -10542,70 +10364,25 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[appEvents]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "localizations" ] } }, @@ -10614,44 +10391,22 @@ "required": false }, { - "name": "fields[ageRatingDeclarations]", + "name": "fields[appEventScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type ageRatingDeclarations", + "description": "the fields to include for returned resources of type appEventScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "advertising", - "alcoholTobaccoOrDrugUseOrReferences", - "contests", - "gambling", - "gamblingSimulated", - "gunsOrOtherWeapons", - "healthOrWellnessTopics", - "kidsAgeBand", - "lootBox", - "medicalOrTreatmentInformation", - "messagingAndChat", - "parentalControls", - "profanityOrCrudeHumor", - "ageAssurance", - "sexualContentGraphicAndNudity", - "sexualContentOrNudity", - "socialMedia", - "socialMediaAgeRestricted", - "horrorOrFearThemes", - "matureOrSuggestiveThemes", - "unrestrictedWebAccess", - "userGeneratedContent", - "violenceCartoonOrFantasy", - "violenceRealisticProlongedGraphicOrSadistic", - "violenceRealistic", - "ageRatingOverride", - "ageRatingOverrideV2", - "koreaAgeRatingOverride", - "gracRatingClassificationNumber", - "developerAgeRatingInfoUrl" + "fileSize", + "fileName", + "imageAsset", + "assetToken", + "uploadOperations", + "assetDeliveryState", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -10660,21 +10415,25 @@ "required": false }, { - "name": "fields[appInfoLocalizations]", + "name": "fields[appEventVideoClips]", "in": "query", - "description": "the fields to include for returned resources of type appInfoLocalizations", + "description": "the fields to include for returned resources of type appEventVideoClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "subtitle", - "privacyPolicyUrl", - "privacyChoicesUrl", - "privacyPolicyText", - "appInfo" + "fileSize", + "fileName", + "previewFrameTimeCode", + "videoUrl", + "previewFrameImage", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "videoDeliveryState", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -10683,17 +10442,27 @@ "required": false }, { - "name": "fields[appCategories]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "the fields to include for returned resources of type appCategories", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platforms", - "subcategories", - "parent" + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -10710,15 +10479,10 @@ "items": { "type": "string", "enum": [ - "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo" + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -10727,9 +10491,31 @@ "required": false }, { - "name": "limit[appInfoLocalizations]", + "name": "limit[appEventScreenshots]", "in": "query", - "description": "maximum number of related appInfoLocalizations returned (when they are included)", + "description": "maximum number of related appEventScreenshots returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[appEventVideoClips]", + "in": "query", + "description": "maximum number of related appEventVideoClips returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[placements]", + "in": "query", + "description": "maximum number of related placements returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -10780,11 +10566,11 @@ } }, "200": { - "description": "Single AppInfo", + "description": "Single AppEventLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoResponse" + "$ref": "#/components/schemas/AppEventLocalizationResponse" } } } @@ -10803,15 +10589,15 @@ }, "patch": { "tags": [ - "AppInfos" + "AppEventLocalizations" ], - "operationId": "appInfos_updateInstance", + "operationId": "appEventLocalizations_updateInstance", "requestBody": { - "description": "AppInfo representation", + "description": "AppEventLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoUpdateRequest" + "$ref": "#/components/schemas/AppEventLocalizationUpdateRequest" } } }, @@ -10869,11 +10655,11 @@ } }, "200": { - "description": "Single AppInfo", + "description": "Single AppEventLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoResponse" + "$ref": "#/components/schemas/AppEventLocalizationResponse" } } } @@ -10900,36 +10686,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appPreviewSets": { - "post": { + "delete": { "tags": [ - "AppPreviewSets" + "AppEventLocalizations" ], - "operationId": "appPreviewSets_createInstance", - "requestBody": { - "description": "AppPreviewSet representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppPreviewSetCreateRequest" - } - } - }, - "required": true - }, + "operationId": "appEventLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -10961,8 +10722,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -10971,19 +10732,105 @@ } } }, - "201": { - "description": "Single AppPreviewSet", + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewSetResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } - }, - "409": { - "description": "Request entity error(s)", - "content": { + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appEventScreenshots": { + "post": { + "tags": [ + "AppEventScreenshots" + ], + "operationId": "appEventScreenshots_createInstance", + "requestBody": { + "description": "AppEventScreenshot representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEventScreenshotCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AppEventScreenshot", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEventScreenshotResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" @@ -11004,27 +10851,30 @@ } } }, - "/v1/appPreviewSets/{id}": { + "/v1/appEventScreenshots/{id}": { "get": { "tags": [ - "AppPreviewSets" + "AppEventScreenshots" ], - "operationId": "appPreviewSets_getInstance", + "operationId": "appEventScreenshots_getInstance", "parameters": [ { - "name": "fields[appPreviewSets]", + "name": "fields[appEventScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appEventScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "fileSize", + "fileName", + "imageAsset", + "assetToken", + "uploadOperations", + "assetDeliveryState", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -11033,25 +10883,22 @@ "required": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -11060,107 +10907,102 @@ "required": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" + "appEventLocalization" ] } }, "style": "form", "explode": false, "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[appPreviews]", - "in": "query", - "description": "the fields to include for returned resources of type appPreviews", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "previewFrameTimeCode", - "mimeType", - "videoUrl", - "previewFrameImage", - "previewImage", - "uploadOperations", - "assetDeliveryState", - "videoDeliveryState", - "appPreviewSet" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[appPreviews]", - "in": "query", - "description": "maximum number of related appPreviews returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "200": { + "description": "Single AppEventScreenshot", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEventScreenshotResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + }, + "patch": { + "tags": [ + "AppEventScreenshots" ], + "operationId": "appEventScreenshots_updateInstance", + "requestBody": { + "description": "AppEventScreenshot representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEventScreenshotUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -11202,12 +11044,32 @@ } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "Single AppPreviewSet", + "description": "Single AppEventScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewSetResponse" + "$ref": "#/components/schemas/AppEventScreenshotResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -11226,9 +11088,9 @@ }, "delete": { "tags": [ - "AppPreviewSets" + "AppEventScreenshots" ], - "operationId": "appPreviewSets_deleteInstance", + "operationId": "appEventScreenshots_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -11298,18 +11160,18 @@ } ] }, - "/v1/appPreviews": { + "/v1/appEventVideoClips": { "post": { "tags": [ - "AppPreviews" + "AppEventVideoClips" ], - "operationId": "appPreviews_createInstance", + "operationId": "appEventVideoClips_createInstance", "requestBody": { - "description": "AppPreview representation", + "description": "AppEventVideoClip representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewCreateRequest" + "$ref": "#/components/schemas/AppEventVideoClipCreateRequest" } } }, @@ -11357,11 +11219,11 @@ } }, "201": { - "description": "Single AppPreview", + "description": "Single AppEventVideoClip", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewResponse" + "$ref": "#/components/schemas/AppEventVideoClipResponse" } } } @@ -11389,17 +11251,17 @@ } } }, - "/v1/appPreviews/{id}": { + "/v1/appEventVideoClips/{id}": { "get": { "tags": [ - "AppPreviews" + "AppEventVideoClips" ], - "operationId": "appPreviews_getInstance", + "operationId": "appEventVideoClips_getInstance", "parameters": [ { - "name": "fields[appPreviews]", + "name": "fields[appEventVideoClips]", "in": "query", - "description": "the fields to include for returned resources of type appPreviews", + "description": "the fields to include for returned resources of type appEventVideoClips", "schema": { "type": "array", "items": { @@ -11407,16 +11269,15 @@ "enum": [ "fileSize", "fileName", - "sourceFileChecksum", "previewFrameTimeCode", - "mimeType", "videoUrl", "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", "videoDeliveryState", - "appPreviewSet" + "appEventAssetType", + "appEventLocalization" ] } }, @@ -11425,19 +11286,22 @@ "required": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -11454,7 +11318,7 @@ "items": { "type": "string", "enum": [ - "appPreviewSet" + "appEventLocalization" ] } }, @@ -11505,11 +11369,11 @@ } }, "200": { - "description": "Single AppPreview", + "description": "Single AppEventVideoClip", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewResponse" + "$ref": "#/components/schemas/AppEventVideoClipResponse" } } } @@ -11528,15 +11392,15 @@ }, "patch": { "tags": [ - "AppPreviews" + "AppEventVideoClips" ], - "operationId": "appPreviews_updateInstance", + "operationId": "appEventVideoClips_updateInstance", "requestBody": { - "description": "AppPreview representation", + "description": "AppEventVideoClip representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewUpdateRequest" + "$ref": "#/components/schemas/AppEventVideoClipUpdateRequest" } } }, @@ -11594,11 +11458,11 @@ } }, "200": { - "description": "Single AppPreview", + "description": "Single AppEventVideoClip", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewResponse" + "$ref": "#/components/schemas/AppEventVideoClipResponse" } } } @@ -11627,9 +11491,9 @@ }, "delete": { "tags": [ - "AppPreviews" + "AppEventVideoClips" ], - "operationId": "appPreviews_deleteInstance", + "operationId": "appEventVideoClips_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -11699,27 +11563,124 @@ } ] }, - "/v3/appPricePoints/{id}": { + "/v1/appEvents": { + "post": { + "tags": [ + "AppEvents" + ], + "operationId": "appEvents_createInstance", + "requestBody": { + "description": "AppEvent representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEventCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AppEvent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEventResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/appEvents/{id}": { "get": { "tags": [ - "AppPricePoints" + "AppEvents" ], - "operationId": "appPricePointsV3_getInstance", + "operationId": "appEvents_getInstance", "parameters": [ { - "name": "fields[appPricePoints]", + "name": "fields[appEvents]", "in": "query", - "description": "the fields to include for returned resources of type appPricePoints", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "app", - "equalizations", - "territory" + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "localizations" ] } }, @@ -11728,70 +11689,22 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", + "locale", "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -11800,15 +11713,15 @@ "required": false }, { - "name": "fields[territories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "localizations" ] } }, @@ -11817,21 +11730,14 @@ "required": false }, { - "name": "include", + "name": "limit[localizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related localizations returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "territory" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false } ], @@ -11877,11 +11783,11 @@ } }, "200": { - "description": "Single AppPricePoint", + "description": "Single AppEvent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPricePointV3Response" + "$ref": "#/components/schemas/AppEventResponse" } } } @@ -11898,31 +11804,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appPriceSchedules": { - "post": { + "patch": { "tags": [ - "AppPriceSchedules" + "AppEvents" ], - "operationId": "appPriceSchedules_createInstance", + "operationId": "appEvents_updateInstance", "requestBody": { - "description": "AppPriceSchedule representation", + "description": "AppEvent representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPriceScheduleCreateRequest" + "$ref": "#/components/schemas/AppEventUpdateRequest" } } }, @@ -11959,6 +11851,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -11969,12 +11871,12 @@ } } }, - "201": { - "description": "Single AppPriceSchedule", + "200": { + "description": "Single AppEvent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPriceScheduleResponse" + "$ref": "#/components/schemas/AppEventResponse" } } } @@ -12000,188 +11902,12 @@ } } } - } - }, - "/v1/appPriceSchedules/{id}": { - "get": { + }, + "delete": { "tags": [ - "AppPriceSchedules" - ], - "operationId": "appPriceSchedules_getInstance", - "parameters": [ - { - "name": "fields[appPriceSchedules]", - "in": "query", - "description": "the fields to include for returned resources of type appPriceSchedules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "baseTerritory", - "manualPrices", - "automaticPrices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appPrices]", - "in": "query", - "description": "the fields to include for returned resources of type appPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "manual", - "startDate", - "endDate", - "appPricePoint", - "territory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "baseTerritory", - "manualPrices", - "automaticPrices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[automaticPrices]", - "in": "query", - "description": "maximum number of related automaticPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[manualPrices]", - "in": "query", - "description": "maximum number of related manualPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } + "AppEvents" ], + "operationId": "appEvents_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -12223,15 +11949,8 @@ } } }, - "200": { - "description": "Single AppPriceSchedule", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppPriceScheduleResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -12258,18 +11977,18 @@ } ] }, - "/v1/appScreenshotSets": { + "/v1/appInfoLocalizations": { "post": { "tags": [ - "AppScreenshotSets" + "AppInfoLocalizations" ], - "operationId": "appScreenshotSets_createInstance", + "operationId": "appInfoLocalizations_createInstance", "requestBody": { - "description": "AppScreenshotSet representation", + "description": "AppInfoLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotSetCreateRequest" + "$ref": "#/components/schemas/AppInfoLocalizationCreateRequest" } } }, @@ -12317,11 +12036,11 @@ } }, "201": { - "description": "Single AppScreenshotSet", + "description": "Single AppInfoLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotSetResponse" + "$ref": "#/components/schemas/AppInfoLocalizationResponse" } } } @@ -12349,96 +12068,29 @@ } } }, - "/v1/appScreenshotSets/{id}": { + "/v1/appInfoLocalizations/{id}": { "get": { "tags": [ - "AppScreenshotSets" + "AppInfoLocalizations" ], - "operationId": "appScreenshotSets_getInstance", + "operationId": "appInfoLocalizations_getInstance", "parameters": [ { - "name": "fields[appScreenshotSets]", - "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appCustomProductPageLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appInfoLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appInfoLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" + "name", + "subtitle", + "privacyPolicyUrl", + "privacyChoicesUrl", + "privacyPolicyText", + "appInfo" ] } }, @@ -12447,23 +12099,32 @@ "required": false }, { - "name": "fields[appScreenshots]", + "name": "fields[appInfos]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "the fields to include for returned resources of type appInfos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "appScreenshotSet" + "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", + "brazilAgeRating", + "brazilAgeRatingV2", + "franceAgeRating", + "koreaAgeRating", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo", + "territoryAgeRatings" ] } }, @@ -12480,27 +12141,13 @@ "items": { "type": "string", "enum": [ - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "appInfo" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[appScreenshots]", - "in": "query", - "description": "maximum number of related appScreenshots returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -12545,11 +12192,11 @@ } }, "200": { - "description": "Single AppScreenshotSet", + "description": "Single AppInfoLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotSetResponse" + "$ref": "#/components/schemas/AppInfoLocalizationResponse" } } } @@ -12566,11 +12213,22 @@ } } }, - "delete": { + "patch": { "tags": [ - "AppScreenshotSets" + "AppInfoLocalizations" ], - "operationId": "appScreenshotSets_deleteInstance", + "operationId": "appInfoLocalizations_updateInstance", + "requestBody": { + "description": "AppInfoLocalization representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppInfoLocalizationUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -12612,8 +12270,35 @@ } } }, - "204": { - "description": "Success (no content)" + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppInfoLocalization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppInfoLocalizationResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -12627,36 +12312,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appScreenshots": { - "post": { + "delete": { "tags": [ - "AppScreenshots" + "AppInfoLocalizations" ], - "operationId": "appScreenshots_createInstance", - "requestBody": { - "description": "AppScreenshot representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppScreenshotCreateRequest" - } - } - }, - "required": true - }, + "operationId": "appInfoLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -12688,8 +12348,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -12698,25 +12358,8 @@ } } }, - "201": { - "description": "Single AppScreenshot", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppScreenshotResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -12729,33 +12372,54 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/appScreenshots/{id}": { + "/v1/appInfos/{id}": { "get": { "tags": [ - "AppScreenshots" + "AppInfos" ], - "operationId": "appScreenshots_getInstance", + "operationId": "appInfos_getInstance", "parameters": [ { - "name": "fields[appScreenshots]", + "name": "fields[appInfos]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "the fields to include for returned resources of type appInfos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "appScreenshotSet" + "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", + "brazilAgeRating", + "brazilAgeRatingV2", + "franceAgeRating", + "koreaAgeRating", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo", + "territoryAgeRatings" ] } }, @@ -12764,19 +12428,159 @@ "required": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[ageRatingDeclarations]", + "in": "query", + "description": "the fields to include for returned resources of type ageRatingDeclarations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "advertising", + "alcoholTobaccoOrDrugUseOrReferences", + "contests", + "gambling", + "gamblingSimulated", + "gunsOrOtherWeapons", + "healthOrWellnessTopics", + "kidsAgeBand", + "lootBox", + "medicalOrTreatmentInformation", + "messagingAndChat", + "parentalControls", + "profanityOrCrudeHumor", + "ageAssurance", + "sexualContentGraphicAndNudity", + "sexualContentOrNudity", + "socialMedia", + "socialMediaAgeRestricted", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", + "unrestrictedWebAccess", + "userGeneratedContent", + "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", + "violenceRealistic", + "ageRatingOverride", + "ageRatingOverrideV2", + "koreaAgeRatingOverride", + "gracRatingClassificationNumber", + "developerAgeRatingInfoUrl" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appInfoLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appInfoLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "subtitle", + "privacyPolicyUrl", + "privacyChoicesUrl", + "privacyPolicyText", + "appInfo" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appCategories]", + "in": "query", + "description": "the fields to include for returned resources of type appCategories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platforms", + "subcategories", + "parent" ] } }, @@ -12793,13 +12597,32 @@ "items": { "type": "string", "enum": [ - "appScreenshotSet" + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[appInfoLocalizations]", + "in": "query", + "description": "maximum number of related appInfoLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -12844,11 +12667,11 @@ } }, "200": { - "description": "Single AppScreenshot", + "description": "Single AppInfo", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotResponse" + "$ref": "#/components/schemas/AppInfoResponse" } } } @@ -12867,15 +12690,15 @@ }, "patch": { "tags": [ - "AppScreenshots" + "AppInfos" ], - "operationId": "appScreenshots_updateInstance", + "operationId": "appInfos_updateInstance", "requestBody": { - "description": "AppScreenshot representation", + "description": "AppInfo representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotUpdateRequest" + "$ref": "#/components/schemas/AppInfoUpdateRequest" } } }, @@ -12933,11 +12756,11 @@ } }, "200": { - "description": "Single AppScreenshot", + "description": "Single AppInfo", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotResponse" + "$ref": "#/components/schemas/AppInfoResponse" } } } @@ -12964,67 +12787,6 @@ } } }, - "delete": { - "tags": [ - "AppScreenshots" - ], - "operationId": "appScreenshots_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, "parameters": [ { "name": "id", @@ -13038,18 +12800,18 @@ } ] }, - "/v1/appStoreReviewAttachments": { + "/v1/appPreviewSets": { "post": { "tags": [ - "AppStoreReviewAttachments" + "AppPreviewSets" ], - "operationId": "appStoreReviewAttachments_createInstance", + "operationId": "appPreviewSets_createInstance", "requestBody": { - "description": "AppStoreReviewAttachment representation", + "description": "AppPreviewSet representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewAttachmentCreateRequest" + "$ref": "#/components/schemas/AppPreviewSetCreateRequest" } } }, @@ -13097,11 +12859,11 @@ } }, "201": { - "description": "Single AppStoreReviewAttachment", + "description": "Single AppPreviewSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewAttachmentResponse" + "$ref": "#/components/schemas/AppPreviewSetResponse" } } } @@ -13129,28 +12891,27 @@ } } }, - "/v1/appStoreReviewAttachments/{id}": { + "/v1/appPreviewSets/{id}": { "get": { "tags": [ - "AppStoreReviewAttachments" + "AppPreviewSets" ], - "operationId": "appStoreReviewAttachments_getInstance", + "operationId": "appPreviewSets_getInstance", "parameters": [ { - "name": "fields[appStoreReviewAttachments]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewAttachments", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreReviewDetail" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -13159,24 +12920,26 @@ "required": false }, { - "name": "fields[appStoreReviewDetails]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", "appStoreVersion", - "appStoreReviewAttachments" + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -13185,102 +12948,109 @@ "required": false }, { - "name": "include", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewDetail" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appPreviews]", + "in": "query", + "description": "the fields to include for returned resources of type appPreviews", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "previewFrameTimeCode", + "mimeType", + "videoUrl", + "previewFrameImage", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "videoDeliveryState", + "appPreviewSet" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "200": { - "description": "Single AppStoreReviewAttachment", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreReviewAttachmentResponse" - } + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit[appPreviews]", + "in": "query", + "description": "maximum number of related appPreviews returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } - } - }, - "patch": { - "tags": [ - "AppStoreReviewAttachments" ], - "operationId": "appStoreReviewAttachments_updateInstance", - "requestBody": { - "description": "AppStoreReviewAttachment representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreReviewAttachmentUpdateRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -13322,32 +13092,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single AppStoreReviewAttachment", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreReviewAttachmentResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single AppPreviewSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppPreviewSetResponse" } } } @@ -13366,9 +13116,9 @@ }, "delete": { "tags": [ - "AppStoreReviewAttachments" + "AppPreviewSets" ], - "operationId": "appStoreReviewAttachments_deleteInstance", + "operationId": "appPreviewSets_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -13438,18 +13188,18 @@ } ] }, - "/v1/appStoreReviewDetails": { + "/v1/appPreviews": { "post": { "tags": [ - "AppStoreReviewDetails" + "AppPreviews" ], - "operationId": "appStoreReviewDetails_createInstance", + "operationId": "appPreviews_createInstance", "requestBody": { - "description": "AppStoreReviewDetail representation", + "description": "AppPreview representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewDetailCreateRequest" + "$ref": "#/components/schemas/AppPreviewCreateRequest" } } }, @@ -13497,11 +13247,11 @@ } }, "201": { - "description": "Single AppStoreReviewDetail", + "description": "Single AppPreview", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewDetailResponse" + "$ref": "#/components/schemas/AppPreviewResponse" } } } @@ -13529,72 +13279,34 @@ } } }, - "/v1/appStoreReviewDetails/{id}": { + "/v1/appPreviews/{id}": { "get": { "tags": [ - "AppStoreReviewDetails" + "AppPreviews" ], - "operationId": "appStoreReviewDetails_getInstance", + "operationId": "appPreviews_getInstance", "parameters": [ { - "name": "fields[appStoreReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "appStoreVersion", - "appStoreReviewAttachments" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersions]", + "name": "fields[appPreviews]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appPreviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "fileSize", + "fileName", + "sourceFileChecksum", + "previewFrameTimeCode", + "mimeType", + "videoUrl", + "previewFrameImage", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "videoDeliveryState", + "appPreviewSet" ] } }, @@ -13603,20 +13315,19 @@ "required": false }, { - "name": "fields[appStoreReviewAttachments]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewAttachments", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreReviewDetail" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -13633,25 +13344,13 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "appStoreReviewAttachments" + "appPreviewSet" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[appStoreReviewAttachments]", - "in": "query", - "description": "maximum number of related appStoreReviewAttachments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -13696,11 +13395,11 @@ } }, "200": { - "description": "Single AppStoreReviewDetail", + "description": "Single AppPreview", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewDetailResponse" + "$ref": "#/components/schemas/AppPreviewResponse" } } } @@ -13719,15 +13418,15 @@ }, "patch": { "tags": [ - "AppStoreReviewDetails" + "AppPreviews" ], - "operationId": "appStoreReviewDetails_updateInstance", + "operationId": "appPreviews_updateInstance", "requestBody": { - "description": "AppStoreReviewDetail representation", + "description": "AppPreview representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewDetailUpdateRequest" + "$ref": "#/components/schemas/AppPreviewUpdateRequest" } } }, @@ -13785,11 +13484,11 @@ } }, "200": { - "description": "Single AppStoreReviewDetail", + "description": "Single AppPreview", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewDetailResponse" + "$ref": "#/components/schemas/AppPreviewResponse" } } } @@ -13816,36 +13515,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appStoreVersionExperimentTreatmentLocalizations": { - "post": { + "delete": { "tags": [ - "AppStoreVersionExperimentTreatmentLocalizations" + "AppPreviews" ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations_createInstance", - "requestBody": { - "description": "AppStoreVersionExperimentTreatmentLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationCreateRequest" - } - } - }, - "required": true - }, + "operationId": "appPreviews_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -13877,8 +13551,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -13887,25 +13561,8 @@ } } }, - "201": { - "description": "Single AppStoreVersionExperimentTreatmentLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -13918,28 +13575,41 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}": { + "/v3/appPricePoints/{id}": { "get": { "tags": [ - "AppStoreVersionExperimentTreatmentLocalizations" + "AppPricePoints" ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations_getInstance", + "operationId": "appPricePointsV3_getInstance", "parameters": [ { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" + "customerPrice", + "proceeds", + "app", + "equalizations", + "territory" ] } }, @@ -13948,42 +13618,71 @@ "required": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "accessibilityUrl", "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appScreenshotSets]", - "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -13992,19 +13691,15 @@ "required": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "currency" ] } }, @@ -14021,37 +13716,14 @@ "items": { "type": "string", "enum": [ - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" + "app", + "territory" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[appPreviewSets]", - "in": "query", - "description": "maximum number of related appPreviewSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[appScreenshotSets]", - "in": "query", - "description": "maximum number of related appScreenshotSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -14096,76 +13768,15 @@ } }, "200": { - "description": "Single AppStoreVersionExperimentTreatmentLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "AppStoreVersionExperimentTreatmentLocalizations" - ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", + "description": "Single AppPricePoint", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppPricePointV3Response" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -14191,18 +13802,18 @@ } ] }, - "/v1/appStoreVersionExperimentTreatments": { + "/v1/appPriceSchedules": { "post": { "tags": [ - "AppStoreVersionExperimentTreatments" + "AppPriceSchedules" ], - "operationId": "appStoreVersionExperimentTreatments_createInstance", + "operationId": "appPriceSchedules_createInstance", "requestBody": { - "description": "AppStoreVersionExperimentTreatment representation", + "description": "AppPriceSchedule representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentCreateRequest" + "$ref": "#/components/schemas/AppPriceScheduleCreateRequest" } } }, @@ -14250,11 +13861,11 @@ } }, "201": { - "description": "Single AppStoreVersionExperimentTreatment", + "description": "Single AppPriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentResponse" + "$ref": "#/components/schemas/AppPriceScheduleResponse" } } } @@ -14282,29 +13893,26 @@ } } }, - "/v1/appStoreVersionExperimentTreatments/{id}": { + "/v1/appPriceSchedules/{id}": { "get": { "tags": [ - "AppStoreVersionExperimentTreatments" + "AppPriceSchedules" ], - "operationId": "appStoreVersionExperimentTreatments_getInstance", + "operationId": "appPriceSchedules_getInstance", "parameters": [ { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[appPriceSchedules]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type appPriceSchedules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" + "app", + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -14313,26 +13921,71 @@ "required": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "accessibilityUrl", "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "platform", - "app", - "latestControlVersion", - "controlVersions" + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -14341,18 +13994,36 @@ "required": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" + "currency" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appPrices]", + "in": "query", + "description": "the fields to include for returned resources of type appPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "manual", + "startDate", + "endDate", + "appPricePoint", + "territory" ] } }, @@ -14369,9 +14040,10 @@ "items": { "type": "string", "enum": [ - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" + "app", + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -14380,9 +14052,20 @@ "required": false }, { - "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", + "name": "limit[automaticPrices]", "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", + "description": "maximum number of related automaticPrices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[manualPrices]", + "in": "query", + "description": "maximum number of related manualPrices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -14433,11 +14116,11 @@ } }, "200": { - "description": "Single AppStoreVersionExperimentTreatment", + "description": "Single AppPriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentResponse" + "$ref": "#/components/schemas/AppPriceScheduleResponse" } } } @@ -14454,17 +14137,31 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appScreenshotSets": { + "post": { "tags": [ - "AppStoreVersionExperimentTreatments" + "AppScreenshotSets" ], - "operationId": "appStoreVersionExperimentTreatments_updateInstance", + "operationId": "appScreenshotSets_createInstance", "requestBody": { - "description": "AppStoreVersionExperimentTreatment representation", + "description": "AppScreenshotSet representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentUpdateRequest" + "$ref": "#/components/schemas/AppScreenshotSetCreateRequest" } } }, @@ -14501,8 +14198,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -14511,8 +14208,18 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "201": { + "description": "Single AppScreenshotSet", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppScreenshotSetResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -14521,18 +14228,199 @@ } } }, - "200": { - "description": "Single AppStoreVersionExperimentTreatment", + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } + } + } + } + }, + "/v1/appScreenshotSets/{id}": { + "get": { + "tags": [ + "AppScreenshotSets" + ], + "operationId": "appScreenshotSets_getInstance", + "parameters": [ + { + "name": "fields[appScreenshotSets]", + "in": "query", + "description": "the fields to include for returned resources of type appScreenshotSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" + ] + } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appCustomProductPageLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type appScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "appScreenshotSet" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[appScreenshots]", + "in": "query", + "description": "maximum number of related appScreenshots returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", "content": { "application/json": { "schema": { @@ -14541,6 +14429,26 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppScreenshotSet", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppScreenshotSetResponse" + } + } + } + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -14555,9 +14463,9 @@ }, "delete": { "tags": [ - "AppStoreVersionExperimentTreatments" + "AppScreenshotSets" ], - "operationId": "appStoreVersionExperimentTreatments_deleteInstance", + "operationId": "appScreenshotSets_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -14627,18 +14535,18 @@ } ] }, - "/v2/appStoreVersionExperiments": { + "/v1/appScreenshots": { "post": { "tags": [ - "AppStoreVersionExperiments" + "AppScreenshots" ], - "operationId": "appStoreVersionExperimentsV2_createInstance", + "operationId": "appScreenshots_createInstance", "requestBody": { - "description": "AppStoreVersionExperiment representation", + "description": "AppScreenshot representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentV2CreateRequest" + "$ref": "#/components/schemas/AppScreenshotCreateRequest" } } }, @@ -14686,11 +14594,11 @@ } }, "201": { - "description": "Single AppStoreVersionExperiment", + "description": "Single AppScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentV2Response" + "$ref": "#/components/schemas/AppScreenshotResponse" } } } @@ -14718,145 +14626,31 @@ } } }, - "/v2/appStoreVersionExperiments/{id}": { + "/v1/appScreenshots/{id}": { "get": { "tags": [ - "AppStoreVersionExperiments" + "AppScreenshots" ], - "operationId": "appStoreVersionExperimentsV2_getInstance", + "operationId": "appScreenshots_getInstance", "parameters": [ { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "platform", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "app", - "latestControlVersion", - "controlVersions", - "appStoreVersionExperimentTreatments" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersions]", + "name": "fields[appScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "appScreenshotSet" ] } }, @@ -14865,21 +14659,19 @@ "required": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -14896,38 +14688,13 @@ "items": { "type": "string", "enum": [ - "app", - "latestControlVersion", - "controlVersions", - "appStoreVersionExperimentTreatments" + "appScreenshotSet" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[appStoreVersionExperimentTreatments]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[controlVersions]", - "in": "query", - "description": "maximum number of related controlVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -14972,11 +14739,11 @@ } }, "200": { - "description": "Single AppStoreVersionExperiment", + "description": "Single AppScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentV2Response" + "$ref": "#/components/schemas/AppScreenshotResponse" } } } @@ -14995,15 +14762,15 @@ }, "patch": { "tags": [ - "AppStoreVersionExperiments" + "AppScreenshots" ], - "operationId": "appStoreVersionExperimentsV2_updateInstance", + "operationId": "appScreenshots_updateInstance", "requestBody": { - "description": "AppStoreVersionExperiment representation", + "description": "AppScreenshot representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentV2UpdateRequest" + "$ref": "#/components/schemas/AppScreenshotUpdateRequest" } } }, @@ -15061,11 +14828,11 @@ } }, "200": { - "description": "Single AppStoreVersionExperiment", + "description": "Single AppScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentV2Response" + "$ref": "#/components/schemas/AppScreenshotResponse" } } } @@ -15094,9 +14861,9 @@ }, "delete": { "tags": [ - "AppStoreVersionExperiments" + "AppScreenshots" ], - "operationId": "appStoreVersionExperimentsV2_deleteInstance", + "operationId": "appScreenshots_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -15166,19 +14933,18 @@ } ] }, - "/v1/appStoreVersionExperiments": { + "/v1/appStoreReviewAttachments": { "post": { "tags": [ - "AppStoreVersionExperiments" + "AppStoreReviewAttachments" ], - "operationId": "appStoreVersionExperiments_createInstance", - "deprecated": true, + "operationId": "appStoreReviewAttachments_createInstance", "requestBody": { - "description": "AppStoreVersionExperiment representation", + "description": "AppStoreReviewAttachment representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentCreateRequest" + "$ref": "#/components/schemas/AppStoreReviewAttachmentCreateRequest" } } }, @@ -15226,11 +14992,11 @@ } }, "201": { - "description": "Single AppStoreVersionExperiment", + "description": "Single AppStoreReviewAttachment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentResponse" + "$ref": "#/components/schemas/AppStoreReviewAttachmentResponse" } } } @@ -15258,71 +15024,28 @@ } } }, - "/v1/appStoreVersionExperiments/{id}": { + "/v1/appStoreReviewAttachments/{id}": { "get": { "tags": [ - "AppStoreVersionExperiments" + "AppStoreReviewAttachments" ], - "operationId": "appStoreVersionExperiments_getInstance", - "deprecated": true, + "operationId": "appStoreReviewAttachments_getInstance", "parameters": [ { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersions]", + "name": "fields[appStoreReviewAttachments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appStoreReviewAttachments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "appStoreReviewDetail" ] } }, @@ -15331,21 +15054,24 @@ "required": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[appStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type appStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -15362,25 +15088,13 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "appStoreVersionExperimentTreatments" + "appStoreReviewDetail" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[appStoreVersionExperimentTreatments]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -15425,11 +15139,11 @@ } }, "200": { - "description": "Single AppStoreVersionExperiment", + "description": "Single AppStoreReviewAttachment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentResponse" + "$ref": "#/components/schemas/AppStoreReviewAttachmentResponse" } } } @@ -15448,16 +15162,15 @@ }, "patch": { "tags": [ - "AppStoreVersionExperiments" + "AppStoreReviewAttachments" ], - "operationId": "appStoreVersionExperiments_updateInstance", - "deprecated": true, + "operationId": "appStoreReviewAttachments_updateInstance", "requestBody": { - "description": "AppStoreVersionExperiment representation", + "description": "AppStoreReviewAttachment representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentUpdateRequest" + "$ref": "#/components/schemas/AppStoreReviewAttachmentUpdateRequest" } } }, @@ -15515,11 +15228,11 @@ } }, "200": { - "description": "Single AppStoreVersionExperiment", + "description": "Single AppStoreReviewAttachment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentResponse" + "$ref": "#/components/schemas/AppStoreReviewAttachmentResponse" } } } @@ -15548,10 +15261,9 @@ }, "delete": { "tags": [ - "AppStoreVersionExperiments" + "AppStoreReviewAttachments" ], - "operationId": "appStoreVersionExperiments_deleteInstance", - "deprecated": true, + "operationId": "appStoreReviewAttachments_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -15621,18 +15333,18 @@ } ] }, - "/v1/appStoreVersionLocalizations": { + "/v1/appStoreReviewDetails": { "post": { "tags": [ - "AppStoreVersionLocalizations" + "AppStoreReviewDetails" ], - "operationId": "appStoreVersionLocalizations_createInstance", + "operationId": "appStoreReviewDetails_createInstance", "requestBody": { - "description": "AppStoreVersionLocalization representation", + "description": "AppStoreReviewDetail representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationCreateRequest" + "$ref": "#/components/schemas/AppStoreReviewDetailCreateRequest" } } }, @@ -15680,11 +15392,11 @@ } }, "201": { - "description": "Single AppStoreVersionLocalization", + "description": "Single AppStoreReviewDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationResponse" + "$ref": "#/components/schemas/AppStoreReviewDetailResponse" } } } @@ -15712,33 +15424,32 @@ } } }, - "/v1/appStoreVersionLocalizations/{id}": { + "/v1/appStoreReviewDetails/{id}": { "get": { "tags": [ - "AppStoreVersionLocalizations" + "AppStoreReviewDetails" ], - "operationId": "appStoreVersionLocalizations_getInstance", + "operationId": "appStoreReviewDetails_getInstance", "parameters": [ { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" + "appStoreReviewAttachments" ] } }, @@ -15787,40 +15498,20 @@ "required": false }, { - "name": "fields[appScreenshotSets]", - "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appPreviewSets]", + "name": "fields[appStoreReviewAttachments]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appStoreReviewAttachments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "appStoreReviewDetail" ] } }, @@ -15838,9 +15529,7 @@ "type": "string", "enum": [ "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" + "appStoreReviewAttachments" ] } }, @@ -15849,31 +15538,9 @@ "required": false }, { - "name": "limit[appPreviewSets]", - "in": "query", - "description": "maximum number of related appPreviewSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[appScreenshotSets]", - "in": "query", - "description": "maximum number of related appScreenshotSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[searchKeywords]", + "name": "limit[appStoreReviewAttachments]", "in": "query", - "description": "maximum number of related searchKeywords returned (when they are included)", + "description": "maximum number of related appStoreReviewAttachments returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -15924,11 +15591,11 @@ } }, "200": { - "description": "Single AppStoreVersionLocalization", + "description": "Single AppStoreReviewDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationResponse" + "$ref": "#/components/schemas/AppStoreReviewDetailResponse" } } } @@ -15947,15 +15614,15 @@ }, "patch": { "tags": [ - "AppStoreVersionLocalizations" + "AppStoreReviewDetails" ], - "operationId": "appStoreVersionLocalizations_updateInstance", + "operationId": "appStoreReviewDetails_updateInstance", "requestBody": { - "description": "AppStoreVersionLocalization representation", + "description": "AppStoreReviewDetail representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationUpdateRequest" + "$ref": "#/components/schemas/AppStoreReviewDetailUpdateRequest" } } }, @@ -16013,11 +15680,11 @@ } }, "200": { - "description": "Single AppStoreVersionLocalization", + "description": "Single AppStoreReviewDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationResponse" + "$ref": "#/components/schemas/AppStoreReviewDetailResponse" } } } @@ -16044,67 +15711,6 @@ } } }, - "delete": { - "tags": [ - "AppStoreVersionLocalizations" - ], - "operationId": "appStoreVersionLocalizations_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, "parameters": [ { "name": "id", @@ -16118,18 +15724,18 @@ } ] }, - "/v1/appStoreVersionPhasedReleases": { + "/v1/appStoreVersionExperimentTreatmentLocalizations": { "post": { "tags": [ - "AppStoreVersionPhasedReleases" + "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersionPhasedReleases_createInstance", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_createInstance", "requestBody": { - "description": "AppStoreVersionPhasedRelease representation", + "description": "AppStoreVersionExperimentTreatmentLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseCreateRequest" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationCreateRequest" } } }, @@ -16177,11 +15783,11 @@ } }, "201": { - "description": "Single AppStoreVersionPhasedRelease", + "description": "Single AppStoreVersionExperimentTreatmentLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationResponse" } } } @@ -16209,23 +15815,182 @@ } } }, - "/v1/appStoreVersionPhasedReleases/{id}": { - "patch": { + "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}": { + "get": { "tags": [ - "AppStoreVersionPhasedReleases" + "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersionPhasedReleases_updateInstance", - "requestBody": { - "description": "AppStoreVersionPhasedRelease representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseUpdateRequest" + "operationId": "appStoreVersionExperimentTreatmentLocalizations_getInstance", + "parameters": [ + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[appStoreVersionExperimentTreatments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appScreenshotSets]", + "in": "query", + "description": "the fields to include for returned resources of type appScreenshotSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appPreviewSets]", + "in": "query", + "description": "the fields to include for returned resources of type appPreviewSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appAssetLibraryPlacements]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[appPreviewSets]", + "in": "query", + "description": "maximum number of related appPreviewSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[appScreenshotSets]", + "in": "query", + "description": "maximum number of related appScreenshotSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[placements]", + "in": "query", + "description": "maximum number of related placements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -16267,32 +16032,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single AppStoreVersionPhasedRelease", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single AppStoreVersionExperimentTreatmentLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationResponse" } } } @@ -16311,9 +16056,9 @@ }, "delete": { "tags": [ - "AppStoreVersionPhasedReleases" + "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersionPhasedReleases_deleteInstance", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -16383,18 +16128,18 @@ } ] }, - "/v1/appStoreVersionPromotions": { + "/v1/appStoreVersionExperimentTreatments": { "post": { "tags": [ - "AppStoreVersionPromotions" + "AppStoreVersionExperimentTreatments" ], - "operationId": "appStoreVersionPromotions_createInstance", + "operationId": "appStoreVersionExperimentTreatments_createInstance", "requestBody": { - "description": "AppStoreVersionPromotion representation", + "description": "AppStoreVersionExperimentTreatment representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionPromotionCreateRequest" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentCreateRequest" } } }, @@ -16442,11 +16187,11 @@ } }, "201": { - "description": "Single AppStoreVersionPromotion", + "description": "Single AppStoreVersionExperimentTreatment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionPromotionResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentResponse" } } } @@ -16474,18 +16219,190 @@ } } }, - "/v1/appStoreVersionReleaseRequests": { - "post": { + "/v1/appStoreVersionExperimentTreatments/{id}": { + "get": { "tags": [ - "AppStoreVersionReleaseRequests" + "AppStoreVersionExperimentTreatments" ], - "operationId": "appStoreVersionReleaseRequests_createInstance", + "operationId": "appStoreVersionExperimentTreatments_getInstance", + "parameters": [ + { + "name": "fields[appStoreVersionExperimentTreatments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppStoreVersionExperimentTreatment", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "AppStoreVersionExperimentTreatments" + ], + "operationId": "appStoreVersionExperimentTreatments_updateInstance", "requestBody": { - "description": "AppStoreVersionReleaseRequest representation", + "description": "AppStoreVersionExperimentTreatment representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionReleaseRequestCreateRequest" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentUpdateRequest" } } }, @@ -16522,6 +16439,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -16532,12 +16459,12 @@ } } }, - "201": { - "description": "Single AppStoreVersionReleaseRequest", + "200": { + "description": "Single AppStoreVersionExperimentTreatment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionReleaseRequestResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentResponse" } } } @@ -16563,15 +16490,12 @@ } } } - } - }, - "/v1/appStoreVersionSubmissions/{id}": { + }, "delete": { "tags": [ - "AppStoreVersionSubmissions" + "AppStoreVersionExperimentTreatments" ], - "operationId": "appStoreVersionSubmissions_deleteInstance", - "deprecated": true, + "operationId": "appStoreVersionExperimentTreatments_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -16641,18 +16565,18 @@ } ] }, - "/v1/appStoreVersions": { + "/v2/appStoreVersionExperiments": { "post": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperiments" ], - "operationId": "appStoreVersions_createInstance", + "operationId": "appStoreVersionExperimentsV2_createInstance", "requestBody": { - "description": "AppStoreVersion representation", + "description": "AppStoreVersionExperiment representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionCreateRequest" + "$ref": "#/components/schemas/AppStoreVersionExperimentV2CreateRequest" } } }, @@ -16700,11 +16624,11 @@ } }, "201": { - "description": "Single AppStoreVersion", + "description": "Single AppStoreVersionExperiment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentV2Response" } } } @@ -16732,46 +16656,33 @@ } } }, - "/v1/appStoreVersions/{id}": { + "/v2/appStoreVersionExperiments/{id}": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperiments" ], - "operationId": "appStoreVersions_getInstance", + "operationId": "appStoreVersionExperimentsV2_getInstance", "parameters": [ { - "name": "fields[appStoreVersions]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "name", "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -16839,6 +16750,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -16852,221 +16764,38 @@ "required": false }, { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersionPhasedReleases]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "phasedReleaseState", - "startDate", - "totalPauseDuration", - "currentDayNumber" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterAppVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[routingAppCoverages]", - "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "appStoreVersion", - "appStoreReviewAttachments" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersionSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[appClipDefaultExperiences]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments", "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", "app", - "latestControlVersion", - "controlVersions" + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -17075,16 +16804,21 @@ "required": false }, { - "name": "fields[alternativeDistributionPackages]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "sourceFileChecksum", - "versions" + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -17102,17 +16836,9 @@ "type": "string", "enum": [ "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "alternativeDistributionPackage" + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -17121,21 +16847,9 @@ "required": false }, { - "name": "limit[appStoreVersionExperiments]", - "in": "query", - "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[appStoreVersionExperimentsV2]", + "name": "limit[appStoreVersionExperimentTreatments]", "in": "query", - "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -17144,9 +16858,9 @@ "required": false }, { - "name": "limit[appStoreVersionLocalizations]", + "name": "limit[controlVersions]", "in": "query", - "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", + "description": "maximum number of related controlVersions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -17197,11 +16911,11 @@ } }, "200": { - "description": "Single AppStoreVersion", + "description": "Single AppStoreVersionExperiment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentV2Response" } } } @@ -17220,15 +16934,15 @@ }, "patch": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperiments" ], - "operationId": "appStoreVersions_updateInstance", + "operationId": "appStoreVersionExperimentsV2_updateInstance", "requestBody": { - "description": "AppStoreVersion representation", + "description": "AppStoreVersionExperiment representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionUpdateRequest" + "$ref": "#/components/schemas/AppStoreVersionExperimentV2UpdateRequest" } } }, @@ -17286,11 +17000,11 @@ } }, "200": { - "description": "Single AppStoreVersion", + "description": "Single AppStoreVersionExperiment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentV2Response" } } } @@ -17319,9 +17033,9 @@ }, "delete": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperiments" ], - "operationId": "appStoreVersions_deleteInstance", + "operationId": "appStoreVersionExperimentsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -17391,18 +17105,19 @@ } ] }, - "/v1/appTags/{id}": { - "patch": { + "/v1/appStoreVersionExperiments": { + "post": { "tags": [ - "AppTags" + "AppStoreVersionExperiments" ], - "operationId": "appTags_updateInstance", + "operationId": "appStoreVersionExperiments_createInstance", + "deprecated": true, "requestBody": { - "description": "AppTag representation", + "description": "AppStoreVersionExperiment representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppTagUpdateRequest" + "$ref": "#/components/schemas/AppStoreVersionExperimentCreateRequest" } } }, @@ -17439,16 +17154,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -17459,12 +17164,12 @@ } } }, - "200": { - "description": "Single AppTag", + "201": { + "description": "Single AppStoreVersionExperiment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppTagResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentResponse" } } } @@ -17490,35 +17195,34 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/apps": { + "/v1/appStoreVersionExperiments/{id}": { "get": { "tags": [ - "Apps" + "AppStoreVersionExperiments" ], - "operationId": "apps_getCollection", + "operationId": "appStoreVersionExperiments_getInstance", + "deprecated": true, "parameters": [ { - "name": "filter[name]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "filter by attribute 'name'", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments" + ] } }, "style": "form", @@ -17526,13 +17230,39 @@ "required": false }, { - "name": "filter[bundleId]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "filter by attribute 'bundleId'", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] } }, "style": "form", @@ -17540,13 +17270,22 @@ "required": false }, { - "name": "filter[sku]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "filter by attribute 'sku'", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" + ] } }, "style": "form", @@ -17554,374 +17293,392 @@ "required": false }, { - "name": "filter[appStoreVersions.appStoreState]", + "name": "include", "in": "query", - "description": "filter by attribute 'appStoreVersions.appStoreState'", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ACCEPTED", - "DEVELOPER_REMOVED_FROM_SALE", - "DEVELOPER_REJECTED", - "IN_REVIEW", - "INVALID_BINARY", - "METADATA_REJECTED", - "PENDING_APPLE_RELEASE", - "PENDING_CONTRACT", - "PENDING_DEVELOPER_RELEASE", - "PREPARE_FOR_SUBMISSION", - "PREORDER_READY_FOR_SALE", - "PROCESSING_FOR_APP_STORE", - "READY_FOR_REVIEW", - "READY_FOR_SALE", - "REJECTED", - "REMOVED_FROM_SALE", - "WAITING_FOR_EXPORT_COMPLIANCE", - "WAITING_FOR_REVIEW", - "REPLACED_WITH_NEW_VERSION", - "NOT_APPLICABLE" + "appStoreVersion", + "appStoreVersionExperimentTreatments" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "filter[appStoreVersions.platform]", + "name": "limit[appStoreVersionExperimentTreatments]", "in": "query", - "description": "filter by attribute 'appStoreVersions.platform'", + "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "filter[appStoreVersions.appVersionState]", - "in": "query", - "description": "filter by attribute 'appStoreVersions.appVersionState'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ACCEPTED", - "DEVELOPER_REJECTED", - "IN_REVIEW", - "INVALID_BINARY", - "METADATA_REJECTED", - "PENDING_APPLE_RELEASE", - "PENDING_DEVELOPER_RELEASE", - "PREPARE_FOR_SUBMISSION", - "PROCESSING_FOR_DISTRIBUTION", - "READY_FOR_DISTRIBUTION", - "READY_FOR_REVIEW", - "REJECTED", - "REPLACED_WITH_NEW_VERSION", - "WAITING_FOR_EXPORT_COMPLIANCE", - "WAITING_FOR_REVIEW" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[reviewSubmissions.state]", - "in": "query", - "description": "filter by attribute 'reviewSubmissions.state'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "UNRESOLVED_ISSUES", - "CANCELING", - "COMPLETING", - "COMPLETE" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[reviewSubmissions.platform]", - "in": "query", - "description": "filter by attribute 'reviewSubmissions.platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[appStoreVersions]", - "in": "query", - "description": "filter by id(s) of related 'appStoreVersions'", - "schema": { - "type": "array", - "items": { - "type": "string" + "200": { + "description": "Single AppStoreVersionExperiment", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionExperimentResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } + } + } + }, + "patch": { + "tags": [ + "AppStoreVersionExperiments" + ], + "operationId": "appStoreVersionExperiments_updateInstance", + "deprecated": true, + "requestBody": { + "description": "AppStoreVersionExperiment representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionExperimentUpdateRequest" + } + } }, - { - "name": "exists[gameCenterEnabledVersions]", - "in": "query", - "description": "filter by existence or non-existence of related 'gameCenterEnabledVersions'", - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "-name", - "bundleId", - "-bundleId", - "sku", - "-sku" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[appEncryptionDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", - "platform", - "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", - "app", - "builds", - "appEncryptionDeclarationDocument" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[buildIcons]", - "in": "query", - "description": "the fields to include for returned resources of type buildIcons", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "iconAsset", - "iconType", - "masked", - "name" - ] + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[ciProducts]", - "in": "query", - "description": "the fields to include for returned resources of type ciProducts", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "productType", - "app", - "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" - ] + "200": { + "description": "Single AppStoreVersionExperiment", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionExperimentResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "AppStoreVersionExperiments" + ], + "operationId": "appStoreVersionExperiments_deleteInstance", + "deprecated": true, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appStoreVersionLocalizations": { + "post": { + "tags": [ + "AppStoreVersionLocalizations" + ], + "operationId": "appStoreVersionLocalizations_createInstance", + "requestBody": { + "description": "AppStoreVersionLocalization representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionLocalizationCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AppStoreVersionLocalization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionLocalizationResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/appStoreVersionLocalizations/{id}": { + "get": { + "tags": [ + "AppStoreVersionLocalizations" + ], + "operationId": "appStoreVersionLocalizations_getInstance", + "parameters": [ { - "name": "fields[betaGroups]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -17970,18 +17727,19 @@ "required": false }, { - "name": "fields[preReleaseVersions]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "platform", - "builds", - "app" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -17990,21 +17748,19 @@ "required": false }, { - "name": "fields[betaAppLocalizations]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type betaAppLocalizations", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "feedbackEmail", - "marketingUrl", - "privacyPolicyUrl", - "tvOsPrivacyPolicy", - "description", - "locale", - "app" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -18013,40 +17769,27 @@ "required": false }, { - "name": "fields[builds]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -18055,16 +17798,19 @@ "required": false }, { - "name": "fields[betaLicenseAgreements]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type betaLicenseAgreements", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "agreementText", - "app" + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -18073,630 +17819,482 @@ "required": false }, { - "name": "fields[betaAppReviewDetails]", + "name": "limit[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewDetails", + "description": "maximum number of related appPreviewSets returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "app" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "fields[appInfos]", + "name": "limit[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type appInfos", + "description": "maximum number of related appScreenshotSets returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreState", - "state", - "appStoreAgeRating", - "australiaAgeRating", - "brazilAgeRating", - "brazilAgeRatingV2", - "franceAgeRating", - "koreaAgeRating", - "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "territoryAgeRatings" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "fields[appClips]", + "name": "limit[placements]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "maximum number of related placements returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "bundleId", - "app", - "appClipDefaultExperiences", - "appClipAdvancedExperiences" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "fields[endUserLicenseAgreements]", + "name": "limit[searchKeywords]", "in": "query", - "description": "the fields to include for returned resources of type endUserLicenseAgreements", + "description": "maximum number of related searchKeywords returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "agreementText", - "app", - "territories" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false - }, - { - "name": "fields[inAppPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "productId", - "inAppPurchaseType", - "state", - "apps", - "name", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" - ] + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[subscriptionGroups]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", - "versions" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterEnabledVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterEnabledVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "iconAsset", - "compatibleVersions", - "app" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true + } }, - { - "name": "fields[appCustomProductPages]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "visible", - "app", - "appCustomProductPageVersions" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" - ] + "200": { + "description": "Single AppStoreVersionLocalization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionLocalizationResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[appEvents]", - "in": "query", - "description": "the fields to include for returned resources of type appEvents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "badge", - "eventState", - "deepLink", - "purchaseRequirement", - "primaryLocale", - "priority", - "purpose", - "territorySchedules", - "archivedTerritorySchedules", - "localizations" - ] + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } + } + } + }, + "patch": { + "tags": [ + "AppStoreVersionLocalizations" + ], + "operationId": "appStoreVersionLocalizations_updateInstance", + "requestBody": { + "description": "AppStoreVersionLocalization representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionLocalizationUpdateRequest" + } + } }, - { - "name": "fields[reviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "submittedDate", - "state", - "app", - "items", - "appStoreVersionForReview", - "submittedByActor", - "lastUpdatedByActor" - ] + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[subscriptionGracePeriods]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGracePeriods", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "optIn", - "sandboxOptIn", - "duration", - "renewalType" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "platform", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "app", - "latestControlVersion", - "controlVersions", - "appStoreVersionExperimentTreatments" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[androidToIosAppMappingDetails]", - "in": "query", - "description": "the fields to include for returned resources of type androidToIosAppMappingDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "packageName", - "appSigningKeyPublicCertificateSha256Fingerprints" - ] + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + "200": { + "description": "Single AppStoreVersionLocalization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionLocalizationResponse" + } + } + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaGroups", - "appStoreVersions", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "endUserLicenseAgreement", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "androidToIosAppMappingDetails" - ] + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[androidToIosAppMappingDetails]", - "in": "query", - "description": "maximum number of related androidToIosAppMappingDetails returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "AppStoreVersionLocalizations" + ], + "operationId": "appStoreVersionLocalizations_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[appClips]", - "in": "query", - "description": "maximum number of related appClips returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[appCustomProductPages]", - "in": "query", - "description": "maximum number of related appCustomProductPages returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[appEncryptionDeclarations]", - "in": "query", - "description": "maximum number of related appEncryptionDeclarations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[appEvents]", - "in": "query", - "description": "maximum number of related appEvents returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "204": { + "description": "Success (no content)" }, - { - "name": "limit[appInfos]", - "in": "query", - "description": "maximum number of related appInfos returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - { - "name": "limit[appStoreVersionExperimentsV2]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "style": "simple", + "required": true + } + ] + }, + "/v1/appStoreVersionPhasedReleases": { + "post": { + "tags": [ + "AppStoreVersionPhasedReleases" + ], + "operationId": "appStoreVersionPhasedReleases_createInstance", + "requestBody": { + "description": "AppStoreVersionPhasedRelease representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseCreateRequest" + } + } }, - { - "name": "limit[appStoreVersions]", - "in": "query", - "description": "maximum number of related appStoreVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[betaAppLocalizations]", - "in": "query", - "description": "maximum number of related betaAppLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[betaGroups]", - "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[gameCenterEnabledVersions]", - "in": "query", - "description": "maximum number of related gameCenterEnabledVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true + "201": { + "description": "Single AppStoreVersionPhasedRelease", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseResponse" + } + } + } }, - { - "name": "limit[inAppPurchases]", - "in": "query", - "description": "maximum number of related inAppPurchases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[inAppPurchasesV2]", - "in": "query", - "description": "maximum number of related inAppPurchasesV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/appStoreVersionPhasedReleases/{id}": { + "patch": { + "tags": [ + "AppStoreVersionPhasedReleases" + ], + "operationId": "appStoreVersionPhasedReleases_updateInstance", + "requestBody": { + "description": "AppStoreVersionPhasedRelease representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseUpdateRequest" + } + } }, - { - "name": "limit[preReleaseVersions]", - "in": "query", - "description": "maximum number of related preReleaseVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[promotedPurchases]", - "in": "query", - "description": "maximum number of related promotedPurchases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[reviewSubmissions]", - "in": "query", - "description": "maximum number of related reviewSubmissions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[subscriptionGroups]", - "in": "query", - "description": "maximum number of related subscriptionGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppStoreVersionPhasedRelease", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + }, + "delete": { + "tags": [ + "AppStoreVersionPhasedReleases" ], + "operationId": "appStoreVersionPhasedReleases_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -18728,12 +18326,118 @@ } } }, - "200": { - "description": "List of Apps", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppsResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appStoreVersionPromotions": { + "post": { + "tags": [ + "AppStoreVersionPromotions" + ], + "operationId": "appStoreVersionPromotions_createInstance", + "requestBody": { + "description": "AppStoreVersionPromotion representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionPromotionCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AppStoreVersionPromotion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionPromotionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -18751,13 +18455,311 @@ } } }, - "/v1/apps/{id}": { + "/v1/appStoreVersionReleaseRequests": { + "post": { + "tags": [ + "AppStoreVersionReleaseRequests" + ], + "operationId": "appStoreVersionReleaseRequests_createInstance", + "requestBody": { + "description": "AppStoreVersionReleaseRequest representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionReleaseRequestCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AppStoreVersionReleaseRequest", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionReleaseRequestResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/appStoreVersionSubmissions/{id}": { + "delete": { + "tags": [ + "AppStoreVersionSubmissions" + ], + "operationId": "appStoreVersionSubmissions_deleteInstance", + "deprecated": true, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appStoreVersions": { + "post": { + "tags": [ + "AppStoreVersions" + ], + "operationId": "appStoreVersions_createInstance", + "requestBody": { + "description": "AppStoreVersion representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AppStoreVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/appStoreVersions/{id}": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_getInstance", + "operationId": "appStoreVersions_getInstance", "parameters": [ + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[apps]", "in": "query", @@ -18818,6 +18820,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -18831,7 +18834,976 @@ "required": false }, { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersionPhasedReleases]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAppVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[routingAppCoverages]", + "in": "query", + "description": "the fields to include for returned resources of type routingAppCoverages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersionSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[appClipDefaultExperiences]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "sourceFileChecksum", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[appStoreVersionExperiments]", + "in": "query", + "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[appStoreVersionExperimentsV2]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[appStoreVersionLocalizations]", + "in": "query", + "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppStoreVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "AppStoreVersions" + ], + "operationId": "appStoreVersions_updateInstance", + "requestBody": { + "description": "AppStoreVersion representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppStoreVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "AppStoreVersions" + ], + "operationId": "appStoreVersions_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appTags/{id}": { + "patch": { + "tags": [ + "AppTags" + ], + "operationId": "appTags_updateInstance", + "requestBody": { + "description": "AppTag representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppTagUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppTag", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppTagResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_getCollection", + "parameters": [ + { + "name": "filter[name]", + "in": "query", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[bundleId]", + "in": "query", + "description": "filter by attribute 'bundleId'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[sku]", + "in": "query", + "description": "filter by attribute 'sku'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[appStoreVersions.appStoreState]", + "in": "query", + "description": "filter by attribute 'appStoreVersions.appStoreState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ACCEPTED", + "DEVELOPER_REMOVED_FROM_SALE", + "DEVELOPER_REJECTED", + "IN_REVIEW", + "INVALID_BINARY", + "METADATA_REJECTED", + "PENDING_APPLE_RELEASE", + "PENDING_CONTRACT", + "PENDING_DEVELOPER_RELEASE", + "PREPARE_FOR_SUBMISSION", + "PREORDER_READY_FOR_SALE", + "PROCESSING_FOR_APP_STORE", + "READY_FOR_REVIEW", + "READY_FOR_SALE", + "REJECTED", + "REMOVED_FROM_SALE", + "WAITING_FOR_EXPORT_COMPLIANCE", + "WAITING_FOR_REVIEW", + "REPLACED_WITH_NEW_VERSION", + "NOT_APPLICABLE" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "filter[appStoreVersions.platform]", + "in": "query", + "description": "filter by attribute 'appStoreVersions.platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[appStoreVersions.appVersionState]", + "in": "query", + "description": "filter by attribute 'appStoreVersions.appVersionState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ACCEPTED", + "DEVELOPER_REJECTED", + "IN_REVIEW", + "INVALID_BINARY", + "METADATA_REJECTED", + "PENDING_APPLE_RELEASE", + "PENDING_DEVELOPER_RELEASE", + "PREPARE_FOR_SUBMISSION", + "PROCESSING_FOR_DISTRIBUTION", + "READY_FOR_DISTRIBUTION", + "READY_FOR_REVIEW", + "REJECTED", + "REPLACED_WITH_NEW_VERSION", + "WAITING_FOR_EXPORT_COMPLIANCE", + "WAITING_FOR_REVIEW" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[reviewSubmissions.state]", + "in": "query", + "description": "filter by attribute 'reviewSubmissions.state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "UNRESOLVED_ISSUES", + "CANCELING", + "COMPLETING", + "COMPLETE" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[reviewSubmissions.platform]", + "in": "query", + "description": "filter by attribute 'reviewSubmissions.platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[appStoreVersions]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersions'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "exists[gameCenterEnabledVersions]", + "in": "query", + "description": "filter by existence or non-existence of related 'gameCenterEnabledVersions'", + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "-name", + "bundleId", + "-bundleId", + "sku", + "-sku" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appEncryptionDeclarations]", "in": "query", "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { @@ -19457,6 +20429,16 @@ "explode": false, "required": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -19730,22 +20712,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single App", + "description": "List of Apps", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppResponse" + "$ref": "#/components/schemas/AppsResponse" } } } @@ -19761,435 +20733,114 @@ } } } - }, - "patch": { + } + }, + "/v1/apps/{id}": { + "get": { "tags": [ "Apps" ], - "operationId": "apps_updateInstance", - "requestBody": { - "description": "App representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppUpdateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single App", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/backgroundAssetUploadFiles": { - "post": { - "tags": [ - "BackgroundAssetUploadFiles" - ], - "operationId": "backgroundAssetUploadFiles_createInstance", - "requestBody": { - "description": "BackgroundAssetUploadFile representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetUploadFileCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single BackgroundAssetUploadFile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetUploadFileResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/backgroundAssetUploadFiles/{id}": { - "get": { - "tags": [ - "BackgroundAssetUploadFiles" - ], - "operationId": "backgroundAssetUploadFiles_getInstance", + "operationId": "apps_getInstance", "parameters": [ { - "name": "fields[backgroundAssetUploadFiles]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetUploadFiles", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "sourceFileChecksum", - "sourceFileChecksums", - "uploadOperations" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single BackgroundAssetUploadFile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetUploadFileResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "BackgroundAssetUploadFiles" - ], - "operationId": "backgroundAssetUploadFiles_updateInstance", - "requestBody": { - "description": "BackgroundAssetUploadFile representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetUploadFileUpdateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single BackgroundAssetUploadFile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetUploadFileResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" }, - "style": "simple", - "required": true - } - ] - }, - "/v1/backgroundAssetVersionAppStoreReleases/{id}": { - "get": { - "tags": [ - "BackgroundAssetVersionAppStoreReleases" - ], - "operationId": "backgroundAssetVersionAppStoreReleases_getInstance", - "parameters": [ { - "name": "fields[backgroundAssetVersionAppStoreReleases]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersionAppStoreReleases", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "backgroundAssetVersion" + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -20198,27 +20849,18 @@ "required": false }, { - "name": "fields[backgroundAssetVersions]", + "name": "fields[buildIcons]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersions", + "description": "the fields to include for returned resources of type buildIcons", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "createdDate", - "platforms", - "state", - "stateDetails", - "version", - "locale", - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile", - "backgroundAssetUploadFiles" + "iconAsset", + "iconType", + "masked", + "name" ] } }, @@ -20227,117 +20869,56 @@ "required": false }, { - "name": "include", + "name": "fields[ciProducts]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "backgroundAssetVersion" + "name", + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single BackgroundAssetVersionAppStoreRelease", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetVersionAppStoreReleaseResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" }, - "style": "simple", - "required": true - } - ] - }, - "/v1/backgroundAssetVersionExternalBetaReleases/{id}": { - "get": { - "tags": [ - "BackgroundAssetVersionExternalBetaReleases" - ], - "operationId": "backgroundAssetVersionExternalBetaReleases_getInstance", - "parameters": [ { - "name": "fields[backgroundAssetVersionExternalBetaReleases]", + "name": "fields[betaGroups]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersionExternalBetaReleases", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "backgroundAssetVersion" + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" ] } }, @@ -20346,27 +20927,38 @@ "required": false }, { - "name": "fields[backgroundAssetVersions]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersions", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", "createdDate", - "platforms", - "state", - "stateDetails", - "version", - "locale", - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile", - "backgroundAssetUploadFiles" + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -20375,117 +20967,41 @@ "required": false }, { - "name": "include", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "backgroundAssetVersion" + "version", + "platform", + "builds", + "app" ] } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single BackgroundAssetVersionExternalBetaRelease", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetVersionExternalBetaReleaseResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" }, - "style": "simple", - "required": true - } - ] - }, - "/v1/backgroundAssetVersionInternalBetaReleases/{id}": { - "get": { - "tags": [ - "BackgroundAssetVersionInternalBetaReleases" - ], - "operationId": "backgroundAssetVersionInternalBetaReleases_getInstance", - "parameters": [ { - "name": "fields[backgroundAssetVersionInternalBetaReleases]", + "name": "fields[betaAppLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersionInternalBetaReleases", + "description": "the fields to include for returned resources of type betaAppLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "backgroundAssetVersion" + "feedbackEmail", + "marketingUrl", + "privacyPolicyUrl", + "tvOsPrivacyPolicy", + "description", + "locale", + "app" ] } }, @@ -20494,27 +21010,40 @@ "required": false }, { - "name": "fields[backgroundAssetVersions]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersions", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "createdDate", - "platforms", - "state", - "stateDetails", "version", - "locale", - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile", - "backgroundAssetUploadFiles" + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -20523,219 +21052,41 @@ "required": false }, { - "name": "include", + "name": "fields[betaLicenseAgreements]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type betaLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "backgroundAssetVersion" + "agreementText", + "app" ] } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single BackgroundAssetVersionInternalBetaRelease", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetVersionInternalBetaReleaseResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/backgroundAssetVersions": { - "post": { - "tags": [ - "BackgroundAssetVersions" - ], - "operationId": "backgroundAssetVersions_createInstance", - "requestBody": { - "description": "BackgroundAssetVersion representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetVersionCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single BackgroundAssetVersion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetVersionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/backgroundAssetVersions/{id}": { - "get": { - "tags": [ - "BackgroundAssetVersions" - ], - "operationId": "backgroundAssetVersions_getInstance", - "parameters": [ { - "name": "fields[backgroundAssetVersions]", + "name": "fields[betaAppReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersions", + "description": "the fields to include for returned resources of type betaAppReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "createdDate", - "platforms", - "state", - "stateDetails", - "version", - "locale", - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile", - "backgroundAssetUploadFiles" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "app" ] } }, @@ -20744,23 +21095,32 @@ "required": false }, { - "name": "fields[backgroundAssets]", + "name": "fields[appInfos]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssets", + "description": "the fields to include for returned resources of type appInfos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "assetPackIdentifier", - "createdDate", - "usedBytes", + "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", + "brazilAgeRating", + "brazilAgeRatingV2", + "franceAgeRating", + "koreaAgeRating", "app", - "versions", - "appStoreVersion", - "internalBetaVersion", - "externalBetaVersion" + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo", + "territoryAgeRatings" ] } }, @@ -20769,16 +21129,18 @@ "required": false }, { - "name": "fields[backgroundAssetVersionInternalBetaReleases]", + "name": "fields[appClips]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersionInternalBetaReleases", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "backgroundAssetVersion" + "bundleId", + "app", + "appClipDefaultExperiences", + "appClipAdvancedExperiences" ] } }, @@ -20787,16 +21149,17 @@ "required": false }, { - "name": "fields[backgroundAssetVersionExternalBetaReleases]", + "name": "fields[endUserLicenseAgreements]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersionExternalBetaReleases", + "description": "the fields to include for returned resources of type endUserLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "backgroundAssetVersion" + "agreementText", + "app", + "territories" ] } }, @@ -20805,16 +21168,33 @@ "required": false }, { - "name": "fields[backgroundAssetVersionAppStoreReleases]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersionAppStoreReleases", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "referenceName", + "productId", + "inAppPurchaseType", "state", - "backgroundAssetVersion" + "apps", + "name", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" ] } }, @@ -20823,22 +21203,18 @@ "required": false }, { - "name": "fields[backgroundAssetUploadFiles]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetUploadFiles", + "description": "the fields to include for returned resources of type subscriptionGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "sourceFileChecksum", - "sourceFileChecksums", - "uploadOperations" + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", + "versions" ] } }, @@ -20847,220 +21223,218 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterEnabledVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterEnabledVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile" + "platform", + "versionString", + "iconAsset", + "compatibleVersions", + "app" ] } }, "style": "form", "explode": false, - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single BackgroundAssetVersion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetVersionResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + "required": false, + "deprecated": true }, - "style": "simple", - "required": true - } - ] - }, - "/v1/backgroundAssets": { - "post": { - "tags": [ - "BackgroundAssets" - ], - "operationId": "backgroundAssets_createInstance", - "requestBody": { - "description": "BackgroundAsset representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetCreateRequest" + { + "name": "fields[appCustomProductPages]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "url", + "visible", + "app", + "appCustomProductPageVersions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[promotedPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleForAllUsers", + "enabled", + "state", + "inAppPurchaseV2", + "subscription" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appEvents]", + "in": "query", + "description": "the fields to include for returned resources of type appEvents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "localizations" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[reviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type reviewSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "submittedDate", + "state", + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[subscriptionGracePeriods]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "optIn", + "sandboxOptIn", + "duration", + "renewalType" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "201": { - "description": "Single BackgroundAsset", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetResponse" - } + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "platform", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/backgroundAssets/{id}": { - "get": { - "tags": [ - "BackgroundAssets" - ], - "operationId": "backgroundAssets_getInstance", - "parameters": [ { - "name": "fields[backgroundAssets]", + "name": "fields[androidToIosAppMappingDetails]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssets", + "description": "the fields to include for returned resources of type androidToIosAppMappingDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "assetPackIdentifier", - "createdDate", - "usedBytes", - "app", - "versions", - "appStoreVersion", - "internalBetaVersion", - "externalBetaVersion" + "packageName", + "appSigningKeyPublicCertificateSha256Fingerprints" ] } }, @@ -21069,34 +21443,19 @@ "required": false }, { - "name": "fields[apps]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", "appEncryptionDeclarations", "appStoreIcon", "ciProduct", - "betaTesters", "betaGroups", "appStoreVersions", - "appTags", "preReleaseVersions", "betaAppLocalizations", "builds", @@ -21104,34 +21463,18 @@ "betaAppReviewDetail", "appInfos", "appClips", - "appPricePoints", "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", "inAppPurchases", "subscriptionGroups", "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", "appCustomProductPages", "inAppPurchasesV2", "promotedPurchases", "appEvents", "reviewSubmissions", "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", "gameCenterDetail", "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", "androidToIosAppMappingDetails" ] } @@ -21141,52 +21484,203 @@ "required": false }, { - "name": "fields[backgroundAssetVersions]", + "name": "limit[androidToIosAppMappingDetails]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersions", + "description": "maximum number of related androidToIosAppMappingDetails returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "createdDate", - "platforms", - "state", - "stateDetails", - "version", - "locale", - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile", - "backgroundAssetUploadFiles" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "include", + "name": "limit[appClips]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related appClips returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersion", - "internalBetaVersion", - "externalBetaVersion" - ] - } + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[appCustomProductPages]", + "in": "query", + "description": "maximum number of related appCustomProductPages returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[appEncryptionDeclarations]", + "in": "query", + "description": "maximum number of related appEncryptionDeclarations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[appEvents]", + "in": "query", + "description": "maximum number of related appEvents returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[appInfos]", + "in": "query", + "description": "maximum number of related appInfos returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[appStoreVersionExperimentsV2]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[appStoreVersions]", + "in": "query", + "description": "maximum number of related appStoreVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[betaAppLocalizations]", + "in": "query", + "description": "maximum number of related betaAppLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[betaGroups]", + "in": "query", + "description": "maximum number of related betaGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterEnabledVersions]", + "in": "query", + "description": "maximum number of related gameCenterEnabledVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[inAppPurchases]", + "in": "query", + "description": "maximum number of related inAppPurchases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[inAppPurchasesV2]", + "in": "query", + "description": "maximum number of related inAppPurchasesV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[preReleaseVersions]", + "in": "query", + "description": "maximum number of related preReleaseVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[promotedPurchases]", + "in": "query", + "description": "maximum number of related promotedPurchases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[reviewSubmissions]", + "in": "query", + "description": "maximum number of related reviewSubmissions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[subscriptionGroups]", + "in": "query", + "description": "maximum number of related subscriptionGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false } ], @@ -21232,11 +21726,11 @@ } }, "200": { - "description": "Single BackgroundAsset", + "description": "Single App", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BackgroundAssetResponse" + "$ref": "#/components/schemas/AppResponse" } } } @@ -21255,15 +21749,15 @@ }, "patch": { "tags": [ - "BackgroundAssets" + "Apps" ], - "operationId": "backgroundAssets_updateInstance", + "operationId": "apps_updateInstance", "requestBody": { - "description": "BackgroundAsset representation", + "description": "App representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BackgroundAssetUpdateRequest" + "$ref": "#/components/schemas/AppUpdateRequest" } } }, @@ -21321,11 +21815,11 @@ } }, "200": { - "description": "Single BackgroundAsset", + "description": "Single App", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BackgroundAssetResponse" + "$ref": "#/components/schemas/AppResponse" } } } @@ -21365,18 +21859,18 @@ } ] }, - "/v1/betaAppClipInvocationLocalizations": { + "/v1/backgroundAssetUploadFiles": { "post": { "tags": [ - "BetaAppClipInvocationLocalizations" + "BackgroundAssetUploadFiles" ], - "operationId": "betaAppClipInvocationLocalizations_createInstance", + "operationId": "backgroundAssetUploadFiles_createInstance", "requestBody": { - "description": "BetaAppClipInvocationLocalization representation", + "description": "BackgroundAssetUploadFile representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationLocalizationCreateRequest" + "$ref": "#/components/schemas/BackgroundAssetUploadFileCreateRequest" } } }, @@ -21424,11 +21918,11 @@ } }, "201": { - "description": "Single BetaAppClipInvocationLocalization", + "description": "Single BackgroundAssetUploadFile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationLocalizationResponse" + "$ref": "#/components/schemas/BackgroundAssetUploadFileResponse" } } } @@ -21456,23 +21950,38 @@ } } }, - "/v1/betaAppClipInvocationLocalizations/{id}": { - "patch": { + "/v1/backgroundAssetUploadFiles/{id}": { + "get": { "tags": [ - "BetaAppClipInvocationLocalizations" + "BackgroundAssetUploadFiles" ], - "operationId": "betaAppClipInvocationLocalizations_updateInstance", - "requestBody": { - "description": "BetaAppClipInvocationLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationLocalizationUpdateRequest" + "operationId": "backgroundAssetUploadFiles_getInstance", + "parameters": [ + { + "name": "fields[backgroundAssetUploadFiles]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetUploadFiles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "sourceFileChecksum", + "sourceFileChecksums", + "uploadOperations" + ] } - } - }, - "required": true - }, + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -21514,32 +22023,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single BetaAppClipInvocationLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationLocalizationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single BackgroundAssetUploadFile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BackgroundAssetUploadFileResponse" } } } @@ -21556,11 +22045,22 @@ } } }, - "delete": { + "patch": { "tags": [ - "BetaAppClipInvocationLocalizations" + "BackgroundAssetUploadFiles" ], - "operationId": "betaAppClipInvocationLocalizations_deleteInstance", + "operationId": "backgroundAssetUploadFiles_updateInstance", + "requestBody": { + "description": "BackgroundAssetUploadFile representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackgroundAssetUploadFileUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -21602,8 +22102,35 @@ } } }, - "204": { - "description": "Success (no content)" + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single BackgroundAssetUploadFile", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackgroundAssetUploadFileResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -21630,23 +22157,78 @@ } ] }, - "/v1/betaAppClipInvocations": { - "post": { + "/v1/backgroundAssetVersionAppStoreReleases/{id}": { + "get": { "tags": [ - "BetaAppClipInvocations" + "BackgroundAssetVersionAppStoreReleases" ], - "operationId": "betaAppClipInvocations_createInstance", - "requestBody": { - "description": "BetaAppClipInvocation representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationCreateRequest" + "operationId": "backgroundAssetVersionAppStoreReleases_getInstance", + "parameters": [ + { + "name": "fields[backgroundAssetVersionAppStoreReleases]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersionAppStoreReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "state", + "backgroundAssetVersion" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[backgroundAssetVersions]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "platforms", + "state", + "stateDetails", + "version", + "locale", + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile", + "backgroundAssetUploadFiles" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "backgroundAssetVersion" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -21678,8 +22260,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -21688,22 +22270,12 @@ } } }, - "201": { - "description": "Single BetaAppClipInvocation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single BackgroundAssetVersionAppStoreRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BackgroundAssetVersionAppStoreReleaseResponse" } } } @@ -21719,26 +22291,38 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/betaAppClipInvocations/{id}": { + "/v1/backgroundAssetVersionExternalBetaReleases/{id}": { "get": { "tags": [ - "BetaAppClipInvocations" + "BackgroundAssetVersionExternalBetaReleases" ], - "operationId": "betaAppClipInvocations_getInstance", + "operationId": "backgroundAssetVersionExternalBetaReleases_getInstance", "parameters": [ { - "name": "fields[betaAppClipInvocations]", + "name": "fields[backgroundAssetVersionExternalBetaReleases]", "in": "query", - "description": "the fields to include for returned resources of type betaAppClipInvocations", + "description": "the fields to include for returned resources of type backgroundAssetVersionExternalBetaReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "url", - "betaAppClipInvocationLocalizations" + "state", + "backgroundAssetVersion" ] } }, @@ -21747,16 +22331,27 @@ "required": false }, { - "name": "fields[betaAppClipInvocationLocalizations]", + "name": "fields[backgroundAssetVersions]", "in": "query", - "description": "the fields to include for returned resources of type betaAppClipInvocationLocalizations", + "description": "the fields to include for returned resources of type backgroundAssetVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "title", - "locale" + "createdDate", + "platforms", + "state", + "stateDetails", + "version", + "locale", + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile", + "backgroundAssetUploadFiles" ] } }, @@ -21773,24 +22368,13 @@ "items": { "type": "string", "enum": [ - "betaAppClipInvocationLocalizations" + "backgroundAssetVersion" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[betaAppClipInvocationLocalizations]", - "in": "query", - "description": "maximum number of related betaAppClipInvocationLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -21835,11 +22419,11 @@ } }, "200": { - "description": "Single BetaAppClipInvocation", + "description": "Single BackgroundAssetVersionExternalBetaRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationResponse" + "$ref": "#/components/schemas/BackgroundAssetVersionExternalBetaReleaseResponse" } } } @@ -21856,22 +22440,91 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/backgroundAssetVersionInternalBetaReleases/{id}": { + "get": { "tags": [ - "BetaAppClipInvocations" + "BackgroundAssetVersionInternalBetaReleases" ], - "operationId": "betaAppClipInvocations_updateInstance", - "requestBody": { - "description": "BetaAppClipInvocation representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationUpdateRequest" + "operationId": "backgroundAssetVersionInternalBetaReleases_getInstance", + "parameters": [ + { + "name": "fields[backgroundAssetVersionInternalBetaReleases]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersionInternalBetaReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "state", + "backgroundAssetVersion" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[backgroundAssetVersions]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "platforms", + "state", + "stateDetails", + "version", + "locale", + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile", + "backgroundAssetUploadFiles" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "backgroundAssetVersion" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -21913,32 +22566,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single BetaAppClipInvocation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single BackgroundAssetVersionInternalBetaRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BackgroundAssetVersionInternalBetaReleaseResponse" } } } @@ -21955,11 +22588,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/backgroundAssetVersions": { + "post": { "tags": [ - "BetaAppClipInvocations" + "BackgroundAssetVersions" ], - "operationId": "betaAppClipInvocations_deleteInstance", + "operationId": "backgroundAssetVersions_createInstance", + "requestBody": { + "description": "BackgroundAssetVersion representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackgroundAssetVersionCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -21991,8 +22649,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -22001,8 +22659,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single BackgroundAssetVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackgroundAssetVersionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -22015,35 +22690,38 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/betaAppLocalizations": { + "/v1/backgroundAssetVersions/{id}": { "get": { "tags": [ - "BetaAppLocalizations" + "BackgroundAssetVersions" ], - "operationId": "betaAppLocalizations_getCollection", + "operationId": "backgroundAssetVersions_getInstance", "parameters": [ { - "name": "filter[locale]", + "name": "fields[backgroundAssetVersions]", "in": "query", - "description": "filter by attribute 'locale'", + "description": "the fields to include for returned resources of type backgroundAssetVersions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "createdDate", + "platforms", + "state", + "stateDetails", + "version", + "locale", + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile", + "backgroundAssetUploadFiles" + ] } }, "style": "form", @@ -22051,13 +22729,24 @@ "required": false }, { - "name": "filter[app]", + "name": "fields[backgroundAssets]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "the fields to include for returned resources of type backgroundAssets", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "archived", + "assetPackIdentifier", + "createdDate", + "usedBytes", + "app", + "versions", + "appStoreVersion", + "internalBetaVersion", + "externalBetaVersion" + ] } }, "style": "form", @@ -22065,21 +22754,16 @@ "required": false }, { - "name": "fields[betaAppLocalizations]", + "name": "fields[backgroundAssetVersionInternalBetaReleases]", "in": "query", - "description": "the fields to include for returned resources of type betaAppLocalizations", + "description": "the fields to include for returned resources of type backgroundAssetVersionInternalBetaReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "feedbackEmail", - "marketingUrl", - "privacyPolicyUrl", - "tvOsPrivacyPolicy", - "description", - "locale", - "app" + "state", + "backgroundAssetVersion" ] } }, @@ -22088,70 +22772,16 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[backgroundAssetVersionExternalBetaReleases]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type backgroundAssetVersionExternalBetaReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "state", + "backgroundAssetVersion" ] } }, @@ -22160,14 +22790,46 @@ "required": false }, { - "name": "limit", + "name": "fields[backgroundAssetVersionAppStoreReleases]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type backgroundAssetVersionAppStoreReleases", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "state", + "backgroundAssetVersion" + ] + } }, - "style": "form" + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[backgroundAssetUploadFiles]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetUploadFiles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "sourceFileChecksum", + "sourceFileChecksums", + "uploadOperations" + ] + } + }, + "style": "form", + "explode": false, + "required": false }, { "name": "include", @@ -22178,7 +22840,12 @@ "items": { "type": "string", "enum": [ - "app" + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile" ] } }, @@ -22218,12 +22885,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of BetaAppLocalizations", + "description": "Single BackgroundAssetVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppLocalizationsResponse" + "$ref": "#/components/schemas/BackgroundAssetVersionResponse" } } } @@ -22240,17 +22917,31 @@ } } }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/backgroundAssets": { "post": { "tags": [ - "BetaAppLocalizations" + "BackgroundAssets" ], - "operationId": "betaAppLocalizations_createInstance", + "operationId": "backgroundAssets_createInstance", "requestBody": { - "description": "BetaAppLocalization representation", + "description": "BackgroundAsset representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppLocalizationCreateRequest" + "$ref": "#/components/schemas/BackgroundAssetCreateRequest" } } }, @@ -22298,11 +22989,11 @@ } }, "201": { - "description": "Single BetaAppLocalization", + "description": "Single BackgroundAsset", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppLocalizationResponse" + "$ref": "#/components/schemas/BackgroundAssetResponse" } } } @@ -22330,29 +23021,31 @@ } } }, - "/v1/betaAppLocalizations/{id}": { + "/v1/backgroundAssets/{id}": { "get": { "tags": [ - "BetaAppLocalizations" + "BackgroundAssets" ], - "operationId": "betaAppLocalizations_getInstance", + "operationId": "backgroundAssets_getInstance", "parameters": [ { - "name": "fields[betaAppLocalizations]", + "name": "fields[backgroundAssets]", "in": "query", - "description": "the fields to include for returned resources of type betaAppLocalizations", + "description": "the fields to include for returned resources of type backgroundAssets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "feedbackEmail", - "marketingUrl", - "privacyPolicyUrl", - "tvOsPrivacyPolicy", - "description", - "locale", - "app" + "archived", + "assetPackIdentifier", + "createdDate", + "usedBytes", + "app", + "versions", + "appStoreVersion", + "internalBetaVersion", + "externalBetaVersion" ] } }, @@ -22420,6 +23113,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -22432,6 +23126,35 @@ "explode": false, "required": false }, + { + "name": "fields[backgroundAssetVersions]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "platforms", + "state", + "stateDetails", + "version", + "locale", + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile", + "backgroundAssetUploadFiles" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "include", "in": "query", @@ -22441,7 +23164,10 @@ "items": { "type": "string", "enum": [ - "app" + "app", + "appStoreVersion", + "internalBetaVersion", + "externalBetaVersion" ] } }, @@ -22492,11 +23218,11 @@ } }, "200": { - "description": "Single BetaAppLocalization", + "description": "Single BackgroundAsset", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppLocalizationResponse" + "$ref": "#/components/schemas/BackgroundAssetResponse" } } } @@ -22515,15 +23241,15 @@ }, "patch": { "tags": [ - "BetaAppLocalizations" + "BackgroundAssets" ], - "operationId": "betaAppLocalizations_updateInstance", + "operationId": "backgroundAssets_updateInstance", "requestBody": { - "description": "BetaAppLocalization representation", + "description": "BackgroundAsset representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppLocalizationUpdateRequest" + "$ref": "#/components/schemas/BackgroundAssetUpdateRequest" } } }, @@ -22581,11 +23307,11 @@ } }, "200": { - "description": "Single BetaAppLocalization", + "description": "Single BackgroundAsset", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppLocalizationResponse" + "$ref": "#/components/schemas/BackgroundAssetResponse" } } } @@ -22612,11 +23338,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaAppClipInvocationLocalizations": { + "post": { "tags": [ - "BetaAppLocalizations" + "BetaAppClipInvocationLocalizations" ], - "operationId": "betaAppLocalizations_deleteInstance", + "operationId": "betaAppClipInvocationLocalizations_createInstance", + "requestBody": { + "description": "BetaAppClipInvocationLocalization representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppClipInvocationLocalizationCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -22648,8 +23399,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -22658,8 +23409,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single BetaAppClipInvocationLocalization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppClipInvocationLocalizationResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -22672,166 +23440,25 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/betaAppReviewDetails": { - "get": { + "/v1/betaAppClipInvocationLocalizations/{id}": { + "patch": { "tags": [ - "BetaAppReviewDetails" + "BetaAppClipInvocationLocalizations" ], - "operationId": "betaAppReviewDetails_getCollection", - "parameters": [ - { - "name": "filter[app]", - "in": "query", - "description": "filter by id(s) of related 'app'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "fields[betaAppReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] + "operationId": "betaAppClipInvocationLocalizations_updateInstance", + "requestBody": { + "description": "BetaAppClipInvocationLocalization representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppClipInvocationLocalizationUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -22863,18 +23490,18 @@ } } }, - "200": { - "description": "List of BetaAppReviewDetails", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewDetailsResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429": { - "description": "Rate limit exceeded error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -22882,132 +23509,44 @@ } } } - } - } - } - }, - "/v1/betaAppReviewDetails/{id}": { - "get": { - "tags": [ - "BetaAppReviewDetails" - ], - "operationId": "betaAppReviewDetails_getInstance", - "parameters": [ - { - "name": "fields[betaAppReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "app" - ] + }, + "200": { + "description": "Single BetaAppClipInvocationLocalization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppClipInvocationLocalizationResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app" - ] + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } } + } + }, + "delete": { + "tags": [ + "BetaAppClipInvocationLocalizations" ], + "operationId": "betaAppClipInvocationLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -23049,15 +23588,8 @@ } } }, - "200": { - "description": "Single BetaAppReviewDetail", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaAppReviewDetailResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -23071,17 +23603,31 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaAppClipInvocations": { + "post": { "tags": [ - "BetaAppReviewDetails" + "BetaAppClipInvocations" ], - "operationId": "betaAppReviewDetails_updateInstance", + "operationId": "betaAppClipInvocations_createInstance", "requestBody": { - "description": "BetaAppReviewDetail representation", + "description": "BetaAppClipInvocation representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewDetailUpdateRequest" + "$ref": "#/components/schemas/BetaAppClipInvocationCreateRequest" } } }, @@ -23118,16 +23664,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -23138,12 +23674,12 @@ } } }, - "200": { - "description": "Single BetaAppReviewDetail", + "201": { + "description": "Single BetaAppClipInvocation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewDetailResponse" + "$ref": "#/components/schemas/BetaAppClipInvocationResponse" } } } @@ -23169,40 +23705,26 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/betaAppReviewSubmissions": { + "/v1/betaAppClipInvocations/{id}": { "get": { "tags": [ - "BetaAppReviewSubmissions" + "BetaAppClipInvocations" ], - "operationId": "betaAppReviewSubmissions_getCollection", + "operationId": "betaAppClipInvocations_getInstance", "parameters": [ { - "name": "filter[betaReviewState]", + "name": "fields[betaAppClipInvocations]", "in": "query", - "description": "filter by attribute 'betaReviewState'", + "description": "the fields to include for returned resources of type betaAppClipInvocations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "REJECTED", - "APPROVED" + "url", + "betaAppClipInvocationLocalizations" ] } }, @@ -23211,31 +23733,16 @@ "required": false }, { - "name": "filter[build]", - "in": "query", - "description": "filter by id(s) of related 'build'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "fields[betaAppReviewSubmissions]", + "name": "fields[betaAppClipInvocationLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "description": "the fields to include for returned resources of type betaAppClipInvocationLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "betaReviewState", - "submittedDate", - "build" + "title", + "locale" ] } }, @@ -23244,40 +23751,15 @@ "required": false }, { - "name": "fields[builds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" + "betaAppClipInvocationLocalizations" ] } }, @@ -23286,30 +23768,14 @@ "required": false }, { - "name": "limit", + "name": "limit[betaAppClipInvocationLocalizations]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related betaAppClipInvocationLocalizations returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "build" - ] - } + "maximum": 50 }, "style": "form", - "explode": false, "required": false } ], @@ -23344,12 +23810,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of BetaAppReviewSubmissions", + "description": "Single BetaAppClipInvocation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewSubmissionsResponse" + "$ref": "#/components/schemas/BetaAppClipInvocationResponse" } } } @@ -23366,17 +23842,17 @@ } } }, - "post": { + "patch": { "tags": [ - "BetaAppReviewSubmissions" + "BetaAppClipInvocations" ], - "operationId": "betaAppReviewSubmissions_createInstance", + "operationId": "betaAppClipInvocations_updateInstance", "requestBody": { - "description": "BetaAppReviewSubmission representation", + "description": "BetaAppClipInvocation representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewSubmissionCreateRequest" + "$ref": "#/components/schemas/BetaAppClipInvocationUpdateRequest" } } }, @@ -23413,6 +23889,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -23423,12 +23909,12 @@ } } }, - "201": { - "description": "Single BetaAppReviewSubmission", + "200": { + "description": "Single BetaAppClipInvocation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewSubmissionResponse" + "$ref": "#/components/schemas/BetaAppClipInvocationResponse" } } } @@ -23454,94 +23940,12 @@ } } } - } - }, - "/v1/betaAppReviewSubmissions/{id}": { - "get": { + }, + "delete": { "tags": [ - "BetaAppReviewSubmissions" - ], - "operationId": "betaAppReviewSubmissions_getInstance", - "parameters": [ - { - "name": "fields[betaAppReviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "betaReviewState", - "submittedDate", - "build" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "build" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } + "BetaAppClipInvocations" ], + "operationId": "betaAppClipInvocations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -23583,15 +23987,8 @@ } } }, - "200": { - "description": "Single BetaAppReviewSubmission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaAppReviewSubmissionResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -23618,12 +24015,12 @@ } ] }, - "/v1/betaBuildLocalizations": { + "/v1/betaAppLocalizations": { "get": { "tags": [ - "BetaBuildLocalizations" + "BetaAppLocalizations" ], - "operationId": "betaBuildLocalizations_getCollection", + "operationId": "betaAppLocalizations_getCollection", "parameters": [ { "name": "filter[locale]", @@ -23640,9 +24037,9 @@ "required": false }, { - "name": "filter[build]", + "name": "filter[app]", "in": "query", - "description": "filter by id(s) of related 'build'", + "description": "filter by id(s) of related 'app'", "schema": { "type": "array", "items": { @@ -23654,17 +24051,21 @@ "required": false }, { - "name": "fields[betaBuildLocalizations]", + "name": "fields[betaAppLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "the fields to include for returned resources of type betaAppLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "whatsNew", + "feedbackEmail", + "marketingUrl", + "privacyPolicyUrl", + "tvOsPrivacyPolicy", + "description", "locale", - "build" + "app" ] } }, @@ -23673,40 +24074,71 @@ "required": false }, { - "name": "fields[builds]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", "perfPowerMetrics", - "diagnosticSignatures" + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -23733,7 +24165,7 @@ "items": { "type": "string", "enum": [ - "build" + "app" ] } }, @@ -23774,11 +24206,11 @@ } }, "200": { - "description": "List of BetaBuildLocalizations", + "description": "List of BetaAppLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildLocalizationsResponse" + "$ref": "#/components/schemas/BetaAppLocalizationsResponse" } } } @@ -23797,15 +24229,15 @@ }, "post": { "tags": [ - "BetaBuildLocalizations" + "BetaAppLocalizations" ], - "operationId": "betaBuildLocalizations_createInstance", + "operationId": "betaAppLocalizations_createInstance", "requestBody": { - "description": "BetaBuildLocalization representation", + "description": "BetaAppLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildLocalizationCreateRequest" + "$ref": "#/components/schemas/BetaAppLocalizationCreateRequest" } } }, @@ -23853,11 +24285,11 @@ } }, "201": { - "description": "Single BetaBuildLocalization", + "description": "Single BetaAppLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildLocalizationResponse" + "$ref": "#/components/schemas/BetaAppLocalizationResponse" } } } @@ -23885,25 +24317,29 @@ } } }, - "/v1/betaBuildLocalizations/{id}": { + "/v1/betaAppLocalizations/{id}": { "get": { "tags": [ - "BetaBuildLocalizations" + "BetaAppLocalizations" ], - "operationId": "betaBuildLocalizations_getInstance", + "operationId": "betaAppLocalizations_getInstance", "parameters": [ { - "name": "fields[betaBuildLocalizations]", + "name": "fields[betaAppLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "the fields to include for returned resources of type betaAppLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "whatsNew", + "feedbackEmail", + "marketingUrl", + "privacyPolicyUrl", + "tvOsPrivacyPolicy", + "description", "locale", - "build" + "app" ] } }, @@ -23912,40 +24348,71 @@ "required": false }, { - "name": "fields[builds]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", "perfPowerMetrics", - "diagnosticSignatures" + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -23962,7 +24429,7 @@ "items": { "type": "string", "enum": [ - "build" + "app" ] } }, @@ -24013,11 +24480,11 @@ } }, "200": { - "description": "Single BetaBuildLocalization", + "description": "Single BetaAppLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildLocalizationResponse" + "$ref": "#/components/schemas/BetaAppLocalizationResponse" } } } @@ -24036,15 +24503,15 @@ }, "patch": { "tags": [ - "BetaBuildLocalizations" + "BetaAppLocalizations" ], - "operationId": "betaBuildLocalizations_updateInstance", + "operationId": "betaAppLocalizations_updateInstance", "requestBody": { - "description": "BetaBuildLocalization representation", + "description": "BetaAppLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildLocalizationUpdateRequest" + "$ref": "#/components/schemas/BetaAppLocalizationUpdateRequest" } } }, @@ -24102,11 +24569,11 @@ } }, "200": { - "description": "Single BetaBuildLocalization", + "description": "Single BetaAppLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildLocalizationResponse" + "$ref": "#/components/schemas/BetaAppLocalizationResponse" } } } @@ -24135,9 +24602,9 @@ }, "delete": { "tags": [ - "BetaBuildLocalizations" + "BetaAppLocalizations" ], - "operationId": "betaBuildLocalizations_deleteInstance", + "operationId": "betaAppLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -24207,23 +24674,145 @@ } ] }, - "/v1/betaCrashLogs/{id}": { + "/v1/betaAppReviewDetails": { "get": { "tags": [ - "BetaCrashLogs" + "BetaAppReviewDetails" ], - "operationId": "betaCrashLogs_getInstance", + "operationId": "betaAppReviewDetails_getCollection", "parameters": [ { - "name": "fields[betaCrashLogs]", + "name": "filter[app]", "in": "query", - "description": "the fields to include for returned resources of type betaCrashLogs", + "description": "filter by id(s) of related 'app'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": true + }, + { + "name": "fields[betaAppReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "logText" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "app" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app" ] } }, @@ -24263,22 +24852,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single BetaCrashLog", + "description": "List of BetaAppReviewDetails", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaCrashLogResponse" + "$ref": "#/components/schemas/BetaAppReviewDetailsResponse" } } } @@ -24294,59 +24873,33 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/betaFeedbackCrashSubmissions/{id}": { + "/v1/betaAppReviewDetails/{id}": { "get": { "tags": [ - "BetaFeedbackCrashSubmissions" + "BetaAppReviewDetails" ], - "operationId": "betaFeedbackCrashSubmissions_getInstance", + "operationId": "betaAppReviewDetails_getInstance", "parameters": [ { - "name": "fields[betaFeedbackCrashSubmissions]", + "name": "fields[betaAppReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type betaFeedbackCrashSubmissions", + "description": "the fields to include for returned resources of type betaAppReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "createdDate", - "comment", - "email", - "deviceModel", - "osVersion", - "locale", - "timeZone", - "architecture", - "connectionType", - "pairedAppleWatch", - "appUptimeInMilliseconds", - "diskBytesAvailable", - "diskBytesTotal", - "batteryPercentage", - "screenWidthInPoints", - "screenHeightInPoints", - "appPlatform", - "devicePlatform", - "deviceFamily", - "buildBundleId", - "crashLog", - "build", - "tester" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "app" ] } }, @@ -24355,65 +24908,71 @@ "required": false }, { - "name": "fields[builds]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaTesters]", - "in": "query", - "description": "the fields to include for returned resources of type betaTesters", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -24430,8 +24989,7 @@ "items": { "type": "string", "enum": [ - "build", - "tester" + "app" ] } }, @@ -24482,11 +25040,11 @@ } }, "200": { - "description": "Single BetaFeedbackCrashSubmission", + "description": "Single BetaAppReviewDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaFeedbackCrashSubmissionResponse" + "$ref": "#/components/schemas/BetaAppReviewDetailResponse" } } } @@ -24503,11 +25061,22 @@ } } }, - "delete": { + "patch": { "tags": [ - "BetaFeedbackCrashSubmissions" + "BetaAppReviewDetails" ], - "operationId": "betaFeedbackCrashSubmissions_deleteInstance", + "operationId": "betaAppReviewDetails_updateInstance", + "requestBody": { + "description": "BetaAppReviewDetail representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppReviewDetailUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -24549,8 +25118,35 @@ } } }, - "204": { - "description": "Success (no content)" + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single BetaAppReviewDetail", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppReviewDetailResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -24577,45 +25173,59 @@ } ] }, - "/v1/betaFeedbackScreenshotSubmissions/{id}": { + "/v1/betaAppReviewSubmissions": { "get": { "tags": [ - "BetaFeedbackScreenshotSubmissions" + "BetaAppReviewSubmissions" ], - "operationId": "betaFeedbackScreenshotSubmissions_getInstance", + "operationId": "betaAppReviewSubmissions_getCollection", "parameters": [ { - "name": "fields[betaFeedbackScreenshotSubmissions]", + "name": "filter[betaReviewState]", "in": "query", - "description": "the fields to include for returned resources of type betaFeedbackScreenshotSubmissions", + "description": "filter by attribute 'betaReviewState'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "createdDate", - "comment", - "email", - "deviceModel", - "osVersion", - "locale", - "timeZone", - "architecture", - "connectionType", - "pairedAppleWatch", - "appUptimeInMilliseconds", - "diskBytesAvailable", - "diskBytesTotal", - "batteryPercentage", - "screenWidthInPoints", - "screenHeightInPoints", - "appPlatform", - "devicePlatform", - "deviceFamily", - "buildBundleId", - "screenshots", - "build", - "tester" + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "REJECTED", + "APPROVED" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[build]", + "in": "query", + "description": "filter by id(s) of related 'build'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": true + }, + { + "name": "fields[betaAppReviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaReviewState", + "submittedDate", + "build" ] } }, @@ -24666,29 +25276,14 @@ "required": false }, { - "name": "fields[betaTesters]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false, - "required": false + "style": "form" }, { "name": "include", @@ -24699,8 +25294,7 @@ "items": { "type": "string", "enum": [ - "build", - "tester" + "build" ] } }, @@ -24740,22 +25334,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single BetaFeedbackScreenshotSubmission", + "description": "List of BetaAppReviewSubmissions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaFeedbackScreenshotSubmissionResponse" + "$ref": "#/components/schemas/BetaAppReviewSubmissionsResponse" } } } @@ -24772,11 +25356,22 @@ } } }, - "delete": { + "post": { "tags": [ - "BetaFeedbackScreenshotSubmissions" + "BetaAppReviewSubmissions" ], - "operationId": "betaFeedbackScreenshotSubmissions_deleteInstance", + "operationId": "betaAppReviewSubmissions_createInstance", + "requestBody": { + "description": "BetaAppReviewSubmission representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppReviewSubmissionCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -24808,8 +25403,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -24818,8 +25413,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single BetaAppReviewSubmission", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppReviewSubmissionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -24832,35 +25444,28 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/betaGroups": { + "/v1/betaAppReviewSubmissions/{id}": { "get": { "tags": [ - "BetaGroups" + "BetaAppReviewSubmissions" ], - "operationId": "betaGroups_getCollection", + "operationId": "betaAppReviewSubmissions_getInstance", "parameters": [ { - "name": "filter[name]", + "name": "fields[betaAppReviewSubmissions]", "in": "query", - "description": "filter by attribute 'name'", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "betaReviewState", + "submittedDate", + "build" + ] } }, "style": "form", @@ -24868,13 +25473,41 @@ "required": false }, { - "name": "filter[isInternalGroup]", + "name": "fields[builds]", "in": "query", - "description": "filter by attribute 'isInternalGroup'", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] } }, "style": "form", @@ -24882,107 +25515,114 @@ "required": false }, { - "name": "filter[publicLinkEnabled]", + "name": "include", "in": "query", - "description": "filter by attribute 'publicLinkEnabled'", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "build" + ] } }, "style": "form", "explode": false, "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "filter[publicLinkLimitEnabled]", - "in": "query", - "description": "filter by attribute 'publicLinkLimitEnabled'", - "schema": { - "type": "array", - "items": { - "type": "string" + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[publicLink]", - "in": "query", - "description": "filter by attribute 'publicLink'", - "schema": { - "type": "array", - "items": { - "type": "string" + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[app]", - "in": "query", - "description": "filter by id(s) of related 'app'", - "schema": { - "type": "array", - "items": { - "type": "string" + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[builds]", - "in": "query", - "description": "filter by id(s) of related 'builds'", - "schema": { - "type": "array", - "items": { - "type": "string" + "200": { + "description": "Single BetaAppReviewSubmission", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppReviewSubmissionResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaBuildLocalizations": { + "get": { + "tags": [ + "BetaBuildLocalizations" + ], + "operationId": "betaBuildLocalizations_getCollection", + "parameters": [ { - "name": "sort", + "name": "filter[locale]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "filter by attribute 'locale'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "name", - "-name", - "createdDate", - "-createdDate", - "publicLinkEnabled", - "-publicLinkEnabled", - "publicLinkLimit", - "-publicLinkLimit" - ] + "type": "string" } }, "style": "form", @@ -24990,32 +25630,13 @@ "required": false }, { - "name": "fields[betaGroups]", + "name": "filter[build]", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "description": "filter by id(s) of related 'build'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" - ] + "type": "string" } }, "style": "form", @@ -25023,70 +25644,17 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[betaBuildLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type betaBuildLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "whatsNew", + "locale", + "build" ] } }, @@ -25136,49 +25704,6 @@ "explode": false, "required": false }, - { - "name": "fields[betaTesters]", - "in": "query", - "description": "the fields to include for returned resources of type betaTesters", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaRecruitmentCriteria]", - "in": "query", - "description": "the fields to include for returned resources of type betaRecruitmentCriteria", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "lastModifiedDate", - "deviceFamilyOsVersionFilters" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "limit", "in": "query", @@ -25198,38 +25723,13 @@ "items": { "type": "string", "enum": [ - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria" + "build" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[betaTesters]", - "in": "query", - "description": "maximum number of related betaTesters returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 1000 - }, - "style": "form", - "required": false } ], "responses": { @@ -25264,11 +25764,11 @@ } }, "200": { - "description": "List of BetaGroups", + "description": "List of BetaBuildLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupsResponse" + "$ref": "#/components/schemas/BetaBuildLocalizationsResponse" } } } @@ -25287,15 +25787,15 @@ }, "post": { "tags": [ - "BetaGroups" + "BetaBuildLocalizations" ], - "operationId": "betaGroups_createInstance", + "operationId": "betaBuildLocalizations_createInstance", "requestBody": { - "description": "BetaGroup representation", + "description": "BetaBuildLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupCreateRequest" + "$ref": "#/components/schemas/BetaBuildLocalizationCreateRequest" } } }, @@ -25343,11 +25843,11 @@ } }, "201": { - "description": "Single BetaGroup", + "description": "Single BetaBuildLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupResponse" + "$ref": "#/components/schemas/BetaBuildLocalizationResponse" } } } @@ -25375,111 +25875,25 @@ } } }, - "/v1/betaGroups/{id}": { + "/v1/betaBuildLocalizations/{id}": { "get": { "tags": [ - "BetaGroups" + "BetaBuildLocalizations" ], - "operationId": "betaGroups_getInstance", + "operationId": "betaBuildLocalizations_getInstance", "parameters": [ { - "name": "fields[betaGroups]", - "in": "query", - "description": "the fields to include for returned resources of type betaGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", + "name": "fields[betaBuildLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type betaBuildLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "whatsNew", + "locale", + "build" ] } }, @@ -25529,49 +25943,6 @@ "explode": false, "required": false }, - { - "name": "fields[betaTesters]", - "in": "query", - "description": "the fields to include for returned resources of type betaTesters", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaRecruitmentCriteria]", - "in": "query", - "description": "the fields to include for returned resources of type betaRecruitmentCriteria", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "lastModifiedDate", - "deviceFamilyOsVersionFilters" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "include", "in": "query", @@ -25581,38 +25952,13 @@ "items": { "type": "string", "enum": [ - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria" + "build" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[betaTesters]", - "in": "query", - "description": "maximum number of related betaTesters returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 1000 - }, - "style": "form", - "required": false } ], "responses": { @@ -25657,11 +26003,11 @@ } }, "200": { - "description": "Single BetaGroup", + "description": "Single BetaBuildLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupResponse" + "$ref": "#/components/schemas/BetaBuildLocalizationResponse" } } } @@ -25680,15 +26026,15 @@ }, "patch": { "tags": [ - "BetaGroups" + "BetaBuildLocalizations" ], - "operationId": "betaGroups_updateInstance", + "operationId": "betaBuildLocalizations_updateInstance", "requestBody": { - "description": "BetaGroup representation", + "description": "BetaBuildLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupUpdateRequest" + "$ref": "#/components/schemas/BetaBuildLocalizationUpdateRequest" } } }, @@ -25746,11 +26092,11 @@ } }, "200": { - "description": "Single BetaGroup", + "description": "Single BetaBuildLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupResponse" + "$ref": "#/components/schemas/BetaBuildLocalizationResponse" } } } @@ -25779,9 +26125,9 @@ }, "delete": { "tags": [ - "BetaGroups" + "BetaBuildLocalizations" ], - "operationId": "betaGroups_deleteInstance", + "operationId": "betaBuildLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -25851,137 +26197,23 @@ } ] }, - "/v1/betaLicenseAgreements": { + "/v1/betaCrashLogs/{id}": { "get": { "tags": [ - "BetaLicenseAgreements" + "BetaCrashLogs" ], - "operationId": "betaLicenseAgreements_getCollection", + "operationId": "betaCrashLogs_getInstance", "parameters": [ { - "name": "filter[app]", - "in": "query", - "description": "filter by id(s) of related 'app'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaLicenseAgreements]", - "in": "query", - "description": "the fields to include for returned resources of type betaLicenseAgreements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "agreementText", - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[betaCrashLogs]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type betaCrashLogs", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app" + "logText" ] } }, @@ -26021,12 +26253,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of BetaLicenseAgreements", + "description": "Single BetaCrashLog", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaLicenseAgreementsResponse" + "$ref": "#/components/schemas/BetaCrashLogResponse" } } } @@ -26042,26 +26284,59 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/betaLicenseAgreements/{id}": { + "/v1/betaFeedbackCrashSubmissions/{id}": { "get": { "tags": [ - "BetaLicenseAgreements" + "BetaFeedbackCrashSubmissions" ], - "operationId": "betaLicenseAgreements_getInstance", + "operationId": "betaFeedbackCrashSubmissions_getInstance", "parameters": [ { - "name": "fields[betaLicenseAgreements]", + "name": "fields[betaFeedbackCrashSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type betaLicenseAgreements", + "description": "the fields to include for returned resources of type betaFeedbackCrashSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "agreementText", - "app" + "createdDate", + "comment", + "email", + "deviceModel", + "osVersion", + "locale", + "timeZone", + "architecture", + "connectionType", + "pairedAppleWatch", + "appUptimeInMilliseconds", + "diskBytesAvailable", + "diskBytesTotal", + "batteryPercentage", + "screenWidthInPoints", + "screenHeightInPoints", + "appPlatform", + "devicePlatform", + "deviceFamily", + "buildBundleId", + "crashLog", + "build", + "tester" ] } }, @@ -26070,70 +26345,65 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[betaTesters]", + "in": "query", + "description": "the fields to include for returned resources of type betaTesters", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" ] } }, @@ -26150,7 +26420,8 @@ "items": { "type": "string", "enum": [ - "app" + "build", + "tester" ] } }, @@ -26201,11 +26472,11 @@ } }, "200": { - "description": "Single BetaLicenseAgreement", + "description": "Single BetaFeedbackCrashSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaLicenseAgreementResponse" + "$ref": "#/components/schemas/BetaFeedbackCrashSubmissionResponse" } } } @@ -26222,22 +26493,11 @@ } } }, - "patch": { + "delete": { "tags": [ - "BetaLicenseAgreements" + "BetaFeedbackCrashSubmissions" ], - "operationId": "betaLicenseAgreements_updateInstance", - "requestBody": { - "description": "BetaLicenseAgreement representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaLicenseAgreementUpdateRequest" - } - } - }, - "required": true - }, + "operationId": "betaFeedbackCrashSubmissions_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -26279,35 +26539,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single BetaLicenseAgreement", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaLicenseAgreementResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -26334,114 +26567,138 @@ } ] }, - "/v1/betaRecruitmentCriteria": { - "post": { + "/v1/betaFeedbackScreenshotSubmissions/{id}": { + "get": { "tags": [ - "BetaRecruitmentCriteria" + "BetaFeedbackScreenshotSubmissions" ], - "operationId": "betaRecruitmentCriteria_createInstance", - "requestBody": { - "description": "BetaRecruitmentCriterion representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaRecruitmentCriterionCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "operationId": "betaFeedbackScreenshotSubmissions_getInstance", + "parameters": [ + { + "name": "fields[betaFeedbackScreenshotSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type betaFeedbackScreenshotSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "comment", + "email", + "deviceModel", + "osVersion", + "locale", + "timeZone", + "architecture", + "connectionType", + "pairedAppleWatch", + "appUptimeInMilliseconds", + "diskBytesAvailable", + "diskBytesTotal", + "batteryPercentage", + "screenWidthInPoints", + "screenHeightInPoints", + "appPlatform", + "devicePlatform", + "deviceFamily", + "buildBundleId", + "screenshots", + "build", + "tester" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "201": { - "description": "Single BetaRecruitmentCriterion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaRecruitmentCriterionResponse" - } + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[betaTesters]", + "in": "query", + "description": "the fields to include for returned resources of type betaTesters", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "build", + "tester" + ] } - } + }, + "style": "form", + "explode": false, + "required": false } - } - } - }, - "/v1/betaRecruitmentCriteria/{id}": { - "patch": { - "tags": [ - "BetaRecruitmentCriteria" ], - "operationId": "betaRecruitmentCriteria_updateInstance", - "requestBody": { - "description": "BetaRecruitmentCriterion representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaRecruitmentCriterionUpdateRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -26483,32 +26740,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single BetaRecruitmentCriterion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaRecruitmentCriterionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single BetaFeedbackScreenshotSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BetaFeedbackScreenshotSubmissionResponse" } } } @@ -26527,9 +26764,9 @@ }, "delete": { "tags": [ - "BetaRecruitmentCriteria" + "BetaFeedbackScreenshotSubmissions" ], - "operationId": "betaRecruitmentCriteria_deleteInstance", + "operationId": "betaFeedbackScreenshotSubmissions_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -26599,197 +26836,17 @@ } ] }, - "/v1/betaRecruitmentCriterionOptions": { - "get": { - "tags": [ - "BetaRecruitmentCriterionOptions" - ], - "operationId": "betaRecruitmentCriterionOptions_getCollection", - "parameters": [ - { - "name": "fields[betaRecruitmentCriterionOptions]", - "in": "query", - "description": "the fields to include for returned resources of type betaRecruitmentCriterionOptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "deviceFamilyOsVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of BetaRecruitmentCriterionOptions", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaRecruitmentCriterionOptionsResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/betaTesterInvitations": { - "post": { - "tags": [ - "BetaTesterInvitations" - ], - "operationId": "betaTesterInvitations_createInstance", - "requestBody": { - "description": "BetaTesterInvitation representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaTesterInvitationCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single BetaTesterInvitation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaTesterInvitationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/betaTesters": { + "/v1/betaGroups": { "get": { "tags": [ - "BetaTesters" + "BetaGroups" ], - "operationId": "betaTesters_getCollection", + "operationId": "betaGroups_getCollection", "parameters": [ { - "name": "filter[firstName]", + "name": "filter[name]", "in": "query", - "description": "filter by attribute 'firstName'", + "description": "filter by attribute 'name'", "schema": { "type": "array", "items": { @@ -26801,9 +26858,9 @@ "required": false }, { - "name": "filter[lastName]", + "name": "filter[isInternalGroup]", "in": "query", - "description": "filter by attribute 'lastName'", + "description": "filter by attribute 'isInternalGroup'", "schema": { "type": "array", "items": { @@ -26815,9 +26872,9 @@ "required": false }, { - "name": "filter[email]", + "name": "filter[publicLinkEnabled]", "in": "query", - "description": "filter by attribute 'email'", + "description": "filter by attribute 'publicLinkEnabled'", "schema": { "type": "array", "items": { @@ -26829,17 +26886,13 @@ "required": false }, { - "name": "filter[inviteType]", + "name": "filter[publicLinkLimitEnabled]", "in": "query", - "description": "filter by attribute 'inviteType'", + "description": "filter by attribute 'publicLinkLimitEnabled'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "EMAIL", - "PUBLIC_LINK" - ] + "type": "string" } }, "style": "form", @@ -26847,9 +26900,9 @@ "required": false }, { - "name": "filter[apps]", + "name": "filter[publicLink]", "in": "query", - "description": "filter by id(s) of related 'apps'", + "description": "filter by attribute 'publicLink'", "schema": { "type": "array", "items": { @@ -26861,9 +26914,9 @@ "required": false }, { - "name": "filter[betaGroups]", + "name": "filter[app]", "in": "query", - "description": "filter by id(s) of related 'betaGroups'", + "description": "filter by id(s) of related 'app'", "schema": { "type": "array", "items": { @@ -26911,16 +26964,14 @@ "items": { "type": "string", "enum": [ - "firstName", - "-firstName", - "lastName", - "-lastName", - "email", - "-email", - "inviteType", - "-inviteType", - "state", - "-state" + "name", + "-name", + "createdDate", + "-createdDate", + "publicLinkEnabled", + "-publicLinkEnabled", + "publicLinkLimit", + "-publicLinkLimit" ] } }, @@ -26929,23 +26980,31 @@ "required": false }, { - "name": "fields[betaTesters]", + "name": "fields[betaGroups]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" ] } }, @@ -27013,6 +27072,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -27025,39 +27085,6 @@ "explode": false, "required": false }, - { - "name": "fields[betaGroups]", - "in": "query", - "description": "the fields to include for returned resources of type betaGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "fields[builds]", "in": "query", @@ -27101,24 +27128,20 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[betaTesters]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", "apps", "betaGroups", "builds" @@ -27130,23 +27153,60 @@ "required": false }, { - "name": "limit[apps]", + "name": "fields[betaRecruitmentCriteria]", "in": "query", - "description": "maximum number of related apps returned (when they are included)", + "description": "the fields to include for returned resources of type betaRecruitmentCriteria", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastModifiedDate", + "deviceFamilyOsVersionFilters" + ] + } }, "style": "form", + "explode": false, "required": false }, { - "name": "limit[betaGroups]", + "name": "limit", "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[betaTesters]", + "in": "query", + "description": "maximum number of related betaTesters returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form", "required": false @@ -27157,7 +27217,7 @@ "description": "maximum number of related builds returned (when they are included)", "schema": { "type": "integer", - "maximum": 50 + "maximum": 1000 }, "style": "form", "required": false @@ -27195,11 +27255,11 @@ } }, "200": { - "description": "List of BetaTesters", + "description": "List of BetaGroups", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTestersResponse" + "$ref": "#/components/schemas/BetaGroupsResponse" } } } @@ -27218,15 +27278,15 @@ }, "post": { "tags": [ - "BetaTesters" + "BetaGroups" ], - "operationId": "betaTesters_createInstance", + "operationId": "betaGroups_createInstance", "requestBody": { - "description": "BetaTester representation", + "description": "BetaGroup representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTesterCreateRequest" + "$ref": "#/components/schemas/BetaGroupCreateRequest" } } }, @@ -27274,11 +27334,11 @@ } }, "201": { - "description": "Single BetaTester", + "description": "Single BetaGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTesterResponse" + "$ref": "#/components/schemas/BetaGroupResponse" } } } @@ -27306,31 +27366,39 @@ } } }, - "/v1/betaTesters/{id}": { + "/v1/betaGroups/{id}": { "get": { "tags": [ - "BetaTesters" + "BetaGroups" ], - "operationId": "betaTesters_getInstance", + "operationId": "betaGroups_getInstance", "parameters": [ { - "name": "fields[betaTesters]", + "name": "fields[betaGroups]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" ] } }, @@ -27398,6 +27466,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -27410,39 +27479,6 @@ "explode": false, "required": false }, - { - "name": "fields[betaGroups]", - "in": "query", - "description": "the fields to include for returned resources of type betaGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "fields[builds]", "in": "query", @@ -27486,14 +27522,20 @@ "required": false }, { - "name": "include", + "name": "fields[betaTesters]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", "apps", "betaGroups", "builds" @@ -27505,20 +27547,47 @@ "required": false }, { - "name": "limit[apps]", + "name": "fields[betaRecruitmentCriteria]", "in": "query", - "description": "maximum number of related apps returned (when they are included)", + "description": "the fields to include for returned resources of type betaRecruitmentCriteria", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastModifiedDate", + "deviceFamilyOsVersionFilters" + ] + } }, "style": "form", + "explode": false, "required": false }, { - "name": "limit[betaGroups]", + "name": "include", "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[betaTesters]", + "in": "query", + "description": "maximum number of related betaTesters returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -27532,7 +27601,7 @@ "description": "maximum number of related builds returned (when they are included)", "schema": { "type": "integer", - "maximum": 50 + "maximum": 1000 }, "style": "form", "required": false @@ -27580,11 +27649,11 @@ } }, "200": { - "description": "Single BetaTester", + "description": "Single BetaGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTesterResponse" + "$ref": "#/components/schemas/BetaGroupResponse" } } } @@ -27601,11 +27670,22 @@ } } }, - "delete": { + "patch": { "tags": [ - "BetaTesters" + "BetaGroups" ], - "operationId": "betaTesters_deleteInstance", + "operationId": "betaGroups_updateInstance", + "requestBody": { + "description": "BetaGroup representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaGroupUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -27647,8 +27727,93 @@ } } }, - "202": { - "description": "Accepted for future completion" + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single BetaGroup", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaGroupResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "BetaGroups" + ], + "operationId": "betaGroups_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "204": { "description": "Success (no content)" @@ -27678,31 +27843,17 @@ } ] }, - "/v1/buildBetaDetails": { + "/v1/betaLicenseAgreements": { "get": { "tags": [ - "BuildBetaDetails" + "BetaLicenseAgreements" ], - "operationId": "buildBetaDetails_getCollection", + "operationId": "betaLicenseAgreements_getCollection", "parameters": [ { - "name": "filter[build]", - "in": "query", - "description": "filter by id(s) of related 'build'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[id]", + "name": "filter[app]", "in": "query", - "description": "filter by id(s)", + "description": "filter by id(s) of related 'app'", "schema": { "type": "array", "items": { @@ -27714,18 +27865,16 @@ "required": false }, { - "name": "fields[buildBetaDetails]", + "name": "fields[betaLicenseAgreements]", "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", + "description": "the fields to include for returned resources of type betaLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "autoNotifyEnabled", - "internalBuildState", - "externalBuildState", - "build" + "agreementText", + "app" ] } }, @@ -27734,40 +27883,71 @@ "required": false }, { - "name": "fields[builds]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", "perfPowerMetrics", - "diagnosticSignatures" + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -27794,7 +27974,7 @@ "items": { "type": "string", "enum": [ - "build" + "app" ] } }, @@ -27835,11 +28015,11 @@ } }, "200": { - "description": "List of BuildBetaDetails", + "description": "List of BetaLicenseAgreements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaDetailsResponse" + "$ref": "#/components/schemas/BetaLicenseAgreementsResponse" } } } @@ -27857,26 +28037,24 @@ } } }, - "/v1/buildBetaDetails/{id}": { + "/v1/betaLicenseAgreements/{id}": { "get": { "tags": [ - "BuildBetaDetails" + "BetaLicenseAgreements" ], - "operationId": "buildBetaDetails_getInstance", + "operationId": "betaLicenseAgreements_getInstance", "parameters": [ { - "name": "fields[buildBetaDetails]", + "name": "fields[betaLicenseAgreements]", "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", + "description": "the fields to include for returned resources of type betaLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "autoNotifyEnabled", - "internalBuildState", - "externalBuildState", - "build" + "agreementText", + "app" ] } }, @@ -27885,40 +28063,71 @@ "required": false }, { - "name": "fields[builds]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", "perfPowerMetrics", - "diagnosticSignatures" + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -27935,7 +28144,7 @@ "items": { "type": "string", "enum": [ - "build" + "app" ] } }, @@ -27986,11 +28195,11 @@ } }, "200": { - "description": "Single BuildBetaDetail", + "description": "Single BetaLicenseAgreement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaDetailResponse" + "$ref": "#/components/schemas/BetaLicenseAgreementResponse" } } } @@ -28009,15 +28218,15 @@ }, "patch": { "tags": [ - "BuildBetaDetails" + "BetaLicenseAgreements" ], - "operationId": "buildBetaDetails_updateInstance", + "operationId": "betaLicenseAgreements_updateInstance", "requestBody": { - "description": "BuildBetaDetail representation", + "description": "BetaLicenseAgreement representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaDetailUpdateRequest" + "$ref": "#/components/schemas/BetaLicenseAgreementUpdateRequest" } } }, @@ -28075,11 +28284,11 @@ } }, "200": { - "description": "Single BuildBetaDetail", + "description": "Single BetaLicenseAgreement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaDetailResponse" + "$ref": "#/components/schemas/BetaLicenseAgreementResponse" } } } @@ -28119,18 +28328,18 @@ } ] }, - "/v1/buildBetaNotifications": { + "/v1/betaRecruitmentCriteria": { "post": { "tags": [ - "BuildBetaNotifications" + "BetaRecruitmentCriteria" ], - "operationId": "buildBetaNotifications_createInstance", + "operationId": "betaRecruitmentCriteria_createInstance", "requestBody": { - "description": "BuildBetaNotification representation", + "description": "BetaRecruitmentCriterion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaNotificationCreateRequest" + "$ref": "#/components/schemas/BetaRecruitmentCriterionCreateRequest" } } }, @@ -28178,11 +28387,11 @@ } }, "201": { - "description": "Single BuildBetaNotification", + "description": "Single BetaRecruitmentCriterion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaNotificationResponse" + "$ref": "#/components/schemas/BetaRecruitmentCriterionResponse" } } } @@ -28210,18 +28419,18 @@ } } }, - "/v1/buildUploadFiles": { - "post": { + "/v1/betaRecruitmentCriteria/{id}": { + "patch": { "tags": [ - "BuildUploadFiles" + "BetaRecruitmentCriteria" ], - "operationId": "buildUploadFiles_createInstance", + "operationId": "betaRecruitmentCriteria_updateInstance", "requestBody": { - "description": "BuildUploadFile representation", + "description": "BetaRecruitmentCriterion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildUploadFileCreateRequest" + "$ref": "#/components/schemas/BetaRecruitmentCriterionUpdateRequest" } } }, @@ -28258,6 +28467,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -28268,12 +28487,12 @@ } } }, - "201": { - "description": "Single BuildUploadFile", + "200": { + "description": "Single BetaRecruitmentCriterion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildUploadFileResponse" + "$ref": "#/components/schemas/BetaRecruitmentCriterionResponse" } } } @@ -28299,40 +28518,12 @@ } } } - } - }, - "/v1/buildUploadFiles/{id}": { - "get": { + }, + "delete": { "tags": [ - "BuildUploadFiles" - ], - "operationId": "buildUploadFiles_getInstance", - "parameters": [ - { - "name": "fields[buildUploadFiles]", - "in": "query", - "description": "the fields to include for returned resources of type buildUploadFiles", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "sourceFileChecksums", - "uploadOperations", - "uti" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } + "BetaRecruitmentCriteria" ], + "operationId": "betaRecruitmentCriteria_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -28374,15 +28565,8 @@ } } }, - "200": { - "description": "Single BuildUploadFile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildUploadFileResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -28396,22 +28580,54 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaRecruitmentCriterionOptions": { + "get": { "tags": [ - "BuildUploadFiles" + "BetaRecruitmentCriterionOptions" ], - "operationId": "buildUploadFiles_updateInstance", - "requestBody": { - "description": "BuildUploadFile representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildUploadFileUpdateRequest" + "operationId": "betaRecruitmentCriterionOptions_getCollection", + "parameters": [ + { + "name": "fields[betaRecruitmentCriterionOptions]", + "in": "query", + "description": "the fields to include for returned resources of type betaRecruitmentCriterionOptions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "deviceFamilyOsVersions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -28443,42 +28659,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single BuildUploadFile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildUploadFileResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "List of BetaRecruitmentCriterionOptions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BetaRecruitmentCriterionOptionsResponse" } } } @@ -28494,32 +28680,20 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/buildUploads": { + "/v1/betaTesterInvitations": { "post": { "tags": [ - "BuildUploads" + "BetaTesterInvitations" ], - "operationId": "buildUploads_createInstance", + "operationId": "betaTesterInvitations_createInstance", "requestBody": { - "description": "BuildUpload representation", + "description": "BetaTesterInvitation representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildUploadCreateRequest" + "$ref": "#/components/schemas/BetaTesterInvitationCreateRequest" } } }, @@ -28567,11 +28741,11 @@ } }, "201": { - "description": "Single BuildUpload", + "description": "Single BetaTesterInvitation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildUploadResponse" + "$ref": "#/components/schemas/BetaTesterInvitationResponse" } } } @@ -28599,33 +28773,279 @@ } } }, - "/v1/buildUploads/{id}": { + "/v1/betaTesters": { "get": { "tags": [ - "BuildUploads" + "BetaTesters" ], - "operationId": "buildUploads_getInstance", + "operationId": "betaTesters_getCollection", "parameters": [ { - "name": "fields[buildUploads]", + "name": "filter[firstName]", "in": "query", - "description": "the fields to include for returned resources of type buildUploads", + "description": "filter by attribute 'firstName'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[lastName]", + "in": "query", + "description": "filter by attribute 'lastName'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[email]", + "in": "query", + "description": "filter by attribute 'email'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[inviteType]", + "in": "query", + "description": "filter by attribute 'inviteType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "cfBundleShortVersionString", - "cfBundleVersion", - "createdDate", + "EMAIL", + "PUBLIC_LINK" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[apps]", + "in": "query", + "description": "filter by id(s) of related 'apps'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[betaGroups]", + "in": "query", + "description": "filter by id(s) of related 'betaGroups'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[builds]", + "in": "query", + "description": "filter by id(s) of related 'builds'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "firstName", + "-firstName", + "lastName", + "-lastName", + "email", + "-email", + "inviteType", + "-inviteType", "state", - "platform", - "uploadedDate", - "build", - "assetFile", - "assetDescriptionFile", - "assetSpiFile", - "buildUploadFiles" + "-state" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[betaTesters]", + "in": "query", + "description": "the fields to include for returned resources of type betaTesters", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[betaGroups]", + "in": "query", + "description": "the fields to include for returned resources of type betaGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" ] } }, @@ -28676,28 +29096,14 @@ "required": false }, { - "name": "fields[buildUploadFiles]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type buildUploadFiles", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "sourceFileChecksums", - "uploadOperations", - "uti" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false, - "required": false + "style": "form" }, { "name": "include", @@ -28708,16 +29114,48 @@ "items": { "type": "string", "enum": [ - "build", - "assetFile", - "assetDescriptionFile", - "assetSpiFile" + "apps", + "betaGroups", + "builds" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[apps]", + "in": "query", + "description": "maximum number of related apps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[betaGroups]", + "in": "query", + "description": "maximum number of related betaGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -28751,22 +29189,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single BuildUpload", + "description": "List of BetaTesters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildUploadResponse" + "$ref": "#/components/schemas/BetaTestersResponse" } } } @@ -28783,11 +29211,22 @@ } } }, - "delete": { + "post": { "tags": [ - "BuildUploads" + "BetaTesters" ], - "operationId": "buildUploads_deleteInstance", + "operationId": "betaTesters_createInstance", + "requestBody": { + "description": "BetaTester representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaTesterCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -28819,8 +29258,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -28829,8 +29268,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single BetaTester", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaTesterResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -28843,68 +29299,33 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/builds": { + "/v1/betaTesters/{id}": { "get": { "tags": [ - "Builds" + "BetaTesters" ], - "operationId": "builds_getCollection", + "operationId": "betaTesters_getInstance", "parameters": [ { - "name": "filter[version]", - "in": "query", - "description": "filter by attribute 'version'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[expired]", - "in": "query", - "description": "filter by attribute 'expired'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[processingState]", + "name": "fields[betaTesters]", "in": "query", - "description": "filter by attribute 'processingState'", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PROCESSING", - "FAILED", - "INVALID", - "VALID" + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" ] } }, @@ -28913,18 +29334,71 @@ "required": false }, { - "name": "filter[betaAppReviewSubmission.betaReviewState]", + "name": "fields[apps]", "in": "query", - "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "REJECTED", - "APPROVED" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -28933,27 +29407,32 @@ "required": false }, { - "name": "filter[usesNonExemptEncryption]", - "in": "query", - "description": "filter by attribute 'usesNonExemptEncryption'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[preReleaseVersion.version]", + "name": "fields[betaGroups]", "in": "query", - "description": "filter by attribute 'preReleaseVersion.version'", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" + ] } }, "style": "form", @@ -28961,18 +29440,40 @@ "required": false }, { - "name": "filter[preReleaseVersion.platform]", + "name": "fields[builds]", "in": "query", - "description": "filter by attribute 'preReleaseVersion.platform'", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -28981,16 +29482,17 @@ "required": false }, { - "name": "filter[buildAudienceType]", + "name": "include", "in": "query", - "description": "filter by attribute 'buildAudienceType'", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "INTERNAL_ONLY", - "APP_STORE_ELIGIBLE" + "apps", + "betaGroups", + "builds" ] } }, @@ -28999,51 +29501,190 @@ "required": false }, { - "name": "filter[preReleaseVersion]", + "name": "limit[apps]", "in": "query", - "description": "filter by id(s) of related 'preReleaseVersion'", + "description": "maximum number of related apps returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "filter[app]", + "name": "limit[betaGroups]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "maximum number of related betaGroups returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "filter[betaGroups]", + "name": "limit[builds]", "in": "query", - "description": "filter by id(s) of related 'betaGroups'", + "description": "maximum number of related builds returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single BetaTester", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaTesterResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "BetaTesters" + ], + "operationId": "betaTesters_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "202": { + "description": "Accepted for future completion" + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/buildBetaDetails": { + "get": { + "tags": [ + "BuildBetaDetails" + ], + "operationId": "buildBetaDetails_getCollection", + "parameters": [ { - "name": "filter[appStoreVersion]", + "name": "filter[build]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersion'", + "description": "filter by id(s) of related 'build'", "schema": { "type": "array", "items": { @@ -29069,31 +29710,18 @@ "required": false }, { - "name": "exists[usesNonExemptEncryption]", - "in": "query", - "description": "filter by attribute 'usesNonExemptEncryption'", - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "sort", + "name": "fields[buildBetaDetails]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type buildBetaDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "-version", - "uploadedDate", - "-uploadedDate", - "preReleaseVersion", - "-preReleaseVersion" + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" ] } }, @@ -29144,238 +29772,24 @@ "required": false }, { - "name": "fields[preReleaseVersions]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "platform", - "builds", - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaTesters]", - "in": "query", - "description": "the fields to include for returned resources of type betaTesters", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaGroups]", - "in": "query", - "description": "the fields to include for returned resources of type betaGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaBuildLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "whatsNew", - "locale", - "build" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appEncryptionDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", - "platform", - "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", - "app", - "builds", - "appEncryptionDeclarationDocument" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaAppReviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "betaReviewState", - "submittedDate", - "build" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[buildBetaDetails]", - "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "autoNotifyEnabled", - "internalBuildState", - "externalBuildState", "build" ] } @@ -29383,226 +29797,6 @@ "style": "form", "explode": false, "required": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[buildIcons]", - "in": "query", - "description": "the fields to include for returned resources of type buildIcons", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "iconAsset", - "iconType", - "masked", - "name" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[buildBundles]", - "in": "query", - "description": "the fields to include for returned resources of type buildBundles", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "bundleId", - "bundleType", - "sdkBuild", - "platformBuild", - "fileName", - "hasSirikit", - "hasOnDemandResources", - "hasPrerenderedIcon", - "usesLocationServices", - "isIosBuildMacAppStoreCompatible", - "includesSymbols", - "dSYMUrl", - "supportedArchitectures", - "requiredCapabilities", - "deviceProtocols", - "locales", - "entitlements", - "baDownloadAllowance", - "baMaxInstallSize", - "minimumOsVersion", - "appClipDomainCacheStatus", - "appClipDomainDebugStatus", - "betaAppClipInvocations", - "buildBundleFileSizes" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[buildUploads]", - "in": "query", - "description": "the fields to include for returned resources of type buildUploads", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "cfBundleShortVersionString", - "cfBundleVersion", - "createdDate", - "state", - "platform", - "uploadedDate", - "build", - "assetFile", - "assetDescriptionFile", - "assetSpiFile", - "buildUploadFiles" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[betaBuildLocalizations]", - "in": "query", - "description": "maximum number of related betaBuildLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[betaGroups]", - "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[buildBundles]", - "in": "query", - "description": "maximum number of related buildBundles returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[icons]", - "in": "query", - "description": "maximum number of related icons returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[individualTesters]", - "in": "query", - "description": "maximum number of related individualTesters returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -29637,11 +29831,11 @@ } }, "200": { - "description": "List of Builds", + "description": "List of BuildBetaDetails", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildsResponse" + "$ref": "#/components/schemas/BuildBetaDetailsResponse" } } } @@ -29659,13 +29853,33 @@ } } }, - "/v1/builds/{id}": { + "/v1/buildBetaDetails/{id}": { "get": { "tags": [ - "Builds" + "BuildBetaDetails" ], - "operationId": "builds_getInstance", + "operationId": "buildBetaDetails_getInstance", "parameters": [ + { + "name": "fields[buildBetaDetails]", + "in": "query", + "description": "the fields to include for returned resources of type buildBetaDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[builds]", "in": "query", @@ -29708,374 +29922,6 @@ "explode": false, "required": false }, - { - "name": "fields[preReleaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "platform", - "builds", - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaTesters]", - "in": "query", - "description": "the fields to include for returned resources of type betaTesters", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaGroups]", - "in": "query", - "description": "the fields to include for returned resources of type betaGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaBuildLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "whatsNew", - "locale", - "build" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appEncryptionDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", - "platform", - "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", - "app", - "builds", - "appEncryptionDeclarationDocument" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaAppReviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "betaReviewState", - "submittedDate", - "build" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[buildBetaDetails]", - "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "autoNotifyEnabled", - "internalBuildState", - "externalBuildState", - "build" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[buildIcons]", - "in": "query", - "description": "the fields to include for returned resources of type buildIcons", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "iconAsset", - "iconType", - "masked", - "name" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[buildBundles]", - "in": "query", - "description": "the fields to include for returned resources of type buildBundles", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "bundleId", - "bundleType", - "sdkBuild", - "platformBuild", - "fileName", - "hasSirikit", - "hasOnDemandResources", - "hasPrerenderedIcon", - "usesLocationServices", - "isIosBuildMacAppStoreCompatible", - "includesSymbols", - "dSYMUrl", - "supportedArchitectures", - "requiredCapabilities", - "deviceProtocols", - "locales", - "entitlements", - "baDownloadAllowance", - "baMaxInstallSize", - "minimumOsVersion", - "appClipDomainCacheStatus", - "appClipDomainDebugStatus", - "betaAppClipInvocations", - "buildBundleFileSizes" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[buildUploads]", - "in": "query", - "description": "the fields to include for returned resources of type buildUploads", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "cfBundleShortVersionString", - "cfBundleVersion", - "createdDate", - "state", - "platform", - "uploadedDate", - "build", - "assetFile", - "assetDescriptionFile", - "assetSpiFile", - "buildUploadFiles" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "include", "in": "query", @@ -30085,79 +29931,13 @@ "items": { "type": "string", "enum": [ - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload" + "build" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[betaBuildLocalizations]", - "in": "query", - "description": "maximum number of related betaBuildLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[betaGroups]", - "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[buildBundles]", - "in": "query", - "description": "maximum number of related buildBundles returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[icons]", - "in": "query", - "description": "maximum number of related icons returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[individualTesters]", - "in": "query", - "description": "maximum number of related individualTesters returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -30202,11 +29982,11 @@ } }, "200": { - "description": "Single Build", + "description": "Single BuildBetaDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildResponse" + "$ref": "#/components/schemas/BuildBetaDetailResponse" } } } @@ -30225,15 +30005,15 @@ }, "patch": { "tags": [ - "Builds" + "BuildBetaDetails" ], - "operationId": "builds_updateInstance", + "operationId": "buildBetaDetails_updateInstance", "requestBody": { - "description": "Build representation", + "description": "BuildBetaDetail representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildUpdateRequest" + "$ref": "#/components/schemas/BuildBetaDetailUpdateRequest" } } }, @@ -30291,11 +30071,11 @@ } }, "200": { - "description": "Single Build", + "description": "Single BuildBetaDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildResponse" + "$ref": "#/components/schemas/BuildBetaDetailResponse" } } } @@ -30335,18 +30115,18 @@ } ] }, - "/v1/bundleIdCapabilities": { + "/v1/buildBetaNotifications": { "post": { "tags": [ - "BundleIdCapabilities" + "BuildBetaNotifications" ], - "operationId": "bundleIdCapabilities_createInstance", + "operationId": "buildBetaNotifications_createInstance", "requestBody": { - "description": "BundleIdCapability representation", + "description": "BuildBetaNotification representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdCapabilityCreateRequest" + "$ref": "#/components/schemas/BuildBetaNotificationCreateRequest" } } }, @@ -30394,11 +30174,11 @@ } }, "201": { - "description": "Single BundleIdCapability", + "description": "Single BuildBetaNotification", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdCapabilityResponse" + "$ref": "#/components/schemas/BuildBetaNotificationResponse" } } } @@ -30426,18 +30206,18 @@ } } }, - "/v1/bundleIdCapabilities/{id}": { - "patch": { + "/v1/buildUploadFiles": { + "post": { "tags": [ - "BundleIdCapabilities" + "BuildUploadFiles" ], - "operationId": "bundleIdCapabilities_updateInstance", + "operationId": "buildUploadFiles_createInstance", "requestBody": { - "description": "BundleIdCapability representation", + "description": "BuildUploadFile representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdCapabilityUpdateRequest" + "$ref": "#/components/schemas/BuildUploadFileCreateRequest" } } }, @@ -30474,16 +30254,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -30494,12 +30264,12 @@ } } }, - "200": { - "description": "Single BundleIdCapability", + "201": { + "description": "Single BuildUploadFile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdCapabilityResponse" + "$ref": "#/components/schemas/BuildUploadFileResponse" } } } @@ -30525,12 +30295,40 @@ } } } - }, - "delete": { + } + }, + "/v1/buildUploadFiles/{id}": { + "get": { "tags": [ - "BundleIdCapabilities" + "BuildUploadFiles" + ], + "operationId": "buildUploadFiles_getInstance", + "parameters": [ + { + "name": "fields[buildUploadFiles]", + "in": "query", + "description": "the fields to include for returned resources of type buildUploadFiles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "sourceFileChecksums", + "uploadOperations", + "uti" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } ], - "operationId": "bundleIdCapabilities_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -30572,8 +30370,15 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single BuildUploadFile", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildUploadFileResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -30587,319 +30392,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/bundleIds": { - "get": { + "patch": { "tags": [ - "BundleIds" + "BuildUploadFiles" ], - "operationId": "bundleIds_getCollection", - "parameters": [ - { - "name": "filter[name]", - "in": "query", - "description": "filter by attribute 'name'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[platform]", - "in": "query", - "description": "filter by attribute 'platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "UNIVERSAL" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[identifier]", - "in": "query", - "description": "filter by attribute 'identifier'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[seedId]", - "in": "query", - "description": "filter by attribute 'seedId'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "-name", - "platform", - "-platform", - "identifier", - "-identifier", - "seedId", - "-seedId", - "id", - "-id" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[bundleIds]", - "in": "query", - "description": "the fields to include for returned resources of type bundleIds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "platform", - "identifier", - "seedId", - "profiles", - "bundleIdCapabilities", - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[profiles]", - "in": "query", - "description": "the fields to include for returned resources of type profiles", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "platform", - "profileType", - "profileState", - "profileContent", - "uuid", - "createdDate", - "expirationDate", - "bundleId", - "devices", - "certificates" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[bundleIdCapabilities]", - "in": "query", - "description": "the fields to include for returned resources of type bundleIdCapabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "capabilityType", - "settings" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "profiles", - "bundleIdCapabilities", - "app" - ] + "operationId": "buildUploadFiles_updateInstance", + "requestBody": { + "description": "BuildUploadFile representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildUploadFileUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[bundleIdCapabilities]", - "in": "query", - "description": "maximum number of related bundleIdCapabilities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + } }, - { - "name": "limit[profiles]", - "in": "query", - "description": "maximum number of related profiles returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -30931,12 +30439,42 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of BundleIds", + "description": "Single BuildUploadFile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdsResponse" + "$ref": "#/components/schemas/BuildUploadFileResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -30953,17 +30491,31 @@ } } }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/buildUploads": { "post": { "tags": [ - "BundleIds" + "BuildUploads" ], - "operationId": "bundleIds_createInstance", + "operationId": "buildUploads_createInstance", "requestBody": { - "description": "BundleId representation", + "description": "BuildUpload representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdCreateRequest" + "$ref": "#/components/schemas/BuildUploadCreateRequest" } } }, @@ -31011,11 +30563,11 @@ } }, "201": { - "description": "Single BundleId", + "description": "Single BuildUpload", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdResponse" + "$ref": "#/components/schemas/BuildUploadResponse" } } } @@ -31043,29 +30595,33 @@ } } }, - "/v1/bundleIds/{id}": { + "/v1/buildUploads/{id}": { "get": { "tags": [ - "BundleIds" + "BuildUploads" ], - "operationId": "bundleIds_getInstance", + "operationId": "buildUploads_getInstance", "parameters": [ { - "name": "fields[bundleIds]", + "name": "fields[buildUploads]", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "the fields to include for returned resources of type buildUploads", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", + "cfBundleShortVersionString", + "cfBundleVersion", + "createdDate", + "state", "platform", - "identifier", - "seedId", - "profiles", - "bundleIdCapabilities", - "app" + "uploadedDate", + "build", + "assetFile", + "assetDescriptionFile", + "assetSpiFile", + "buildUploadFiles" ] } }, @@ -31074,43 +30630,40 @@ "required": false }, { - "name": "fields[profiles]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type profiles", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "platform", - "profileType", - "profileState", - "profileContent", - "uuid", - "createdDate", + "version", + "uploadedDate", "expirationDate", - "bundleId", - "devices", - "certificates" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[bundleIdCapabilities]", - "in": "query", - "description": "the fields to include for returned resources of type bundleIdCapabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "capabilityType", - "settings" + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -31119,70 +30672,22 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[buildUploadFiles]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type buildUploadFiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "sourceFileChecksums", + "uploadOperations", + "uti" ] } }, @@ -31199,118 +30704,18 @@ "items": { "type": "string", "enum": [ - "profiles", - "bundleIdCapabilities", - "app" + "build", + "assetFile", + "assetDescriptionFile", + "assetSpiFile" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[bundleIdCapabilities]", - "in": "query", - "description": "maximum number of related bundleIdCapabilities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[profiles]", - "in": "query", - "description": "maximum number of related profiles returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single BundleId", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BundleIdResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } - } - }, - "patch": { - "tags": [ - "BundleIds" ], - "operationId": "bundleIds_updateInstance", - "requestBody": { - "description": "BundleId representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BundleIdUpdateRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -31352,32 +30757,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single BundleId", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BundleIdResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single BuildUpload", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BuildUploadResponse" } } } @@ -31396,9 +30781,9 @@ }, "delete": { "tags": [ - "BundleIds" + "BuildUploads" ], - "operationId": "bundleIds_deleteInstance", + "operationId": "buildUploads_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -31468,17 +30853,17 @@ } ] }, - "/v1/certificates": { + "/v1/builds": { "get": { "tags": [ - "Certificates" + "Builds" ], - "operationId": "certificates_getCollection", + "operationId": "builds_getCollection", "parameters": [ { - "name": "filter[displayName]", + "name": "filter[version]", "in": "query", - "description": "filter by attribute 'displayName'", + "description": "filter by attribute 'version'", "schema": { "type": "array", "items": { @@ -31490,32 +30875,32 @@ "required": false }, { - "name": "filter[certificateType]", + "name": "filter[expired]", "in": "query", - "description": "filter by attribute 'certificateType'", + "description": "filter by attribute 'expired'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[processingState]", + "in": "query", + "description": "filter by attribute 'processingState'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "APPLE_PAY", - "APPLE_PAY_MERCHANT_IDENTITY", - "APPLE_PAY_PSP_IDENTITY", - "APPLE_PAY_RSA", - "DEVELOPER_ID_KEXT", - "DEVELOPER_ID_KEXT_G2", - "DEVELOPER_ID_APPLICATION", - "DEVELOPER_ID_APPLICATION_G2", - "DEVELOPMENT", - "DISTRIBUTION", - "IDENTITY_ACCESS", - "IOS_DEVELOPMENT", - "IOS_DISTRIBUTION", - "MAC_APP_DISTRIBUTION", - "MAC_INSTALLER_DISTRIBUTION", - "MAC_APP_DEVELOPMENT", - "PASS_TYPE_ID", - "PASS_TYPE_ID_WITH_NFC" + "PROCESSING", + "FAILED", + "INVALID", + "VALID" ] } }, @@ -31524,13 +30909,19 @@ "required": false }, { - "name": "filter[serialNumber]", + "name": "filter[betaAppReviewSubmission.betaReviewState]", "in": "query", - "description": "filter by attribute 'serialNumber'", + "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "REJECTED", + "APPROVED" + ] } }, "style": "form", @@ -31538,9 +30929,9 @@ "required": false }, { - "name": "filter[id]", + "name": "filter[usesNonExemptEncryption]", "in": "query", - "description": "filter by id(s)", + "description": "filter by attribute 'usesNonExemptEncryption'", "schema": { "type": "array", "items": { @@ -31552,23 +30943,13 @@ "required": false }, { - "name": "sort", + "name": "filter[preReleaseVersion.version]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "filter by attribute 'preReleaseVersion.version'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "displayName", - "-displayName", - "certificateType", - "-certificateType", - "serialNumber", - "-serialNumber", - "id", - "-id" - ] + "type": "string" } }, "style": "form", @@ -31576,23 +30957,18 @@ "required": false }, { - "name": "fields[certificates]", + "name": "filter[preReleaseVersion.platform]", "in": "query", - "description": "the fields to include for returned resources of type certificates", + "description": "filter by attribute 'preReleaseVersion.platform'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", - "passTypeId" + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" ] } }, @@ -31601,17 +30977,16 @@ "required": false }, { - "name": "fields[passTypeIds]", + "name": "filter[buildAudienceType]", "in": "query", - "description": "the fields to include for returned resources of type passTypeIds", + "description": "filter by attribute 'buildAudienceType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "identifier", - "certificates" + "INTERNAL_ONLY", + "APP_STORE_ELIGIBLE" ] } }, @@ -31620,202 +30995,55 @@ "required": false }, { - "name": "limit", + "name": "filter[preReleaseVersion]", "in": "query", - "description": "maximum resources per page", + "description": "filter by id(s) of related 'preReleaseVersion'", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string" + } }, - "style": "form" + "style": "form", + "explode": false, + "required": false }, { - "name": "include", + "name": "filter[app]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by id(s) of related 'app'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "passTypeId" - ] + "type": "string" } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of Certificates", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CertificatesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "Certificates" - ], - "operationId": "certificates_createInstance", - "requestBody": { - "description": "Certificate representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CertificateCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single Certificate", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CertificateResponse" - } - } - } }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[betaGroups]", + "in": "query", + "description": "filter by id(s) of related 'betaGroups'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/certificates/{id}": { - "get": { - "tags": [ - "Certificates" - ], - "operationId": "certificates_getInstance", - "parameters": [ { - "name": "fields[certificates]", + "name": "filter[appStoreVersion]", "in": "query", - "description": "the fields to include for returned resources of type certificates", + "description": "filter by id(s) of related 'appStoreVersion'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", - "passTypeId" - ] + "type": "string" } }, "style": "form", @@ -31823,18 +31051,13 @@ "required": false }, { - "name": "fields[passTypeIds]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type passTypeIds", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "name", - "identifier", - "certificates" - ] + "type": "string" } }, "style": "form", @@ -31842,391 +31065,415 @@ "required": false }, { - "name": "include", + "name": "exists[usesNonExemptEncryption]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by attribute 'usesNonExemptEncryption'", + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "passTypeId" + "version", + "-version", + "uploadedDate", + "-uploadedDate", + "preReleaseVersion", + "-preReleaseVersion" ] } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single Certificate", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CertificateResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Certificates" - ], - "operationId": "certificates_updateInstance", - "requestBody": { - "description": "Certificate representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CertificateUpdateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single Certificate", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CertificateResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Certificates" - ], - "operationId": "certificates_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[preReleaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type preReleaseVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "platform", + "builds", + "app" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[betaTesters]", + "in": "query", + "description": "the fields to include for returned resources of type betaTesters", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[betaGroups]", + "in": "query", + "description": "the fields to include for returned resources of type betaGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" + ] } - } - }, - "204": { - "description": "Success (no content)" + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[betaBuildLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type betaBuildLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "whatsNew", + "locale", + "build" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false, + "required": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciArtifacts/{id}": { - "get": { - "tags": [ - "CiArtifacts" - ], - "operationId": "ciArtifacts_getInstance", - "parameters": [ { - "name": "fields[ciArtifacts]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type ciArtifacts", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileType", - "fileName", - "fileSize", - "downloadUrl" + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[betaAppReviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaReviewState", + "submittedDate", + "build" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[buildBetaDetails]", + "in": "query", + "description": "the fields to include for returned resources of type buildBetaDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "200": { - "description": "Single CiArtifact", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiArtifactResponse" - } + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[buildIcons]", + "in": "query", + "description": "the fields to include for returned resources of type buildIcons", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "iconAsset", + "iconType", + "masked", + "name" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false, + "required": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciBuildActions/{id}": { - "get": { - "tags": [ - "CiBuildActions" - ], - "operationId": "ciBuildActions_getInstance", - "parameters": [ { - "name": "fields[ciBuildActions]", + "name": "fields[buildBundles]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildActions", + "description": "the fields to include for returned resources of type buildBundles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "actionType", - "startedDate", - "finishedDate", - "issueCounts", - "executionProgress", - "completionStatus", - "isRequiredToPass", - "buildRun", - "artifacts", - "issues", - "testResults" + "bundleId", + "bundleType", + "sdkBuild", + "platformBuild", + "fileName", + "hasSirikit", + "hasOnDemandResources", + "hasPrerenderedIcon", + "usesLocationServices", + "isIosBuildMacAppStoreCompatible", + "includesSymbols", + "dSYMUrl", + "supportedArchitectures", + "requiredCapabilities", + "deviceProtocols", + "locales", + "entitlements", + "baDownloadAllowance", + "baMaxInstallSize", + "minimumOsVersion", + "appClipDomainCacheStatus", + "appClipDomainDebugStatus", + "betaAppClipInvocations", + "buildBundleFileSizes" ] } }, @@ -32235,33 +31482,25 @@ "required": false }, { - "name": "fields[ciBuildRuns]", + "name": "fields[buildUploads]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "the fields to include for returned resources of type buildUploads", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "number", + "cfBundleShortVersionString", + "cfBundleVersion", "createdDate", - "startedDate", - "finishedDate", - "sourceCommit", - "destinationCommit", - "isPullRequestBuild", - "issueCounts", - "executionProgress", - "completionStatus", - "startReason", - "cancelReason", - "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "actions", - "pullRequest" + "state", + "platform", + "uploadedDate", + "build", + "assetFile", + "assetDescriptionFile", + "assetSpiFile", + "buildUploadFiles" ] } }, @@ -32269,6 +31508,16 @@ "explode": false, "required": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -32278,108 +31527,81 @@ "items": { "type": "string", "enum": [ - "buildRun" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload" ] } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit[betaBuildLocalizations]", + "in": "query", + "description": "maximum number of related betaBuildLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit[betaGroups]", + "in": "query", + "description": "maximum number of related betaGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit[buildBundles]", + "in": "query", + "description": "maximum number of related buildBundles returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false }, - "200": { - "description": "Single CiBuildAction", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiBuildActionResponse" - } - } - } + { + "name": "limit[icons]", + "in": "query", + "description": "maximum number of related icons returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit[individualTesters]", + "in": "query", + "description": "maximum number of related individualTesters returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciBuildRuns": { - "post": { - "tags": [ - "CiBuildRuns" ], - "operationId": "ciBuildRuns_createInstance", - "requestBody": { - "description": "CiBuildRun representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiBuildRunCreateRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -32411,32 +31633,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single CiBuildRun", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiBuildRunResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of Builds", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BuildsResponse" } } } @@ -32454,48 +31656,13 @@ } } }, - "/v1/ciBuildRuns/{id}": { + "/v1/builds/{id}": { "get": { "tags": [ - "CiBuildRuns" + "Builds" ], - "operationId": "ciBuildRuns_getInstance", + "operationId": "builds_getInstance", "parameters": [ - { - "name": "fields[ciBuildRuns]", - "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "number", - "createdDate", - "startedDate", - "finishedDate", - "sourceCommit", - "destinationCommit", - "isPullRequestBuild", - "issueCounts", - "executionProgress", - "completionStatus", - "startReason", - "cancelReason", - "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "actions", - "pullRequest" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "fields[builds]", "in": "query", @@ -32539,34 +31706,18 @@ "required": false }, { - "name": "fields[ciWorkflows]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "description", - "branchStartCondition", - "tagStartCondition", - "pullRequestStartCondition", - "scheduledStartCondition", - "manualBranchStartCondition", - "manualTagStartCondition", - "manualPullRequestStartCondition", - "actions", - "isEnabled", - "isLockedForEditing", - "clean", - "containerFilePath", - "lastModifiedDate", - "product", - "repository", - "xcodeVersion", - "macOsVersion", - "buildRuns" + "version", + "platform", + "builds", + "app" ] } }, @@ -32575,23 +31726,23 @@ "required": false }, { - "name": "fields[ciProducts]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "createdDate", - "productType", - "app", - "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" ] } }, @@ -32600,19 +31751,31 @@ "required": false }, { - "name": "fields[scmGitReferences]", + "name": "fields[betaGroups]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "canonicalName", - "isDeleted", - "kind", - "repository" + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" ] } }, @@ -32621,26 +31784,17 @@ "required": false }, { - "name": "fields[scmPullRequests]", + "name": "fields[betaBuildLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type betaBuildLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "title", - "number", - "webUrl", - "sourceRepositoryOwner", - "sourceRepositoryName", - "sourceBranchName", - "destinationRepositoryOwner", - "destinationRepositoryName", - "destinationBranchName", - "isClosed", - "isCrossRepository", - "repository" + "whatsNew", + "locale", + "build" ] } }, @@ -32649,20 +31803,31 @@ "required": false }, { - "name": "include", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "pullRequest" + "appEncryptionDeclarationDocument" ] } }, @@ -32671,13 +31836,324 @@ "required": false }, { - "name": "limit[builds]", + "name": "fields[betaAppReviewSubmissions]", "in": "query", - "description": "maximum number of related builds returned (when they are included)", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", "schema": { - "type": "integer", - "maximum": 50 - }, + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaReviewState", + "submittedDate", + "build" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[buildBetaDetails]", + "in": "query", + "description": "the fields to include for returned resources of type buildBetaDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[buildIcons]", + "in": "query", + "description": "the fields to include for returned resources of type buildIcons", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "iconAsset", + "iconType", + "masked", + "name" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[buildBundles]", + "in": "query", + "description": "the fields to include for returned resources of type buildBundles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "bundleId", + "bundleType", + "sdkBuild", + "platformBuild", + "fileName", + "hasSirikit", + "hasOnDemandResources", + "hasPrerenderedIcon", + "usesLocationServices", + "isIosBuildMacAppStoreCompatible", + "includesSymbols", + "dSYMUrl", + "supportedArchitectures", + "requiredCapabilities", + "deviceProtocols", + "locales", + "entitlements", + "baDownloadAllowance", + "baMaxInstallSize", + "minimumOsVersion", + "appClipDomainCacheStatus", + "appClipDomainDebugStatus", + "betaAppClipInvocations", + "buildBundleFileSizes" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[buildUploads]", + "in": "query", + "description": "the fields to include for returned resources of type buildUploads", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "cfBundleShortVersionString", + "cfBundleVersion", + "createdDate", + "state", + "platform", + "uploadedDate", + "build", + "assetFile", + "assetDescriptionFile", + "assetSpiFile", + "buildUploadFiles" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[betaBuildLocalizations]", + "in": "query", + "description": "maximum number of related betaBuildLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[betaGroups]", + "in": "query", + "description": "maximum number of related betaGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[buildBundles]", + "in": "query", + "description": "maximum number of related buildBundles returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[icons]", + "in": "query", + "description": "maximum number of related icons returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[individualTesters]", + "in": "query", + "description": "maximum number of related individualTesters returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, "style": "form", "required": false } @@ -32724,11 +32200,11 @@ } }, "200": { - "description": "Single CiBuildRun", + "description": "Single Build", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildRunResponse" + "$ref": "#/components/schemas/BuildResponse" } } } @@ -32745,47 +32221,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciIssues/{id}": { - "get": { + "patch": { "tags": [ - "CiIssues" + "Builds" ], - "operationId": "ciIssues_getInstance", - "parameters": [ - { - "name": "fields[ciIssues]", - "in": "query", - "description": "the fields to include for returned resources of type ciIssues", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "issueType", - "message", - "fileSource", - "category" - ] + "operationId": "builds_updateInstance", + "requestBody": { + "description": "Build representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false - } - ], + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -32827,12 +32278,32 @@ } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "Single CiIssue", + "description": "Single Build", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiIssueResponse" + "$ref": "#/components/schemas/BuildResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -32862,91 +32333,23 @@ } ] }, - "/v1/ciMacOsVersions": { - "get": { + "/v1/bundleIdCapabilities": { + "post": { "tags": [ - "CiMacOsVersions" + "BundleIdCapabilities" ], - "operationId": "ciMacOsVersions_getCollection", - "parameters": [ - { - "name": "fields[ciMacOsVersions]", - "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "name", - "xcodeVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[ciXcodeVersions]", - "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "name", - "testDestinations", - "macOsVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "xcodeVersions" - ] + "operationId": "bundleIdCapabilities_createInstance", + "requestBody": { + "description": "BundleIdCapability representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BundleIdCapabilityCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[xcodeVersions]", - "in": "query", - "description": "maximum number of related xcodeVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -32978,12 +32381,32 @@ } } }, - "200": { - "description": "List of CiMacOsVersions", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiMacOsVersionsResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single BundleIdCapability", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BundleIdCapabilityResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -33001,81 +32424,23 @@ } } }, - "/v1/ciMacOsVersions/{id}": { - "get": { + "/v1/bundleIdCapabilities/{id}": { + "patch": { "tags": [ - "CiMacOsVersions" + "BundleIdCapabilities" ], - "operationId": "ciMacOsVersions_getInstance", - "parameters": [ - { - "name": "fields[ciMacOsVersions]", - "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "name", - "xcodeVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[ciXcodeVersions]", - "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "name", - "testDestinations", - "macOsVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "xcodeVersions" - ] + "operationId": "bundleIdCapabilities_updateInstance", + "requestBody": { + "description": "BundleIdCapability representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BundleIdCapabilityUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[xcodeVersions]", - "in": "query", - "description": "maximum number of related xcodeVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -33117,16 +32482,97 @@ } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "Single CiMacOsVersion", + "description": "Single BundleIdCapability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiMacOsVersionResponse" + "$ref": "#/components/schemas/BundleIdCapabilityResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "BundleIdCapabilities" + ], + "operationId": "bundleIdCapabilities_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -33152,24 +32598,39 @@ } ] }, - "/v1/ciProducts": { + "/v1/bundleIds": { "get": { "tags": [ - "CiProducts" + "BundleIds" ], - "operationId": "ciProducts_getCollection", + "operationId": "bundleIds_getCollection", "parameters": [ { - "name": "filter[productType]", + "name": "filter[name]", "in": "query", - "description": "filter by attribute 'productType'", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "APP", - "FRAMEWORK" + "IOS", + "MAC_OS", + "UNIVERSAL" ] } }, @@ -33178,9 +32639,9 @@ "required": false }, { - "name": "filter[app]", + "name": "filter[identifier]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "filter by attribute 'identifier'", "schema": { "type": "array", "items": { @@ -33192,24 +32653,13 @@ "required": false }, { - "name": "fields[ciProducts]", + "name": "filter[seedId]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "filter by attribute 'seedId'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "productType", - "app", - "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" - ] + "type": "string" } }, "style": "form", @@ -33217,71 +32667,13 @@ "required": false }, { - "name": "fields[apps]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] + "type": "string" } }, "style": "form", @@ -33289,21 +32681,24 @@ "required": false }, { - "name": "fields[bundleIds]", + "name": "sort", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", + "-name", "platform", + "-platform", "identifier", + "-identifier", "seedId", - "profiles", - "bundleIdCapabilities", - "app" + "-seedId", + "id", + "-id" ] } }, @@ -33312,23 +32707,21 @@ "required": false }, { - "name": "fields[scmRepositories]", + "name": "fields[bundleIds]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "name", + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -33337,27 +32730,25 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[profiles]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type profiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", + "name", + "platform", + "profileType", + "profileState", + "profileContent", + "uuid", + "createdDate", + "expirationDate", "bundleId", - "primaryRepositories" + "devices", + "certificates" ] } }, @@ -33366,96 +32757,16 @@ "required": false }, { - "name": "limit[primaryRepositories]", - "in": "query", - "description": "maximum number of related primaryRepositories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of CiProducts", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiProductsResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/ciProducts/{id}": { - "get": { - "tags": [ - "CiProducts" - ], - "operationId": "ciProducts_getInstance", - "parameters": [ - { - "name": "fields[ciProducts]", + "name": "fields[bundleIdCapabilities]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type bundleIdCapabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "createdDate", - "productType", - "app", - "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" + "capabilityType", + "settings" ] } }, @@ -33523,6 +32834,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -33536,46 +32848,27 @@ "required": false }, { - "name": "fields[bundleIds]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "platform", - "identifier", - "seedId", - "profiles", - "bundleIdCapabilities", - "app" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false, - "required": false + "style": "form" }, { - "name": "fields[scmRepositories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -33584,28 +32877,20 @@ "required": false }, { - "name": "include", + "name": "limit[bundleIdCapabilities]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related bundleIdCapabilities returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "bundleId", - "primaryRepositories" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "limit[primaryRepositories]", + "name": "limit[profiles]", "in": "query", - "description": "maximum number of related primaryRepositories returned (when they are included)", + "description": "maximum number of related profiles returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -33645,22 +32930,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single CiProduct", + "description": "List of BundleIds", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiProductResponse" + "$ref": "#/components/schemas/BundleIdsResponse" } } } @@ -33677,198 +32952,17 @@ } } }, - "delete": { + "post": { "tags": [ - "CiProducts" + "BundleIds" ], - "operationId": "ciProducts_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciTestResults/{id}": { - "get": { - "tags": [ - "CiTestResults" - ], - "operationId": "ciTestResults_getInstance", - "parameters": [ - { - "name": "fields[ciTestResults]", - "in": "query", - "description": "the fields to include for returned resources of type ciTestResults", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "className", - "name", - "status", - "fileSource", - "message", - "destinationTestResults" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single CiTestResult", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiTestResultResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciWorkflows": { - "post": { - "tags": [ - "CiWorkflows" - ], - "operationId": "ciWorkflows_createInstance", + "operationId": "bundleIds_createInstance", "requestBody": { - "description": "CiWorkflow representation", + "description": "BundleId representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiWorkflowCreateRequest" + "$ref": "#/components/schemas/BundleIdCreateRequest" } } }, @@ -33916,11 +33010,11 @@ } }, "201": { - "description": "Single CiWorkflow", + "description": "Single BundleId", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiWorkflowResponse" + "$ref": "#/components/schemas/BundleIdResponse" } } } @@ -33948,42 +33042,29 @@ } } }, - "/v1/ciWorkflows/{id}": { + "/v1/bundleIds/{id}": { "get": { "tags": [ - "CiWorkflows" + "BundleIds" ], - "operationId": "ciWorkflows_getInstance", + "operationId": "bundleIds_getInstance", "parameters": [ { - "name": "fields[ciWorkflows]", + "name": "fields[bundleIds]", "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "description", - "branchStartCondition", - "tagStartCondition", - "pullRequestStartCondition", - "scheduledStartCondition", - "manualBranchStartCondition", - "manualTagStartCondition", - "manualPullRequestStartCondition", - "actions", - "isEnabled", - "isLockedForEditing", - "clean", - "containerFilePath", - "lastModifiedDate", - "product", - "repository", - "xcodeVersion", - "macOsVersion", - "buildRuns" + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -33992,23 +33073,25 @@ "required": false }, { - "name": "fields[ciProducts]", + "name": "fields[profiles]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type profiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", + "platform", + "profileType", + "profileState", + "profileContent", + "uuid", "createdDate", - "productType", - "app", + "expirationDate", "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" + "devices", + "certificates" ] } }, @@ -34017,23 +33100,16 @@ "required": false }, { - "name": "fields[scmRepositories]", + "name": "fields[bundleIdCapabilities]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type bundleIdCapabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "capabilityType", + "settings" ] } }, @@ -34042,18 +33118,71 @@ "required": false }, { - "name": "fields[ciXcodeVersions]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", + "accessibilityUrl", "name", - "testDestinations", - "macOsVersions" + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -34062,17 +33191,17 @@ "required": false }, { - "name": "fields[ciMacOsVersions]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "name", - "xcodeVersions" + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -34081,23 +33210,25 @@ "required": false }, { - "name": "include", + "name": "limit[bundleIdCapabilities]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related bundleIdCapabilities returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "product", - "repository", - "xcodeVersion", - "macOsVersion" - ] - } + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[profiles]", + "in": "query", + "description": "maximum number of related profiles returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false } ], @@ -34143,11 +33274,11 @@ } }, "200": { - "description": "Single CiWorkflow", + "description": "Single BundleId", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiWorkflowResponse" + "$ref": "#/components/schemas/BundleIdResponse" } } } @@ -34166,15 +33297,15 @@ }, "patch": { "tags": [ - "CiWorkflows" + "BundleIds" ], - "operationId": "ciWorkflows_updateInstance", + "operationId": "bundleIds_updateInstance", "requestBody": { - "description": "CiWorkflow representation", + "description": "BundleId representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiWorkflowUpdateRequest" + "$ref": "#/components/schemas/BundleIdUpdateRequest" } } }, @@ -34232,11 +33363,11 @@ } }, "200": { - "description": "Single CiWorkflow", + "description": "Single BundleId", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiWorkflowResponse" + "$ref": "#/components/schemas/BundleIdResponse" } } } @@ -34265,9 +33396,9 @@ }, "delete": { "tags": [ - "CiWorkflows" + "BundleIds" ], - "operationId": "ciWorkflows_deleteInstance", + "operationId": "bundleIds_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -34337,27 +33468,21 @@ } ] }, - "/v1/ciXcodeVersions": { + "/v1/certificates": { "get": { "tags": [ - "CiXcodeVersions" + "Certificates" ], - "operationId": "ciXcodeVersions_getCollection", + "operationId": "certificates_getCollection", "parameters": [ { - "name": "fields[ciXcodeVersions]", + "name": "filter[displayName]", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "filter by attribute 'displayName'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "version", - "name", - "testDestinations", - "macOsVersions" - ] + "type": "string" } }, "style": "form", @@ -34365,17 +33490,32 @@ "required": false }, { - "name": "fields[ciMacOsVersions]", + "name": "filter[certificateType]", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "description": "filter by attribute 'certificateType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "name", - "xcodeVersions" + "APPLE_PAY", + "APPLE_PAY_MERCHANT_IDENTITY", + "APPLE_PAY_PSP_IDENTITY", + "APPLE_PAY_RSA", + "DEVELOPER_ID_KEXT", + "DEVELOPER_ID_KEXT_G2", + "DEVELOPER_ID_APPLICATION", + "DEVELOPER_ID_APPLICATION_G2", + "DEVELOPMENT", + "DISTRIBUTION", + "IDENTITY_ACCESS", + "IOS_DEVELOPMENT", + "IOS_DISTRIBUTION", + "MAC_APP_DISTRIBUTION", + "MAC_INSTALLER_DISTRIBUTION", + "MAC_APP_DEVELOPMENT", + "PASS_TYPE_ID", + "PASS_TYPE_ID_WITH_NFC" ] } }, @@ -34384,26 +33524,13 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "filter[serialNumber]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by attribute 'serialNumber'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "macOsVersions" - ] + "type": "string" } }, "style": "form", @@ -34411,91 +33538,36 @@ "required": false }, { - "name": "limit[macOsVersions]", + "name": "filter[id]", "in": "query", - "description": "maximum number of related macOsVersions returned (when they are included)", + "description": "filter by id(s)", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string" + } }, "style": "form", + "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of CiXcodeVersions", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiXcodeVersionsResponse" - } - } - } }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/ciXcodeVersions/{id}": { - "get": { - "tags": [ - "CiXcodeVersions" - ], - "operationId": "ciXcodeVersions_getInstance", - "parameters": [ { - "name": "fields[ciXcodeVersions]", + "name": "sort", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "name", - "testDestinations", - "macOsVersions" + "displayName", + "-displayName", + "certificateType", + "-certificateType", + "serialNumber", + "-serialNumber", + "id", + "-id" ] } }, @@ -34504,17 +33576,23 @@ "required": false }, { - "name": "fields[ciMacOsVersions]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", "name", - "xcodeVersions" + "certificateType", + "displayName", + "serialNumber", + "platform", + "expirationDate", + "certificateContent", + "activated", + "passTypeId" ] } }, @@ -34523,15 +33601,17 @@ "required": false }, { - "name": "include", + "name": "fields[passTypeIds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type passTypeIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions" + "name", + "identifier", + "certificates" ] } }, @@ -34540,14 +33620,30 @@ "required": false }, { - "name": "limit[macOsVersions]", + "name": "limit", "in": "query", - "description": "maximum number of related macOsVersions returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "passTypeId" + ] + } }, "style": "form", + "explode": false, "required": false } ], @@ -34582,22 +33678,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single CiXcodeVersion", + "description": "List of Certificates", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiXcodeVersionResponse" + "$ref": "#/components/schemas/CertificatesResponse" } } } @@ -34614,31 +33700,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/customerReviewResponses": { "post": { "tags": [ - "CustomerReviewResponses" + "Certificates" ], - "operationId": "customerReviewResponses_createInstance", + "operationId": "certificates_createInstance", "requestBody": { - "description": "CustomerReviewResponse representation", + "description": "Certificate representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomerReviewResponseV1CreateRequest" + "$ref": "#/components/schemas/CertificateCreateRequest" } } }, @@ -34686,11 +33758,11 @@ } }, "201": { - "description": "Single CustomerReviewResponse", + "description": "Single Certificate", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomerReviewResponseV1Response" + "$ref": "#/components/schemas/CertificateResponse" } } } @@ -34718,26 +33790,31 @@ } } }, - "/v1/customerReviewResponses/{id}": { + "/v1/certificates/{id}": { "get": { "tags": [ - "CustomerReviewResponses" + "Certificates" ], - "operationId": "customerReviewResponses_getInstance", + "operationId": "certificates_getInstance", "parameters": [ { - "name": "fields[customerReviewResponses]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type customerReviewResponses", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "responseBody", - "lastModifiedDate", - "state", - "review" + "name", + "certificateType", + "displayName", + "serialNumber", + "platform", + "expirationDate", + "certificateContent", + "activated", + "passTypeId" ] } }, @@ -34746,22 +33823,17 @@ "required": false }, { - "name": "fields[customerReviews]", + "name": "fields[passTypeIds]", "in": "query", - "description": "the fields to include for returned resources of type customerReviews", + "description": "the fields to include for returned resources of type passTypeIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "rating", - "title", - "body", - "reviewerNickname", - "createdDate", - "territory", - "response", - "reviewTerritory" + "name", + "identifier", + "certificates" ] } }, @@ -34778,7 +33850,7 @@ "items": { "type": "string", "enum": [ - "review" + "passTypeId" ] } }, @@ -34829,11 +33901,110 @@ } }, "200": { - "description": "Single CustomerReviewResponse", + "description": "Single Certificate", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomerReviewResponseV1Response" + "$ref": "#/components/schemas/CertificateResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "Certificates" + ], + "operationId": "certificates_updateInstance", + "requestBody": { + "description": "Certificate representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CertificateUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single Certificate", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CertificateResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -34852,9 +34023,9 @@ }, "delete": { "tags": [ - "CustomerReviewResponses" + "Certificates" ], - "operationId": "customerReviewResponses_deleteInstance", + "operationId": "certificates_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -34924,85 +34095,26 @@ } ] }, - "/v1/customerReviews/{id}": { + "/v1/ciArtifacts/{id}": { "get": { "tags": [ - "CustomerReviews" + "CiArtifacts" ], - "operationId": "customerReviews_getInstance", + "operationId": "ciArtifacts_getInstance", "parameters": [ { - "name": "fields[customerReviews]", - "in": "query", - "description": "the fields to include for returned resources of type customerReviews", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "rating", - "title", - "body", - "reviewerNickname", - "createdDate", - "territory", - "response", - "reviewTerritory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[customerReviewResponses]", - "in": "query", - "description": "the fields to include for returned resources of type customerReviewResponses", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "responseBody", - "lastModifiedDate", - "state", - "review" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", + "name": "fields[ciArtifacts]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type ciArtifacts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "response", - "reviewTerritory" + "fileType", + "fileName", + "fileSize", + "downloadUrl" ] } }, @@ -35053,11 +34165,11 @@ } }, "200": { - "description": "Single CustomerReview", + "description": "Single CiArtifact", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomerReviewResponse" + "$ref": "#/components/schemas/CiArtifactResponse" } } } @@ -35087,71 +34199,34 @@ } ] }, - "/v1/devices": { + "/v1/ciBuildActions/{id}": { "get": { "tags": [ - "Devices" + "CiBuildActions" ], - "operationId": "devices_getCollection", + "operationId": "ciBuildActions_getInstance", "parameters": [ { - "name": "filter[name]", - "in": "query", - "description": "filter by attribute 'name'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[platform]", - "in": "query", - "description": "filter by attribute 'platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "UNIVERSAL" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[udid]", - "in": "query", - "description": "filter by attribute 'udid'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[status]", + "name": "fields[ciBuildActions]", "in": "query", - "description": "filter by attribute 'status'", + "description": "the fields to include for returned resources of type ciBuildActions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ENABLED", - "DISABLED" + "name", + "actionType", + "startedDate", + "finishedDate", + "issueCounts", + "executionProgress", + "completionStatus", + "isRequiredToPass", + "buildRun", + "artifacts", + "issues", + "testResults" ] } }, @@ -35160,38 +34235,33 @@ "required": false }, { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "sort", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "-name", - "platform", - "-platform", - "udid", - "-udid", - "status", - "-status", - "id", - "-id" + "number", + "createdDate", + "startedDate", + "finishedDate", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", + "issueCounts", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" ] } }, @@ -35200,37 +34270,21 @@ "required": false }, { - "name": "fields[devices]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type devices", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "platform", - "udid", - "deviceClass", - "status", - "model", - "addedDate" + "buildRun" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" } ], "responses": { @@ -35264,12 +34318,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of Devices", + "description": "Single CiBuildAction", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DevicesResponse" + "$ref": "#/components/schemas/CiBuildActionResponse" } } } @@ -35286,17 +34350,31 @@ } } }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/ciBuildRuns": { "post": { "tags": [ - "Devices" + "CiBuildRuns" ], - "operationId": "devices_createInstance", + "operationId": "ciBuildRuns_createInstance", "requestBody": { - "description": "Device representation", + "description": "CiBuildRun representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeviceCreateRequest" + "$ref": "#/components/schemas/CiBuildRunCreateRequest" } } }, @@ -35344,11 +34422,11 @@ } }, "201": { - "description": "Single Device", + "description": "Single CiBuildRun", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeviceResponse" + "$ref": "#/components/schemas/CiBuildRunResponse" } } } @@ -35376,35 +34454,232 @@ } } }, - "/v1/devices/{id}": { + "/v1/ciBuildRuns/{id}": { "get": { "tags": [ - "Devices" + "CiBuildRuns" ], - "operationId": "devices_getInstance", + "operationId": "ciBuildRuns_getInstance", "parameters": [ { - "name": "fields[devices]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type devices", + "description": "the fields to include for returned resources of type ciBuildRuns", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "number", + "createdDate", + "startedDate", + "finishedDate", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", + "issueCounts", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[ciWorkflows]", + "in": "query", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "platform", - "udid", - "deviceClass", - "status", - "model", - "addedDate" + "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", + "isEnabled", + "isLockedForEditing", + "clean", + "containerFilePath", + "lastModifiedDate", + "product", + "repository", + "xcodeVersion", + "macOsVersion", + "buildRuns" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[ciProducts]", + "in": "query", + "description": "the fields to include for returned resources of type ciProducts", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[scmPullRequests]", + "in": "query", + "description": "the fields to include for returned resources of type scmPullRequests", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", + "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", + "isClosed", + "isCrossRepository", + "repository" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "pullRequest" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -35449,11 +34724,11 @@ } }, "200": { - "description": "Single Device", + "description": "Single CiBuildRun", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeviceResponse" + "$ref": "#/components/schemas/CiBuildRunResponse" } } } @@ -35470,22 +34745,47 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/ciIssues/{id}": { + "get": { "tags": [ - "Devices" + "CiIssues" ], - "operationId": "devices_updateInstance", - "requestBody": { - "description": "Device representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceUpdateRequest" + "operationId": "ciIssues_getInstance", + "parameters": [ + { + "name": "fields[ciIssues]", + "in": "query", + "description": "the fields to include for returned resources of type ciIssues", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "issueType", + "message", + "fileSource", + "category" + ] } - } - }, - "required": true - }, + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -35527,32 +34827,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single Device", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single CiIssue", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/CiIssueResponse" } } } @@ -35582,23 +34862,91 @@ } ] }, - "/v1/endAppAvailabilityPreOrders": { - "post": { + "/v1/ciMacOsVersions": { + "get": { "tags": [ - "EndAppAvailabilityPreOrders" + "CiMacOsVersions" ], - "operationId": "endAppAvailabilityPreOrders_createInstance", - "requestBody": { - "description": "EndAppAvailabilityPreOrder representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EndAppAvailabilityPreOrderCreateRequest" + "operationId": "ciMacOsVersions_getCollection", + "parameters": [ + { + "name": "fields[ciMacOsVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciMacOsVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "xcodeVersions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[ciXcodeVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciXcodeVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "testDestinations", + "macOsVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "xcodeVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[xcodeVersions]", + "in": "query", + "description": "maximum number of related xcodeVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -35630,32 +34978,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single EndAppAvailabilityPreOrder", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EndAppAvailabilityPreOrderResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of CiMacOsVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/CiMacOsVersionsResponse" } } } @@ -35673,23 +35001,81 @@ } } }, - "/v1/endUserLicenseAgreements": { - "post": { + "/v1/ciMacOsVersions/{id}": { + "get": { "tags": [ - "EndUserLicenseAgreements" + "CiMacOsVersions" ], - "operationId": "endUserLicenseAgreements_createInstance", - "requestBody": { - "description": "EndUserLicenseAgreement representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EndUserLicenseAgreementCreateRequest" + "operationId": "ciMacOsVersions_getInstance", + "parameters": [ + { + "name": "fields[ciMacOsVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciMacOsVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "xcodeVersions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[ciXcodeVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciXcodeVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "testDestinations", + "macOsVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "xcodeVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[xcodeVersions]", + "in": "query", + "description": "maximum number of related xcodeVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -35721,8 +35107,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -35731,22 +35117,12 @@ } } }, - "201": { - "description": "Single EndUserLicenseAgreement", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EndUserLicenseAgreementResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single CiMacOsVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/CiMacOsVersionResponse" } } } @@ -35762,27 +35138,77 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/endUserLicenseAgreements/{id}": { + "/v1/ciProducts": { "get": { "tags": [ - "EndUserLicenseAgreements" + "CiProducts" ], - "operationId": "endUserLicenseAgreements_getInstance", + "operationId": "ciProducts_getCollection", "parameters": [ { - "name": "fields[endUserLicenseAgreements]", + "name": "filter[productType]", "in": "query", - "description": "the fields to include for returned resources of type endUserLicenseAgreements", + "description": "filter by attribute 'productType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "agreementText", + "APP", + "FRAMEWORK" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[app]", + "in": "query", + "description": "filter by id(s) of related 'app'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[ciProducts]", + "in": "query", + "description": "the fields to include for returned resources of type ciProducts", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "productType", "app", - "territories" + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -35850,6 +35276,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -35863,15 +35290,46 @@ "required": false }, { - "name": "fields[territories]", + "name": "fields[bundleIds]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -35879,6 +35337,16 @@ "explode": false, "required": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -35889,7 +35357,8 @@ "type": "string", "enum": [ "app", - "territories" + "bundleId", + "primaryRepositories" ] } }, @@ -35898,9 +35367,9 @@ "required": false }, { - "name": "limit[territories]", + "name": "limit[primaryRepositories]", "in": "query", - "description": "maximum number of related territories returned (when they are included)", + "description": "maximum number of related primaryRepositories returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -35940,22 +35409,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single EndUserLicenseAgreement", + "description": "List of CiProducts", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EndUserLicenseAgreementResponse" + "$ref": "#/components/schemas/CiProductsResponse" } } } @@ -35971,23 +35430,192 @@ } } } - }, - "patch": { + } + }, + "/v1/ciProducts/{id}": { + "get": { "tags": [ - "EndUserLicenseAgreements" + "CiProducts" ], - "operationId": "endUserLicenseAgreements_updateInstance", - "requestBody": { - "description": "EndUserLicenseAgreement representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EndUserLicenseAgreementUpdateRequest" + "operationId": "ciProducts_getInstance", + "parameters": [ + { + "name": "fields[ciProducts]", + "in": "query", + "description": "the fields to include for returned resources of type ciProducts", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[bundleIds]", + "in": "query", + "description": "the fields to include for returned resources of type bundleIds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "bundleId", + "primaryRepositories" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[primaryRepositories]", + "in": "query", + "description": "maximum number of related primaryRepositories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -36029,32 +35657,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single EndUserLicenseAgreement", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EndUserLicenseAgreementResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single CiProduct", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/CiProductResponse" } } } @@ -36073,9 +35681,9 @@ }, "delete": { "tags": [ - "EndUserLicenseAgreements" + "CiProducts" ], - "operationId": "endUserLicenseAgreements_deleteInstance", + "operationId": "ciProducts_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -36145,72 +35753,34 @@ } ] }, - "/v1/financeReports": { + "/v1/ciTestResults/{id}": { "get": { "tags": [ - "FinanceReports" + "CiTestResults" ], - "operationId": "financeReports_getCollection", + "operationId": "ciTestResults_getInstance", "parameters": [ { - "name": "filter[vendorNumber]", - "in": "query", - "description": "filter by attribute 'vendorNumber'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[reportType]", + "name": "fields[ciTestResults]", "in": "query", - "description": "filter by attribute 'reportType'", + "description": "the fields to include for returned resources of type ciTestResults", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "FINANCIAL", - "FINANCE_DETAIL" + "className", + "name", + "status", + "fileSource", + "message", + "destinationTestResults" ] } }, "style": "form", "explode": false, - "required": true - }, - { - "name": "filter[regionCode]", - "in": "query", - "description": "filter by attribute 'regionCode'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[reportDate]", - "in": "query", - "description": "filter by attribute 'reportDate'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true + "required": false } ], "responses": { @@ -36244,12 +35814,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of FinanceReports", + "description": "Single CiTestResult", "content": { - "application/a-gzip": { + "application/json": { "schema": { - "$ref": "#/components/schemas/gzip" + "$ref": "#/components/schemas/CiTestResultResponse" } } } @@ -36265,21 +35845,32 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/gameCenterAchievementImages": { + "/v1/ciWorkflows": { "post": { "tags": [ - "GameCenterAchievementImages" + "CiWorkflows" ], - "operationId": "gameCenterAchievementImages_createInstance", - "deprecated": true, + "operationId": "ciWorkflows_createInstance", "requestBody": { - "description": "GameCenterAchievementImage representation", + "description": "CiWorkflow representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageCreateRequest" + "$ref": "#/components/schemas/CiWorkflowCreateRequest" } } }, @@ -36327,11 +35918,11 @@ } }, "201": { - "description": "Single GameCenterAchievementImage", + "description": "Single CiWorkflow", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageResponse" + "$ref": "#/components/schemas/CiWorkflowResponse" } } } @@ -36359,29 +35950,42 @@ } } }, - "/v1/gameCenterAchievementImages/{id}": { + "/v1/ciWorkflows/{id}": { "get": { "tags": [ - "GameCenterAchievementImages" + "CiWorkflows" ], - "operationId": "gameCenterAchievementImages_getInstance", - "deprecated": true, + "operationId": "ciWorkflows_getInstance", "parameters": [ { - "name": "fields[gameCenterAchievementImages]", + "name": "fields[ciWorkflows]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "gameCenterAchievementLocalization" + "name", + "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", + "isEnabled", + "isLockedForEditing", + "clean", + "containerFilePath", + "lastModifiedDate", + "product", + "repository", + "xcodeVersion", + "macOsVersion", + "buildRuns" ] } }, @@ -36390,27 +35994,93 @@ "required": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[ciProducts]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage" + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[ciXcodeVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciXcodeVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "testDestinations", + "macOsVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[ciMacOsVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciMacOsVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "xcodeVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false }, { "name": "include", @@ -36421,7 +36091,10 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievementLocalization" + "product", + "repository", + "xcodeVersion", + "macOsVersion" ] } }, @@ -36472,11 +36145,11 @@ } }, "200": { - "description": "Single GameCenterAchievementImage", + "description": "Single CiWorkflow", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageResponse" + "$ref": "#/components/schemas/CiWorkflowResponse" } } } @@ -36495,16 +36168,15 @@ }, "patch": { "tags": [ - "GameCenterAchievementImages" + "CiWorkflows" ], - "operationId": "gameCenterAchievementImages_updateInstance", - "deprecated": true, + "operationId": "ciWorkflows_updateInstance", "requestBody": { - "description": "GameCenterAchievementImage representation", + "description": "CiWorkflow representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageUpdateRequest" + "$ref": "#/components/schemas/CiWorkflowUpdateRequest" } } }, @@ -36562,11 +36234,11 @@ } }, "200": { - "description": "Single GameCenterAchievementImage", + "description": "Single CiWorkflow", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageResponse" + "$ref": "#/components/schemas/CiWorkflowResponse" } } } @@ -36595,10 +36267,9 @@ }, "delete": { "tags": [ - "GameCenterAchievementImages" + "CiWorkflows" ], - "operationId": "gameCenterAchievementImages_deleteInstance", - "deprecated": true, + "operationId": "ciWorkflows_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -36668,23 +36339,91 @@ } ] }, - "/v2/gameCenterAchievementImages": { - "post": { + "/v1/ciXcodeVersions": { + "get": { "tags": [ - "GameCenterAchievementImages" + "CiXcodeVersions" ], - "operationId": "gameCenterAchievementImagesV2_createInstance", - "requestBody": { - "description": "GameCenterAchievementImage representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageV2CreateRequest" + "operationId": "ciXcodeVersions_getCollection", + "parameters": [ + { + "name": "fields[ciXcodeVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciXcodeVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "testDestinations", + "macOsVersions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[ciMacOsVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciMacOsVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "xcodeVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "macOsVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[macOsVersions]", + "in": "query", + "description": "maximum number of related macOsVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -36716,32 +36455,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single GameCenterAchievementImage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageV2Response" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of CiXcodeVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/CiXcodeVersionsResponse" } } } @@ -36759,28 +36478,26 @@ } } }, - "/v2/gameCenterAchievementImages/{id}": { + "/v1/ciXcodeVersions/{id}": { "get": { "tags": [ - "GameCenterAchievementImages" + "CiXcodeVersions" ], - "operationId": "gameCenterAchievementImagesV2_getInstance", + "operationId": "ciXcodeVersions_getInstance", "parameters": [ { - "name": "fields[gameCenterAchievementImages]", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" + "version", + "name", + "testDestinations", + "macOsVersions" ] } }, @@ -36789,20 +36506,17 @@ "required": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[ciMacOsVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type ciMacOsVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "beforeEarnedDescription", - "afterEarnedDescription", "version", - "image" + "name", + "xcodeVersions" ] } }, @@ -36819,13 +36533,24 @@ "items": { "type": "string", "enum": [ - "localization" + "macOsVersions" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[macOsVersions]", + "in": "query", + "description": "maximum number of related macOsVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -36870,11 +36595,11 @@ } }, "200": { - "description": "Single GameCenterAchievementImage", + "description": "Single CiXcodeVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageV2Response" + "$ref": "#/components/schemas/CiXcodeVersionResponse" } } } @@ -36891,17 +36616,31 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/customerReviewResponses": { + "post": { "tags": [ - "GameCenterAchievementImages" + "CustomerReviewResponses" ], - "operationId": "gameCenterAchievementImagesV2_updateInstance", + "operationId": "customerReviewResponses_createInstance", "requestBody": { - "description": "GameCenterAchievementImage representation", + "description": "CustomerReviewResponse representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageV2UpdateRequest" + "$ref": "#/components/schemas/CustomerReviewResponseV1CreateRequest" } } }, @@ -36938,16 +36677,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -36958,12 +36687,12 @@ } } }, - "200": { - "description": "Single GameCenterAchievementImage", + "201": { + "description": "Single CustomerReviewResponse", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageV2Response" + "$ref": "#/components/schemas/CustomerReviewResponseV1Response" } } } @@ -36989,12 +36718,77 @@ } } } - }, - "delete": { + } + }, + "/v1/customerReviewResponses/{id}": { + "get": { "tags": [ - "GameCenterAchievementImages" + "CustomerReviewResponses" + ], + "operationId": "customerReviewResponses_getInstance", + "parameters": [ + { + "name": "fields[customerReviewResponses]", + "in": "query", + "description": "the fields to include for returned resources of type customerReviewResponses", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "responseBody", + "lastModifiedDate", + "state", + "review" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[customerReviews]", + "in": "query", + "description": "the fields to include for returned resources of type customerReviews", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "rating", + "title", + "body", + "reviewerNickname", + "createdDate", + "territory", + "response", + "reviewTerritory" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "review" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } ], - "operationId": "gameCenterAchievementImagesV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -37036,8 +36830,15 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single CustomerReviewResponse", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomerReviewResponseV1Response" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -37051,36 +36852,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterAchievementLocalizations": { - "post": { + "delete": { "tags": [ - "GameCenterAchievementLocalizations" + "CustomerReviewResponses" ], - "operationId": "gameCenterAchievementLocalizationsV2_createInstance", - "requestBody": { - "description": "GameCenterAchievementLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2CreateRequest" - } - } - }, - "required": true - }, + "operationId": "customerReviewResponses_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -37112,8 +36888,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -37122,25 +36898,8 @@ } } }, - "201": { - "description": "Single GameCenterAchievementLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2Response" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -37153,30 +36912,44 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v2/gameCenterAchievementLocalizations/{id}": { + "/v1/customerReviews/{id}": { "get": { "tags": [ - "GameCenterAchievementLocalizations" + "CustomerReviews" ], - "operationId": "gameCenterAchievementLocalizationsV2_getInstance", + "operationId": "customerReviews_getInstance", "parameters": [ { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[customerReviews]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type customerReviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "version", - "image" + "rating", + "title", + "body", + "reviewerNickname", + "createdDate", + "territory", + "response", + "reviewTerritory" ] } }, @@ -37185,18 +36958,18 @@ "required": false }, { - "name": "fields[gameCenterAchievementVersions]", + "name": "fields[customerReviewResponses]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementVersions", + "description": "the fields to include for returned resources of type customerReviewResponses", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", + "responseBody", + "lastModifiedDate", "state", - "achievement", - "localizations" + "review" ] } }, @@ -37205,20 +36978,15 @@ "required": false }, { - "name": "fields[gameCenterAchievementImages]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" + "currency" ] } }, @@ -37235,8 +37003,8 @@ "items": { "type": "string", "enum": [ - "version", - "image" + "response", + "reviewTerritory" ] } }, @@ -37287,11 +37055,11 @@ } }, "200": { - "description": "Single GameCenterAchievementLocalization", + "description": "Single CustomerReview", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2Response" + "$ref": "#/components/schemas/CustomerReviewResponse" } } } @@ -37308,110 +37076,165 @@ } } }, - "patch": { - "tags": [ - "GameCenterAchievementLocalizations" - ], - "operationId": "gameCenterAchievementLocalizationsV2_updateInstance", - "requestBody": { - "description": "GameCenterAchievementLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2UpdateRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } + ] + }, + "/v1/devices": { + "get": { + "tags": [ + "Devices" + ], + "operationId": "devices_getCollection", + "parameters": [ + { + "name": "filter[name]", + "in": "query", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "UNIVERSAL" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[udid]", + "in": "query", + "description": "filter by attribute 'udid'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[status]", + "in": "query", + "description": "filter by attribute 'status'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "200": { - "description": "Single GameCenterAchievementLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2Response" - } + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "-name", + "platform", + "-platform", + "udid", + "-udid", + "status", + "-status", + "id", + "-id" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[devices]", + "in": "query", + "description": "the fields to include for returned resources of type devices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "platform", + "udid", + "deviceClass", + "status", + "model", + "addedDate" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } - } - }, - "delete": { - "tags": [ - "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievementLocalizationsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -37443,19 +37266,16 @@ } } }, - "404": { - "description": "Not found error", + "200": { + "description": "List of Devices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/DevicesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -37468,32 +37288,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterAchievementLocalizations": { "post": { "tags": [ - "GameCenterAchievementLocalizations" + "Devices" ], - "operationId": "gameCenterAchievementLocalizations_createInstance", - "deprecated": true, + "operationId": "devices_createInstance", "requestBody": { - "description": "GameCenterAchievementLocalization representation", + "description": "Device representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationCreateRequest" + "$ref": "#/components/schemas/DeviceCreateRequest" } } }, @@ -37541,11 +37346,11 @@ } }, "201": { - "description": "Single GameCenterAchievementLocalization", + "description": "Single Device", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationResponse" + "$ref": "#/components/schemas/DeviceResponse" } } } @@ -37573,100 +37378,29 @@ } } }, - "/v1/gameCenterAchievementLocalizations/{id}": { + "/v1/devices/{id}": { "get": { "tags": [ - "GameCenterAchievementLocalizations" + "Devices" ], - "operationId": "gameCenterAchievementLocalizations_getInstance", - "deprecated": true, + "operationId": "devices_getInstance", "parameters": [ { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[devices]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type devices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[gameCenterAchievementImages]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "gameCenterAchievementLocalization" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterAchievement", - "gameCenterAchievementImage" + "platform", + "udid", + "deviceClass", + "status", + "model", + "addedDate" ] } }, @@ -37717,11 +37451,11 @@ } }, "200": { - "description": "Single GameCenterAchievementLocalization", + "description": "Single Device", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationResponse" + "$ref": "#/components/schemas/DeviceResponse" } } } @@ -37740,16 +37474,15 @@ }, "patch": { "tags": [ - "GameCenterAchievementLocalizations" + "Devices" ], - "operationId": "gameCenterAchievementLocalizations_updateInstance", - "deprecated": true, + "operationId": "devices_updateInstance", "requestBody": { - "description": "GameCenterAchievementLocalization representation", + "description": "Device representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationUpdateRequest" + "$ref": "#/components/schemas/DeviceUpdateRequest" } } }, @@ -37807,11 +37540,11 @@ } }, "200": { - "description": "Single GameCenterAchievementLocalization", + "description": "Single Device", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationResponse" + "$ref": "#/components/schemas/DeviceResponse" } } } @@ -37838,12 +37571,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/endAppAvailabilityPreOrders": { + "post": { "tags": [ - "GameCenterAchievementLocalizations" + "EndAppAvailabilityPreOrders" ], - "operationId": "gameCenterAchievementLocalizations_deleteInstance", - "deprecated": true, + "operationId": "endAppAvailabilityPreOrders_createInstance", + "requestBody": { + "description": "EndAppAvailabilityPreOrder representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EndAppAvailabilityPreOrderCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -37875,8 +37632,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -37885,8 +37642,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single EndAppAvailabilityPreOrder", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EndAppAvailabilityPreOrderResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -37899,33 +37673,20 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/gameCenterAchievementReleases": { + "/v1/endUserLicenseAgreements": { "post": { "tags": [ - "GameCenterAchievementReleases" + "EndUserLicenseAgreements" ], - "operationId": "gameCenterAchievementReleases_createInstance", - "deprecated": true, + "operationId": "endUserLicenseAgreements_createInstance", "requestBody": { - "description": "GameCenterAchievementRelease representation", + "description": "EndUserLicenseAgreement representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementReleaseCreateRequest" + "$ref": "#/components/schemas/EndUserLicenseAgreementCreateRequest" } } }, @@ -37973,11 +37734,11 @@ } }, "201": { - "description": "Single GameCenterAchievementRelease", + "description": "Single EndUserLicenseAgreement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementReleaseResponse" + "$ref": "#/components/schemas/EndUserLicenseAgreementResponse" } } } @@ -38005,26 +37766,25 @@ } } }, - "/v1/gameCenterAchievementReleases/{id}": { + "/v1/endUserLicenseAgreements/{id}": { "get": { "tags": [ - "GameCenterAchievementReleases" + "EndUserLicenseAgreements" ], - "operationId": "gameCenterAchievementReleases_getInstance", - "deprecated": true, + "operationId": "endUserLicenseAgreements_getInstance", "parameters": [ { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[endUserLicenseAgreements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type endUserLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", - "gameCenterDetail", - "gameCenterAchievement" + "agreementText", + "app", + "territories" ] } }, @@ -38033,74 +37793,94 @@ "required": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, "style": "form", "explode": false, "required": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" + "currency" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { "name": "include", @@ -38111,14 +37891,25 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterAchievement" + "app", + "territories" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[territories]", + "in": "query", + "description": "maximum number of related territories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -38163,11 +37954,11 @@ } }, "200": { - "description": "Single GameCenterAchievementRelease", + "description": "Single EndUserLicenseAgreement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementReleaseResponse" + "$ref": "#/components/schemas/EndUserLicenseAgreementResponse" } } } @@ -38184,12 +37975,22 @@ } } }, - "delete": { + "patch": { "tags": [ - "GameCenterAchievementReleases" + "EndUserLicenseAgreements" ], - "operationId": "gameCenterAchievementReleases_deleteInstance", - "deprecated": true, + "operationId": "endUserLicenseAgreements_updateInstance", + "requestBody": { + "description": "EndUserLicenseAgreement representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EndUserLicenseAgreementUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -38231,11 +38032,8 @@ } } }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -38243,42 +38041,19 @@ } } } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterAchievementVersions": { - "post": { - "tags": [ - "GameCenterAchievementVersions" - ], - "operationId": "gameCenterAchievementVersionsV2_createInstance", - "requestBody": { - "description": "GameCenterAchievementVersion representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementVersionV2CreateRequest" + "200": { + "description": "Single EndUserLicenseAgreement", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EndUserLicenseAgreementResponse" + } } } }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -38287,8 +38062,8 @@ } } }, - "401": { - "description": "Unauthorized error(s)", + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -38296,9 +38071,17 @@ } } } - }, - "403": { - "description": "Forbidden error", + } + } + }, + "delete": { + "tags": [ + "EndUserLicenseAgreements" + ], + "operationId": "endUserLicenseAgreements_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -38307,8 +38090,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -38317,18 +38100,18 @@ } } }, - "201": { - "description": "Single GameCenterAchievementVersion", + "403": { + "description": "Forbidden error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementVersionV2Response" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "409": { - "description": "Request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -38337,6 +38120,9 @@ } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -38348,112 +38134,86 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v2/gameCenterAchievementVersions/{id}": { + "/v1/financeReports": { "get": { "tags": [ - "GameCenterAchievementVersions" + "FinanceReports" ], - "operationId": "gameCenterAchievementVersionsV2_getInstance", + "operationId": "financeReports_getCollection", "parameters": [ { - "name": "fields[gameCenterAchievementVersions]", + "name": "filter[vendorNumber]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementVersions", + "description": "filter by attribute 'vendorNumber'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "version", - "state", - "achievement", - "localizations" - ] + "type": "string" } }, "style": "form", "explode": false, - "required": false + "required": true }, { - "name": "fields[gameCenterAchievements]", + "name": "filter[reportType]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "filter by attribute 'reportType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "activity", - "versions" + "FINANCIAL", + "FINANCE_DETAIL" ] } }, "style": "form", "explode": false, - "required": false + "required": true }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "filter[regionCode]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "filter by attribute 'regionCode'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "locale", - "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "version", - "image" - ] + "type": "string" } }, "style": "form", "explode": false, - "required": false + "required": true }, { - "name": "include", + "name": "filter[reportDate]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by attribute 'reportDate'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "achievement", - "localizations" - ] + "type": "string" } }, "style": "form", "explode": false, - "required": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "required": true } ], "responses": { @@ -38487,22 +38247,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single GameCenterAchievementVersion", + "description": "List of FinanceReports", "content": { - "application/json": { + "application/a-gzip": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementVersionV2Response" + "$ref": "#/components/schemas/gzip" } } } @@ -38518,32 +38268,21 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v2/gameCenterAchievements": { + "/v1/gameCenterAchievementImages": { "post": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievementsV2_createInstance", + "operationId": "gameCenterAchievementImages_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterAchievement representation", + "description": "GameCenterAchievementImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementV2CreateRequest" + "$ref": "#/components/schemas/GameCenterAchievementImageCreateRequest" } } }, @@ -38591,11 +38330,11 @@ } }, "201": { - "description": "Single GameCenterAchievement", + "description": "Single GameCenterAchievementImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementV2Response" + "$ref": "#/components/schemas/GameCenterAchievementImageResponse" } } } @@ -38623,130 +38362,29 @@ } } }, - "/v2/gameCenterAchievements/{id}": { + "/v1/gameCenterAchievementImages/{id}": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievementsV2_getInstance", + "operationId": "gameCenterAchievementImages_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "activity", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterActivities]", + "name": "fields[gameCenterAchievementImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "gameCenterAchievementLocalization" ] } }, @@ -38755,24 +38393,27 @@ "required": false }, { - "name": "fields[gameCenterAchievementVersions]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementVersions", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "achievement", - "localizations" + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "include", @@ -38783,27 +38424,13 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "activity", - "versions" + "gameCenterAchievementLocalization" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -38848,11 +38475,11 @@ } }, "200": { - "description": "Single GameCenterAchievement", + "description": "Single GameCenterAchievementImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementV2Response" + "$ref": "#/components/schemas/GameCenterAchievementImageResponse" } } } @@ -38871,15 +38498,16 @@ }, "patch": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievementsV2_updateInstance", + "operationId": "gameCenterAchievementImages_updateInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterAchievement representation", + "description": "GameCenterAchievementImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementV2UpdateRequest" + "$ref": "#/components/schemas/GameCenterAchievementImageUpdateRequest" } } }, @@ -38937,11 +38565,11 @@ } }, "200": { - "description": "Single GameCenterAchievement", + "description": "Single GameCenterAchievementImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementV2Response" + "$ref": "#/components/schemas/GameCenterAchievementImageResponse" } } } @@ -38970,9 +38598,10 @@ }, "delete": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievementsV2_deleteInstance", + "operationId": "gameCenterAchievementImages_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -39042,19 +38671,18 @@ } ] }, - "/v1/gameCenterAchievements": { + "/v2/gameCenterAchievementImages": { "post": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievements_createInstance", - "deprecated": true, + "operationId": "gameCenterAchievementImagesV2_createInstance", "requestBody": { - "description": "GameCenterAchievement representation", + "description": "GameCenterAchievementImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementCreateRequest" + "$ref": "#/components/schemas/GameCenterAchievementImageV2CreateRequest" } } }, @@ -39102,11 +38730,11 @@ } }, "201": { - "description": "Single GameCenterAchievement", + "description": "Single GameCenterAchievementImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementResponse" + "$ref": "#/components/schemas/GameCenterAchievementImageV2Response" } } } @@ -39134,102 +38762,28 @@ } } }, - "/v1/gameCenterAchievements/{id}": { + "/v2/gameCenterAchievementImages/{id}": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievements_getInstance", - "deprecated": true, + "operationId": "gameCenterAchievementImagesV2_getInstance", "parameters": [ { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterAchievementImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -39250,60 +38804,8 @@ "name", "beforeEarnedDescription", "afterEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[gameCenterAchievementReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterAchievement" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "version", + "image" ] } }, @@ -39320,42 +38822,13 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" + "localization" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true } ], "responses": { @@ -39400,11 +38873,11 @@ } }, "200": { - "description": "Single GameCenterAchievement", + "description": "Single GameCenterAchievementImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementResponse" + "$ref": "#/components/schemas/GameCenterAchievementImageV2Response" } } } @@ -39423,16 +38896,15 @@ }, "patch": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievements_updateInstance", - "deprecated": true, + "operationId": "gameCenterAchievementImagesV2_updateInstance", "requestBody": { - "description": "GameCenterAchievement representation", + "description": "GameCenterAchievementImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementUpdateRequest" + "$ref": "#/components/schemas/GameCenterAchievementImageV2UpdateRequest" } } }, @@ -39490,11 +38962,11 @@ } }, "200": { - "description": "Single GameCenterAchievement", + "description": "Single GameCenterAchievementImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementResponse" + "$ref": "#/components/schemas/GameCenterAchievementImageV2Response" } } } @@ -39523,10 +38995,9 @@ }, "delete": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievements_deleteInstance", - "deprecated": true, + "operationId": "gameCenterAchievementImagesV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -39596,18 +39067,18 @@ } ] }, - "/v1/gameCenterActivities": { + "/v2/gameCenterAchievementLocalizations": { "post": { "tags": [ - "GameCenterActivities" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterActivities_createInstance", + "operationId": "gameCenterAchievementLocalizationsV2_createInstance", "requestBody": { - "description": "GameCenterActivity representation", + "description": "GameCenterAchievementLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityCreateRequest" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2CreateRequest" } } }, @@ -39655,11 +39126,11 @@ } }, "201": { - "description": "Single GameCenterActivity", + "description": "Single GameCenterAchievementLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2Response" } } } @@ -39687,133 +39158,28 @@ } } }, - "/v1/gameCenterActivities/{id}": { + "/v2/gameCenterAchievementLocalizations/{id}": { "get": { "tags": [ - "GameCenterActivities" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterActivities_getInstance", + "operationId": "gameCenterAchievementLocalizationsV2_getInstance", "parameters": [ { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity", - "versions" + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "version", + "image" ] } }, @@ -39822,37 +39188,18 @@ "required": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterAchievementVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterAchievementVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" + "version", + "state", + "achievement", + "localizations" ] } }, @@ -39861,21 +39208,20 @@ "required": false }, { - "name": "fields[gameCenterActivityVersions]", + "name": "fields[gameCenterAchievementImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersions", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "fallbackUrl", - "activity", - "localizations", - "defaultImage", - "releases" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -39892,76 +39238,14 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "version", + "image" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[achievements]", - "in": "query", - "description": "maximum number of related achievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[achievementsV2]", - "in": "query", - "description": "maximum number of related achievementsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[leaderboards]", - "in": "query", - "description": "maximum number of related leaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[leaderboardsV2]", - "in": "query", - "description": "maximum number of related leaderboardsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -40006,11 +39290,11 @@ } }, "200": { - "description": "Single GameCenterActivity", + "description": "Single GameCenterAchievementLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2Response" } } } @@ -40029,15 +39313,15 @@ }, "patch": { "tags": [ - "GameCenterActivities" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterActivities_updateInstance", + "operationId": "gameCenterAchievementLocalizationsV2_updateInstance", "requestBody": { - "description": "GameCenterActivity representation", + "description": "GameCenterAchievementLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityUpdateRequest" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2UpdateRequest" } } }, @@ -40095,11 +39379,11 @@ } }, "200": { - "description": "Single GameCenterActivity", + "description": "Single GameCenterAchievementLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2Response" } } } @@ -40128,9 +39412,9 @@ }, "delete": { "tags": [ - "GameCenterActivities" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterActivities_deleteInstance", + "operationId": "gameCenterAchievementLocalizationsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -40200,18 +39484,19 @@ } ] }, - "/v1/gameCenterActivityImages": { + "/v1/gameCenterAchievementLocalizations": { "post": { "tags": [ - "GameCenterActivityImages" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterActivityImages_createInstance", + "operationId": "gameCenterAchievementLocalizations_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterActivityImage representation", + "description": "GameCenterAchievementLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityImageCreateRequest" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationCreateRequest" } } }, @@ -40259,11 +39544,11 @@ } }, "201": { - "description": "Single GameCenterActivityImage", + "description": "Single GameCenterAchievementLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityImageResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationResponse" } } } @@ -40291,17 +39576,70 @@ } } }, - "/v1/gameCenterActivityImages/{id}": { + "/v1/gameCenterAchievementLocalizations/{id}": { "get": { "tags": [ - "GameCenterActivityImages" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterActivityImages_getInstance", + "operationId": "gameCenterAchievementLocalizations_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterActivityImages]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityImages", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[gameCenterAchievementImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", "schema": { "type": "array", "items": { @@ -40311,7 +39649,27 @@ "fileName", "imageAsset", "uploadOperations", - "assetDeliveryState" + "assetDeliveryState", + "gameCenterAchievementLocalization" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterAchievement", + "gameCenterAchievementImage" ] } }, @@ -40362,11 +39720,11 @@ } }, "200": { - "description": "Single GameCenterActivityImage", + "description": "Single GameCenterAchievementLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityImageResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationResponse" } } } @@ -40385,15 +39743,16 @@ }, "patch": { "tags": [ - "GameCenterActivityImages" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterActivityImages_updateInstance", + "operationId": "gameCenterAchievementLocalizations_updateInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterActivityImage representation", + "description": "GameCenterAchievementLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityImageUpdateRequest" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationUpdateRequest" } } }, @@ -40451,11 +39810,11 @@ } }, "200": { - "description": "Single GameCenterActivityImage", + "description": "Single GameCenterAchievementLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityImageResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationResponse" } } } @@ -40484,9 +39843,10 @@ }, "delete": { "tags": [ - "GameCenterActivityImages" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterActivityImages_deleteInstance", + "operationId": "gameCenterAchievementLocalizations_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -40556,18 +39916,19 @@ } ] }, - "/v1/gameCenterActivityLocalizations": { + "/v1/gameCenterAchievementReleases": { "post": { "tags": [ - "GameCenterActivityLocalizations" + "GameCenterAchievementReleases" ], - "operationId": "gameCenterActivityLocalizations_createInstance", + "operationId": "gameCenterAchievementReleases_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterActivityLocalization representation", + "description": "GameCenterAchievementRelease representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityLocalizationCreateRequest" + "$ref": "#/components/schemas/GameCenterAchievementReleaseCreateRequest" } } }, @@ -40615,11 +39976,11 @@ } }, "201": { - "description": "Single GameCenterActivityLocalization", + "description": "Single GameCenterAchievementRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityLocalizationResponse" + "$ref": "#/components/schemas/GameCenterAchievementReleaseResponse" } } } @@ -40647,27 +40008,26 @@ } } }, - "/v1/gameCenterActivityLocalizations/{id}": { + "/v1/gameCenterAchievementReleases/{id}": { "get": { "tags": [ - "GameCenterActivityLocalizations" + "GameCenterAchievementReleases" ], - "operationId": "gameCenterActivityLocalizations_getInstance", + "operationId": "gameCenterAchievementReleases_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterActivityLocalizations]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityLocalizations", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "description", - "version", - "image" + "live", + "gameCenterDetail", + "gameCenterAchievement" ] } }, @@ -40676,21 +40036,38 @@ "required": false }, { - "name": "fields[gameCenterActivityVersions]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersions", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "fallbackUrl", - "activity", - "localizations", - "defaultImage", - "releases" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, @@ -40699,25 +40076,34 @@ "required": false }, { - "name": "fields[gameCenterActivityImages]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityImages", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "include", @@ -40728,8 +40114,8 @@ "items": { "type": "string", "enum": [ - "version", - "image" + "gameCenterDetail", + "gameCenterAchievement" ] } }, @@ -40780,11 +40166,11 @@ } }, "200": { - "description": "Single GameCenterActivityLocalization", + "description": "Single GameCenterAchievementRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityLocalizationResponse" + "$ref": "#/components/schemas/GameCenterAchievementReleaseResponse" } } } @@ -40801,22 +40187,12 @@ } } }, - "patch": { + "delete": { "tags": [ - "GameCenterActivityLocalizations" + "GameCenterAchievementReleases" ], - "operationId": "gameCenterActivityLocalizations_updateInstance", - "requestBody": { - "description": "GameCenterActivityLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityLocalizationUpdateRequest" - } - } - }, - "required": true - }, + "operationId": "gameCenterAchievementReleases_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -40858,35 +40234,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterActivityLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityLocalizationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -40900,98 +40249,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/gameCenterAchievementVersions": { + "post": { "tags": [ - "GameCenterActivityLocalizations" + "GameCenterAchievementVersions" ], - "operationId": "gameCenterActivityLocalizations_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterActivityVersionReleases": { - "post": { - "tags": [ - "GameCenterActivityVersionReleases" - ], - "operationId": "gameCenterActivityVersionReleases_createInstance", - "deprecated": true, - "requestBody": { - "description": "GameCenterActivityVersionRelease representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionReleaseCreateRequest" - } - } - }, - "required": true - }, + "operationId": "gameCenterAchievementVersionsV2_createInstance", + "requestBody": { + "description": "GameCenterAchievementVersion representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAchievementVersionV2CreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -41034,11 +40321,11 @@ } }, "201": { - "description": "Single GameCenterActivityVersionRelease", + "description": "Single GameCenterAchievementVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionReleaseResponse" + "$ref": "#/components/schemas/GameCenterAchievementVersionV2Response" } } } @@ -41066,24 +40353,26 @@ } } }, - "/v1/gameCenterActivityVersionReleases/{id}": { + "/v2/gameCenterAchievementVersions/{id}": { "get": { "tags": [ - "GameCenterActivityVersionReleases" + "GameCenterAchievementVersions" ], - "operationId": "gameCenterActivityVersionReleases_getInstance", - "deprecated": true, + "operationId": "gameCenterAchievementVersionsV2_getInstance", "parameters": [ { - "name": "fields[gameCenterActivityVersionReleases]", + "name": "fields[gameCenterAchievementVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", + "description": "the fields to include for returned resources of type gameCenterAchievementVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version" + "version", + "state", + "achievement", + "localizations" ] } }, @@ -41092,21 +40381,47 @@ "required": false }, { - "name": "fields[gameCenterActivityVersions]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersions", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "fallbackUrl", + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", "activity", - "localizations", - "defaultImage", - "releases" + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAchievementLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "version", + "image" ] } }, @@ -41123,13 +40438,25 @@ "items": { "type": "string", "enum": [ - "version" + "achievement", + "localizations" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -41174,77 +40501,15 @@ } }, "200": { - "description": "Single GameCenterActivityVersionRelease", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionReleaseResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "GameCenterActivityVersionReleases" - ], - "operationId": "gameCenterActivityVersionReleases_deleteInstance", - "deprecated": true, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", + "description": "Single GameCenterAchievementVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterAchievementVersionV2Response" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -41270,18 +40535,18 @@ } ] }, - "/v1/gameCenterActivityVersions": { + "/v2/gameCenterAchievements": { "post": { "tags": [ - "GameCenterActivityVersions" + "GameCenterAchievements" ], - "operationId": "gameCenterActivityVersions_createInstance", + "operationId": "gameCenterAchievementsV2_createInstance", "requestBody": { - "description": "GameCenterActivityVersion representation", + "description": "GameCenterAchievement representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionCreateRequest" + "$ref": "#/components/schemas/GameCenterAchievementV2CreateRequest" } } }, @@ -41329,11 +40594,11 @@ } }, "201": { - "description": "Single GameCenterActivityVersion", + "description": "Single GameCenterAchievement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionResponse" + "$ref": "#/components/schemas/GameCenterAchievementV2Response" } } } @@ -41361,29 +40626,33 @@ } } }, - "/v1/gameCenterActivityVersions/{id}": { + "/v2/gameCenterAchievements/{id}": { "get": { "tags": [ - "GameCenterActivityVersions" + "GameCenterAchievements" ], - "operationId": "gameCenterActivityVersions_getInstance", + "operationId": "gameCenterAchievementsV2_getInstance", "parameters": [ { - "name": "fields[gameCenterActivityVersions]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersions", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "fallbackUrl", + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", "activity", - "localizations", - "defaultImage", - "releases" + "versions" ] } }, @@ -41392,29 +40661,38 @@ "required": false }, { - "name": "fields[gameCenterActivities]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, @@ -41423,19 +40701,24 @@ "required": false }, { - "name": "fields[gameCenterActivityLocalizations]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityLocalizations", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "description", - "version", - "image" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -41444,19 +40727,29 @@ "required": false }, { - "name": "fields[gameCenterActivityImages]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityImages", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" ] } }, @@ -41465,22 +40758,24 @@ "required": false }, { - "name": "fields[gameCenterActivityVersionReleases]", + "name": "fields[gameCenterAchievementVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", + "description": "the fields to include for returned resources of type gameCenterAchievementVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version" + "version", + "state", + "achievement", + "localizations" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { "name": "include", @@ -41491,10 +40786,10 @@ "items": { "type": "string", "enum": [ + "gameCenterDetail", + "gameCenterGroup", "activity", - "localizations", - "defaultImage", - "releases" + "versions" ] } }, @@ -41503,27 +40798,15 @@ "required": false }, { - "name": "limit[localizations]", + "name": "limit[versions]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related versions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form", "required": false - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true } ], "responses": { @@ -41568,11 +40851,11 @@ } }, "200": { - "description": "Single GameCenterActivityVersion", + "description": "Single GameCenterAchievement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionResponse" + "$ref": "#/components/schemas/GameCenterAchievementV2Response" } } } @@ -41591,15 +40874,15 @@ }, "patch": { "tags": [ - "GameCenterActivityVersions" + "GameCenterAchievements" ], - "operationId": "gameCenterActivityVersions_updateInstance", + "operationId": "gameCenterAchievementsV2_updateInstance", "requestBody": { - "description": "GameCenterActivityVersion representation", + "description": "GameCenterAchievement representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionUpdateRequest" + "$ref": "#/components/schemas/GameCenterAchievementV2UpdateRequest" } } }, @@ -41657,114 +40940,11 @@ } }, "200": { - "description": "Single GameCenterActivityVersion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterAppVersions": { - "post": { - "tags": [ - "GameCenterAppVersions" - ], - "operationId": "gameCenterAppVersions_createInstance", - "requestBody": { - "description": "GameCenterAppVersion representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single GameCenterAppVersion", + "description": "Single GameCenterAchievement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionResponse" + "$ref": "#/components/schemas/GameCenterAchievementV2Response" } } } @@ -41790,183 +40970,12 @@ } } } - } - }, - "/v1/gameCenterAppVersions/{id}": { - "get": { - "tags": [ - "GameCenterAppVersions" - ], - "operationId": "gameCenterAppVersions_getInstance", - "parameters": [ - { - "name": "fields[gameCenterAppVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[compatibilityVersions]", - "in": "query", - "description": "maximum number of related compatibilityVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterAppVersion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } }, - "patch": { + "delete": { "tags": [ - "GameCenterAppVersions" + "GameCenterAchievements" ], - "operationId": "gameCenterAppVersions_updateInstance", - "requestBody": { - "description": "GameCenterAppVersion representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionUpdateRequest" - } - } - }, - "required": true - }, + "operationId": "gameCenterAchievementsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -42008,35 +41017,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterAppVersion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -42063,18 +41045,19 @@ } ] }, - "/v1/gameCenterChallengeImages": { + "/v1/gameCenterAchievements": { "post": { "tags": [ - "GameCenterChallengeImages" + "GameCenterAchievements" ], - "operationId": "gameCenterChallengeImages_createInstance", + "operationId": "gameCenterAchievements_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterChallengeImage representation", + "description": "GameCenterAchievement representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeImageCreateRequest" + "$ref": "#/components/schemas/GameCenterAchievementCreateRequest" } } }, @@ -42122,11 +41105,11 @@ } }, "201": { - "description": "Single GameCenterChallengeImage", + "description": "Single GameCenterAchievement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeImageResponse" + "$ref": "#/components/schemas/GameCenterAchievementResponse" } } } @@ -42154,33 +41137,228 @@ } } }, - "/v1/gameCenterChallengeImages/{id}": { + "/v1/gameCenterAchievements/{id}": { "get": { "tags": [ - "GameCenterChallengeImages" + "GameCenterAchievements" ], - "operationId": "gameCenterChallengeImages_getInstance", + "operationId": "gameCenterAchievements_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterChallengeImages]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeImages", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAchievementLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[gameCenterAchievementReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterAchievement" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true } ], "responses": { @@ -42225,11 +41403,11 @@ } }, "200": { - "description": "Single GameCenterChallengeImage", + "description": "Single GameCenterAchievement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeImageResponse" + "$ref": "#/components/schemas/GameCenterAchievementResponse" } } } @@ -42248,15 +41426,16 @@ }, "patch": { "tags": [ - "GameCenterChallengeImages" + "GameCenterAchievements" ], - "operationId": "gameCenterChallengeImages_updateInstance", + "operationId": "gameCenterAchievements_updateInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterChallengeImage representation", + "description": "GameCenterAchievement representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeImageUpdateRequest" + "$ref": "#/components/schemas/GameCenterAchievementUpdateRequest" } } }, @@ -42314,11 +41493,11 @@ } }, "200": { - "description": "Single GameCenterChallengeImage", + "description": "Single GameCenterAchievement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeImageResponse" + "$ref": "#/components/schemas/GameCenterAchievementResponse" } } } @@ -42347,9 +41526,10 @@ }, "delete": { "tags": [ - "GameCenterChallengeImages" + "GameCenterAchievements" ], - "operationId": "gameCenterChallengeImages_deleteInstance", + "operationId": "gameCenterAchievements_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -42419,18 +41599,18 @@ } ] }, - "/v1/gameCenterChallengeLocalizations": { + "/v1/gameCenterActivities": { "post": { "tags": [ - "GameCenterChallengeLocalizations" + "GameCenterActivities" ], - "operationId": "gameCenterChallengeLocalizations_createInstance", + "operationId": "gameCenterActivities_createInstance", "requestBody": { - "description": "GameCenterChallengeLocalization representation", + "description": "GameCenterActivity representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeLocalizationCreateRequest" + "$ref": "#/components/schemas/GameCenterActivityCreateRequest" } } }, @@ -42478,11 +41658,11 @@ } }, "201": { - "description": "Single GameCenterChallengeLocalization", + "description": "Single GameCenterActivity", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeLocalizationResponse" + "$ref": "#/components/schemas/GameCenterActivityResponse" } } } @@ -42510,27 +41690,37 @@ } } }, - "/v1/gameCenterChallengeLocalizations/{id}": { + "/v1/gameCenterActivities/{id}": { "get": { "tags": [ - "GameCenterChallengeLocalizations" + "GameCenterActivities" ], - "operationId": "gameCenterChallengeLocalizations_getInstance", + "operationId": "gameCenterActivities_getInstance", "parameters": [ { - "name": "fields[gameCenterChallengeLocalizations]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeLocalizations", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "description", - "version", - "image" + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" ] } }, @@ -42539,41 +41729,156 @@ "required": false }, { - "name": "fields[gameCenterChallengeVersions]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersions", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "challenge", - "localizations", - "releases", - "defaultImage" - ] - } - }, - "style": "form", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", "explode": false, "required": false }, { - "name": "fields[gameCenterChallengeImages]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeImages", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterActivityVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivityVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "fallbackUrl", + "activity", + "localizations", + "defaultImage", + "releases" ] } }, @@ -42590,14 +41895,76 @@ "items": { "type": "string", "enum": [ - "version", - "image" + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[achievements]", + "in": "query", + "description": "maximum number of related achievements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[achievementsV2]", + "in": "query", + "description": "maximum number of related achievementsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[leaderboards]", + "in": "query", + "description": "maximum number of related leaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[leaderboardsV2]", + "in": "query", + "description": "maximum number of related leaderboardsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -42642,11 +42009,11 @@ } }, "200": { - "description": "Single GameCenterChallengeLocalization", + "description": "Single GameCenterActivity", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeLocalizationResponse" + "$ref": "#/components/schemas/GameCenterActivityResponse" } } } @@ -42665,15 +42032,15 @@ }, "patch": { "tags": [ - "GameCenterChallengeLocalizations" + "GameCenterActivities" ], - "operationId": "gameCenterChallengeLocalizations_updateInstance", + "operationId": "gameCenterActivities_updateInstance", "requestBody": { - "description": "GameCenterChallengeLocalization representation", + "description": "GameCenterActivity representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeLocalizationUpdateRequest" + "$ref": "#/components/schemas/GameCenterActivityUpdateRequest" } } }, @@ -42731,11 +42098,11 @@ } }, "200": { - "description": "Single GameCenterChallengeLocalization", + "description": "Single GameCenterActivity", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeLocalizationResponse" + "$ref": "#/components/schemas/GameCenterActivityResponse" } } } @@ -42764,9 +42131,9 @@ }, "delete": { "tags": [ - "GameCenterChallengeLocalizations" + "GameCenterActivities" ], - "operationId": "gameCenterChallengeLocalizations_deleteInstance", + "operationId": "gameCenterActivities_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -42836,19 +42203,18 @@ } ] }, - "/v1/gameCenterChallengeVersionReleases": { + "/v1/gameCenterActivityImages": { "post": { "tags": [ - "GameCenterChallengeVersionReleases" + "GameCenterActivityImages" ], - "operationId": "gameCenterChallengeVersionReleases_createInstance", - "deprecated": true, + "operationId": "gameCenterActivityImages_createInstance", "requestBody": { - "description": "GameCenterChallengeVersionRelease representation", + "description": "GameCenterActivityImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionReleaseCreateRequest" + "$ref": "#/components/schemas/GameCenterActivityImageCreateRequest" } } }, @@ -42896,11 +42262,11 @@ } }, "201": { - "description": "Single GameCenterChallengeVersionRelease", + "description": "Single GameCenterActivityImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionReleaseResponse" + "$ref": "#/components/schemas/GameCenterActivityImageResponse" } } } @@ -42928,71 +42294,114 @@ } } }, - "/v1/gameCenterChallengeVersionReleases/{id}": { + "/v1/gameCenterActivityImages/{id}": { "get": { "tags": [ - "GameCenterChallengeVersionReleases" + "GameCenterActivityImages" ], - "operationId": "gameCenterChallengeVersionReleases_getInstance", - "deprecated": true, + "operationId": "gameCenterActivityImages_getInstance", "parameters": [ { - "name": "fields[gameCenterChallengeVersionReleases]", + "name": "fields[gameCenterActivityImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", + "description": "the fields to include for returned resources of type gameCenterActivityImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, "style": "form", "explode": false, "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "fields[gameCenterChallengeVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "challenge", - "localizations", - "releases", - "defaultImage" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterActivityImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityImageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + }, + "patch": { + "tags": [ + "GameCenterActivityImages" ], + "operationId": "gameCenterActivityImages_updateInstance", + "requestBody": { + "description": "GameCenterActivityImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityImageUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -43034,12 +42443,32 @@ } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "Single GameCenterChallengeVersionRelease", + "description": "Single GameCenterActivityImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionReleaseResponse" + "$ref": "#/components/schemas/GameCenterActivityImageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -43058,10 +42487,9 @@ }, "delete": { "tags": [ - "GameCenterChallengeVersionReleases" + "GameCenterActivityImages" ], - "operationId": "gameCenterChallengeVersionReleases_deleteInstance", - "deprecated": true, + "operationId": "gameCenterActivityImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -43131,18 +42559,18 @@ } ] }, - "/v1/gameCenterChallengeVersions": { + "/v1/gameCenterActivityLocalizations": { "post": { "tags": [ - "GameCenterChallengeVersions" + "GameCenterActivityLocalizations" ], - "operationId": "gameCenterChallengeVersions_createInstance", + "operationId": "gameCenterActivityLocalizations_createInstance", "requestBody": { - "description": "GameCenterChallengeVersion representation", + "description": "GameCenterActivityLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionCreateRequest" + "$ref": "#/components/schemas/GameCenterActivityLocalizationCreateRequest" } } }, @@ -43190,11 +42618,11 @@ } }, "201": { - "description": "Single GameCenterChallengeVersion", + "description": "Single GameCenterActivityLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionResponse" + "$ref": "#/components/schemas/GameCenterActivityLocalizationResponse" } } } @@ -43222,65 +42650,17 @@ } } }, - "/v1/gameCenterChallengeVersions/{id}": { + "/v1/gameCenterActivityLocalizations/{id}": { "get": { "tags": [ - "GameCenterChallengeVersions" + "GameCenterActivityLocalizations" ], - "operationId": "gameCenterChallengeVersions_getInstance", + "operationId": "gameCenterActivityLocalizations_getInstance", "parameters": [ { - "name": "fields[gameCenterChallengeVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "challenge", - "localizations", - "releases", - "defaultImage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterChallenges]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterChallengeLocalizations]", + "name": "fields[gameCenterActivityLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeLocalizations", + "description": "the fields to include for returned resources of type gameCenterActivityLocalizations", "schema": { "type": "array", "items": { @@ -43299,27 +42679,32 @@ "required": false }, { - "name": "fields[gameCenterChallengeVersionReleases]", + "name": "fields[gameCenterActivityVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", + "description": "the fields to include for returned resources of type gameCenterActivityVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version" + "version", + "state", + "fallbackUrl", + "activity", + "localizations", + "defaultImage", + "releases" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[gameCenterChallengeImages]", + "name": "fields[gameCenterActivityImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeImages", + "description": "the fields to include for returned resources of type gameCenterActivityImages", "schema": { "type": "array", "items": { @@ -43346,39 +42731,14 @@ "items": { "type": "string", "enum": [ - "challenge", - "localizations", - "releases", - "defaultImage" + "version", + "image" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true } ], "responses": { @@ -43423,11 +42783,11 @@ } }, "200": { - "description": "Single GameCenterChallengeVersion", + "description": "Single GameCenterActivityLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionResponse" + "$ref": "#/components/schemas/GameCenterActivityLocalizationResponse" } } } @@ -43444,31 +42804,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterChallenges": { - "post": { + "patch": { "tags": [ - "GameCenterChallenges" + "GameCenterActivityLocalizations" ], - "operationId": "gameCenterChallenges_createInstance", + "operationId": "gameCenterActivityLocalizations_updateInstance", "requestBody": { - "description": "GameCenterChallenge representation", + "description": "GameCenterActivityLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeCreateRequest" + "$ref": "#/components/schemas/GameCenterActivityLocalizationUpdateRequest" } } }, @@ -43505,6 +42851,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -43515,12 +42871,12 @@ } } }, - "201": { - "description": "Single GameCenterChallenge", + "200": { + "description": "Single GameCenterActivityLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeResponse" + "$ref": "#/components/schemas/GameCenterActivityLocalizationResponse" } } } @@ -43546,201 +42902,12 @@ } } } - } - }, - "/v1/gameCenterChallenges/{id}": { - "get": { + }, + "delete": { "tags": [ - "GameCenterChallenges" - ], - "operationId": "gameCenterChallenges_getInstance", - "parameters": [ - { - "name": "fields[gameCenterChallenges]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterChallengeVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "challenge", - "localizations", - "releases", - "defaultImage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } + "GameCenterActivityLocalizations" ], + "operationId": "gameCenterActivityLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -43782,15 +42949,8 @@ } } }, - "200": { - "description": "Single GameCenterChallenge", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterChallengeResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -43804,17 +42964,32 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterActivityVersionReleases": { + "post": { "tags": [ - "GameCenterChallenges" + "GameCenterActivityVersionReleases" ], - "operationId": "gameCenterChallenges_updateInstance", + "operationId": "gameCenterActivityVersionReleases_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterChallenge representation", + "description": "GameCenterActivityVersionRelease representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeUpdateRequest" + "$ref": "#/components/schemas/GameCenterActivityVersionReleaseCreateRequest" } } }, @@ -43851,16 +43026,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -43871,12 +43036,12 @@ } } }, - "200": { - "description": "Single GameCenterChallenge", + "201": { + "description": "Single GameCenterActivityVersionRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeResponse" + "$ref": "#/components/schemas/GameCenterActivityVersionReleaseResponse" } } } @@ -43902,12 +43067,74 @@ } } } - }, - "delete": { + } + }, + "/v1/gameCenterActivityVersionReleases/{id}": { + "get": { "tags": [ - "GameCenterChallenges" + "GameCenterActivityVersionReleases" + ], + "operationId": "gameCenterActivityVersionReleases_getInstance", + "deprecated": true, + "parameters": [ + { + "name": "fields[gameCenterActivityVersionReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterActivityVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivityVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "fallbackUrl", + "activity", + "localizations", + "defaultImage", + "releases" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } ], - "operationId": "gameCenterChallenges_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -43949,8 +43176,15 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single GameCenterActivityVersionRelease", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityVersionReleaseResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -43964,36 +43198,12 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterDetailPlayers/{id}": { - "patch": { + "delete": { "tags": [ - "GameCenterDetailPlayers" + "GameCenterActivityVersionReleases" ], - "operationId": "gameCenterDetailPlayers_updateInstance", - "requestBody": { - "description": "GameCenterDetailPlayer representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterDetailPlayerUpdateRequest" - } - } - }, - "required": true - }, + "operationId": "gameCenterActivityVersionReleases_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -44035,35 +43245,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterDetailPlayer", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterDetailPlayerResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -44090,18 +43273,18 @@ } ] }, - "/v1/gameCenterDetails": { + "/v1/gameCenterActivityVersions": { "post": { "tags": [ - "GameCenterDetails" + "GameCenterActivityVersions" ], - "operationId": "gameCenterDetails_createInstance", + "operationId": "gameCenterActivityVersions_createInstance", "requestBody": { - "description": "GameCenterDetail representation", + "description": "GameCenterActivityVersion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailCreateRequest" + "$ref": "#/components/schemas/GameCenterActivityVersionCreateRequest" } } }, @@ -44149,11 +43332,11 @@ } }, "201": { - "description": "Single GameCenterDetail", + "description": "Single GameCenterActivityVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailResponse" + "$ref": "#/components/schemas/GameCenterActivityVersionResponse" } } } @@ -44181,46 +43364,29 @@ } } }, - "/v1/gameCenterDetails/{id}": { + "/v1/gameCenterActivityVersions/{id}": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterActivityVersions" ], - "operationId": "gameCenterDetails_getInstance", + "operationId": "gameCenterActivityVersions_getInstance", "parameters": [ { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterActivityVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterActivityVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" + "version", + "state", + "fallbackUrl", + "activity", + "localizations", + "defaultImage", + "releases" ] } }, @@ -44229,220 +43395,9 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterAppVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { @@ -44471,24 +43426,19 @@ "required": false }, { - "name": "fields[gameCenterChallenges]", + "name": "fields[gameCenterActivityLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", + "description": "the fields to include for returned resources of type gameCenterActivityLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" + "locale", + "name", + "description", + "version", + "image" ] } }, @@ -44497,24 +43447,25 @@ "required": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterActivityImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterActivityImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", - "gameCenterDetail", - "gameCenterAchievement" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { "name": "fields[gameCenterActivityVersionReleases]", @@ -44534,104 +43485,6 @@ "required": false, "deprecated": true }, - { - "name": "fields[gameCenterChallengeVersionReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboard" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[gameCenterLeaderboardSetReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboardSet" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "include", "in": "query", @@ -44641,27 +43494,10 @@ "items": { "type": "string", "enum": [ - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "challengesMinimumPlatformVersions" + "activity", + "localizations", + "defaultImage", + "releases" ] } }, @@ -44670,147 +43506,9 @@ "required": false }, { - "name": "limit[achievementReleases]", - "in": "query", - "description": "maximum number of related achievementReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[activityReleases]", - "in": "query", - "description": "maximum number of related activityReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[challengeReleases]", - "in": "query", - "description": "maximum number of related challengeReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[challengesMinimumPlatformVersions]", - "in": "query", - "description": "maximum number of related challengesMinimumPlatformVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterAchievements]", - "in": "query", - "description": "maximum number of related gameCenterAchievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[gameCenterAchievementsV2]", - "in": "query", - "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterActivities]", - "in": "query", - "description": "maximum number of related gameCenterActivities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterAppVersions]", - "in": "query", - "description": "maximum number of related gameCenterAppVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterChallenges]", - "in": "query", - "description": "maximum number of related gameCenterChallenges returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardSetsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardsV2]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -44819,21 +43517,9 @@ "required": false }, { - "name": "limit[leaderboardReleases]", - "in": "query", - "description": "maximum number of related leaderboardReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[leaderboardSetReleases]", + "name": "limit[releases]", "in": "query", - "description": "maximum number of related leaderboardSetReleases returned (when they are included)", + "description": "maximum number of related releases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -44885,11 +43571,11 @@ } }, "200": { - "description": "Single GameCenterDetail", + "description": "Single GameCenterActivityVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailResponse" + "$ref": "#/components/schemas/GameCenterActivityVersionResponse" } } } @@ -44908,15 +43594,15 @@ }, "patch": { "tags": [ - "GameCenterDetails" + "GameCenterActivityVersions" ], - "operationId": "gameCenterDetails_updateInstance", + "operationId": "gameCenterActivityVersions_updateInstance", "requestBody": { - "description": "GameCenterDetail representation", + "description": "GameCenterActivityVersion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailUpdateRequest" + "$ref": "#/components/schemas/GameCenterActivityVersionUpdateRequest" } } }, @@ -44974,11 +43660,11 @@ } }, "200": { - "description": "Single GameCenterDetail", + "description": "Single GameCenterActivityVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailResponse" + "$ref": "#/components/schemas/GameCenterActivityVersionResponse" } } } @@ -45018,211 +43704,116 @@ } ] }, - "/v1/gameCenterGroups": { - "get": { + "/v1/gameCenterAppVersions": { + "post": { "tags": [ - "GameCenterGroups" + "GameCenterAppVersions" ], - "operationId": "gameCenterGroups_getCollection", - "parameters": [ - { - "name": "filter[gameCenterDetails]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterDetails'", - "schema": { - "type": "array", - "items": { - "type": "string" + "operationId": "gameCenterAppVersions_createInstance", + "requestBody": { + "description": "GameCenterAppVersion representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAppVersionCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases", - "versions" - ] + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity", - "versions" - ] + "201": { + "description": "Single GameCenterAppVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAppVersionResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/gameCenterAppVersions/{id}": { + "get": { + "tags": [ + "GameCenterAppVersions" + ], + "operationId": "gameCenterAppVersions_getInstance", + "parameters": [ { - "name": "fields[gameCenterActivities]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -45231,24 +43822,38 @@ "required": false }, { - "name": "fields[gameCenterChallenges]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -45256,16 +43861,6 @@ "explode": false, "required": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -45275,15 +43870,8 @@ "items": { "type": "string", "enum": [ - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -45292,100 +43880,9 @@ "required": false }, { - "name": "limit[gameCenterAchievements]", - "in": "query", - "description": "maximum number of related gameCenterAchievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[gameCenterAchievementsV2]", - "in": "query", - "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterActivities]", - "in": "query", - "description": "maximum number of related gameCenterActivities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterChallenges]", - "in": "query", - "description": "maximum number of related gameCenterChallenges returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterDetails]", - "in": "query", - "description": "maximum number of related gameCenterDetails returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardSetsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardsV2]", + "name": "limit[compatibilityVersions]", "in": "query", - "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", + "description": "maximum number of related compatibilityVersions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -45425,12 +43922,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of GameCenterGroups", + "description": "Single GameCenterAppVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupsResponse" + "$ref": "#/components/schemas/GameCenterAppVersionResponse" } } } @@ -45447,17 +43954,17 @@ } } }, - "post": { + "patch": { "tags": [ - "GameCenterGroups" + "GameCenterAppVersions" ], - "operationId": "gameCenterGroups_createInstance", + "operationId": "gameCenterAppVersions_updateInstance", "requestBody": { - "description": "GameCenterGroup representation", + "description": "GameCenterAppVersion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupCreateRequest" + "$ref": "#/components/schemas/GameCenterAppVersionUpdateRequest" } } }, @@ -45494,6 +44001,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -45504,12 +44021,12 @@ } } }, - "201": { - "description": "Single GameCenterGroup", + "200": { + "description": "Single GameCenterAppVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupResponse" + "$ref": "#/components/schemas/GameCenterAppVersionResponse" } } } @@ -45535,358 +44052,138 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/gameCenterGroups/{id}": { - "get": { + "/v1/gameCenterChallengeImages": { + "post": { "tags": [ - "GameCenterGroups" + "GameCenterChallengeImages" ], - "operationId": "gameCenterGroups_getInstance", - "parameters": [ - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] + "operationId": "gameCenterChallengeImages_createInstance", + "requestBody": { + "description": "GameCenterChallengeImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterChallengeImageCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases", - "versions" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity", - "versions" - ] + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] + "201": { + "description": "Single GameCenterChallengeImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterChallengeImageResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[gameCenterChallenges]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/gameCenterChallengeImages/{id}": { + "get": { + "tags": [ + "GameCenterChallengeImages" + ], + "operationId": "gameCenterChallengeImages_getInstance", + "parameters": [ { - "name": "include", + "name": "fields[gameCenterChallengeImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterChallengeImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[gameCenterAchievements]", - "in": "query", - "description": "maximum number of related gameCenterAchievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[gameCenterAchievementsV2]", - "in": "query", - "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterActivities]", - "in": "query", - "description": "maximum number of related gameCenterActivities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterChallenges]", - "in": "query", - "description": "maximum number of related gameCenterChallenges returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterDetails]", - "in": "query", - "description": "maximum number of related gameCenterDetails returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardSetsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -45931,11 +44228,11 @@ } }, "200": { - "description": "Single GameCenterGroup", + "description": "Single GameCenterChallengeImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupResponse" + "$ref": "#/components/schemas/GameCenterChallengeImageResponse" } } } @@ -45954,15 +44251,15 @@ }, "patch": { "tags": [ - "GameCenterGroups" + "GameCenterChallengeImages" ], - "operationId": "gameCenterGroups_updateInstance", + "operationId": "gameCenterChallengeImages_updateInstance", "requestBody": { - "description": "GameCenterGroup representation", + "description": "GameCenterChallengeImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupUpdateRequest" + "$ref": "#/components/schemas/GameCenterChallengeImageUpdateRequest" } } }, @@ -46020,11 +44317,11 @@ } }, "200": { - "description": "Single GameCenterGroup", + "description": "Single GameCenterChallengeImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupResponse" + "$ref": "#/components/schemas/GameCenterChallengeImageResponse" } } } @@ -46053,9 +44350,9 @@ }, "delete": { "tags": [ - "GameCenterGroups" + "GameCenterChallengeImages" ], - "operationId": "gameCenterGroups_deleteInstance", + "operationId": "gameCenterChallengeImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -46125,110 +44422,18 @@ } ] }, - "/v1/gameCenterLeaderboardEntrySubmissions": { - "post": { - "tags": [ - "GameCenterLeaderboardEntrySubmissions" - ], - "operationId": "gameCenterLeaderboardEntrySubmissions_createInstance", - "requestBody": { - "description": "GameCenterLeaderboardEntrySubmission representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardEntrySubmissionCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single GameCenterLeaderboardEntrySubmission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardEntrySubmissionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/gameCenterLeaderboardImages": { + "/v1/gameCenterChallengeLocalizations": { "post": { "tags": [ - "GameCenterLeaderboardImages" + "GameCenterChallengeLocalizations" ], - "operationId": "gameCenterLeaderboardImages_createInstance", - "deprecated": true, + "operationId": "gameCenterChallengeLocalizations_createInstance", "requestBody": { - "description": "GameCenterLeaderboardImage representation", + "description": "GameCenterChallengeLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageCreateRequest" + "$ref": "#/components/schemas/GameCenterChallengeLocalizationCreateRequest" } } }, @@ -46276,11 +44481,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardImage", + "description": "Single GameCenterChallengeLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" + "$ref": "#/components/schemas/GameCenterChallengeLocalizationResponse" } } } @@ -46308,29 +44513,27 @@ } } }, - "/v1/gameCenterLeaderboardImages/{id}": { + "/v1/gameCenterChallengeLocalizations/{id}": { "get": { "tags": [ - "GameCenterLeaderboardImages" + "GameCenterChallengeLocalizations" ], - "operationId": "gameCenterLeaderboardImages_getInstance", - "deprecated": true, + "operationId": "gameCenterChallengeLocalizations_getInstance", "parameters": [ { - "name": "fields[gameCenterLeaderboardImages]", + "name": "fields[gameCenterChallengeLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "the fields to include for returned resources of type gameCenterChallengeLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "gameCenterLeaderboardLocalization" + "locale", + "name", + "description", + "version", + "image" ] } }, @@ -46339,29 +44542,47 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterChallengeVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterChallengeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" + "version", + "state", + "challenge", + "localizations", + "releases", + "defaultImage" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false + }, + { + "name": "fields[gameCenterChallengeImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallengeImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState" + ] + } + }, + "style": "form", + "explode": false, + "required": false }, { "name": "include", @@ -46372,7 +44593,8 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboardLocalization" + "version", + "image" ] } }, @@ -46423,11 +44645,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardImage", + "description": "Single GameCenterChallengeLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" + "$ref": "#/components/schemas/GameCenterChallengeLocalizationResponse" } } } @@ -46446,16 +44668,15 @@ }, "patch": { "tags": [ - "GameCenterLeaderboardImages" + "GameCenterChallengeLocalizations" ], - "operationId": "gameCenterLeaderboardImages_updateInstance", - "deprecated": true, + "operationId": "gameCenterChallengeLocalizations_updateInstance", "requestBody": { - "description": "GameCenterLeaderboardImage representation", + "description": "GameCenterChallengeLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageUpdateRequest" + "$ref": "#/components/schemas/GameCenterChallengeLocalizationUpdateRequest" } } }, @@ -46513,11 +44734,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardImage", + "description": "Single GameCenterChallengeLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" + "$ref": "#/components/schemas/GameCenterChallengeLocalizationResponse" } } } @@ -46546,10 +44767,9 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardImages" + "GameCenterChallengeLocalizations" ], - "operationId": "gameCenterLeaderboardImages_deleteInstance", - "deprecated": true, + "operationId": "gameCenterChallengeLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -46619,18 +44839,19 @@ } ] }, - "/v2/gameCenterLeaderboardImages": { + "/v1/gameCenterChallengeVersionReleases": { "post": { "tags": [ - "GameCenterLeaderboardImages" + "GameCenterChallengeVersionReleases" ], - "operationId": "gameCenterLeaderboardImagesV2_createInstance", + "operationId": "gameCenterChallengeVersionReleases_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterLeaderboardImage representation", + "description": "GameCenterChallengeVersionRelease representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageV2CreateRequest" + "$ref": "#/components/schemas/GameCenterChallengeVersionReleaseCreateRequest" } } }, @@ -46678,11 +44899,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardImage", + "description": "Single GameCenterChallengeVersionRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageV2Response" + "$ref": "#/components/schemas/GameCenterChallengeVersionReleaseResponse" } } } @@ -46710,28 +44931,24 @@ } } }, - "/v2/gameCenterLeaderboardImages/{id}": { + "/v1/gameCenterChallengeVersionReleases/{id}": { "get": { "tags": [ - "GameCenterLeaderboardImages" + "GameCenterChallengeVersionReleases" ], - "operationId": "gameCenterLeaderboardImagesV2_getInstance", + "operationId": "gameCenterChallengeVersionReleases_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterLeaderboardImages]", + "name": "fields[gameCenterChallengeVersionReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" + "version" ] } }, @@ -46740,22 +44957,20 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterChallengeVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterChallengeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", "version", - "image" + "state", + "challenge", + "localizations", + "releases", + "defaultImage" ] } }, @@ -46772,7 +44987,7 @@ "items": { "type": "string", "enum": [ - "localization" + "version" ] } }, @@ -46823,110 +45038,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardImage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageV2Response" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "GameCenterLeaderboardImages" - ], - "operationId": "gameCenterLeaderboardImagesV2_updateInstance", - "requestBody": { - "description": "GameCenterLeaderboardImage representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageV2UpdateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterLeaderboardImage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageV2Response" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single GameCenterChallengeVersionRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterChallengeVersionReleaseResponse" } } } @@ -46945,9 +45061,10 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardImages" + "GameCenterChallengeVersionReleases" ], - "operationId": "gameCenterLeaderboardImagesV2_deleteInstance", + "operationId": "gameCenterChallengeVersionReleases_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -47017,19 +45134,18 @@ } ] }, - "/v1/gameCenterLeaderboardLocalizations": { + "/v1/gameCenterChallengeVersions": { "post": { "tags": [ - "GameCenterLeaderboardLocalizations" + "GameCenterChallengeVersions" ], - "operationId": "gameCenterLeaderboardLocalizations_createInstance", - "deprecated": true, + "operationId": "gameCenterChallengeVersions_createInstance", "requestBody": { - "description": "GameCenterLeaderboardLocalization representation", + "description": "GameCenterChallengeVersion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationCreateRequest" + "$ref": "#/components/schemas/GameCenterChallengeVersionCreateRequest" } } }, @@ -47077,11 +45193,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardLocalization", + "description": "Single GameCenterChallengeVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationResponse" + "$ref": "#/components/schemas/GameCenterChallengeVersionResponse" } } } @@ -47109,31 +45225,28 @@ } } }, - "/v1/gameCenterLeaderboardLocalizations/{id}": { + "/v1/gameCenterChallengeVersions/{id}": { "get": { "tags": [ - "GameCenterLeaderboardLocalizations" + "GameCenterChallengeVersions" ], - "operationId": "gameCenterLeaderboardLocalizations_getInstance", - "deprecated": true, + "operationId": "gameCenterChallengeVersions_getInstance", "parameters": [ { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterChallengeVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterChallengeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" + "version", + "state", + "challenge", + "localizations", + "releases", + "defaultImage" ] } }, @@ -47142,35 +45255,62 @@ "required": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterChallenges]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterChallenges", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", "referenceName", "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", "archived", - "activityProperties", - "visibility", + "challengeType", + "repeatable", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterChallengeLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallengeLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "description", + "version", + "image" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterChallengeVersionReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version" ] } }, @@ -47180,9 +45320,9 @@ "deprecated": true }, { - "name": "fields[gameCenterLeaderboardImages]", + "name": "fields[gameCenterChallengeImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "the fields to include for returned resources of type gameCenterChallengeImages", "schema": { "type": "array", "items": { @@ -47192,15 +45332,13 @@ "fileName", "imageAsset", "uploadOperations", - "assetDeliveryState", - "gameCenterLeaderboardLocalization" + "assetDeliveryState" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { "name": "include", @@ -47211,14 +45349,39 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" + "challenge", + "localizations", + "releases", + "defaultImage" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true } ], "responses": { @@ -47263,11 +45426,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardLocalization", + "description": "Single GameCenterChallengeVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationResponse" + "$ref": "#/components/schemas/GameCenterChallengeVersionResponse" } } } @@ -47284,18 +45447,31 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterChallenges": { + "post": { "tags": [ - "GameCenterLeaderboardLocalizations" + "GameCenterChallenges" ], - "operationId": "gameCenterLeaderboardLocalizations_updateInstance", - "deprecated": true, + "operationId": "gameCenterChallenges_createInstance", "requestBody": { - "description": "GameCenterLeaderboardLocalization representation", + "description": "GameCenterChallenge representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationUpdateRequest" + "$ref": "#/components/schemas/GameCenterChallengeCreateRequest" } } }, @@ -47332,16 +45508,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -47352,12 +45518,12 @@ } } }, - "200": { - "description": "Single GameCenterLeaderboardLocalization", + "201": { + "description": "Single GameCenterChallenge", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationResponse" + "$ref": "#/components/schemas/GameCenterChallengeResponse" } } } @@ -47383,197 +45549,100 @@ } } } - }, - "delete": { + } + }, + "/v1/gameCenterChallenges/{id}": { + "get": { "tags": [ - "GameCenterLeaderboardLocalizations" + "GameCenterChallenges" ], - "operationId": "gameCenterLeaderboardLocalizations_deleteInstance", - "deprecated": true, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "operationId": "gameCenterChallenges_getInstance", + "parameters": [ + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterLeaderboardLocalizations": { - "post": { - "tags": [ - "GameCenterLeaderboardLocalizations" - ], - "operationId": "gameCenterLeaderboardLocalizationsV2_createInstance", - "requestBody": { - "description": "GameCenterLeaderboardLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2CreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single GameCenterLeaderboardLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2Response" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v2/gameCenterLeaderboardLocalizations/{id}": { - "get": { - "tags": [ - "GameCenterLeaderboardLocalizations" - ], - "operationId": "gameCenterLeaderboardLocalizationsV2_getInstance", - "parameters": [ { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "version", - "image" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -47582,9 +45651,9 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardVersions]", + "name": "fields[gameCenterChallengeVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "description": "the fields to include for returned resources of type gameCenterChallengeVersions", "schema": { "type": "array", "items": { @@ -47592,8 +45661,10 @@ "enum": [ "version", "state", - "leaderboard", - "localizations" + "challenge", + "localizations", + "releases", + "defaultImage" ] } }, @@ -47602,20 +45673,37 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardImages]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", + "versions" ] } }, @@ -47632,14 +45720,28 @@ "items": { "type": "string", "enum": [ - "version", - "image" + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -47684,11 +45786,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardLocalization", + "description": "Single GameCenterChallenge", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2Response" + "$ref": "#/components/schemas/GameCenterChallengeResponse" } } } @@ -47707,15 +45809,15 @@ }, "patch": { "tags": [ - "GameCenterLeaderboardLocalizations" + "GameCenterChallenges" ], - "operationId": "gameCenterLeaderboardLocalizationsV2_updateInstance", + "operationId": "gameCenterChallenges_updateInstance", "requestBody": { - "description": "GameCenterLeaderboardLocalization representation", + "description": "GameCenterChallenge representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2UpdateRequest" + "$ref": "#/components/schemas/GameCenterChallengeUpdateRequest" } } }, @@ -47773,11 +45875,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardLocalization", + "description": "Single GameCenterChallenge", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2Response" + "$ref": "#/components/schemas/GameCenterChallengeResponse" } } } @@ -47806,9 +45908,9 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardLocalizations" + "GameCenterChallenges" ], - "operationId": "gameCenterLeaderboardLocalizationsV2_deleteInstance", + "operationId": "gameCenterChallenges_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -47878,19 +45980,131 @@ } ] }, - "/v1/gameCenterLeaderboardReleases": { + "/v1/gameCenterDetailPlayers/{id}": { + "patch": { + "tags": [ + "GameCenterDetailPlayers" + ], + "operationId": "gameCenterDetailPlayers_updateInstance", + "requestBody": { + "description": "GameCenterDetailPlayer representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterDetailPlayerUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterDetailPlayer", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterDetailPlayerResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails": { "post": { "tags": [ - "GameCenterLeaderboardReleases" + "GameCenterDetails" ], - "operationId": "gameCenterLeaderboardReleases_createInstance", - "deprecated": true, + "operationId": "gameCenterDetails_createInstance", "requestBody": { - "description": "GameCenterLeaderboardRelease representation", + "description": "GameCenterDetail representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardReleaseCreateRequest" + "$ref": "#/components/schemas/GameCenterDetailCreateRequest" } } }, @@ -47938,11 +46152,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardRelease", + "description": "Single GameCenterDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardReleaseResponse" + "$ref": "#/components/schemas/GameCenterDetailResponse" } } } @@ -47970,33 +46184,13 @@ } } }, - "/v1/gameCenterLeaderboardReleases/{id}": { + "/v1/gameCenterDetails/{id}": { "get": { "tags": [ - "GameCenterLeaderboardReleases" + "GameCenterDetails" ], - "operationId": "gameCenterLeaderboardReleases_getInstance", - "deprecated": true, + "operationId": "gameCenterDetails_getInstance", "parameters": [ - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboard" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "fields[gameCenterDetails]", "in": "query", @@ -48037,6 +46231,124 @@ "explode": false, "required": false }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAppVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[gameCenterLeaderboards]", "in": "query", @@ -48066,7 +46378,140 @@ "localizations", "releases", "activity", - "challenge" + "challenge", + "gameCenterScoreModerations", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAchievementReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterAchievement" ] } }, @@ -48076,14 +46521,51 @@ "deprecated": true }, { - "name": "include", + "name": "fields[gameCenterActivityVersionReleases]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[gameCenterChallengeVersionReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", "gameCenterLeaderboard" ] @@ -48091,7 +46573,278 @@ }, "style": "form", "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[achievementReleases]", + "in": "query", + "description": "maximum number of related achievementReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[activityReleases]", + "in": "query", + "description": "maximum number of related activityReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[challengeReleases]", + "in": "query", + "description": "maximum number of related challengeReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[challengesMinimumPlatformVersions]", + "in": "query", + "description": "maximum number of related challengesMinimumPlatformVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterAchievements]", + "in": "query", + "description": "maximum number of related gameCenterAchievements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[gameCenterAchievementsV2]", + "in": "query", + "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterActivities]", + "in": "query", + "description": "maximum number of related gameCenterActivities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterAppVersions]", + "in": "query", + "description": "maximum number of related gameCenterAppVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterChallenges]", + "in": "query", + "description": "maximum number of related gameCenterChallenges returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardSetsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", "required": false + }, + { + "name": "limit[leaderboardReleases]", + "in": "query", + "description": "maximum number of related leaderboardReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[leaderboardSetReleases]", + "in": "query", + "description": "maximum number of related leaderboardSetReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true } ], "responses": { @@ -48136,11 +46889,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardRelease", + "description": "Single GameCenterDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardReleaseResponse" + "$ref": "#/components/schemas/GameCenterDetailResponse" } } } @@ -48157,12 +46910,22 @@ } } }, - "delete": { + "patch": { "tags": [ - "GameCenterLeaderboardReleases" + "GameCenterDetails" ], - "operationId": "gameCenterLeaderboardReleases_deleteInstance", - "deprecated": true, + "operationId": "gameCenterDetails_updateInstance", + "requestBody": { + "description": "GameCenterDetail representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterDetailUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -48204,11 +46967,8 @@ } } }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -48216,9 +46976,39 @@ } } } - } - } - }, + }, + "200": { + "description": "Single GameCenterDetail", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterDetailResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, "parameters": [ { "name": "id", @@ -48232,19 +47022,446 @@ } ] }, - "/v1/gameCenterLeaderboardSetImages": { + "/v1/gameCenterGroups": { + "get": { + "tags": [ + "GameCenterGroups" + ], + "operationId": "gameCenterGroups_getCollection", + "parameters": [ + { + "name": "filter[gameCenterDetails]", + "in": "query", + "description": "filter by id(s) of related 'gameCenterDetails'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[gameCenterAchievements]", + "in": "query", + "description": "maximum number of related gameCenterAchievements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[gameCenterAchievementsV2]", + "in": "query", + "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterActivities]", + "in": "query", + "description": "maximum number of related gameCenterActivities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterChallenges]", + "in": "query", + "description": "maximum number of related gameCenterChallenges returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterDetails]", + "in": "query", + "description": "maximum number of related gameCenterDetails returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardSetsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of GameCenterGroups", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterGroupsResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, "post": { "tags": [ - "GameCenterLeaderboardSetImages" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetImages_createInstance", - "deprecated": true, + "operationId": "gameCenterGroups_createInstance", "requestBody": { - "description": "GameCenterLeaderboardSetImage representation", + "description": "GameCenterGroup representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageCreateRequest" + "$ref": "#/components/schemas/GameCenterGroupCreateRequest" } } }, @@ -48292,11 +47509,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardSetImage", + "description": "Single GameCenterGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" + "$ref": "#/components/schemas/GameCenterGroupResponse" } } } @@ -48324,29 +47541,32 @@ } } }, - "/v1/gameCenterLeaderboardSetImages/{id}": { + "/v1/gameCenterGroups/{id}": { "get": { "tags": [ - "GameCenterLeaderboardSetImages" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetImages_getInstance", - "deprecated": true, + "operationId": "gameCenterGroups_getInstance", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "gameCenterLeaderboardSetLocalization" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -48355,25 +47575,195 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false, + "required": false }, { "name": "include", @@ -48384,13 +47774,123 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSetLocalization" + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[gameCenterAchievements]", + "in": "query", + "description": "maximum number of related gameCenterAchievements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[gameCenterAchievementsV2]", + "in": "query", + "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterActivities]", + "in": "query", + "description": "maximum number of related gameCenterActivities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterChallenges]", + "in": "query", + "description": "maximum number of related gameCenterChallenges returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterDetails]", + "in": "query", + "description": "maximum number of related gameCenterDetails returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardSetsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -48435,11 +47935,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetImage", + "description": "Single GameCenterGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" + "$ref": "#/components/schemas/GameCenterGroupResponse" } } } @@ -48458,16 +47958,15 @@ }, "patch": { "tags": [ - "GameCenterLeaderboardSetImages" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetImages_updateInstance", - "deprecated": true, + "operationId": "gameCenterGroups_updateInstance", "requestBody": { - "description": "GameCenterLeaderboardSetImage representation", + "description": "GameCenterGroup representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageUpdateRequest" + "$ref": "#/components/schemas/GameCenterGroupUpdateRequest" } } }, @@ -48525,11 +48024,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetImage", + "description": "Single GameCenterGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" + "$ref": "#/components/schemas/GameCenterGroupResponse" } } } @@ -48558,10 +48057,9 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardSetImages" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetImages_deleteInstance", - "deprecated": true, + "operationId": "gameCenterGroups_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -48631,18 +48129,18 @@ } ] }, - "/v2/gameCenterLeaderboardSetImages": { + "/v1/gameCenterLeaderboardEntrySubmissions": { "post": { "tags": [ - "GameCenterLeaderboardSetImages" + "GameCenterLeaderboardEntrySubmissions" ], - "operationId": "gameCenterLeaderboardSetImagesV2_createInstance", + "operationId": "gameCenterLeaderboardEntrySubmissions_createInstance", "requestBody": { - "description": "GameCenterLeaderboardSetImage representation", + "description": "GameCenterLeaderboardEntrySubmission representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2CreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardEntrySubmissionCreateRequest" } } }, @@ -48690,11 +48188,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardSetImage", + "description": "Single GameCenterLeaderboardEntrySubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardEntrySubmissionResponse" } } } @@ -48722,17 +48220,110 @@ } } }, - "/v2/gameCenterLeaderboardSetImages/{id}": { + "/v1/gameCenterLeaderboardImages": { + "post": { + "tags": [ + "GameCenterLeaderboardImages" + ], + "operationId": "gameCenterLeaderboardImages_createInstance", + "deprecated": true, + "requestBody": { + "description": "GameCenterLeaderboardImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardImageCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single GameCenterLeaderboardImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/gameCenterLeaderboardImages/{id}": { "get": { "tags": [ - "GameCenterLeaderboardSetImages" + "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardSetImagesV2_getInstance", + "operationId": "gameCenterLeaderboardImages_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "fields[gameCenterLeaderboardImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", "schema": { "type": "array", "items": { @@ -48743,7 +48334,7 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "localization" + "gameCenterLeaderboardLocalization" ] } }, @@ -48752,9 +48343,9 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { @@ -48762,14 +48353,19 @@ "enum": [ "locale", "name", - "version", - "image" + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "include", @@ -48780,7 +48376,7 @@ "items": { "type": "string", "enum": [ - "localization" + "gameCenterLeaderboardLocalization" ] } }, @@ -48831,11 +48427,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetImage", + "description": "Single GameCenterLeaderboardImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" } } } @@ -48854,15 +48450,16 @@ }, "patch": { "tags": [ - "GameCenterLeaderboardSetImages" + "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardSetImagesV2_updateInstance", + "operationId": "gameCenterLeaderboardImages_updateInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterLeaderboardSetImage representation", + "description": "GameCenterLeaderboardImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2UpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardImageUpdateRequest" } } }, @@ -48920,11 +48517,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetImage", + "description": "Single GameCenterLeaderboardImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" } } } @@ -48953,9 +48550,10 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardSetImages" + "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardSetImagesV2_deleteInstance", + "operationId": "gameCenterLeaderboardImages_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -49025,19 +48623,18 @@ } ] }, - "/v1/gameCenterLeaderboardSetLocalizations": { + "/v2/gameCenterLeaderboardImages": { "post": { "tags": [ - "GameCenterLeaderboardSetLocalizations" + "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardSetLocalizations_createInstance", - "deprecated": true, + "operationId": "gameCenterLeaderboardImagesV2_createInstance", "requestBody": { - "description": "GameCenterLeaderboardSetLocalization representation", + "description": "GameCenterLeaderboardImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationCreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardImageV2CreateRequest" } } }, @@ -49085,11 +48682,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardSetLocalization", + "description": "Single GameCenterLeaderboardImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardImageV2Response" } } } @@ -49117,27 +48714,28 @@ } } }, - "/v1/gameCenterLeaderboardSetLocalizations/{id}": { + "/v2/gameCenterLeaderboardImages/{id}": { "get": { "tags": [ - "GameCenterLeaderboardSetLocalizations" + "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardSetLocalizations_getInstance", - "deprecated": true, + "operationId": "gameCenterLeaderboardImagesV2_getInstance", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboardImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -49146,52 +48744,28 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[gameCenterLeaderboardSetImages]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "gameCenterLeaderboardSetLocalization" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "version", + "image" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { "name": "include", @@ -49202,8 +48776,7 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" + "localization" ] } }, @@ -49254,11 +48827,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetLocalization", + "description": "Single GameCenterLeaderboardImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardImageV2Response" } } } @@ -49277,16 +48850,15 @@ }, "patch": { "tags": [ - "GameCenterLeaderboardSetLocalizations" + "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardSetLocalizations_updateInstance", - "deprecated": true, + "operationId": "gameCenterLeaderboardImagesV2_updateInstance", "requestBody": { - "description": "GameCenterLeaderboardSetLocalization representation", + "description": "GameCenterLeaderboardImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationUpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardImageV2UpdateRequest" } } }, @@ -49344,11 +48916,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetLocalization", + "description": "Single GameCenterLeaderboardImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardImageV2Response" } } } @@ -49377,10 +48949,9 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardSetLocalizations" + "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardSetLocalizations_deleteInstance", - "deprecated": true, + "operationId": "gameCenterLeaderboardImagesV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -49450,18 +49021,19 @@ } ] }, - "/v2/gameCenterLeaderboardSetLocalizations": { + "/v1/gameCenterLeaderboardLocalizations": { "post": { "tags": [ - "GameCenterLeaderboardSetLocalizations" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSetLocalizationsV2_createInstance", + "operationId": "gameCenterLeaderboardLocalizations_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterLeaderboardSetLocalization representation", + "description": "GameCenterLeaderboardLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2CreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationCreateRequest" } } }, @@ -49509,11 +49081,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardSetLocalization", + "description": "Single GameCenterLeaderboardLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationResponse" } } } @@ -49541,17 +49113,18 @@ } } }, - "/v2/gameCenterLeaderboardSetLocalizations/{id}": { + "/v1/gameCenterLeaderboardLocalizations/{id}": { "get": { "tags": [ - "GameCenterLeaderboardSetLocalizations" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSetLocalizationsV2_getInstance", + "operationId": "gameCenterLeaderboardLocalizations_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { @@ -49559,8 +49132,12 @@ "enum": [ "locale", "name", - "version", - "image" + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -49569,29 +49146,47 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSetVersions]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "leaderboardSet", - "localizations" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "fields[gameCenterLeaderboardImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", "schema": { "type": "array", "items": { @@ -49602,13 +49197,14 @@ "imageAsset", "uploadOperations", "assetDeliveryState", - "localization" + "gameCenterLeaderboardLocalization" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "include", @@ -49619,8 +49215,8 @@ "items": { "type": "string", "enum": [ - "version", - "image" + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -49671,11 +49267,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetLocalization", + "description": "Single GameCenterLeaderboardLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationResponse" } } } @@ -49694,15 +49290,16 @@ }, "patch": { "tags": [ - "GameCenterLeaderboardSetLocalizations" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSetLocalizationsV2_updateInstance", + "operationId": "gameCenterLeaderboardLocalizations_updateInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterLeaderboardSetLocalization representation", + "description": "GameCenterLeaderboardLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2UpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationUpdateRequest" } } }, @@ -49760,11 +49357,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetLocalization", + "description": "Single GameCenterLeaderboardLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationResponse" } } } @@ -49793,9 +49390,10 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardSetLocalizations" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSetLocalizationsV2_deleteInstance", + "operationId": "gameCenterLeaderboardLocalizations_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -49865,155 +49463,23 @@ } ] }, - "/v1/gameCenterLeaderboardSetMemberLocalizations": { - "get": { + "/v2/gameCenterLeaderboardLocalizations": { + "post": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations_getCollection", - "parameters": [ - { - "name": "filter[gameCenterLeaderboardSet]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true, - "deprecated": true - }, - { - "name": "filter[gameCenterLeaderboard]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboard'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true, - "deprecated": true - }, - { - "name": "fields[gameCenterLeaderboardSetMemberLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetMemberLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "locale", - "gameCenterLeaderboardSet", - "gameCenterLeaderboard" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" - ] + "operationId": "gameCenterLeaderboardLocalizationsV2_createInstance", + "requestBody": { + "description": "GameCenterLeaderboardLocalization representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2CreateRequest" } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboard" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -50045,12 +49511,32 @@ } } }, - "200": { - "description": "List of GameCenterLeaderboardSetMemberLocalizations", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationsResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single GameCenterLeaderboardLocalization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2Response" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -50066,23 +49552,100 @@ } } } - }, - "post": { + } + }, + "/v2/gameCenterLeaderboardLocalizations/{id}": { + "get": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations_createInstance", - "requestBody": { - "description": "GameCenterLeaderboardSetMemberLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationCreateRequest" + "operationId": "gameCenterLeaderboardLocalizationsV2_getInstance", + "parameters": [ + { + "name": "fields[gameCenterLeaderboardLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "version", + "image" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[gameCenterLeaderboardVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "leaderboard", + "localizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboardImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "image" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -50114,8 +49677,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -50124,22 +49687,12 @@ } } }, - "201": { - "description": "Single GameCenterLeaderboardSetMemberLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single GameCenterLeaderboardLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2Response" } } } @@ -50155,20 +49708,18 @@ } } } - } - }, - "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}": { + }, "patch": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations_updateInstance", + "operationId": "gameCenterLeaderboardLocalizationsV2_updateInstance", "requestBody": { - "description": "GameCenterLeaderboardSetMemberLocalization representation", + "description": "GameCenterLeaderboardLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationUpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2UpdateRequest" } } }, @@ -50226,11 +49777,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetMemberLocalization", + "description": "Single GameCenterLeaderboardLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2Response" } } } @@ -50259,9 +49810,9 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations_deleteInstance", + "operationId": "gameCenterLeaderboardLocalizationsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -50331,19 +49882,19 @@ } ] }, - "/v1/gameCenterLeaderboardSetReleases": { + "/v1/gameCenterLeaderboardReleases": { "post": { "tags": [ - "GameCenterLeaderboardSetReleases" + "GameCenterLeaderboardReleases" ], - "operationId": "gameCenterLeaderboardSetReleases_createInstance", + "operationId": "gameCenterLeaderboardReleases_createInstance", "deprecated": true, "requestBody": { - "description": "GameCenterLeaderboardSetRelease representation", + "description": "GameCenterLeaderboardRelease representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseCreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardReleaseCreateRequest" } } }, @@ -50391,11 +49942,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardSetRelease", + "description": "Single GameCenterLeaderboardRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardReleaseResponse" } } } @@ -50423,18 +49974,18 @@ } } }, - "/v1/gameCenterLeaderboardSetReleases/{id}": { + "/v1/gameCenterLeaderboardReleases/{id}": { "get": { "tags": [ - "GameCenterLeaderboardSetReleases" + "GameCenterLeaderboardReleases" ], - "operationId": "gameCenterLeaderboardSetReleases_getInstance", + "operationId": "gameCenterLeaderboardReleases_getInstance", "deprecated": true, "parameters": [ { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { @@ -50442,7 +49993,7 @@ "enum": [ "live", "gameCenterDetail", - "gameCenterLeaderboardSet" + "gameCenterLeaderboard" ] } }, @@ -50491,22 +50042,35 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", "referenceName", "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboardSet", + "groupLeaderboard", + "gameCenterLeaderboardSets", "localizations", - "gameCenterLeaderboards", - "releases" + "releases", + "activity", + "challenge" ] } }, @@ -50525,7 +50089,7 @@ "type": "string", "enum": [ "gameCenterDetail", - "gameCenterLeaderboardSet" + "gameCenterLeaderboard" ] } }, @@ -50576,11 +50140,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetRelease", + "description": "Single GameCenterLeaderboardRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardReleaseResponse" } } } @@ -50599,9 +50163,9 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardSetReleases" + "GameCenterLeaderboardReleases" ], - "operationId": "gameCenterLeaderboardSetReleases_deleteInstance", + "operationId": "gameCenterLeaderboardReleases_deleteInstance", "deprecated": true, "responses": { "400": { @@ -50672,18 +50236,19 @@ } ] }, - "/v2/gameCenterLeaderboardSetVersions": { + "/v1/gameCenterLeaderboardSetImages": { "post": { "tags": [ - "GameCenterLeaderboardSetVersions" + "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetVersionsV2_createInstance", + "operationId": "gameCenterLeaderboardSetImages_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterLeaderboardSetVersion representation", + "description": "GameCenterLeaderboardSetImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionV2CreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageCreateRequest" } } }, @@ -50731,11 +50296,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardSetVersion", + "description": "Single GameCenterLeaderboardSetImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" } } } @@ -50763,48 +50328,29 @@ } } }, - "/v2/gameCenterLeaderboardSetVersions/{id}": { + "/v1/gameCenterLeaderboardSetImages/{id}": { "get": { "tags": [ - "GameCenterLeaderboardSetVersions" + "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetVersionsV2_getInstance", + "operationId": "gameCenterLeaderboardSetImages_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterLeaderboardSetVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "leaderboardSet", - "localizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterLeaderboardSetImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "versions" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "gameCenterLeaderboardSetLocalization" ] } }, @@ -50823,14 +50369,15 @@ "enum": [ "locale", "name", - "version", - "image" + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "include", @@ -50841,25 +50388,13 @@ "items": { "type": "string", "enum": [ - "leaderboardSet", - "localizations" + "gameCenterLeaderboardSetLocalization" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -50904,15 +50439,177 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetVersion", + "description": "Single GameCenterLeaderboardSetImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "GameCenterLeaderboardSetImages" + ], + "operationId": "gameCenterLeaderboardSetImages_updateInstance", + "deprecated": true, + "requestBody": { + "description": "GameCenterLeaderboardSetImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterLeaderboardSetImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "GameCenterLeaderboardSetImages" + ], + "operationId": "gameCenterLeaderboardSetImages_deleteInstance", + "deprecated": true, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -50938,18 +50635,18 @@ } ] }, - "/v2/gameCenterLeaderboardSets": { + "/v2/gameCenterLeaderboardSetImages": { "post": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetsV2_createInstance", + "operationId": "gameCenterLeaderboardSetImagesV2_createInstance", "requestBody": { - "description": "GameCenterLeaderboardSet representation", + "description": "GameCenterLeaderboardSetImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2CreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2CreateRequest" } } }, @@ -50997,11 +50694,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardSet", + "description": "Single GameCenterLeaderboardSetImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2Response" } } } @@ -51029,130 +50726,28 @@ } } }, - "/v2/gameCenterLeaderboardSets/{id}": { + "/v2/gameCenterLeaderboardSetImages/{id}": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetsV2_getInstance", + "operationId": "gameCenterLeaderboardSetImagesV2_getInstance", "parameters": [ { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSetImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterScoreModerations", - "activity", - "challenge", - "versions" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -51161,18 +50756,18 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSetVersions]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "locale", + "name", "version", - "state", - "leaderboardSet", - "localizations" + "image" ] } }, @@ -51189,38 +50784,13 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "versions" + "localization" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -51265,11 +50835,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSet", + "description": "Single GameCenterLeaderboardSetImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2Response" } } } @@ -51288,15 +50858,15 @@ }, "patch": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetsV2_updateInstance", + "operationId": "gameCenterLeaderboardSetImagesV2_updateInstance", "requestBody": { - "description": "GameCenterLeaderboardSet representation", + "description": "GameCenterLeaderboardSetImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2UpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2UpdateRequest" } } }, @@ -51354,11 +50924,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSet", + "description": "Single GameCenterLeaderboardSetImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2Response" } } } @@ -51387,9 +50957,9 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetsV2_deleteInstance", + "operationId": "gameCenterLeaderboardSetImagesV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -51459,19 +51029,19 @@ } ] }, - "/v1/gameCenterLeaderboardSets": { + "/v1/gameCenterLeaderboardSetLocalizations": { "post": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSets_createInstance", + "operationId": "gameCenterLeaderboardSetLocalizations_createInstance", "deprecated": true, "requestBody": { - "description": "GameCenterLeaderboardSet representation", + "description": "GameCenterLeaderboardSetLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetCreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationCreateRequest" } } }, @@ -51519,11 +51089,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardSet", + "description": "Single GameCenterLeaderboardSetLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationResponse" } } } @@ -51551,104 +51121,14 @@ } } }, - "/v1/gameCenterLeaderboardSets/{id}": { + "/v1/gameCenterLeaderboardSetLocalizations/{id}": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSets_getInstance", + "operationId": "gameCenterLeaderboardSetLocalizations_getInstance", "deprecated": true, "parameters": [ - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", @@ -51667,39 +51147,25 @@ }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", "referenceName", "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", + "groupLeaderboardSet", "localizations", - "releases", - "activity", - "challenge" + "gameCenterLeaderboards", + "releases" ] } }, @@ -51709,17 +51175,20 @@ "deprecated": true }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterLeaderboardSetImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboardSet" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "gameCenterLeaderboardSetLocalization" ] } }, @@ -51737,54 +51206,14 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true } ], "responses": { @@ -51829,11 +51258,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSet", + "description": "Single GameCenterLeaderboardSetLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationResponse" } } } @@ -51852,16 +51281,16 @@ }, "patch": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSets_updateInstance", + "operationId": "gameCenterLeaderboardSetLocalizations_updateInstance", "deprecated": true, "requestBody": { - "description": "GameCenterLeaderboardSet representation", + "description": "GameCenterLeaderboardSetLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetUpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationUpdateRequest" } } }, @@ -51919,11 +51348,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSet", + "description": "Single GameCenterLeaderboardSetLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationResponse" } } } @@ -51952,9 +51381,9 @@ }, "delete": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSets_deleteInstance", + "operationId": "gameCenterLeaderboardSetLocalizations_deleteInstance", "deprecated": true, "responses": { "400": { @@ -52025,18 +51454,18 @@ } ] }, - "/v2/gameCenterLeaderboardVersions": { + "/v2/gameCenterLeaderboardSetLocalizations": { "post": { "tags": [ - "GameCenterLeaderboardVersions" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardVersionsV2_createInstance", + "operationId": "gameCenterLeaderboardSetLocalizationsV2_createInstance", "requestBody": { - "description": "GameCenterLeaderboardVersion representation", + "description": "GameCenterLeaderboardSetLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardVersionV2CreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2CreateRequest" } } }, @@ -52084,11 +51513,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboardVersion", + "description": "Single GameCenterLeaderboardSetLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardVersionV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2Response" } } } @@ -52116,26 +51545,26 @@ } } }, - "/v2/gameCenterLeaderboardVersions/{id}": { + "/v2/gameCenterLeaderboardSetLocalizations/{id}": { "get": { "tags": [ - "GameCenterLeaderboardVersions" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardVersionsV2_getInstance", + "operationId": "gameCenterLeaderboardSetLocalizationsV2_getInstance", "parameters": [ { - "name": "fields[gameCenterLeaderboardVersions]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "locale", + "name", "version", - "state", - "leaderboard", - "localizations" + "image" ] } }, @@ -52144,34 +51573,18 @@ "required": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSetVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterScoreModerations", - "activity", - "challenge", - "versions" + "version", + "state", + "leaderboardSet", + "localizations" ] } }, @@ -52180,22 +51593,20 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboardSetImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "version", - "image" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -52212,25 +51623,14 @@ "items": { "type": "string", "enum": [ - "leaderboard", - "localizations" + "version", + "image" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -52275,11 +51675,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardVersion", + "description": "Single GameCenterLeaderboardSetLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardVersionV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2Response" } } } @@ -52296,32 +51696,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboards": { - "post": { + "patch": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboards_createInstance", - "deprecated": true, + "operationId": "gameCenterLeaderboardSetLocalizationsV2_updateInstance", "requestBody": { - "description": "GameCenterLeaderboard representation", + "description": "GameCenterLeaderboardSetLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardCreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2UpdateRequest" } } }, @@ -52358,6 +51743,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -52368,12 +51763,12 @@ } } }, - "201": { - "description": "Single GameCenterLeaderboard", + "200": { + "description": "Single GameCenterLeaderboardSetLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2Response" } } } @@ -52399,112 +51794,131 @@ } } } - } + }, + "delete": { + "tags": [ + "GameCenterLeaderboardSetLocalizations" + ], + "operationId": "gameCenterLeaderboardSetLocalizationsV2_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/gameCenterLeaderboards/{id}": { + "/v1/gameCenterLeaderboardSetMemberLocalizations": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboards_getInstance", - "deprecated": true, + "operationId": "gameCenterLeaderboardSetMemberLocalizations_getCollection", "parameters": [ { - "name": "fields[gameCenterLeaderboards]", + "name": "filter[gameCenterLeaderboardSet]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" - ] + "type": "string" } }, "style": "form", "explode": false, - "required": false + "required": true, + "deprecated": true }, { - "name": "fields[gameCenterDetails]", + "name": "filter[gameCenterLeaderboard]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "filter by id(s) of related 'gameCenterLeaderboard'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] + "type": "string" } }, "style": "form", "explode": false, - "required": false + "required": true, + "deprecated": true }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterLeaderboardSetMemberLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetMemberLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" + "name", + "locale", + "gameCenterLeaderboardSet", + "gameCenterLeaderboard" ] } }, @@ -52538,106 +51952,52 @@ "deprecated": true }, { - "name": "fields[gameCenterLeaderboardLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboard" - ] - } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true - }, - { - "name": "fields[gameCenterActivities]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", "referenceName", "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", "archived", - "properties", + "activityProperties", + "visibility", "gameCenterDetail", "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { - "name": "fields[gameCenterChallenges]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false, - "required": false + "style": "form" }, { "name": "include", @@ -52648,58 +52008,85 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" + "gameCenterLeaderboardSet", + "gameCenterLeaderboard" ] } }, "style": "form", "explode": false, "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false, - "deprecated": true + "200": { + "description": "List of GameCenterLeaderboardSetMemberLocalizations", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationsResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + }, + "post": { + "tags": [ + "GameCenterLeaderboardSetMemberLocalizations" ], + "operationId": "gameCenterLeaderboardSetMemberLocalizations_createInstance", + "requestBody": { + "description": "GameCenterLeaderboardSetMemberLocalization representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -52731,8 +52118,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -52741,12 +52128,22 @@ } } }, - "200": { - "description": "Single GameCenterLeaderboard", + "201": { + "description": "Single GameCenterLeaderboardSetMemberLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -52762,19 +52159,20 @@ } } } - }, + } + }, + "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}": { "patch": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboards_updateInstance", - "deprecated": true, + "operationId": "gameCenterLeaderboardSetMemberLocalizations_updateInstance", "requestBody": { - "description": "GameCenterLeaderboard representation", + "description": "GameCenterLeaderboardSetMemberLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardUpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationUpdateRequest" } } }, @@ -52832,11 +52230,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboard", + "description": "Single GameCenterLeaderboardSetMemberLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationResponse" } } } @@ -52865,10 +52263,9 @@ }, "delete": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboards_deleteInstance", - "deprecated": true, + "operationId": "gameCenterLeaderboardSetMemberLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -52938,18 +52335,19 @@ } ] }, - "/v2/gameCenterLeaderboards": { + "/v1/gameCenterLeaderboardSetReleases": { "post": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetReleases" ], - "operationId": "gameCenterLeaderboardsV2_createInstance", + "operationId": "gameCenterLeaderboardSetReleases_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterLeaderboard representation", + "description": "GameCenterLeaderboardSetRelease representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardV2CreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseCreateRequest" } } }, @@ -52997,11 +52395,11 @@ } }, "201": { - "description": "Single GameCenterLeaderboard", + "description": "Single GameCenterLeaderboardSetRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseResponse" } } } @@ -53029,42 +52427,26 @@ } } }, - "/v2/gameCenterLeaderboards/{id}": { + "/v1/gameCenterLeaderboardSetReleases/{id}": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetReleases" ], - "operationId": "gameCenterLeaderboardsV2_getInstance", + "operationId": "gameCenterLeaderboardSetReleases_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", + "live", "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterScoreModerations", - "activity", - "challenge", - "versions" + "gameCenterLeaderboardSet" ] } }, @@ -53112,32 +52494,6 @@ "explode": false, "required": false }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "fields[gameCenterLeaderboardSets]", "in": "query", @@ -53151,91 +52507,17 @@ "vendorIdentifier", "gameCenterDetail", "gameCenterGroup", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterChallenges]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboardVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "leaderboard", - "localizations" + "releases" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "include", @@ -53247,39 +52529,13 @@ "type": "string", "enum": [ "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "activity", - "challenge", - "versions" + "gameCenterLeaderboardSet" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -53324,11 +52580,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboard", + "description": "Single GameCenterLeaderboardSetRelease", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseResponse" } } } @@ -53345,22 +52601,12 @@ } } }, - "patch": { + "delete": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetReleases" ], - "operationId": "gameCenterLeaderboardsV2_updateInstance", - "requestBody": { - "description": "GameCenterLeaderboard representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardV2UpdateRequest" - } - } - }, - "required": true - }, + "operationId": "gameCenterLeaderboardSetReleases_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -53402,8 +52648,11 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -53411,19 +52660,42 @@ } } } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - "200": { - "description": "Single GameCenterLeaderboard", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardV2Response" - } + "style": "simple", + "required": true + } + ] + }, + "/v2/gameCenterLeaderboardSetVersions": { + "post": { + "tags": [ + "GameCenterLeaderboardSetVersions" + ], + "operationId": "gameCenterLeaderboardSetVersionsV2_createInstance", + "requestBody": { + "description": "GameCenterLeaderboardSetVersion representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionV2CreateRequest" } } }, - "409": { - "description": "Request entity error(s)", + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -53432,8 +52704,8 @@ } } }, - "429": { - "description": "Rate limit exceeded error", + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -53441,17 +52713,9 @@ } } } - } - } - }, - "delete": { - "tags": [ - "GameCenterLeaderboards" - ], - "operationId": "gameCenterLeaderboardsV2_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", + }, + "403": { + "description": "Forbidden error", "content": { "application/json": { "schema": { @@ -53460,8 +52724,8 @@ } } }, - "401": { - "description": "Unauthorized error(s)", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -53470,18 +52734,18 @@ } } }, - "403": { - "description": "Forbidden error", + "201": { + "description": "Single GameCenterLeaderboardSetVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionV2Response" } } } }, - "404": { - "description": "Not found error", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -53490,9 +52754,6 @@ } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -53504,40 +52765,28 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/gameCenterMatchmakingQueues": { + "/v2/gameCenterLeaderboardSetVersions/{id}": { "get": { "tags": [ - "GameCenterMatchmakingQueues" + "GameCenterLeaderboardSetVersions" ], - "operationId": "gameCenterMatchmakingQueues_getCollection", + "operationId": "gameCenterLeaderboardSetVersionsV2_getInstance", "parameters": [ { - "name": "fields[gameCenterMatchmakingQueues]", + "name": "fields[gameCenterLeaderboardSetVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "classicMatchmakingBundleIds", - "ruleSet", - "experimentRuleSet" + "version", + "state", + "leaderboardSet", + "localizations" ] } }, @@ -53546,21 +52795,20 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingRuleSets]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ "referenceName", - "ruleLanguageVersion", - "minPlayers", - "maxPlayers", - "teams", - "rules", - "matchmakingQueues" + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" ] } }, @@ -53569,14 +52817,24 @@ "required": false }, { - "name": "limit", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "version", + "image" + ] + } }, - "style": "form" + "style": "form", + "explode": false, + "required": false }, { "name": "include", @@ -53587,14 +52845,25 @@ "items": { "type": "string", "enum": [ - "ruleSet", - "experimentRuleSet" + "leaderboardSet", + "localizations" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -53628,12 +52897,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of GameCenterMatchmakingQueues", + "description": "Single GameCenterLeaderboardSetVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueuesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionV2Response" } } } @@ -53650,17 +52929,31 @@ } } }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/gameCenterLeaderboardSets": { "post": { "tags": [ - "GameCenterMatchmakingQueues" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingQueues_createInstance", + "operationId": "gameCenterLeaderboardSetsV2_createInstance", "requestBody": { - "description": "GameCenterMatchmakingQueue representation", + "description": "GameCenterLeaderboardSet representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueCreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2CreateRequest" } } }, @@ -53708,11 +53001,11 @@ } }, "201": { - "description": "Single GameCenterMatchmakingQueue", + "description": "Single GameCenterLeaderboardSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2Response" } } } @@ -53740,26 +53033,28 @@ } } }, - "/v1/gameCenterMatchmakingQueues/{id}": { + "/v2/gameCenterLeaderboardSets/{id}": { "get": { "tags": [ - "GameCenterMatchmakingQueues" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingQueues_getInstance", + "operationId": "gameCenterLeaderboardSetsV2_getInstance", "parameters": [ { - "name": "fields[gameCenterMatchmakingQueues]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ "referenceName", - "classicMatchmakingBundleIds", - "ruleSet", - "experimentRuleSet" + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" ] } }, @@ -53768,21 +53063,120 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingRuleSets]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ "referenceName", - "ruleLanguageVersion", - "minPlayers", - "maxPlayers", - "teams", - "rules", - "matchmakingQueues" + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterScoreModerations", + "activity", + "challenge", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboardSetVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "leaderboardSet", + "localizations" ] } }, @@ -53799,14 +53193,38 @@ "items": { "type": "string", "enum": [ - "ruleSet", - "experimentRuleSet" + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -53851,11 +53269,11 @@ } }, "200": { - "description": "Single GameCenterMatchmakingQueue", + "description": "Single GameCenterLeaderboardSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2Response" } } } @@ -53874,15 +53292,15 @@ }, "patch": { "tags": [ - "GameCenterMatchmakingQueues" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingQueues_updateInstance", + "operationId": "gameCenterLeaderboardSetsV2_updateInstance", "requestBody": { - "description": "GameCenterMatchmakingQueue representation", + "description": "GameCenterLeaderboardSet representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueUpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2UpdateRequest" } } }, @@ -53940,11 +53358,11 @@ } }, "200": { - "description": "Single GameCenterMatchmakingQueue", + "description": "Single GameCenterLeaderboardSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2Response" } } } @@ -53973,9 +53391,9 @@ }, "delete": { "tags": [ - "GameCenterMatchmakingQueues" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingQueues_deleteInstance", + "operationId": "gameCenterLeaderboardSetsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -54045,18 +53463,19 @@ } ] }, - "/v1/gameCenterMatchmakingRuleSetTests": { + "/v1/gameCenterLeaderboardSets": { "post": { "tags": [ - "GameCenterMatchmakingRuleSetTests" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingRuleSetTests_createInstance", + "operationId": "gameCenterLeaderboardSets_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterMatchmakingRuleSetTest representation", + "description": "GameCenterLeaderboardSet representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetTestCreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetCreateRequest" } } }, @@ -54104,11 +53523,11 @@ } }, "201": { - "description": "Single GameCenterMatchmakingRuleSetTest", + "description": "Single GameCenterLeaderboardSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetTestResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" } } } @@ -54136,29 +53555,31 @@ } } }, - "/v1/gameCenterMatchmakingRuleSets": { + "/v1/gameCenterLeaderboardSets/{id}": { "get": { "tags": [ - "GameCenterMatchmakingRuleSets" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingRuleSets_getCollection", + "operationId": "gameCenterLeaderboardSets_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterMatchmakingRuleSets]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ "referenceName", - "ruleLanguageVersion", - "minPlayers", - "maxPlayers", - "teams", - "rules", - "matchmakingQueues" + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -54167,17 +53588,38 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingTeams]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "minPlayers", - "maxPlayers" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, @@ -54186,19 +53628,24 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingRules]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ "referenceName", - "description", - "type", - "expression", - "weight" + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -54207,34 +53654,83 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingQueues]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", "referenceName", - "classicMatchmakingBundleIds", - "ruleSet", - "experimentRuleSet" + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { - "name": "limit", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" + ] + } }, - "style": "form" + "style": "form", + "explode": false, + "required": false, + "deprecated": true }, { "name": "include", @@ -54245,9 +53741,12 @@ "items": { "type": "string", "enum": [ - "teams", - "rules", - "matchmakingQueues" + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -54256,37 +53755,40 @@ "required": false }, { - "name": "limit[matchmakingQueues]", + "name": "limit[gameCenterLeaderboards]", "in": "query", - "description": "maximum number of related matchmakingQueues returned (when they are included)", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form", - "required": false + "required": false, + "deprecated": true }, { - "name": "limit[rules]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related rules returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form", - "required": false + "required": false, + "deprecated": true }, { - "name": "limit[teams]", + "name": "limit[releases]", "in": "query", - "description": "maximum number of related teams returned (when they are included)", + "description": "maximum number of related releases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form", - "required": false + "required": false, + "deprecated": true } ], "responses": { @@ -54320,16 +53822,188 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of GameCenterMatchmakingRuleSets", + "description": "Single GameCenterLeaderboardSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "GameCenterLeaderboardSets" + ], + "operationId": "gameCenterLeaderboardSets_updateInstance", + "deprecated": true, + "requestBody": { + "description": "GameCenterLeaderboardSet representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterLeaderboardSet", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "GameCenterLeaderboardSets" + ], + "operationId": "gameCenterLeaderboardSets_deleteInstance", + "deprecated": true, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -54342,17 +54016,31 @@ } } }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/gameCenterLeaderboardVersions": { "post": { "tags": [ - "GameCenterMatchmakingRuleSets" + "GameCenterLeaderboardVersions" ], - "operationId": "gameCenterMatchmakingRuleSets_createInstance", + "operationId": "gameCenterLeaderboardVersionsV2_createInstance", "requestBody": { - "description": "GameCenterMatchmakingRuleSet representation", + "description": "GameCenterLeaderboardVersion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetCreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardVersionV2CreateRequest" } } }, @@ -54400,11 +54088,11 @@ } }, "201": { - "description": "Single GameCenterMatchmakingRuleSet", + "description": "Single GameCenterLeaderboardVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardVersionV2Response" } } } @@ -54432,29 +54120,26 @@ } } }, - "/v1/gameCenterMatchmakingRuleSets/{id}": { + "/v2/gameCenterLeaderboardVersions/{id}": { "get": { "tags": [ - "GameCenterMatchmakingRuleSets" + "GameCenterLeaderboardVersions" ], - "operationId": "gameCenterMatchmakingRuleSets_getInstance", + "operationId": "gameCenterLeaderboardVersionsV2_getInstance", "parameters": [ { - "name": "fields[gameCenterMatchmakingRuleSets]", + "name": "fields[gameCenterLeaderboardVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", + "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "ruleLanguageVersion", - "minPlayers", - "maxPlayers", - "teams", - "rules", - "matchmakingQueues" + "version", + "state", + "leaderboard", + "localizations" ] } }, @@ -54463,17 +54148,34 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingTeams]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", "referenceName", - "minPlayers", - "maxPlayers" + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterScoreModerations", + "activity", + "challenge", + "versions" ] } }, @@ -54482,39 +54184,22 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingRules]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", "description", - "type", - "expression", - "weight" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterMatchmakingQueues]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "classicMatchmakingBundleIds", - "ruleSet", - "experimentRuleSet" + "version", + "image" ] } }, @@ -54531,9 +54216,8 @@ "items": { "type": "string", "enum": [ - "teams", - "rules", - "matchmakingQueues" + "leaderboard", + "localizations" ] } }, @@ -54542,31 +54226,9 @@ "required": false }, { - "name": "limit[matchmakingQueues]", - "in": "query", - "description": "maximum number of related matchmakingQueues returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[rules]", - "in": "query", - "description": "maximum number of related rules returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[teams]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related teams returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -54617,11 +54279,11 @@ } }, "200": { - "description": "Single GameCenterMatchmakingRuleSet", + "description": "Single GameCenterLeaderboardVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardVersionV2Response" } } } @@ -54638,17 +54300,32 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterLeaderboards": { + "post": { "tags": [ - "GameCenterMatchmakingRuleSets" + "GameCenterLeaderboards" ], - "operationId": "gameCenterMatchmakingRuleSets_updateInstance", + "operationId": "gameCenterLeaderboards_createInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterMatchmakingRuleSet representation", + "description": "GameCenterLeaderboard representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetUpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardCreateRequest" } } }, @@ -54685,16 +54362,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -54705,12 +54372,12 @@ } } }, - "200": { - "description": "Single GameCenterMatchmakingRuleSet", + "201": { + "description": "Single GameCenterLeaderboard", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardResponse" } } } @@ -54736,98 +54403,307 @@ } } } - }, - "delete": { + } + }, + "/v1/gameCenterLeaderboards/{id}": { + "get": { "tags": [ - "GameCenterMatchmakingRuleSets" + "GameCenterLeaderboards" ], - "operationId": "gameCenterMatchmakingRuleSets_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "operationId": "gameCenterLeaderboards_getInstance", + "deprecated": true, + "parameters": [ + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] } - } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true }, - "204": { - "description": "Success (no content)" + { + "name": "fields[gameCenterLeaderboardLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboard" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterMatchmakingRules": { - "post": { - "tags": [ - "GameCenterMatchmakingRules" - ], - "operationId": "gameCenterMatchmakingRules_createInstance", - "requestBody": { - "description": "GameCenterMatchmakingRule representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleCreateRequest" + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false, + "deprecated": true + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -54859,8 +54735,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -54869,22 +54745,12 @@ } } }, - "201": { - "description": "Single GameCenterMatchmakingRule", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single GameCenterLeaderboard", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardResponse" } } } @@ -54900,20 +54766,19 @@ } } } - } - }, - "/v1/gameCenterMatchmakingRules/{id}": { + }, "patch": { "tags": [ - "GameCenterMatchmakingRules" + "GameCenterLeaderboards" ], - "operationId": "gameCenterMatchmakingRules_updateInstance", + "operationId": "gameCenterLeaderboards_updateInstance", + "deprecated": true, "requestBody": { - "description": "GameCenterMatchmakingRule representation", + "description": "GameCenterLeaderboard representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleUpdateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardUpdateRequest" } } }, @@ -54971,11 +54836,11 @@ } }, "200": { - "description": "Single GameCenterMatchmakingRule", + "description": "Single GameCenterLeaderboard", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardResponse" } } } @@ -55004,9 +54869,10 @@ }, "delete": { "tags": [ - "GameCenterMatchmakingRules" + "GameCenterLeaderboards" ], - "operationId": "gameCenterMatchmakingRules_deleteInstance", + "operationId": "gameCenterLeaderboards_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -55076,18 +54942,18 @@ } ] }, - "/v1/gameCenterMatchmakingTeams": { + "/v2/gameCenterLeaderboards": { "post": { "tags": [ - "GameCenterMatchmakingTeams" + "GameCenterLeaderboards" ], - "operationId": "gameCenterMatchmakingTeams_createInstance", + "operationId": "gameCenterLeaderboardsV2_createInstance", "requestBody": { - "description": "GameCenterMatchmakingTeam representation", + "description": "GameCenterLeaderboard representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingTeamCreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardV2CreateRequest" } } }, @@ -55135,11 +55001,11 @@ } }, "201": { - "description": "Single GameCenterMatchmakingTeam", + "description": "Single GameCenterLeaderboard", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingTeamResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardV2Response" } } } @@ -55167,111 +55033,259 @@ } } }, - "/v1/gameCenterMatchmakingTeams/{id}": { - "patch": { + "/v2/gameCenterLeaderboards/{id}": { + "get": { "tags": [ - "GameCenterMatchmakingTeams" + "GameCenterLeaderboards" ], - "operationId": "gameCenterMatchmakingTeams_updateInstance", - "requestBody": { - "description": "GameCenterMatchmakingTeam representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingTeamUpdateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "operationId": "gameCenterLeaderboardsV2_getInstance", + "parameters": [ + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterScoreModerations", + "activity", + "challenge", + "versions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "200": { - "description": "Single GameCenterMatchmakingTeam", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingTeamResponse" - } + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterLeaderboardVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "leaderboard", + "localizations" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "activity", + "challenge", + "versions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } - } - }, - "delete": { - "tags": [ - "GameCenterMatchmakingTeams" ], - "operationId": "gameCenterMatchmakingTeams_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -55313,8 +55327,15 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single GameCenterLeaderboard", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardV2Response" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -55328,31 +55349,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterPlayerAchievementSubmissions": { - "post": { + "patch": { "tags": [ - "GameCenterPlayerAchievementSubmissions" + "GameCenterLeaderboards" ], - "operationId": "gameCenterPlayerAchievementSubmissions_createInstance", + "operationId": "gameCenterLeaderboardsV2_updateInstance", "requestBody": { - "description": "GameCenterPlayerAchievementSubmission representation", + "description": "GameCenterLeaderboard representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterPlayerAchievementSubmissionCreateRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardV2UpdateRequest" } } }, @@ -55389,6 +55396,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -55399,12 +55416,12 @@ } } }, - "201": { - "description": "Single GameCenterPlayerAchievementSubmission", + "200": { + "description": "Single GameCenterLeaderboard", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterPlayerAchievementSubmissionResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardV2Response" } } } @@ -55430,25 +55447,12 @@ } } } - } - }, - "/v1/gameCenterScoreModerations/{id}": { - "patch": { + }, + "delete": { "tags": [ - "GameCenterScoreModerations" + "GameCenterLeaderboards" ], - "operationId": "gameCenterScoreModerations_updateInstance", - "requestBody": { - "description": "GameCenterScoreModeration representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterScoreModerationUpdateRequest" - } - } - }, - "required": true - }, + "operationId": "gameCenterLeaderboardsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -55490,8 +55494,11 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -55499,19 +55506,124 @@ } } } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - "200": { - "description": "Single GameCenterScoreModeration", + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingQueues": { + "get": { + "tags": [ + "GameCenterMatchmakingQueues" + ], + "operationId": "gameCenterMatchmakingQueues_getCollection", + "parameters": [ + { + "name": "fields[gameCenterMatchmakingQueues]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterMatchmakingRuleSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "ruleLanguageVersion", + "minPlayers", + "maxPlayers", + "teams", + "rules", + "matchmakingQueues" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ruleSet", + "experimentRuleSet" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterScoreModerationResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "409": { - "description": "Request entity error(s)", + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", "content": { "application/json": { "schema": { @@ -55520,6 +55632,16 @@ } } }, + "200": { + "description": "List of GameCenterMatchmakingQueues", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingQueuesResponse" + } + } + } + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -55532,31 +55654,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/inAppPurchaseAppStoreReviewScreenshots": { "post": { "tags": [ - "InAppPurchaseAppStoreReviewScreenshots" + "GameCenterMatchmakingQueues" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots_createInstance", + "operationId": "gameCenterMatchmakingQueues_createInstance", "requestBody": { - "description": "InAppPurchaseAppStoreReviewScreenshot representation", + "description": "GameCenterMatchmakingQueue representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotCreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueCreateRequest" } } }, @@ -55604,11 +55712,11 @@ } }, "201": { - "description": "Single InAppPurchaseAppStoreReviewScreenshot", + "description": "Single GameCenterMatchmakingQueue", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueResponse" } } } @@ -55636,31 +55744,26 @@ } } }, - "/v1/inAppPurchaseAppStoreReviewScreenshots/{id}": { + "/v1/gameCenterMatchmakingQueues/{id}": { "get": { "tags": [ - "InAppPurchaseAppStoreReviewScreenshots" + "GameCenterMatchmakingQueues" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots_getInstance", + "operationId": "gameCenterMatchmakingQueues_getInstance", "parameters": [ { - "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", + "name": "fields[gameCenterMatchmakingQueues]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "inAppPurchaseV2" + "referenceName", + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" ] } }, @@ -55669,31 +55772,21 @@ "required": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[gameCenterMatchmakingRuleSets]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "referenceName", + "ruleLanguageVersion", + "minPlayers", + "maxPlayers", + "teams", + "rules", + "matchmakingQueues" ] } }, @@ -55710,7 +55803,8 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2" + "ruleSet", + "experimentRuleSet" ] } }, @@ -55761,11 +55855,11 @@ } }, "200": { - "description": "Single InAppPurchaseAppStoreReviewScreenshot", + "description": "Single GameCenterMatchmakingQueue", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueResponse" } } } @@ -55784,15 +55878,15 @@ }, "patch": { "tags": [ - "InAppPurchaseAppStoreReviewScreenshots" + "GameCenterMatchmakingQueues" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots_updateInstance", + "operationId": "gameCenterMatchmakingQueues_updateInstance", "requestBody": { - "description": "InAppPurchaseAppStoreReviewScreenshot representation", + "description": "GameCenterMatchmakingQueue representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotUpdateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueUpdateRequest" } } }, @@ -55850,11 +55944,11 @@ } }, "200": { - "description": "Single InAppPurchaseAppStoreReviewScreenshot", + "description": "Single GameCenterMatchmakingQueue", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueResponse" } } } @@ -55883,9 +55977,9 @@ }, "delete": { "tags": [ - "InAppPurchaseAppStoreReviewScreenshots" + "GameCenterMatchmakingQueues" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots_deleteInstance", + "operationId": "gameCenterMatchmakingQueues_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -55955,18 +56049,18 @@ } ] }, - "/v1/inAppPurchaseAvailabilities": { + "/v1/gameCenterMatchmakingRuleSetTests": { "post": { "tags": [ - "InAppPurchaseAvailabilities" + "GameCenterMatchmakingRuleSetTests" ], - "operationId": "inAppPurchaseAvailabilities_createInstance", + "operationId": "gameCenterMatchmakingRuleSetTests_createInstance", "requestBody": { - "description": "InAppPurchaseAvailability representation", + "description": "GameCenterMatchmakingRuleSetTest representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAvailabilityCreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetTestCreateRequest" } } }, @@ -56014,11 +56108,11 @@ } }, "201": { - "description": "Single InAppPurchaseAvailability", + "description": "Single GameCenterMatchmakingRuleSetTest", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetTestResponse" } } } @@ -56046,24 +56140,29 @@ } } }, - "/v1/inAppPurchaseAvailabilities/{id}": { + "/v1/gameCenterMatchmakingRuleSets": { "get": { "tags": [ - "InAppPurchaseAvailabilities" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseAvailabilities_getInstance", + "operationId": "gameCenterMatchmakingRuleSets_getCollection", "parameters": [ { - "name": "fields[inAppPurchaseAvailabilities]", + "name": "fields[gameCenterMatchmakingRuleSets]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories" + "referenceName", + "ruleLanguageVersion", + "minPlayers", + "maxPlayers", + "teams", + "rules", + "matchmakingQueues" ] } }, @@ -56072,15 +56171,17 @@ "required": false }, { - "name": "fields[territories]", + "name": "fields[gameCenterMatchmakingTeams]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "referenceName", + "minPlayers", + "maxPlayers" ] } }, @@ -56089,15 +56190,19 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterMatchmakingRules]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableTerritories" + "referenceName", + "description", + "type", + "expression", + "weight" ] } }, @@ -56106,114 +56211,47 @@ "required": false }, { - "name": "limit[availableTerritories]", + "name": "fields[gameCenterMatchmakingQueues]", "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" + ] + } }, "style": "form", + "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single InAppPurchaseAvailability", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" - } - } - } }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" }, - "style": "simple", - "required": true - } - ] - }, - "/v1/inAppPurchaseContents/{id}": { - "get": { - "tags": [ - "InAppPurchaseContents" - ], - "operationId": "inAppPurchaseContents_getInstance", - "parameters": [ { - "name": "fields[inAppPurchaseContents]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileName", - "fileSize", - "url", - "lastModifiedDate", - "inAppPurchaseV2" + "teams", + "rules", + "matchmakingQueues" ] } }, @@ -56222,53 +56260,36 @@ "required": false }, { - "name": "fields[inAppPurchases]", + "name": "limit[matchmakingQueues]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "maximum number of related matchmakingQueues returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "include", + "name": "limit[rules]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related rules returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchaseV2" - ] - } + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[teams]", + "in": "query", + "description": "maximum number of related teams returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false } ], @@ -56303,22 +56324,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single InAppPurchaseContent", + "description": "List of GameCenterMatchmakingRuleSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseContentResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetsResponse" } } } @@ -56335,31 +56346,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/inAppPurchaseImages": { "post": { "tags": [ - "InAppPurchaseImages" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseImages_createInstance", + "operationId": "gameCenterMatchmakingRuleSets_createInstance", "requestBody": { - "description": "InAppPurchaseImage representation", + "description": "GameCenterMatchmakingRuleSet representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageCreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetCreateRequest" } } }, @@ -56407,11 +56404,11 @@ } }, "201": { - "description": "Single InAppPurchaseImage", + "description": "Single GameCenterMatchmakingRuleSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetResponse" } } } @@ -56439,30 +56436,29 @@ } } }, - "/v1/inAppPurchaseImages/{id}": { + "/v1/gameCenterMatchmakingRuleSets/{id}": { "get": { "tags": [ - "InAppPurchaseImages" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseImages_getInstance", + "operationId": "gameCenterMatchmakingRuleSets_getInstance", "parameters": [ { - "name": "fields[inAppPurchaseImages]", + "name": "fields[gameCenterMatchmakingRuleSets]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseImages", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "assetToken", - "imageAsset", - "uploadOperations", - "state", - "inAppPurchase" + "referenceName", + "ruleLanguageVersion", + "minPlayers", + "maxPlayers", + "teams", + "rules", + "matchmakingQueues" ] } }, @@ -56471,31 +56467,58 @@ "required": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[gameCenterMatchmakingTeams]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "referenceName", + "minPlayers", + "maxPlayers" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterMatchmakingRules]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "description", + "type", + "expression", + "weight" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterMatchmakingQueues]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" ] } }, @@ -56512,13 +56535,48 @@ "items": { "type": "string", "enum": [ - "inAppPurchase" + "teams", + "rules", + "matchmakingQueues" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[matchmakingQueues]", + "in": "query", + "description": "maximum number of related matchmakingQueues returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[rules]", + "in": "query", + "description": "maximum number of related rules returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[teams]", + "in": "query", + "description": "maximum number of related teams returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -56563,11 +56621,11 @@ } }, "200": { - "description": "Single InAppPurchaseImage", + "description": "Single GameCenterMatchmakingRuleSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetResponse" } } } @@ -56586,15 +56644,15 @@ }, "patch": { "tags": [ - "InAppPurchaseImages" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseImages_updateInstance", + "operationId": "gameCenterMatchmakingRuleSets_updateInstance", "requestBody": { - "description": "InAppPurchaseImage representation", + "description": "GameCenterMatchmakingRuleSet representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageUpdateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetUpdateRequest" } } }, @@ -56652,11 +56710,11 @@ } }, "200": { - "description": "Single InAppPurchaseImage", + "description": "Single GameCenterMatchmakingRuleSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetResponse" } } } @@ -56685,9 +56743,9 @@ }, "delete": { "tags": [ - "InAppPurchaseImages" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseImages_deleteInstance", + "operationId": "gameCenterMatchmakingRuleSets_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -56757,18 +56815,18 @@ } ] }, - "/v2/inAppPurchaseImages": { + "/v1/gameCenterMatchmakingRules": { "post": { "tags": [ - "InAppPurchaseImages" + "GameCenterMatchmakingRules" ], - "operationId": "inAppPurchaseImagesV2_createInstance", + "operationId": "gameCenterMatchmakingRules_createInstance", "requestBody": { - "description": "InAppPurchaseImage representation", + "description": "GameCenterMatchmakingRule representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageV2CreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleCreateRequest" } } }, @@ -56816,11 +56874,11 @@ } }, "201": { - "description": "Single InAppPurchaseImage", + "description": "Single GameCenterMatchmakingRule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageV2Response" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleResponse" } } } @@ -56848,36 +56906,23 @@ } } }, - "/v2/inAppPurchaseImages/{id}": { - "get": { + "/v1/gameCenterMatchmakingRules/{id}": { + "patch": { "tags": [ - "InAppPurchaseImages" + "GameCenterMatchmakingRules" ], - "operationId": "inAppPurchaseImagesV2_getInstance", - "parameters": [ - { - "name": "fields[inAppPurchaseImages]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" - ] + "operationId": "gameCenterMatchmakingRules_updateInstance", + "requestBody": { + "description": "GameCenterMatchmakingRule representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingRuleUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false - } - ], + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -56919,12 +56964,32 @@ } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "Single InAppPurchaseImage", + "description": "Single GameCenterMatchmakingRule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageV2Response" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -56941,22 +57006,11 @@ } } }, - "patch": { + "delete": { "tags": [ - "InAppPurchaseImages" + "GameCenterMatchmakingRules" ], - "operationId": "inAppPurchaseImagesV2_updateInstance", - "requestBody": { - "description": "InAppPurchaseImage representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageV2UpdateRequest" - } - } - }, - "required": true - }, + "operationId": "gameCenterMatchmakingRules_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -56998,8 +57052,11 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -57007,19 +57064,42 @@ } } } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - "200": { - "description": "Single InAppPurchaseImage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageV2Response" - } + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingTeams": { + "post": { + "tags": [ + "GameCenterMatchmakingTeams" + ], + "operationId": "gameCenterMatchmakingTeams_createInstance", + "requestBody": { + "description": "GameCenterMatchmakingTeam representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingTeamCreateRequest" } } }, - "409": { - "description": "Request entity error(s)", + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -57028,8 +57108,8 @@ } } }, - "429": { - "description": "Rate limit exceeded error", + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -57037,17 +57117,9 @@ } } } - } - } - }, - "delete": { - "tags": [ - "InAppPurchaseImages" - ], - "operationId": "inAppPurchaseImagesV2_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", + }, + "403": { + "description": "Forbidden error", "content": { "application/json": { "schema": { @@ -57056,8 +57128,8 @@ } } }, - "401": { - "description": "Unauthorized error(s)", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -57066,18 +57138,18 @@ } } }, - "403": { - "description": "Forbidden error", + "201": { + "description": "Single GameCenterMatchmakingTeam", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingTeamResponse" } } } }, - "404": { - "description": "Not found error", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -57086,9 +57158,6 @@ } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -57100,32 +57169,20 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/inAppPurchaseLocalizations": { - "post": { + "/v1/gameCenterMatchmakingTeams/{id}": { + "patch": { "tags": [ - "InAppPurchaseLocalizations" + "GameCenterMatchmakingTeams" ], - "operationId": "inAppPurchaseLocalizations_createInstance", + "operationId": "gameCenterMatchmakingTeams_updateInstance", "requestBody": { - "description": "InAppPurchaseLocalization representation", + "description": "GameCenterMatchmakingTeam representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationCreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingTeamUpdateRequest" } } }, @@ -57162,6 +57219,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -57172,12 +57239,12 @@ } } }, - "201": { - "description": "Single InAppPurchaseLocalization", + "200": { + "description": "Single GameCenterMatchmakingTeam", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingTeamResponse" } } } @@ -57203,87 +57270,12 @@ } } } - } - }, - "/v1/inAppPurchaseLocalizations/{id}": { - "get": { + }, + "delete": { "tags": [ - "InAppPurchaseLocalizations" - ], - "operationId": "inAppPurchaseLocalizations_getInstance", - "parameters": [ - { - "name": "fields[inAppPurchaseLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "locale", - "description", - "state", - "inAppPurchaseV2" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchaseV2" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } + "GameCenterMatchmakingTeams" ], + "operationId": "gameCenterMatchmakingTeams_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -57325,15 +57317,8 @@ } } }, - "200": { - "description": "Single InAppPurchaseLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -57347,17 +57332,31 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterPlayerAchievementSubmissions": { + "post": { "tags": [ - "InAppPurchaseLocalizations" + "GameCenterPlayerAchievementSubmissions" ], - "operationId": "inAppPurchaseLocalizations_updateInstance", + "operationId": "gameCenterPlayerAchievementSubmissions_createInstance", "requestBody": { - "description": "InAppPurchaseLocalization representation", + "description": "GameCenterPlayerAchievementSubmission representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationUpdateRequest" + "$ref": "#/components/schemas/GameCenterPlayerAchievementSubmissionCreateRequest" } } }, @@ -57394,16 +57393,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -57414,12 +57403,12 @@ } } }, - "200": { - "description": "Single InAppPurchaseLocalization", + "201": { + "description": "Single GameCenterPlayerAchievementSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" + "$ref": "#/components/schemas/GameCenterPlayerAchievementSubmissionResponse" } } } @@ -57445,12 +57434,25 @@ } } } - }, - "delete": { + } + }, + "/v1/gameCenterScoreModerations/{id}": { + "patch": { "tags": [ - "InAppPurchaseLocalizations" + "GameCenterScoreModerations" ], - "operationId": "inAppPurchaseLocalizations_deleteInstance", + "operationId": "gameCenterScoreModerations_updateInstance", + "requestBody": { + "description": "GameCenterScoreModeration representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterScoreModerationUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -57492,8 +57494,35 @@ } } }, - "204": { - "description": "Success (no content)" + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterScoreModeration", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterScoreModerationResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -57520,18 +57549,18 @@ } ] }, - "/v2/inAppPurchaseLocalizations": { + "/v1/inAppPurchaseAppStoreReviewScreenshots": { "post": { "tags": [ - "InAppPurchaseLocalizations" + "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchaseLocalizationsV2_createInstance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots_createInstance", "requestBody": { - "description": "InAppPurchaseLocalization representation", + "description": "InAppPurchaseAppStoreReviewScreenshot representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationV2CreateRequest" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotCreateRequest" } } }, @@ -57579,11 +57608,11 @@ } }, "201": { - "description": "Single InAppPurchaseLocalization", + "description": "Single InAppPurchaseAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationV2Response" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" } } } @@ -57611,26 +57640,31 @@ } } }, - "/v2/inAppPurchaseLocalizations/{id}": { + "/v1/inAppPurchaseAppStoreReviewScreenshots/{id}": { "get": { "tags": [ - "InAppPurchaseLocalizations" + "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchaseLocalizationsV2_getInstance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots_getInstance", "parameters": [ { - "name": "fields[inAppPurchaseLocalizations]", + "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "locale", - "description", - "version" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "inAppPurchaseV2" ] } }, @@ -57639,20 +57673,31 @@ "required": false }, { - "name": "fields[inAppPurchaseVersions]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseVersions", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", + "name", + "productId", + "inAppPurchaseType", "state", - "inAppPurchase", - "image", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", "images", - "localizations" + "offerCodes", + "versions" ] } }, @@ -57669,7 +57714,7 @@ "items": { "type": "string", "enum": [ - "version" + "inAppPurchaseV2" ] } }, @@ -57720,11 +57765,11 @@ } }, "200": { - "description": "Single InAppPurchaseLocalization", + "description": "Single InAppPurchaseAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationV2Response" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" } } } @@ -57743,15 +57788,15 @@ }, "patch": { "tags": [ - "InAppPurchaseLocalizations" + "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchaseLocalizationsV2_updateInstance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots_updateInstance", "requestBody": { - "description": "InAppPurchaseLocalization representation", + "description": "InAppPurchaseAppStoreReviewScreenshot representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationV2UpdateRequest" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotUpdateRequest" } } }, @@ -57809,11 +57854,11 @@ } }, "200": { - "description": "Single InAppPurchaseLocalization", + "description": "Single InAppPurchaseAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationV2Response" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" } } } @@ -57842,9 +57887,9 @@ }, "delete": { "tags": [ - "InAppPurchaseLocalizations" + "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchaseLocalizationsV2_deleteInstance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -57914,18 +57959,18 @@ } ] }, - "/v1/inAppPurchaseOfferCodeCustomCodes": { + "/v1/inAppPurchaseAvailabilities": { "post": { "tags": [ - "InAppPurchaseOfferCodeCustomCodes" + "InAppPurchaseAvailabilities" ], - "operationId": "inAppPurchaseOfferCodeCustomCodes_createInstance", + "operationId": "inAppPurchaseAvailabilities_createInstance", "requestBody": { - "description": "InAppPurchaseOfferCodeCustomCode representation", + "description": "InAppPurchaseAvailability representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseAvailabilityCreateRequest" } } }, @@ -57973,11 +58018,11 @@ } }, "201": { - "description": "Single InAppPurchaseOfferCodeCustomCode", + "description": "Single InAppPurchaseAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeResponse" + "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" } } } @@ -58005,29 +58050,24 @@ } } }, - "/v1/inAppPurchaseOfferCodeCustomCodes/{id}": { + "/v1/inAppPurchaseAvailabilities/{id}": { "get": { "tags": [ - "InAppPurchaseOfferCodeCustomCodes" + "InAppPurchaseAvailabilities" ], - "operationId": "inAppPurchaseOfferCodeCustomCodes_getInstance", + "operationId": "inAppPurchaseAvailabilities_getInstance", "parameters": [ { - "name": "fields[inAppPurchaseOfferCodeCustomCodes]", + "name": "fields[inAppPurchaseAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeCustomCodes", + "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customCode", - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "createdByActor", - "deactivatedByActor" + "availableInNewTerritories", + "availableTerritories" ] } }, @@ -58036,19 +58076,15 @@ "required": false }, { - "name": "fields[actors]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type actors", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actorType", - "userFirstName", - "userLastName", - "userEmail", - "apiKeyId" + "currency" ] } }, @@ -58065,14 +58101,24 @@ "items": { "type": "string", "enum": [ - "createdByActor", - "deactivatedByActor" + "availableTerritories" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[availableTerritories]", + "in": "query", + "description": "maximum number of related availableTerritories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -58117,11 +58163,11 @@ } }, "200": { - "description": "Single InAppPurchaseOfferCodeCustomCode", + "description": "Single InAppPurchaseAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeResponse" + "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" } } } @@ -58138,22 +58184,98 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseContents/{id}": { + "get": { "tags": [ - "InAppPurchaseOfferCodeCustomCodes" + "InAppPurchaseContents" ], - "operationId": "inAppPurchaseOfferCodeCustomCodes_updateInstance", - "requestBody": { - "description": "InAppPurchaseOfferCodeCustomCode representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeUpdateRequest" + "operationId": "inAppPurchaseContents_getInstance", + "parameters": [ + { + "name": "fields[inAppPurchaseContents]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseContents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileName", + "fileSize", + "url", + "lastModifiedDate", + "inAppPurchaseV2" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchaseV2" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -58195,32 +58317,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single InAppPurchaseOfferCodeCustomCode", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single InAppPurchaseContent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/InAppPurchaseContentResponse" } } } @@ -58250,18 +58352,18 @@ } ] }, - "/v1/inAppPurchaseOfferCodeOneTimeUseCodes": { + "/v1/inAppPurchaseImages": { "post": { "tags": [ - "InAppPurchaseOfferCodeOneTimeUseCodes" + "InAppPurchaseImages" ], - "operationId": "inAppPurchaseOfferCodeOneTimeUseCodes_createInstance", + "operationId": "inAppPurchaseImages_createInstance", "requestBody": { - "description": "InAppPurchaseOfferCodeOneTimeUseCode representation", + "description": "InAppPurchaseImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseImageCreateRequest" } } }, @@ -58309,11 +58411,11 @@ } }, "201": { - "description": "Single InAppPurchaseOfferCodeOneTimeUseCode", + "description": "Single InAppPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeResponse" + "$ref": "#/components/schemas/InAppPurchaseImageResponse" } } } @@ -58341,30 +58443,30 @@ } } }, - "/v1/inAppPurchaseOfferCodeOneTimeUseCodes/{id}": { + "/v1/inAppPurchaseImages/{id}": { "get": { "tags": [ - "InAppPurchaseOfferCodeOneTimeUseCodes" + "InAppPurchaseImages" ], - "operationId": "inAppPurchaseOfferCodeOneTimeUseCodes_getInstance", + "operationId": "inAppPurchaseImages_getInstance", "parameters": [ { - "name": "fields[inAppPurchaseOfferCodeOneTimeUseCodes]", + "name": "fields[inAppPurchaseImages]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeOneTimeUseCodes", + "description": "the fields to include for returned resources of type inAppPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "environment", - "values", - "createdByActor", - "deactivatedByActor" + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "state", + "inAppPurchase" ] } }, @@ -58373,19 +58475,31 @@ "required": false }, { - "name": "fields[actors]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type actors", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actorType", - "userFirstName", - "userLastName", - "userEmail", - "apiKeyId" + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" ] } }, @@ -58402,8 +58516,7 @@ "items": { "type": "string", "enum": [ - "createdByActor", - "deactivatedByActor" + "inAppPurchase" ] } }, @@ -58454,11 +58567,11 @@ } }, "200": { - "description": "Single InAppPurchaseOfferCodeOneTimeUseCode", + "description": "Single InAppPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeResponse" + "$ref": "#/components/schemas/InAppPurchaseImageResponse" } } } @@ -58477,15 +58590,15 @@ }, "patch": { "tags": [ - "InAppPurchaseOfferCodeOneTimeUseCodes" + "InAppPurchaseImages" ], - "operationId": "inAppPurchaseOfferCodeOneTimeUseCodes_updateInstance", + "operationId": "inAppPurchaseImages_updateInstance", "requestBody": { - "description": "InAppPurchaseOfferCodeOneTimeUseCode representation", + "description": "InAppPurchaseImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest" + "$ref": "#/components/schemas/InAppPurchaseImageUpdateRequest" } } }, @@ -58543,11 +58656,11 @@ } }, "200": { - "description": "Single InAppPurchaseOfferCodeOneTimeUseCode", + "description": "Single InAppPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeResponse" + "$ref": "#/components/schemas/InAppPurchaseImageResponse" } } } @@ -58574,6 +58687,67 @@ } } }, + "delete": { + "tags": [ + "InAppPurchaseImages" + ], + "operationId": "inAppPurchaseImages_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, "parameters": [ { "name": "id", @@ -58587,18 +58761,18 @@ } ] }, - "/v1/inAppPurchaseOfferCodes": { + "/v2/inAppPurchaseImages": { "post": { "tags": [ - "InAppPurchaseOfferCodes" + "InAppPurchaseImages" ], - "operationId": "inAppPurchaseOfferCodes_createInstance", + "operationId": "inAppPurchaseImagesV2_createInstance", "requestBody": { - "description": "InAppPurchaseOfferCode representation", + "description": "InAppPurchaseImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseImageV2CreateRequest" } } }, @@ -58646,11 +58820,11 @@ } }, "201": { - "description": "Single InAppPurchaseOfferCode", + "description": "Single InAppPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeResponse" + "$ref": "#/components/schemas/InAppPurchaseImageV2Response" } } } @@ -58678,153 +58852,34 @@ } } }, - "/v1/inAppPurchaseOfferCodes/{id}": { + "/v2/inAppPurchaseImages/{id}": { "get": { "tags": [ - "InAppPurchaseOfferCodes" + "InAppPurchaseImages" ], - "operationId": "inAppPurchaseOfferCodes_getInstance", + "operationId": "inAppPurchaseImagesV2_getInstance", "parameters": [ { - "name": "fields[inAppPurchaseOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "customerEligibilities", - "productionCodeCount", - "sandboxCodeCount", - "active", - "oneTimeUseCodes", - "customCodes", - "prices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseOfferCodeOneTimeUseCodes]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeOneTimeUseCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "environment", - "values", - "createdByActor", - "deactivatedByActor" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseOfferCodeCustomCodes]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeCustomCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customCode", - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "createdByActor", - "deactivatedByActor" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseOfferPrices]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory", - "pricePoint" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", + "name": "fields[inAppPurchaseImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type inAppPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "oneTimeUseCodes", - "customCodes", - "prices" + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[customCodes]", - "in": "query", - "description": "maximum number of related customCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[oneTimeUseCodes]", - "in": "query", - "description": "maximum number of related oneTimeUseCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -58869,11 +58924,11 @@ } }, "200": { - "description": "Single InAppPurchaseOfferCode", + "description": "Single InAppPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeResponse" + "$ref": "#/components/schemas/InAppPurchaseImageV2Response" } } } @@ -58892,15 +58947,15 @@ }, "patch": { "tags": [ - "InAppPurchaseOfferCodes" + "InAppPurchaseImages" ], - "operationId": "inAppPurchaseOfferCodes_updateInstance", + "operationId": "inAppPurchaseImagesV2_updateInstance", "requestBody": { - "description": "InAppPurchaseOfferCode representation", + "description": "InAppPurchaseImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeUpdateRequest" + "$ref": "#/components/schemas/InAppPurchaseImageV2UpdateRequest" } } }, @@ -58958,11 +59013,11 @@ } }, "200": { - "description": "Single InAppPurchaseOfferCode", + "description": "Single InAppPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeResponse" + "$ref": "#/components/schemas/InAppPurchaseImageV2Response" } } } @@ -58989,6 +59044,67 @@ } } }, + "delete": { + "tags": [ + "InAppPurchaseImages" + ], + "operationId": "inAppPurchaseImagesV2_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, "parameters": [ { "name": "id", @@ -59002,18 +59118,18 @@ } ] }, - "/v1/inAppPurchasePriceSchedules": { + "/v1/inAppPurchaseLocalizations": { "post": { "tags": [ - "InAppPurchasePriceSchedules" + "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchasePriceSchedules_createInstance", + "operationId": "inAppPurchaseLocalizations_createInstance", "requestBody": { - "description": "InAppPurchasePriceSchedule representation", + "description": "InAppPurchaseLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseLocalizationCreateRequest" } } }, @@ -59061,11 +59177,11 @@ } }, "201": { - "description": "Single InAppPurchasePriceSchedule", + "description": "Single InAppPurchaseLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" } } } @@ -59093,42 +59209,27 @@ } } }, - "/v1/inAppPurchasePriceSchedules/{id}": { + "/v1/inAppPurchaseLocalizations/{id}": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchasePriceSchedules_getInstance", + "operationId": "inAppPurchaseLocalizations_getInstance", "parameters": [ { - "name": "fields[inAppPurchasePriceSchedules]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "baseTerritory", - "manualPrices", - "automaticPrices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[territories]", + "name": "fields[inAppPurchaseLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "locale", + "description", + "state", + "inAppPurchaseV2" ] } }, @@ -59137,19 +59238,31 @@ "required": false }, { - "name": "fields[inAppPurchasePrices]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "startDate", - "endDate", - "manual", - "inAppPurchasePricePoint", - "territory" + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" ] } }, @@ -59166,37 +59279,13 @@ "items": { "type": "string", "enum": [ - "baseTerritory", - "manualPrices", - "automaticPrices" + "inAppPurchaseV2" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[automaticPrices]", - "in": "query", - "description": "maximum number of related automaticPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[manualPrices]", - "in": "query", - "description": "maximum number of related manualPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -59241,11 +59330,11 @@ } }, "200": { - "description": "Single InAppPurchasePriceSchedule", + "description": "Single InAppPurchaseLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" } } } @@ -59262,31 +59351,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/inAppPurchaseSubmissions": { - "post": { + "patch": { "tags": [ - "InAppPurchaseSubmissions" + "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchaseSubmissions_createInstance", + "operationId": "inAppPurchaseLocalizations_updateInstance", "requestBody": { - "description": "InAppPurchaseSubmission representation", + "description": "InAppPurchaseLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseSubmissionCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseLocalizationUpdateRequest" } } }, @@ -59323,6 +59398,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -59333,12 +59418,12 @@ } } }, - "201": { - "description": "Single InAppPurchaseSubmission", + "200": { + "description": "Single InAppPurchaseLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseSubmissionResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" } } } @@ -59364,20 +59449,93 @@ } } } - } + }, + "delete": { + "tags": [ + "InAppPurchaseLocalizations" + ], + "operationId": "inAppPurchaseLocalizations_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/inAppPurchaseVersions": { + "/v2/inAppPurchaseLocalizations": { "post": { "tags": [ - "InAppPurchaseVersions" + "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchaseVersions_createInstance", + "operationId": "inAppPurchaseLocalizationsV2_createInstance", "requestBody": { - "description": "InAppPurchaseVersion representation", + "description": "InAppPurchaseLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseVersionCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseLocalizationV2CreateRequest" } } }, @@ -59425,11 +59583,11 @@ } }, "201": { - "description": "Single InAppPurchaseVersion", + "description": "Single InAppPurchaseLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseVersionResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationV2Response" } } } @@ -59457,28 +59615,26 @@ } } }, - "/v1/inAppPurchaseVersions/{id}": { + "/v2/inAppPurchaseLocalizations/{id}": { "get": { "tags": [ - "InAppPurchaseVersions" + "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchaseVersions_getInstance", + "operationId": "inAppPurchaseLocalizationsV2_getInstance", "parameters": [ { - "name": "fields[inAppPurchaseVersions]", + "name": "fields[inAppPurchaseLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseVersions", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "inAppPurchase", - "image", - "images", - "localizations" + "name", + "locale", + "description", + "version" ] } }, @@ -59487,73 +59643,20 @@ "required": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[inAppPurchaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type inAppPurchaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", + "version", "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", + "inAppPurchase", + "image", "images", - "offerCodes", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseImages]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "locale", - "description", - "version" + "localizations" ] } }, @@ -59570,38 +59673,13 @@ "items": { "type": "string", "enum": [ - "inAppPurchase", - "image", - "images", - "localizations" + "version" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[images]", - "in": "query", - "description": "maximum number of related images returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -59646,11 +59724,11 @@ } }, "200": { - "description": "Single InAppPurchaseVersion", + "description": "Single InAppPurchaseLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseVersionResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationV2Response" } } } @@ -59667,149 +59745,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/inAppPurchases/{id}": { - "get": { + "patch": { "tags": [ - "InAppPurchases" + "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchases_getInstance", - "deprecated": true, - "parameters": [ - { - "name": "fields[inAppPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "productId", - "inAppPurchaseType", - "state", - "apps" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "apps" - ] + "operationId": "inAppPurchaseLocalizationsV2_updateInstance", + "requestBody": { + "description": "InAppPurchaseLocalization representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseLocalizationV2UpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[apps]", - "in": "query", - "description": "maximum number of related apps returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -59851,16 +59802,97 @@ } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "Single InAppPurchase", + "description": "Single InAppPurchaseLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationV2Response" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "InAppPurchaseLocalizations" + ], + "operationId": "inAppPurchaseLocalizationsV2_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -59886,18 +59918,18 @@ } ] }, - "/v2/inAppPurchases": { + "/v1/inAppPurchaseOfferCodeCustomCodes": { "post": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodeCustomCodes" ], - "operationId": "inAppPurchasesV2_createInstance", + "operationId": "inAppPurchaseOfferCodeCustomCodes_createInstance", "requestBody": { - "description": "InAppPurchase representation", + "description": "InAppPurchaseOfferCodeCustomCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2CreateRequest" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeCreateRequest" } } }, @@ -59945,11 +59977,11 @@ } }, "201": { - "description": "Single InAppPurchase", + "description": "Single InAppPurchaseOfferCodeCustomCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2Response" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeResponse" } } } @@ -59977,39 +60009,29 @@ } } }, - "/v2/inAppPurchases/{id}": { + "/v1/inAppPurchaseOfferCodeCustomCodes/{id}": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodeCustomCodes" ], - "operationId": "inAppPurchasesV2_getInstance", + "operationId": "inAppPurchaseOfferCodeCustomCodes_getInstance", "parameters": [ { - "name": "fields[inAppPurchases]", + "name": "fields[inAppPurchaseOfferCodeCustomCodes]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeCustomCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "customCode", + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "createdByActor", + "deactivatedByActor" ] } }, @@ -60018,19 +60040,19 @@ "required": false }, { - "name": "fields[inAppPurchaseLocalizations]", + "name": "fields[actors]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "description": "the fields to include for returned resources of type actors", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "locale", - "description", - "state", - "inAppPurchaseV2" + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" ] } }, @@ -60039,299 +60061,42 @@ "required": false }, { - "name": "fields[inAppPurchasePricePoints]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "territory", - "equalizations" + "createdByActor", + "deactivatedByActor" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "fields[inAppPurchaseContents]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileName", - "fileSize", - "url", - "lastModifiedDate", - "inAppPurchaseV2" - ] + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "inAppPurchaseV2" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchasePriceSchedules]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "baseTerritory", - "manualPrices", - "automaticPrices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "availableTerritories" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseImages]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "assetToken", - "imageAsset", - "uploadOperations", - "state", - "inAppPurchase" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "customerEligibilities", - "productionCodeCount", - "sandboxCodeCount", - "active", - "oneTimeUseCodes", - "customCodes", - "prices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "inAppPurchase", - "image", - "images", - "localizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[images]", - "in": "query", - "description": "maximum number of related images returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[inAppPurchaseLocalizations]", - "in": "query", - "description": "maximum number of related inAppPurchaseLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[offerCodes]", - "in": "query", - "description": "maximum number of related offerCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[pricePoints]", - "in": "query", - "description": "maximum number of related pricePoints returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 8000 - }, - "style": "form", - "required": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, @@ -60356,11 +60121,11 @@ } }, "200": { - "description": "Single InAppPurchase", + "description": "Single InAppPurchaseOfferCodeCustomCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2Response" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeResponse" } } } @@ -60379,15 +60144,15 @@ }, "patch": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodeCustomCodes" ], - "operationId": "inAppPurchasesV2_updateInstance", + "operationId": "inAppPurchaseOfferCodeCustomCodes_updateInstance", "requestBody": { - "description": "InAppPurchase representation", + "description": "InAppPurchaseOfferCodeCustomCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2UpdateRequest" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeUpdateRequest" } } }, @@ -60445,11 +60210,11 @@ } }, "200": { - "description": "Single InAppPurchase", + "description": "Single InAppPurchaseOfferCodeCustomCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2Response" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodeResponse" } } } @@ -60476,11 +60241,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseOfferCodeOneTimeUseCodes": { + "post": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodeOneTimeUseCodes" ], - "operationId": "inAppPurchasesV2_deleteInstance", + "operationId": "inAppPurchaseOfferCodeOneTimeUseCodes_createInstance", + "requestBody": { + "description": "InAppPurchaseOfferCodeOneTimeUseCode representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -60512,8 +60302,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -60522,8 +60312,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single InAppPurchaseOfferCodeOneTimeUseCode", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -60536,37 +60343,79 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/marketplaceSearchDetails": { - "post": { + "/v1/inAppPurchaseOfferCodeOneTimeUseCodes/{id}": { + "get": { "tags": [ - "MarketplaceSearchDetails" + "InAppPurchaseOfferCodeOneTimeUseCodes" ], - "operationId": "marketplaceSearchDetails_createInstance", - "requestBody": { - "description": "MarketplaceSearchDetail representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MarketplaceSearchDetailCreateRequest" + "operationId": "inAppPurchaseOfferCodeOneTimeUseCodes_getInstance", + "parameters": [ + { + "name": "fields[inAppPurchaseOfferCodeOneTimeUseCodes]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeOneTimeUseCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "environment", + "values", + "createdByActor", + "deactivatedByActor" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[actors]", + "in": "query", + "description": "the fields to include for returned resources of type actors", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdByActor", + "deactivatedByActor" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -60598,8 +60447,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -60608,22 +60457,12 @@ } } }, - "201": { - "description": "Single MarketplaceSearchDetail", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MarketplaceSearchDetailResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single InAppPurchaseOfferCodeOneTimeUseCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeResponse" } } } @@ -60639,20 +60478,18 @@ } } } - } - }, - "/v1/marketplaceSearchDetails/{id}": { + }, "patch": { "tags": [ - "MarketplaceSearchDetails" + "InAppPurchaseOfferCodeOneTimeUseCodes" ], - "operationId": "marketplaceSearchDetails_updateInstance", + "operationId": "inAppPurchaseOfferCodeOneTimeUseCodes_updateInstance", "requestBody": { - "description": "MarketplaceSearchDetail representation", + "description": "InAppPurchaseOfferCodeOneTimeUseCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MarketplaceSearchDetailUpdateRequest" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest" } } }, @@ -60710,11 +60547,11 @@ } }, "200": { - "description": "Single MarketplaceSearchDetail", + "description": "Single InAppPurchaseOfferCodeOneTimeUseCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MarketplaceSearchDetailResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodeResponse" } } } @@ -60741,11 +60578,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseOfferCodes": { + "post": { "tags": [ - "MarketplaceSearchDetails" + "InAppPurchaseOfferCodes" ], - "operationId": "marketplaceSearchDetails_deleteInstance", + "operationId": "inAppPurchaseOfferCodes_createInstance", + "requestBody": { + "description": "InAppPurchaseOfferCode representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseOfferCodeCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -60777,8 +60639,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -60787,8 +60649,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single InAppPurchaseOfferCode", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseOfferCodeResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -60801,38 +60680,32 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/marketplaceWebhooks": { + "/v1/inAppPurchaseOfferCodes/{id}": { "get": { "tags": [ - "MarketplaceWebhooks" + "InAppPurchaseOfferCodes" ], - "operationId": "marketplaceWebhooks_getCollection", - "deprecated": true, + "operationId": "inAppPurchaseOfferCodes_getInstance", "parameters": [ { - "name": "fields[marketplaceWebhooks]", + "name": "fields[inAppPurchaseOfferCodes]", "in": "query", - "description": "the fields to include for returned resources of type marketplaceWebhooks", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "endpointUrl" + "name", + "customerEligibilities", + "productionCodeCount", + "sandboxCodeCount", + "active", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -60841,14 +60714,121 @@ "required": false }, { - "name": "limit", + "name": "fields[inAppPurchaseOfferCodeOneTimeUseCodes]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeOneTimeUseCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "environment", + "values", + "createdByActor", + "deactivatedByActor" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchaseOfferCodeCustomCodes]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeCustomCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customCode", + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "createdByActor", + "deactivatedByActor" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchaseOfferPrices]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseOfferPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory", + "pricePoint" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "oneTimeUseCodes", + "customCodes", + "prices" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[customCodes]", + "in": "query", + "description": "maximum number of related customCodes returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, - "style": "form" + "style": "form", + "required": false + }, + { + "name": "limit[oneTimeUseCodes]", + "in": "query", + "description": "maximum number of related oneTimeUseCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -60882,12 +60862,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of MarketplaceWebhooks", + "description": "Single InAppPurchaseOfferCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MarketplaceWebhooksResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeResponse" } } } @@ -60904,18 +60894,17 @@ } } }, - "post": { + "patch": { "tags": [ - "MarketplaceWebhooks" + "InAppPurchaseOfferCodes" ], - "operationId": "marketplaceWebhooks_createInstance", - "deprecated": true, + "operationId": "inAppPurchaseOfferCodes_updateInstance", "requestBody": { - "description": "MarketplaceWebhook representation", + "description": "InAppPurchaseOfferCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MarketplaceWebhookCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeUpdateRequest" } } }, @@ -60952,6 +60941,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -60962,12 +60961,12 @@ } } }, - "201": { - "description": "Single MarketplaceWebhook", + "200": { + "description": "Single InAppPurchaseOfferCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MarketplaceWebhookResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeResponse" } } } @@ -60993,21 +60992,32 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/marketplaceWebhooks/{id}": { - "patch": { + "/v1/inAppPurchasePriceSchedules": { + "post": { "tags": [ - "MarketplaceWebhooks" + "InAppPurchasePriceSchedules" ], - "operationId": "marketplaceWebhooks_updateInstance", - "deprecated": true, + "operationId": "inAppPurchasePriceSchedules_createInstance", "requestBody": { - "description": "MarketplaceWebhook representation", + "description": "InAppPurchasePriceSchedule representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MarketplaceWebhookUpdateRequest" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleCreateRequest" } } }, @@ -61044,16 +61054,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -61064,12 +61064,12 @@ } } }, - "200": { - "description": "Single MarketplaceWebhook", + "201": { + "description": "Single InAppPurchasePriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MarketplaceWebhookResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" } } } @@ -61095,111 +61095,28 @@ } } } - }, - "delete": { - "tags": [ - "MarketplaceWebhooks" - ], - "operationId": "marketplaceWebhooks_deleteInstance", - "deprecated": true, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/merchantIds": { + "/v1/inAppPurchasePriceSchedules/{id}": { "get": { "tags": [ - "MerchantIds" + "InAppPurchasePriceSchedules" ], - "operationId": "merchantIds_getCollection", + "operationId": "inAppPurchasePriceSchedules_getInstance", "parameters": [ { - "name": "filter[name]", - "in": "query", - "description": "filter by attribute 'name'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[identifier]", + "name": "fields[inAppPurchasePriceSchedules]", "in": "query", - "description": "filter by attribute 'identifier'", + "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "baseTerritory", + "manualPrices", + "automaticPrices" + ] } }, "style": "form", @@ -61207,18 +61124,15 @@ "required": false }, { - "name": "sort", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "-name", - "identifier", - "-identifier" + "currency" ] } }, @@ -61227,17 +61141,19 @@ "required": false }, { - "name": "fields[merchantIds]", + "name": "fields[inAppPurchasePrices]", "in": "query", - "description": "the fields to include for returned resources of type merchantIds", + "description": "the fields to include for returned resources of type inAppPurchasePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "identifier", - "certificates" + "startDate", + "endDate", + "manual", + "inAppPurchasePricePoint", + "territory" ] } }, @@ -61246,23 +61162,17 @@ "required": false }, { - "name": "fields[certificates]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type certificates", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", - "passTypeId" + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -61271,36 +61181,20 @@ "required": false }, { - "name": "limit", + "name": "limit[automaticPrices]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related automaticPrices returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "certificates" - ] - } + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "limit[certificates]", + "name": "limit[manualPrices]", "in": "query", - "description": "maximum number of related certificates returned (when they are included)", + "description": "maximum number of related manualPrices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -61340,12 +61234,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of MerchantIds", + "description": "Single InAppPurchasePriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MerchantIdsResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" } } } @@ -61362,17 +61266,31 @@ } } }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseSubmissions": { "post": { "tags": [ - "MerchantIds" + "InAppPurchaseSubmissions" ], - "operationId": "merchantIds_createInstance", + "operationId": "inAppPurchaseSubmissions_createInstance", "requestBody": { - "description": "MerchantId representation", + "description": "InAppPurchaseSubmission representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MerchantIdCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseSubmissionCreateRequest" } } }, @@ -61420,11 +61338,11 @@ } }, "201": { - "description": "Single MerchantId", + "description": "Single InAppPurchaseSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MerchantIdResponse" + "$ref": "#/components/schemas/InAppPurchaseSubmissionResponse" } } } @@ -61452,86 +61370,23 @@ } } }, - "/v1/merchantIds/{id}": { - "get": { + "/v1/inAppPurchaseVersions": { + "post": { "tags": [ - "MerchantIds" + "InAppPurchaseVersions" ], - "operationId": "merchantIds_getInstance", - "parameters": [ - { - "name": "fields[merchantIds]", - "in": "query", - "description": "the fields to include for returned resources of type merchantIds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "identifier", - "certificates" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[certificates]", - "in": "query", - "description": "the fields to include for returned resources of type certificates", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", - "passTypeId" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "certificates" - ] + "operationId": "inAppPurchaseVersions_createInstance", + "requestBody": { + "description": "InAppPurchaseVersion representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseVersionCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[certificates]", - "in": "query", - "description": "maximum number of related certificates returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -61563,8 +61418,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -61573,18 +61428,18 @@ } } }, - "200": { - "description": "Single MerchantId", + "201": { + "description": "Single InAppPurchaseVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MerchantIdResponse" + "$ref": "#/components/schemas/InAppPurchaseVersionResponse" } } } }, - "429": { - "description": "Rate limit exceeded error", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -61592,28 +61447,9 @@ } } } - } - } - }, - "patch": { - "tags": [ - "MerchantIds" - ], - "operationId": "merchantIds_updateInstance", - "requestBody": { - "description": "MerchantId representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MerchantIdUpdateRequest" - } - } }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -61621,84 +61457,157 @@ } } } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } + } + } + }, + "/v1/inAppPurchaseVersions/{id}": { + "get": { + "tags": [ + "InAppPurchaseVersions" + ], + "operationId": "inAppPurchaseVersions_getInstance", + "parameters": [ + { + "name": "fields[inAppPurchaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "inAppPurchase", + "image", + "images", + "localizations" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchaseImages]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchaseLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "locale", + "description", + "version" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "200": { - "description": "Single MerchantId", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MerchantIdResponse" - } + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchase", + "image", + "images", + "localizations" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit[images]", + "in": "query", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } - } - }, - "delete": { - "tags": [ - "MerchantIds" ], - "operationId": "merchantIds_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -61740,8 +61649,15 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single InAppPurchaseVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseVersionResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -61768,136 +61684,28 @@ } ] }, - "/v1/nominations": { + "/v1/inAppPurchases/{id}": { "get": { "tags": [ - "Nominations" + "InAppPurchases" ], - "operationId": "nominations_getCollection", + "operationId": "inAppPurchases_getInstance", + "deprecated": true, "parameters": [ { - "name": "filter[type]", - "in": "query", - "description": "filter by attribute 'type'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "APP_LAUNCH", - "APP_ENHANCEMENTS", - "NEW_CONTENT" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[state]", - "in": "query", - "description": "filter by attribute 'state'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "DRAFT", - "SUBMITTED", - "ARCHIVED" - ] - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[hasInAppEvents]", - "in": "query", - "description": "filter by attribute 'hasInAppEvents'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[relatedApps]", - "in": "query", - "description": "filter by id(s) of related 'relatedApps'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "lastModifiedDate", - "-lastModifiedDate", - "publishStartDate", - "-publishStartDate", - "publishEndDate", - "-publishEndDate", - "name", - "-name", - "type", - "-type" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[nominations]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type nominations", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "type", - "description", - "createdDate", - "lastModifiedDate", - "submittedDate", + "referenceName", + "productId", + "inAppPurchaseType", "state", - "publishStartDate", - "publishEndDate", - "deviceFamilies", - "locales", - "supplementalMaterialsUris", - "hasInAppEvents", - "launchInSelectMarketsFirst", - "notes", - "preOrderEnabled", - "relatedApps", - "createdByActor", - "lastModifiedByActor", - "submittedByActor", - "inAppEvents", - "supportedTerritories" + "apps" ] } }, @@ -61965,6 +61773,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -61977,81 +61786,6 @@ "explode": false, "required": false }, - { - "name": "fields[actors]", - "in": "query", - "description": "the fields to include for returned resources of type actors", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "actorType", - "userFirstName", - "userLastName", - "userEmail", - "apiKeyId" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appEvents]", - "in": "query", - "description": "the fields to include for returned resources of type appEvents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "badge", - "eventState", - "deepLink", - "purchaseRequirement", - "primaryLocale", - "priority", - "purpose", - "territorySchedules", - "archivedTerritorySchedules", - "localizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -62061,12 +61795,7 @@ "items": { "type": "string", "enum": [ - "relatedApps", - "createdByActor", - "lastModifiedByActor", - "submittedByActor", - "inAppEvents", - "supportedTerritories" + "apps" ] } }, @@ -62075,37 +61804,15 @@ "required": false }, { - "name": "limit[inAppEvents]", - "in": "query", - "description": "maximum number of related inAppEvents returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[relatedApps]", + "name": "limit[apps]", "in": "query", - "description": "maximum number of related relatedApps returned (when they are included)", + "description": "maximum number of related apps returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form", "required": false - }, - { - "name": "limit[supportedTerritories]", - "in": "query", - "description": "maximum number of related supportedTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form", - "required": false } ], "responses": { @@ -62139,17 +61846,22 @@ } } }, - "200": { - "description": "List of Nominations", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NominationsResponse" + "$ref": "#/components/schemas/ErrorResponse" } - }, - "text/csv": { + } + } + }, + "200": { + "description": "Single InAppPurchase", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/InAppPurchaseResponse" } } } @@ -62166,17 +61878,31 @@ } } }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/inAppPurchases": { "post": { "tags": [ - "Nominations" + "InAppPurchases" ], - "operationId": "nominations_createInstance", + "operationId": "inAppPurchasesV2_createInstance", "requestBody": { - "description": "Nomination representation", + "description": "InAppPurchase representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NominationCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseV2CreateRequest" } } }, @@ -62224,11 +61950,11 @@ } }, "201": { - "description": "Single Nomination", + "description": "Single InAppPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NominationResponse" + "$ref": "#/components/schemas/InAppPurchaseV2Response" } } } @@ -62256,44 +61982,147 @@ } } }, - "/v1/nominations/{id}": { + "/v2/inAppPurchases/{id}": { "get": { "tags": [ - "Nominations" + "InAppPurchases" ], - "operationId": "nominations_getInstance", + "operationId": "inAppPurchasesV2_getInstance", "parameters": [ { - "name": "fields[nominations]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type nominations", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "type", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchaseLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "locale", "description", - "createdDate", + "state", + "inAppPurchaseV2" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchasePricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "territory", + "equalizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchaseContents]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseContents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileName", + "fileSize", + "url", "lastModifiedDate", - "submittedDate", + "inAppPurchaseV2" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "inAppPurchaseV2" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[promotedPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleForAllUsers", + "enabled", "state", - "publishStartDate", - "publishEndDate", - "deviceFamilies", - "locales", - "supplementalMaterialsUris", - "hasInAppEvents", - "launchInSelectMarketsFirst", - "notes", - "preOrderEnabled", - "relatedApps", - "createdByActor", - "lastModifiedByActor", - "submittedByActor", - "inAppEvents", - "supportedTerritories" + "inAppPurchaseV2", + "subscription" ] } }, @@ -62302,70 +62131,17 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[inAppPurchasePriceSchedules]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -62374,19 +62150,16 @@ "required": false }, { - "name": "fields[actors]", + "name": "fields[inAppPurchaseAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type actors", + "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actorType", - "userFirstName", - "userLastName", - "userEmail", - "apiKeyId" + "availableInNewTerritories", + "availableTerritories" ] } }, @@ -62395,25 +62168,22 @@ "required": false }, { - "name": "fields[appEvents]", + "name": "fields[inAppPurchaseImages]", "in": "query", - "description": "the fields to include for returned resources of type appEvents", + "description": "the fields to include for returned resources of type inAppPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "badge", - "eventState", - "deepLink", - "purchaseRequirement", - "primaryLocale", - "priority", - "purpose", - "territorySchedules", - "archivedTerritorySchedules", - "localizations" + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "state", + "inAppPurchase" ] } }, @@ -62422,15 +62192,44 @@ "required": false }, { - "name": "fields[territories]", + "name": "fields[inAppPurchaseOfferCodes]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "customerEligibilities", + "productionCodeCount", + "sandboxCodeCount", + "active", + "oneTimeUseCodes", + "customCodes", + "prices" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "inAppPurchase", + "image", + "images", + "localizations" ] } }, @@ -62447,12 +62246,16 @@ "items": { "type": "string", "enum": [ - "relatedApps", - "createdByActor", - "lastModifiedByActor", - "submittedByActor", - "inAppEvents", - "supportedTerritories" + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" ] } }, @@ -62461,9 +62264,9 @@ "required": false }, { - "name": "limit[inAppEvents]", + "name": "limit[images]", "in": "query", - "description": "maximum number of related inAppEvents returned (when they are included)", + "description": "maximum number of related images returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -62472,9 +62275,9 @@ "required": false }, { - "name": "limit[relatedApps]", + "name": "limit[inAppPurchaseLocalizations]", "in": "query", - "description": "maximum number of related relatedApps returned (when they are included)", + "description": "maximum number of related inAppPurchaseLocalizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -62483,12 +62286,34 @@ "required": false }, { - "name": "limit[supportedTerritories]", + "name": "limit[offerCodes]", "in": "query", - "description": "maximum number of related supportedTerritories returned (when they are included)", + "description": "maximum number of related offerCodes returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[pricePoints]", + "in": "query", + "description": "maximum number of related pricePoints returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 8000 + }, + "style": "form", + "required": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form", "required": false @@ -62536,11 +62361,11 @@ } }, "200": { - "description": "Single Nomination", + "description": "Single InAppPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NominationResponse" + "$ref": "#/components/schemas/InAppPurchaseV2Response" } } } @@ -62559,15 +62384,15 @@ }, "patch": { "tags": [ - "Nominations" + "InAppPurchases" ], - "operationId": "nominations_updateInstance", + "operationId": "inAppPurchasesV2_updateInstance", "requestBody": { - "description": "Nomination representation", + "description": "InAppPurchase representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NominationUpdateRequest" + "$ref": "#/components/schemas/InAppPurchaseV2UpdateRequest" } } }, @@ -62625,11 +62450,11 @@ } }, "200": { - "description": "Single Nomination", + "description": "Single InAppPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NominationResponse" + "$ref": "#/components/schemas/InAppPurchaseV2Response" } } } @@ -62658,9 +62483,9 @@ }, "delete": { "tags": [ - "Nominations" + "InAppPurchases" ], - "operationId": "nominations_deleteInstance", + "operationId": "inAppPurchasesV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -62730,113 +62555,718 @@ } ] }, - "/v1/passTypeIds": { - "get": { + "/v1/marketplaceSearchDetails": { + "post": { "tags": [ - "PassTypeIds" + "MarketplaceSearchDetails" ], - "operationId": "passTypeIds_getCollection", - "parameters": [ - { - "name": "filter[name]", - "in": "query", - "description": "filter by attribute 'name'", - "schema": { - "type": "array", - "items": { - "type": "string" + "operationId": "marketplaceSearchDetails_createInstance", + "requestBody": { + "description": "MarketplaceSearchDetail representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceSearchDetailCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[identifier]", - "in": "query", - "description": "filter by attribute 'identifier'", - "schema": { - "type": "array", - "items": { - "type": "string" + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "-name", - "identifier", - "-identifier", - "id", - "-id" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[passTypeIds]", - "in": "query", - "description": "the fields to include for returned resources of type passTypeIds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "identifier", - "certificates" - ] + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[certificates]", - "in": "query", - "description": "the fields to include for returned resources of type certificates", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", + "201": { + "description": "Single MarketplaceSearchDetail", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceSearchDetailResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/marketplaceSearchDetails/{id}": { + "patch": { + "tags": [ + "MarketplaceSearchDetails" + ], + "operationId": "marketplaceSearchDetails_updateInstance", + "requestBody": { + "description": "MarketplaceSearchDetail representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceSearchDetailUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single MarketplaceSearchDetail", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceSearchDetailResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "MarketplaceSearchDetails" + ], + "operationId": "marketplaceSearchDetails_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/marketplaceWebhooks": { + "get": { + "tags": [ + "MarketplaceWebhooks" + ], + "operationId": "marketplaceWebhooks_getCollection", + "deprecated": true, + "parameters": [ + { + "name": "fields[marketplaceWebhooks]", + "in": "query", + "description": "the fields to include for returned resources of type marketplaceWebhooks", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "endpointUrl" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of MarketplaceWebhooks", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhooksResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "MarketplaceWebhooks" + ], + "operationId": "marketplaceWebhooks_createInstance", + "deprecated": true, + "requestBody": { + "description": "MarketplaceWebhook representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhookCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single MarketplaceWebhook", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhookResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/marketplaceWebhooks/{id}": { + "patch": { + "tags": [ + "MarketplaceWebhooks" + ], + "operationId": "marketplaceWebhooks_updateInstance", + "deprecated": true, + "requestBody": { + "description": "MarketplaceWebhook representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhookUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single MarketplaceWebhook", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhookResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "MarketplaceWebhooks" + ], + "operationId": "marketplaceWebhooks_deleteInstance", + "deprecated": true, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/merchantIds": { + "get": { + "tags": [ + "MerchantIds" + ], + "operationId": "merchantIds_getCollection", + "parameters": [ + { + "name": "filter[name]", + "in": "query", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[identifier]", + "in": "query", + "description": "filter by attribute 'identifier'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "-name", + "identifier", + "-identifier" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[merchantIds]", + "in": "query", + "description": "the fields to include for returned resources of type merchantIds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "identifier", + "certificates" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[certificates]", + "in": "query", + "description": "the fields to include for returned resources of type certificates", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "certificateType", + "displayName", + "serialNumber", + "platform", + "expirationDate", + "certificateContent", + "activated", "passTypeId" ] } @@ -62916,11 +63346,11 @@ } }, "200": { - "description": "List of PassTypeIds", + "description": "List of MerchantIds", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PassTypeIdsResponse" + "$ref": "#/components/schemas/MerchantIdsResponse" } } } @@ -62939,15 +63369,15 @@ }, "post": { "tags": [ - "PassTypeIds" + "MerchantIds" ], - "operationId": "passTypeIds_createInstance", + "operationId": "merchantIds_createInstance", "requestBody": { - "description": "PassTypeId representation", + "description": "MerchantId representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PassTypeIdCreateRequest" + "$ref": "#/components/schemas/MerchantIdCreateRequest" } } }, @@ -62995,11 +63425,11 @@ } }, "201": { - "description": "Single PassTypeId", + "description": "Single MerchantId", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PassTypeIdResponse" + "$ref": "#/components/schemas/MerchantIdResponse" } } } @@ -63027,17 +63457,17 @@ } } }, - "/v1/passTypeIds/{id}": { + "/v1/merchantIds/{id}": { "get": { "tags": [ - "PassTypeIds" + "MerchantIds" ], - "operationId": "passTypeIds_getInstance", + "operationId": "merchantIds_getInstance", "parameters": [ { - "name": "fields[passTypeIds]", + "name": "fields[merchantIds]", "in": "query", - "description": "the fields to include for returned resources of type passTypeIds", + "description": "the fields to include for returned resources of type merchantIds", "schema": { "type": "array", "items": { @@ -63149,11 +63579,11 @@ } }, "200": { - "description": "Single PassTypeId", + "description": "Single MerchantId", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PassTypeIdResponse" + "$ref": "#/components/schemas/MerchantIdResponse" } } } @@ -63172,15 +63602,15 @@ }, "patch": { "tags": [ - "PassTypeIds" + "MerchantIds" ], - "operationId": "passTypeIds_updateInstance", + "operationId": "merchantIds_updateInstance", "requestBody": { - "description": "PassTypeId representation", + "description": "MerchantId representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PassTypeIdUpdateRequest" + "$ref": "#/components/schemas/MerchantIdUpdateRequest" } } }, @@ -63238,11 +63668,11 @@ } }, "200": { - "description": "Single PassTypeId", + "description": "Single MerchantId", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PassTypeIdResponse" + "$ref": "#/components/schemas/MerchantIdResponse" } } } @@ -63271,9 +63701,9 @@ }, "delete": { "tags": [ - "PassTypeIds" + "MerchantIds" ], - "operationId": "passTypeIds_deleteInstance", + "operationId": "merchantIds_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -63343,58 +63773,25 @@ } ] }, - "/v1/preReleaseVersions": { + "/v1/nominations": { "get": { "tags": [ - "PreReleaseVersions" + "Nominations" ], - "operationId": "preReleaseVersions_getCollection", + "operationId": "nominations_getCollection", "parameters": [ { - "name": "filter[builds.buildAudienceType]", - "in": "query", - "description": "filter by attribute 'builds.buildAudienceType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "INTERNAL_ONLY", - "APP_STORE_ELIGIBLE" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[builds.expired]", - "in": "query", - "description": "filter by attribute 'builds.expired'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[builds.processingState]", + "name": "filter[type]", "in": "query", - "description": "filter by attribute 'builds.processingState'", + "description": "filter by attribute 'type'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PROCESSING", - "FAILED", - "INVALID", - "VALID" + "APP_LAUNCH", + "APP_ENHANCEMENTS", + "NEW_CONTENT" ] } }, @@ -63403,57 +63800,28 @@ "required": false }, { - "name": "filter[builds.version]", - "in": "query", - "description": "filter by attribute 'builds.version'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[platform]", + "name": "filter[state]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "DRAFT", + "SUBMITTED", + "ARCHIVED" ] } }, "style": "form", "explode": false, - "required": false - }, - { - "name": "filter[version]", - "in": "query", - "description": "filter by attribute 'version'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false + "required": true }, { - "name": "filter[app]", + "name": "filter[hasInAppEvents]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "filter by attribute 'hasInAppEvents'", "schema": { "type": "array", "items": { @@ -63465,9 +63833,9 @@ "required": false }, { - "name": "filter[builds]", + "name": "filter[relatedApps]", "in": "query", - "description": "filter by id(s) of related 'builds'", + "description": "filter by id(s) of related 'relatedApps'", "schema": { "type": "array", "items": { @@ -63487,28 +63855,16 @@ "items": { "type": "string", "enum": [ - "version", - "-version" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[preReleaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "platform", - "builds", - "app" + "lastModifiedDate", + "-lastModifiedDate", + "publishStartDate", + "-publishStartDate", + "publishEndDate", + "-publishEndDate", + "name", + "-name", + "type", + "-type" ] } }, @@ -63517,40 +63873,36 @@ "required": false }, { - "name": "fields[builds]", + "name": "fields[nominations]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type nominations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" + "name", + "type", + "description", + "createdDate", + "lastModifiedDate", + "submittedDate", + "state", + "publishStartDate", + "publishEndDate", + "deviceFamilies", + "locales", + "supplementalMaterialsUris", + "hasInAppEvents", + "launchInSelectMarketsFirst", + "notes", + "preOrderEnabled", + "relatedApps", + "createdByActor", + "lastModifiedByActor", + "submittedByActor", + "inAppEvents", + "supportedTerritories" ] } }, @@ -63618,6 +63970,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -63630,6 +63983,71 @@ "explode": false, "required": false }, + { + "name": "fields[actors]", + "in": "query", + "description": "the fields to include for returned resources of type actors", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appEvents]", + "in": "query", + "description": "the fields to include for returned resources of type appEvents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "localizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "limit", "in": "query", @@ -63649,8 +64067,12 @@ "items": { "type": "string", "enum": [ - "builds", - "app" + "relatedApps", + "createdByActor", + "lastModifiedByActor", + "submittedByActor", + "inAppEvents", + "supportedTerritories" ] } }, @@ -63659,15 +64081,37 @@ "required": false }, { - "name": "limit[builds]", + "name": "limit[inAppEvents]", "in": "query", - "description": "maximum number of related builds returned (when they are included)", + "description": "maximum number of related inAppEvents returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[relatedApps]", + "in": "query", + "description": "maximum number of related relatedApps returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form", "required": false + }, + { + "name": "limit[supportedTerritories]", + "in": "query", + "description": "maximum number of related supportedTerritories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form", + "required": false } ], "responses": { @@ -63702,11 +64146,16 @@ } }, "200": { - "description": "List of PreReleaseVersions", + "description": "List of Nominations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PreReleaseVersionsResponse" + "$ref": "#/components/schemas/NominationsResponse" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -63722,179 +64171,23 @@ } } } - } - }, - "/v1/preReleaseVersions/{id}": { - "get": { + }, + "post": { "tags": [ - "PreReleaseVersions" + "Nominations" ], - "operationId": "preReleaseVersions_getInstance", - "parameters": [ - { - "name": "fields[preReleaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "platform", - "builds", - "app" - ] + "operationId": "nominations_createInstance", + "requestBody": { + "description": "Nomination representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NominationCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "builds", - "app" - ] - } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -63926,8 +64219,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -63936,12 +64229,22 @@ } } }, - "200": { - "description": "Single PrereleaseVersion", + "201": { + "description": "Single Nomination", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrereleaseVersionResponse" + "$ref": "#/components/schemas/NominationResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -63957,82 +64260,46 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/profiles": { + "/v1/nominations/{id}": { "get": { "tags": [ - "Profiles" + "Nominations" ], - "operationId": "profiles_getCollection", + "operationId": "nominations_getInstance", "parameters": [ { - "name": "filter[name]", - "in": "query", - "description": "filter by attribute 'name'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[profileType]", - "in": "query", - "description": "filter by attribute 'profileType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS_APP_DEVELOPMENT", - "IOS_APP_STORE", - "IOS_APP_ADHOC", - "IOS_APP_INHOUSE", - "MAC_APP_DEVELOPMENT", - "MAC_APP_STORE", - "MAC_APP_DIRECT", - "TVOS_APP_DEVELOPMENT", - "TVOS_APP_STORE", - "TVOS_APP_ADHOC", - "TVOS_APP_INHOUSE", - "MAC_CATALYST_APP_DEVELOPMENT", - "MAC_CATALYST_APP_STORE", - "MAC_CATALYST_APP_DIRECT" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[profileState]", + "name": "fields[nominations]", "in": "query", - "description": "filter by attribute 'profileState'", + "description": "the fields to include for returned resources of type nominations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ACTIVE", - "INVALID" + "name", + "type", + "description", + "createdDate", + "lastModifiedDate", + "submittedDate", + "state", + "publishStartDate", + "publishEndDate", + "deviceFamilies", + "locales", + "supplementalMaterialsUris", + "hasInAppEvents", + "launchInSelectMarketsFirst", + "notes", + "preOrderEnabled", + "relatedApps", + "createdByActor", + "lastModifiedByActor", + "submittedByActor", + "inAppEvents", + "supportedTerritories" ] } }, @@ -64041,36 +64308,71 @@ "required": false }, { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "sort", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "accessibilityUrl", "name", - "-name", - "profileType", - "-profileType", - "profileState", - "-profileState", - "id", - "-id" + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -64079,25 +64381,19 @@ "required": false }, { - "name": "fields[profiles]", + "name": "fields[actors]", "in": "query", - "description": "the fields to include for returned resources of type profiles", + "description": "the fields to include for returned resources of type actors", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "platform", - "profileType", - "profileState", - "profileContent", - "uuid", - "createdDate", - "expirationDate", - "bundleId", - "devices", - "certificates" + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" ] } }, @@ -64106,21 +64402,25 @@ "required": false }, { - "name": "fields[bundleIds]", + "name": "fields[appEvents]", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "platform", - "identifier", - "seedId", - "profiles", - "bundleIdCapabilities", - "app" + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "localizations" ] } }, @@ -64129,21 +64429,15 @@ "required": false }, { - "name": "fields[devices]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type devices", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "platform", - "udid", - "deviceClass", - "status", - "model", - "addedDate" + "currency" ] } }, @@ -64152,23 +64446,20 @@ "required": false }, { - "name": "fields[certificates]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type certificates", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", - "passTypeId" + "relatedApps", + "createdByActor", + "lastModifiedByActor", + "submittedByActor", + "inAppEvents", + "supportedTerritories" ] } }, @@ -64177,38 +64468,20 @@ "required": false }, { - "name": "limit", + "name": "limit[inAppEvents]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related inAppEvents returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "bundleId", - "devices", - "certificates" - ] - } + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "limit[certificates]", + "name": "limit[relatedApps]", "in": "query", - "description": "maximum number of related certificates returned (when they are included)", + "description": "maximum number of related relatedApps returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -64217,12 +64490,12 @@ "required": false }, { - "name": "limit[devices]", + "name": "limit[supportedTerritories]", "in": "query", - "description": "maximum number of related devices returned (when they are included)", + "description": "maximum number of related supportedTerritories returned (when they are included)", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form", "required": false @@ -64259,12 +64532,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of Profiles", + "description": "Single Nomination", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfilesResponse" + "$ref": "#/components/schemas/NominationResponse" } } } @@ -64281,17 +64564,17 @@ } } }, - "post": { + "patch": { "tags": [ - "Profiles" + "Nominations" ], - "operationId": "profiles_createInstance", + "operationId": "nominations_updateInstance", "requestBody": { - "description": "Profile representation", + "description": "Nomination representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfileCreateRequest" + "$ref": "#/components/schemas/NominationUpdateRequest" } } }, @@ -64328,6 +64611,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -64338,12 +64631,12 @@ } } }, - "201": { - "description": "Single Profile", + "200": { + "description": "Single Nomination", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfileResponse" + "$ref": "#/components/schemas/NominationResponse" } } } @@ -64369,36 +64662,96 @@ } } } - } + }, + "delete": { + "tags": [ + "Nominations" + ], + "operationId": "nominations_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/profiles/{id}": { + "/v1/passTypeIds": { "get": { "tags": [ - "Profiles" + "PassTypeIds" ], - "operationId": "profiles_getInstance", + "operationId": "passTypeIds_getCollection", "parameters": [ { - "name": "fields[profiles]", + "name": "filter[name]", "in": "query", - "description": "the fields to include for returned resources of type profiles", + "description": "filter by attribute 'name'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "name", - "platform", - "profileType", - "profileState", - "profileContent", - "uuid", - "createdDate", - "expirationDate", - "bundleId", - "devices", - "certificates" - ] + "type": "string" } }, "style": "form", @@ -64406,21 +64759,48 @@ "required": false }, { - "name": "fields[bundleIds]", + "name": "filter[identifier]", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "filter by attribute 'identifier'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "platform", + "-name", "identifier", - "seedId", - "profiles", - "bundleIdCapabilities", - "app" + "-identifier", + "id", + "-id" ] } }, @@ -64429,21 +64809,17 @@ "required": false }, { - "name": "fields[devices]", + "name": "fields[passTypeIds]", "in": "query", - "description": "the fields to include for returned resources of type devices", + "description": "the fields to include for returned resources of type passTypeIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "platform", - "udid", - "deviceClass", - "status", - "model", - "addedDate" + "identifier", + "certificates" ] } }, @@ -64476,6 +64852,16 @@ "explode": false, "required": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -64485,8 +64871,6 @@ "items": { "type": "string", "enum": [ - "bundleId", - "devices", "certificates" ] } @@ -64505,17 +64889,6 @@ }, "style": "form", "required": false - }, - { - "name": "limit[devices]", - "in": "query", - "description": "maximum number of related devices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -64549,87 +64922,16 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single Profile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProfileResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Profiles" - ], - "operationId": "profiles_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", + "description": "List of PassTypeIds", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PassTypeIdsResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -64642,31 +64944,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/promotedPurchases": { "post": { "tags": [ - "PromotedPurchases" + "PassTypeIds" ], - "operationId": "promotedPurchases_createInstance", + "operationId": "passTypeIds_createInstance", "requestBody": { - "description": "PromotedPurchase representation", + "description": "PassTypeId representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseCreateRequest" + "$ref": "#/components/schemas/PassTypeIdCreateRequest" } } }, @@ -64714,11 +65002,11 @@ } }, "201": { - "description": "Single PromotedPurchase", + "description": "Single PassTypeId", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" + "$ref": "#/components/schemas/PassTypeIdResponse" } } } @@ -64746,27 +65034,25 @@ } } }, - "/v1/promotedPurchases/{id}": { + "/v1/passTypeIds/{id}": { "get": { "tags": [ - "PromotedPurchases" + "PassTypeIds" ], - "operationId": "promotedPurchases_getInstance", + "operationId": "passTypeIds_getInstance", "parameters": [ { - "name": "fields[promotedPurchases]", + "name": "fields[passTypeIds]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "the fields to include for returned resources of type passTypeIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" + "name", + "identifier", + "certificates" ] } }, @@ -64775,31 +65061,23 @@ "required": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "certificateType", + "displayName", + "serialNumber", + "platform", + "expirationDate", + "certificateContent", + "activated", + "passTypeId" ] } }, @@ -64808,37 +65086,15 @@ "required": false }, { - "name": "fields[subscriptions]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "certificates" ] } }, @@ -64847,21 +65103,14 @@ "required": false }, { - "name": "include", + "name": "limit[certificates]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related certificates returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchaseV2", - "subscription" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false } ], @@ -64907,11 +65156,11 @@ } }, "200": { - "description": "Single PromotedPurchase", + "description": "Single PassTypeId", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" + "$ref": "#/components/schemas/PassTypeIdResponse" } } } @@ -64930,15 +65179,15 @@ }, "patch": { "tags": [ - "PromotedPurchases" + "PassTypeIds" ], - "operationId": "promotedPurchases_updateInstance", + "operationId": "passTypeIds_updateInstance", "requestBody": { - "description": "PromotedPurchase representation", + "description": "PassTypeId representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseUpdateRequest" + "$ref": "#/components/schemas/PassTypeIdUpdateRequest" } } }, @@ -64996,11 +65245,11 @@ } }, "200": { - "description": "Single PromotedPurchase", + "description": "Single PassTypeId", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" + "$ref": "#/components/schemas/PassTypeIdResponse" } } } @@ -65029,9 +65278,9 @@ }, "delete": { "tags": [ - "PromotedPurchases" + "PassTypeIds" ], - "operationId": "promotedPurchases_deleteInstance", + "operationId": "passTypeIds_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -65101,114 +65350,334 @@ } ] }, - "/v1/reviewSubmissionItems": { - "post": { + "/v1/preReleaseVersions": { + "get": { "tags": [ - "ReviewSubmissionItems" + "PreReleaseVersions" ], - "operationId": "reviewSubmissionItems_createInstance", - "requestBody": { - "description": "ReviewSubmissionItem representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemCreateRequest" + "operationId": "preReleaseVersions_getCollection", + "parameters": [ + { + "name": "filter[builds.buildAudienceType]", + "in": "query", + "description": "filter by attribute 'builds.buildAudienceType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "INTERNAL_ONLY", + "APP_STORE_ELIGIBLE" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[builds.expired]", + "in": "query", + "description": "filter by attribute 'builds.expired'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[builds.processingState]", + "in": "query", + "description": "filter by attribute 'builds.processingState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "PROCESSING", + "FAILED", + "INVALID", + "VALID" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[builds.version]", + "in": "query", + "description": "filter by attribute 'builds.version'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "201": { - "description": "Single ReviewSubmissionItem", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemResponse" - } + { + "name": "filter[version]", + "in": "query", + "description": "filter by attribute 'version'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[app]", + "in": "query", + "description": "filter by id(s) of related 'app'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[builds]", + "in": "query", + "description": "filter by id(s) of related 'builds'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } - } - } - } - }, - "/v1/reviewSubmissionItems/{id}": { - "patch": { - "tags": [ - "ReviewSubmissionItems" - ], - "operationId": "reviewSubmissionItems_updateInstance", - "requestBody": { - "description": "ReviewSubmissionItem representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemUpdateRequest" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "-version" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[preReleaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type preReleaseVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "platform", + "builds", + "app" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "builds", + "app" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -65240,18 +65709,18 @@ } } }, - "404": { - "description": "Not found error", + "200": { + "description": "List of PreReleaseVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PreReleaseVersionsResponse" } } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -65259,44 +65728,182 @@ } } } + } + } + } + }, + "/v1/preReleaseVersions/{id}": { + "get": { + "tags": [ + "PreReleaseVersions" + ], + "operationId": "preReleaseVersions_getInstance", + "parameters": [ + { + "name": "fields[preReleaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type preReleaseVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "platform", + "builds", + "app" + ] + } + }, + "style": "form", + "explode": false, + "required": false }, - "200": { - "description": "Single ReviewSubmissionItem", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemResponse" - } + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "builds", + "app" + ] } - } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } - } - }, - "delete": { - "tags": [ - "ReviewSubmissionItems" ], - "operationId": "reviewSubmissionItems_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -65338,8 +65945,15 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single PrereleaseVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PrereleaseVersionResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -65366,26 +65980,50 @@ } ] }, - "/v1/reviewSubmissions": { + "/v1/profiles": { "get": { "tags": [ - "ReviewSubmissions" + "Profiles" ], - "operationId": "reviewSubmissions_getCollection", + "operationId": "profiles_getCollection", "parameters": [ { - "name": "filter[platform]", + "name": "filter[name]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[profileType]", + "in": "query", + "description": "filter by attribute 'profileType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "IOS_APP_DEVELOPMENT", + "IOS_APP_STORE", + "IOS_APP_ADHOC", + "IOS_APP_INHOUSE", + "MAC_APP_DEVELOPMENT", + "MAC_APP_STORE", + "MAC_APP_DIRECT", + "TVOS_APP_DEVELOPMENT", + "TVOS_APP_STORE", + "TVOS_APP_ADHOC", + "TVOS_APP_INHOUSE", + "MAC_CATALYST_APP_DEVELOPMENT", + "MAC_CATALYST_APP_STORE", + "MAC_CATALYST_APP_DIRECT" ] } }, @@ -65394,21 +66032,16 @@ "required": false }, { - "name": "filter[state]", + "name": "filter[profileState]", "in": "query", - "description": "filter by attribute 'state'", + "description": "filter by attribute 'profileState'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "UNRESOLVED_ISSUES", - "CANCELING", - "COMPLETING", - "COMPLETE" + "ACTIVE", + "INVALID" ] } }, @@ -65417,9 +66050,9 @@ "required": false }, { - "name": "filter[app]", + "name": "filter[id]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "filter by id(s)", "schema": { "type": "array", "items": { @@ -65428,25 +66061,25 @@ }, "style": "form", "explode": false, - "required": true + "required": false }, { - "name": "fields[reviewSubmissions]", + "name": "sort", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "submittedDate", - "state", - "app", - "items", - "appStoreVersionForReview", - "submittedByActor", - "lastUpdatedByActor" + "name", + "-name", + "profileType", + "-profileType", + "profileState", + "-profileState", + "id", + "-id" ] } }, @@ -65455,70 +66088,25 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[profiles]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type profiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", "name", + "platform", + "profileType", + "profileState", + "profileContent", + "uuid", + "createdDate", + "expirationDate", "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "devices", + "certificates" ] } }, @@ -65527,29 +66115,21 @@ "required": false }, { - "name": "fields[reviewSubmissionItems]", + "name": "fields[bundleIds]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "appStoreVersion", - "appCustomProductPageVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appEvent", - "backgroundAssetVersion", - "gameCenterAchievementVersion", - "gameCenterActivityVersion", - "gameCenterChallengeVersion", - "gameCenterLeaderboardSetVersion", - "gameCenterLeaderboardVersion", - "inAppPurchaseVersion", - "subscriptionVersion", - "subscriptionGroupVersion" + "name", + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -65558,38 +66138,21 @@ "required": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[devices]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type devices", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "name", "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "udid", + "deviceClass", + "status", + "model", + "addedDate" ] } }, @@ -65598,19 +66161,23 @@ "required": false }, { - "name": "fields[actors]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type actors", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actorType", - "userFirstName", - "userLastName", - "userEmail", - "apiKeyId" + "name", + "certificateType", + "displayName", + "serialNumber", + "platform", + "expirationDate", + "certificateContent", + "activated", + "passTypeId" ] } }, @@ -65637,11 +66204,9 @@ "items": { "type": "string", "enum": [ - "app", - "items", - "appStoreVersionForReview", - "submittedByActor", - "lastUpdatedByActor" + "bundleId", + "devices", + "certificates" ] } }, @@ -65650,9 +66215,20 @@ "required": false }, { - "name": "limit[items]", + "name": "limit[certificates]", "in": "query", - "description": "maximum number of related items returned (when they are included)", + "description": "maximum number of related certificates returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[devices]", + "in": "query", + "description": "maximum number of related devices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -65693,11 +66269,11 @@ } }, "200": { - "description": "List of ReviewSubmissions", + "description": "List of Profiles", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionsResponse" + "$ref": "#/components/schemas/ProfilesResponse" } } } @@ -65716,15 +66292,15 @@ }, "post": { "tags": [ - "ReviewSubmissions" + "Profiles" ], - "operationId": "reviewSubmissions_createInstance", + "operationId": "profiles_createInstance", "requestBody": { - "description": "ReviewSubmission representation", + "description": "Profile representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionCreateRequest" + "$ref": "#/components/schemas/ProfileCreateRequest" } } }, @@ -65772,11 +66348,11 @@ } }, "201": { - "description": "Single ReviewSubmission", + "description": "Single Profile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionResponse" + "$ref": "#/components/schemas/ProfileResponse" } } } @@ -65804,30 +66380,33 @@ } } }, - "/v1/reviewSubmissions/{id}": { + "/v1/profiles/{id}": { "get": { "tags": [ - "ReviewSubmissions" + "Profiles" ], - "operationId": "reviewSubmissions_getInstance", + "operationId": "profiles_getInstance", "parameters": [ { - "name": "fields[reviewSubmissions]", + "name": "fields[profiles]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", + "description": "the fields to include for returned resources of type profiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "name", "platform", - "submittedDate", - "state", - "app", - "items", - "appStoreVersionForReview", - "submittedByActor", - "lastUpdatedByActor" + "profileType", + "profileState", + "profileContent", + "uuid", + "createdDate", + "expirationDate", + "bundleId", + "devices", + "certificates" ] } }, @@ -65836,70 +66415,21 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[bundleIds]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -65908,29 +66438,21 @@ "required": false }, { - "name": "fields[reviewSubmissionItems]", + "name": "fields[devices]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "description": "the fields to include for returned resources of type devices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "appStoreVersion", - "appCustomProductPageVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appEvent", - "backgroundAssetVersion", - "gameCenterAchievementVersion", - "gameCenterActivityVersion", - "gameCenterChallengeVersion", - "gameCenterLeaderboardSetVersion", - "gameCenterLeaderboardVersion", - "inAppPurchaseVersion", - "subscriptionVersion", - "subscriptionGroupVersion" + "name", + "platform", + "udid", + "deviceClass", + "status", + "model", + "addedDate" ] } }, @@ -65939,38 +66461,23 @@ "required": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "name", + "certificateType", + "displayName", + "serialNumber", "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "expirationDate", + "certificateContent", + "activated", + "passTypeId" ] } }, @@ -65979,19 +66486,17 @@ "required": false }, { - "name": "fields[actors]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type actors", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actorType", - "userFirstName", - "userLastName", - "userEmail", - "apiKeyId" + "bundleId", + "devices", + "certificates" ] } }, @@ -66000,30 +66505,20 @@ "required": false }, { - "name": "include", + "name": "limit[certificates]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related certificates returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "items", - "appStoreVersionForReview", - "submittedByActor", - "lastUpdatedByActor" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "limit[items]", + "name": "limit[devices]", "in": "query", - "description": "maximum number of related items returned (when they are included)", + "description": "maximum number of related devices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -66074,11 +66569,11 @@ } }, "200": { - "description": "Single ReviewSubmission", + "description": "Single Profile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionResponse" + "$ref": "#/components/schemas/ProfileResponse" } } } @@ -66095,22 +66590,11 @@ } } }, - "patch": { + "delete": { "tags": [ - "ReviewSubmissions" + "Profiles" ], - "operationId": "reviewSubmissions_updateInstance", - "requestBody": { - "description": "ReviewSubmission representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionUpdateRequest" - } - } - }, - "required": true - }, + "operationId": "profiles_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -66152,35 +66636,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single ReviewSubmission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -66207,18 +66664,18 @@ } ] }, - "/v1/routingAppCoverages": { + "/v1/promotedPurchases": { "post": { "tags": [ - "RoutingAppCoverages" + "PromotedPurchases" ], - "operationId": "routingAppCoverages_createInstance", + "operationId": "promotedPurchases_createInstance", "requestBody": { - "description": "RoutingAppCoverage representation", + "description": "PromotedPurchase representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageCreateRequest" + "$ref": "#/components/schemas/PromotedPurchaseCreateRequest" } } }, @@ -66266,11 +66723,11 @@ } }, "201": { - "description": "Single RoutingAppCoverage", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageResponse" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } @@ -66298,28 +66755,27 @@ } } }, - "/v1/routingAppCoverages/{id}": { + "/v1/promotedPurchases/{id}": { "get": { "tags": [ - "RoutingAppCoverages" + "PromotedPurchases" ], - "operationId": "routingAppCoverages_getInstance", + "operationId": "promotedPurchases_getInstance", "parameters": [ { - "name": "fields[routingAppCoverages]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreVersion" + "visibleForAllUsers", + "enabled", + "state", + "inAppPurchaseV2", + "subscription" ] } }, @@ -66328,38 +66784,70 @@ "required": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" ] } }, @@ -66376,7 +66864,8 @@ "items": { "type": "string", "enum": [ - "appStoreVersion" + "inAppPurchaseV2", + "subscription" ] } }, @@ -66427,11 +66916,11 @@ } }, "200": { - "description": "Single RoutingAppCoverage", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageResponse" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } @@ -66450,15 +66939,15 @@ }, "patch": { "tags": [ - "RoutingAppCoverages" + "PromotedPurchases" ], - "operationId": "routingAppCoverages_updateInstance", + "operationId": "promotedPurchases_updateInstance", "requestBody": { - "description": "RoutingAppCoverage representation", + "description": "PromotedPurchase representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageUpdateRequest" + "$ref": "#/components/schemas/PromotedPurchaseUpdateRequest" } } }, @@ -66516,11 +67005,11 @@ } }, "200": { - "description": "Single RoutingAppCoverage", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageResponse" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } @@ -66549,9 +67038,9 @@ }, "delete": { "tags": [ - "RoutingAppCoverages" + "PromotedPurchases" ], - "operationId": "routingAppCoverages_deleteInstance", + "operationId": "promotedPurchases_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -66621,123 +67110,23 @@ } ] }, - "/v1/salesReports": { - "get": { + "/v1/reviewSubmissionItems": { + "post": { "tags": [ - "SalesReports" + "ReviewSubmissionItems" ], - "operationId": "salesReports_getCollection", - "parameters": [ - { - "name": "filter[vendorNumber]", - "in": "query", - "description": "filter by attribute 'vendorNumber'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[reportType]", - "in": "query", - "description": "filter by attribute 'reportType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "SALES", - "PRE_ORDER", - "NEWSSTAND", - "SUBSCRIPTION", - "SUBSCRIPTION_EVENT", - "SUBSCRIBER", - "SUBSCRIPTION_OFFER_CODE_REDEMPTION", - "INSTALLS", - "FIRST_ANNUAL", - "WIN_BACK_ELIGIBILITY" - ] - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[reportSubType]", - "in": "query", - "description": "filter by attribute 'reportSubType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "SUMMARY", - "DETAILED", - "SUMMARY_INSTALL_TYPE", - "SUMMARY_TERRITORY", - "SUMMARY_CHANNEL" - ] - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[frequency]", - "in": "query", - "description": "filter by attribute 'frequency'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "DAILY", - "WEEKLY", - "MONTHLY", - "YEARLY" - ] - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[reportDate]", - "in": "query", - "description": "filter by attribute 'reportDate'", - "schema": { - "type": "array", - "items": { - "type": "string" + "operationId": "reviewSubmissionItems_createInstance", + "requestBody": { + "description": "ReviewSubmissionItem representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionItemCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[version]", - "in": "query", - "description": "filter by attribute 'version'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -66769,73 +67158,8 @@ } } }, - "200": { - "description": "List of SalesReports", - "content": { - "application/a-gzip": { - "schema": { - "$ref": "#/components/schemas/gzip" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v2/sandboxTesters": { - "get": { - "tags": [ - "SandboxTesters" - ], - "operationId": "sandboxTestersV2_getCollection", - "parameters": [ - { - "name": "fields[sandboxTesters]", - "in": "query", - "description": "the fields to include for returned resources of type sandboxTesters", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "firstName", - "lastName", - "acAccountName", - "territory", - "applePayCompatible", - "interruptPurchases", - "subscriptionRenewalRate" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -66844,18 +67168,18 @@ } } }, - "401": { - "description": "Unauthorized error(s)", + "201": { + "description": "Single ReviewSubmissionItem", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ReviewSubmissionItemResponse" } } } }, - "403": { - "description": "Forbidden error", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -66864,16 +67188,6 @@ } } }, - "200": { - "description": "List of SandboxTesters", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SandboxTestersV2Response" - } - } - } - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -66887,18 +67201,18 @@ } } }, - "/v2/sandboxTesters/{id}": { + "/v1/reviewSubmissionItems/{id}": { "patch": { "tags": [ - "SandboxTesters" + "ReviewSubmissionItems" ], - "operationId": "sandboxTestersV2_updateInstance", + "operationId": "reviewSubmissionItems_updateInstance", "requestBody": { - "description": "SandboxTester representation", + "description": "ReviewSubmissionItem representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SandboxTesterV2UpdateRequest" + "$ref": "#/components/schemas/ReviewSubmissionItemUpdateRequest" } } }, @@ -66956,11 +67270,11 @@ } }, "200": { - "description": "Single SandboxTester", + "description": "Single ReviewSubmissionItem", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SandboxTesterV2Response" + "$ref": "#/components/schemas/ReviewSubmissionItemResponse" } } } @@ -66987,36 +67301,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/sandboxTestersClearPurchaseHistoryRequest": { - "post": { + "delete": { "tags": [ - "SandboxTestersClearPurchaseHistoryRequest" + "ReviewSubmissionItems" ], - "operationId": "sandboxTestersClearPurchaseHistoryRequestV2_createInstance", - "requestBody": { - "description": "SandboxTestersClearPurchaseHistoryRequest representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest" - } - } - }, - "required": true - }, + "operationId": "reviewSubmissionItems_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -67048,8 +67337,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -67058,25 +67347,8 @@ } } }, - "201": { - "description": "Single SandboxTestersClearPurchaseHistoryRequest", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SandboxTestersClearPurchaseHistoryRequestV2Response" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -67089,29 +67361,40 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/scmGitReferences/{id}": { + "/v1/reviewSubmissions": { "get": { "tags": [ - "ScmGitReferences" + "ReviewSubmissions" ], - "operationId": "scmGitReferences_getInstance", + "operationId": "reviewSubmissions_getCollection", "parameters": [ { - "name": "fields[scmGitReferences]", + "name": "filter[platform]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "canonicalName", - "isDeleted", - "kind", - "repository" + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" ] } }, @@ -67120,23 +67403,21 @@ "required": false }, { - "name": "fields[scmRepositories]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "UNRESOLVED_ISSUES", + "CANCELING", + "COMPLETING", + "COMPLETE" ] } }, @@ -67145,118 +67426,203 @@ "required": false }, { - "name": "include", + "name": "filter[app]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by id(s) of related 'app'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": true + }, + { + "name": "fields[reviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type reviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "repository" + "platform", + "submittedDate", + "state", + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, "style": "form", "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "200": { - "description": "Single ScmGitReference", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScmGitReferenceResponse" - } + { + "name": "fields[reviewSubmissionItems]", + "in": "query", + "description": "the fields to include for returned resources of type reviewSubmissionItems", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "state", + "appStoreVersion", + "appCustomProductPageVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appEvent", + "appAssetLibraryImage", + "appAssetLibraryVideo", + "backgroundAssetVersion", + "gameCenterAchievementVersion", + "gameCenterActivityVersion", + "gameCenterChallengeVersion", + "gameCenterLeaderboardSetVersion", + "gameCenterLeaderboardVersion", + "inAppPurchaseVersion", + "subscriptionVersion", + "subscriptionGroupVersion" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false, + "required": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/scmProviders": { - "get": { - "tags": [ - "ScmProviders" - ], - "operationId": "scmProviders_getCollection", - "parameters": [ { - "name": "fields[scmProviders]", + "name": "fields[actors]", "in": "query", - "description": "the fields to include for returned resources of type scmProviders", + "description": "the fields to include for returned resources of type actors", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "scmProviderType", - "url", - "repositories" + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" ] } }, @@ -67273,6 +67639,38 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[items]", + "in": "query", + "description": "maximum number of related items returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -67307,11 +67705,11 @@ } }, "200": { - "description": "List of ScmProviders", + "description": "List of ReviewSubmissions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmProvidersResponse" + "$ref": "#/components/schemas/ReviewSubmissionsResponse" } } } @@ -67327,35 +67725,23 @@ } } } - } - }, - "/v1/scmProviders/{id}": { - "get": { + }, + "post": { "tags": [ - "ScmProviders" + "ReviewSubmissions" ], - "operationId": "scmProviders_getInstance", - "parameters": [ - { - "name": "fields[scmProviders]", - "in": "query", - "description": "the fields to include for returned resources of type scmProviders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "scmProviderType", - "url", - "repositories" - ] + "operationId": "reviewSubmissions_createInstance", + "requestBody": { + "description": "ReviewSubmission representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false - } - ], + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -67387,8 +67773,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -67397,12 +67783,22 @@ } } }, - "200": { - "description": "Single ScmProvider", + "201": { + "description": "Single ReviewSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmProviderResponse" + "$ref": "#/components/schemas/ReviewSubmissionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -67418,48 +67814,32 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/scmPullRequests/{id}": { + "/v1/reviewSubmissions/{id}": { "get": { "tags": [ - "ScmPullRequests" + "ReviewSubmissions" ], - "operationId": "scmPullRequests_getInstance", + "operationId": "reviewSubmissions_getInstance", "parameters": [ { - "name": "fields[scmPullRequests]", + "name": "fields[reviewSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type reviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "title", - "number", - "webUrl", - "sourceRepositoryOwner", - "sourceRepositoryName", - "sourceBranchName", - "destinationRepositoryOwner", - "destinationRepositoryName", - "destinationBranchName", - "isClosed", - "isCrossRepository", - "repository" + "platform", + "submittedDate", + "state", + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, @@ -67468,23 +67848,165 @@ "required": false }, { - "name": "fields[scmRepositories]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[reviewSubmissionItems]", + "in": "query", + "description": "the fields to include for returned resources of type reviewSubmissionItems", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "state", + "appStoreVersion", + "appCustomProductPageVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appEvent", + "appAssetLibraryImage", + "appAssetLibraryVideo", + "backgroundAssetVersion", + "gameCenterAchievementVersion", + "gameCenterActivityVersion", + "gameCenterChallengeVersion", + "gameCenterLeaderboardSetVersion", + "gameCenterLeaderboardVersion", + "inAppPurchaseVersion", + "subscriptionVersion", + "subscriptionGroupVersion" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[actors]", + "in": "query", + "description": "the fields to include for returned resources of type actors", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" ] } }, @@ -67501,13 +68023,28 @@ "items": { "type": "string", "enum": [ - "repository" + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[items]", + "in": "query", + "description": "maximum number of related items returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -67552,11 +68089,11 @@ } }, "200": { - "description": "Single ScmPullRequest", + "description": "Single ReviewSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmPullRequestResponse" + "$ref": "#/components/schemas/ReviewSubmissionResponse" } } } @@ -67573,134 +68110,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/scmRepositories": { - "get": { + "patch": { "tags": [ - "ScmRepositories" + "ReviewSubmissions" ], - "operationId": "scmRepositories_getCollection", - "parameters": [ - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmRepositories]", - "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmProviders]", - "in": "query", - "description": "the fields to include for returned resources of type scmProviders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "scmProviderType", - "url", - "repositories" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "canonicalName", - "isDeleted", - "kind", - "repository" - ] + "operationId": "reviewSubmissions_updateInstance", + "requestBody": { + "description": "ReviewSubmission representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "scmProvider", - "defaultBranch" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -67732,123 +68157,8 @@ } } }, - "200": { - "description": "List of ScmRepositories", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScmRepositoriesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/scmRepositories/{id}": { - "get": { - "tags": [ - "ScmRepositories" - ], - "operationId": "scmRepositories_getInstance", - "parameters": [ - { - "name": "fields[scmRepositories]", - "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmProviders]", - "in": "query", - "description": "the fields to include for returned resources of type scmProviders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "scmProviderType", - "url", - "repositories" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "canonicalName", - "isDeleted", - "kind", - "repository" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "scmProvider", - "defaultBranch" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -67857,8 +68167,8 @@ } } }, - "401": { - "description": "Unauthorized error(s)", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -67867,18 +68177,18 @@ } } }, - "403": { - "description": "Forbidden error", + "200": { + "description": "Single ReviewSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ReviewSubmissionResponse" } } } }, - "404": { - "description": "Not found error", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -67887,16 +68197,6 @@ } } }, - "200": { - "description": "Single ScmRepository", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScmRepositoryResponse" - } - } - } - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -67922,18 +68222,18 @@ } ] }, - "/v1/subscriptionAppStoreReviewScreenshots": { + "/v1/routingAppCoverages": { "post": { "tags": [ - "SubscriptionAppStoreReviewScreenshots" + "RoutingAppCoverages" ], - "operationId": "subscriptionAppStoreReviewScreenshots_createInstance", + "operationId": "routingAppCoverages_createInstance", "requestBody": { - "description": "SubscriptionAppStoreReviewScreenshot representation", + "description": "RoutingAppCoverage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotCreateRequest" + "$ref": "#/components/schemas/RoutingAppCoverageCreateRequest" } } }, @@ -67981,11 +68281,11 @@ } }, "201": { - "description": "Single SubscriptionAppStoreReviewScreenshot", + "description": "Single RoutingAppCoverage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/RoutingAppCoverageResponse" } } } @@ -68013,17 +68313,17 @@ } } }, - "/v1/subscriptionAppStoreReviewScreenshots/{id}": { + "/v1/routingAppCoverages/{id}": { "get": { "tags": [ - "SubscriptionAppStoreReviewScreenshots" + "RoutingAppCoverages" ], - "operationId": "subscriptionAppStoreReviewScreenshots_getInstance", + "operationId": "routingAppCoverages_getInstance", "parameters": [ { - "name": "fields[subscriptionAppStoreReviewScreenshots]", + "name": "fields[routingAppCoverages]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type routingAppCoverages", "schema": { "type": "array", "items": { @@ -68032,12 +68332,9 @@ "fileSize", "fileName", "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", "uploadOperations", "assetDeliveryState", - "subscription" + "appStoreVersion" ] } }, @@ -68046,37 +68343,38 @@ "required": false }, { - "name": "fields[subscriptions]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -68093,7 +68391,7 @@ "items": { "type": "string", "enum": [ - "subscription" + "appStoreVersion" ] } }, @@ -68144,11 +68442,11 @@ } }, "200": { - "description": "Single SubscriptionAppStoreReviewScreenshot", + "description": "Single RoutingAppCoverage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/RoutingAppCoverageResponse" } } } @@ -68167,15 +68465,15 @@ }, "patch": { "tags": [ - "SubscriptionAppStoreReviewScreenshots" + "RoutingAppCoverages" ], - "operationId": "subscriptionAppStoreReviewScreenshots_updateInstance", + "operationId": "routingAppCoverages_updateInstance", "requestBody": { - "description": "SubscriptionAppStoreReviewScreenshot representation", + "description": "RoutingAppCoverage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotUpdateRequest" + "$ref": "#/components/schemas/RoutingAppCoverageUpdateRequest" } } }, @@ -68233,11 +68531,11 @@ } }, "200": { - "description": "Single SubscriptionAppStoreReviewScreenshot", + "description": "Single RoutingAppCoverage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/RoutingAppCoverageResponse" } } } @@ -68266,9 +68564,9 @@ }, "delete": { "tags": [ - "SubscriptionAppStoreReviewScreenshots" + "RoutingAppCoverages" ], - "operationId": "subscriptionAppStoreReviewScreenshots_deleteInstance", + "operationId": "routingAppCoverages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -68338,167 +68636,120 @@ } ] }, - "/v1/subscriptionAvailabilities": { - "post": { - "tags": [ - "SubscriptionAvailabilities" - ], - "operationId": "subscriptionAvailabilities_createInstance", - "deprecated": true, - "requestBody": { - "description": "SubscriptionAvailability representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single SubscriptionAvailability", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/subscriptionAvailabilities/{id}": { + "/v1/salesReports": { "get": { "tags": [ - "SubscriptionAvailabilities" + "SalesReports" ], - "operationId": "subscriptionAvailabilities_getInstance", - "deprecated": true, + "operationId": "salesReports_getCollection", "parameters": [ { - "name": "fields[subscriptionAvailabilities]", + "name": "filter[vendorNumber]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "description": "filter by attribute 'vendorNumber'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": true + }, + { + "name": "filter[reportType]", + "in": "query", + "description": "filter by attribute 'reportType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories" + "SALES", + "PRE_ORDER", + "NEWSSTAND", + "SUBSCRIPTION", + "SUBSCRIPTION_EVENT", + "SUBSCRIBER", + "SUBSCRIPTION_OFFER_CODE_REDEMPTION", + "INSTALLS", + "FIRST_ANNUAL", + "WIN_BACK_ELIGIBILITY" ] } }, "style": "form", "explode": false, - "required": false + "required": true }, { - "name": "fields[territories]", + "name": "filter[reportSubType]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "filter by attribute 'reportSubType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "SUMMARY", + "DETAILED", + "SUMMARY_INSTALL_TYPE", + "SUMMARY_TERRITORY", + "SUMMARY_CHANNEL" ] } }, "style": "form", "explode": false, - "required": false + "required": true }, { - "name": "include", + "name": "filter[frequency]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by attribute 'frequency'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableTerritories" + "DAILY", + "WEEKLY", + "MONTHLY", + "YEARLY" ] } }, "style": "form", "explode": false, + "required": true + }, + { + "name": "filter[reportDate]", + "in": "query", + "description": "filter by attribute 'reportDate'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, "required": false }, { - "name": "limit[availableTerritories]", + "name": "filter[version]", "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", + "description": "filter by attribute 'version'", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string" + } }, "style": "form", + "explode": false, "required": false } ], @@ -68533,22 +68784,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single SubscriptionAvailability", + "description": "List of SalesReports", "content": { - "application/json": { + "application/a-gzip": { "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" + "$ref": "#/components/schemas/gzip" } } } @@ -68564,46 +68805,47 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/subscriptionGracePeriods/{id}": { + "/v2/sandboxTesters": { "get": { "tags": [ - "SubscriptionGracePeriods" + "SandboxTesters" ], - "operationId": "subscriptionGracePeriods_getInstance", + "operationId": "sandboxTestersV2_getCollection", "parameters": [ { - "name": "fields[subscriptionGracePeriods]", + "name": "fields[sandboxTesters]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "description": "the fields to include for returned resources of type sandboxTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "optIn", - "sandboxOptIn", - "duration", - "renewalType" + "firstName", + "lastName", + "acAccountName", + "territory", + "applePayCompatible", + "interruptPurchases", + "subscriptionRenewalRate" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -68637,22 +68879,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single SubscriptionGracePeriod", + "description": "List of SandboxTesters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" + "$ref": "#/components/schemas/SandboxTestersV2Response" } } } @@ -68668,18 +68900,20 @@ } } } - }, + } + }, + "/v2/sandboxTesters/{id}": { "patch": { "tags": [ - "SubscriptionGracePeriods" + "SandboxTesters" ], - "operationId": "subscriptionGracePeriods_updateInstance", + "operationId": "sandboxTestersV2_updateInstance", "requestBody": { - "description": "SubscriptionGracePeriod representation", + "description": "SandboxTester representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGracePeriodUpdateRequest" + "$ref": "#/components/schemas/SandboxTesterV2UpdateRequest" } } }, @@ -68737,11 +68971,11 @@ } }, "200": { - "description": "Single SubscriptionGracePeriod", + "description": "Single SandboxTester", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" + "$ref": "#/components/schemas/SandboxTesterV2Response" } } } @@ -68781,18 +69015,18 @@ } ] }, - "/v2/subscriptionGroupLocalizations": { + "/v2/sandboxTestersClearPurchaseHistoryRequest": { "post": { "tags": [ - "SubscriptionGroupLocalizations" + "SandboxTestersClearPurchaseHistoryRequest" ], - "operationId": "subscriptionGroupLocalizationsV2_createInstance", + "operationId": "sandboxTestersClearPurchaseHistoryRequestV2_createInstance", "requestBody": { - "description": "SubscriptionGroupLocalization representation", + "description": "SandboxTestersClearPurchaseHistoryRequest representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2CreateRequest" + "$ref": "#/components/schemas/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest" } } }, @@ -68840,11 +69074,11 @@ } }, "201": { - "description": "Single SubscriptionGroupLocalization", + "description": "Single SandboxTestersClearPurchaseHistoryRequest", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2Response" + "$ref": "#/components/schemas/SandboxTestersClearPurchaseHistoryRequestV2Response" } } } @@ -68872,26 +69106,27 @@ } } }, - "/v2/subscriptionGroupLocalizations/{id}": { + "/v1/scmGitReferences/{id}": { "get": { "tags": [ - "SubscriptionGroupLocalizations" + "ScmGitReferences" ], - "operationId": "subscriptionGroupLocalizationsV2_getInstance", + "operationId": "scmGitReferences_getInstance", "parameters": [ { - "name": "fields[subscriptionGroupLocalizations]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "customAppName", - "locale", - "version" + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -68900,18 +69135,23 @@ "required": false }, { - "name": "fields[subscriptionGroupVersions]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupVersions", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "subscriptionGroup", - "localizations" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -68928,7 +69168,7 @@ "items": { "type": "string", "enum": [ - "version" + "repository" ] } }, @@ -68979,11 +69219,11 @@ } }, "200": { - "description": "Single SubscriptionGroupLocalization", + "description": "Single ScmGitReference", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2Response" + "$ref": "#/components/schemas/ScmGitReferenceResponse" } } } @@ -69000,22 +69240,56 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/scmProviders": { + "get": { "tags": [ - "SubscriptionGroupLocalizations" + "ScmProviders" ], - "operationId": "subscriptionGroupLocalizationsV2_updateInstance", - "requestBody": { - "description": "SubscriptionGroupLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2UpdateRequest" + "operationId": "scmProviders_getCollection", + "parameters": [ + { + "name": "fields[scmProviders]", + "in": "query", + "description": "the fields to include for returned resources of type scmProviders", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "scmProviderType", + "url", + "repositories" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -69047,42 +69321,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single SubscriptionGroupLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2Response" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "List of ScmProviders", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ScmProvidersResponse" } } } @@ -69098,12 +69342,35 @@ } } } - }, - "delete": { + } + }, + "/v1/scmProviders/{id}": { + "get": { "tags": [ - "SubscriptionGroupLocalizations" + "ScmProviders" + ], + "operationId": "scmProviders_getInstance", + "parameters": [ + { + "name": "fields[scmProviders]", + "in": "query", + "description": "the fields to include for returned resources of type scmProviders", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "scmProviderType", + "url", + "repositories" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } ], - "operationId": "subscriptionGroupLocalizationsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -69145,8 +69412,15 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single ScmProvider", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScmProviderResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -69173,23 +69447,84 @@ } ] }, - "/v1/subscriptionGroupLocalizations": { - "post": { + "/v1/scmPullRequests/{id}": { + "get": { "tags": [ - "SubscriptionGroupLocalizations" + "ScmPullRequests" ], - "operationId": "subscriptionGroupLocalizations_createInstance", - "requestBody": { - "description": "SubscriptionGroupLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationCreateRequest" + "operationId": "scmPullRequests_getInstance", + "parameters": [ + { + "name": "fields[scmPullRequests]", + "in": "query", + "description": "the fields to include for returned resources of type scmPullRequests", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", + "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", + "isClosed", + "isCrossRepository", + "repository" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "repository" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -69221,8 +69556,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -69231,22 +69566,12 @@ } } }, - "201": { - "description": "Single SubscriptionGroupLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single ScmPullRequest", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ScmPullRequestResponse" } } } @@ -69262,29 +69587,59 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/subscriptionGroupLocalizations/{id}": { + "/v1/scmRepositories": { "get": { "tags": [ - "SubscriptionGroupLocalizations" + "ScmRepositories" ], - "operationId": "subscriptionGroupLocalizations_getInstance", + "operationId": "scmRepositories_getCollection", "parameters": [ { - "name": "fields[subscriptionGroupLocalizations]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "customAppName", - "locale", - "state", - "subscriptionGroup" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -69293,18 +69648,38 @@ "required": false }, { - "name": "fields[subscriptionGroups]", + "name": "fields[scmProviders]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "the fields to include for returned resources of type scmProviders", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", - "versions" + "scmProviderType", + "url", + "repositories" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -69312,6 +69687,16 @@ "explode": false, "required": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -69321,7 +69706,8 @@ "items": { "type": "string", "enum": [ - "subscriptionGroup" + "scmProvider", + "defaultBranch" ] } }, @@ -69361,22 +69747,12 @@ } } }, - "404": { - "description": "Not found error", + "200": { + "description": "List of ScmRepositories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single SubscriptionGroupLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" + "$ref": "#/components/schemas/ScmRepositoriesResponse" } } } @@ -69392,23 +69768,99 @@ } } } - }, - "patch": { + } + }, + "/v1/scmRepositories/{id}": { + "get": { "tags": [ - "SubscriptionGroupLocalizations" + "ScmRepositories" ], - "operationId": "subscriptionGroupLocalizations_updateInstance", - "requestBody": { - "description": "SubscriptionGroupLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationUpdateRequest" + "operationId": "scmRepositories_getInstance", + "parameters": [ + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[scmProviders]", + "in": "query", + "description": "the fields to include for returned resources of type scmProviders", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "scmProviderType", + "url", + "repositories" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "scmProvider", + "defaultBranch" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -69450,32 +69902,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single SubscriptionGroupLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single ScmRepository", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ScmRepositoryResponse" } } } @@ -69492,11 +69924,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionAppStoreReviewScreenshots": { + "post": { "tags": [ - "SubscriptionGroupLocalizations" + "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionGroupLocalizations_deleteInstance", + "operationId": "subscriptionAppStoreReviewScreenshots_createInstance", + "requestBody": { + "description": "SubscriptionAppStoreReviewScreenshot representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -69528,8 +69985,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -69538,8 +69995,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single SubscriptionAppStoreReviewScreenshot", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -69552,37 +70026,97 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/subscriptionGroupSubmissions": { - "post": { + "/v1/subscriptionAppStoreReviewScreenshots/{id}": { + "get": { "tags": [ - "SubscriptionGroupSubmissions" + "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionGroupSubmissions_createInstance", - "requestBody": { - "description": "SubscriptionGroupSubmission representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupSubmissionCreateRequest" + "operationId": "subscriptionAppStoreReviewScreenshots_getInstance", + "parameters": [ + { + "name": "fields[subscriptionAppStoreReviewScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "subscription" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscription" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -69614,8 +70148,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -69624,22 +70158,12 @@ } } }, - "201": { - "description": "Single SubscriptionGroupSubmission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupSubmissionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single SubscriptionAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" } } } @@ -69655,20 +70179,18 @@ } } } - } - }, - "/v1/subscriptionGroupVersions": { - "post": { + }, + "patch": { "tags": [ - "SubscriptionGroupVersions" + "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionGroupVersions_createInstance", + "operationId": "subscriptionAppStoreReviewScreenshots_updateInstance", "requestBody": { - "description": "SubscriptionGroupVersion representation", + "description": "SubscriptionAppStoreReviewScreenshot representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupVersionCreateRequest" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotUpdateRequest" } } }, @@ -69705,6 +70227,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -69715,12 +70247,12 @@ } } }, - "201": { - "description": "Single SubscriptionGroupVersion", + "200": { + "description": "Single SubscriptionAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupVersionResponse" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" } } } @@ -69746,105 +70278,12 @@ } } } - } - }, - "/v1/subscriptionGroupVersions/{id}": { - "get": { + }, + "delete": { "tags": [ - "SubscriptionGroupVersions" - ], - "operationId": "subscriptionGroupVersions_getInstance", - "parameters": [ - { - "name": "fields[subscriptionGroupVersions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "subscriptionGroup", - "localizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionGroups]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionGroupLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "customAppName", - "locale", - "version" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subscriptionGroup", - "localizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } + "SubscriptionAppStoreReviewScreenshots" ], + "operationId": "subscriptionAppStoreReviewScreenshots_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -69886,15 +70325,8 @@ } } }, - "200": { - "description": "Single SubscriptionGroupVersion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupVersionResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -69921,18 +70353,19 @@ } ] }, - "/v1/subscriptionGroups": { + "/v1/subscriptionAvailabilities": { "post": { "tags": [ - "SubscriptionGroups" + "SubscriptionAvailabilities" ], - "operationId": "subscriptionGroups_createInstance", + "operationId": "subscriptionAvailabilities_createInstance", + "deprecated": true, "requestBody": { - "description": "SubscriptionGroup representation", + "description": "SubscriptionAvailability representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupCreateRequest" + "$ref": "#/components/schemas/SubscriptionAvailabilityCreateRequest" } } }, @@ -69980,11 +70413,11 @@ } }, "201": { - "description": "Single SubscriptionGroup", + "description": "Single SubscriptionAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupResponse" + "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" } } } @@ -70012,86 +70445,25 @@ } } }, - "/v1/subscriptionGroups/{id}": { + "/v1/subscriptionAvailabilities/{id}": { "get": { "tags": [ - "SubscriptionGroups" + "SubscriptionAvailabilities" ], - "operationId": "subscriptionGroups_getInstance", + "operationId": "subscriptionAvailabilities_getInstance", + "deprecated": true, "parameters": [ { - "name": "fields[subscriptionGroups]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionGroupLocalizations]", + "name": "fields[subscriptionAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "customAppName", - "locale", - "state", - "subscriptionGroup" + "availableInNewTerritories", + "availableTerritories" ] } }, @@ -70100,18 +70472,15 @@ "required": false }, { - "name": "fields[subscriptionGroupVersions]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupVersions", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "subscriptionGroup", - "localizations" + "currency" ] } }, @@ -70128,9 +70497,7 @@ "items": { "type": "string", "enum": [ - "subscriptions", - "subscriptionGroupLocalizations", - "versions" + "availableTerritories" ] } }, @@ -70139,31 +70506,9 @@ "required": false }, { - "name": "limit[subscriptionGroupLocalizations]", - "in": "query", - "description": "maximum number of related subscriptionGroupLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[subscriptions]", - "in": "query", - "description": "maximum number of related subscriptions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[versions]", + "name": "limit[availableTerritories]", "in": "query", - "description": "maximum number of related versions returned (when they are included)", + "description": "maximum number of related availableTerritories returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -70214,11 +70559,11 @@ } }, "200": { - "description": "Single SubscriptionGroup", + "description": "Single SubscriptionAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupResponse" + "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" } } } @@ -70235,22 +70580,47 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionGracePeriods/{id}": { + "get": { "tags": [ - "SubscriptionGroups" + "SubscriptionGracePeriods" ], - "operationId": "subscriptionGroups_updateInstance", - "requestBody": { - "description": "SubscriptionGroup representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupUpdateRequest" + "operationId": "subscriptionGracePeriods_getInstance", + "parameters": [ + { + "name": "fields[subscriptionGracePeriods]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "optIn", + "sandboxOptIn", + "duration", + "renewalType" + ] } - } - }, - "required": true - }, + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -70292,32 +70662,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single SubscriptionGroup", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single SubscriptionGracePeriod", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" } } } @@ -70334,11 +70684,22 @@ } } }, - "delete": { + "patch": { "tags": [ - "SubscriptionGroups" + "SubscriptionGracePeriods" ], - "operationId": "subscriptionGroups_deleteInstance", + "operationId": "subscriptionGracePeriods_updateInstance", + "requestBody": { + "description": "SubscriptionGracePeriod representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionGracePeriodUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -70380,8 +70741,35 @@ } } }, - "204": { - "description": "Success (no content)" + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single SubscriptionGracePeriod", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -70408,18 +70796,18 @@ } ] }, - "/v1/subscriptionImages": { + "/v2/subscriptionGroupLocalizations": { "post": { "tags": [ - "SubscriptionImages" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionImages_createInstance", + "operationId": "subscriptionGroupLocalizationsV2_createInstance", "requestBody": { - "description": "SubscriptionImage representation", + "description": "SubscriptionGroupLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageCreateRequest" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2CreateRequest" } } }, @@ -70467,11 +70855,11 @@ } }, "201": { - "description": "Single SubscriptionImage", + "description": "Single SubscriptionGroupLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageResponse" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2Response" } } } @@ -70499,30 +70887,26 @@ } } }, - "/v1/subscriptionImages/{id}": { + "/v2/subscriptionGroupLocalizations/{id}": { "get": { "tags": [ - "SubscriptionImages" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionImages_getInstance", + "operationId": "subscriptionGroupLocalizationsV2_getInstance", "parameters": [ { - "name": "fields[subscriptionImages]", + "name": "fields[subscriptionGroupLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionImages", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "assetToken", - "imageAsset", - "uploadOperations", - "state", - "subscription" + "name", + "customAppName", + "locale", + "version" ] } }, @@ -70531,37 +70915,18 @@ "required": false }, { - "name": "fields[subscriptions]", + "name": "fields[subscriptionGroupVersions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionGroupVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", + "version", "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "subscriptionGroup", + "localizations" ] } }, @@ -70578,7 +70943,7 @@ "items": { "type": "string", "enum": [ - "subscription" + "version" ] } }, @@ -70629,11 +70994,11 @@ } }, "200": { - "description": "Single SubscriptionImage", + "description": "Single SubscriptionGroupLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageResponse" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2Response" } } } @@ -70652,15 +71017,15 @@ }, "patch": { "tags": [ - "SubscriptionImages" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionImages_updateInstance", + "operationId": "subscriptionGroupLocalizationsV2_updateInstance", "requestBody": { - "description": "SubscriptionImage representation", + "description": "SubscriptionGroupLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageUpdateRequest" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2UpdateRequest" } } }, @@ -70718,11 +71083,11 @@ } }, "200": { - "description": "Single SubscriptionImage", + "description": "Single SubscriptionGroupLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageResponse" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationV2Response" } } } @@ -70751,9 +71116,9 @@ }, "delete": { "tags": [ - "SubscriptionImages" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionImages_deleteInstance", + "operationId": "subscriptionGroupLocalizationsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -70823,18 +71188,18 @@ } ] }, - "/v2/subscriptionImages": { + "/v1/subscriptionGroupLocalizations": { "post": { "tags": [ - "SubscriptionImages" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionImagesV2_createInstance", + "operationId": "subscriptionGroupLocalizations_createInstance", "requestBody": { - "description": "SubscriptionImage representation", + "description": "SubscriptionGroupLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageV2CreateRequest" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationCreateRequest" } } }, @@ -70882,11 +71247,11 @@ } }, "201": { - "description": "Single SubscriptionImage", + "description": "Single SubscriptionGroupLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageV2Response" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" } } } @@ -70914,28 +71279,64 @@ } } }, - "/v2/subscriptionImages/{id}": { + "/v1/subscriptionGroupLocalizations/{id}": { "get": { "tags": [ - "SubscriptionImages" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionImagesV2_getInstance", + "operationId": "subscriptionGroupLocalizations_getInstance", "parameters": [ { - "name": "fields[subscriptionImages]", + "name": "fields[subscriptionGroupLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionImages", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "name", + "customAppName", + "locale", + "state", + "subscriptionGroup" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionGroups]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscriptionGroup" ] } }, @@ -70986,11 +71387,11 @@ } }, "200": { - "description": "Single SubscriptionImage", + "description": "Single SubscriptionGroupLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageV2Response" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" } } } @@ -71009,15 +71410,15 @@ }, "patch": { "tags": [ - "SubscriptionImages" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionImagesV2_updateInstance", + "operationId": "subscriptionGroupLocalizations_updateInstance", "requestBody": { - "description": "SubscriptionImage representation", + "description": "SubscriptionGroupLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageV2UpdateRequest" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationUpdateRequest" } } }, @@ -71075,11 +71476,11 @@ } }, "200": { - "description": "Single SubscriptionImage", + "description": "Single SubscriptionGroupLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageV2Response" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" } } } @@ -71108,9 +71509,9 @@ }, "delete": { "tags": [ - "SubscriptionImages" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionImagesV2_deleteInstance", + "operationId": "subscriptionGroupLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -71180,18 +71581,18 @@ } ] }, - "/v1/subscriptionIntroductoryOffers": { + "/v1/subscriptionGroupSubmissions": { "post": { "tags": [ - "SubscriptionIntroductoryOffers" + "SubscriptionGroupSubmissions" ], - "operationId": "subscriptionIntroductoryOffers_createInstance", + "operationId": "subscriptionGroupSubmissions_createInstance", "requestBody": { - "description": "SubscriptionIntroductoryOffer representation", + "description": "SubscriptionGroupSubmission representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOfferCreateRequest" + "$ref": "#/components/schemas/SubscriptionGroupSubmissionCreateRequest" } } }, @@ -71239,11 +71640,11 @@ } }, "201": { - "description": "Single SubscriptionIntroductoryOffer", + "description": "Single SubscriptionGroupSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOfferResponse" + "$ref": "#/components/schemas/SubscriptionGroupSubmissionResponse" } } } @@ -71271,18 +71672,18 @@ } } }, - "/v1/subscriptionIntroductoryOffers/{id}": { - "patch": { + "/v1/subscriptionGroupVersions": { + "post": { "tags": [ - "SubscriptionIntroductoryOffers" + "SubscriptionGroupVersions" ], - "operationId": "subscriptionIntroductoryOffers_updateInstance", + "operationId": "subscriptionGroupVersions_createInstance", "requestBody": { - "description": "SubscriptionIntroductoryOffer representation", + "description": "SubscriptionGroupVersion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOfferUpdateRequest" + "$ref": "#/components/schemas/SubscriptionGroupVersionCreateRequest" } } }, @@ -71319,16 +71720,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -71339,12 +71730,12 @@ } } }, - "200": { - "description": "Single SubscriptionIntroductoryOffer", + "201": { + "description": "Single SubscriptionGroupVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOfferResponse" + "$ref": "#/components/schemas/SubscriptionGroupVersionResponse" } } } @@ -71370,12 +71761,105 @@ } } } - }, - "delete": { + } + }, + "/v1/subscriptionGroupVersions/{id}": { + "get": { "tags": [ - "SubscriptionIntroductoryOffers" + "SubscriptionGroupVersions" + ], + "operationId": "subscriptionGroupVersions_getInstance", + "parameters": [ + { + "name": "fields[subscriptionGroupVersions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroupVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "subscriptionGroup", + "localizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionGroups]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionGroupLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "customAppName", + "locale", + "version" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscriptionGroup", + "localizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } ], - "operationId": "subscriptionIntroductoryOffers_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -71417,8 +71901,15 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single SubscriptionGroupVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionGroupVersionResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -71445,18 +71936,18 @@ } ] }, - "/v2/subscriptionLocalizations": { + "/v1/subscriptionGroups": { "post": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionGroups" ], - "operationId": "subscriptionLocalizationsV2_createInstance", + "operationId": "subscriptionGroups_createInstance", "requestBody": { - "description": "SubscriptionLocalization representation", + "description": "SubscriptionGroup representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationV2CreateRequest" + "$ref": "#/components/schemas/SubscriptionGroupCreateRequest" } } }, @@ -71504,11 +71995,11 @@ } }, "201": { - "description": "Single SubscriptionLocalization", + "description": "Single SubscriptionGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationV2Response" + "$ref": "#/components/schemas/SubscriptionGroupResponse" } } } @@ -71536,26 +72027,86 @@ } } }, - "/v2/subscriptionLocalizations/{id}": { + "/v1/subscriptionGroups/{id}": { "get": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionGroups" ], - "operationId": "subscriptionLocalizationsV2_getInstance", + "operationId": "subscriptionGroups_getInstance", "parameters": [ { - "name": "fields[subscriptionLocalizations]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the fields to include for returned resources of type subscriptionGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionGroupLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "customAppName", "locale", - "description", - "version" + "state", + "subscriptionGroup" ] } }, @@ -71564,9 +72115,9 @@ "required": false }, { - "name": "fields[subscriptionVersions]", + "name": "fields[subscriptionGroupVersions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionVersions", + "description": "the fields to include for returned resources of type subscriptionGroupVersions", "schema": { "type": "array", "items": { @@ -71574,9 +72125,7 @@ "enum": [ "version", "state", - "subscription", - "image", - "images", + "subscriptionGroup", "localizations" ] } @@ -71594,13 +72143,48 @@ "items": { "type": "string", "enum": [ - "version" + "subscriptions", + "subscriptionGroupLocalizations", + "versions" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[subscriptionGroupLocalizations]", + "in": "query", + "description": "maximum number of related subscriptionGroupLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[subscriptions]", + "in": "query", + "description": "maximum number of related subscriptions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -71645,11 +72229,11 @@ } }, "200": { - "description": "Single SubscriptionLocalization", + "description": "Single SubscriptionGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationV2Response" + "$ref": "#/components/schemas/SubscriptionGroupResponse" } } } @@ -71668,15 +72252,15 @@ }, "patch": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionGroups" ], - "operationId": "subscriptionLocalizationsV2_updateInstance", + "operationId": "subscriptionGroups_updateInstance", "requestBody": { - "description": "SubscriptionLocalization representation", + "description": "SubscriptionGroup representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationV2UpdateRequest" + "$ref": "#/components/schemas/SubscriptionGroupUpdateRequest" } } }, @@ -71734,11 +72318,11 @@ } }, "200": { - "description": "Single SubscriptionLocalization", + "description": "Single SubscriptionGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationV2Response" + "$ref": "#/components/schemas/SubscriptionGroupResponse" } } } @@ -71767,9 +72351,9 @@ }, "delete": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionGroups" ], - "operationId": "subscriptionLocalizationsV2_deleteInstance", + "operationId": "subscriptionGroups_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -71839,18 +72423,18 @@ } ] }, - "/v1/subscriptionLocalizations": { + "/v1/subscriptionImages": { "post": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionImages" ], - "operationId": "subscriptionLocalizations_createInstance", + "operationId": "subscriptionImages_createInstance", "requestBody": { - "description": "SubscriptionLocalization representation", + "description": "SubscriptionImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationCreateRequest" + "$ref": "#/components/schemas/SubscriptionImageCreateRequest" } } }, @@ -71898,11 +72482,11 @@ } }, "201": { - "description": "Single SubscriptionLocalization", + "description": "Single SubscriptionImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationResponse" + "$ref": "#/components/schemas/SubscriptionImageResponse" } } } @@ -71930,25 +72514,28 @@ } } }, - "/v1/subscriptionLocalizations/{id}": { + "/v1/subscriptionImages/{id}": { "get": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionImages" ], - "operationId": "subscriptionLocalizations_getInstance", + "operationId": "subscriptionImages_getInstance", "parameters": [ { - "name": "fields[subscriptionLocalizations]", + "name": "fields[subscriptionImages]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "locale", - "description", + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", "state", "subscription" ] @@ -72057,11 +72644,11 @@ } }, "200": { - "description": "Single SubscriptionLocalization", + "description": "Single SubscriptionImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationResponse" + "$ref": "#/components/schemas/SubscriptionImageResponse" } } } @@ -72080,15 +72667,15 @@ }, "patch": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionImages" ], - "operationId": "subscriptionLocalizations_updateInstance", + "operationId": "subscriptionImages_updateInstance", "requestBody": { - "description": "SubscriptionLocalization representation", + "description": "SubscriptionImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationUpdateRequest" + "$ref": "#/components/schemas/SubscriptionImageUpdateRequest" } } }, @@ -72146,11 +72733,11 @@ } }, "200": { - "description": "Single SubscriptionLocalization", + "description": "Single SubscriptionImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationResponse" + "$ref": "#/components/schemas/SubscriptionImageResponse" } } } @@ -72179,9 +72766,9 @@ }, "delete": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionImages" ], - "operationId": "subscriptionLocalizations_deleteInstance", + "operationId": "subscriptionImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -72251,18 +72838,18 @@ } ] }, - "/v1/subscriptionOfferCodeCustomCodes": { + "/v2/subscriptionImages": { "post": { "tags": [ - "SubscriptionOfferCodeCustomCodes" + "SubscriptionImages" ], - "operationId": "subscriptionOfferCodeCustomCodes_createInstance", + "operationId": "subscriptionImagesV2_createInstance", "requestBody": { - "description": "SubscriptionOfferCodeCustomCode representation", + "description": "SubscriptionImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeCreateRequest" + "$ref": "#/components/schemas/SubscriptionImageV2CreateRequest" } } }, @@ -72310,11 +72897,11 @@ } }, "201": { - "description": "Single SubscriptionOfferCodeCustomCode", + "description": "Single SubscriptionImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" + "$ref": "#/components/schemas/SubscriptionImageV2Response" } } } @@ -72342,77 +72929,28 @@ } } }, - "/v1/subscriptionOfferCodeCustomCodes/{id}": { + "/v2/subscriptionImages/{id}": { "get": { "tags": [ - "SubscriptionOfferCodeCustomCodes" + "SubscriptionImages" ], - "operationId": "subscriptionOfferCodeCustomCodes_getInstance", + "operationId": "subscriptionImagesV2_getInstance", "parameters": [ { - "name": "fields[subscriptionOfferCodeCustomCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customCode", - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "offerCode" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "customerEligibilities", - "offerEligibility", - "duration", - "offerMode", - "numberOfPeriods", - "totalNumberOfCodes", - "productionCodeCount", - "sandboxCodeCount", - "active", - "autoRenewEnabled", - "targetSubscriptionPlanType", - "subscription", - "oneTimeUseCodes", - "customCodes", - "prices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", + "name": "fields[subscriptionImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "offerCode" + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -72463,11 +73001,11 @@ } }, "200": { - "description": "Single SubscriptionOfferCodeCustomCode", + "description": "Single SubscriptionImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" + "$ref": "#/components/schemas/SubscriptionImageV2Response" } } } @@ -72486,15 +73024,15 @@ }, "patch": { "tags": [ - "SubscriptionOfferCodeCustomCodes" + "SubscriptionImages" ], - "operationId": "subscriptionOfferCodeCustomCodes_updateInstance", + "operationId": "subscriptionImagesV2_updateInstance", "requestBody": { - "description": "SubscriptionOfferCodeCustomCode representation", + "description": "SubscriptionImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeUpdateRequest" + "$ref": "#/components/schemas/SubscriptionImageV2UpdateRequest" } } }, @@ -72552,11 +73090,11 @@ } }, "200": { - "description": "Single SubscriptionOfferCodeCustomCode", + "description": "Single SubscriptionImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" + "$ref": "#/components/schemas/SubscriptionImageV2Response" } } } @@ -72583,36 +73121,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptionOfferCodeOneTimeUseCodes": { - "post": { + "delete": { "tags": [ - "SubscriptionOfferCodeOneTimeUseCodes" + "SubscriptionImages" ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes_createInstance", - "requestBody": { - "description": "SubscriptionOfferCodeOneTimeUseCode representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeCreateRequest" - } - } - }, - "required": true - }, + "operationId": "subscriptionImagesV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -72644,8 +73157,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -72654,25 +73167,8 @@ } } }, - "201": { - "description": "Single SubscriptionOfferCodeOneTimeUseCode", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -72685,88 +73181,37 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/subscriptionOfferCodeOneTimeUseCodes/{id}": { - "get": { + "/v1/subscriptionIntroductoryOffers": { + "post": { "tags": [ - "SubscriptionOfferCodeOneTimeUseCodes" + "SubscriptionIntroductoryOffers" ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes_getInstance", - "parameters": [ - { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "environment", - "offerCode", - "values" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "customerEligibilities", - "offerEligibility", - "duration", - "offerMode", - "numberOfPeriods", - "totalNumberOfCodes", - "productionCodeCount", - "sandboxCodeCount", - "active", - "autoRenewEnabled", - "targetSubscriptionPlanType", - "subscription", - "oneTimeUseCodes", - "customCodes", - "prices" - ] + "operationId": "subscriptionIntroductoryOffers_createInstance", + "requestBody": { + "description": "SubscriptionIntroductoryOffer representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionIntroductoryOfferCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "offerCode" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -72798,8 +73243,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -72808,12 +73253,22 @@ } } }, - "200": { - "description": "Single SubscriptionOfferCodeOneTimeUseCode", + "201": { + "description": "Single SubscriptionIntroductoryOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" + "$ref": "#/components/schemas/SubscriptionIntroductoryOfferResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -72829,18 +73284,20 @@ } } } - }, + } + }, + "/v1/subscriptionIntroductoryOffers/{id}": { "patch": { "tags": [ - "SubscriptionOfferCodeOneTimeUseCodes" + "SubscriptionIntroductoryOffers" ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes_updateInstance", + "operationId": "subscriptionIntroductoryOffers_updateInstance", "requestBody": { - "description": "SubscriptionOfferCodeOneTimeUseCode representation", + "description": "SubscriptionIntroductoryOffer representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest" + "$ref": "#/components/schemas/SubscriptionIntroductoryOfferUpdateRequest" } } }, @@ -72898,11 +73355,11 @@ } }, "200": { - "description": "Single SubscriptionOfferCodeOneTimeUseCode", + "description": "Single SubscriptionIntroductoryOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" + "$ref": "#/components/schemas/SubscriptionIntroductoryOfferResponse" } } } @@ -72929,6 +73386,67 @@ } } }, + "delete": { + "tags": [ + "SubscriptionIntroductoryOffers" + ], + "operationId": "subscriptionIntroductoryOffers_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, "parameters": [ { "name": "id", @@ -72942,18 +73460,18 @@ } ] }, - "/v1/subscriptionOfferCodes": { + "/v2/subscriptionLocalizations": { "post": { "tags": [ - "SubscriptionOfferCodes" + "SubscriptionLocalizations" ], - "operationId": "subscriptionOfferCodes_createInstance", + "operationId": "subscriptionLocalizationsV2_createInstance", "requestBody": { - "description": "SubscriptionOfferCode representation", + "description": "SubscriptionLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCreateRequest" + "$ref": "#/components/schemas/SubscriptionLocalizationV2CreateRequest" } } }, @@ -73001,11 +73519,11 @@ } }, "201": { - "description": "Single SubscriptionOfferCode", + "description": "Single SubscriptionLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationV2Response" } } } @@ -73033,38 +73551,26 @@ } } }, - "/v1/subscriptionOfferCodes/{id}": { + "/v2/subscriptionLocalizations/{id}": { "get": { "tags": [ - "SubscriptionOfferCodes" + "SubscriptionLocalizations" ], - "operationId": "subscriptionOfferCodes_getInstance", + "operationId": "subscriptionLocalizationsV2_getInstance", "parameters": [ { - "name": "fields[subscriptionOfferCodes]", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "customerEligibilities", - "offerEligibility", - "duration", - "offerMode", - "numberOfPeriods", - "totalNumberOfCodes", - "productionCodeCount", - "sandboxCodeCount", - "active", - "autoRenewEnabled", - "targetSubscriptionPlanType", - "subscription", - "oneTimeUseCodes", - "customCodes", - "prices" + "locale", + "description", + "version" ] } }, @@ -73073,100 +73579,20 @@ "required": false }, { - "name": "fields[subscriptions]", + "name": "fields[subscriptionVersions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", + "version", "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", + "subscription", + "image", "images", - "planAvailabilities", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "environment", - "offerCode", - "values" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionOfferCodeCustomCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customCode", - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "offerCode" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionOfferCodePrices]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory", - "subscriptionPricePoint" + "localizations" ] } }, @@ -73183,49 +73609,13 @@ "items": { "type": "string", "enum": [ - "subscription", - "oneTimeUseCodes", - "customCodes", - "prices" + "version" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[customCodes]", - "in": "query", - "description": "maximum number of related customCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[oneTimeUseCodes]", - "in": "query", - "description": "maximum number of related oneTimeUseCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -73270,11 +73660,11 @@ } }, "200": { - "description": "Single SubscriptionOfferCode", + "description": "Single SubscriptionLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationV2Response" } } } @@ -73293,15 +73683,15 @@ }, "patch": { "tags": [ - "SubscriptionOfferCodes" + "SubscriptionLocalizations" ], - "operationId": "subscriptionOfferCodes_updateInstance", + "operationId": "subscriptionLocalizationsV2_updateInstance", "requestBody": { - "description": "SubscriptionOfferCode representation", + "description": "SubscriptionLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeUpdateRequest" + "$ref": "#/components/schemas/SubscriptionLocalizationV2UpdateRequest" } } }, @@ -73359,11 +73749,11 @@ } }, "200": { - "description": "Single SubscriptionOfferCode", + "description": "Single SubscriptionLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationV2Response" } } } @@ -73390,6 +73780,67 @@ } } }, + "delete": { + "tags": [ + "SubscriptionLocalizations" + ], + "operationId": "subscriptionLocalizationsV2_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, "parameters": [ { "name": "id", @@ -73403,18 +73854,18 @@ } ] }, - "/v1/subscriptionPlanAvailabilities": { + "/v1/subscriptionLocalizations": { "post": { "tags": [ - "SubscriptionPlanAvailabilities" + "SubscriptionLocalizations" ], - "operationId": "subscriptionPlanAvailabilities_createInstance", + "operationId": "subscriptionLocalizations_createInstance", "requestBody": { - "description": "SubscriptionPlanAvailability representation", + "description": "SubscriptionLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPlanAvailabilityCreateRequest" + "$ref": "#/components/schemas/SubscriptionLocalizationCreateRequest" } } }, @@ -73462,11 +73913,11 @@ } }, "201": { - "description": "Single SubscriptionPlanAvailability", + "description": "Single SubscriptionLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPlanAvailabilityResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationResponse" } } } @@ -73494,25 +73945,27 @@ } } }, - "/v1/subscriptionPlanAvailabilities/{id}": { + "/v1/subscriptionLocalizations/{id}": { "get": { "tags": [ - "SubscriptionPlanAvailabilities" + "SubscriptionLocalizations" ], - "operationId": "subscriptionPlanAvailabilities_getInstance", + "operationId": "subscriptionLocalizations_getInstance", "parameters": [ { - "name": "fields[subscriptionPlanAvailabilities]", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPlanAvailabilities", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "planType", - "availableTerritories" + "name", + "locale", + "description", + "state", + "subscription" ] } }, @@ -73521,15 +73974,37 @@ "required": false }, { - "name": "fields[territories]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" ] } }, @@ -73546,24 +74021,13 @@ "items": { "type": "string", "enum": [ - "availableTerritories" + "subscription" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[availableTerritories]", - "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -73608,11 +74072,11 @@ } }, "200": { - "description": "Single SubscriptionPlanAvailability", + "description": "Single SubscriptionLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPlanAvailabilityResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationResponse" } } } @@ -73631,15 +74095,15 @@ }, "patch": { "tags": [ - "SubscriptionPlanAvailabilities" + "SubscriptionLocalizations" ], - "operationId": "subscriptionPlanAvailabilities_updateInstance", + "operationId": "subscriptionLocalizations_updateInstance", "requestBody": { - "description": "SubscriptionPlanAvailability representation", + "description": "SubscriptionLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPlanAvailabilityUpdateRequest" + "$ref": "#/components/schemas/SubscriptionLocalizationUpdateRequest" } } }, @@ -73697,11 +74161,11 @@ } }, "200": { - "description": "Single SubscriptionPlanAvailability", + "description": "Single SubscriptionLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPlanAvailabilityResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationResponse" } } } @@ -73728,6 +74192,67 @@ } } }, + "delete": { + "tags": [ + "SubscriptionLocalizations" + ], + "operationId": "subscriptionLocalizations_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, "parameters": [ { "name": "id", @@ -73741,28 +74266,119 @@ } ] }, - "/v1/subscriptionPricePoints/{id}": { + "/v1/subscriptionOfferCodeCustomCodes": { + "post": { + "tags": [ + "SubscriptionOfferCodeCustomCodes" + ], + "operationId": "subscriptionOfferCodeCustomCodes_createInstance", + "requestBody": { + "description": "SubscriptionOfferCodeCustomCode representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single SubscriptionOfferCodeCustomCode", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/subscriptionOfferCodeCustomCodes/{id}": { "get": { "tags": [ - "SubscriptionPricePoints" + "SubscriptionOfferCodeCustomCodes" ], - "operationId": "subscriptionPricePoints_getInstance", + "operationId": "subscriptionOfferCodeCustomCodes_getInstance", "parameters": [ { - "name": "fields[subscriptionPricePoints]", + "name": "fields[subscriptionOfferCodeCustomCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "proceedsYear2", - "territory", - "equalizations", - "adjustedEqualizations" + "customCode", + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "offerCode" ] } }, @@ -73771,15 +74387,30 @@ "required": false }, { - "name": "fields[territories]", + "name": "fields[subscriptionOfferCodes]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "customerEligibilities", + "offerEligibility", + "duration", + "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", + "productionCodeCount", + "sandboxCodeCount", + "active", + "autoRenewEnabled", + "targetSubscriptionPlanType", + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -73796,7 +74427,7 @@ "items": { "type": "string", "enum": [ - "territory" + "offerCode" ] } }, @@ -73847,11 +74478,110 @@ } }, "200": { - "description": "Single SubscriptionPricePoint", + "description": "Single SubscriptionOfferCodeCustomCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "SubscriptionOfferCodeCustomCodes" + ], + "operationId": "subscriptionOfferCodeCustomCodes_updateInstance", + "requestBody": { + "description": "SubscriptionOfferCodeCustomCode representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single SubscriptionOfferCodeCustomCode", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -73881,18 +74611,18 @@ } ] }, - "/v1/subscriptionPrices": { + "/v1/subscriptionOfferCodeOneTimeUseCodes": { "post": { "tags": [ - "SubscriptionPrices" + "SubscriptionOfferCodeOneTimeUseCodes" ], - "operationId": "subscriptionPrices_createInstance", + "operationId": "subscriptionOfferCodeOneTimeUseCodes_createInstance", "requestBody": { - "description": "SubscriptionPrice representation", + "description": "SubscriptionOfferCodeOneTimeUseCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPriceCreateRequest" + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeCreateRequest" } } }, @@ -73940,11 +74670,11 @@ } }, "201": { - "description": "Single SubscriptionPrice", + "description": "Single SubscriptionOfferCodeOneTimeUseCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPriceResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" } } } @@ -73972,12 +74702,86 @@ } } }, - "/v1/subscriptionPrices/{id}": { - "delete": { + "/v1/subscriptionOfferCodeOneTimeUseCodes/{id}": { + "get": { "tags": [ - "SubscriptionPrices" + "SubscriptionOfferCodeOneTimeUseCodes" + ], + "operationId": "subscriptionOfferCodeOneTimeUseCodes_getInstance", + "parameters": [ + { + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "environment", + "offerCode", + "values" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionOfferCodes]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "customerEligibilities", + "offerEligibility", + "duration", + "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", + "productionCodeCount", + "sandboxCodeCount", + "active", + "autoRenewEnabled", + "targetSubscriptionPlanType", + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "offerCode" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } ], - "operationId": "subscriptionPrices_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -74019,8 +74823,114 @@ } } }, - "204": { - "description": "Success (no content)" + "200": { + "description": "Single SubscriptionOfferCodeOneTimeUseCode", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "SubscriptionOfferCodeOneTimeUseCodes" + ], + "operationId": "subscriptionOfferCodeOneTimeUseCodes_updateInstance", + "requestBody": { + "description": "SubscriptionOfferCodeOneTimeUseCode representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single SubscriptionOfferCodeOneTimeUseCode", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -74047,18 +74957,18 @@ } ] }, - "/v1/subscriptionPromotionalOffers": { + "/v1/subscriptionOfferCodes": { "post": { "tags": [ - "SubscriptionPromotionalOffers" + "SubscriptionOfferCodes" ], - "operationId": "subscriptionPromotionalOffers_createInstance", + "operationId": "subscriptionOfferCodes_createInstance", "requestBody": { - "description": "SubscriptionPromotionalOffer representation", + "description": "SubscriptionOfferCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferCreateRequest" + "$ref": "#/components/schemas/SubscriptionOfferCodeCreateRequest" } } }, @@ -74106,11 +75016,11 @@ } }, "201": { - "description": "Single SubscriptionPromotionalOffer", + "description": "Single SubscriptionOfferCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" } } } @@ -74138,29 +75048,37 @@ } } }, - "/v1/subscriptionPromotionalOffers/{id}": { + "/v1/subscriptionOfferCodes/{id}": { "get": { "tags": [ - "SubscriptionPromotionalOffers" + "SubscriptionOfferCodes" ], - "operationId": "subscriptionPromotionalOffers_getInstance", + "operationId": "subscriptionOfferCodes_getInstance", "parameters": [ { - "name": "fields[subscriptionPromotionalOffers]", + "name": "fields[subscriptionOfferCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", "name", - "numberOfPeriods", - "offerCode", + "customerEligibilities", + "offerEligibility", + "duration", "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", + "productionCodeCount", + "sandboxCodeCount", + "active", + "autoRenewEnabled", "targetSubscriptionPlanType", "subscription", + "oneTimeUseCodes", + "customCodes", "prices" ] } @@ -74209,9 +75127,54 @@ "required": false }, { - "name": "fields[subscriptionPromotionalOfferPrices]", + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "environment", + "offerCode", + "values" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionOfferCodeCustomCodes]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customCode", + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "offerCode" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionOfferCodePrices]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", "schema": { "type": "array", "items": { @@ -74236,6 +75199,8 @@ "type": "string", "enum": [ "subscription", + "oneTimeUseCodes", + "customCodes", "prices" ] } @@ -74244,6 +75209,28 @@ "explode": false, "required": false }, + { + "name": "limit[customCodes]", + "in": "query", + "description": "maximum number of related customCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[oneTimeUseCodes]", + "in": "query", + "description": "maximum number of related oneTimeUseCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, { "name": "limit[prices]", "in": "query", @@ -74298,11 +75285,11 @@ } }, "200": { - "description": "Single SubscriptionPromotionalOffer", + "description": "Single SubscriptionOfferCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" } } } @@ -74321,15 +75308,15 @@ }, "patch": { "tags": [ - "SubscriptionPromotionalOffers" + "SubscriptionOfferCodes" ], - "operationId": "subscriptionPromotionalOffers_updateInstance", + "operationId": "subscriptionOfferCodes_updateInstance", "requestBody": { - "description": "SubscriptionPromotionalOffer representation", + "description": "SubscriptionOfferCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferUpdateRequest" + "$ref": "#/components/schemas/SubscriptionOfferCodeUpdateRequest" } } }, @@ -74387,11 +75374,11 @@ } }, "200": { - "description": "Single SubscriptionPromotionalOffer", + "description": "Single SubscriptionOfferCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" } } } @@ -74418,11 +75405,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionPlanAvailabilities": { + "post": { "tags": [ - "SubscriptionPromotionalOffers" + "SubscriptionPlanAvailabilities" ], - "operationId": "subscriptionPromotionalOffers_deleteInstance", + "operationId": "subscriptionPlanAvailabilities_createInstance", + "requestBody": { + "description": "SubscriptionPlanAvailability representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPlanAvailabilityCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -74454,8 +75466,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -74464,8 +75476,25 @@ } } }, - "204": { - "description": "Success (no content)" + "201": { + "description": "Single SubscriptionPlanAvailability", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPlanAvailabilityResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -74478,37 +75507,80 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/subscriptionSubmissions": { - "post": { + "/v1/subscriptionPlanAvailabilities/{id}": { + "get": { "tags": [ - "SubscriptionSubmissions" + "SubscriptionPlanAvailabilities" ], - "operationId": "subscriptionSubmissions_createInstance", - "requestBody": { - "description": "SubscriptionSubmission representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionSubmissionCreateRequest" + "operationId": "subscriptionPlanAvailabilities_getInstance", + "parameters": [ + { + "name": "fields[subscriptionPlanAvailabilities]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPlanAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "availableInNewTerritories", + "planType", + "availableTerritories" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "availableTerritories" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[availableTerritories]", + "in": "query", + "description": "maximum number of related availableTerritories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -74540,8 +75612,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -74550,22 +75622,12 @@ } } }, - "201": { - "description": "Single SubscriptionSubmission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionSubmissionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single SubscriptionPlanAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionPlanAvailabilityResponse" } } } @@ -74581,20 +75643,18 @@ } } } - } - }, - "/v1/subscriptionVersions": { - "post": { + }, + "patch": { "tags": [ - "SubscriptionVersions" + "SubscriptionPlanAvailabilities" ], - "operationId": "subscriptionVersions_createInstance", + "operationId": "subscriptionPlanAvailabilities_updateInstance", "requestBody": { - "description": "SubscriptionVersion representation", + "description": "SubscriptionPlanAvailability representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionVersionCreateRequest" + "$ref": "#/components/schemas/SubscriptionPlanAvailabilityUpdateRequest" } } }, @@ -74631,6 +75691,16 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -74641,12 +75711,12 @@ } } }, - "201": { - "description": "Single SubscriptionVersion", + "200": { + "description": "Single SubscriptionPlanAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionVersionResponse" + "$ref": "#/components/schemas/SubscriptionPlanAvailabilityResponse" } } } @@ -74672,91 +75742,42 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/subscriptionVersions/{id}": { + "/v1/subscriptionPricePoints/{id}": { "get": { "tags": [ - "SubscriptionVersions" + "SubscriptionPricePoints" ], - "operationId": "subscriptionVersions_getInstance", + "operationId": "subscriptionPricePoints_getInstance", "parameters": [ { - "name": "fields[subscriptionVersions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "subscription", - "image", - "images", - "localizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionImages]", + "name": "fields[subscriptionPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionImages", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "equalizations", + "adjustedEqualizations" ] } }, @@ -74765,18 +75786,15 @@ "required": false }, { - "name": "fields[subscriptionLocalizations]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "locale", - "description", - "version" + "currency" ] } }, @@ -74793,38 +75811,13 @@ "items": { "type": "string", "enum": [ - "subscription", - "image", - "images", - "localizations" + "territory" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[images]", - "in": "query", - "description": "maximum number of related images returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -74869,11 +75862,11 @@ } }, "200": { - "description": "Single SubscriptionVersion", + "description": "Single SubscriptionPricePoint", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionVersionResponse" + "$ref": "#/components/schemas/SubscriptionPricePointResponse" } } } @@ -74903,18 +75896,18 @@ } ] }, - "/v1/subscriptions": { + "/v1/subscriptionPrices": { "post": { "tags": [ - "Subscriptions" + "SubscriptionPrices" ], - "operationId": "subscriptions_createInstance", + "operationId": "subscriptionPrices_createInstance", "requestBody": { - "description": "Subscription representation", + "description": "SubscriptionPrice representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionCreateRequest" + "$ref": "#/components/schemas/SubscriptionPriceCreateRequest" } } }, @@ -74962,11 +75955,11 @@ } }, "201": { - "description": "Single Subscription", + "description": "Single SubscriptionPrice", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionResponse" + "$ref": "#/components/schemas/SubscriptionPriceResponse" } } } @@ -74994,282 +75987,195 @@ } } }, - "/v1/subscriptions/{id}": { - "get": { + "/v1/subscriptionPrices/{id}": { + "delete": { "tags": [ - "Subscriptions" + "SubscriptionPrices" ], - "operationId": "subscriptions_getInstance", - "parameters": [ - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" - ] + "operationId": "subscriptionPrices_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[subscriptionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "locale", - "description", - "state", - "subscription" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[subscriptionAppStoreReviewScreenshots]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "subscription" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[subscriptionGroups]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", - "versions" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[subscriptionIntroductoryOffers]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "startDate", - "endDate", - "duration", - "offerMode", - "numberOfPeriods", - "targetSubscriptionPlanType", - "subscription", - "territory", - "subscriptionPricePoint" - ] + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - { - "name": "fields[subscriptionPromotionalOffers]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "duration", - "name", - "numberOfPeriods", - "offerCode", - "offerMode", - "targetSubscriptionPlanType", - "subscription", - "prices" - ] + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionPromotionalOffers": { + "post": { + "tags": [ + "SubscriptionPromotionalOffers" + ], + "operationId": "subscriptionPromotionalOffers_createInstance", + "requestBody": { + "description": "SubscriptionPromotionalOffer representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPromotionalOfferCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[subscriptionOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "customerEligibilities", - "offerEligibility", - "duration", - "offerMode", - "numberOfPeriods", - "totalNumberOfCodes", - "productionCodeCount", - "sandboxCodeCount", - "active", - "autoRenewEnabled", - "targetSubscriptionPlanType", - "subscription", - "oneTimeUseCodes", - "customCodes", - "prices" - ] + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[subscriptionPrices]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "startDate", - "preserved", - "planType", - "territory", - "subscriptionPricePoint" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[subscriptionAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "availableTerritories" - ] + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false, - "deprecated": true + } + }, + "201": { + "description": "Single SubscriptionPromotionalOffer", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/subscriptionPromotionalOffers/{id}": { + "get": { + "tags": [ + "SubscriptionPromotionalOffers" + ], + "operationId": "subscriptionPromotionalOffers_getInstance", + "parameters": [ { - "name": "fields[winBackOffers]", + "name": "fields[subscriptionPromotionalOffers]", "in": "query", - "description": "the fields to include for returned resources of type winBackOffers", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "offerId", "duration", + "name", + "numberOfPeriods", + "offerCode", "offerMode", - "periodCount", - "customerEligibilityPaidSubscriptionDurationInMonths", - "customerEligibilityTimeSinceLastSubscribedInMonths", - "customerEligibilityWaitBetweenOffersInMonths", - "startDate", - "endDate", - "priority", - "promotionIntent", "targetSubscriptionPlanType", + "subscription", "prices" ] } @@ -75279,41 +76185,37 @@ "required": false }, { - "name": "fields[subscriptionImages]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionImages", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "assetToken", - "imageAsset", - "uploadOperations", + "name", + "productId", + "familySharable", "state", - "subscription" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionPlanAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPlanAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "planType", - "availableTerritories" + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" ] } }, @@ -75322,20 +76224,16 @@ "required": false }, { - "name": "fields[subscriptionVersions]", + "name": "fields[subscriptionPromotionalOfferPrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionVersions", + "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "subscription", - "image", - "images", - "localizations" + "territory", + "subscriptionPricePoint" ] } }, @@ -75352,19 +76250,8 @@ "items": { "type": "string", "enum": [ - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "subscription", + "prices" ] } }, @@ -75372,50 +76259,6 @@ "explode": false, "required": false }, - { - "name": "limit[images]", - "in": "query", - "description": "maximum number of related images returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[introductoryOffers]", - "in": "query", - "description": "maximum number of related introductoryOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[offerCodes]", - "in": "query", - "description": "maximum number of related offerCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[planAvailabilities]", - "in": "query", - "description": "maximum number of related planAvailabilities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, { "name": "limit[prices]", "in": "query", @@ -75426,50 +76269,6 @@ }, "style": "form", "required": false - }, - { - "name": "limit[promotionalOffers]", - "in": "query", - "description": "maximum number of related promotionalOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[subscriptionLocalizations]", - "in": "query", - "description": "maximum number of related subscriptionLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[winBackOffers]", - "in": "query", - "description": "maximum number of related winBackOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -75514,11 +76313,11 @@ } }, "200": { - "description": "Single Subscription", + "description": "Single SubscriptionPromotionalOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" } } } @@ -75537,15 +76336,15 @@ }, "patch": { "tags": [ - "Subscriptions" + "SubscriptionPromotionalOffers" ], - "operationId": "subscriptions_updateInstance", + "operationId": "subscriptionPromotionalOffers_updateInstance", "requestBody": { - "description": "Subscription representation", + "description": "SubscriptionPromotionalOffer representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionUpdateRequest" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferUpdateRequest" } } }, @@ -75603,11 +76402,11 @@ } }, "200": { - "description": "Single Subscription", + "description": "Single SubscriptionPromotionalOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" } } } @@ -75636,9 +76435,9 @@ }, "delete": { "tags": [ - "Subscriptions" + "SubscriptionPromotionalOffers" ], - "operationId": "subscriptions_deleteInstance", + "operationId": "subscriptionPromotionalOffers_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -75708,41 +76507,23 @@ } ] }, - "/v1/territories": { - "get": { + "/v1/subscriptionSubmissions": { + "post": { "tags": [ - "Territories" + "SubscriptionSubmissions" ], - "operationId": "territories_getCollection", - "parameters": [ - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] + "operationId": "subscriptionSubmissions_createInstance", + "requestBody": { + "description": "SubscriptionSubmission representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionSubmissionCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -75774,12 +76555,32 @@ } } }, - "200": { - "description": "List of Territories", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoriesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single SubscriptionSubmission", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionSubmissionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -75797,18 +76598,18 @@ } } }, - "/v1/territoryAvailabilities/{id}": { - "patch": { + "/v1/subscriptionVersions": { + "post": { "tags": [ - "TerritoryAvailabilities" + "SubscriptionVersions" ], - "operationId": "territoryAvailabilities_updateInstance", + "operationId": "subscriptionVersions_createInstance", "requestBody": { - "description": "TerritoryAvailability representation", + "description": "SubscriptionVersion representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryAvailabilityUpdateRequest" + "$ref": "#/components/schemas/SubscriptionVersionCreateRequest" } } }, @@ -75845,16 +76646,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -75865,12 +76656,12 @@ } } }, - "200": { - "description": "Single TerritoryAvailability", + "201": { + "description": "Single SubscriptionVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryAvailabilityResponse" + "$ref": "#/components/schemas/SubscriptionVersionResponse" } } } @@ -75896,63 +76687,30 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/userInvitations": { + "/v1/subscriptionVersions/{id}": { "get": { "tags": [ - "UserInvitations" + "SubscriptionVersions" ], - "operationId": "userInvitations_getCollection", + "operationId": "subscriptionVersions_getInstance", "parameters": [ { - "name": "filter[email]", - "in": "query", - "description": "filter by attribute 'email'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[roles]", + "name": "fields[subscriptionVersions]", "in": "query", - "description": "filter by attribute 'roles'", + "description": "the fields to include for returned resources of type subscriptionVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ADMIN", - "FINANCE", - "ACCOUNT_HOLDER", - "SALES", - "MARKETING", - "APP_MANAGER", - "DEVELOPER", - "ACCESS_TO_REPORTS", - "CUSTOMER_SUPPORT", - "CREATE_APPS", - "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION", - "GENERATE_INDIVIDUAL_KEYS" + "version", + "state", + "subscription", + "image", + "images", + "localizations" ] } }, @@ -75961,13 +76719,38 @@ "required": false }, { - "name": "filter[visibleApps]", + "name": "fields[subscriptions]", "in": "query", - "description": "filter by id(s) of related 'visibleApps'", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] } }, "style": "form", @@ -75975,18 +76758,20 @@ "required": false }, { - "name": "sort", + "name": "fields[subscriptionImages]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "email", - "-email", - "lastName", - "-lastName" + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -75995,22 +76780,18 @@ "required": false }, { - "name": "fields[userInvitations]", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type userInvitations", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "email", - "firstName", - "lastName", - "expirationDate", - "roles", - "allAppsVisible", - "provisioningAllowed", - "visibleApps" + "name", + "locale", + "description", + "version" ] } }, @@ -76019,70 +76800,18 @@ "required": false }, { - "name": "fields[apps]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "subscription", + "image", + "images", + "localizations" ] } }, @@ -76091,36 +76820,20 @@ "required": false }, { - "name": "limit", + "name": "limit[images]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related images returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleApps" - ] - } + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "limit[visibleApps]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related visibleApps returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -76160,12 +76873,22 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of UserInvitations", + "description": "Single SubscriptionVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitationsResponse" + "$ref": "#/components/schemas/SubscriptionVersionResponse" } } } @@ -76182,17 +76905,31 @@ } } }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptions": { "post": { "tags": [ - "UserInvitations" + "Subscriptions" ], - "operationId": "userInvitations_createInstance", + "operationId": "subscriptions_createInstance", "requestBody": { - "description": "UserInvitation representation", + "description": "Subscription representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitationCreateRequest" + "$ref": "#/components/schemas/SubscriptionCreateRequest" } } }, @@ -76240,11 +76977,11 @@ } }, "201": { - "description": "Single UserInvitation", + "description": "Single Subscription", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitationResponse" + "$ref": "#/components/schemas/SubscriptionResponse" } } } @@ -76272,30 +77009,45 @@ } } }, - "/v1/userInvitations/{id}": { + "/v1/subscriptions/{id}": { "get": { "tags": [ - "UserInvitations" + "Subscriptions" ], - "operationId": "userInvitations_getInstance", + "operationId": "subscriptions_getInstance", "parameters": [ { - "name": "fields[userInvitations]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type userInvitations", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "email", - "firstName", - "lastName", - "expirationDate", - "roles", - "allAppsVisible", - "provisioningAllowed", - "visibleApps" + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" ] } }, @@ -76304,70 +77056,19 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "locale", + "description", + "state", + "subscription" ] } }, @@ -76376,15 +77077,23 @@ "required": false }, { - "name": "include", + "name": "fields[subscriptionAppStoreReviewScreenshots]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "visibleApps" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "subscription" ] } }, @@ -76393,169 +77102,19 @@ "required": false }, { - "name": "limit[visibleApps]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "maximum number of related visibleApps returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single UserInvitation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserInvitationResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "UserInvitations" - ], - "operationId": "userInvitations_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/users": { - "get": { - "tags": [ - "Users" - ], - "operationId": "users_getCollection", - "parameters": [ - { - "name": "filter[username]", - "in": "query", - "description": "filter by attribute 'username'", + "description": "the fields to include for returned resources of type subscriptionGroups", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", + "versions" + ] } }, "style": "form", @@ -76563,27 +77122,23 @@ "required": false }, { - "name": "filter[roles]", + "name": "fields[subscriptionIntroductoryOffers]", "in": "query", - "description": "filter by attribute 'roles'", + "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ADMIN", - "FINANCE", - "ACCOUNT_HOLDER", - "SALES", - "MARKETING", - "APP_MANAGER", - "DEVELOPER", - "ACCESS_TO_REPORTS", - "CUSTOMER_SUPPORT", - "CREATE_APPS", - "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION", - "GENERATE_INDIVIDUAL_KEYS" + "startDate", + "endDate", + "duration", + "offerMode", + "numberOfPeriods", + "targetSubscriptionPlanType", + "subscription", + "territory", + "subscriptionPricePoint" ] } }, @@ -76592,13 +77147,23 @@ "required": false }, { - "name": "filter[visibleApps]", + "name": "fields[subscriptionPromotionalOffers]", "in": "query", - "description": "filter by id(s) of related 'visibleApps'", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "duration", + "name", + "numberOfPeriods", + "offerCode", + "offerMode", + "targetSubscriptionPlanType", + "subscription", + "prices" + ] } }, "style": "form", @@ -76606,18 +77171,30 @@ "required": false }, { - "name": "sort", + "name": "fields[subscriptionOfferCodes]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "username", - "-username", - "lastName", - "-lastName" + "name", + "customerEligibilities", + "offerEligibility", + "duration", + "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", + "productionCodeCount", + "sandboxCodeCount", + "active", + "autoRenewEnabled", + "targetSubscriptionPlanType", + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -76626,21 +77203,19 @@ "required": false }, { - "name": "fields[users]", + "name": "fields[subscriptionPrices]", "in": "query", - "description": "the fields to include for returned resources of type users", + "description": "the fields to include for returned resources of type subscriptionPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "username", - "firstName", - "lastName", - "roles", - "allAppsVisible", - "provisioningAllowed", - "visibleApps" + "startDate", + "preserved", + "planType", + "territory", + "subscriptionPricePoint" ] } }, @@ -76649,70 +77224,19 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "visibleForAllUsers", + "enabled", + "state", + "inAppPurchaseV2", + "subscription" ] } }, @@ -76721,25 +77245,47 @@ "required": false }, { - "name": "limit", + "name": "fields[subscriptionAvailabilities]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "availableInNewTerritories", + "availableTerritories" + ] + } }, - "style": "form" + "style": "form", + "explode": false, + "required": false, + "deprecated": true }, { - "name": "include", + "name": "fields[winBackOffers]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type winBackOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "visibleApps" + "referenceName", + "offerId", + "duration", + "offerMode", + "periodCount", + "customerEligibilityPaidSubscriptionDurationInMonths", + "customerEligibilityTimeSinceLastSubscribedInMonths", + "customerEligibilityWaitBetweenOffersInMonths", + "startDate", + "endDate", + "priority", + "promotionIntent", + "targetSubscriptionPlanType", + "prices" ] } }, @@ -76748,94 +77294,41 @@ "required": false }, { - "name": "limit[visibleApps]", + "name": "fields[subscriptionImages]", "in": "query", - "description": "maximum number of related visibleApps returned (when they are included)", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "state", + "subscription" + ] + } }, "style": "form", + "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of Users", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UsersResponse" - } - } - } }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/users/{id}": { - "get": { - "tags": [ - "Users" - ], - "operationId": "users_getInstance", - "parameters": [ { - "name": "fields[users]", + "name": "fields[subscriptionPlanAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type users", + "description": "the fields to include for returned resources of type subscriptionPlanAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "username", - "firstName", - "lastName", - "roles", - "allAppsVisible", - "provisioningAllowed", - "visibleApps" + "availableInNewTerritories", + "planType", + "availableTerritories" ] } }, @@ -76844,70 +77337,20 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[subscriptionVersions]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type subscriptionVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "version", + "state", + "subscription", + "image", + "images", + "localizations" ] } }, @@ -76924,7 +77367,19 @@ "items": { "type": "string", "enum": [ - "visibleApps" + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" ] } }, @@ -76933,9 +77388,97 @@ "required": false }, { - "name": "limit[visibleApps]", + "name": "limit[images]", "in": "query", - "description": "maximum number of related visibleApps returned (when they are included)", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[introductoryOffers]", + "in": "query", + "description": "maximum number of related introductoryOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[offerCodes]", + "in": "query", + "description": "maximum number of related offerCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[planAvailabilities]", + "in": "query", + "description": "maximum number of related planAvailabilities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[promotionalOffers]", + "in": "query", + "description": "maximum number of related promotionalOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[subscriptionLocalizations]", + "in": "query", + "description": "maximum number of related subscriptionLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[winBackOffers]", + "in": "query", + "description": "maximum number of related winBackOffers returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -76986,11 +77529,11 @@ } }, "200": { - "description": "Single User", + "description": "Single Subscription", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserResponse" + "$ref": "#/components/schemas/SubscriptionResponse" } } } @@ -77009,15 +77552,15 @@ }, "patch": { "tags": [ - "Users" + "Subscriptions" ], - "operationId": "users_updateInstance", + "operationId": "subscriptions_updateInstance", "requestBody": { - "description": "User representation", + "description": "Subscription representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserUpdateRequest" + "$ref": "#/components/schemas/SubscriptionUpdateRequest" } } }, @@ -77075,11 +77618,11 @@ } }, "200": { - "description": "Single User", + "description": "Single Subscription", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserResponse" + "$ref": "#/components/schemas/SubscriptionResponse" } } } @@ -77108,9 +77651,9 @@ }, "delete": { "tags": [ - "Users" + "Subscriptions" ], - "operationId": "users_deleteInstance", + "operationId": "subscriptions_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -77180,23 +77723,41 @@ } ] }, - "/v1/webhookDeliveries": { - "post": { + "/v1/territories": { + "get": { "tags": [ - "WebhookDeliveries" + "Territories" ], - "operationId": "webhookDeliveries_createInstance", - "requestBody": { - "description": "WebhookDelivery representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WebhookDeliveryCreateRequest" + "operationId": "territories_getCollection", + "parameters": [ + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -77228,32 +77789,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single WebhookDelivery", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WebhookDeliveryResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of Territories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/TerritoriesResponse" } } } @@ -77271,18 +77812,18 @@ } } }, - "/v1/webhookPings": { - "post": { + "/v1/territoryAvailabilities/{id}": { + "patch": { "tags": [ - "WebhookPings" + "TerritoryAvailabilities" ], - "operationId": "webhookPings_createInstance", + "operationId": "territoryAvailabilities_updateInstance", "requestBody": { - "description": "WebhookPing representation", + "description": "TerritoryAvailability representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WebhookPingCreateRequest" + "$ref": "#/components/schemas/TerritoryAvailabilityUpdateRequest" } } }, @@ -77319,89 +77860,8 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single WebhookPing", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WebhookPingResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/webhooks": { - "post": { - "tags": [ - "Webhooks" - ], - "operationId": "webhooks_createInstance", - "requestBody": { - "description": "Webhook representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WebhookCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { @@ -77420,12 +77880,12 @@ } } }, - "201": { - "description": "Single Webhook", + "200": { + "description": "Single TerritoryAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WebhookResponse" + "$ref": "#/components/schemas/TerritoryAvailabilityResponse" } } } @@ -77451,30 +77911,121 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/webhooks/{id}": { + "/v1/userInvitations": { "get": { "tags": [ - "Webhooks" + "UserInvitations" ], - "operationId": "webhooks_getInstance", + "operationId": "userInvitations_getCollection", "parameters": [ { - "name": "fields[webhooks]", + "name": "filter[email]", "in": "query", - "description": "the fields to include for returned resources of type webhooks", + "description": "filter by attribute 'email'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[roles]", + "in": "query", + "description": "filter by attribute 'roles'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "enabled", - "eventTypes", - "name", - "url", - "app", - "deliveries" + "ADMIN", + "FINANCE", + "ACCOUNT_HOLDER", + "SALES", + "MARKETING", + "APP_MANAGER", + "DEVELOPER", + "ACCESS_TO_REPORTS", + "CUSTOMER_SUPPORT", + "CREATE_APPS", + "CLOUD_MANAGED_DEVELOPER_ID", + "CLOUD_MANAGED_APP_DISTRIBUTION", + "GENERATE_INDIVIDUAL_KEYS" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[visibleApps]", + "in": "query", + "description": "filter by id(s) of related 'visibleApps'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "email", + "-email", + "lastName", + "-lastName" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[userInvitations]", + "in": "query", + "description": "the fields to include for returned resources of type userInvitations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "email", + "firstName", + "lastName", + "expirationDate", + "roles", + "allAppsVisible", + "provisioningAllowed", + "visibleApps" ] } }, @@ -77542,6 +78093,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -77554,6 +78106,16 @@ "explode": false, "required": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -77563,13 +78125,24 @@ "items": { "type": "string", "enum": [ - "app" + "visibleApps" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[visibleApps]", + "in": "query", + "description": "maximum number of related visibleApps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -77603,22 +78176,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single Webhook", + "description": "List of UserInvitations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WebhookResponse" + "$ref": "#/components/schemas/UserInvitationsResponse" } } } @@ -77635,17 +78198,17 @@ } } }, - "patch": { + "post": { "tags": [ - "Webhooks" + "UserInvitations" ], - "operationId": "webhooks_updateInstance", + "operationId": "userInvitations_createInstance", "requestBody": { - "description": "Webhook representation", + "description": "UserInvitation representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WebhookUpdateRequest" + "$ref": "#/components/schemas/UserInvitationCreateRequest" } } }, @@ -77682,16 +78245,6 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "422": { "description": "Unprocessable request entity error(s)", "content": { @@ -77702,12 +78255,12 @@ } } }, - "200": { - "description": "Single Webhook", + "201": { + "description": "Single UserInvitation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WebhookResponse" + "$ref": "#/components/schemas/UserInvitationResponse" } } } @@ -77733,22 +78286,219 @@ } } } - }, - "delete": { + } + }, + "/v1/userInvitations/{id}": { + "get": { "tags": [ - "Webhooks" + "UserInvitations" ], - "operationId": "webhooks_deleteInstance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "operationId": "userInvitations_getInstance", + "parameters": [ + { + "name": "fields[userInvitations]", + "in": "query", + "description": "the fields to include for returned resources of type userInvitations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "email", + "firstName", + "lastName", + "expirationDate", + "roles", + "allAppsVisible", + "provisioningAllowed", + "visibleApps" + ] } - } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[visibleApps]", + "in": "query", + "description": "maximum number of related visibleApps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single UserInvitation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserInvitationResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "UserInvitations" + ], + "operationId": "userInvitations_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, "401": { "description": "Unauthorized error(s)", @@ -77808,23 +78558,225 @@ } ] }, - "/v1/winBackOffers": { - "post": { + "/v1/users": { + "get": { "tags": [ - "WinBackOffers" + "Users" ], - "operationId": "winBackOffers_createInstance", - "requestBody": { - "description": "WinBackOffer representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WinBackOfferCreateRequest" + "operationId": "users_getCollection", + "parameters": [ + { + "name": "filter[username]", + "in": "query", + "description": "filter by attribute 'username'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "filter[roles]", + "in": "query", + "description": "filter by attribute 'roles'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ADMIN", + "FINANCE", + "ACCOUNT_HOLDER", + "SALES", + "MARKETING", + "APP_MANAGER", + "DEVELOPER", + "ACCESS_TO_REPORTS", + "CUSTOMER_SUPPORT", + "CREATE_APPS", + "CLOUD_MANAGED_DEVELOPER_ID", + "CLOUD_MANAGED_APP_DISTRIBUTION", + "GENERATE_INDIVIDUAL_KEYS" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[visibleApps]", + "in": "query", + "description": "filter by id(s) of related 'visibleApps'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "username", + "-username", + "lastName", + "-lastName" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[users]", + "in": "query", + "description": "the fields to include for returned resources of type users", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "username", + "firstName", + "lastName", + "roles", + "allAppsVisible", + "provisioningAllowed", + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[visibleApps]", + "in": "query", + "description": "maximum number of related visibleApps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -77856,32 +78808,12 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single WinBackOffer", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WinBackOfferResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of Users", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/UsersResponse" } } } @@ -77899,36 +78831,29 @@ } } }, - "/v1/winBackOffers/{id}": { + "/v1/users/{id}": { "get": { "tags": [ - "WinBackOffers" + "Users" ], - "operationId": "winBackOffers_getInstance", + "operationId": "users_getInstance", "parameters": [ { - "name": "fields[winBackOffers]", + "name": "fields[users]", "in": "query", - "description": "the fields to include for returned resources of type winBackOffers", + "description": "the fields to include for returned resources of type users", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "offerId", - "duration", - "offerMode", - "periodCount", - "customerEligibilityPaidSubscriptionDurationInMonths", - "customerEligibilityTimeSinceLastSubscribedInMonths", - "customerEligibilityWaitBetweenOffersInMonths", - "startDate", - "endDate", - "priority", - "promotionIntent", - "targetSubscriptionPlanType", - "prices" + "username", + "firstName", + "lastName", + "roles", + "allAppsVisible", + "provisioningAllowed", + "visibleApps" ] } }, @@ -77937,16 +78862,71 @@ "required": false }, { - "name": "fields[winBackOfferPrices]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type winBackOfferPrices", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "territory", - "subscriptionPricePoint" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -77963,7 +78943,7 @@ "items": { "type": "string", "enum": [ - "prices" + "visibleApps" ] } }, @@ -77972,9 +78952,9 @@ "required": false }, { - "name": "limit[prices]", + "name": "limit[visibleApps]", "in": "query", - "description": "maximum number of related prices returned (when they are included)", + "description": "maximum number of related visibleApps returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -78025,11 +79005,11 @@ } }, "200": { - "description": "Single WinBackOffer", + "description": "Single User", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WinBackOfferResponse" + "$ref": "#/components/schemas/UserResponse" } } } @@ -78048,15 +79028,15 @@ }, "patch": { "tags": [ - "WinBackOffers" + "Users" ], - "operationId": "winBackOffers_updateInstance", + "operationId": "users_updateInstance", "requestBody": { - "description": "WinBackOffer representation", + "description": "User representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WinBackOfferUpdateRequest" + "$ref": "#/components/schemas/UserUpdateRequest" } } }, @@ -78114,11 +79094,11 @@ } }, "200": { - "description": "Single WinBackOffer", + "description": "Single User", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WinBackOfferResponse" + "$ref": "#/components/schemas/UserResponse" } } } @@ -78147,9 +79127,9 @@ }, "delete": { "tags": [ - "WinBackOffers" + "Users" ], - "operationId": "winBackOffers_deleteInstance", + "operationId": "users_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -78219,24 +79199,23 @@ } ] }, - "/v1/alternativeDistributionPackageVersions/{id}/relationships/deltas": { - "get": { + "/v1/webhookDeliveries": { + "post": { "tags": [ - "AlternativeDistributionPackageVersions" - ], - "operationId": "alternativeDistributionPackageVersions_deltas_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "WebhookDeliveries" ], + "operationId": "webhookDeliveries_createInstance", + "requestBody": { + "description": "WebhookDelivery representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookDeliveryCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -78268,8 +79247,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -78278,12 +79257,22 @@ } } }, - "200": { - "description": "List of related linkages", + "201": { + "description": "Single WebhookDelivery", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVersionDeltasLinkagesResponse" + "$ref": "#/components/schemas/WebhookDeliveryResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -78299,57 +79288,25 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/alternativeDistributionPackageVersions/{id}/deltas": { - "get": { + "/v1/webhookPings": { + "post": { "tags": [ - "AlternativeDistributionPackageVersions" + "WebhookPings" ], - "operationId": "alternativeDistributionPackageVersions_deltas_getToManyRelated", - "parameters": [ - { - "name": "fields[alternativeDistributionPackageDeltas]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "url", - "urlExpirationDate", - "alternativeDistributionKeyBlob", - "fileChecksum" - ] + "operationId": "webhookPings_createInstance", + "requestBody": { + "description": "WebhookPing representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookPingCreateRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -78381,8 +79338,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -78391,12 +79348,22 @@ } } }, - "200": { - "description": "List of AlternativeDistributionPackageDeltas", + "201": { + "description": "Single WebhookPing", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageDeltasResponse" + "$ref": "#/components/schemas/WebhookPingResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -78412,38 +79379,25 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/alternativeDistributionPackageVersions/{id}/relationships/variants": { - "get": { + "/v1/webhooks": { + "post": { "tags": [ - "AlternativeDistributionPackageVersions" - ], - "operationId": "alternativeDistributionPackageVersions_variants_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "Webhooks" ], + "operationId": "webhooks_createInstance", + "requestBody": { + "description": "Webhook representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -78475,8 +79429,8 @@ } } }, - "404": { - "description": "Not found error", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { @@ -78485,12 +79439,22 @@ } } }, - "200": { - "description": "List of related linkages", + "201": { + "description": "Single Webhook", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVersionVariantsLinkagesResponse" + "$ref": "#/components/schemas/WebhookResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -78506,55 +79470,126 @@ } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/alternativeDistributionPackageVersions/{id}/variants": { + "/v1/webhooks/{id}": { "get": { "tags": [ - "AlternativeDistributionPackageVersions" + "Webhooks" ], - "operationId": "alternativeDistributionPackageVersions_variants_getToManyRelated", + "operationId": "webhooks_getInstance", "parameters": [ { - "name": "fields[alternativeDistributionPackageVariants]", + "name": "fields[webhooks]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", + "description": "the fields to include for returned resources of type webhooks", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "enabled", + "eventTypes", + "name", "url", - "urlExpirationDate", - "alternativeDistributionKeyBlob", - "fileChecksum" + "app", + "deliveries" ] } }, "style": "form", - "explode": false + "explode": false, + "required": false }, { - "name": "limit", + "name": "fields[apps]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type apps", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } }, - "style": "form" + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app" + ] + } + }, + "style": "form", + "explode": false, + "required": false } ], "responses": { @@ -78599,11 +79634,11 @@ } }, "200": { - "description": "List of AlternativeDistributionPackageVariants", + "description": "Single Webhook", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVariantsResponse" + "$ref": "#/components/schemas/WebhookResponse" } } } @@ -78620,37 +79655,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/alternativeDistributionPackages/{id}/relationships/versions": { - "get": { + "patch": { "tags": [ - "AlternativeDistributionPackages" - ], - "operationId": "alternativeDistributionPackages_versions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "Webhooks" ], + "operationId": "webhooks_updateInstance", + "requestBody": { + "description": "Webhook representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -78692,16 +79712,97 @@ } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of related linkages", + "description": "Single Webhook", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVersionsLinkagesResponse" + "$ref": "#/components/schemas/WebhookResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Webhooks" + ], + "operationId": "webhooks_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -78727,117 +79828,151 @@ } ] }, - "/v1/alternativeDistributionPackages/{id}/versions": { - "get": { + "/v1/winBackOffers": { + "post": { "tags": [ - "AlternativeDistributionPackages" + "WinBackOffers" ], - "operationId": "alternativeDistributionPackages_versions_getToManyRelated", - "parameters": [ - { - "name": "filter[state]", - "in": "query", - "description": "filter by attribute 'state'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "COMPLETED", - "REPLACED" - ] + "operationId": "winBackOffers_createInstance", + "requestBody": { + "description": "WinBackOffer representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WinBackOfferCreateRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[alternativeDistributionPackageVersions]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "url", - "urlExpirationDate", - "version", - "fileChecksum", - "state", - "variants", - "deltas", - "alternativeDistributionPackage" - ] + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[alternativeDistributionPackageVariants]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "url", - "urlExpirationDate", - "alternativeDistributionKeyBlob", - "fileChecksum" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single WinBackOffer", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WinBackOfferResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/winBackOffers/{id}": { + "get": { + "tags": [ + "WinBackOffers" + ], + "operationId": "winBackOffers_getInstance", + "parameters": [ { - "name": "fields[alternativeDistributionPackageDeltas]", + "name": "fields[winBackOffers]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", + "description": "the fields to include for returned resources of type winBackOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "url", - "urlExpirationDate", - "alternativeDistributionKeyBlob", - "fileChecksum" + "referenceName", + "offerId", + "duration", + "offerMode", + "periodCount", + "customerEligibilityPaidSubscriptionDurationInMonths", + "customerEligibilityTimeSinceLastSubscribedInMonths", + "customerEligibilityWaitBetweenOffersInMonths", + "startDate", + "endDate", + "priority", + "promotionIntent", + "targetSubscriptionPlanType", + "prices" ] } }, "style": "form", - "explode": false + "explode": false, + "required": false }, { - "name": "fields[alternativeDistributionPackages]", + "name": "fields[winBackOfferPrices]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "description": "the fields to include for returned resources of type winBackOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "sourceFileChecksum", - "versions" + "territory", + "subscriptionPricePoint" ] } }, "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + "explode": false, + "required": false }, { "name": "include", @@ -78848,34 +79983,24 @@ "items": { "type": "string", "enum": [ - "variants", - "deltas", - "alternativeDistributionPackage" + "prices" ] } }, "style": "form", - "explode": false - }, - { - "name": "limit[variants]", - "in": "query", - "description": "maximum number of related variants returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" + "explode": false, + "required": false }, { - "name": "limit[deltas]", + "name": "limit[prices]", "in": "query", - "description": "maximum number of related deltas returned (when they are included)", + "description": "maximum number of related prices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form" + "style": "form", + "required": false } ], "responses": { @@ -78920,11 +80045,11 @@ } }, "200": { - "description": "List of AlternativeDistributionPackageVersions", + "description": "Single WinBackOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVersionsResponse" + "$ref": "#/components/schemas/WinBackOfferResponse" } } } @@ -78941,37 +80066,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/analyticsReportInstances/{id}/relationships/segments": { - "get": { + "patch": { "tags": [ - "AnalyticsReportInstances" - ], - "operationId": "analyticsReportInstances_segments_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "WinBackOffers" ], + "operationId": "winBackOffers_updateInstance", + "requestBody": { + "description": "WinBackOffer representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WinBackOfferUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -79013,12 +80123,32 @@ } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of related linkages", + "description": "Single WinBackOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AnalyticsReportInstanceSegmentsLinkagesResponse" + "$ref": "#/components/schemas/WinBackOfferResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -79035,55 +80165,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/analyticsReportInstances/{id}/segments": { - "get": { + "delete": { "tags": [ - "AnalyticsReportInstances" - ], - "operationId": "analyticsReportInstances_segments_getToManyRelated", - "parameters": [ - { - "name": "fields[analyticsReportSegments]", - "in": "query", - "description": "the fields to include for returned resources of type analyticsReportSegments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "checksum", - "sizeInBytes", - "url" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "WinBackOffers" ], + "operationId": "winBackOffers_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -79125,15 +80211,8 @@ } } }, - "200": { - "description": "List of AnalyticsReportSegments", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AnalyticsReportSegmentsResponse" - } - } - } + "204": { + "description": "Success (no content)" }, "429": { "description": "Rate limit exceeded error", @@ -79160,12 +80239,12 @@ } ] }, - "/v1/analyticsReportRequests/{id}/relationships/reports": { + "/v1/alternativeDistributionPackageVersions/{id}/relationships/deltas": { "get": { "tags": [ - "AnalyticsReportRequests" + "AlternativeDistributionPackageVersions" ], - "operationId": "analyticsReportRequests_reports_getToManyRelationship", + "operationId": "alternativeDistributionPackageVersions_deltas_getToManyRelationship", "parameters": [ { "name": "limit", @@ -79224,7 +80303,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AnalyticsReportRequestReportsLinkagesResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageVersionDeltasLinkagesResponse" } } } @@ -79254,58 +80333,26 @@ } ] }, - "/v1/analyticsReportRequests/{id}/reports": { + "/v1/alternativeDistributionPackageVersions/{id}/deltas": { "get": { "tags": [ - "AnalyticsReportRequests" + "AlternativeDistributionPackageVersions" ], - "operationId": "analyticsReportRequests_reports_getToManyRelated", + "operationId": "alternativeDistributionPackageVersions_deltas_getToManyRelated", "parameters": [ { - "name": "filter[name]", - "in": "query", - "description": "filter by attribute 'name'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[category]", - "in": "query", - "description": "filter by attribute 'category'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "APP_USAGE", - "APP_STORE_ENGAGEMENT", - "COMMERCE", - "FRAMEWORK_USAGE", - "PERFORMANCE" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[analyticsReports]", + "name": "fields[alternativeDistributionPackageDeltas]", "in": "query", - "description": "the fields to include for returned resources of type analyticsReports", + "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "category", - "instances" + "url", + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" ] } }, @@ -79365,11 +80412,11 @@ } }, "200": { - "description": "List of AnalyticsReports", + "description": "List of AlternativeDistributionPackageDeltas", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AnalyticsReportsResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageDeltasResponse" } } } @@ -79399,12 +80446,12 @@ } ] }, - "/v1/analyticsReports/{id}/relationships/instances": { + "/v1/alternativeDistributionPackageVersions/{id}/relationships/variants": { "get": { "tags": [ - "AnalyticsReports" + "AlternativeDistributionPackageVersions" ], - "operationId": "analyticsReports_instances_getToManyRelationship", + "operationId": "alternativeDistributionPackageVersions_variants_getToManyRelationship", "parameters": [ { "name": "limit", @@ -79463,7 +80510,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AnalyticsReportInstancesLinkagesResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageVersionVariantsLinkagesResponse" } } } @@ -79493,56 +80540,26 @@ } ] }, - "/v1/analyticsReports/{id}/instances": { + "/v1/alternativeDistributionPackageVersions/{id}/variants": { "get": { "tags": [ - "AnalyticsReports" + "AlternativeDistributionPackageVersions" ], - "operationId": "analyticsReports_instances_getToManyRelated", + "operationId": "alternativeDistributionPackageVersions_variants_getToManyRelated", "parameters": [ { - "name": "filter[granularity]", - "in": "query", - "description": "filter by attribute 'granularity'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "DAILY", - "WEEKLY", - "MONTHLY" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[processingDate]", - "in": "query", - "description": "filter by attribute 'processingDate'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[analyticsReportInstances]", + "name": "fields[alternativeDistributionPackageVariants]", "in": "query", - "description": "the fields to include for returned resources of type analyticsReportInstances", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "granularity", - "processingDate", - "segments" + "url", + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" ] } }, @@ -79602,11 +80619,11 @@ } }, "200": { - "description": "List of AnalyticsReportInstances", + "description": "List of AlternativeDistributionPackageVariants", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AnalyticsReportInstancesResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageVariantsResponse" } } } @@ -79636,12 +80653,12 @@ } ] }, - "/v2/appAvailabilities/{id}/relationships/territoryAvailabilities": { + "/v1/alternativeDistributionPackages/{id}/relationships/versions": { "get": { "tags": [ - "AppAvailabilities" + "AlternativeDistributionPackages" ], - "operationId": "appAvailabilitiesV2_territoryAvailabilities_getToManyRelationship", + "operationId": "alternativeDistributionPackages_versions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -79700,7 +80717,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageVersionsLinkagesResponse" } } } @@ -79730,28 +80747,24 @@ } ] }, - "/v2/appAvailabilities/{id}/territoryAvailabilities": { + "/v1/alternativeDistributionPackages/{id}/versions": { "get": { "tags": [ - "AppAvailabilities" + "AlternativeDistributionPackages" ], - "operationId": "appAvailabilitiesV2_territoryAvailabilities_getToManyRelated", + "operationId": "alternativeDistributionPackages_versions_getToManyRelated", "parameters": [ { - "name": "fields[territoryAvailabilities]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type territoryAvailabilities", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "available", - "releaseDate", - "preOrderEnabled", - "preOrderPublishDate", - "contentStatuses", - "territory" + "COMPLETED", + "REPLACED" ] } }, @@ -79759,15 +80772,77 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[alternativeDistributionPackageVersions]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "url", + "urlExpirationDate", + "version", + "fileChecksum", + "state", + "variants", + "deltas", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackageVariants]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "url", + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackageDeltas]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "url", + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "sourceFileChecksum", + "versions" ] } }, @@ -79793,12 +80868,34 @@ "items": { "type": "string", "enum": [ - "territory" + "variants", + "deltas", + "alternativeDistributionPackage" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[variants]", + "in": "query", + "description": "maximum number of related variants returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[deltas]", + "in": "query", + "description": "maximum number of related deltas returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -79843,11 +80940,11 @@ } }, "200": { - "description": "List of TerritoryAvailabilities", + "description": "List of AlternativeDistributionPackageVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryAvailabilitiesResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageVersionsResponse" } } } @@ -79877,13 +80974,24 @@ } ] }, - "/v1/appCategories/{id}/relationships/parent": { + "/v1/analyticsReportInstances/{id}/relationships/segments": { "get": { "tags": [ - "AppCategories" + "AnalyticsReportInstances" + ], + "operationId": "analyticsReportInstances_segments_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appCategories_parent_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -79926,11 +81034,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoryParentLinkageResponse" + "$ref": "#/components/schemas/AnalyticsReportInstanceSegmentsLinkagesResponse" } } } @@ -79960,30 +81068,40 @@ } ] }, - "/v1/appCategories/{id}/parent": { + "/v1/analyticsReportInstances/{id}/segments": { "get": { "tags": [ - "AppCategories" + "AnalyticsReportInstances" ], - "operationId": "appCategories_parent_getToOneRelated", + "operationId": "analyticsReportInstances_segments_getToManyRelated", "parameters": [ { - "name": "fields[appCategories]", + "name": "fields[analyticsReportSegments]", "in": "query", - "description": "the fields to include for returned resources of type appCategories", + "description": "the fields to include for returned resources of type analyticsReportSegments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platforms", - "subcategories", - "parent" + "checksum", + "sizeInBytes", + "url" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -80028,11 +81146,11 @@ } }, "200": { - "description": "Single AppCategory with get", + "description": "List of AnalyticsReportSegments", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoryWithoutIncludesResponse" + "$ref": "#/components/schemas/AnalyticsReportSegmentsResponse" } } } @@ -80062,12 +81180,12 @@ } ] }, - "/v1/appCategories/{id}/relationships/subcategories": { + "/v1/analyticsReportRequests/{id}/relationships/reports": { "get": { "tags": [ - "AppCategories" + "AnalyticsReportRequests" ], - "operationId": "appCategories_subcategories_getToManyRelationship", + "operationId": "analyticsReportRequests_reports_getToManyRelationship", "parameters": [ { "name": "limit", @@ -80126,7 +81244,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategorySubcategoriesLinkagesResponse" + "$ref": "#/components/schemas/AnalyticsReportRequestReportsLinkagesResponse" } } } @@ -80156,25 +81274,58 @@ } ] }, - "/v1/appCategories/{id}/subcategories": { + "/v1/analyticsReportRequests/{id}/reports": { "get": { "tags": [ - "AppCategories" + "AnalyticsReportRequests" ], - "operationId": "appCategories_subcategories_getToManyRelated", + "operationId": "analyticsReportRequests_reports_getToManyRelated", "parameters": [ { - "name": "fields[appCategories]", + "name": "filter[name]", "in": "query", - "description": "the fields to include for returned resources of type appCategories", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[category]", + "in": "query", + "description": "filter by attribute 'category'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platforms", - "subcategories", - "parent" + "APP_USAGE", + "APP_STORE_ENGAGEMENT", + "COMMERCE", + "FRAMEWORK_USAGE", + "PERFORMANCE" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[analyticsReports]", + "in": "query", + "description": "the fields to include for returned resources of type analyticsReports", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "category", + "instances" ] } }, @@ -80234,11 +81385,11 @@ } }, "200": { - "description": "List of AppCategories with get", + "description": "List of AnalyticsReports", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoriesWithoutIncludesResponse" + "$ref": "#/components/schemas/AnalyticsReportsResponse" } } } @@ -80268,13 +81419,24 @@ } ] }, - "/v1/appClipDefaultExperienceLocalizations/{id}/relationships/appClipHeaderImage": { + "/v1/analyticsReports/{id}/relationships/instances": { "get": { "tags": [ - "AppClipDefaultExperienceLocalizations" + "AnalyticsReports" + ], + "operationId": "analyticsReports_instances_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appClipDefaultExperienceLocalizations_appClipHeaderImage_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -80317,11 +81479,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponse" + "$ref": "#/components/schemas/AnalyticsReportInstancesLinkagesResponse" } } } @@ -80351,29 +81513,25 @@ } ] }, - "/v1/appClipDefaultExperienceLocalizations/{id}/appClipHeaderImage": { + "/v1/analyticsReports/{id}/instances": { "get": { "tags": [ - "AppClipDefaultExperienceLocalizations" + "AnalyticsReports" ], - "operationId": "appClipDefaultExperienceLocalizations_appClipHeaderImage_getToOneRelated", + "operationId": "analyticsReports_instances_getToManyRelated", "parameters": [ { - "name": "fields[appClipHeaderImages]", + "name": "filter[granularity]", "in": "query", - "description": "the fields to include for returned resources of type appClipHeaderImages", + "description": "filter by attribute 'granularity'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "appClipDefaultExperienceLocalization" + "DAILY", + "WEEKLY", + "MONTHLY" ] } }, @@ -80381,124 +81539,47 @@ "explode": false }, { - "name": "fields[appClipDefaultExperienceLocalizations]", + "name": "filter[processingDate]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "description": "filter by attribute 'processingDate'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "locale", - "subtitle", - "appClipDefaultExperience", - "appClipHeaderImage" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "include", + "name": "fields[analyticsReportInstances]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type analyticsReportInstances", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperienceLocalization" + "granularity", + "processingDate", + "segments" ] } }, "style": "form", "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "200": { - "description": "Single AppClipHeaderImage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipHeaderImageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appClipDefaultExperiences/{id}/relationships/appClipAppStoreReviewDetail": { - "get": { - "tags": [ - "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences_appClipAppStoreReviewDetail_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -80541,11 +81622,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of AnalyticsReportInstances", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponse" + "$ref": "#/components/schemas/AnalyticsReportInstancesResponse" } } } @@ -80575,65 +81656,22 @@ } ] }, - "/v1/appClipDefaultExperiences/{id}/appClipAppStoreReviewDetail": { + "/v1/appAssetLibraries/{id}/relationships/images": { "get": { "tags": [ - "AppClipDefaultExperiences" + "AppAssetLibraries" ], - "operationId": "appClipDefaultExperiences_appClipAppStoreReviewDetail_getToOneRelated", + "operationId": "appAssetLibraries_images_getToManyRelationship", "parameters": [ { - "name": "fields[appClipAppStoreReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "invocationUrls", - "appClipDefaultExperience" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appClipDefaultExperiences]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", + "name": "limit", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appClipDefaultExperience" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -80678,11 +81716,11 @@ } }, "200": { - "description": "Single AppClipAppStoreReviewDetail", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAppStoreReviewDetailResponse" + "$ref": "#/components/schemas/AppAssetLibraryImagesLinkagesResponse" } } } @@ -80712,111 +81750,87 @@ } ] }, - "/v1/appClipDefaultExperiences/{id}/relationships/appClipDefaultExperienceLocalizations": { + "/v1/appAssetLibraries/{id}/images": { "get": { "tags": [ - "AppClipDefaultExperiences" + "AppAssetLibraries" ], - "operationId": "appClipDefaultExperiences_appClipDefaultExperienceLocalizations_getToManyRelationship", + "operationId": "appAssetLibraries_images_getToManyRelated", "parameters": [ { - "name": "limit", + "name": "filter[category]", "in": "query", - "description": "maximum resources per page", + "description": "filter by attribute 'category'", "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "type": "array", + "items": { + "type": "string", + "enum": [ + "CREATIVE_ASSETS", + "APP_SCREENSHOTS_AND_PREVIEWS" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[state]", + "in": "query", + "description": "filter by attribute 'state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWAITING_UPLOAD", + "UPLOAD_COMPLETE", + "FAILED", + "COMPLETE", + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REJECTED", + "ARCHIVED" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceAppClipDefaultExperienceLocalizationsLinkagesResponse" - } + { + "name": "filter[referenceName]", + "in": "query", + "description": "filter by attribute 'referenceName'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[specId]", + "in": "query", + "description": "filter by attribute 'specId'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appClipDefaultExperiences/{id}/appClipDefaultExperienceLocalizations": { - "get": { - "tags": [ - "AppClipDefaultExperiences" - ], - "operationId": "appClipDefaultExperiences_appClipDefaultExperienceLocalizations_getToManyRelated", - "parameters": [ { - "name": "filter[locale]", + "name": "filter[id]", "in": "query", - "description": "filter by attribute 'locale'", + "description": "filter by id(s)", "schema": { "type": "array", "items": { @@ -80827,18 +81841,20 @@ "explode": false }, { - "name": "fields[appClipDefaultExperienceLocalizations]", + "name": "sort", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "subtitle", - "appClipDefaultExperience", - "appClipHeaderImage" + "createdDate", + "-createdDate", + "lastModifiedDate", + "-lastModifiedDate", + "referenceName", + "-referenceName" ] } }, @@ -80846,19 +81862,26 @@ "explode": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appAssetLibraryImages]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appAssetLibraryImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" ] } }, @@ -80866,21 +81889,27 @@ "explode": false }, { - "name": "fields[appClipHeaderImages]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "the fields to include for returned resources of type appClipHeaderImages", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "appClipDefaultExperienceLocalization" + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -80906,13 +81935,22 @@ "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "appClipHeaderImage" + "placements" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[placements]", + "in": "query", + "description": "maximum number of related placements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -80957,11 +81995,11 @@ } }, "200": { - "description": "List of AppClipDefaultExperienceLocalizations", + "description": "List of AppAssetLibraryImages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationsResponse" + "$ref": "#/components/schemas/AppAssetLibraryImagesResponse" } } } @@ -80991,92 +82029,24 @@ } ] }, - "/v1/appClipDefaultExperiences/{id}/relationships/releaseWithAppStoreVersion": { + "/v1/appAssetLibraries/{id}/relationships/videos": { "get": { "tags": [ - "AppClipDefaultExperiences" + "AppAssetLibraries" ], - "operationId": "appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelationship", - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "operationId": "appAssetLibraries_videos_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } - } - }, - "patch": { - "tags": [ - "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences_releaseWithAppStoreVersion_updateToOneRelationship", - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -81118,29 +82088,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppAssetLibraryVideosLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -81166,46 +82123,24 @@ } ] }, - "/v1/appClipDefaultExperiences/{id}/releaseWithAppStoreVersion": { + "/v1/appAssetLibraries/{id}/videos": { "get": { "tags": [ - "AppClipDefaultExperiences" + "AppAssetLibraries" ], - "operationId": "appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelated", + "operationId": "appAssetLibraries_videos_getToManyRelated", "parameters": [ { - "name": "fields[appStoreVersions]", + "name": "filter[category]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "filter by attribute 'category'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "CREATIVE_ASSETS", + "APP_SCREENSHOTS_AND_PREVIEWS" ] } }, @@ -81213,70 +82148,26 @@ "explode": false }, { - "name": "fields[apps]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "AWAITING_UPLOAD", + "UPLOAD_COMPLETE", + "FAILED", + "COMPLETE", + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REJECTED", + "ARCHIVED" ] } }, @@ -81284,103 +82175,59 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "filter[referenceName]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[builds]", + "name": "filter[specId]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "filter by attribute 'specId'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appStoreVersionPhasedReleases]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "phasedReleaseState", - "startDate", - "totalPauseDuration", - "currentDayNumber" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "sort", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" + "createdDate", + "-createdDate", + "lastModifiedDate", + "-lastModifiedDate", + "referenceName", + "-referenceName" ] } }, @@ -81388,81 +82235,28 @@ "explode": false }, { - "name": "fields[routingAppCoverages]", + "name": "fields[appAssetLibraryVideos]", "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", + "category", + "createdDate", + "lastModifiedDate", "fileName", - "sourceFileChecksum", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", "uploadOperations", - "assetDeliveryState", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "appStoreVersion", - "appStoreReviewAttachments" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appClipDefaultExperiences]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" + "videoAsset", + "placements" ] } }, @@ -81470,26 +82264,27 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "trafficProportion", + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "platform", - "app", - "latestControlVersion", - "controlVersions" + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -81497,21 +82292,14 @@ "explode": false }, { - "name": "fields[alternativeDistributionPackages]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "sourceFileChecksum", - "versions" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { "name": "include", @@ -81522,18 +82310,7 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "alternativeDistributionPackage" + "placements" ] } }, @@ -81541,30 +82318,9 @@ "explode": false }, { - "name": "limit[appStoreVersionLocalizations]", - "in": "query", - "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appStoreVersionExperiments]", - "in": "query", - "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[appStoreVersionExperimentsV2]", + "name": "limit[placements]", "in": "query", - "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "description": "maximum number of related placements returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -81614,11 +82370,11 @@ } }, "200": { - "description": "Single AppStoreVersion", + "description": "List of AppAssetLibraryVideos", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionResponse" + "$ref": "#/components/schemas/AppAssetLibraryVideosResponse" } } } @@ -81648,12 +82404,12 @@ } ] }, - "/v1/appClips/{id}/relationships/appClipAdvancedExperiences": { + "/v1/appAssetLibraryImages/{id}/relationships/placements": { "get": { "tags": [ - "AppClips" + "AppAssetLibraryImages" ], - "operationId": "appClips_appClipAdvancedExperiences_getToManyRelationship", + "operationId": "appAssetLibraryImages_placements_getToManyRelationship", "parameters": [ { "name": "limit", @@ -81712,7 +82468,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAppClipAdvancedExperiencesLinkagesResponse" + "$ref": "#/components/schemas/AppAssetLibraryImagePlacementsLinkagesResponse" } } } @@ -81742,25 +82498,32 @@ } ] }, - "/v1/appClips/{id}/appClipAdvancedExperiences": { + "/v1/appAssetLibraryImages/{id}/placements": { "get": { "tags": [ - "AppClips" + "AppAssetLibraryImages" ], - "operationId": "appClips_appClipAdvancedExperiences_getToManyRelated", + "operationId": "appAssetLibraryImages_placements_getToManyRelated", "parameters": [ { - "name": "filter[status]", + "name": "filter[placementType]", "in": "query", - "description": "filter by attribute 'status'", + "description": "filter by attribute 'placementType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "RECEIVED", - "DEACTIVATED", - "APP_TRANSFER_IN_PROGRESS" + "APP_SCREENSHOT", + "IMESSAGE_APP_SCREENSHOT", + "APP_PREVIEW", + "PRODUCT_PAGE_HEADER_ASSET", + "APP_STORE_SEARCH_RESULTS_ASSET", + "SEARCH_RESULTS_ADS_ASSET", + "TODAY_TAB_ADS_ASSET", + "EVENT_CARD_ASSET", + "EVENT_DETAILS_PAGE_ASSET", + "RETENTION_MESSAGE_ASSET" ] } }, @@ -81768,17 +82531,34 @@ "explode": false }, { - "name": "filter[placeStatus]", + "name": "filter[placementGroup]", "in": "query", - "description": "filter by attribute 'placeStatus'", + "description": "filter by attribute 'placementGroup'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[state]", + "in": "query", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PENDING", - "MATCHED", - "NO_MATCH" + "ASSET_PROCESSING", + "FAILED", + "PARENT_PREPARE_FOR_SUBMISSION", + "PARENT_READY_FOR_REVIEW", + "PARENT_WAITING_FOR_REVIEW", + "PARENT_IN_REVIEW", + "PARENT_APPROVED" ] } }, @@ -81786,17 +82566,98 @@ "explode": false }, { - "name": "filter[action]", + "name": "filter[video]", "in": "query", - "description": "filter by attribute 'action'", + "description": "filter by id(s) of related 'video'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appEventLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appEventLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appCustomProductPageLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "OPEN", - "VIEW", - "PLAY" + "createdDate", + "-createdDate", + "lastModifiedDate", + "-lastModifiedDate", + "placementGroupPosition", + "-placementGroupPosition" ] } }, @@ -81804,26 +82665,27 @@ "explode": false }, { - "name": "fields[appClipAdvancedExperiences]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "the fields to include for returned resources of type appClipAdvancedExperiences", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "link", - "version", - "status", - "action", - "isPoweredBy", - "place", - "placeStatus", - "businessCategory", - "defaultLanguage", - "appClip", - "headerImage", - "localizations" + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -81831,18 +82693,26 @@ "explode": false }, { - "name": "fields[appClips]", + "name": "fields[appAssetLibraryImages]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type appAssetLibraryImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "app", - "appClipDefaultExperiences", - "appClipAdvancedExperiences" + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" ] } }, @@ -81850,20 +82720,28 @@ "explode": false }, { - "name": "fields[appClipAdvancedExperienceImages]", + "name": "fields[appAssetLibraryVideos]", "in": "query", - "description": "the fields to include for returned resources of type appClipAdvancedExperienceImages", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", + "category", + "createdDate", + "lastModifiedDate", "fileName", - "sourceFileChecksum", - "imageAsset", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", "uploadOperations", - "assetDeliveryState" + "videoAsset", + "placements" ] } }, @@ -81871,17 +82749,22 @@ "explode": false }, { - "name": "fields[appClipAdvancedExperienceLocalizations]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appClipAdvancedExperienceLocalizations", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "language", - "title", - "subtitle" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -81889,27 +82772,48 @@ "explode": false }, { - "name": "limit", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "include", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClip", - "headerImage", - "localizations" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -81917,14 +82821,55 @@ "explode": false }, { - "name": "limit[localizations]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -81969,11 +82914,11 @@ } }, "200": { - "description": "List of AppClipAdvancedExperiences", + "description": "List of AppAssetLibraryPlacements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAdvancedExperiencesResponse" + "$ref": "#/components/schemas/AppAssetLibraryPlacementsResponse" } } } @@ -82003,12 +82948,12 @@ } ] }, - "/v1/appClips/{id}/relationships/appClipDefaultExperiences": { + "/v1/appAssetLibraryVideos/{id}/relationships/placements": { "get": { "tags": [ - "AppClips" + "AppAssetLibraryVideos" ], - "operationId": "appClips_appClipDefaultExperiences_getToManyRelationship", + "operationId": "appAssetLibraryVideos_placements_getToManyRelationship", "parameters": [ { "name": "limit", @@ -82067,7 +83012,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipAppClipDefaultExperiencesLinkagesResponse" + "$ref": "#/components/schemas/AppAssetLibraryVideoPlacementsLinkagesResponse" } } } @@ -82097,56 +83042,67 @@ } ] }, - "/v1/appClips/{id}/appClipDefaultExperiences": { + "/v1/appAssetLibraryVideos/{id}/placements": { "get": { "tags": [ - "AppClips" + "AppAssetLibraryVideos" ], - "operationId": "appClips_appClipDefaultExperiences_getToManyRelated", + "operationId": "appAssetLibraryVideos_placements_getToManyRelated", "parameters": [ { - "name": "exists[releaseWithAppStoreVersion]", + "name": "filter[placementType]", "in": "query", - "description": "filter by existence or non-existence of related 'releaseWithAppStoreVersion'", + "description": "filter by attribute 'placementType'", "schema": { - "type": "boolean" + "type": "array", + "items": { + "type": "string", + "enum": [ + "APP_SCREENSHOT", + "IMESSAGE_APP_SCREENSHOT", + "APP_PREVIEW", + "PRODUCT_PAGE_HEADER_ASSET", + "APP_STORE_SEARCH_RESULTS_ASSET", + "SEARCH_RESULTS_ADS_ASSET", + "TODAY_TAB_ADS_ASSET", + "EVENT_CARD_ASSET", + "EVENT_DETAILS_PAGE_ASSET", + "RETENTION_MESSAGE_ASSET" + ] + } }, "style": "form", "explode": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "filter[placementGroup]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "filter by attribute 'placementGroup'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appClips]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "app", - "appClipDefaultExperiences", - "appClipAdvancedExperiences" + "ASSET_PROCESSING", + "FAILED", + "PARENT_PREPARE_FOR_SUBMISSION", + "PARENT_READY_FOR_REVIEW", + "PARENT_WAITING_FOR_REVIEW", + "PARENT_IN_REVIEW", + "PARENT_APPROVED" ] } }, @@ -82154,322 +83110,126 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "filter[image]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "filter by id(s) of related 'image'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appClipDefaultExperienceLocalizations]", + "name": "filter[appEventLocalization]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "description": "filter by id(s) of related 'appEventLocalization'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "locale", - "subtitle", - "appClipDefaultExperience", - "appClipHeaderImage" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appClipAppStoreReviewDetails]", + "name": "filter[appStoreVersionLocalization]", "in": "query", - "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "invocationUrls", - "appClipDefaultExperience" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "limit", + "name": "filter[appCustomProductPageLocalization]", "in": "query", - "description": "maximum resources per page", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string" + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "include", + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "limit[appClipDefaultExperienceLocalizations]", + "name": "filter[id]", "in": "query", - "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", + "description": "filter by id(s)", "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of AppClipDefaultExperiences", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperiencesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "type": "array", + "items": { + "type": "string" } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appCustomProductPageLocalizations/{id}/relationships/appPreviewSets": { - "get": { - "tags": [ - "AppCustomProductPageLocalizations" - ], - "operationId": "appCustomProductPageLocalizations_appPreviewSets_getToManyRelationship", - "parameters": [ { - "name": "limit", + "name": "sort", "in": "query", - "description": "maximum resources per page", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationAppPreviewSetsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "-createdDate", + "lastModifiedDate", + "-lastModifiedDate", + "placementGroupPosition", + "-placementGroupPosition" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appCustomProductPageLocalizations/{id}/appPreviewSets": { - "get": { - "tags": [ - "AppCustomProductPageLocalizations" - ], - "operationId": "appCustomProductPageLocalizations_appPreviewSets_getToManyRelated", - "parameters": [ { - "name": "filter[previewType]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "filter by attribute 'previewType'", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IPHONE_67", - "IPHONE_61", - "IPHONE_65", - "IPHONE_58", - "IPHONE_55", - "IPHONE_47", - "IPHONE_40", - "IPHONE_35", - "IPAD_PRO_3GEN_129", - "IPAD_PRO_3GEN_11", - "IPAD_PRO_129", - "IPAD_105", - "IPAD_97", - "DESKTOP", - "APPLE_TV", - "APPLE_VISION_PRO" + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -82477,45 +83237,78 @@ "explode": false }, { - "name": "filter[appStoreVersionLocalization]", + "name": "fields[appAssetLibraryImages]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "description": "the fields to include for returned resources of type appAssetLibraryImages", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" + ] } }, "style": "form", "explode": false }, { - "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "name": "fields[appAssetLibraryVideos]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "videoAsset", + "placements" + ] } }, "style": "form", "explode": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -82541,7 +83334,8 @@ "appStoreVersion", "appScreenshotSets", "appPreviewSets", - "searchKeywords" + "searchKeywords", + "placements" ] } }, @@ -82562,7 +83356,8 @@ "appCustomProductPageVersion", "appScreenshotSets", "appPreviewSets", - "searchKeywords" + "searchKeywords", + "placements" ] } }, @@ -82581,34 +83376,8 @@ "locale", "appStoreVersionExperimentTreatment", "appScreenshotSets", - "appPreviewSets" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appPreviews]", - "in": "query", - "description": "the fields to include for returned resources of type appPreviews", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "previewFrameTimeCode", - "mimeType", - "videoUrl", - "previewFrameImage", - "previewImage", - "uploadOperations", - "assetDeliveryState", - "videoDeliveryState", - "appPreviewSet" + "appPreviewSets", + "placements" ] } }, @@ -82634,25 +83403,17 @@ "items": { "type": "string", "enum": [ + "image", + "video", + "appEventLocalization", "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "appStoreVersionExperimentTreatmentLocalization" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appPreviews]", - "in": "query", - "description": "maximum number of related appPreviews returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -82697,11 +83458,11 @@ } }, "200": { - "description": "List of AppPreviewSets", + "description": "List of AppAssetLibraryPlacements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewSetsResponse" + "$ref": "#/components/schemas/AppAssetLibraryPlacementsResponse" } } } @@ -82731,12 +83492,12 @@ } ] }, - "/v1/appCustomProductPageLocalizations/{id}/relationships/appScreenshotSets": { + "/v2/appAvailabilities/{id}/relationships/territoryAvailabilities": { "get": { "tags": [ - "AppCustomProductPageLocalizations" + "AppAvailabilities" ], - "operationId": "appCustomProductPageLocalizations_appScreenshotSets_getToManyRelationship", + "operationId": "appAvailabilitiesV2_territoryAvailabilities_getToManyRelationship", "parameters": [ { "name": "limit", @@ -82795,7 +83556,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponse" + "$ref": "#/components/schemas/AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponse" } } } @@ -82825,167 +83586,28 @@ } ] }, - "/v1/appCustomProductPageLocalizations/{id}/appScreenshotSets": { + "/v2/appAvailabilities/{id}/territoryAvailabilities": { "get": { "tags": [ - "AppCustomProductPageLocalizations" + "AppAvailabilities" ], - "operationId": "appCustomProductPageLocalizations_appScreenshotSets_getToManyRelated", + "operationId": "appAvailabilitiesV2_territoryAvailabilities_getToManyRelated", "parameters": [ { - "name": "filter[screenshotDisplayType]", - "in": "query", - "description": "filter by attribute 'screenshotDisplayType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "APP_IPHONE_67", - "APP_IPHONE_61", - "APP_IPHONE_65", - "APP_IPHONE_58", - "APP_IPHONE_55", - "APP_IPHONE_47", - "APP_IPHONE_40", - "APP_IPHONE_35", - "APP_IPAD_PRO_3GEN_129", - "APP_IPAD_PRO_3GEN_11", - "APP_IPAD_PRO_129", - "APP_IPAD_105", - "APP_IPAD_97", - "APP_DESKTOP", - "APP_WATCH_ULTRA", - "APP_WATCH_SERIES_10", - "APP_WATCH_SERIES_7", - "APP_WATCH_SERIES_4", - "APP_WATCH_SERIES_3", - "APP_APPLE_TV", - "APP_APPLE_VISION_PRO", - "IMESSAGE_APP_IPHONE_67", - "IMESSAGE_APP_IPHONE_61", - "IMESSAGE_APP_IPHONE_65", - "IMESSAGE_APP_IPHONE_58", - "IMESSAGE_APP_IPHONE_55", - "IMESSAGE_APP_IPHONE_47", - "IMESSAGE_APP_IPHONE_40", - "IMESSAGE_APP_IPAD_PRO_3GEN_129", - "IMESSAGE_APP_IPAD_PRO_3GEN_11", - "IMESSAGE_APP_IPAD_PRO_129", - "IMESSAGE_APP_IPAD_105", - "IMESSAGE_APP_IPAD_97" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[appStoreVersionLocalization]", - "in": "query", - "description": "filter by id(s) of related 'appStoreVersionLocalization'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[appStoreVersionExperimentTreatmentLocalization]", - "in": "query", - "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appScreenshotSets]", - "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPageLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[territoryAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type territoryAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" + "available", + "releaseDate", + "preOrderEnabled", + "preOrderPublishDate", + "contentStatuses", + "territory" ] } }, @@ -82993,23 +83615,15 @@ "explode": false }, { - "name": "fields[appScreenshots]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "appScreenshotSet" + "currency" ] } }, @@ -83035,25 +83649,12 @@ "items": { "type": "string", "enum": [ - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "territory" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appScreenshots]", - "in": "query", - "description": "maximum number of related appScreenshots returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -83098,11 +83699,11 @@ } }, "200": { - "description": "List of AppScreenshotSets", + "description": "List of TerritoryAvailabilities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotSetsResponse" + "$ref": "#/components/schemas/TerritoryAvailabilitiesResponse" } } } @@ -83132,24 +83733,13 @@ } ] }, - "/v1/appCustomProductPageLocalizations/{id}/relationships/searchKeywords": { + "/v1/appCategories/{id}/relationships/parent": { "get": { "tags": [ - "AppCustomProductPageLocalizations" - ], - "operationId": "appCustomProductPageLocalizations_searchKeywords_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppCategories" ], + "operationId": "appCategories_parent_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -83192,11 +83782,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationSearchKeywordsLinkagesResponse" + "$ref": "#/components/schemas/AppCategoryParentLinkageResponse" } } } @@ -83213,22 +83803,45 @@ } } }, - "post": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appCategories/{id}/parent": { + "get": { "tags": [ - "AppCustomProductPageLocalizations" + "AppCategories" ], - "operationId": "appCustomProductPageLocalizations_searchKeywords_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationSearchKeywordsLinkagesRequest" + "operationId": "appCategories_parent_getToOneRelated", + "parameters": [ + { + "name": "fields[appCategories]", + "in": "query", + "description": "the fields to include for returned resources of type appCategories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platforms", + "subcategories", + "parent" + ] } - } - }, - "required": true - }, + }, + "style": "form", + "explode": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -83270,29 +83883,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single AppCategory with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppCategoryWithoutIncludesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -83305,22 +83905,37 @@ } } }, - "delete": { - "tags": [ - "AppCustomProductPageLocalizations" - ], - "operationId": "appCustomProductPageLocalizations_searchKeywords_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationSearchKeywordsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/appCategories/{id}/relationships/subcategories": { + "get": { + "tags": [ + "AppCategories" + ], + "operationId": "appCategories_subcategories_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -83362,29 +83977,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppCategorySubcategoriesLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -83410,48 +84012,26 @@ } ] }, - "/v1/appCustomProductPageLocalizations/{id}/searchKeywords": { + "/v1/appCategories/{id}/subcategories": { "get": { "tags": [ - "AppCustomProductPageLocalizations" + "AppCategories" ], - "operationId": "appCustomProductPageLocalizations_searchKeywords_getToManyRelated", + "operationId": "appCategories_subcategories_getToManyRelated", "parameters": [ { - "name": "filter[platform]", - "in": "query", - "description": "filter by platform", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[locale]", - "in": "query", - "description": "filter by locale", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appKeywords]", + "name": "fields[appCategories]", "in": "query", - "description": "the fields to include for returned resources of type appKeywords", + "description": "the fields to include for returned resources of type appCategories", "schema": { "type": "array", "items": { "type": "string", - "enum": [] + "enum": [ + "platforms", + "subcategories", + "parent" + ] } }, "style": "form", @@ -83510,11 +84090,11 @@ } }, "200": { - "description": "List of AppKeywords", + "description": "List of AppCategories with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppKeywordsResponse" + "$ref": "#/components/schemas/AppCategoriesWithoutIncludesResponse" } } } @@ -83544,24 +84124,13 @@ } ] }, - "/v1/appCustomProductPageVersions/{id}/relationships/appCustomProductPageLocalizations": { + "/v1/appClipDefaultExperienceLocalizations/{id}/relationships/appClipHeaderImage": { "get": { "tags": [ - "AppCustomProductPageVersions" - ], - "operationId": "appCustomProductPageVersions_appCustomProductPageLocalizations_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppClipDefaultExperienceLocalizations" ], + "operationId": "appClipDefaultExperienceLocalizations_appClipHeaderImage_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -83604,11 +84173,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageVersionAppCustomProductPageLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponse" } } } @@ -83638,81 +84207,29 @@ } ] }, - "/v1/appCustomProductPageVersions/{id}/appCustomProductPageLocalizations": { + "/v1/appClipDefaultExperienceLocalizations/{id}/appClipHeaderImage": { "get": { "tags": [ - "AppCustomProductPageVersions" + "AppClipDefaultExperienceLocalizations" ], - "operationId": "appCustomProductPageVersions_appCustomProductPageLocalizations_getToManyRelated", + "operationId": "appClipDefaultExperienceLocalizations_appClipHeaderImage_getToOneRelated", "parameters": [ { - "name": "filter[locale]", - "in": "query", - "description": "filter by attribute 'locale'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPageLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPageVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "deepLink", - "appCustomProductPage", - "appCustomProductPageLocalizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appScreenshotSets]", + "name": "fields[appClipHeaderImages]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appClipHeaderImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "appClipDefaultExperienceLocalization" ] } }, @@ -83720,49 +84237,24 @@ "explode": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appClipDefaultExperienceLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "locale", + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, "style": "form", "explode": false }, - { - "name": "fields[appKeywords]", - "in": "query", - "description": "the fields to include for returned resources of type appKeywords", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -83772,45 +84264,12 @@ "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" + "appClipDefaultExperienceLocalization" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appScreenshotSets]", - "in": "query", - "description": "maximum number of related appScreenshotSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appPreviewSets]", - "in": "query", - "description": "maximum number of related appPreviewSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[searchKeywords]", - "in": "query", - "description": "maximum number of related searchKeywords returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -83855,11 +84314,11 @@ } }, "200": { - "description": "List of AppCustomProductPageLocalizations", + "description": "Single AppClipHeaderImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageLocalizationsResponse" + "$ref": "#/components/schemas/AppClipHeaderImageResponse" } } } @@ -83889,24 +84348,13 @@ } ] }, - "/v1/appCustomProductPages/{id}/relationships/appCustomProductPageVersions": { + "/v1/appClipDefaultExperiences/{id}/relationships/appClipAppStoreReviewDetail": { "get": { "tags": [ - "AppCustomProductPages" - ], - "operationId": "appCustomProductPages_appCustomProductPageVersions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppClipDefaultExperiences" ], + "operationId": "appClipDefaultExperiences_appClipAppStoreReviewDetail_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -83949,11 +84397,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageAppCustomProductPageVersionsLinkagesResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponse" } } } @@ -83983,70 +84431,24 @@ } ] }, - "/v1/appCustomProductPages/{id}/appCustomProductPageVersions": { + "/v1/appClipDefaultExperiences/{id}/appClipAppStoreReviewDetail": { "get": { "tags": [ - "AppCustomProductPages" + "AppClipDefaultExperiences" ], - "operationId": "appCustomProductPages_appCustomProductPageVersions_getToManyRelated", + "operationId": "appClipDefaultExperiences_appClipAppStoreReviewDetail_getToOneRelated", "parameters": [ { - "name": "filter[state]", - "in": "query", - "description": "filter by attribute 'state'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "PREPARE_FOR_SUBMISSION", - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "ACCEPTED", - "APPROVED", - "REPLACED_WITH_NEW_VERSION", - "REJECTED" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPageVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "deepLink", - "appCustomProductPage", - "appCustomProductPageLocalizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPages]", + "name": "fields[appClipAppStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", + "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "url", - "visible", - "app", - "appCustomProductPageVersions" + "invocationUrls", + "appClipDefaultExperience" ] } }, @@ -84054,36 +84456,25 @@ "explode": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -84093,23 +84484,12 @@ "items": { "type": "string", "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations" + "appClipDefaultExperience" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appCustomProductPageLocalizations]", - "in": "query", - "description": "maximum number of related appCustomProductPageLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -84154,11 +84534,11 @@ } }, "200": { - "description": "List of AppCustomProductPageVersions", + "description": "Single AppClipAppStoreReviewDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPageVersionsResponse" + "$ref": "#/components/schemas/AppClipAppStoreReviewDetailResponse" } } } @@ -84188,23 +84568,33 @@ } ] }, - "/v1/appEncryptionDeclarations/{id}/relationships/app": { + "/v1/appClipDefaultExperiences/{id}/relationships/appClipDefaultExperienceLocalizations": { "get": { "tags": [ - "AppEncryptionDeclarations" + "AppClipDefaultExperiences" ], - "operationId": "appEncryptionDeclarations_app_getToOneRelationship", - "deprecated": true, - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } + "operationId": "appClipDefaultExperiences_appClipDefaultExperienceLocalizations_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } } }, "401": { @@ -84238,11 +84628,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationAppLinkageResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceAppClipDefaultExperienceLocalizationsLinkagesResponse" } } } @@ -84272,79 +84662,108 @@ } ] }, - "/v1/appEncryptionDeclarations/{id}/app": { + "/v1/appClipDefaultExperiences/{id}/appClipDefaultExperienceLocalizations": { "get": { "tags": [ - "AppEncryptionDeclarations" + "AppClipDefaultExperiences" ], - "operationId": "appEncryptionDeclarations_app_getToOneRelated", - "deprecated": true, + "operationId": "appClipDefaultExperiences_appClipDefaultExperienceLocalizations_getToManyRelated", "parameters": [ { - "name": "fields[apps]", + "name": "filter[locale]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "filter by attribute 'locale'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipDefaultExperienceLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "locale", + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipDefaultExperiences]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipHeaderImages]", + "in": "query", + "description": "the fields to include for returned resources of type appClipHeaderImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "appClipDefaultExperienceLocalization" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, @@ -84394,11 +84813,11 @@ } }, "200": { - "description": "Single App with get", + "description": "List of AppClipDefaultExperienceLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppWithoutIncludesResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceLocalizationsResponse" } } } @@ -84428,12 +84847,12 @@ } ] }, - "/v1/appEncryptionDeclarations/{id}/relationships/appEncryptionDeclarationDocument": { + "/v1/appClipDefaultExperiences/{id}/relationships/releaseWithAppStoreVersion": { "get": { "tags": [ - "AppEncryptionDeclarations" + "AppClipDefaultExperiences" ], - "operationId": "appEncryptionDeclarations_appEncryptionDeclarationDocument_getToOneRelationship", + "operationId": "appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -84481,7 +84900,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationAppEncryptionDeclarationDocumentLinkageResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse" } } } @@ -84498,49 +84917,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appEncryptionDeclarations/{id}/appEncryptionDeclarationDocument": { - "get": { + "patch": { "tags": [ - "AppEncryptionDeclarations" + "AppClipDefaultExperiences" ], - "operationId": "appEncryptionDeclarations_appEncryptionDeclarationDocument_getToOneRelated", - "parameters": [ - { - "name": "fields[appEncryptionDeclarationDocuments]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "assetToken", - "downloadUrl", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState" - ] + "operationId": "appClipDefaultExperiences_releaseWithAppStoreVersion_updateToOneRelationship", + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest" } - }, - "style": "form", - "explode": false - } - ], + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -84582,16 +84974,29 @@ } } }, - "200": { - "description": "Single AppEncryptionDeclarationDocument", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -84617,24 +85022,414 @@ } ] }, - "/v1/appEncryptionDeclarations/{id}/relationships/builds": { - "post": { + "/v1/appClipDefaultExperiences/{id}/releaseWithAppStoreVersion": { + "get": { "tags": [ - "AppEncryptionDeclarations" + "AppClipDefaultExperiences" ], - "operationId": "appEncryptionDeclarations_builds_createToManyRelationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationBuildsLinkagesRequest" + "operationId": "appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelated", + "parameters": [ + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionPhasedReleases]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAppVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[routingAppCoverages]", + "in": "query", + "description": "the fields to include for returned resources of type routingAppCoverages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipDefaultExperiences]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "sourceFileChecksum", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[appStoreVersionLocalizations]", + "in": "query", + "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appStoreVersionExperiments]", + "in": "query", + "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[appStoreVersionExperimentsV2]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -84676,29 +85471,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single AppStoreVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppStoreVersionResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -84724,12 +85506,12 @@ } ] }, - "/v1/appEventLocalizations/{id}/relationships/appEventScreenshots": { + "/v1/appClips/{id}/relationships/appClipAdvancedExperiences": { "get": { "tags": [ - "AppEventLocalizations" + "AppClips" ], - "operationId": "appEventLocalizations_appEventScreenshots_getToManyRelationship", + "operationId": "appClips_appClipAdvancedExperiences_getToManyRelationship", "parameters": [ { "name": "limit", @@ -84788,7 +85570,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventLocalizationAppEventScreenshotsLinkagesResponse" + "$ref": "#/components/schemas/AppClipAppClipAdvancedExperiencesLinkagesResponse" } } } @@ -84818,17 +85600,117 @@ } ] }, - "/v1/appEventLocalizations/{id}/appEventScreenshots": { + "/v1/appClips/{id}/appClipAdvancedExperiences": { "get": { "tags": [ - "AppEventLocalizations" + "AppClips" ], - "operationId": "appEventLocalizations_appEventScreenshots_getToManyRelated", + "operationId": "appClips_appClipAdvancedExperiences_getToManyRelated", "parameters": [ { - "name": "fields[appEventScreenshots]", + "name": "filter[status]", "in": "query", - "description": "the fields to include for returned resources of type appEventScreenshots", + "description": "filter by attribute 'status'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "RECEIVED", + "DEACTIVATED", + "APP_TRANSFER_IN_PROGRESS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[placeStatus]", + "in": "query", + "description": "filter by attribute 'placeStatus'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "PENDING", + "MATCHED", + "NO_MATCH" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[action]", + "in": "query", + "description": "filter by attribute 'action'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OPEN", + "VIEW", + "PLAY" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipAdvancedExperiences]", + "in": "query", + "description": "the fields to include for returned resources of type appClipAdvancedExperiences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "link", + "version", + "status", + "action", + "isPoweredBy", + "place", + "placeStatus", + "businessCategory", + "defaultLanguage", + "appClip", + "headerImage", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClips]", + "in": "query", + "description": "the fields to include for returned resources of type appClips", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "bundleId", + "app", + "appClipDefaultExperiences", + "appClipAdvancedExperiences" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipAdvancedExperienceImages]", + "in": "query", + "description": "the fields to include for returned resources of type appClipAdvancedExperienceImages", "schema": { "type": "array", "items": { @@ -84836,12 +85718,10 @@ "enum": [ "fileSize", "fileName", + "sourceFileChecksum", "imageAsset", - "assetToken", "uploadOperations", - "assetDeliveryState", - "appEventAssetType", - "appEventLocalization" + "assetDeliveryState" ] } }, @@ -84849,21 +85729,17 @@ "explode": false }, { - "name": "fields[appEventLocalizations]", + "name": "fields[appClipAdvancedExperienceLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", + "description": "the fields to include for returned resources of type appClipAdvancedExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "shortDescription", - "longDescription", - "appEvent", - "appEventScreenshots", - "appEventVideoClips" + "language", + "title", + "subtitle" ] } }, @@ -84889,12 +85765,24 @@ "items": { "type": "string", "enum": [ - "appEventLocalization" + "appClip", + "headerImage", + "localizations" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -84939,11 +85827,11 @@ } }, "200": { - "description": "List of AppEventScreenshots", + "description": "List of AppClipAdvancedExperiences", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventScreenshotsResponse" + "$ref": "#/components/schemas/AppClipAdvancedExperiencesResponse" } } } @@ -84973,12 +85861,12 @@ } ] }, - "/v1/appEventLocalizations/{id}/relationships/appEventVideoClips": { + "/v1/appClips/{id}/relationships/appClipDefaultExperiences": { "get": { "tags": [ - "AppEventLocalizations" + "AppClips" ], - "operationId": "appEventLocalizations_appEventVideoClips_getToManyRelationship", + "operationId": "appClips_appClipDefaultExperiences_getToManyRelationship", "parameters": [ { "name": "limit", @@ -85037,7 +85925,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventLocalizationAppEventVideoClipsLinkagesResponse" + "$ref": "#/components/schemas/AppClipAppClipDefaultExperiencesLinkagesResponse" } } } @@ -85067,33 +85955,37 @@ } ] }, - "/v1/appEventLocalizations/{id}/appEventVideoClips": { + "/v1/appClips/{id}/appClipDefaultExperiences": { "get": { "tags": [ - "AppEventLocalizations" + "AppClips" ], - "operationId": "appEventLocalizations_appEventVideoClips_getToManyRelated", + "operationId": "appClips_appClipDefaultExperiences_getToManyRelated", "parameters": [ { - "name": "fields[appEventVideoClips]", + "name": "exists[releaseWithAppStoreVersion]", "in": "query", - "description": "the fields to include for returned resources of type appEventVideoClips", + "description": "filter by existence or non-existence of related 'releaseWithAppStoreVersion'", + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipDefaultExperiences]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "previewFrameTimeCode", - "videoUrl", - "previewFrameImage", - "previewImage", - "uploadOperations", - "assetDeliveryState", - "videoDeliveryState", - "appEventAssetType", - "appEventLocalization" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, @@ -85101,21 +85993,93 @@ "explode": false }, { - "name": "fields[appEventLocalizations]", + "name": "fields[appClips]", "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", + "description": "the fields to include for returned resources of type appClips", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "bundleId", + "app", + "appClipDefaultExperiences", + "appClipAdvancedExperiences" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipDefaultExperienceLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ "locale", - "name", - "shortDescription", - "longDescription", - "appEvent", - "appEventScreenshots", - "appEventVideoClips" + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipAppStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "invocationUrls", + "appClipDefaultExperience" ] } }, @@ -85141,12 +86105,25 @@ "items": { "type": "string", "enum": [ - "appEventLocalization" + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appClipDefaultExperienceLocalizations]", + "in": "query", + "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -85191,11 +86168,11 @@ } }, "200": { - "description": "List of AppEventVideoClips", + "description": "List of AppClipDefaultExperiences", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventVideoClipsResponse" + "$ref": "#/components/schemas/AppClipDefaultExperiencesResponse" } } } @@ -85225,12 +86202,12 @@ } ] }, - "/v1/appEvents/{id}/relationships/localizations": { + "/v1/appCustomProductPageLocalizations/{id}/relationships/appPreviewSets": { "get": { "tags": [ - "AppEvents" + "AppCustomProductPageLocalizations" ], - "operationId": "appEvents_localizations_getToManyRelationship", + "operationId": "appCustomProductPageLocalizations_appPreviewSets_getToManyRelationship", "parameters": [ { "name": "limit", @@ -85289,7 +86266,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationAppPreviewSetsLinkagesResponse" } } } @@ -85319,29 +86296,38 @@ } ] }, - "/v1/appEvents/{id}/localizations": { + "/v1/appCustomProductPageLocalizations/{id}/appPreviewSets": { "get": { "tags": [ - "AppEvents" + "AppCustomProductPageLocalizations" ], - "operationId": "appEvents_localizations_getToManyRelated", + "operationId": "appCustomProductPageLocalizations_appPreviewSets_getToManyRelated", "parameters": [ { - "name": "fields[appEventLocalizations]", + "name": "filter[previewType]", "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", + "description": "filter by attribute 'previewType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "shortDescription", - "longDescription", - "appEvent", - "appEventScreenshots", - "appEventVideoClips" + "IPHONE_67", + "IPHONE_61", + "IPHONE_65", + "IPHONE_58", + "IPHONE_55", + "IPHONE_47", + "IPHONE_40", + "IPHONE_35", + "IPAD_PRO_3GEN_129", + "IPAD_PRO_3GEN_11", + "IPAD_PRO_129", + "IPAD_105", + "IPAD_97", + "DESKTOP", + "APPLE_TV", + "APPLE_VISION_PRO" ] } }, @@ -85349,25 +86335,45 @@ "explode": false }, { - "name": "fields[appEvents]", + "name": "filter[appStoreVersionLocalization]", "in": "query", - "description": "the fields to include for returned resources of type appEvents", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appPreviewSets]", + "in": "query", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "badge", - "eventState", - "deepLink", - "purchaseRequirement", - "primaryLocale", - "priority", - "purpose", - "territorySchedules", - "archivedTerritorySchedules", - "localizations" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -85375,22 +86381,26 @@ "explode": false }, { - "name": "fields[appEventScreenshots]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appEventScreenshots", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "assetToken", - "uploadOperations", - "assetDeliveryState", - "appEventAssetType", - "appEventLocalization" + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -85398,9 +86408,51 @@ "explode": false }, { - "name": "fields[appEventVideoClips]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appEventVideoClips", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appPreviews]", + "in": "query", + "description": "the fields to include for returned resources of type appPreviews", "schema": { "type": "array", "items": { @@ -85408,15 +86460,16 @@ "enum": [ "fileSize", "fileName", + "sourceFileChecksum", "previewFrameTimeCode", + "mimeType", "videoUrl", "previewFrameImage", "previewImage", "uploadOperations", "assetDeliveryState", "videoDeliveryState", - "appEventAssetType", - "appEventLocalization" + "appPreviewSet" ] } }, @@ -85442,9 +86495,10 @@ "items": { "type": "string", "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips" + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -85452,19 +86506,9 @@ "explode": false }, { - "name": "limit[appEventScreenshots]", - "in": "query", - "description": "maximum number of related appEventScreenshots returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appEventVideoClips]", + "name": "limit[appPreviews]", "in": "query", - "description": "maximum number of related appEventVideoClips returned (when they are included)", + "description": "maximum number of related appPreviews returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -85514,11 +86558,11 @@ } }, "200": { - "description": "List of AppEventLocalizations", + "description": "List of AppPreviewSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventLocalizationsResponse" + "$ref": "#/components/schemas/AppPreviewSetsResponse" } } } @@ -85548,13 +86592,24 @@ } ] }, - "/v1/appInfos/{id}/relationships/ageRatingDeclaration": { + "/v1/appCustomProductPageLocalizations/{id}/relationships/appScreenshotSets": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPageLocalizations" + ], + "operationId": "appCustomProductPageLocalizations_appScreenshotSets_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appInfos_ageRatingDeclaration_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -85597,11 +86652,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoAgeRatingDeclarationLinkageResponse" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationAppScreenshotSetsLinkagesResponse" } } } @@ -85631,57 +86686,238 @@ } ] }, - "/v1/appInfos/{id}/ageRatingDeclaration": { + "/v1/appCustomProductPageLocalizations/{id}/appScreenshotSets": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPageLocalizations" ], - "operationId": "appInfos_ageRatingDeclaration_getToOneRelated", + "operationId": "appCustomProductPageLocalizations_appScreenshotSets_getToManyRelated", "parameters": [ { - "name": "fields[ageRatingDeclarations]", + "name": "filter[screenshotDisplayType]", "in": "query", - "description": "the fields to include for returned resources of type ageRatingDeclarations", + "description": "filter by attribute 'screenshotDisplayType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "advertising", - "alcoholTobaccoOrDrugUseOrReferences", - "contests", - "gambling", - "gamblingSimulated", - "gunsOrOtherWeapons", - "healthOrWellnessTopics", - "kidsAgeBand", - "lootBox", - "medicalOrTreatmentInformation", - "messagingAndChat", - "parentalControls", - "profanityOrCrudeHumor", - "ageAssurance", - "sexualContentGraphicAndNudity", - "sexualContentOrNudity", - "socialMedia", - "socialMediaAgeRestricted", - "horrorOrFearThemes", - "matureOrSuggestiveThemes", - "unrestrictedWebAccess", - "userGeneratedContent", - "violenceCartoonOrFantasy", - "violenceRealisticProlongedGraphicOrSadistic", - "violenceRealistic", - "ageRatingOverride", - "ageRatingOverrideV2", - "koreaAgeRatingOverride", - "gracRatingClassificationNumber", - "developerAgeRatingInfoUrl" + "APP_IPHONE_67", + "APP_IPHONE_61", + "APP_IPHONE_65", + "APP_IPHONE_58", + "APP_IPHONE_55", + "APP_IPHONE_47", + "APP_IPHONE_40", + "APP_IPHONE_35", + "APP_IPAD_PRO_3GEN_129", + "APP_IPAD_PRO_3GEN_11", + "APP_IPAD_PRO_129", + "APP_IPAD_105", + "APP_IPAD_97", + "APP_DESKTOP", + "APP_WATCH_ULTRA", + "APP_WATCH_SERIES_10", + "APP_WATCH_SERIES_7", + "APP_WATCH_SERIES_4", + "APP_WATCH_SERIES_3", + "APP_APPLE_TV", + "APP_APPLE_VISION_PRO", + "IMESSAGE_APP_IPHONE_67", + "IMESSAGE_APP_IPHONE_61", + "IMESSAGE_APP_IPHONE_65", + "IMESSAGE_APP_IPHONE_58", + "IMESSAGE_APP_IPHONE_55", + "IMESSAGE_APP_IPHONE_47", + "IMESSAGE_APP_IPHONE_40", + "IMESSAGE_APP_IPAD_PRO_3GEN_129", + "IMESSAGE_APP_IPAD_PRO_3GEN_11", + "IMESSAGE_APP_IPAD_PRO_129", + "IMESSAGE_APP_IPAD_105", + "IMESSAGE_APP_IPAD_97" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appScreenshotSets]", + "in": "query", + "description": "the fields to include for returned resources of type appScreenshotSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPageLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type appScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "appScreenshotSet" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appScreenshots]", + "in": "query", + "description": "maximum number of related appScreenshots returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -85726,11 +86962,11 @@ } }, "200": { - "description": "Single AgeRatingDeclaration", + "description": "List of AppScreenshotSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgeRatingDeclarationResponse" + "$ref": "#/components/schemas/AppScreenshotSetsResponse" } } } @@ -85760,12 +86996,12 @@ } ] }, - "/v1/appInfos/{id}/relationships/appInfoLocalizations": { + "/v1/appCustomProductPageLocalizations/{id}/relationships/placements": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPageLocalizations" ], - "operationId": "appInfos_appInfoLocalizations_getToManyRelationship", + "operationId": "appCustomProductPageLocalizations_placements_getToManyRelationship", "parameters": [ { "name": "limit", @@ -85824,7 +87060,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoAppInfoLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationPlacementsLinkagesResponse" } } } @@ -85854,17 +87090,42 @@ } ] }, - "/v1/appInfos/{id}/appInfoLocalizations": { + "/v1/appCustomProductPageLocalizations/{id}/placements": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPageLocalizations" ], - "operationId": "appInfos_appInfoLocalizations_getToManyRelated", + "operationId": "appCustomProductPageLocalizations_placements_getToManyRelated", "parameters": [ { - "name": "filter[locale]", + "name": "filter[placementType]", "in": "query", - "description": "filter by attribute 'locale'", + "description": "filter by attribute 'placementType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "APP_SCREENSHOT", + "IMESSAGE_APP_SCREENSHOT", + "APP_PREVIEW", + "PRODUCT_PAGE_HEADER_ASSET", + "APP_STORE_SEARCH_RESULTS_ASSET", + "SEARCH_RESULTS_ADS_ASSET", + "TODAY_TAB_ADS_ASSET", + "EVENT_CARD_ASSET", + "EVENT_DETAILS_PAGE_ASSET", + "RETENTION_MESSAGE_ASSET" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[placementGroup]", + "in": "query", + "description": "filter by attribute 'placementGroup'", "schema": { "type": "array", "items": { @@ -85875,9 +87136,214 @@ "explode": false }, { - "name": "fields[appInfoLocalizations]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type appInfoLocalizations", + "description": "filter by attribute 'state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ASSET_PROCESSING", + "FAILED", + "PARENT_PREPARE_FOR_SUBMISSION", + "PARENT_READY_FOR_REVIEW", + "PARENT_WAITING_FOR_REVIEW", + "PARENT_IN_REVIEW", + "PARENT_APPROVED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[image]", + "in": "query", + "description": "filter by id(s) of related 'image'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[video]", + "in": "query", + "description": "filter by id(s) of related 'video'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appEventLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appEventLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "-createdDate", + "lastModifiedDate", + "-lastModifiedDate", + "placementGroupPosition", + "-placementGroupPosition" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryPlacements]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryImages]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryVideos]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "videoAsset", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEventLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { @@ -85885,11 +87351,12 @@ "enum": [ "locale", "name", - "subtitle", - "privacyPolicyUrl", - "privacyChoicesUrl", - "privacyPolicyText", - "appInfo" + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -85897,32 +87364,68 @@ "explode": false }, { - "name": "fields[appInfos]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appInfos", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreState", - "state", - "appStoreAgeRating", - "australiaAgeRating", - "brazilAgeRating", - "brazilAgeRatingV2", - "franceAgeRating", - "koreaAgeRating", - "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "territoryAgeRatings" + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPageLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" ] } }, @@ -85948,7 +87451,12 @@ "items": { "type": "string", "enum": [ - "appInfo" + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -85998,11 +87506,11 @@ } }, "200": { - "description": "List of AppInfoLocalizations", + "description": "List of AppAssetLibraryPlacements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoLocalizationsResponse" + "$ref": "#/components/schemas/AppAssetLibraryPlacementsResponse" } } } @@ -86032,13 +87540,24 @@ } ] }, - "/v1/appInfos/{id}/relationships/primaryCategory": { + "/v1/appCustomProductPageLocalizations/{id}/relationships/searchKeywords": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPageLocalizations" + ], + "operationId": "appCustomProductPageLocalizations_searchKeywords_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appInfos_primaryCategory_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -86081,11 +87600,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoPrimaryCategoryLinkageResponse" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationSearchKeywordsLinkagesResponse" } } } @@ -86102,72 +87621,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appInfos/{id}/primaryCategory": { - "get": { + "post": { "tags": [ - "AppInfos" + "AppCustomProductPageLocalizations" ], - "operationId": "appInfos_primaryCategory_getToOneRelated", - "parameters": [ - { - "name": "fields[appCategories]", - "in": "query", - "description": "the fields to include for returned resources of type appCategories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platforms", - "subcategories", - "parent" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subcategories", - "parent" - ] + "operationId": "appCustomProductPageLocalizations_searchKeywords_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppCustomProductPageLocalizationSearchKeywordsLinkagesRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -86209,16 +87678,29 @@ } } }, - "200": { - "description": "Single AppCategory", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoryResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -86231,26 +87713,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appInfos/{id}/relationships/primarySubcategoryOne": { - "get": { + "delete": { "tags": [ - "AppInfos" + "AppCustomProductPageLocalizations" ], - "operationId": "appInfos_primarySubcategoryOne_getToOneRelationship", - "parameters": [], + "operationId": "appCustomProductPageLocalizations_searchKeywords_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppCustomProductPageLocalizationSearchKeywordsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -86292,16 +87770,29 @@ } } }, - "200": { - "description": "Related linkage", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoPrimarySubcategoryOneLinkageResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -86327,55 +87818,60 @@ } ] }, - "/v1/appInfos/{id}/primarySubcategoryOne": { + "/v1/appCustomProductPageLocalizations/{id}/searchKeywords": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPageLocalizations" ], - "operationId": "appInfos_primarySubcategoryOne_getToOneRelated", + "operationId": "appCustomProductPageLocalizations_searchKeywords_getToManyRelated", "parameters": [ { - "name": "fields[appCategories]", + "name": "filter[platform]", "in": "query", - "description": "the fields to include for returned resources of type appCategories", + "description": "filter by platform", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "platforms", - "subcategories", - "parent" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "include", + "name": "filter[locale]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by locale", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appKeywords]", + "in": "query", + "description": "the fields to include for returned resources of type appKeywords", "schema": { "type": "array", "items": { "type": "string", - "enum": [ - "subcategories", - "parent" - ] + "enum": [] } }, "style": "form", "explode": false }, { - "name": "limit[subcategories]", + "name": "limit", "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" } @@ -86422,11 +87918,11 @@ } }, "200": { - "description": "Single AppCategory", + "description": "List of AppKeywords", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoryResponse" + "$ref": "#/components/schemas/AppKeywordsResponse" } } } @@ -86456,13 +87952,24 @@ } ] }, - "/v1/appInfos/{id}/relationships/primarySubcategoryTwo": { + "/v1/appCustomProductPageVersions/{id}/relationships/appCustomProductPageLocalizations": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPageVersions" + ], + "operationId": "appCustomProductPageVersions_appCustomProductPageLocalizations_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appInfos_primarySubcategoryTwo_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -86505,11 +88012,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoPrimarySubcategoryTwoLinkageResponse" + "$ref": "#/components/schemas/AppCustomProductPageVersionAppCustomProductPageLocalizationsLinkagesResponse" } } } @@ -86539,25 +88046,42 @@ } ] }, - "/v1/appInfos/{id}/primarySubcategoryTwo": { + "/v1/appCustomProductPageVersions/{id}/appCustomProductPageLocalizations": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPageVersions" ], - "operationId": "appInfos_primarySubcategoryTwo_getToOneRelated", + "operationId": "appCustomProductPageVersions_appCustomProductPageLocalizations_getToManyRelated", "parameters": [ { - "name": "fields[appCategories]", + "name": "filter[locale]", "in": "query", - "description": "the fields to include for returned resources of type appCategories", + "description": "filter by attribute 'locale'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPageLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platforms", - "subcategories", - "parent" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -86565,16 +88089,19 @@ "explode": false }, { - "name": "include", + "name": "fields[appCustomProductPageVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subcategories", - "parent" + "version", + "state", + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -86582,200 +88109,97 @@ "explode": false }, { - "name": "limit[subcategories]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppCategory", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppCategoryResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appInfos/{id}/relationships/secondaryCategory": { - "get": { - "tags": [ - "AppInfos" - ], - "operationId": "appInfos_secondaryCategory_getToOneRelationship", - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "type": "array", + "items": { + "type": "string", + "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppInfoSecondaryCategoryLinkageResponse" - } + { + "name": "fields[appPreviewSets]", + "in": "query", + "description": "the fields to include for returned resources of type appPreviewSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" + ] } - } + }, + "style": "form", + "explode": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appKeywords]", + "in": "query", + "description": "the fields to include for returned resources of type appKeywords", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appInfos/{id}/secondaryCategory": { - "get": { - "tags": [ - "AppInfos" - ], - "operationId": "appInfos_secondaryCategory_getToOneRelated", - "parameters": [ { - "name": "fields[appCategories]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "the fields to include for returned resources of type appCategories", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platforms", - "subcategories", - "parent" + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -86785,8 +88209,11 @@ "items": { "type": "string", "enum": [ - "subcategories", - "parent" + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -86794,9 +88221,39 @@ "explode": false }, { - "name": "limit[subcategories]", + "name": "limit[appScreenshotSets]", "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", + "description": "maximum number of related appScreenshotSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appPreviewSets]", + "in": "query", + "description": "maximum number of related appPreviewSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[searchKeywords]", + "in": "query", + "description": "maximum number of related searchKeywords returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[placements]", + "in": "query", + "description": "maximum number of related placements returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -86846,11 +88303,11 @@ } }, "200": { - "description": "Single AppCategory", + "description": "List of AppCustomProductPageLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoryResponse" + "$ref": "#/components/schemas/AppCustomProductPageLocalizationsResponse" } } } @@ -86880,13 +88337,24 @@ } ] }, - "/v1/appInfos/{id}/relationships/secondarySubcategoryOne": { + "/v1/appCustomProductPages/{id}/relationships/appCustomProductPageVersions": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPages" + ], + "operationId": "appCustomProductPages_appCustomProductPageVersions_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appInfos_secondarySubcategoryOne_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -86929,11 +88397,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoSecondarySubcategoryOneLinkageResponse" + "$ref": "#/components/schemas/AppCustomProductPageAppCustomProductPageVersionsLinkagesResponse" } } } @@ -86963,31 +88431,108 @@ } ] }, - "/v1/appInfos/{id}/secondarySubcategoryOne": { + "/v1/appCustomProductPages/{id}/appCustomProductPageVersions": { "get": { "tags": [ - "AppInfos" + "AppCustomProductPages" ], - "operationId": "appInfos_secondarySubcategoryOne_getToOneRelated", + "operationId": "appCustomProductPages_appCustomProductPageVersions_getToManyRelated", "parameters": [ { - "name": "fields[appCategories]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type appCategories", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platforms", - "subcategories", - "parent" + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REPLACED_WITH_NEW_VERSION", + "REJECTED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPageVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPages]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "url", + "visible", + "app", + "appCustomProductPageVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPageLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -86997,8 +88542,8 @@ "items": { "type": "string", "enum": [ - "subcategories", - "parent" + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -87006,9 +88551,9 @@ "explode": false }, { - "name": "limit[subcategories]", + "name": "limit[appCustomProductPageLocalizations]", "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", + "description": "maximum number of related appCustomProductPageLocalizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -87058,11 +88603,11 @@ } }, "200": { - "description": "Single AppCategory", + "description": "List of AppCustomProductPageVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoryResponse" + "$ref": "#/components/schemas/AppCustomProductPageVersionsResponse" } } } @@ -87092,12 +88637,13 @@ } ] }, - "/v1/appInfos/{id}/relationships/secondarySubcategoryTwo": { + "/v1/appEncryptionDeclarations/{id}/relationships/app": { "get": { "tags": [ - "AppInfos" + "AppEncryptionDeclarations" ], - "operationId": "appInfos_secondarySubcategoryTwo_getToOneRelationship", + "operationId": "appEncryptionDeclarations_app_getToOneRelationship", + "deprecated": true, "parameters": [], "responses": { "400": { @@ -87145,7 +88691,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoSecondarySubcategoryTwoLinkageResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationAppLinkageResponse" } } } @@ -87175,57 +88721,85 @@ } ] }, - "/v1/appInfos/{id}/secondarySubcategoryTwo": { + "/v1/appEncryptionDeclarations/{id}/app": { "get": { "tags": [ - "AppInfos" + "AppEncryptionDeclarations" ], - "operationId": "appInfos_secondarySubcategoryTwo_getToOneRelated", + "operationId": "appEncryptionDeclarations_app_getToOneRelated", + "deprecated": true, "parameters": [ { - "name": "fields[appCategories]", - "in": "query", - "description": "the fields to include for returned resources of type appCategories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platforms", - "subcategories", - "parent" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subcategories", - "parent" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -87270,11 +88844,11 @@ } }, "200": { - "description": "Single AppCategory", + "description": "Single App with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCategoryResponse" + "$ref": "#/components/schemas/AppWithoutIncludesResponse" } } } @@ -87304,24 +88878,13 @@ } ] }, - "/v1/appInfos/{id}/relationships/territoryAgeRatings": { + "/v1/appEncryptionDeclarations/{id}/relationships/appEncryptionDeclarationDocument": { "get": { "tags": [ - "AppInfos" - ], - "operationId": "appInfos_territoryAgeRatings_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppEncryptionDeclarations" ], + "operationId": "appEncryptionDeclarations_appEncryptionDeclarationDocument_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -87364,11 +88927,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfoTerritoryAgeRatingsLinkagesResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationAppEncryptionDeclarationDocumentLinkageResponse" } } } @@ -87398,66 +88961,29 @@ } ] }, - "/v1/appInfos/{id}/territoryAgeRatings": { + "/v1/appEncryptionDeclarations/{id}/appEncryptionDeclarationDocument": { "get": { "tags": [ - "AppInfos" + "AppEncryptionDeclarations" ], - "operationId": "appInfos_territoryAgeRatings_getToManyRelated", + "operationId": "appEncryptionDeclarations_appEncryptionDeclarationDocument_getToOneRelated", "parameters": [ { - "name": "fields[territoryAgeRatings]", - "in": "query", - "description": "the fields to include for returned resources of type territoryAgeRatings", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreAgeRating", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[appEncryptionDeclarationDocuments]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "territory" + "fileSize", + "fileName", + "assetToken", + "downloadUrl", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -87507,11 +89033,11 @@ } }, "200": { - "description": "List of TerritoryAgeRatings", + "description": "Single AppEncryptionDeclarationDocument", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryAgeRatingsResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationDocumentResponse" } } } @@ -87541,24 +89067,24 @@ } ] }, - "/v1/appPreviewSets/{id}/relationships/appPreviews": { - "get": { + "/v1/appEncryptionDeclarations/{id}/relationships/builds": { + "post": { "tags": [ - "AppPreviewSets" - ], - "operationId": "appPreviewSets_appPreviews_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppEncryptionDeclarations" ], + "operationId": "appEncryptionDeclarations_builds_createToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEncryptionDeclarationBuildsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -87600,16 +89126,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewSetAppPreviewsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -87622,22 +89161,37 @@ } } }, - "patch": { - "tags": [ - "AppPreviewSets" - ], - "operationId": "appPreviewSets_appPreviews_replaceToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppPreviewSetAppPreviewsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/appEventLocalizations/{id}/relationships/appEventScreenshots": { + "get": { + "tags": [ + "AppEventLocalizations" + ], + "operationId": "appEventLocalizations_appEventScreenshots_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -87679,29 +89233,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppEventLocalizationAppEventScreenshotsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -87727,17 +89268,17 @@ } ] }, - "/v1/appPreviewSets/{id}/appPreviews": { + "/v1/appEventLocalizations/{id}/appEventScreenshots": { "get": { "tags": [ - "AppPreviewSets" + "AppEventLocalizations" ], - "operationId": "appPreviewSets_appPreviews_getToManyRelated", + "operationId": "appEventLocalizations_appEventScreenshots_getToManyRelated", "parameters": [ { - "name": "fields[appPreviews]", + "name": "fields[appEventScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appPreviews", + "description": "the fields to include for returned resources of type appEventScreenshots", "schema": { "type": "array", "items": { @@ -87745,16 +89286,12 @@ "enum": [ "fileSize", "fileName", - "sourceFileChecksum", - "previewFrameTimeCode", - "mimeType", - "videoUrl", - "previewFrameImage", - "previewImage", + "imageAsset", + "assetToken", "uploadOperations", "assetDeliveryState", - "videoDeliveryState", - "appPreviewSet" + "appEventAssetType", + "appEventLocalization" ] } }, @@ -87762,19 +89299,22 @@ "explode": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -87800,7 +89340,7 @@ "items": { "type": "string", "enum": [ - "appPreviewSet" + "appEventLocalization" ] } }, @@ -87850,11 +89390,11 @@ } }, "200": { - "description": "List of AppPreviews", + "description": "List of AppEventScreenshots", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewsResponse" + "$ref": "#/components/schemas/AppEventScreenshotsResponse" } } } @@ -87884,12 +89424,12 @@ } ] }, - "/v3/appPricePoints/{id}/relationships/equalizations": { + "/v1/appEventLocalizations/{id}/relationships/appEventVideoClips": { "get": { "tags": [ - "AppPricePoints" + "AppEventLocalizations" ], - "operationId": "appPricePointsV3_equalizations_getToManyRelationship", + "operationId": "appEventLocalizations_appEventVideoClips_getToManyRelationship", "parameters": [ { "name": "limit", @@ -87948,7 +89488,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPricePointV3EqualizationsLinkagesResponse" + "$ref": "#/components/schemas/AppEventLocalizationAppEventVideoClipsLinkagesResponse" } } } @@ -87978,40 +89518,33 @@ } ] }, - "/v3/appPricePoints/{id}/equalizations": { + "/v1/appEventLocalizations/{id}/appEventVideoClips": { "get": { "tags": [ - "AppPricePoints" + "AppEventLocalizations" ], - "operationId": "appPricePointsV3_equalizations_getToManyRelated", + "operationId": "appEventLocalizations_appEventVideoClips_getToManyRelated", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appPricePoints]", + "name": "fields[appEventVideoClips]", "in": "query", - "description": "the fields to include for returned resources of type appPricePoints", + "description": "the fields to include for returned resources of type appEventVideoClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "app", - "equalizations", - "territory" + "fileSize", + "fileName", + "previewFrameTimeCode", + "videoUrl", + "previewFrameImage", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "videoDeliveryState", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -88019,86 +89552,22 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", + "locale", "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -88124,8 +89593,7 @@ "items": { "type": "string", "enum": [ - "app", - "territory" + "appEventLocalization" ] } }, @@ -88175,16 +89643,11 @@ } }, "200": { - "description": "List of AppPricePoints", + "description": "List of AppEventVideoClips", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPricePointsV3Response" - } - }, - "text/csv": { - "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/AppEventVideoClipsResponse" } } } @@ -88214,12 +89677,12 @@ } ] }, - "/v1/appPriceSchedules/{id}/relationships/automaticPrices": { + "/v1/appEventLocalizations/{id}/relationships/placements": { "get": { "tags": [ - "AppPriceSchedules" + "AppEventLocalizations" ], - "operationId": "appPriceSchedules_automaticPrices_getToManyRelationship", + "operationId": "appEventLocalizations_placements_getToManyRelationship", "parameters": [ { "name": "limit", @@ -88278,7 +89741,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPriceScheduleAutomaticPricesLinkagesResponse" + "$ref": "#/components/schemas/AppEventLocalizationPlacementsLinkagesResponse" } } } @@ -88308,17 +89771,42 @@ } ] }, - "/v1/appPriceSchedules/{id}/automaticPrices": { + "/v1/appEventLocalizations/{id}/placements": { "get": { "tags": [ - "AppPriceSchedules" + "AppEventLocalizations" ], - "operationId": "appPriceSchedules_automaticPrices_getToManyRelated", + "operationId": "appEventLocalizations_placements_getToManyRelated", "parameters": [ { - "name": "filter[startDate]", + "name": "filter[placementType]", "in": "query", - "description": "filter by attribute 'startDate'", + "description": "filter by attribute 'placementType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "APP_SCREENSHOT", + "IMESSAGE_APP_SCREENSHOT", + "APP_PREVIEW", + "PRODUCT_PAGE_HEADER_ASSET", + "APP_STORE_SEARCH_RESULTS_ASSET", + "SEARCH_RESULTS_ADS_ASSET", + "TODAY_TAB_ADS_ASSET", + "EVENT_CARD_ASSET", + "EVENT_DETAILS_PAGE_ASSET", + "RETENTION_MESSAGE_ASSET" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[placementGroup]", + "in": "query", + "description": "filter by attribute 'placementGroup'", "schema": { "type": "array", "items": { @@ -88329,9 +89817,31 @@ "explode": false }, { - "name": "filter[endDate]", + "name": "filter[state]", "in": "query", - "description": "filter by attribute 'endDate'", + "description": "filter by attribute 'state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ASSET_PROCESSING", + "FAILED", + "PARENT_PREPARE_FOR_SUBMISSION", + "PARENT_READY_FOR_REVIEW", + "PARENT_WAITING_FOR_REVIEW", + "PARENT_IN_REVIEW", + "PARENT_APPROVED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[image]", + "in": "query", + "description": "filter by id(s) of related 'image'", "schema": { "type": "array", "items": { @@ -88342,9 +89852,9 @@ "explode": false }, { - "name": "filter[territory]", + "name": "filter[video]", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "filter by id(s) of related 'video'", "schema": { "type": "array", "items": { @@ -88355,55 +89865,72 @@ "explode": false }, { - "name": "fields[appPrices]", + "name": "filter[appStoreVersionLocalization]", "in": "query", - "description": "the fields to include for returned resources of type appPrices", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "manual", - "startDate", - "endDate", - "appPricePoint", - "territory" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appPricePoints]", + "name": "filter[appCustomProductPageLocalization]", "in": "query", - "description": "the fields to include for returned resources of type appPricePoints", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "customerPrice", - "proceeds", - "app", - "equalizations", - "territory" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[territories]", + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "createdDate", + "-createdDate", + "lastModifiedDate", + "-lastModifiedDate", + "placementGroupPosition", + "-placementGroupPosition" ] } }, @@ -88411,26 +89938,206 @@ "explode": false }, { - "name": "limit", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "include", + "name": "fields[appAssetLibraryImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appAssetLibraryImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPricePoint", - "territory" + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryVideos]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "videoAsset", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEventLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appEventLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPageLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -88480,11 +90187,11 @@ } }, "200": { - "description": "List of AppPrices", + "description": "List of AppAssetLibraryPlacements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPricesV2Response" + "$ref": "#/components/schemas/AppAssetLibraryPlacementsResponse" } } } @@ -88514,13 +90221,24 @@ } ] }, - "/v1/appPriceSchedules/{id}/relationships/baseTerritory": { + "/v1/appEvents/{id}/relationships/localizations": { "get": { "tags": [ - "AppPriceSchedules" + "AppEvents" + ], + "operationId": "appEvents_localizations_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appPriceSchedules_baseTerritory_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -88563,11 +90281,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPriceScheduleBaseTerritoryLinkageResponse" + "$ref": "#/components/schemas/AppEventLocalizationsLinkagesResponse" } } } @@ -88597,28 +90315,197 @@ } ] }, - "/v1/appPriceSchedules/{id}/baseTerritory": { + "/v1/appEvents/{id}/localizations": { "get": { "tags": [ - "AppPriceSchedules" + "AppEvents" ], - "operationId": "appPriceSchedules_baseTerritory_getToOneRelated", + "operationId": "appEvents_localizations_getToManyRelated", "parameters": [ { - "name": "fields[territories]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEvents]", + "in": "query", + "description": "the fields to include for returned resources of type appEvents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEventScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type appEventScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "assetToken", + "uploadOperations", + "assetDeliveryState", + "appEventAssetType", + "appEventLocalization" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEventVideoClips]", + "in": "query", + "description": "the fields to include for returned resources of type appEventVideoClips", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "previewFrameTimeCode", + "videoUrl", + "previewFrameImage", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "videoDeliveryState", + "appEventAssetType", + "appEventLocalization" ] } }, "style": "form", "explode": false + }, + { + "name": "fields[appAssetLibraryPlacements]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[appEventScreenshots]", + "in": "query", + "description": "maximum number of related appEventScreenshots returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appEventVideoClips]", + "in": "query", + "description": "maximum number of related appEventVideoClips returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[placements]", + "in": "query", + "description": "maximum number of related placements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -88663,11 +90550,11 @@ } }, "200": { - "description": "Single Territory", + "description": "List of AppEventLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryResponse" + "$ref": "#/components/schemas/AppEventLocalizationsResponse" } } } @@ -88697,24 +90584,13 @@ } ] }, - "/v1/appPriceSchedules/{id}/relationships/manualPrices": { + "/v1/appInfos/{id}/relationships/ageRatingDeclaration": { "get": { "tags": [ - "AppPriceSchedules" - ], - "operationId": "appPriceSchedules_manualPrices_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppInfos" ], + "operationId": "appInfos_ageRatingDeclaration_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -88757,11 +90633,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPriceScheduleManualPricesLinkagesResponse" + "$ref": "#/components/schemas/AppInfoAgeRatingDeclarationLinkageResponse" } } } @@ -88791,129 +90667,52 @@ } ] }, - "/v1/appPriceSchedules/{id}/manualPrices": { + "/v1/appInfos/{id}/ageRatingDeclaration": { "get": { "tags": [ - "AppPriceSchedules" + "AppInfos" ], - "operationId": "appPriceSchedules_manualPrices_getToManyRelated", + "operationId": "appInfos_ageRatingDeclaration_getToOneRelated", "parameters": [ { - "name": "filter[startDate]", - "in": "query", - "description": "filter by attribute 'startDate'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[endDate]", - "in": "query", - "description": "filter by attribute 'endDate'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appPrices]", - "in": "query", - "description": "the fields to include for returned resources of type appPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "manual", - "startDate", - "endDate", - "appPricePoint", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type appPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "proceeds", - "app", - "equalizations", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[ageRatingDeclarations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type ageRatingDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPricePoint", - "territory" + "advertising", + "alcoholTobaccoOrDrugUseOrReferences", + "contests", + "gambling", + "gamblingSimulated", + "gunsOrOtherWeapons", + "healthOrWellnessTopics", + "kidsAgeBand", + "lootBox", + "medicalOrTreatmentInformation", + "messagingAndChat", + "parentalControls", + "profanityOrCrudeHumor", + "ageAssurance", + "sexualContentGraphicAndNudity", + "sexualContentOrNudity", + "socialMedia", + "socialMediaAgeRestricted", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", + "unrestrictedWebAccess", + "userGeneratedContent", + "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", + "violenceRealistic", + "ageRatingOverride", + "ageRatingOverrideV2", + "koreaAgeRatingOverride", + "gracRatingClassificationNumber", + "developerAgeRatingInfoUrl" ] } }, @@ -88963,11 +90762,11 @@ } }, "200": { - "description": "List of AppPrices", + "description": "Single AgeRatingDeclaration", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPricesV2Response" + "$ref": "#/components/schemas/AgeRatingDeclarationResponse" } } } @@ -88997,12 +90796,12 @@ } ] }, - "/v1/appScreenshotSets/{id}/relationships/appScreenshots": { + "/v1/appInfos/{id}/relationships/appInfoLocalizations": { "get": { "tags": [ - "AppScreenshotSets" + "AppInfos" ], - "operationId": "appScreenshotSets_appScreenshots_getToManyRelationship", + "operationId": "appInfos_appInfoLocalizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -89061,103 +90860,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotSetAppScreenshotsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "AppScreenshotSets" - ], - "operationId": "appScreenshotSets_appScreenshots_replaceToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppScreenshotSetAppScreenshotsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppInfoAppInfoLocalizationsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -89183,31 +90890,42 @@ } ] }, - "/v1/appScreenshotSets/{id}/appScreenshots": { + "/v1/appInfos/{id}/appInfoLocalizations": { "get": { "tags": [ - "AppScreenshotSets" + "AppInfos" ], - "operationId": "appScreenshotSets_appScreenshots_getToManyRelated", + "operationId": "appInfos_appInfoLocalizations_getToManyRelated", "parameters": [ { - "name": "fields[appScreenshots]", + "name": "filter[locale]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "filter by attribute 'locale'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appInfoLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appInfoLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "appScreenshotSet" + "locale", + "name", + "subtitle", + "privacyPolicyUrl", + "privacyChoicesUrl", + "privacyPolicyText", + "appInfo" ] } }, @@ -89215,19 +90933,32 @@ "explode": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[appInfos]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appInfos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", + "brazilAgeRating", + "brazilAgeRatingV2", + "franceAgeRating", + "koreaAgeRating", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo", + "territoryAgeRatings" ] } }, @@ -89253,7 +90984,7 @@ "items": { "type": "string", "enum": [ - "appScreenshotSet" + "appInfo" ] } }, @@ -89303,11 +91034,11 @@ } }, "200": { - "description": "List of AppScreenshots", + "description": "List of AppInfoLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotsResponse" + "$ref": "#/components/schemas/AppInfoLocalizationsResponse" } } } @@ -89337,24 +91068,13 @@ } ] }, - "/v1/appStoreReviewDetails/{id}/relationships/appStoreReviewAttachments": { + "/v1/appInfos/{id}/relationships/primaryCategory": { "get": { "tags": [ - "AppStoreReviewDetails" - ], - "operationId": "appStoreReviewDetails_appStoreReviewAttachments_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppInfos" ], + "operationId": "appInfos_primaryCategory_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -89397,11 +91117,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponse" + "$ref": "#/components/schemas/AppInfoPrimaryCategoryLinkageResponse" } } } @@ -89431,28 +91151,25 @@ } ] }, - "/v1/appStoreReviewDetails/{id}/appStoreReviewAttachments": { + "/v1/appInfos/{id}/primaryCategory": { "get": { "tags": [ - "AppStoreReviewDetails" + "AppInfos" ], - "operationId": "appStoreReviewDetails_appStoreReviewAttachments_getToManyRelated", + "operationId": "appInfos_primaryCategory_getToOneRelated", "parameters": [ { - "name": "fields[appStoreReviewAttachments]", + "name": "fields[appCategories]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewAttachments", + "description": "the fields to include for returned resources of type appCategories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreReviewDetail" + "platforms", + "subcategories", + "parent" ] } }, @@ -89460,24 +91177,16 @@ "explode": false }, { - "name": "fields[appStoreReviewDetails]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "appStoreVersion", - "appStoreReviewAttachments" + "subcategories", + "parent" ] } }, @@ -89485,30 +91194,14 @@ "explode": false }, { - "name": "limit", + "name": "limit[subcategories]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related subcategories returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreReviewDetail" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -89553,11 +91246,11 @@ } }, "200": { - "description": "List of AppStoreReviewAttachments", + "description": "Single AppCategory", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewAttachmentsResponse" + "$ref": "#/components/schemas/AppCategoryResponse" } } } @@ -89587,24 +91280,13 @@ } ] }, - "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/appPreviewSets": { + "/v1/appInfos/{id}/relationships/primarySubcategoryOne": { "get": { "tags": [ - "AppStoreVersionExperimentTreatmentLocalizations" - ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations_appPreviewSets_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppInfos" ], + "operationId": "appInfos_primarySubcategoryOne_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -89647,11 +91329,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponse" + "$ref": "#/components/schemas/AppInfoPrimarySubcategoryOneLinkageResponse" } } } @@ -89681,193 +91363,31 @@ } ] }, - "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/appPreviewSets": { + "/v1/appInfos/{id}/primarySubcategoryOne": { "get": { "tags": [ - "AppStoreVersionExperimentTreatmentLocalizations" + "AppInfos" ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations_appPreviewSets_getToManyRelated", + "operationId": "appInfos_primarySubcategoryOne_getToOneRelated", "parameters": [ { - "name": "filter[previewType]", - "in": "query", - "description": "filter by attribute 'previewType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPHONE_67", - "IPHONE_61", - "IPHONE_65", - "IPHONE_58", - "IPHONE_55", - "IPHONE_47", - "IPHONE_40", - "IPHONE_35", - "IPAD_PRO_3GEN_129", - "IPAD_PRO_3GEN_11", - "IPAD_PRO_129", - "IPAD_105", - "IPAD_97", - "DESKTOP", - "APPLE_TV", - "APPLE_VISION_PRO" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[appStoreVersionLocalization]", - "in": "query", - "description": "filter by id(s) of related 'appStoreVersionLocalization'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[appCustomProductPageLocalization]", - "in": "query", - "description": "filter by id(s) of related 'appCustomProductPageLocalization'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appPreviewSets]", - "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPageLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appPreviews]", + "name": "fields[appCategories]", "in": "query", - "description": "the fields to include for returned resources of type appPreviews", + "description": "the fields to include for returned resources of type appCategories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "previewFrameTimeCode", - "mimeType", - "videoUrl", - "previewFrameImage", - "previewImage", - "uploadOperations", - "assetDeliveryState", - "videoDeliveryState", - "appPreviewSet" + "platforms", + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -89877,10 +91397,8 @@ "items": { "type": "string", "enum": [ - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "subcategories", + "parent" ] } }, @@ -89888,9 +91406,9 @@ "explode": false }, { - "name": "limit[appPreviews]", + "name": "limit[subcategories]", "in": "query", - "description": "maximum number of related appPreviews returned (when they are included)", + "description": "maximum number of related subcategories returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -89940,11 +91458,11 @@ } }, "200": { - "description": "List of AppPreviewSets", + "description": "Single AppCategory", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewSetsResponse" + "$ref": "#/components/schemas/AppCategoryResponse" } } } @@ -89974,24 +91492,13 @@ } ] }, - "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/appScreenshotSets": { + "/v1/appInfos/{id}/relationships/primarySubcategoryTwo": { "get": { "tags": [ - "AppStoreVersionExperimentTreatmentLocalizations" - ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations_appScreenshotSets_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppInfos" ], + "operationId": "appInfos_primarySubcategoryTwo_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -90034,11 +91541,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponse" + "$ref": "#/components/schemas/AppInfoPrimarySubcategoryTwoLinkageResponse" } } } @@ -90068,55 +91575,25 @@ } ] }, - "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/appScreenshotSets": { + "/v1/appInfos/{id}/primarySubcategoryTwo": { "get": { "tags": [ - "AppStoreVersionExperimentTreatmentLocalizations" + "AppInfos" ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations_appScreenshotSets_getToManyRelated", + "operationId": "appInfos_primarySubcategoryTwo_getToOneRelated", "parameters": [ { - "name": "filter[screenshotDisplayType]", + "name": "fields[appCategories]", "in": "query", - "description": "filter by attribute 'screenshotDisplayType'", + "description": "the fields to include for returned resources of type appCategories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "APP_IPHONE_67", - "APP_IPHONE_61", - "APP_IPHONE_65", - "APP_IPHONE_58", - "APP_IPHONE_55", - "APP_IPHONE_47", - "APP_IPHONE_40", - "APP_IPHONE_35", - "APP_IPAD_PRO_3GEN_129", - "APP_IPAD_PRO_3GEN_11", - "APP_IPAD_PRO_129", - "APP_IPAD_105", - "APP_IPAD_97", - "APP_DESKTOP", - "APP_WATCH_ULTRA", - "APP_WATCH_SERIES_10", - "APP_WATCH_SERIES_7", - "APP_WATCH_SERIES_4", - "APP_WATCH_SERIES_3", - "APP_APPLE_TV", - "APP_APPLE_VISION_PRO", - "IMESSAGE_APP_IPHONE_67", - "IMESSAGE_APP_IPHONE_61", - "IMESSAGE_APP_IPHONE_65", - "IMESSAGE_APP_IPHONE_58", - "IMESSAGE_APP_IPHONE_55", - "IMESSAGE_APP_IPHONE_47", - "IMESSAGE_APP_IPHONE_40", - "IMESSAGE_APP_IPAD_PRO_3GEN_129", - "IMESSAGE_APP_IPAD_PRO_3GEN_11", - "IMESSAGE_APP_IPAD_PRO_129", - "IMESSAGE_APP_IPAD_105", - "IMESSAGE_APP_IPAD_97" + "platforms", + "subcategories", + "parent" ] } }, @@ -90124,151 +91601,217 @@ "explode": false }, { - "name": "filter[appStoreVersionLocalization]", + "name": "include", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "subcategories", + "parent" + ] } }, "style": "form", "explode": false }, { - "name": "filter[appCustomProductPageLocalization]", + "name": "limit[subcategories]", "in": "query", - "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "description": "maximum number of related subcategories returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer", + "maximum": 50 }, - "style": "form", - "explode": false + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "fields[appScreenshotSets]", - "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[appCustomProductPageLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" - ] + "200": { + "description": "Single AppCategory", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppCategoryResponse" + } } - }, - "style": "form", - "explode": false + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appInfos/{id}/relationships/secondaryCategory": { + "get": { + "tags": [ + "AppInfos" + ], + "operationId": "appInfos_secondaryCategory_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppInfoSecondaryCategoryLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appInfos/{id}/secondaryCategory": { + "get": { + "tags": [ + "AppInfos" + ], + "operationId": "appInfos_secondaryCategory_getToOneRelated", + "parameters": [ { - "name": "fields[appScreenshots]", + "name": "fields[appCategories]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "the fields to include for returned resources of type appCategories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "appScreenshotSet" + "platforms", + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -90278,10 +91821,8 @@ "items": { "type": "string", "enum": [ - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "subcategories", + "parent" ] } }, @@ -90289,9 +91830,9 @@ "explode": false }, { - "name": "limit[appScreenshots]", + "name": "limit[subcategories]", "in": "query", - "description": "maximum number of related appScreenshots returned (when they are included)", + "description": "maximum number of related subcategories returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -90341,11 +91882,11 @@ } }, "200": { - "description": "List of AppScreenshotSets", + "description": "Single AppCategory", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotSetsResponse" + "$ref": "#/components/schemas/AppCategoryResponse" } } } @@ -90375,24 +91916,13 @@ } ] }, - "/v1/appStoreVersionExperimentTreatments/{id}/relationships/appStoreVersionExperimentTreatmentLocalizations": { + "/v1/appInfos/{id}/relationships/secondarySubcategoryOne": { "get": { "tags": [ - "AppStoreVersionExperimentTreatments" - ], - "operationId": "appStoreVersionExperimentTreatments_appStoreVersionExperimentTreatmentLocalizations_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppInfos" ], + "operationId": "appInfos_secondarySubcategoryOne_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -90435,11 +91965,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/AppInfoSecondarySubcategoryOneLinkageResponse" } } } @@ -90469,117 +91999,31 @@ } ] }, - "/v1/appStoreVersionExperimentTreatments/{id}/appStoreVersionExperimentTreatmentLocalizations": { + "/v1/appInfos/{id}/secondarySubcategoryOne": { "get": { "tags": [ - "AppStoreVersionExperimentTreatments" + "AppInfos" ], - "operationId": "appStoreVersionExperimentTreatments_appStoreVersionExperimentTreatmentLocalizations_getToManyRelated", + "operationId": "appInfos_secondarySubcategoryOne_getToOneRelated", "parameters": [ { - "name": "filter[locale]", - "in": "query", - "description": "filter by attribute 'locale'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperimentTreatments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appScreenshotSets]", - "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appPreviewSets]", + "name": "fields[appCategories]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appCategories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "platforms", + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -90589,9 +92033,8 @@ "items": { "type": "string", "enum": [ - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" + "subcategories", + "parent" ] } }, @@ -90599,19 +92042,9 @@ "explode": false }, { - "name": "limit[appScreenshotSets]", - "in": "query", - "description": "maximum number of related appScreenshotSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appPreviewSets]", + "name": "limit[subcategories]", "in": "query", - "description": "maximum number of related appPreviewSets returned (when they are included)", + "description": "maximum number of related subcategories returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -90661,11 +92094,11 @@ } }, "200": { - "description": "List of AppStoreVersionExperimentTreatmentLocalizations", + "description": "Single AppCategory", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationsResponse" + "$ref": "#/components/schemas/AppCategoryResponse" } } } @@ -90695,24 +92128,13 @@ } ] }, - "/v2/appStoreVersionExperiments/{id}/relationships/appStoreVersionExperimentTreatments": { + "/v1/appInfos/{id}/relationships/secondarySubcategoryTwo": { "get": { "tags": [ - "AppStoreVersionExperiments" - ], - "operationId": "appStoreVersionExperimentsV2_appStoreVersionExperimentTreatments_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppInfos" ], + "operationId": "appInfos_secondarySubcategoryTwo_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -90755,11 +92177,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponse" + "$ref": "#/components/schemas/AppInfoSecondarySubcategoryTwoLinkageResponse" } } } @@ -90789,91 +92211,31 @@ } ] }, - "/v2/appStoreVersionExperiments/{id}/appStoreVersionExperimentTreatments": { + "/v1/appInfos/{id}/secondarySubcategoryTwo": { "get": { "tags": [ - "AppStoreVersionExperiments" + "AppInfos" ], - "operationId": "appStoreVersionExperimentsV2_appStoreVersionExperimentTreatments_getToManyRelated", + "operationId": "appInfos_secondarySubcategoryTwo_getToOneRelated", "parameters": [ { - "name": "fields[appStoreVersionExperimentTreatments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "platform", - "app", - "latestControlVersion", - "controlVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appCategories]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appCategories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" + "platforms", + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -90883,9 +92245,8 @@ "items": { "type": "string", "enum": [ - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" + "subcategories", + "parent" ] } }, @@ -90893,9 +92254,9 @@ "explode": false }, { - "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", + "name": "limit[subcategories]", "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", + "description": "maximum number of related subcategories returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -90945,11 +92306,11 @@ } }, "200": { - "description": "List of AppStoreVersionExperimentTreatments", + "description": "Single AppCategory", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentsResponse" + "$ref": "#/components/schemas/AppCategoryResponse" } } } @@ -90979,13 +92340,12 @@ } ] }, - "/v1/appStoreVersionExperiments/{id}/relationships/appStoreVersionExperimentTreatments": { + "/v1/appInfos/{id}/relationships/territoryAgeRatings": { "get": { "tags": [ - "AppStoreVersionExperiments" + "AppInfos" ], - "operationId": "appStoreVersionExperiments_appStoreVersionExperimentTreatments_getToManyRelationship", - "deprecated": true, + "operationId": "appInfos_territoryAgeRatings_getToManyRelationship", "parameters": [ { "name": "limit", @@ -91044,7 +92404,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponse" + "$ref": "#/components/schemas/AppInfoTerritoryAgeRatingsLinkagesResponse" } } } @@ -91074,57 +92434,24 @@ } ] }, - "/v1/appStoreVersionExperiments/{id}/appStoreVersionExperimentTreatments": { + "/v1/appInfos/{id}/territoryAgeRatings": { "get": { "tags": [ - "AppStoreVersionExperiments" + "AppInfos" ], - "operationId": "appStoreVersionExperiments_appStoreVersionExperimentTreatments_getToManyRelated", - "deprecated": true, + "operationId": "appInfos_territoryAgeRatings_getToManyRelated", "parameters": [ { - "name": "fields[appStoreVersionExperimentTreatments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[territoryAgeRatings]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type territoryAgeRatings", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "platform", - "app", - "latestControlVersion", - "controlVersions" + "appStoreAgeRating", + "territory" ] } }, @@ -91132,18 +92459,15 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" + "currency" ] } }, @@ -91169,24 +92493,12 @@ "items": { "type": "string", "enum": [ - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" + "territory" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -91231,11 +92543,11 @@ } }, "200": { - "description": "List of AppStoreVersionExperimentTreatments", + "description": "List of TerritoryAgeRatings", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentsResponse" + "$ref": "#/components/schemas/TerritoryAgeRatingsResponse" } } } @@ -91265,12 +92577,12 @@ } ] }, - "/v1/appStoreVersionLocalizations/{id}/relationships/appPreviewSets": { + "/v1/appPreviewSets/{id}/relationships/appPreviews": { "get": { "tags": [ - "AppStoreVersionLocalizations" + "AppPreviewSets" ], - "operationId": "appStoreVersionLocalizations_appPreviewSets_getToManyRelationship", + "operationId": "appPreviewSets_appPreviews_getToManyRelationship", "parameters": [ { "name": "limit", @@ -91329,11 +92641,103 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationAppPreviewSetsLinkagesResponse" + "$ref": "#/components/schemas/AppPreviewSetAppPreviewsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "AppPreviewSets" + ], + "operationId": "appPreviewSets_appPreviews_replaceToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppPreviewSetAppPreviewsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -91359,70 +92763,40 @@ } ] }, - "/v1/appStoreVersionLocalizations/{id}/appPreviewSets": { + "/v1/appPreviewSets/{id}/appPreviews": { "get": { "tags": [ - "AppStoreVersionLocalizations" + "AppPreviewSets" ], - "operationId": "appStoreVersionLocalizations_appPreviewSets_getToManyRelated", + "operationId": "appPreviewSets_appPreviews_getToManyRelated", "parameters": [ { - "name": "filter[previewType]", + "name": "fields[appPreviews]", "in": "query", - "description": "filter by attribute 'previewType'", + "description": "the fields to include for returned resources of type appPreviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IPHONE_67", - "IPHONE_61", - "IPHONE_65", - "IPHONE_58", - "IPHONE_55", - "IPHONE_47", - "IPHONE_40", - "IPHONE_35", - "IPAD_PRO_3GEN_129", - "IPAD_PRO_3GEN_11", - "IPAD_PRO_129", - "IPAD_105", - "IPAD_97", - "DESKTOP", - "APPLE_TV", - "APPLE_VISION_PRO" + "fileSize", + "fileName", + "sourceFileChecksum", + "previewFrameTimeCode", + "mimeType", + "videoUrl", + "previewFrameImage", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "videoDeliveryState", + "appPreviewSet" ] } }, "style": "form", "explode": false }, - { - "name": "filter[appCustomProductPageLocalization]", - "in": "query", - "description": "filter by id(s) of related 'appCustomProductPageLocalization'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[appStoreVersionExperimentTreatmentLocalization]", - "in": "query", - "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, { "name": "fields[appPreviewSets]", "in": "query", @@ -91443,99 +92817,6 @@ "style": "form", "explode": false }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPageLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appPreviews]", - "in": "query", - "description": "the fields to include for returned resources of type appPreviews", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "previewFrameTimeCode", - "mimeType", - "videoUrl", - "previewFrameImage", - "previewImage", - "uploadOperations", - "assetDeliveryState", - "videoDeliveryState", - "appPreviewSet" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -91555,25 +92836,12 @@ "items": { "type": "string", "enum": [ - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "appPreviewSet" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appPreviews]", - "in": "query", - "description": "maximum number of related appPreviews returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -91618,11 +92886,11 @@ } }, "200": { - "description": "List of AppPreviewSets", + "description": "List of AppPreviews", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreviewSetsResponse" + "$ref": "#/components/schemas/AppPreviewsResponse" } } } @@ -91652,12 +92920,12 @@ } ] }, - "/v1/appStoreVersionLocalizations/{id}/relationships/appScreenshotSets": { + "/v3/appPricePoints/{id}/relationships/equalizations": { "get": { "tags": [ - "AppStoreVersionLocalizations" + "AppPricePoints" ], - "operationId": "appStoreVersionLocalizations_appScreenshotSets_getToManyRelationship", + "operationId": "appPricePointsV3_equalizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -91716,7 +92984,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponse" + "$ref": "#/components/schemas/AppPricePointV3EqualizationsLinkagesResponse" } } } @@ -91746,65 +93014,17 @@ } ] }, - "/v1/appStoreVersionLocalizations/{id}/appScreenshotSets": { + "/v3/appPricePoints/{id}/equalizations": { "get": { "tags": [ - "AppStoreVersionLocalizations" + "AppPricePoints" ], - "operationId": "appStoreVersionLocalizations_appScreenshotSets_getToManyRelated", + "operationId": "appPricePointsV3_equalizations_getToManyRelated", "parameters": [ { - "name": "filter[screenshotDisplayType]", - "in": "query", - "description": "filter by attribute 'screenshotDisplayType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "APP_IPHONE_67", - "APP_IPHONE_61", - "APP_IPHONE_65", - "APP_IPHONE_58", - "APP_IPHONE_55", - "APP_IPHONE_47", - "APP_IPHONE_40", - "APP_IPHONE_35", - "APP_IPAD_PRO_3GEN_129", - "APP_IPAD_PRO_3GEN_11", - "APP_IPAD_PRO_129", - "APP_IPAD_105", - "APP_IPAD_97", - "APP_DESKTOP", - "APP_WATCH_ULTRA", - "APP_WATCH_SERIES_10", - "APP_WATCH_SERIES_7", - "APP_WATCH_SERIES_4", - "APP_WATCH_SERIES_3", - "APP_APPLE_TV", - "APP_APPLE_VISION_PRO", - "IMESSAGE_APP_IPHONE_67", - "IMESSAGE_APP_IPHONE_61", - "IMESSAGE_APP_IPHONE_65", - "IMESSAGE_APP_IPHONE_58", - "IMESSAGE_APP_IPHONE_55", - "IMESSAGE_APP_IPHONE_47", - "IMESSAGE_APP_IPHONE_40", - "IMESSAGE_APP_IPAD_PRO_3GEN_129", - "IMESSAGE_APP_IPAD_PRO_3GEN_11", - "IMESSAGE_APP_IPAD_PRO_129", - "IMESSAGE_APP_IPAD_105", - "IMESSAGE_APP_IPAD_97" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[appCustomProductPageLocalization]", + "name": "filter[territory]", "in": "query", - "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { @@ -91815,98 +93035,91 @@ "explode": false }, { - "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "name": "fields[appPricePoints]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "description": "the fields to include for returned resources of type appPricePoints", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "app", + "equalizations", + "territory" + ] } }, "style": "form", "explode": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "screenshotDisplayType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPageLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "promotionalText", - "appCustomProductPageVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "appStoreVersionExperimentTreatment", - "appScreenshotSets", - "appPreviewSets" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -91914,23 +93127,15 @@ "explode": false }, { - "name": "fields[appScreenshots]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "appScreenshotSet" + "currency" ] } }, @@ -91956,25 +93161,13 @@ "items": { "type": "string", "enum": [ - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "app", + "territory" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appScreenshots]", - "in": "query", - "description": "maximum number of related appScreenshots returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -92019,11 +93212,16 @@ } }, "200": { - "description": "List of AppScreenshotSets", + "description": "List of AppPricePoints", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppScreenshotSetsResponse" + "$ref": "#/components/schemas/AppPricePointsV3Response" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -92053,12 +93251,12 @@ } ] }, - "/v1/appStoreVersionLocalizations/{id}/relationships/searchKeywords": { + "/v1/appPriceSchedules/{id}/relationships/automaticPrices": { "get": { "tags": [ - "AppStoreVersionLocalizations" + "AppPriceSchedules" ], - "operationId": "appStoreVersionLocalizations_searchKeywords_getToManyRelationship", + "operationId": "appPriceSchedules_automaticPrices_getToManyRelationship", "parameters": [ { "name": "limit", @@ -92117,7 +93315,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationSearchKeywordsLinkagesResponse" + "$ref": "#/components/schemas/AppPriceScheduleAutomaticPricesLinkagesResponse" } } } @@ -92134,22 +93332,149 @@ } } }, - "post": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appPriceSchedules/{id}/automaticPrices": { + "get": { "tags": [ - "AppStoreVersionLocalizations" + "AppPriceSchedules" ], - "operationId": "appStoreVersionLocalizations_searchKeywords_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationSearchKeywordsLinkagesRequest" + "operationId": "appPriceSchedules_automaticPrices_getToManyRelated", + "parameters": [ + { + "name": "filter[startDate]", + "in": "query", + "description": "filter by attribute 'startDate'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "filter[endDate]", + "in": "query", + "description": "filter by attribute 'endDate'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appPrices]", + "in": "query", + "description": "the fields to include for returned resources of type appPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "manual", + "startDate", + "endDate", + "appPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type appPricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "app", + "equalizations", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -92191,29 +93516,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of AppPrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppPricesV2Response" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -92226,22 +93538,26 @@ } } }, - "delete": { - "tags": [ - "AppStoreVersionLocalizations" - ], - "operationId": "appStoreVersionLocalizations_searchKeywords_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationSearchKeywordsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/appPriceSchedules/{id}/relationships/baseTerritory": { + "get": { + "tags": [ + "AppPriceSchedules" + ], + "operationId": "appPriceSchedules_baseTerritory_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -92283,29 +93599,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppPriceScheduleBaseTerritoryLinkageResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -92331,62 +93634,28 @@ } ] }, - "/v1/appStoreVersionLocalizations/{id}/searchKeywords": { + "/v1/appPriceSchedules/{id}/baseTerritory": { "get": { "tags": [ - "AppStoreVersionLocalizations" + "AppPriceSchedules" ], - "operationId": "appStoreVersionLocalizations_searchKeywords_getToManyRelated", + "operationId": "appPriceSchedules_baseTerritory_getToOneRelated", "parameters": [ { - "name": "filter[platform]", - "in": "query", - "description": "filter by platform", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[locale]", - "in": "query", - "description": "filter by locale", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appKeywords]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type appKeywords", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", - "enum": [] + "enum": [ + "currency" + ] } }, "style": "form", "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" } ], "responses": { @@ -92431,11 +93700,11 @@ } }, "200": { - "description": "List of AppKeywords", + "description": "Single Territory", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppKeywordsResponse" + "$ref": "#/components/schemas/TerritoryResponse" } } } @@ -92465,13 +93734,24 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/alternativeDistributionPackage": { + "/v1/appPriceSchedules/{id}/relationships/manualPrices": { "get": { "tags": [ - "AppStoreVersions" + "AppPriceSchedules" + ], + "operationId": "appPriceSchedules_manualPrices_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appStoreVersions_alternativeDistributionPackage_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -92514,11 +93794,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionAlternativeDistributionPackageLinkageResponse" + "$ref": "#/components/schemas/AppPriceScheduleManualPricesLinkagesResponse" } } } @@ -92548,24 +93828,66 @@ } ] }, - "/v1/appStoreVersions/{id}/alternativeDistributionPackage": { + "/v1/appPriceSchedules/{id}/manualPrices": { "get": { "tags": [ - "AppStoreVersions" + "AppPriceSchedules" ], - "operationId": "appStoreVersions_alternativeDistributionPackage_getToOneRelated", + "operationId": "appPriceSchedules_manualPrices_getToManyRelated", "parameters": [ { - "name": "fields[alternativeDistributionPackages]", + "name": "filter[startDate]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "description": "filter by attribute 'startDate'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[endDate]", + "in": "query", + "description": "filter by attribute 'endDate'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appPrices]", + "in": "query", + "description": "the fields to include for returned resources of type appPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "sourceFileChecksum", - "versions" + "manual", + "startDate", + "endDate", + "appPricePoint", + "territory" ] } }, @@ -92573,22 +93895,19 @@ "explode": false }, { - "name": "fields[alternativeDistributionPackageVersions]", + "name": "fields[appPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", + "description": "the fields to include for returned resources of type appPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "url", - "urlExpirationDate", - "version", - "fileChecksum", - "state", - "variants", - "deltas", - "alternativeDistributionPackage" + "customerPrice", + "proceeds", + "app", + "equalizations", + "territory" ] } }, @@ -92596,15 +93915,15 @@ "explode": false }, { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "versions" + "currency" ] } }, @@ -92612,14 +93931,31 @@ "explode": false }, { - "name": "limit[versions]", + "name": "limit", "in": "query", - "description": "maximum number of related versions returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -92664,11 +94000,11 @@ } }, "200": { - "description": "Single AlternativeDistributionPackage", + "description": "List of AppPrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageResponse" + "$ref": "#/components/schemas/AppPricesV2Response" } } } @@ -92698,13 +94034,24 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/appClipDefaultExperience": { + "/v1/appScreenshotSets/{id}/relationships/appScreenshots": { "get": { "tags": [ - "AppStoreVersions" + "AppScreenshotSets" + ], + "operationId": "appScreenshotSets_appScreenshots_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appStoreVersions_appClipDefaultExperience_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -92747,11 +94094,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionAppClipDefaultExperienceLinkageResponse" + "$ref": "#/components/schemas/AppScreenshotSetAppScreenshotsLinkagesResponse" } } } @@ -92770,15 +94117,15 @@ }, "patch": { "tags": [ - "AppStoreVersions" + "AppScreenshotSets" ], - "operationId": "appStoreVersions_appClipDefaultExperience_updateToOneRelationship", + "operationId": "appScreenshotSets_appScreenshots_replaceToManyRelationship", "requestBody": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionAppClipDefaultExperienceLinkageRequest" + "$ref": "#/components/schemas/AppScreenshotSetAppScreenshotsLinkagesRequest" } } }, @@ -92873,85 +94220,31 @@ } ] }, - "/v1/appStoreVersions/{id}/appClipDefaultExperience": { + "/v1/appScreenshotSets/{id}/appScreenshots": { "get": { "tags": [ - "AppStoreVersions" + "AppScreenshotSets" ], - "operationId": "appStoreVersions_appClipDefaultExperience_getToOneRelated", + "operationId": "appScreenshotSets_appScreenshots_getToManyRelated", "parameters": [ { - "name": "fields[appClipDefaultExperiences]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appClips]", - "in": "query", - "description": "the fields to include for returned resources of type appClips", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "bundleId", - "app", - "appClipDefaultExperiences", - "appClipAdvancedExperiences" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersions]", + "name": "fields[appScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "appScreenshotSet" ] } }, @@ -92959,18 +94252,19 @@ "explode": false }, { - "name": "fields[appClipDefaultExperienceLocalizations]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "subtitle", - "appClipDefaultExperience", - "appClipHeaderImage" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -92978,21 +94272,14 @@ "explode": false }, { - "name": "fields[appClipAppStoreReviewDetails]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "invocationUrls", - "appClipDefaultExperience" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { "name": "include", @@ -93003,25 +94290,12 @@ "items": { "type": "string", "enum": [ - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" + "appScreenshotSet" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appClipDefaultExperienceLocalizations]", - "in": "query", - "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -93066,11 +94340,11 @@ } }, "200": { - "description": "Single AppClipDefaultExperience", + "description": "List of AppScreenshots", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDefaultExperienceResponse" + "$ref": "#/components/schemas/AppScreenshotsResponse" } } } @@ -93100,13 +94374,24 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/appStoreReviewDetail": { + "/v1/appStoreReviewDetails/{id}/relationships/appStoreReviewAttachments": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreReviewDetails" + ], + "operationId": "appStoreReviewDetails_appStoreReviewAttachments_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appStoreVersions_appStoreReviewDetail_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -93149,11 +94434,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionAppStoreReviewDetailLinkageResponse" + "$ref": "#/components/schemas/AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponse" } } } @@ -93183,32 +94468,28 @@ } ] }, - "/v1/appStoreVersions/{id}/appStoreReviewDetail": { + "/v1/appStoreReviewDetails/{id}/appStoreReviewAttachments": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreReviewDetails" ], - "operationId": "appStoreVersions_appStoreReviewDetail_getToOneRelated", + "operationId": "appStoreReviewDetails_appStoreReviewAttachments_getToManyRelated", "parameters": [ { - "name": "fields[appStoreReviewDetails]", + "name": "fields[appStoreReviewAttachments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", + "description": "the fields to include for returned resources of type appStoreReviewAttachments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "appStoreVersion", - "appStoreReviewAttachments" + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "appStoreReviewDetail" ] } }, @@ -93216,38 +94497,24 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[appStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -93255,25 +94522,14 @@ "explode": false }, { - "name": "fields[appStoreReviewAttachments]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewAttachments", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreReviewDetail" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { "name": "include", @@ -93284,23 +94540,12 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "appStoreReviewAttachments" + "appStoreReviewDetail" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appStoreReviewAttachments]", - "in": "query", - "description": "maximum number of related appStoreReviewAttachments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -93345,11 +94590,11 @@ } }, "200": { - "description": "Single AppStoreReviewDetail", + "description": "List of AppStoreReviewAttachments", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreReviewDetailResponse" + "$ref": "#/components/schemas/AppStoreReviewAttachmentsResponse" } } } @@ -93379,13 +94624,12 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/appStoreVersionExperiments": { + "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/appPreviewSets": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersions_appStoreVersionExperiments_getToManyRelationship", - "deprecated": true, + "operationId": "appStoreVersionExperimentTreatmentLocalizations_appPreviewSets_getToManyRelationship", "parameters": [ { "name": "limit", @@ -93444,7 +94688,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionExperimentsLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponse" } } } @@ -93474,32 +94718,38 @@ } ] }, - "/v1/appStoreVersions/{id}/appStoreVersionExperiments": { + "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/appPreviewSets": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersions_appStoreVersionExperiments_getToManyRelated", - "deprecated": true, + "operationId": "appStoreVersionExperimentTreatmentLocalizations_appPreviewSets_getToManyRelated", "parameters": [ { - "name": "filter[state]", + "name": "filter[previewType]", "in": "query", - "description": "filter by attribute 'state'", + "description": "filter by attribute 'previewType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PREPARE_FOR_SUBMISSION", - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "ACCEPTED", - "APPROVED", - "REJECTED", - "COMPLETED", - "STOPPED" + "IPHONE_67", + "IPHONE_61", + "IPHONE_65", + "IPHONE_58", + "IPHONE_55", + "IPHONE_47", + "IPHONE_40", + "IPHONE_35", + "IPAD_PRO_3GEN_129", + "IPAD_PRO_3GEN_11", + "IPAD_PRO_129", + "IPAD_105", + "IPAD_97", + "DESKTOP", + "APPLE_TV", + "APPLE_VISION_PRO" ] } }, @@ -93507,61 +94757,45 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "filter[appStoreVersionLocalization]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "filter[appCustomProductPageLocalization]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appPreviewSets]", + "in": "query", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -93569,21 +94803,26 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -93591,26 +94830,41 @@ "explode": false }, { - "name": "limit", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "include", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "appStoreVersionExperimentTreatments" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" ] } }, @@ -93618,9 +94872,65 @@ "explode": false }, { - "name": "limit[appStoreVersionExperimentTreatments]", + "name": "fields[appPreviews]", "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", + "description": "the fields to include for returned resources of type appPreviews", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "previewFrameTimeCode", + "mimeType", + "videoUrl", + "previewFrameImage", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "videoDeliveryState", + "appPreviewSet" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[appPreviews]", + "in": "query", + "description": "maximum number of related appPreviews returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -93670,11 +94980,11 @@ } }, "200": { - "description": "List of AppStoreVersionExperiments", + "description": "List of AppPreviewSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentsResponse" + "$ref": "#/components/schemas/AppPreviewSetsResponse" } } } @@ -93704,12 +95014,12 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/appStoreVersionExperimentsV2": { + "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/appScreenshotSets": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersions_appStoreVersionExperimentsV2_getToManyRelationship", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_appScreenshotSets_getToManyRelationship", "parameters": [ { "name": "limit", @@ -93768,7 +95078,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionExperimentsV2LinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponse" } } } @@ -93798,31 +95108,55 @@ } ] }, - "/v1/appStoreVersions/{id}/appStoreVersionExperimentsV2": { + "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/appScreenshotSets": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersions_appStoreVersionExperimentsV2_getToManyRelated", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_appScreenshotSets_getToManyRelated", "parameters": [ { - "name": "filter[state]", + "name": "filter[screenshotDisplayType]", "in": "query", - "description": "filter by attribute 'state'", + "description": "filter by attribute 'screenshotDisplayType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PREPARE_FOR_SUBMISSION", - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "ACCEPTED", - "APPROVED", - "REJECTED", - "COMPLETED", - "STOPPED" + "APP_IPHONE_67", + "APP_IPHONE_61", + "APP_IPHONE_65", + "APP_IPHONE_58", + "APP_IPHONE_55", + "APP_IPHONE_47", + "APP_IPHONE_40", + "APP_IPHONE_35", + "APP_IPAD_PRO_3GEN_129", + "APP_IPAD_PRO_3GEN_11", + "APP_IPAD_PRO_129", + "APP_IPAD_105", + "APP_IPAD_97", + "APP_DESKTOP", + "APP_WATCH_ULTRA", + "APP_WATCH_SERIES_10", + "APP_WATCH_SERIES_7", + "APP_WATCH_SERIES_4", + "APP_WATCH_SERIES_3", + "APP_APPLE_TV", + "APP_APPLE_VISION_PRO", + "IMESSAGE_APP_IPHONE_67", + "IMESSAGE_APP_IPHONE_61", + "IMESSAGE_APP_IPHONE_65", + "IMESSAGE_APP_IPHONE_58", + "IMESSAGE_APP_IPHONE_55", + "IMESSAGE_APP_IPHONE_47", + "IMESSAGE_APP_IPHONE_40", + "IMESSAGE_APP_IPAD_PRO_3GEN_129", + "IMESSAGE_APP_IPAD_PRO_3GEN_11", + "IMESSAGE_APP_IPAD_PRO_129", + "IMESSAGE_APP_IPAD_105", + "IMESSAGE_APP_IPAD_97" ] } }, @@ -93830,25 +95164,45 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "filter[appStoreVersionLocalization]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appCustomProductPageLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appScreenshotSets]", + "in": "query", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "platform", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "app", - "latestControlVersion", - "controlVersions", - "appStoreVersionExperimentTreatments" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -93856,70 +95210,26 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "placements" ] } }, @@ -93927,38 +95237,21 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -93966,21 +95259,43 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type appScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "appScreenshotSet" ] } }, @@ -94006,10 +95321,10 @@ "items": { "type": "string", "enum": [ - "app", - "latestControlVersion", - "controlVersions", - "appStoreVersionExperimentTreatments" + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -94017,19 +95332,9 @@ "explode": false }, { - "name": "limit[controlVersions]", - "in": "query", - "description": "maximum number of related controlVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appStoreVersionExperimentTreatments]", + "name": "limit[appScreenshots]", "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", + "description": "maximum number of related appScreenshots returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -94079,11 +95384,11 @@ } }, "200": { - "description": "List of AppStoreVersionExperiments", + "description": "List of AppScreenshotSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentsV2Response" + "$ref": "#/components/schemas/AppScreenshotSetsResponse" } } } @@ -94113,12 +95418,12 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/appStoreVersionLocalizations": { + "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships/placements": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersions_appStoreVersionLocalizations_getToManyRelationship", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_placements_getToManyRelationship", "parameters": [ { "name": "limit", @@ -94177,7 +95482,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse" } } } @@ -94207,17 +95512,42 @@ } ] }, - "/v1/appStoreVersions/{id}/appStoreVersionLocalizations": { + "/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/placements": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersions_appStoreVersionLocalizations_getToManyRelated", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_placements_getToManyRelated", "parameters": [ { - "name": "filter[locale]", + "name": "filter[placementType]", "in": "query", - "description": "filter by attribute 'locale'", + "description": "filter by attribute 'placementType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "APP_SCREENSHOT", + "IMESSAGE_APP_SCREENSHOT", + "APP_PREVIEW", + "PRODUCT_PAGE_HEADER_ASSET", + "APP_STORE_SEARCH_RESULTS_ASSET", + "SEARCH_RESULTS_ADS_ASSET", + "TODAY_TAB_ADS_ASSET", + "EVENT_CARD_ASSET", + "EVENT_DETAILS_PAGE_ASSET", + "RETENTION_MESSAGE_ASSET" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[placementGroup]", + "in": "query", + "description": "filter by attribute 'placementGroup'", "schema": { "type": "array", "items": { @@ -94228,25 +95558,21 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" + "ASSET_PROCESSING", + "FAILED", + "PARENT_PREPARE_FOR_SUBMISSION", + "PARENT_READY_FOR_REVIEW", + "PARENT_WAITING_FOR_REVIEW", + "PARENT_IN_REVIEW", + "PARENT_APPROVED" ] } }, @@ -94254,38 +95580,98 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "filter[image]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "filter by id(s) of related 'image'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[video]", + "in": "query", + "description": "filter by id(s) of related 'video'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appEventLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appEventLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appCustomProductPageLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "-createdDate", + "lastModifiedDate", + "-lastModifiedDate", + "placementGroupPosition", + "-placementGroupPosition" ] } }, @@ -94293,19 +95679,27 @@ "explode": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[appAssetLibraryPlacements]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "screenshotDisplayType", + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appScreenshots" + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -94313,19 +95707,26 @@ "explode": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appAssetLibraryImages]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appAssetLibraryImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "previewType", - "appStoreVersionLocalization", - "appCustomProductPageLocalization", - "appStoreVersionExperimentTreatmentLocalization", - "appPreviews" + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" ] } }, @@ -94333,42 +95734,78 @@ "explode": false }, { - "name": "fields[appKeywords]", + "name": "fields[appAssetLibraryVideos]", "in": "query", - "description": "the fields to include for returned resources of type appKeywords", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", "schema": { "type": "array", "items": { "type": "string", - "enum": [] + "enum": [ + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "videoAsset", + "placements" + ] } }, "style": "form", "explode": false }, { - "name": "limit", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "include", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", "appStoreVersion", "appScreenshotSets", "appPreviewSets", - "searchKeywords" + "searchKeywords", + "placements" ] } }, @@ -94376,34 +95813,77 @@ "explode": false }, { - "name": "limit[appScreenshotSets]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "maximum number of related appScreenshotSets returned (when they are included)", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[appPreviewSets]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "maximum number of related appPreviewSets returned (when they are included)", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[searchKeywords]", + "name": "limit", "in": "query", - "description": "maximum number of related searchKeywords returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -94448,11 +95928,11 @@ } }, "200": { - "description": "List of AppStoreVersionLocalizations", + "description": "List of AppAssetLibraryPlacements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionLocalizationsResponse" + "$ref": "#/components/schemas/AppAssetLibraryPlacementsResponse" } } } @@ -94482,13 +95962,24 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/appStoreVersionPhasedRelease": { + "/v1/appStoreVersionExperimentTreatments/{id}/relationships/appStoreVersionExperimentTreatmentLocalizations": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperimentTreatments" + ], + "operationId": "appStoreVersionExperimentTreatments_appStoreVersionExperimentTreatmentLocalizations_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appStoreVersions_appStoreVersionPhasedRelease_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -94531,11 +96022,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionPhasedReleaseLinkageResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponse" } } } @@ -94565,31 +96056,194 @@ } ] }, - "/v1/appStoreVersions/{id}/appStoreVersionPhasedRelease": { + "/v1/appStoreVersionExperimentTreatments/{id}/appStoreVersionExperimentTreatmentLocalizations": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperimentTreatments" ], - "operationId": "appStoreVersions_appStoreVersionPhasedRelease_getToOneRelated", + "operationId": "appStoreVersionExperimentTreatments_appStoreVersionExperimentTreatmentLocalizations_getToManyRelated", "parameters": [ { - "name": "fields[appStoreVersionPhasedReleases]", + "name": "filter[locale]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "description": "filter by attribute 'locale'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "phasedReleaseState", - "startDate", - "totalPauseDuration", - "currentDayNumber" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperimentTreatments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appScreenshotSets]", + "in": "query", + "description": "the fields to include for returned resources of type appScreenshotSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appPreviewSets]", + "in": "query", + "description": "the fields to include for returned resources of type appPreviewSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryPlacements]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appScreenshotSets]", + "in": "query", + "description": "maximum number of related appScreenshotSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appPreviewSets]", + "in": "query", + "description": "maximum number of related appPreviewSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[placements]", + "in": "query", + "description": "maximum number of related placements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -94634,11 +96288,11 @@ } }, "200": { - "description": "Single AppStoreVersionPhasedRelease with get", + "description": "List of AppStoreVersionExperimentTreatmentLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseWithoutIncludesResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalizationsResponse" } } } @@ -94668,14 +96322,24 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/appStoreVersionSubmission": { + "/v2/appStoreVersionExperiments/{id}/relationships/appStoreVersionExperimentTreatments": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperiments" + ], + "operationId": "appStoreVersionExperimentsV2_appStoreVersionExperimentTreatments_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appStoreVersions_appStoreVersionSubmission_getToOneRelationship", - "deprecated": true, - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -94718,11 +96382,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionSubmissionLinkageResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponse" } } } @@ -94752,24 +96416,29 @@ } ] }, - "/v1/appStoreVersions/{id}/appStoreVersionSubmission": { + "/v2/appStoreVersionExperiments/{id}/appStoreVersionExperimentTreatments": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperiments" ], - "operationId": "appStoreVersions_appStoreVersionSubmission_getToOneRelated", - "deprecated": true, + "operationId": "appStoreVersionExperimentsV2_appStoreVersionExperimentTreatments_getToManyRelated", "parameters": [ { - "name": "fields[appStoreVersionSubmissions]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion" + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -94777,44 +96446,62 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments", "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "latestControlVersion", + "controlVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -94824,12 +96511,24 @@ "items": { "type": "string", "enum": [ - "appStoreVersion" + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -94874,11 +96573,11 @@ } }, "200": { - "description": "Single AppStoreVersionSubmission", + "description": "List of AppStoreVersionExperimentTreatments", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionSubmissionResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentsResponse" } } } @@ -94908,13 +96607,25 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/build": { + "/v1/appStoreVersionExperiments/{id}/relationships/appStoreVersionExperimentTreatments": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperiments" + ], + "operationId": "appStoreVersionExperiments_appStoreVersionExperimentTreatments_getToManyRelationship", + "deprecated": true, + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appStoreVersions_build_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -94957,11 +96668,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionBuildLinkageResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponse" } } } @@ -94978,158 +96689,133 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appStoreVersionExperiments/{id}/appStoreVersionExperimentTreatments": { + "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionExperiments" ], - "operationId": "appStoreVersions_build_updateToOneRelationship", - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreVersionBuildLinkageRequest" + "operationId": "appStoreVersionExperiments_appStoreVersionExperimentTreatments_getToManyRelated", + "deprecated": true, + "parameters": [ + { + "name": "fields[appStoreVersionExperimentTreatments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" + ] } - } + }, + "style": "form", + "explode": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] } - } - }, - "204": { - "description": "Success (no content)" + }, + "style": "form", + "explode": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appStoreVersions/{id}/build": { - "get": { - "tags": [ - "AppStoreVersions" - ], - "operationId": "appStoreVersions_build_getToOneRelated", - "parameters": [ { - "name": "fields[builds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -95174,11 +96860,11 @@ } }, "200": { - "description": "Single Build with get", + "description": "List of AppStoreVersionExperimentTreatments", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildWithoutIncludesResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentsResponse" } } } @@ -95208,12 +96894,12 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/customerReviews": { + "/v1/appStoreVersionLocalizations/{id}/relationships/appPreviewSets": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionLocalizations" ], - "operationId": "appStoreVersions_customerReviews_getToManyRelationship", + "operationId": "appStoreVersionLocalizations_appPreviewSets_getToManyRelationship", "parameters": [ { "name": "limit", @@ -95272,7 +96958,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionCustomerReviewsLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionLocalizationAppPreviewSetsLinkagesResponse" } } } @@ -95302,255 +96988,38 @@ } ] }, - "/v1/appStoreVersions/{id}/customerReviews": { + "/v1/appStoreVersionLocalizations/{id}/appPreviewSets": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionLocalizations" ], - "operationId": "appStoreVersions_customerReviews_getToManyRelated", + "operationId": "appStoreVersionLocalizations_appPreviewSets_getToManyRelated", "parameters": [ { - "name": "filter[territory]", + "name": "filter[previewType]", "in": "query", - "description": "filter by attribute 'territory'", + "description": "filter by attribute 'previewType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ABW", - "AFG", - "AGO", - "AIA", - "ALB", - "AND", - "ANT", - "ARE", - "ARG", - "ARM", - "ASM", - "ATG", - "AUS", - "AUT", - "AZE", - "BDI", - "BEL", - "BEN", - "BES", - "BFA", - "BGD", - "BGR", - "BHR", - "BHS", - "BIH", - "BLR", - "BLZ", - "BMU", - "BOL", - "BRA", - "BRB", - "BRN", - "BTN", - "BWA", - "CAF", - "CAN", - "CHE", - "CHL", - "CHN", - "CIV", - "CMR", - "COD", - "COG", - "COK", - "COL", - "COM", - "CPV", - "CRI", - "CUB", - "CUW", - "CXR", - "CYM", - "CYP", - "CZE", - "DEU", - "DJI", - "DMA", - "DNK", - "DOM", - "DZA", - "ECU", - "EGY", - "ERI", - "ESP", - "EST", - "ETH", - "FIN", - "FJI", - "FLK", - "FRA", - "FRO", - "FSM", - "GAB", - "GBR", - "GEO", - "GGY", - "GHA", - "GIB", - "GIN", - "GLP", - "GMB", - "GNB", - "GNQ", - "GRC", - "GRD", - "GRL", - "GTM", - "GUF", - "GUM", - "GUY", - "HKG", - "HND", - "HRV", - "HTI", - "HUN", - "IDN", - "IMN", - "IND", - "IRL", - "IRQ", - "ISL", - "ISR", - "ITA", - "JAM", - "JEY", - "JOR", - "JPN", - "KAZ", - "KEN", - "KGZ", - "KHM", - "KIR", - "KNA", - "KOR", - "KWT", - "LAO", - "LBN", - "LBR", - "LBY", - "LCA", - "LIE", - "LKA", - "LSO", - "LTU", - "LUX", - "LVA", - "MAC", - "MAR", - "MCO", - "MDA", - "MDG", - "MDV", - "MEX", - "MHL", - "MKD", - "MLI", - "MLT", - "MMR", - "MNE", - "MNG", - "MNP", - "MOZ", - "MRT", - "MSR", - "MTQ", - "MUS", - "MWI", - "MYS", - "MYT", - "NAM", - "NCL", - "NER", - "NFK", - "NGA", - "NIC", - "NIU", - "NLD", - "NOR", - "NPL", - "NRU", - "NZL", - "OMN", - "PAK", - "PAN", - "PER", - "PHL", - "PLW", - "PNG", - "POL", - "PRI", - "PRT", - "PRY", - "PSE", - "PYF", - "QAT", - "REU", - "ROU", - "RUS", - "RWA", - "SAU", - "SEN", - "SGP", - "SHN", - "SLB", - "SLE", - "SLV", - "SMR", - "SOM", - "SPM", - "SRB", - "SSD", - "STP", - "SUR", - "SVK", - "SVN", - "SWE", - "SWZ", - "SXM", - "SYC", - "TCA", - "TCD", - "TGO", - "THA", - "TJK", - "TKM", - "TLS", - "TON", - "TTO", - "TUN", - "TUR", - "TUV", - "TWN", - "TZA", - "UGA", - "UKR", - "UMI", - "URY", - "USA", - "UZB", - "VAT", - "VCT", - "VEN", - "VGB", - "VIR", - "VNM", - "VUT", - "WLF", - "WSM", - "XKS", - "YEM", - "ZAF", - "ZMB", - "ZWE" + "IPHONE_67", + "IPHONE_61", + "IPHONE_65", + "IPHONE_58", + "IPHONE_55", + "IPHONE_47", + "IPHONE_40", + "IPHONE_35", + "IPAD_PRO_3GEN_129", + "IPAD_PRO_3GEN_11", + "IPAD_PRO_129", + "IPAD_105", + "IPAD_97", + "DESKTOP", + "APPLE_TV", + "APPLE_VISION_PRO" ] } }, @@ -95558,9 +97027,9 @@ "explode": false }, { - "name": "filter[rating]", + "name": "filter[appCustomProductPageLocalization]", "in": "query", - "description": "filter by attribute 'rating'", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", "schema": { "type": "array", "items": { @@ -95571,9 +97040,9 @@ "explode": false }, { - "name": "filter[reviewTerritory]", + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", "in": "query", - "description": "filter by id(s) of related 'reviewTerritory'", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", "schema": { "type": "array", "items": { @@ -95584,28 +97053,46 @@ "explode": false }, { - "name": "exists[publishedResponse]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "filter by publishedResponse", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { - "type": "boolean" + "type": "array", + "items": { + "type": "string", + "enum": [ + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" + ] + } }, "style": "form", "explode": false }, { - "name": "sort", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "rating", - "-rating", - "createdDate", - "-createdDate" + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -95613,22 +97100,21 @@ "explode": false }, { - "name": "fields[customerReviews]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type customerReviews", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "rating", - "title", - "body", - "reviewerNickname", - "createdDate", - "territory", - "response", - "reviewTerritory" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -95636,18 +97122,19 @@ "explode": false }, { - "name": "fields[customerReviewResponses]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type customerReviewResponses", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "responseBody", - "lastModifiedDate", - "state", - "review" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" ] } }, @@ -95655,15 +97142,26 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[appPreviews]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type appPreviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "fileSize", + "fileName", + "sourceFileChecksum", + "previewFrameTimeCode", + "mimeType", + "videoUrl", + "previewFrameImage", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "videoDeliveryState", + "appPreviewSet" ] } }, @@ -95689,13 +97187,25 @@ "items": { "type": "string", "enum": [ - "response", - "reviewTerritory" + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appPreviews]", + "in": "query", + "description": "maximum number of related appPreviews returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -95740,11 +97250,11 @@ } }, "200": { - "description": "List of CustomerReviews", + "description": "List of AppPreviewSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomerReviewsResponse" + "$ref": "#/components/schemas/AppPreviewSetsResponse" } } } @@ -95774,13 +97284,24 @@ } ] }, - "/v1/appStoreVersions/{id}/relationships/gameCenterAppVersion": { + "/v1/appStoreVersionLocalizations/{id}/relationships/appScreenshotSets": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionLocalizations" + ], + "operationId": "appStoreVersionLocalizations_appScreenshotSets_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "appStoreVersions_gameCenterAppVersion_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -95823,11 +97344,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionGameCenterAppVersionLinkageResponse" + "$ref": "#/components/schemas/AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponse" } } } @@ -95857,25 +97378,55 @@ } ] }, - "/v1/appStoreVersions/{id}/gameCenterAppVersion": { + "/v1/appStoreVersionLocalizations/{id}/appScreenshotSets": { "get": { "tags": [ - "AppStoreVersions" + "AppStoreVersionLocalizations" ], - "operationId": "appStoreVersions_gameCenterAppVersion_getToOneRelated", + "operationId": "appStoreVersionLocalizations_appScreenshotSets_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterAppVersions]", + "name": "filter[screenshotDisplayType]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "filter by attribute 'screenshotDisplayType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" + "APP_IPHONE_67", + "APP_IPHONE_61", + "APP_IPHONE_65", + "APP_IPHONE_58", + "APP_IPHONE_55", + "APP_IPHONE_47", + "APP_IPHONE_40", + "APP_IPHONE_35", + "APP_IPAD_PRO_3GEN_129", + "APP_IPAD_PRO_3GEN_11", + "APP_IPAD_PRO_129", + "APP_IPAD_105", + "APP_IPAD_97", + "APP_DESKTOP", + "APP_WATCH_ULTRA", + "APP_WATCH_SERIES_10", + "APP_WATCH_SERIES_7", + "APP_WATCH_SERIES_4", + "APP_WATCH_SERIES_3", + "APP_APPLE_TV", + "APP_APPLE_VISION_PRO", + "IMESSAGE_APP_IPHONE_67", + "IMESSAGE_APP_IPHONE_61", + "IMESSAGE_APP_IPHONE_65", + "IMESSAGE_APP_IPHONE_58", + "IMESSAGE_APP_IPHONE_55", + "IMESSAGE_APP_IPHONE_47", + "IMESSAGE_APP_IPHONE_40", + "IMESSAGE_APP_IPAD_PRO_3GEN_129", + "IMESSAGE_APP_IPAD_PRO_3GEN_11", + "IMESSAGE_APP_IPAD_PRO_129", + "IMESSAGE_APP_IPAD_105", + "IMESSAGE_APP_IPAD_97" ] } }, @@ -95883,38 +97434,45 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "filter[appCustomProductPageLocalization]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appScreenshotSets]", + "in": "query", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -95922,16 +97480,26 @@ "explode": false }, { - "name": "include", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "compatibilityVersions", - "appStoreVersion" + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -95939,197 +97507,41 @@ "explode": false }, { - "name": "limit[compatibilityVersions]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "maximum number of related compatibilityVersions returned (when they are included)", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterAppVersion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appStoreVersions/{id}/relationships/routingAppCoverage": { - "get": { - "tags": [ - "AppStoreVersions" - ], - "operationId": "appStoreVersions_routingAppCoverage_getToOneRelationship", - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppStoreVersionRoutingAppCoverageLinkageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appStoreVersions/{id}/routingAppCoverage": { - "get": { - "tags": [ - "AppStoreVersions" - ], - "operationId": "appStoreVersions_routingAppCoverage_getToOneRelated", - "parameters": [ { - "name": "fields[routingAppCoverages]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreVersion" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" ] } }, @@ -96137,44 +97549,39 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[appScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "appScreenshotSet" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -96184,12 +97591,25 @@ "items": { "type": "string", "enum": [ - "appStoreVersion" + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appScreenshots]", + "in": "query", + "description": "maximum number of related appScreenshots returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -96234,11 +97654,11 @@ } }, "200": { - "description": "Single RoutingAppCoverage", + "description": "List of AppScreenshotSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageResponse" + "$ref": "#/components/schemas/AppScreenshotSetsResponse" } } } @@ -96268,12 +97688,12 @@ } ] }, - "/v1/appTags/{id}/relationships/territories": { + "/v1/appStoreVersionLocalizations/{id}/relationships/placements": { "get": { "tags": [ - "AppTags" + "AppStoreVersionLocalizations" ], - "operationId": "appTags_territories_getToManyRelationship", + "operationId": "appStoreVersionLocalizations_placements_getToManyRelationship", "parameters": [ { "name": "limit", @@ -96332,7 +97752,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppTagTerritoriesLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionLocalizationPlacementsLinkagesResponse" } } } @@ -96362,23 +97782,32 @@ } ] }, - "/v1/appTags/{id}/territories": { + "/v1/appStoreVersionLocalizations/{id}/placements": { "get": { "tags": [ - "AppTags" + "AppStoreVersionLocalizations" ], - "operationId": "appTags_territories_getToManyRelated", + "operationId": "appStoreVersionLocalizations_placements_getToManyRelated", "parameters": [ { - "name": "fields[territories]", + "name": "filter[placementType]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "filter by attribute 'placementType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "APP_SCREENSHOT", + "IMESSAGE_APP_SCREENSHOT", + "APP_PREVIEW", + "PRODUCT_PAGE_HEADER_ASSET", + "APP_STORE_SEARCH_RESULTS_ASSET", + "SEARCH_RESULTS_ADS_ASSET", + "TODAY_TAB_ADS_ASSET", + "EVENT_CARD_ASSET", + "EVENT_DETAILS_PAGE_ASSET", + "RETENTION_MESSAGE_ASSET" ] } }, @@ -96386,37 +97815,368 @@ "explode": false }, { - "name": "limit", + "name": "filter[placementGroup]", "in": "query", - "description": "maximum resources per page", + "description": "filter by attribute 'placementGroup'", "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[state]", + "in": "query", + "description": "filter by attribute 'state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ASSET_PROCESSING", + "FAILED", + "PARENT_PREPARE_FOR_SUBMISSION", + "PARENT_READY_FOR_REVIEW", + "PARENT_WAITING_FOR_REVIEW", + "PARENT_IN_REVIEW", + "PARENT_APPROVED" + ] } - } - }, + }, + "style": "form", + "explode": false + }, + { + "name": "filter[image]", + "in": "query", + "description": "filter by id(s) of related 'image'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[video]", + "in": "query", + "description": "filter by id(s) of related 'video'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appEventLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appEventLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appCustomProductPageLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "-createdDate", + "lastModifiedDate", + "-lastModifiedDate", + "placementGroupPosition", + "-placementGroupPosition" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryPlacements]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryImages]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryVideos]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "videoAsset", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEventLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appEventLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPageLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -96438,11 +98198,11 @@ } }, "200": { - "description": "List of Territories", + "description": "List of AppAssetLibraryPlacements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoriesResponse" + "$ref": "#/components/schemas/AppAssetLibraryPlacementsResponse" } } } @@ -96472,12 +98232,12 @@ } ] }, - "/v1/apps/{id}/relationships/accessibilityDeclarations": { + "/v1/appStoreVersionLocalizations/{id}/relationships/searchKeywords": { "get": { "tags": [ - "Apps" + "AppStoreVersionLocalizations" ], - "operationId": "apps_accessibilityDeclarations_getToManyRelationship", + "operationId": "appStoreVersionLocalizations_searchKeywords_getToManyRelationship", "parameters": [ { "name": "limit", @@ -96536,7 +98296,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAccessibilityDeclarationsLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionLocalizationSearchKeywordsLinkagesResponse" } } } @@ -96553,102 +98313,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/apps/{id}/accessibilityDeclarations": { - "get": { + "post": { "tags": [ - "Apps" + "AppStoreVersionLocalizations" ], - "operationId": "apps_accessibilityDeclarations_getToManyRelated", - "parameters": [ - { - "name": "filter[deviceFamily]", - "in": "query", - "description": "filter by attribute 'deviceFamily'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPHONE", - "IPAD", - "APPLE_TV", - "APPLE_WATCH", - "MAC", - "VISION" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[state]", - "in": "query", - "description": "filter by attribute 'state'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "DRAFT", - "PUBLISHED", - "REPLACED" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[accessibilityDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type accessibilityDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "deviceFamily", - "state", - "supportsAudioDescriptions", - "supportsCaptions", - "supportsDarkInterface", - "supportsDifferentiateWithoutColorAlone", - "supportsLargerText", - "supportsReducedMotion", - "supportsSufficientContrast", - "supportsVoiceControl", - "supportsVoiceover" - ] + "operationId": "appStoreVersionLocalizations_searchKeywords_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionLocalizationSearchKeywordsLinkagesRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -96690,16 +98370,29 @@ } } }, - "200": { - "description": "List of AccessibilityDeclarations", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AccessibilityDeclarationsResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -96712,26 +98405,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/apps/{id}/relationships/alternativeDistributionKey": { - "get": { + "delete": { "tags": [ - "Apps" + "AppStoreVersionLocalizations" ], - "operationId": "apps_alternativeDistributionKey_getToOneRelationship", - "parameters": [], + "operationId": "appStoreVersionLocalizations_searchKeywords_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionLocalizationSearchKeywordsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -96773,16 +98462,29 @@ } } }, - "200": { - "description": "Related linkage", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAlternativeDistributionKeyLinkageResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -96808,28 +98510,62 @@ } ] }, - "/v1/apps/{id}/alternativeDistributionKey": { + "/v1/appStoreVersionLocalizations/{id}/searchKeywords": { "get": { "tags": [ - "Apps" + "AppStoreVersionLocalizations" ], - "operationId": "apps_alternativeDistributionKey_getToOneRelated", + "operationId": "appStoreVersionLocalizations_searchKeywords_getToManyRelated", "parameters": [ { - "name": "fields[alternativeDistributionKeys]", + "name": "filter[platform]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionKeys", + "description": "filter by platform", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[locale]", + "in": "query", + "description": "filter by locale", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appKeywords]", + "in": "query", + "description": "the fields to include for returned resources of type appKeywords", "schema": { "type": "array", "items": { "type": "string", - "enum": [ - "publicKey" - ] + "enum": [] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -96874,11 +98610,11 @@ } }, "200": { - "description": "Single AlternativeDistributionKey", + "description": "List of AppKeywords", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionKeyResponse" + "$ref": "#/components/schemas/AppKeywordsResponse" } } } @@ -96908,24 +98644,13 @@ } ] }, - "/v1/apps/{id}/relationships/analyticsReportRequests": { + "/v1/appStoreVersions/{id}/relationships/alternativeDistributionPackage": { "get": { "tags": [ - "Apps" - ], - "operationId": "apps_analyticsReportRequests_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppStoreVersions" ], + "operationId": "appStoreVersions_alternativeDistributionPackage_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -96968,11 +98693,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAnalyticsReportRequestsLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionAlternativeDistributionPackageLinkageResponse" } } } @@ -97002,42 +98727,24 @@ } ] }, - "/v1/apps/{id}/analyticsReportRequests": { + "/v1/appStoreVersions/{id}/alternativeDistributionPackage": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_analyticsReportRequests_getToManyRelated", + "operationId": "appStoreVersions_alternativeDistributionPackage_getToOneRelated", "parameters": [ { - "name": "filter[accessType]", - "in": "query", - "description": "filter by attribute 'accessType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ONE_TIME_SNAPSHOT", - "ONGOING" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[analyticsReportRequests]", + "name": "fields[alternativeDistributionPackages]", "in": "query", - "description": "the fields to include for returned resources of type analyticsReportRequests", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessType", - "stoppedDueToInactivity", - "reports" + "sourceFileChecksum", + "versions" ] } }, @@ -97045,33 +98752,28 @@ "explode": false }, { - "name": "fields[analyticsReports]", + "name": "fields[alternativeDistributionPackageVersions]", "in": "query", - "description": "the fields to include for returned resources of type analyticsReports", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "category", - "instances" + "url", + "urlExpirationDate", + "version", + "fileChecksum", + "state", + "variants", + "deltas", + "alternativeDistributionPackage" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -97081,7 +98783,7 @@ "items": { "type": "string", "enum": [ - "reports" + "versions" ] } }, @@ -97089,9 +98791,9 @@ "explode": false }, { - "name": "limit[reports]", + "name": "limit[versions]", "in": "query", - "description": "maximum number of related reports returned (when they are included)", + "description": "maximum number of related versions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -97141,11 +98843,11 @@ } }, "200": { - "description": "List of AnalyticsReportRequests", + "description": "Single AlternativeDistributionPackage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AnalyticsReportRequestsResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageResponse" } } } @@ -97175,24 +98877,92 @@ } ] }, - "/v1/apps/{id}/relationships/androidToIosAppMappingDetails": { + "/v1/appStoreVersions/{id}/relationships/appClipDefaultExperience": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_androidToIosAppMappingDetails_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + "operationId": "appStoreVersions_appClipDefaultExperience_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionAppClipDefaultExperienceLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + }, + "patch": { + "tags": [ + "AppStoreVersions" ], + "operationId": "appStoreVersions_appClipDefaultExperience_updateToOneRelationship", + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionAppClipDefaultExperienceLinkageRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -97234,16 +99004,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAndroidToIosAppMappingDetailsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -97269,24 +99052,27 @@ } ] }, - "/v1/apps/{id}/androidToIosAppMappingDetails": { + "/v1/appStoreVersions/{id}/appClipDefaultExperience": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_androidToIosAppMappingDetails_getToManyRelated", + "operationId": "appStoreVersions_appClipDefaultExperience_getToOneRelated", "parameters": [ { - "name": "fields[androidToIosAppMappingDetails]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type androidToIosAppMappingDetails", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "packageName", - "appSigningKeyPublicCertificateSha256Fingerprints" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, @@ -97294,12 +99080,125 @@ "explode": false }, { - "name": "limit", + "name": "fields[appClips]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appClips", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "bundleId", + "app", + "appClipDefaultExperiences", + "appClipAdvancedExperiences" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipDefaultExperienceLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipAppStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "invocationUrls", + "appClipDefaultExperience" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[appClipDefaultExperienceLocalizations]", + "in": "query", + "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" } @@ -97346,11 +99245,11 @@ } }, "200": { - "description": "List of AndroidToIosAppMappingDetails", + "description": "Single AppClipDefaultExperience", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AndroidToIosAppMappingDetailsResponse" + "$ref": "#/components/schemas/AppClipDefaultExperienceResponse" } } } @@ -97380,12 +99279,12 @@ } ] }, - "/v1/apps/{id}/relationships/appAvailabilityV2": { + "/v1/appStoreVersions/{id}/relationships/appStoreReviewDetail": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appAvailabilityV2_getToOneRelationship", + "operationId": "appStoreVersions_appStoreReviewDetail_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -97433,7 +99332,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppAvailabilityV2LinkageResponse" + "$ref": "#/components/schemas/AppStoreVersionAppStoreReviewDetailLinkageResponse" } } } @@ -97463,24 +99362,32 @@ } ] }, - "/v1/apps/{id}/appAvailabilityV2": { + "/v1/appStoreVersions/{id}/appStoreReviewDetail": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appAvailabilityV2_getToOneRelated", + "operationId": "appStoreVersions_appStoreReviewDetail_getToOneRelated", "parameters": [ { - "name": "fields[appAvailabilities]", + "name": "fields[appStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appAvailabilities", + "description": "the fields to include for returned resources of type appStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "territoryAvailabilities" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -97488,20 +99395,59 @@ "explode": false }, { - "name": "fields[territoryAvailabilities]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type territoryAvailabilities", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "available", - "releaseDate", - "preOrderEnabled", - "preOrderPublishDate", - "contentStatuses", - "territory" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreReviewAttachments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreReviewAttachments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "appStoreReviewDetail" ] } }, @@ -97517,7 +99463,8 @@ "items": { "type": "string", "enum": [ - "territoryAvailabilities" + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -97525,9 +99472,9 @@ "explode": false }, { - "name": "limit[territoryAvailabilities]", + "name": "limit[appStoreReviewAttachments]", "in": "query", - "description": "maximum number of related territoryAvailabilities returned (when they are included)", + "description": "maximum number of related appStoreReviewAttachments returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -97577,11 +99524,11 @@ } }, "200": { - "description": "Single AppAvailability", + "description": "Single AppStoreReviewDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAvailabilityV2Response" + "$ref": "#/components/schemas/AppStoreReviewDetailResponse" } } } @@ -97611,12 +99558,13 @@ } ] }, - "/v1/apps/{id}/relationships/appClips": { + "/v1/appStoreVersions/{id}/relationships/appStoreVersionExperiments": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appClips_getToManyRelationship", + "operationId": "appStoreVersions_appStoreVersionExperiments_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -97675,7 +99623,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppClipsLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionExperimentsLinkagesResponse" } } } @@ -97705,110 +99653,94 @@ } ] }, - "/v1/apps/{id}/appClips": { + "/v1/appStoreVersions/{id}/appStoreVersionExperiments": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appClips_getToManyRelated", + "operationId": "appStoreVersions_appStoreVersionExperiments_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "filter[bundleId]", + "name": "filter[state]", "in": "query", - "description": "filter by attribute 'bundleId'", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REJECTED", + "COMPLETED", + "STOPPED" + ] } }, "style": "form", "explode": false }, { - "name": "fields[appClips]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "app", - "appClipDefaultExperiences", - "appClipAdvancedExperiences" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -97816,19 +99748,21 @@ "explode": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -97854,8 +99788,8 @@ "items": { "type": "string", "enum": [ - "app", - "appClipDefaultExperiences" + "appStoreVersion", + "appStoreVersionExperimentTreatments" ] } }, @@ -97863,9 +99797,9 @@ "explode": false }, { - "name": "limit[appClipDefaultExperiences]", + "name": "limit[appStoreVersionExperimentTreatments]", "in": "query", - "description": "maximum number of related appClipDefaultExperiences returned (when they are included)", + "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -97915,11 +99849,11 @@ } }, "200": { - "description": "List of AppClips", + "description": "List of AppStoreVersionExperiments", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipsResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentsResponse" } } } @@ -97949,12 +99883,12 @@ } ] }, - "/v1/apps/{id}/relationships/appCustomProductPages": { + "/v1/appStoreVersions/{id}/relationships/appStoreVersionExperimentsV2": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appCustomProductPages_getToManyRelationship", + "operationId": "appStoreVersions_appStoreVersionExperimentsV2_getToManyRelationship", "parameters": [ { "name": "limit", @@ -98013,7 +99947,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppCustomProductPagesLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionExperimentsV2LinkagesResponse" } } } @@ -98043,40 +99977,57 @@ } ] }, - "/v1/apps/{id}/appCustomProductPages": { + "/v1/appStoreVersions/{id}/appStoreVersionExperimentsV2": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appCustomProductPages_getToManyRelated", + "operationId": "appStoreVersions_appStoreVersionExperimentsV2_getToManyRelated", "parameters": [ { - "name": "filter[visible]", + "name": "filter[state]", "in": "query", - "description": "filter by attribute 'visible'", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REJECTED", + "COMPLETED", + "STOPPED" + ] } }, "style": "form", "explode": false }, { - "name": "fields[appCustomProductPages]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "url", - "visible", + "platform", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", "app", - "appCustomProductPageVersions" + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -98143,6 +100094,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -98155,19 +100107,60 @@ "explode": false }, { - "name": "fields[appCustomProductPageVersions]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "deepLink", - "appCustomProductPage", - "appCustomProductPageLocalizations" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperimentTreatments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -98194,7 +100187,9 @@ "type": "string", "enum": [ "app", - "appCustomProductPageVersions" + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -98202,9 +100197,19 @@ "explode": false }, { - "name": "limit[appCustomProductPageVersions]", + "name": "limit[controlVersions]", "in": "query", - "description": "maximum number of related appCustomProductPageVersions returned (when they are included)", + "description": "maximum number of related controlVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appStoreVersionExperimentTreatments]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -98254,11 +100259,11 @@ } }, "200": { - "description": "List of AppCustomProductPages", + "description": "List of AppStoreVersionExperiments", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCustomProductPagesResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentsV2Response" } } } @@ -98288,12 +100293,12 @@ } ] }, - "/v1/apps/{id}/relationships/appEncryptionDeclarations": { + "/v1/appStoreVersions/{id}/relationships/appStoreVersionLocalizations": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appEncryptionDeclarations_getToManyRelationship", + "operationId": "appStoreVersions_appStoreVersionLocalizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -98352,7 +100357,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppEncryptionDeclarationsLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionLocalizationsLinkagesResponse" } } } @@ -98382,72 +100387,86 @@ } ] }, - "/v1/apps/{id}/appEncryptionDeclarations": { + "/v1/appStoreVersions/{id}/appStoreVersionLocalizations": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appEncryptionDeclarations_getToManyRelated", + "operationId": "appStoreVersions_appStoreVersionLocalizations_getToManyRelated", "parameters": [ { - "name": "filter[platform]", + "name": "filter[locale]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by attribute 'locale'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] + "type": "string" } }, "style": "form", - "explode": false, - "deprecated": true + "explode": false }, { - "name": "filter[builds]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "filter by id(s) of related 'builds'", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] } }, "style": "form", "explode": false }, { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", "platform", - "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", "app", - "builds", - "appEncryptionDeclarationDocument" + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -98455,70 +100474,19 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -98526,40 +100494,19 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -98567,21 +100514,41 @@ "explode": false }, { - "name": "fields[appEncryptionDeclarationDocuments]", + "name": "fields[appKeywords]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", + "description": "the fields to include for returned resources of type appKeywords", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryPlacements]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryPlacements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "assetToken", - "downloadUrl", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState" + "mediaType", + "placementType", + "placementGroup", + "createdDate", + "lastModifiedDate", + "state", + "stateDetails", + "image", + "video", + "appEventLocalization", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization" ] } }, @@ -98607,9 +100574,11 @@ "items": { "type": "string", "enum": [ - "app", - "builds", - "appEncryptionDeclarationDocument" + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -98617,9 +100586,39 @@ "explode": false }, { - "name": "limit[builds]", + "name": "limit[appScreenshotSets]", "in": "query", - "description": "maximum number of related builds returned (when they are included)", + "description": "maximum number of related appScreenshotSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appPreviewSets]", + "in": "query", + "description": "maximum number of related appPreviewSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[searchKeywords]", + "in": "query", + "description": "maximum number of related searchKeywords returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[placements]", + "in": "query", + "description": "maximum number of related placements returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -98669,11 +100668,11 @@ } }, "200": { - "description": "List of AppEncryptionDeclarations", + "description": "List of AppStoreVersionLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationsResponse" + "$ref": "#/components/schemas/AppStoreVersionLocalizationsResponse" } } } @@ -98703,24 +100702,13 @@ } ] }, - "/v1/apps/{id}/relationships/appEvents": { + "/v1/appStoreVersions/{id}/relationships/appStoreVersionPhasedRelease": { "get": { "tags": [ - "Apps" - ], - "operationId": "apps_appEvents_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppStoreVersions" ], + "operationId": "appStoreVersions_appStoreVersionPhasedRelease_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -98763,11 +100751,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppEventsLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionPhasedReleaseLinkageResponse" } } } @@ -98797,134 +100785,31 @@ } ] }, - "/v1/apps/{id}/appEvents": { + "/v1/appStoreVersions/{id}/appStoreVersionPhasedRelease": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appEvents_getToManyRelated", + "operationId": "appStoreVersions_appStoreVersionPhasedRelease_getToOneRelated", "parameters": [ { - "name": "filter[eventState]", - "in": "query", - "description": "filter by attribute 'eventState'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "DRAFT", - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "REJECTED", - "ACCEPTED", - "APPROVED", - "PUBLISHED", - "PAST", - "ARCHIVED" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appEvents]", - "in": "query", - "description": "the fields to include for returned resources of type appEvents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "badge", - "eventState", - "deepLink", - "purchaseRequirement", - "primaryLocale", - "priority", - "purpose", - "territorySchedules", - "archivedTerritorySchedules", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appEventLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "shortDescription", - "longDescription", - "appEvent", - "appEventScreenshots", - "appEventVideoClips" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[appStoreVersionPhasedReleases]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "localizations" + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -98969,11 +100854,11 @@ } }, "200": { - "description": "List of AppEvents", + "description": "Single AppStoreVersionPhasedRelease with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEventsResponse" + "$ref": "#/components/schemas/AppStoreVersionPhasedReleaseWithoutIncludesResponse" } } } @@ -99003,24 +100888,14 @@ } ] }, - "/v1/apps/{id}/relationships/appInfos": { + "/v1/appStoreVersions/{id}/relationships/appStoreVersionSubmission": { "get": { "tags": [ - "Apps" - ], - "operationId": "apps_appInfos_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppStoreVersions" ], + "operationId": "appStoreVersions_appStoreVersionSubmission_getToOneRelationship", + "deprecated": true, + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -99063,11 +100938,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppInfosLinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionAppStoreVersionSubmissionLinkageResponse" } } } @@ -99097,40 +100972,24 @@ } ] }, - "/v1/apps/{id}/appInfos": { + "/v1/appStoreVersions/{id}/appStoreVersionSubmission": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appInfos_getToManyRelated", + "operationId": "appStoreVersions_appStoreVersionSubmission_getToOneRelated", + "deprecated": true, "parameters": [ { - "name": "fields[appInfos]", + "name": "fields[appStoreVersionSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type appInfos", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreState", - "state", - "appStoreAgeRating", - "australiaAgeRating", - "brazilAgeRating", - "brazilAgeRatingV2", - "franceAgeRating", - "koreaAgeRating", - "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "territoryAgeRatings" + "appStoreVersion" ] } }, @@ -99138,171 +100997,44 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ageRatingDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type ageRatingDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "advertising", - "alcoholTobaccoOrDrugUseOrReferences", - "contests", - "gambling", - "gamblingSimulated", - "gunsOrOtherWeapons", - "healthOrWellnessTopics", - "kidsAgeBand", - "lootBox", - "medicalOrTreatmentInformation", - "messagingAndChat", - "parentalControls", - "profanityOrCrudeHumor", - "ageAssurance", - "sexualContentGraphicAndNudity", - "sexualContentOrNudity", - "socialMedia", - "socialMediaAgeRestricted", - "horrorOrFearThemes", - "matureOrSuggestiveThemes", - "unrestrictedWebAccess", - "userGeneratedContent", - "violenceCartoonOrFantasy", - "violenceRealisticProlongedGraphicOrSadistic", - "violenceRealistic", - "ageRatingOverride", - "ageRatingOverrideV2", - "koreaAgeRatingOverride", - "gracRatingClassificationNumber", - "developerAgeRatingInfoUrl" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appInfoLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appInfoLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "subtitle", - "privacyPolicyUrl", - "privacyChoicesUrl", - "privacyPolicyText", - "appInfo" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCategories]", - "in": "query", - "description": "the fields to include for returned resources of type appCategories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platforms", - "subcategories", - "parent" + "customerReviews", + "alternativeDistributionPackage" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -99312,30 +101044,12 @@ "items": { "type": "string", "enum": [ - "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo" + "appStoreVersion" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[appInfoLocalizations]", - "in": "query", - "description": "maximum number of related appInfoLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -99380,11 +101094,11 @@ } }, "200": { - "description": "List of AppInfos", + "description": "Single AppStoreVersionSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInfosResponse" + "$ref": "#/components/schemas/AppStoreVersionSubmissionResponse" } } } @@ -99414,24 +101128,92 @@ } ] }, - "/v1/apps/{id}/relationships/appPricePoints": { + "/v1/appStoreVersions/{id}/relationships/build": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appPricePoints_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + "operationId": "appStoreVersions_build_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionBuildLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + }, + "patch": { + "tags": [ + "AppStoreVersions" ], + "operationId": "appStoreVersions_build_updateToOneRelationship", + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionBuildLinkageRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -99473,16 +101255,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppPricePointsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -99508,154 +101303,48 @@ } ] }, - "/v1/apps/{id}/appPricePoints": { + "/v1/appStoreVersions/{id}/build": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appPricePoints_getToManyRelated", + "operationId": "appStoreVersions_build_getToOneRelated", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type appPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "proceeds", - "app", - "equalizations", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", "app", - "territory" + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -99705,16 +101394,11 @@ } }, "200": { - "description": "List of AppPricePoints", + "description": "Single Build with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPricePointsV3Response" - } - }, - "text/csv": { - "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/BuildWithoutIncludesResponse" } } } @@ -99744,13 +101428,24 @@ } ] }, - "/v1/apps/{id}/relationships/appPriceSchedule": { + "/v1/appStoreVersions/{id}/relationships/customerReviews": { "get": { "tags": [ - "Apps" + "AppStoreVersions" + ], + "operationId": "appStoreVersions_customerReviews_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "apps_appPriceSchedule_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -99793,11 +101488,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppPriceScheduleLinkageResponse" + "$ref": "#/components/schemas/AppStoreVersionCustomerReviewsLinkagesResponse" } } } @@ -99827,97 +101522,255 @@ } ] }, - "/v1/apps/{id}/appPriceSchedule": { + "/v1/appStoreVersions/{id}/customerReviews": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appPriceSchedule_getToOneRelated", + "operationId": "appStoreVersions_customerReviews_getToManyRelated", "parameters": [ { - "name": "fields[appPriceSchedules]", - "in": "query", - "description": "the fields to include for returned resources of type appPriceSchedules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "baseTerritory", - "manualPrices", - "automaticPrices" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "filter by attribute 'territory'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "ABW", + "AFG", + "AGO", + "AIA", + "ALB", + "AND", + "ANT", + "ARE", + "ARG", + "ARM", + "ASM", + "ATG", + "AUS", + "AUT", + "AZE", + "BDI", + "BEL", + "BEN", + "BES", + "BFA", + "BGD", + "BGR", + "BHR", + "BHS", + "BIH", + "BLR", + "BLZ", + "BMU", + "BOL", + "BRA", + "BRB", + "BRN", + "BTN", + "BWA", + "CAF", + "CAN", + "CHE", + "CHL", + "CHN", + "CIV", + "CMR", + "COD", + "COG", + "COK", + "COL", + "COM", + "CPV", + "CRI", + "CUB", + "CUW", + "CXR", + "CYM", + "CYP", + "CZE", + "DEU", + "DJI", + "DMA", + "DNK", + "DOM", + "DZA", + "ECU", + "EGY", + "ERI", + "ESP", + "EST", + "ETH", + "FIN", + "FJI", + "FLK", + "FRA", + "FRO", + "FSM", + "GAB", + "GBR", + "GEO", + "GGY", + "GHA", + "GIB", + "GIN", + "GLP", + "GMB", + "GNB", + "GNQ", + "GRC", + "GRD", + "GRL", + "GTM", + "GUF", + "GUM", + "GUY", + "HKG", + "HND", + "HRV", + "HTI", + "HUN", + "IDN", + "IMN", + "IND", + "IRL", + "IRQ", + "ISL", + "ISR", + "ITA", + "JAM", + "JEY", + "JOR", + "JPN", + "KAZ", + "KEN", + "KGZ", + "KHM", + "KIR", + "KNA", + "KOR", + "KWT", + "LAO", + "LBN", + "LBR", + "LBY", + "LCA", + "LIE", + "LKA", + "LSO", + "LTU", + "LUX", + "LVA", + "MAC", + "MAR", + "MCO", + "MDA", + "MDG", + "MDV", + "MEX", + "MHL", + "MKD", + "MLI", + "MLT", + "MMR", + "MNE", + "MNG", + "MNP", + "MOZ", + "MRT", + "MSR", + "MTQ", + "MUS", + "MWI", + "MYS", + "MYT", + "NAM", + "NCL", + "NER", + "NFK", + "NGA", + "NIC", + "NIU", + "NLD", + "NOR", + "NPL", + "NRU", + "NZL", + "OMN", + "PAK", + "PAN", + "PER", + "PHL", + "PLW", + "PNG", + "POL", + "PRI", + "PRT", + "PRY", + "PSE", + "PYF", + "QAT", + "REU", + "ROU", + "RUS", + "RWA", + "SAU", + "SEN", + "SGP", + "SHN", + "SLB", + "SLE", + "SLV", + "SMR", + "SOM", + "SPM", + "SRB", + "SSD", + "STP", + "SUR", + "SVK", + "SVN", + "SWE", + "SWZ", + "SXM", + "SYC", + "TCA", + "TCD", + "TGO", + "THA", + "TJK", + "TKM", + "TLS", + "TON", + "TTO", + "TUN", + "TUR", + "TUV", + "TWN", + "TZA", + "UGA", + "UKR", + "UMI", + "URY", + "USA", + "UZB", + "VAT", + "VCT", + "VEN", + "VGB", + "VIR", + "VNM", + "VUT", + "WLF", + "WSM", + "XKS", + "YEM", + "ZAF", + "ZMB", + "ZWE" ] } }, @@ -99925,15 +101778,54 @@ "explode": false }, { - "name": "fields[territories]", + "name": "filter[rating]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "filter by attribute 'rating'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[reviewTerritory]", + "in": "query", + "description": "filter by id(s) of related 'reviewTerritory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "exists[publishedResponse]", + "in": "query", + "description": "filter by publishedResponse", + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "rating", + "-rating", + "createdDate", + "-createdDate" ] } }, @@ -99941,19 +101833,22 @@ "explode": false }, { - "name": "fields[appPrices]", + "name": "fields[customerReviews]", "in": "query", - "description": "the fields to include for returned resources of type appPrices", + "description": "the fields to include for returned resources of type customerReviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "manual", - "startDate", - "endDate", - "appPricePoint", - "territory" + "rating", + "title", + "body", + "reviewerNickname", + "createdDate", + "territory", + "response", + "reviewTerritory" ] } }, @@ -99961,18 +101856,18 @@ "explode": false }, { - "name": "include", + "name": "fields[customerReviewResponses]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type customerReviewResponses", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "baseTerritory", - "manualPrices", - "automaticPrices" + "responseBody", + "lastModifiedDate", + "state", + "review" ] } }, @@ -99980,24 +101875,47 @@ "explode": false }, { - "name": "limit[manualPrices]", + "name": "fields[territories]", "in": "query", - "description": "maximum number of related manualPrices returned (when they are included)", + "description": "the fields to include for returned resources of type territories", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[automaticPrices]", + "name": "limit", "in": "query", - "description": "maximum number of related automaticPrices returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "response", + "reviewTerritory" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -100042,11 +101960,11 @@ } }, "200": { - "description": "Single AppPriceSchedule", + "description": "List of CustomerReviews", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPriceScheduleResponse" + "$ref": "#/components/schemas/CustomerReviewsResponse" } } } @@ -100076,24 +101994,13 @@ } ] }, - "/v1/apps/{id}/relationships/appStoreVersionExperimentsV2": { + "/v1/appStoreVersions/{id}/relationships/gameCenterAppVersion": { "get": { "tags": [ - "Apps" - ], - "operationId": "apps_appStoreVersionExperimentsV2_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "AppStoreVersions" ], + "operationId": "appStoreVersions_gameCenterAppVersion_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -100136,11 +102043,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppStoreVersionExperimentsV2LinkagesResponse" + "$ref": "#/components/schemas/AppStoreVersionGameCenterAppVersionLinkageResponse" } } } @@ -100170,31 +102077,25 @@ } ] }, - "/v1/apps/{id}/appStoreVersionExperimentsV2": { + "/v1/appStoreVersions/{id}/gameCenterAppVersion": { "get": { "tags": [ - "Apps" + "AppStoreVersions" ], - "operationId": "apps_appStoreVersionExperimentsV2_getToManyRelated", + "operationId": "appStoreVersions_gameCenterAppVersion_getToOneRelated", "parameters": [ { - "name": "filter[state]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "filter by attribute 'state'", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PREPARE_FOR_SUBMISSION", - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "ACCEPTED", - "APPROVED", - "REJECTED", - "COMPLETED", - "STOPPED" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -100202,25 +102103,38 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", "platform", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", "app", - "latestControlVersion", - "controlVersions", - "appStoreVersionExperimentTreatments" + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -100228,70 +102142,214 @@ "explode": false }, { - "name": "fields[apps]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[compatibilityVersions]", + "in": "query", + "description": "maximum number of related compatibilityVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterAppVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAppVersionResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appStoreVersions/{id}/relationships/routingAppCoverage": { + "get": { + "tags": [ + "AppStoreVersions" + ], + "operationId": "appStoreVersions_routingAppCoverage_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionRoutingAppCoverageLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appStoreVersions/{id}/routingAppCoverage": { + "get": { + "tags": [ + "AppStoreVersions" + ], + "operationId": "appStoreVersions_routingAppCoverage_getToOneRelated", + "parameters": [ + { + "name": "fields[routingAppCoverages]", + "in": "query", + "description": "the fields to include for returned resources of type routingAppCoverages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "appStoreVersion" ] } }, @@ -100338,27 +102396,105 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "appIcon", - "appIconName", - "promotedDate", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appStoreVersionExperimentTreatmentLocalizations" + "appStoreVersion" ] } }, "style": "form", "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single RoutingAppCoverage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoutingAppCoverageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appTags/{id}/relationships/territories": { + "get": { + "tags": [ + "AppTags" + ], + "operationId": "appTags_territories_getToManyRelationship", + "parameters": [ { "name": "limit", "in": "query", @@ -100368,20 +102504,101 @@ "maximum": 200 }, "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppTagTerritoriesLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appTags/{id}/territories": { + "get": { + "tags": [ + "AppTags" + ], + "operationId": "appTags_territories_getToManyRelated", + "parameters": [ { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "latestControlVersion", - "controlVersions", - "appStoreVersionExperimentTreatments" + "currency" ] } }, @@ -100389,22 +102606,12 @@ "explode": false }, { - "name": "limit[controlVersions]", - "in": "query", - "description": "maximum number of related controlVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appStoreVersionExperimentTreatments]", + "name": "limit", "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" } @@ -100451,11 +102658,11 @@ } }, "200": { - "description": "List of AppStoreVersionExperiments", + "description": "List of Territories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionExperimentsV2Response" + "$ref": "#/components/schemas/TerritoriesResponse" } } } @@ -100485,12 +102692,12 @@ } ] }, - "/v1/apps/{id}/relationships/appStoreVersions": { + "/v1/apps/{id}/relationships/accessibilityDeclarations": { "get": { "tags": [ "Apps" ], - "operationId": "apps_appStoreVersions_getToManyRelationship", + "operationId": "apps_accessibilityDeclarations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -100549,7 +102756,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppStoreVersionsLinkagesResponse" + "$ref": "#/components/schemas/AppAccessibilityDeclarationsLinkagesResponse" } } } @@ -100579,26 +102786,28 @@ } ] }, - "/v1/apps/{id}/appStoreVersions": { + "/v1/apps/{id}/accessibilityDeclarations": { "get": { "tags": [ "Apps" ], - "operationId": "apps_appStoreVersions_getToManyRelated", + "operationId": "apps_accessibilityDeclarations_getToManyRelated", "parameters": [ { - "name": "filter[platform]", + "name": "filter[deviceFamily]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by attribute 'deviceFamily'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "IPHONE", + "IPAD", + "APPLE_TV", + "APPLE_WATCH", + "MAC", + "VISION" ] } }, @@ -100606,431 +102815,43 @@ "explode": false }, { - "name": "filter[versionString]", - "in": "query", - "description": "filter by attribute 'versionString'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[appStoreState]", + "name": "filter[state]", "in": "query", - "description": "filter by attribute 'appStoreState'", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ACCEPTED", - "DEVELOPER_REMOVED_FROM_SALE", - "DEVELOPER_REJECTED", - "IN_REVIEW", - "INVALID_BINARY", - "METADATA_REJECTED", - "PENDING_APPLE_RELEASE", - "PENDING_CONTRACT", - "PENDING_DEVELOPER_RELEASE", - "PREPARE_FOR_SUBMISSION", - "PREORDER_READY_FOR_SALE", - "PROCESSING_FOR_APP_STORE", - "READY_FOR_REVIEW", - "READY_FOR_SALE", - "REJECTED", - "REMOVED_FROM_SALE", - "WAITING_FOR_EXPORT_COMPLIANCE", - "WAITING_FOR_REVIEW", - "REPLACED_WITH_NEW_VERSION", - "NOT_APPLICABLE" + "DRAFT", + "PUBLISHED", + "REPLACED" ] } }, "style": "form", - "explode": false, - "deprecated": true + "explode": false }, { - "name": "filter[appVersionState]", + "name": "fields[accessibilityDeclarations]", "in": "query", - "description": "filter by attribute 'appVersionState'", + "description": "the fields to include for returned resources of type accessibilityDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ACCEPTED", - "DEVELOPER_REJECTED", - "IN_REVIEW", - "INVALID_BINARY", - "METADATA_REJECTED", - "PENDING_APPLE_RELEASE", - "PENDING_DEVELOPER_RELEASE", - "PREPARE_FOR_SUBMISSION", - "PROCESSING_FOR_DISTRIBUTION", - "READY_FOR_DISTRIBUTION", - "READY_FOR_REVIEW", - "REJECTED", - "REPLACED_WITH_NEW_VERSION", - "WAITING_FOR_EXPORT_COMPLIANCE", - "WAITING_FOR_REVIEW" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionPhasedReleases]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "phasedReleaseState", - "startDate", - "totalPauseDuration", - "currentDayNumber" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAppVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[routingAppCoverages]", - "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "appStoreVersion", - "appStoreReviewAttachments" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appClipDefaultExperiences]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "platform", - "app", - "latestControlVersion", - "controlVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[alternativeDistributionPackages]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "sourceFileChecksum", - "versions" + "deviceFamily", + "state", + "supportsAudioDescriptions", + "supportsCaptions", + "supportsDarkInterface", + "supportsDifferentiateWithoutColorAlone", + "supportsLargerText", + "supportsReducedMotion", + "supportsSufficientContrast", + "supportsVoiceControl", + "supportsVoiceover" ] } }, @@ -101046,64 +102867,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[appStoreVersionLocalizations]", - "in": "query", - "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appStoreVersionExperiments]", - "in": "query", - "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[appStoreVersionExperimentsV2]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -101148,11 +102911,11 @@ } }, "200": { - "description": "List of AppStoreVersions", + "description": "List of AccessibilityDeclarations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionsResponse" + "$ref": "#/components/schemas/AccessibilityDeclarationsResponse" } } } @@ -101182,24 +102945,13 @@ } ] }, - "/v1/apps/{id}/relationships/appTags": { + "/v1/apps/{id}/relationships/alternativeDistributionKey": { "get": { "tags": [ "Apps" ], - "operationId": "apps_appTags_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "operationId": "apps_alternativeDistributionKey_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -101242,11 +102994,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAppTagsLinkagesResponse" + "$ref": "#/components/schemas/AppAlternativeDistributionKeyLinkageResponse" } } } @@ -101276,112 +103028,28 @@ } ] }, - "/v1/apps/{id}/appTags": { + "/v1/apps/{id}/alternativeDistributionKey": { "get": { "tags": [ "Apps" ], - "operationId": "apps_appTags_getToManyRelated", + "operationId": "apps_alternativeDistributionKey_getToOneRelated", "parameters": [ { - "name": "filter[visibleInAppStore]", - "in": "query", - "description": "filter by attribute 'visibleInAppStore'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "-name" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appTags]", - "in": "query", - "description": "the fields to include for returned resources of type appTags", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "visibleInAppStore", - "territories" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[alternativeDistributionKeys]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type alternativeDistributionKeys", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "territories" + "publicKey" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[territories]", - "in": "query", - "description": "maximum number of related territories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -101426,11 +103094,11 @@ } }, "200": { - "description": "List of AppTags", + "description": "Single AlternativeDistributionKey", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppTagsResponse" + "$ref": "#/components/schemas/AlternativeDistributionKeyResponse" } } } @@ -101460,12 +103128,12 @@ } ] }, - "/v1/apps/{id}/relationships/backgroundAssets": { + "/v1/apps/{id}/relationships/analyticsReportRequests": { "get": { "tags": [ "Apps" ], - "operationId": "apps_backgroundAssets_getToManyRelationship", + "operationId": "apps_analyticsReportRequests_getToManyRelationship", "parameters": [ { "name": "limit", @@ -101524,7 +103192,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppBackgroundAssetsLinkagesResponse" + "$ref": "#/components/schemas/AppAnalyticsReportRequestsLinkagesResponse" } } } @@ -101554,84 +103222,24 @@ } ] }, - "/v1/apps/{id}/backgroundAssets": { + "/v1/apps/{id}/analyticsReportRequests": { "get": { "tags": [ "Apps" ], - "operationId": "apps_backgroundAssets_getToManyRelated", + "operationId": "apps_analyticsReportRequests_getToManyRelated", "parameters": [ { - "name": "filter[archived]", - "in": "query", - "description": "filter by attribute 'archived'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[assetPackIdentifier]", - "in": "query", - "description": "filter by attribute 'assetPackIdentifier'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[versions.locale]", - "in": "query", - "description": "filter by attribute 'versions.locale'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[versions.platforms]", - "in": "query", - "description": "filter by attribute 'versions.platforms'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "sort", + "name": "filter[accessType]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "filter by attribute 'accessType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetPackIdentifier", - "-assetPackIdentifier", - "createdDate", - "-createdDate" + "ONE_TIME_SNAPSHOT", + "ONGOING" ] } }, @@ -101639,23 +103247,17 @@ "explode": false }, { - "name": "fields[backgroundAssets]", + "name": "fields[analyticsReportRequests]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssets", + "description": "the fields to include for returned resources of type analyticsReportRequests", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "assetPackIdentifier", - "createdDate", - "usedBytes", - "app", - "versions", - "appStoreVersion", - "internalBetaVersion", - "externalBetaVersion" + "accessType", + "stoppedDueToInactivity", + "reports" ] } }, @@ -101663,98 +103265,17 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[analyticsReports]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type analyticsReports", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[backgroundAssetVersions]", - "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "createdDate", - "platforms", - "state", - "stateDetails", - "version", - "locale", - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile", - "backgroundAssetUploadFiles" + "category", + "instances" ] } }, @@ -101780,15 +103301,22 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreVersion", - "internalBetaVersion", - "externalBetaVersion" + "reports" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[reports]", + "in": "query", + "description": "maximum number of related reports returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -101833,11 +103361,11 @@ } }, "200": { - "description": "List of BackgroundAssets", + "description": "List of AnalyticsReportRequests", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BackgroundAssetsResponse" + "$ref": "#/components/schemas/AnalyticsReportRequestsResponse" } } } @@ -101867,12 +103395,12 @@ } ] }, - "/v1/apps/{id}/relationships/betaAppLocalizations": { + "/v1/apps/{id}/relationships/androidToIosAppMappingDetails": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaAppLocalizations_getToManyRelationship", + "operationId": "apps_androidToIosAppMappingDetails_getToManyRelationship", "parameters": [ { "name": "limit", @@ -101931,7 +103459,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppBetaAppLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/AppAndroidToIosAppMappingDetailsLinkagesResponse" } } } @@ -101961,29 +103489,24 @@ } ] }, - "/v1/apps/{id}/betaAppLocalizations": { + "/v1/apps/{id}/androidToIosAppMappingDetails": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaAppLocalizations_getToManyRelated", + "operationId": "apps_androidToIosAppMappingDetails_getToManyRelated", "parameters": [ { - "name": "fields[betaAppLocalizations]", + "name": "fields[androidToIosAppMappingDetails]", "in": "query", - "description": "the fields to include for returned resources of type betaAppLocalizations", + "description": "the fields to include for returned resources of type androidToIosAppMappingDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "feedbackEmail", - "marketingUrl", - "privacyPolicyUrl", - "tvOsPrivacyPolicy", - "description", - "locale", - "app" + "packageName", + "appSigningKeyPublicCertificateSha256Fingerprints" ] } }, @@ -102043,11 +103566,11 @@ } }, "200": { - "description": "List of BetaAppLocalizations with get", + "description": "List of AndroidToIosAppMappingDetails", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppLocalizationsWithoutIncludesResponse" + "$ref": "#/components/schemas/AndroidToIosAppMappingDetailsResponse" } } } @@ -102077,12 +103600,12 @@ } ] }, - "/v1/apps/{id}/relationships/betaAppReviewDetail": { + "/v1/apps/{id}/relationships/appAvailabilityV2": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaAppReviewDetail_getToOneRelationship", + "operationId": "apps_appAvailabilityV2_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -102130,7 +103653,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppBetaAppReviewDetailLinkageResponse" + "$ref": "#/components/schemas/AppAppAvailabilityV2LinkageResponse" } } } @@ -102160,36 +103683,76 @@ } ] }, - "/v1/apps/{id}/betaAppReviewDetail": { + "/v1/apps/{id}/appAvailabilityV2": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaAppReviewDetail_getToOneRelated", + "operationId": "apps_appAvailabilityV2_getToOneRelated", "parameters": [ { - "name": "fields[betaAppReviewDetails]", + "name": "fields[appAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewDetails", + "description": "the fields to include for returned resources of type appAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "app" + "availableInNewTerritories", + "territoryAvailabilities" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territoryAvailabilities]", + "in": "query", + "description": "the fields to include for returned resources of type territoryAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "available", + "releaseDate", + "preOrderEnabled", + "preOrderPublishDate", + "contentStatuses", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territoryAvailabilities" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[territoryAvailabilities]", + "in": "query", + "description": "maximum number of related territoryAvailabilities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -102234,11 +103797,11 @@ } }, "200": { - "description": "Single BetaAppReviewDetail with get", + "description": "Single AppAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewDetailWithoutIncludesResponse" + "$ref": "#/components/schemas/AppAvailabilityV2Response" } } } @@ -102268,12 +103831,12 @@ } ] }, - "/v1/apps/{id}/relationships/betaFeedbackCrashSubmissions": { + "/v1/apps/{id}/relationships/appClips": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaFeedbackCrashSubmissions_getToManyRelationship", + "operationId": "apps_appClips_getToManyRelationship", "parameters": [ { "name": "limit", @@ -102332,7 +103895,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppBetaFeedbackCrashSubmissionsLinkagesResponse" + "$ref": "#/components/schemas/AppAppClipsLinkagesResponse" } } } @@ -102362,30 +103925,17 @@ } ] }, - "/v1/apps/{id}/betaFeedbackCrashSubmissions": { + "/v1/apps/{id}/appClips": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaFeedbackCrashSubmissions_getToManyRelated", + "operationId": "apps_appClips_getToManyRelated", "parameters": [ { - "name": "filter[deviceModel]", - "in": "query", - "description": "filter by attribute 'deviceModel'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[osVersion]", + "name": "filter[bundleId]", "in": "query", - "description": "filter by attribute 'osVersion'", + "description": "filter by attribute 'bundleId'", "schema": { "type": "array", "items": { @@ -102396,18 +103946,18 @@ "explode": false }, { - "name": "filter[appPlatform]", + "name": "fields[appClips]", "in": "query", - "description": "filter by attribute 'appPlatform'", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "bundleId", + "app", + "appClipDefaultExperiences", + "appClipAdvancedExperiences" ] } }, @@ -102415,18 +103965,71 @@ "explode": false }, { - "name": "filter[devicePlatform]", + "name": "fields[apps]", "in": "query", - "description": "filter by attribute 'devicePlatform'", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -102434,55 +104037,46 @@ "explode": false }, { - "name": "filter[build]", - "in": "query", - "description": "filter by id(s) of related 'build'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[build.preReleaseVersion]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "filter by id(s) of related 'build.preReleaseVersion'", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" + ] } }, "style": "form", "explode": false }, { - "name": "filter[tester]", + "name": "limit", "in": "query", - "description": "filter by id(s) of related 'tester'", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "sort", + "name": "include", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "createdDate", - "-createdDate" + "app", + "appClipDefaultExperiences" ] } }, @@ -102490,78 +104084,292 @@ "explode": false }, { - "name": "fields[betaFeedbackCrashSubmissions]", + "name": "limit[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type betaFeedbackCrashSubmissions", + "description": "maximum number of related appClipDefaultExperiences returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "createdDate", - "comment", - "email", - "deviceModel", - "osVersion", - "locale", - "timeZone", - "architecture", - "connectionType", - "pairedAppleWatch", - "appUptimeInMilliseconds", - "diskBytesAvailable", - "diskBytesTotal", - "batteryPercentage", - "screenWidthInPoints", - "screenHeightInPoints", - "appPlatform", - "devicePlatform", - "deviceFamily", - "buildBundleId", - "crashLog", - "build", - "tester" - ] - } + "type": "integer", + "maximum": 50 }, - "style": "form", - "explode": false + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of AppClips", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppClipsResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/relationships/appCustomProductPages": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_appCustomProductPages_getToManyRelationship", + "parameters": [ { - "name": "fields[builds]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppAppCustomProductPagesLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/appCustomProductPages": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_appCustomProductPages_getToManyRelated", + "parameters": [ + { + "name": "filter[visible]", + "in": "query", + "description": "filter by attribute 'visible'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPages]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", + "name", + "url", + "visible", "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", + "appCustomProductPageVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", "perfPowerMetrics", - "diagnosticSignatures" + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -102569,23 +104377,19 @@ "explode": false }, { - "name": "fields[betaTesters]", + "name": "fields[appCustomProductPageVersions]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "firstName", - "lastName", - "email", - "inviteType", + "version", "state", - "appDevices", - "apps", - "betaGroups", - "builds" + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -102611,13 +104415,23 @@ "items": { "type": "string", "enum": [ - "build", - "tester" + "app", + "appCustomProductPageVersions" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appCustomProductPageVersions]", + "in": "query", + "description": "maximum number of related appCustomProductPageVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -102662,11 +104476,11 @@ } }, "200": { - "description": "List of BetaFeedbackCrashSubmissions", + "description": "List of AppCustomProductPages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaFeedbackCrashSubmissionsResponse" + "$ref": "#/components/schemas/AppCustomProductPagesResponse" } } } @@ -102696,12 +104510,12 @@ } ] }, - "/v1/apps/{id}/relationships/betaFeedbackScreenshotSubmissions": { + "/v1/apps/{id}/relationships/appEncryptionDeclarations": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaFeedbackScreenshotSubmissions_getToManyRelationship", + "operationId": "apps_appEncryptionDeclarations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -102760,7 +104574,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppBetaFeedbackScreenshotSubmissionsLinkagesResponse" + "$ref": "#/components/schemas/AppAppEncryptionDeclarationsLinkagesResponse" } } } @@ -102790,62 +104604,17 @@ } ] }, - "/v1/apps/{id}/betaFeedbackScreenshotSubmissions": { + "/v1/apps/{id}/appEncryptionDeclarations": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaFeedbackScreenshotSubmissions_getToManyRelated", + "operationId": "apps_appEncryptionDeclarations_getToManyRelated", "parameters": [ { - "name": "filter[deviceModel]", - "in": "query", - "description": "filter by attribute 'deviceModel'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[osVersion]", - "in": "query", - "description": "filter by attribute 'osVersion'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[appPlatform]", - "in": "query", - "description": "filter by attribute 'appPlatform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[devicePlatform]", + "name": "filter[platform]", "in": "query", - "description": "filter by attribute 'devicePlatform'", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { @@ -102859,38 +104628,13 @@ } }, "style": "form", - "explode": false - }, - { - "name": "filter[build]", - "in": "query", - "description": "filter by id(s) of related 'build'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[build.preReleaseVersion]", - "in": "query", - "description": "filter by id(s) of related 'build.preReleaseVersion'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false + "explode": false, + "deprecated": true }, { - "name": "filter[tester]", + "name": "filter[builds]", "in": "query", - "description": "filter by id(s) of related 'tester'", + "description": "filter by id(s) of related 'builds'", "schema": { "type": "array", "items": { @@ -102901,16 +104645,31 @@ "explode": false }, { - "name": "sort", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "appDescription", "createdDate", - "-createdDate" + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -102918,37 +104677,71 @@ "explode": false }, { - "name": "fields[betaFeedbackScreenshotSubmissions]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type betaFeedbackScreenshotSubmissions", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "createdDate", - "comment", - "email", - "deviceModel", - "osVersion", - "locale", - "timeZone", - "architecture", - "connectionType", - "pairedAppleWatch", - "appUptimeInMilliseconds", - "diskBytesAvailable", - "diskBytesTotal", - "batteryPercentage", - "screenWidthInPoints", - "screenHeightInPoints", - "appPlatform", - "devicePlatform", - "deviceFamily", - "buildBundleId", - "screenshots", - "build", - "tester" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -102997,23 +104790,21 @@ "explode": false }, { - "name": "fields[betaTesters]", + "name": "fields[appEncryptionDeclarationDocuments]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" + "fileSize", + "fileName", + "assetToken", + "downloadUrl", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -103039,13 +104830,24 @@ "items": { "type": "string", "enum": [ - "build", - "tester" + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -103090,11 +104892,11 @@ } }, "200": { - "description": "List of BetaFeedbackScreenshotSubmissions", + "description": "List of AppEncryptionDeclarations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaFeedbackScreenshotSubmissionsResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationsResponse" } } } @@ -103124,12 +104926,12 @@ } ] }, - "/v1/apps/{id}/relationships/betaGroups": { + "/v1/apps/{id}/relationships/appEvents": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaGroups_getToManyRelationship", + "operationId": "apps_appEvents_getToManyRelationship", "parameters": [ { "name": "limit", @@ -103188,7 +104990,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppBetaGroupsLinkagesResponse" + "$ref": "#/components/schemas/AppAppEventsLinkagesResponse" } } } @@ -103218,39 +105020,94 @@ } ] }, - "/v1/apps/{id}/betaGroups": { + "/v1/apps/{id}/appEvents": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaGroups_getToManyRelated", + "operationId": "apps_appEvents_getToManyRelated", "parameters": [ { - "name": "fields[betaGroups]", + "name": "filter[eventState]", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "description": "filter by attribute 'eventState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "DRAFT", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "REJECTED", + "ACCEPTED", + "APPROVED", + "PUBLISHED", + "PAST", + "ARCHIVED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEvents]", + "in": "query", + "description": "the fields to include for returned resources of type appEvents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEventLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "locale", "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips", + "placements" ] } }, @@ -103266,6 +105123,32 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -103310,11 +105193,11 @@ } }, "200": { - "description": "List of BetaGroups with get", + "description": "List of AppEvents", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupsWithoutIncludesResponse" + "$ref": "#/components/schemas/AppEventsResponse" } } } @@ -103344,13 +105227,24 @@ } ] }, - "/v1/apps/{id}/relationships/betaLicenseAgreement": { + "/v1/apps/{id}/relationships/appInfos": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaLicenseAgreement_getToOneRelationship", - "parameters": [], + "operationId": "apps_appInfos_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -103393,11 +105287,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppBetaLicenseAgreementLinkageResponse" + "$ref": "#/components/schemas/AppAppInfosLinkagesResponse" } } } @@ -103427,29 +105321,246 @@ } ] }, - "/v1/apps/{id}/betaLicenseAgreement": { + "/v1/apps/{id}/appInfos": { "get": { "tags": [ "Apps" ], - "operationId": "apps_betaLicenseAgreement_getToOneRelated", + "operationId": "apps_appInfos_getToManyRelated", "parameters": [ { - "name": "fields[betaLicenseAgreements]", + "name": "fields[appInfos]", "in": "query", - "description": "the fields to include for returned resources of type betaLicenseAgreements", + "description": "the fields to include for returned resources of type appInfos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "agreementText", - "app" + "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", + "brazilAgeRating", + "brazilAgeRatingV2", + "franceAgeRating", + "koreaAgeRating", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo", + "territoryAgeRatings" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[ageRatingDeclarations]", + "in": "query", + "description": "the fields to include for returned resources of type ageRatingDeclarations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "advertising", + "alcoholTobaccoOrDrugUseOrReferences", + "contests", + "gambling", + "gamblingSimulated", + "gunsOrOtherWeapons", + "healthOrWellnessTopics", + "kidsAgeBand", + "lootBox", + "medicalOrTreatmentInformation", + "messagingAndChat", + "parentalControls", + "profanityOrCrudeHumor", + "ageAssurance", + "sexualContentGraphicAndNudity", + "sexualContentOrNudity", + "socialMedia", + "socialMediaAgeRestricted", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", + "unrestrictedWebAccess", + "userGeneratedContent", + "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", + "violenceRealistic", + "ageRatingOverride", + "ageRatingOverrideV2", + "koreaAgeRatingOverride", + "gracRatingClassificationNumber", + "developerAgeRatingInfoUrl" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appInfoLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appInfoLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "subtitle", + "privacyPolicyUrl", + "privacyChoicesUrl", + "privacyPolicyText", + "appInfo" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCategories]", + "in": "query", + "description": "the fields to include for returned resources of type appCategories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platforms", + "subcategories", + "parent" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appInfoLocalizations]", + "in": "query", + "description": "maximum number of related appInfoLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -103494,11 +105605,11 @@ } }, "200": { - "description": "Single BetaLicenseAgreement with get", + "description": "List of AppInfos", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaLicenseAgreementWithoutIncludesResponse" + "$ref": "#/components/schemas/AppInfosResponse" } } } @@ -103528,23 +105639,24 @@ } ] }, - "/v1/apps/{id}/relationships/betaTesters": { - "delete": { + "/v1/apps/{id}/relationships/appPricePoints": { + "get": { "tags": [ "Apps" ], - "operationId": "apps_betaTesters_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppBetaTestersLinkagesRequest" - } - } - }, - "required": true - }, + "operationId": "apps_appPricePoints_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -103586,32 +105698,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppAppPricePointsLinkagesResponse" } } } }, - "202": { - "description": "Accepted for future completion" - }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -103637,204 +105733,40 @@ } ] }, - "/v1/apps/{id}/relationships/buildUploads": { + "/v1/apps/{id}/appPricePoints": { "get": { "tags": [ "Apps" ], - "operationId": "apps_buildUploads_getToManyRelationship", + "operationId": "apps_appPricePoints_getToManyRelated", "parameters": [ { - "name": "limit", + "name": "filter[territory]", "in": "query", - "description": "maximum resources per page", + "description": "filter by id(s) of related 'territory'", "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppBuildUploadsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/apps/{id}/buildUploads": { - "get": { - "tags": [ - "Apps" - ], - "operationId": "apps_buildUploads_getToManyRelated", - "parameters": [ - { - "name": "filter[cfBundleShortVersionString]", - "in": "query", - "description": "filter by attribute 'cfBundleShortVersionString'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[cfBundleVersion]", - "in": "query", - "description": "filter by attribute 'cfBundleVersion'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[platform]", - "in": "query", - "description": "filter by attribute 'platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[state]", - "in": "query", - "description": "filter by state", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "cfBundleVersion", - "-cfBundleVersion", - "uploadedDate", - "-uploadedDate" - ] + "type": "array", + "items": { + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[buildUploads]", + "name": "fields[appPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type buildUploads", + "description": "the fields to include for returned resources of type appPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "cfBundleShortVersionString", - "cfBundleVersion", - "createdDate", - "state", - "platform", - "uploadedDate", - "build", - "assetFile", - "assetDescriptionFile", - "assetSpiFile", - "buildUploadFiles" + "customerPrice", + "proceeds", + "app", + "equalizations", + "territory" ] } }, @@ -103842,40 +105774,71 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", "perfPowerMetrics", - "diagnosticSignatures" + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -103883,22 +105846,15 @@ "explode": false }, { - "name": "fields[buildUploadFiles]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type buildUploadFiles", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "sourceFileChecksums", - "uploadOperations", - "uti" + "currency" ] } }, @@ -103924,10 +105880,8 @@ "items": { "type": "string", "enum": [ - "build", - "assetFile", - "assetDescriptionFile", - "assetSpiFile" + "app", + "territory" ] } }, @@ -103977,11 +105931,16 @@ } }, "200": { - "description": "List of BuildUploads", + "description": "List of AppPricePoints", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildUploadsResponse" + "$ref": "#/components/schemas/AppPricePointsV3Response" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -104011,24 +105970,13 @@ } ] }, - "/v1/apps/{id}/relationships/builds": { + "/v1/apps/{id}/relationships/appPriceSchedule": { "get": { "tags": [ "Apps" ], - "operationId": "apps_builds_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "operationId": "apps_appPriceSchedule_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -104071,11 +106019,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppBuildsLinkagesResponse" + "$ref": "#/components/schemas/AppAppPriceScheduleLinkageResponse" } } } @@ -104105,48 +106053,98 @@ } ] }, - "/v1/apps/{id}/builds": { + "/v1/apps/{id}/appPriceSchedule": { "get": { "tags": [ "Apps" ], - "operationId": "apps_builds_getToManyRelated", + "operationId": "apps_appPriceSchedule_getToOneRelated", "parameters": [ { - "name": "fields[builds]", + "name": "fields[appPriceSchedules]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type appPriceSchedules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", + "baseTerritory", + "manualPrices", + "automaticPrices" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", "perfPowerMetrics", - "diagnosticSignatures" + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -104154,12 +106152,77 @@ "explode": false }, { - "name": "limit", + "name": "fields[territories]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appPrices]", + "in": "query", + "description": "the fields to include for returned resources of type appPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "manual", + "startDate", + "endDate", + "appPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "baseTerritory", + "manualPrices", + "automaticPrices" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[manualPrices]", + "in": "query", + "description": "maximum number of related manualPrices returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[automaticPrices]", + "in": "query", + "description": "maximum number of related automaticPrices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form" } @@ -104206,11 +106269,11 @@ } }, "200": { - "description": "List of Builds with get", + "description": "Single AppPriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" + "$ref": "#/components/schemas/AppPriceScheduleResponse" } } } @@ -104240,13 +106303,24 @@ } ] }, - "/v1/apps/{id}/relationships/ciProduct": { + "/v1/apps/{id}/relationships/appStoreVersionExperimentsV2": { "get": { "tags": [ "Apps" ], - "operationId": "apps_ciProduct_getToOneRelationship", - "parameters": [], + "operationId": "apps_appStoreVersionExperimentsV2_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -104289,11 +106363,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppCiProductLinkageResponse" + "$ref": "#/components/schemas/AppAppStoreVersionExperimentsV2LinkagesResponse" } } } @@ -104323,31 +106397,57 @@ } ] }, - "/v1/apps/{id}/ciProduct": { + "/v1/apps/{id}/appStoreVersionExperimentsV2": { "get": { "tags": [ "Apps" ], - "operationId": "apps_ciProduct_getToOneRelated", + "operationId": "apps_appStoreVersionExperimentsV2_getToManyRelated", "parameters": [ { - "name": "fields[ciProducts]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "filter by attribute 'state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REJECTED", + "COMPLETED", + "STOPPED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "createdDate", - "productType", + "platform", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", "app", - "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -104414,6 +106514,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -104426,21 +106527,38 @@ "explode": false }, { - "name": "fields[bundleIds]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", "platform", - "identifier", - "seedId", - "profiles", - "bundleIdCapabilities", - "app" + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -104448,29 +106566,37 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -104481,8 +106607,9 @@ "type": "string", "enum": [ "app", - "bundleId", - "primaryRepositories" + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -104490,9 +106617,19 @@ "explode": false }, { - "name": "limit[primaryRepositories]", + "name": "limit[controlVersions]", "in": "query", - "description": "maximum number of related primaryRepositories returned (when they are included)", + "description": "maximum number of related controlVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appStoreVersionExperimentTreatments]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -104542,11 +106679,11 @@ } }, "200": { - "description": "Single CiProduct", + "description": "List of AppStoreVersionExperiments", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiProductResponse" + "$ref": "#/components/schemas/AppStoreVersionExperimentsV2Response" } } } @@ -104576,82 +106713,13 @@ } ] }, - "/v1/apps/{id}/customerReviewSummarizations": { + "/v1/apps/{id}/relationships/appStoreVersions": { "get": { "tags": [ "Apps" ], - "operationId": "apps_customerReviewSummarizations_getToManyRelated", + "operationId": "apps_appStoreVersions_getToManyRelationship", "parameters": [ - { - "name": "filter[platform]", - "in": "query", - "description": "filter by attribute 'platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[customerReviewSummarizations]", - "in": "query", - "description": "the fields to include for returned resources of type customerReviewSummarizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "createdDate", - "locale", - "platform", - "text", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -104661,22 +106729,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -104721,11 +106773,11 @@ } }, "200": { - "description": "List of CustomerReviewSummarizations", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomerReviewSummarizationsResponse" + "$ref": "#/components/schemas/AppAppStoreVersionsLinkagesResponse" } } } @@ -104755,349 +106807,256 @@ } ] }, - "/v1/apps/{id}/relationships/customerReviews": { + "/v1/apps/{id}/appStoreVersions": { "get": { "tags": [ "Apps" ], - "operationId": "apps_customerReviews_getToManyRelationship", + "operationId": "apps_appStoreVersions_getToManyRelated", "parameters": [ { - "name": "limit", + "name": "filter[platform]", "in": "query", - "description": "maximum resources per page", + "description": "filter by attribute 'platform'", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "style": "form", + "explode": false + }, + { + "name": "filter[versionString]", + "in": "query", + "description": "filter by attribute 'versionString'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[appStoreState]", + "in": "query", + "description": "filter by attribute 'appStoreState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ACCEPTED", + "DEVELOPER_REMOVED_FROM_SALE", + "DEVELOPER_REJECTED", + "IN_REVIEW", + "INVALID_BINARY", + "METADATA_REJECTED", + "PENDING_APPLE_RELEASE", + "PENDING_CONTRACT", + "PENDING_DEVELOPER_RELEASE", + "PREPARE_FOR_SUBMISSION", + "PREORDER_READY_FOR_SALE", + "PROCESSING_FOR_APP_STORE", + "READY_FOR_REVIEW", + "READY_FOR_SALE", + "REJECTED", + "REMOVED_FROM_SALE", + "WAITING_FOR_EXPORT_COMPLIANCE", + "WAITING_FOR_REVIEW", + "REPLACED_WITH_NEW_VERSION", + "NOT_APPLICABLE" + ] } - } + }, + "style": "form", + "explode": false, + "deprecated": true }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[appVersionState]", + "in": "query", + "description": "filter by attribute 'appVersionState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ACCEPTED", + "DEVELOPER_REJECTED", + "IN_REVIEW", + "INVALID_BINARY", + "METADATA_REJECTED", + "PENDING_APPLE_RELEASE", + "PENDING_DEVELOPER_RELEASE", + "PREPARE_FOR_SUBMISSION", + "PROCESSING_FOR_DISTRIBUTION", + "READY_FOR_DISTRIBUTION", + "READY_FOR_REVIEW", + "REJECTED", + "REPLACED_WITH_NEW_VERSION", + "WAITING_FOR_EXPORT_COMPLIANCE", + "WAITING_FOR_REVIEW" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppCustomerReviewsLinkagesResponse" - } + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] } - } + }, + "style": "form", + "explode": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/apps/{id}/customerReviews": { - "get": { - "tags": [ - "Apps" - ], - "operationId": "apps_customerReviews_getToManyRelated", - "parameters": [ { - "name": "filter[territory]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "filter by attribute 'territory'", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ABW", - "AFG", - "AGO", - "AIA", - "ALB", - "AND", - "ANT", - "ARE", - "ARG", - "ARM", - "ASM", - "ATG", - "AUS", - "AUT", - "AZE", - "BDI", - "BEL", - "BEN", - "BES", - "BFA", - "BGD", - "BGR", - "BHR", - "BHS", - "BIH", - "BLR", - "BLZ", - "BMU", - "BOL", - "BRA", - "BRB", - "BRN", - "BTN", - "BWA", - "CAF", - "CAN", - "CHE", - "CHL", - "CHN", - "CIV", - "CMR", - "COD", - "COG", - "COK", - "COL", - "COM", - "CPV", - "CRI", - "CUB", - "CUW", - "CXR", - "CYM", - "CYP", - "CZE", - "DEU", - "DJI", - "DMA", - "DNK", - "DOM", - "DZA", - "ECU", - "EGY", - "ERI", - "ESP", - "EST", - "ETH", - "FIN", - "FJI", - "FLK", - "FRA", - "FRO", - "FSM", - "GAB", - "GBR", - "GEO", - "GGY", - "GHA", - "GIB", - "GIN", - "GLP", - "GMB", - "GNB", - "GNQ", - "GRC", - "GRD", - "GRL", - "GTM", - "GUF", - "GUM", - "GUY", - "HKG", - "HND", - "HRV", - "HTI", - "HUN", - "IDN", - "IMN", - "IND", - "IRL", - "IRQ", - "ISL", - "ISR", - "ITA", - "JAM", - "JEY", - "JOR", - "JPN", - "KAZ", - "KEN", - "KGZ", - "KHM", - "KIR", - "KNA", - "KOR", - "KWT", - "LAO", - "LBN", - "LBR", - "LBY", - "LCA", - "LIE", - "LKA", - "LSO", - "LTU", - "LUX", - "LVA", - "MAC", - "MAR", - "MCO", - "MDA", - "MDG", - "MDV", - "MEX", - "MHL", - "MKD", - "MLI", - "MLT", - "MMR", - "MNE", - "MNG", - "MNP", - "MOZ", - "MRT", - "MSR", - "MTQ", - "MUS", - "MWI", - "MYS", - "MYT", - "NAM", - "NCL", - "NER", - "NFK", - "NGA", - "NIC", - "NIU", - "NLD", - "NOR", - "NPL", - "NRU", - "NZL", - "OMN", - "PAK", - "PAN", - "PER", - "PHL", - "PLW", - "PNG", - "POL", - "PRI", - "PRT", - "PRY", - "PSE", - "PYF", - "QAT", - "REU", - "ROU", - "RUS", - "RWA", - "SAU", - "SEN", - "SGP", - "SHN", - "SLB", - "SLE", - "SLV", - "SMR", - "SOM", - "SPM", - "SRB", - "SSD", - "STP", - "SUR", - "SVK", - "SVN", - "SWE", - "SWZ", - "SXM", - "SYC", - "TCA", - "TCD", - "TGO", - "THA", - "TJK", - "TKM", - "TLS", - "TON", - "TTO", - "TUN", - "TUR", - "TUV", - "TWN", - "TZA", - "UGA", - "UKR", - "UMI", - "URY", - "USA", - "UZB", - "VAT", - "VCT", - "VEN", - "VGB", - "VIR", - "VNM", - "VUT", - "WLF", - "WSM", - "XKS", - "YEM", - "ZAF", - "ZMB", - "ZWE" + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" ] } }, @@ -105105,54 +107064,98 @@ "explode": false }, { - "name": "filter[rating]", + "name": "fields[builds]", "in": "query", - "description": "filter by attribute 'rating'", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] } }, "style": "form", "explode": false }, { - "name": "filter[reviewTerritory]", + "name": "fields[appStoreVersionPhasedReleases]", "in": "query", - "description": "filter by id(s) of related 'reviewTerritory'", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber" + ] } }, "style": "form", "explode": false }, { - "name": "exists[publishedResponse]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "filter by publishedResponse", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { - "type": "boolean" + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] + } }, "style": "form", "explode": false }, { - "name": "sort", + "name": "fields[routingAppCoverages]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type routingAppCoverages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "rating", - "-rating", - "createdDate", - "-createdDate" + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "appStoreVersion" ] } }, @@ -105160,22 +107163,24 @@ "explode": false }, { - "name": "fields[customerReviews]", + "name": "fields[appStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type customerReviews", + "description": "the fields to include for returned resources of type appStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "rating", - "title", - "body", - "reviewerNickname", - "createdDate", - "territory", - "response", - "reviewTerritory" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -105183,18 +107188,373 @@ "explode": false }, { - "name": "fields[customerReviewResponses]", + "name": "fields[appStoreVersionSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type customerReviewResponses", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "responseBody", - "lastModifiedDate", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipDefaultExperiences]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "trafficProportion", "state", - "review" + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "sourceFileChecksum", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[appStoreVersionLocalizations]", + "in": "query", + "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appStoreVersionExperiments]", + "in": "query", + "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[appStoreVersionExperimentsV2]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of AppStoreVersions", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionsResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/relationships/appTags": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_appTags_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppAppTagsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/appTags": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_appTags_getToManyRelated", + "parameters": [ + { + "name": "filter[visibleInAppStore]", + "in": "query", + "description": "filter by attribute 'visibleInAppStore'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "-name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appTags]", + "in": "query", + "description": "the fields to include for returned resources of type appTags", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "visibleInAppStore", + "territories" ] } }, @@ -105236,13 +107596,22 @@ "items": { "type": "string", "enum": [ - "response", - "reviewTerritory" + "territories" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[territories]", + "in": "query", + "description": "maximum number of related territories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -105287,11 +107656,11 @@ } }, "200": { - "description": "List of CustomerReviews", + "description": "List of AppTags", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomerReviewsResponse" + "$ref": "#/components/schemas/AppTagsResponse" } } } @@ -105321,12 +107690,12 @@ } ] }, - "/v1/apps/{id}/relationships/endUserLicenseAgreement": { + "/v1/apps/{id}/relationships/assetLibrary": { "get": { "tags": [ "Apps" ], - "operationId": "apps_endUserLicenseAgreement_getToOneRelationship", + "operationId": "apps_assetLibrary_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -105374,7 +107743,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppEndUserLicenseAgreementLinkageResponse" + "$ref": "#/components/schemas/AppAssetLibraryLinkageResponse" } } } @@ -105404,25 +107773,24 @@ } ] }, - "/v1/apps/{id}/endUserLicenseAgreement": { + "/v1/apps/{id}/assetLibrary": { "get": { "tags": [ "Apps" ], - "operationId": "apps_endUserLicenseAgreement_getToOneRelated", + "operationId": "apps_assetLibrary_getToOneRelated", "parameters": [ { - "name": "fields[endUserLicenseAgreements]", + "name": "fields[appAssetLibraries]", "in": "query", - "description": "the fields to include for returned resources of type endUserLicenseAgreements", + "description": "the fields to include for returned resources of type appAssetLibraries", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "agreementText", - "app", - "territories" + "images", + "videos" ] } }, @@ -105472,11 +107840,11 @@ } }, "200": { - "description": "Single EndUserLicenseAgreement with get", + "description": "Single AppAssetLibrary", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EndUserLicenseAgreementWithoutIncludesResponse" + "$ref": "#/components/schemas/AppAssetLibraryResponse" } } } @@ -105506,13 +107874,24 @@ } ] }, - "/v1/apps/{id}/relationships/gameCenterDetail": { + "/v1/apps/{id}/relationships/backgroundAssets": { "get": { "tags": [ "Apps" ], - "operationId": "apps_gameCenterDetail_getToOneRelationship", - "parameters": [], + "operationId": "apps_backgroundAssets_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -105555,11 +107934,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppGameCenterDetailLinkageResponse" + "$ref": "#/components/schemas/AppBackgroundAssetsLinkagesResponse" } } } @@ -105589,46 +107968,108 @@ } ] }, - "/v1/apps/{id}/gameCenterDetail": { + "/v1/apps/{id}/backgroundAssets": { "get": { "tags": [ "Apps" ], - "operationId": "apps_gameCenterDetail_getToOneRelated", + "operationId": "apps_backgroundAssets_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterDetails]", + "name": "filter[archived]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "filter by attribute 'archived'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[assetPackIdentifier]", + "in": "query", + "description": "filter by attribute 'assetPackIdentifier'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[versions.locale]", + "in": "query", + "description": "filter by attribute 'versions.locale'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[versions.platforms]", + "in": "query", + "description": "filter by attribute 'versions.platforms'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "arcadeEnabled", - "challengeEnabled", + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetPackIdentifier", + "-assetPackIdentifier", + "createdDate", + "-createdDate" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[backgroundAssets]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "archived", + "assetPackIdentifier", + "createdDate", + "usedBytes", "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" + "versions", + "appStoreVersion", + "internalBetaVersion", + "externalBetaVersion" ] } }, @@ -105695,6 +108136,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -105707,17 +108149,27 @@ "explode": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "fields[backgroundAssetVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "the fields to include for returned resources of type backgroundAssetVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" + "createdDate", + "platforms", + "state", + "stateDetails", + "version", + "locale", + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile", + "backgroundAssetUploadFiles" ] } }, @@ -105725,331 +108177,228 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "fields[gameCenterLeaderboards]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" + "app", + "appStoreVersion", + "internalBetaVersion", + "externalBetaVersion" ] } }, "style": "form", "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases", - "versions" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity", - "versions" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[gameCenterChallenges]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] + "200": { + "description": "List of BackgroundAssets", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackgroundAssetsResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[gameCenterAchievementReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterAchievement" - ] + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/relationships/betaAppLocalizations": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_betaAppLocalizations_getToManyRelationship", + "parameters": [ { - "name": "fields[gameCenterActivityVersionReleases]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "fields[gameCenterChallengeVersionReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboard" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[gameCenterLeaderboardSetReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboardSet" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppBetaAppLocalizationsLinkagesResponse" + } } - }, - "style": "form", - "explode": false + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/betaAppLocalizations": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_betaAppLocalizations_getToManyRelated", + "parameters": [ { - "name": "include", + "name": "fields[betaAppLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type betaAppLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "challengesMinimumPlatformVersions" + "feedbackEmail", + "marketingUrl", + "privacyPolicyUrl", + "tvOsPrivacyPolicy", + "description", + "locale", + "app" ] } }, @@ -106057,160 +108406,12 @@ "explode": false }, { - "name": "limit[gameCenterAppVersions]", - "in": "query", - "description": "maximum number of related gameCenterAppVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardSetsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterAchievements]", - "in": "query", - "description": "maximum number of related gameCenterAchievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterAchievementsV2]", - "in": "query", - "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterActivities]", - "in": "query", - "description": "maximum number of related gameCenterActivities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterChallenges]", - "in": "query", - "description": "maximum number of related gameCenterChallenges returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[achievementReleases]", - "in": "query", - "description": "maximum number of related achievementReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[activityReleases]", - "in": "query", - "description": "maximum number of related activityReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[challengeReleases]", - "in": "query", - "description": "maximum number of related challengeReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[leaderboardReleases]", - "in": "query", - "description": "maximum number of related leaderboardReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[leaderboardSetReleases]", - "in": "query", - "description": "maximum number of related leaderboardSetReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[challengesMinimumPlatformVersions]", + "name": "limit", "in": "query", - "description": "maximum number of related challengesMinimumPlatformVersions returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" } @@ -106257,11 +108458,11 @@ } }, "200": { - "description": "Single GameCenterDetail", + "description": "List of BetaAppLocalizations with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailResponse" + "$ref": "#/components/schemas/BetaAppLocalizationsWithoutIncludesResponse" } } } @@ -106291,25 +108492,13 @@ } ] }, - "/v1/apps/{id}/relationships/gameCenterEnabledVersions": { + "/v1/apps/{id}/relationships/betaAppReviewDetail": { "get": { "tags": [ "Apps" ], - "operationId": "apps_gameCenterEnabledVersions_getToManyRelationship", - "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "operationId": "apps_betaAppReviewDetail_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -106352,11 +108541,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppGameCenterEnabledVersionsLinkagesResponse" + "$ref": "#/components/schemas/AppBetaAppReviewDetailLinkageResponse" } } } @@ -106386,204 +108575,36 @@ } ] }, - "/v1/apps/{id}/gameCenterEnabledVersions": { + "/v1/apps/{id}/betaAppReviewDetail": { "get": { "tags": [ "Apps" ], - "operationId": "apps_gameCenterEnabledVersions_getToManyRelated", - "deprecated": true, + "operationId": "apps_betaAppReviewDetail_getToOneRelated", "parameters": [ { - "name": "filter[platform]", - "in": "query", - "description": "filter by attribute 'platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[versionString]", - "in": "query", - "description": "filter by attribute 'versionString'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "versionString", - "-versionString" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterEnabledVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterEnabledVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "iconAsset", - "compatibleVersions", - "app" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[betaAppReviewDetails]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type betaAppReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "compatibleVersions", + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", "app" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[compatibleVersions]", - "in": "query", - "description": "maximum number of related compatibleVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true } ], "responses": { @@ -106628,11 +108649,11 @@ } }, "200": { - "description": "List of GameCenterEnabledVersions", + "description": "Single BetaAppReviewDetail with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionsResponse" + "$ref": "#/components/schemas/BetaAppReviewDetailWithoutIncludesResponse" } } } @@ -106662,13 +108683,12 @@ } ] }, - "/v1/apps/{id}/relationships/inAppPurchases": { + "/v1/apps/{id}/relationships/betaFeedbackCrashSubmissions": { "get": { "tags": [ "Apps" ], - "operationId": "apps_inAppPurchases_getToManyRelationship", - "deprecated": true, + "operationId": "apps_betaFeedbackCrashSubmissions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -106727,7 +108747,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInAppPurchasesLinkagesResponse" + "$ref": "#/components/schemas/AppBetaFeedbackCrashSubmissionsLinkagesResponse" } } } @@ -106757,28 +108777,52 @@ } ] }, - "/v1/apps/{id}/inAppPurchases": { + "/v1/apps/{id}/betaFeedbackCrashSubmissions": { "get": { "tags": [ "Apps" ], - "operationId": "apps_inAppPurchases_getToManyRelated", - "deprecated": true, + "operationId": "apps_betaFeedbackCrashSubmissions_getToManyRelated", "parameters": [ { - "name": "filter[inAppPurchaseType]", + "name": "filter[deviceModel]", "in": "query", - "description": "filter by attribute 'inAppPurchaseType'", + "description": "filter by attribute 'deviceModel'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[osVersion]", + "in": "query", + "description": "filter by attribute 'osVersion'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appPlatform]", + "in": "query", + "description": "filter by attribute 'appPlatform'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "AUTOMATICALLY_RENEWABLE_SUBSCRIPTION", - "NON_CONSUMABLE", - "CONSUMABLE", - "NON_RENEWING_SUBSCRIPTION", - "FREE_SUBSCRIPTION" + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" ] } }, @@ -106786,9 +108830,54 @@ "explode": false }, { - "name": "filter[canBeSubmitted]", + "name": "filter[devicePlatform]", "in": "query", - "description": "filter by canBeSubmitted", + "description": "filter by attribute 'devicePlatform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[build]", + "in": "query", + "description": "filter by id(s) of related 'build'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[build.preReleaseVersion]", + "in": "query", + "description": "filter by id(s) of related 'build.preReleaseVersion'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[tester]", + "in": "query", + "description": "filter by id(s) of related 'tester'", "schema": { "type": "array", "items": { @@ -106807,12 +108896,8 @@ "items": { "type": "string", "enum": [ - "referenceName", - "-referenceName", - "productId", - "-productId", - "inAppPurchaseType", - "-inAppPurchaseType" + "createdDate", + "-createdDate" ] } }, @@ -106820,19 +108905,37 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[betaFeedbackCrashSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type betaFeedbackCrashSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "productId", - "inAppPurchaseType", - "state", - "apps" + "createdDate", + "comment", + "email", + "deviceModel", + "osVersion", + "locale", + "timeZone", + "architecture", + "connectionType", + "pairedAppleWatch", + "appUptimeInMilliseconds", + "diskBytesAvailable", + "diskBytesTotal", + "batteryPercentage", + "screenWidthInPoints", + "screenHeightInPoints", + "appPlatform", + "devicePlatform", + "deviceFamily", + "buildBundleId", + "crashLog", + "build", + "tester" ] } }, @@ -106840,70 +108943,64 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[betaTesters]", + "in": "query", + "description": "the fields to include for returned resources of type betaTesters", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" ] } }, @@ -106929,22 +109026,13 @@ "items": { "type": "string", "enum": [ - "apps" + "build", + "tester" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[apps]", - "in": "query", - "description": "maximum number of related apps returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -106989,11 +109077,11 @@ } }, "200": { - "description": "List of InAppPurchases", + "description": "List of BetaFeedbackCrashSubmissions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasesResponse" + "$ref": "#/components/schemas/BetaFeedbackCrashSubmissionsResponse" } } } @@ -107023,12 +109111,12 @@ } ] }, - "/v1/apps/{id}/relationships/inAppPurchasesV2": { + "/v1/apps/{id}/relationships/betaFeedbackScreenshotSubmissions": { "get": { "tags": [ "Apps" ], - "operationId": "apps_inAppPurchasesV2_getToManyRelationship", + "operationId": "apps_betaFeedbackScreenshotSubmissions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -107087,7 +109175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppInAppPurchasesV2LinkagesResponse" + "$ref": "#/components/schemas/AppBetaFeedbackScreenshotSubmissionsLinkagesResponse" } } } @@ -107117,17 +109205,17 @@ } ] }, - "/v1/apps/{id}/inAppPurchasesV2": { + "/v1/apps/{id}/betaFeedbackScreenshotSubmissions": { "get": { "tags": [ "Apps" ], - "operationId": "apps_inAppPurchasesV2_getToManyRelated", + "operationId": "apps_betaFeedbackScreenshotSubmissions_getToManyRelated", "parameters": [ { - "name": "filter[productId]", + "name": "filter[deviceModel]", "in": "query", - "description": "filter by attribute 'productId'", + "description": "filter by attribute 'deviceModel'", "schema": { "type": "array", "items": { @@ -107138,9 +109226,9 @@ "explode": false }, { - "name": "filter[name]", + "name": "filter[osVersion]", "in": "query", - "description": "filter by attribute 'name'", + "description": "filter by attribute 'osVersion'", "schema": { "type": "array", "items": { @@ -107151,26 +109239,18 @@ "explode": false }, { - "name": "filter[state]", + "name": "filter[appPlatform]", "in": "query", - "description": "filter by attribute 'state'", + "description": "filter by attribute 'appPlatform'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "MISSING_METADATA", - "WAITING_FOR_UPLOAD", - "PROCESSING_CONTENT", - "READY_TO_SUBMIT", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "DEVELOPER_ACTION_NEEDED", - "PENDING_BINARY_APPROVAL", - "APPROVED", - "DEVELOPER_REMOVED_FROM_SALE", - "REMOVED_FROM_SALE", - "REJECTED" + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" ] } }, @@ -107178,17 +109258,18 @@ "explode": false }, { - "name": "filter[inAppPurchaseType]", + "name": "filter[devicePlatform]", "in": "query", - "description": "filter by attribute 'inAppPurchaseType'", + "description": "filter by attribute 'devicePlatform'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "CONSUMABLE", - "NON_CONSUMABLE", - "NON_RENEWING_SUBSCRIPTION" + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" ] } }, @@ -107196,169 +109277,55 @@ "explode": false }, { - "name": "sort", + "name": "filter[build]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "filter by id(s) of related 'build'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "name", - "-name", - "inAppPurchaseType", - "-inAppPurchaseType" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "filter[build.preReleaseVersion]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "filter by id(s) of related 'build.preReleaseVersion'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "locale", - "description", - "state", - "inAppPurchaseV2" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseContents]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileName", - "fileSize", - "url", - "lastModifiedDate", - "inAppPurchaseV2" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "inAppPurchaseV2" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[inAppPurchasePriceSchedules]", + "name": "filter[tester]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", + "description": "filter by id(s) of related 'tester'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "baseTerritory", - "manualPrices", - "automaticPrices" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[inAppPurchaseAvailabilities]", + "name": "sort", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories" + "createdDate", + "-createdDate" ] } }, @@ -107366,22 +109333,37 @@ "explode": false }, { - "name": "fields[inAppPurchaseImages]", + "name": "fields[betaFeedbackScreenshotSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseImages", + "description": "the fields to include for returned resources of type betaFeedbackScreenshotSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "assetToken", - "imageAsset", - "uploadOperations", - "state", - "inAppPurchase" + "createdDate", + "comment", + "email", + "deviceModel", + "osVersion", + "locale", + "timeZone", + "architecture", + "connectionType", + "pairedAppleWatch", + "appUptimeInMilliseconds", + "diskBytesAvailable", + "diskBytesTotal", + "batteryPercentage", + "screenWidthInPoints", + "screenHeightInPoints", + "appPlatform", + "devicePlatform", + "deviceFamily", + "buildBundleId", + "screenshots", + "build", + "tester" ] } }, @@ -107389,22 +109371,40 @@ "explode": false }, { - "name": "fields[inAppPurchaseOfferCodes]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodes", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "customerEligibilities", - "productionCodeCount", - "sandboxCodeCount", - "active", - "oneTimeUseCodes", - "customCodes", - "prices" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -107412,20 +109412,23 @@ "explode": false }, { - "name": "fields[inAppPurchaseVersions]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseVersions", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", + "firstName", + "lastName", + "email", + "inviteType", "state", - "inAppPurchase", - "image", - "images", - "localizations" + "appDevices", + "apps", + "betaGroups", + "builds" ] } }, @@ -107451,60 +109454,13 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseLocalizations", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "build", + "tester" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[inAppPurchaseLocalizations]", - "in": "query", - "description": "maximum number of related inAppPurchaseLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[images]", - "in": "query", - "description": "maximum number of related images returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[offerCodes]", - "in": "query", - "description": "maximum number of related offerCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -107549,11 +109505,11 @@ } }, "200": { - "description": "List of InAppPurchases", + "description": "List of BetaFeedbackScreenshotSubmissions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasesV2Response" + "$ref": "#/components/schemas/BetaFeedbackScreenshotSubmissionsResponse" } } } @@ -107583,13 +109539,24 @@ } ] }, - "/v1/apps/{id}/relationships/marketplaceSearchDetail": { + "/v1/apps/{id}/relationships/betaGroups": { "get": { "tags": [ "Apps" ], - "operationId": "apps_marketplaceSearchDetail_getToOneRelationship", - "parameters": [], + "operationId": "apps_betaGroups_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -107632,11 +109599,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppMarketplaceSearchDetailLinkageResponse" + "$ref": "#/components/schemas/AppBetaGroupsLinkagesResponse" } } } @@ -107666,28 +109633,54 @@ } ] }, - "/v1/apps/{id}/marketplaceSearchDetail": { + "/v1/apps/{id}/betaGroups": { "get": { "tags": [ "Apps" ], - "operationId": "apps_marketplaceSearchDetail_getToOneRelated", + "operationId": "apps_betaGroups_getToManyRelated", "parameters": [ { - "name": "fields[marketplaceSearchDetails]", + "name": "fields[betaGroups]", "in": "query", - "description": "the fields to include for returned resources of type marketplaceSearchDetails", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "catalogUrl" + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -107732,11 +109725,11 @@ } }, "200": { - "description": "Single MarketplaceSearchDetail", + "description": "List of BetaGroups with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MarketplaceSearchDetailResponse" + "$ref": "#/components/schemas/BetaGroupsWithoutIncludesResponse" } } } @@ -107766,66 +109759,13 @@ } ] }, - "/v1/apps/{id}/perfPowerMetrics": { + "/v1/apps/{id}/relationships/betaLicenseAgreement": { "get": { "tags": [ "Apps" ], - "operationId": "apps_perfPowerMetrics_getToManyRelated", - "parameters": [ - { - "name": "filter[platform]", - "in": "query", - "description": "filter by attribute 'platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[metricType]", - "in": "query", - "description": "filter by attribute 'metricType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "DISK", - "HANG", - "BATTERY", - "LAUNCH", - "MEMORY", - "ANIMATION", - "TERMINATION", - "STORAGE" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[deviceType]", - "in": "query", - "description": "filter by attribute 'deviceType'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - } - ], + "operationId": "apps_betaLicenseAgreement_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -107868,11 +109808,11 @@ } }, "200": { - "description": "List of PerfPowerMetrics", + "description": "Related linkage", "content": { - "application/vnd.apple.xcode-metrics+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/xcodeMetrics" + "$ref": "#/components/schemas/AppBetaLicenseAgreementLinkageResponse" } } } @@ -107902,21 +109842,25 @@ } ] }, - "/v1/apps/{id}/performanceOverviews": { + "/v1/apps/{id}/betaLicenseAgreement": { "get": { "tags": [ "Apps" ], - "operationId": "apps_performanceOverviews_getToManyRelated", + "operationId": "apps_betaLicenseAgreement_getToOneRelated", "parameters": [ { - "name": "filter[deviceType]", + "name": "fields[betaLicenseAgreements]", "in": "query", - "description": "filter by attribute 'deviceType'", + "description": "the fields to include for returned resources of type betaLicenseAgreements", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "agreementText", + "app" + ] } }, "style": "form", @@ -107965,11 +109909,11 @@ } }, "200": { - "description": "List of PerformanceOverviews", + "description": "Single BetaLicenseAgreement with get", "content": { - "application/vnd.apple.xcode-overview+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/xcodeOverview" + "$ref": "#/components/schemas/BetaLicenseAgreementWithoutIncludesResponse" } } } @@ -107999,24 +109943,23 @@ } ] }, - "/v1/apps/{id}/relationships/preReleaseVersions": { - "get": { + "/v1/apps/{id}/relationships/betaTesters": { + "delete": { "tags": [ "Apps" ], - "operationId": "apps_preReleaseVersions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "operationId": "apps_betaTesters_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppBetaTestersLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -108058,16 +110001,32 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPreReleaseVersionsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "202": { + "description": "Accepted for future completion" + }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -108093,32 +110052,13 @@ } ] }, - "/v1/apps/{id}/preReleaseVersions": { + "/v1/apps/{id}/relationships/buildUploads": { "get": { "tags": [ "Apps" ], - "operationId": "apps_preReleaseVersions_getToManyRelated", + "operationId": "apps_buildUploads_getToManyRelationship", "parameters": [ - { - "name": "fields[preReleaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "platform", - "builds", - "app" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -108172,11 +110112,11 @@ } }, "200": { - "description": "List of PreReleaseVersions with get", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PreReleaseVersionsWithoutIncludesResponse" + "$ref": "#/components/schemas/AppBuildUploadsLinkagesResponse" } } } @@ -108206,13 +110146,180 @@ } ] }, - "/v1/apps/{id}/relationships/promotedPurchases": { + "/v1/apps/{id}/buildUploads": { "get": { "tags": [ "Apps" ], - "operationId": "apps_promotedPurchases_getToManyRelationship", + "operationId": "apps_buildUploads_getToManyRelated", "parameters": [ + { + "name": "filter[cfBundleShortVersionString]", + "in": "query", + "description": "filter by attribute 'cfBundleShortVersionString'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[cfBundleVersion]", + "in": "query", + "description": "filter by attribute 'cfBundleVersion'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[state]", + "in": "query", + "description": "filter by state", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "cfBundleVersion", + "-cfBundleVersion", + "uploadedDate", + "-uploadedDate" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildUploads]", + "in": "query", + "description": "the fields to include for returned resources of type buildUploads", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "cfBundleShortVersionString", + "cfBundleVersion", + "createdDate", + "state", + "platform", + "uploadedDate", + "build", + "assetFile", + "assetDescriptionFile", + "assetSpiFile", + "buildUploadFiles" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildUploadFiles]", + "in": "query", + "description": "the fields to include for returned resources of type buildUploadFiles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "sourceFileChecksums", + "uploadOperations", + "uti" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -108222,6 +110329,25 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "build", + "assetFile", + "assetDescriptionFile", + "assetSpiFile" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -108266,11 +110392,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "List of BuildUploads", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppPromotedPurchasesLinkagesResponse" + "$ref": "#/components/schemas/BuildUploadsResponse" } } } @@ -108287,22 +110413,37 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/relationships/builds": { + "get": { "tags": [ "Apps" ], - "operationId": "apps_promotedPurchases_replaceToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppPromotedPurchasesLinkagesRequest" - } - } - }, - "required": true - }, + "operationId": "apps_builds_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -108344,29 +110485,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppBuildsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -108392,97 +110520,48 @@ } ] }, - "/v1/apps/{id}/promotedPurchases": { + "/v1/apps/{id}/builds": { "get": { "tags": [ "Apps" ], - "operationId": "apps_promotedPurchases_getToManyRelated", + "operationId": "apps_builds_getToManyRelated", "parameters": [ { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptions]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -108498,23 +110577,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchaseV2", - "subscription" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -108559,11 +110621,11 @@ } }, "200": { - "description": "List of PromotedPurchases", + "description": "List of Builds with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchasesResponse" + "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" } } } @@ -108593,24 +110655,13 @@ } ] }, - "/v1/apps/{id}/relationships/reviewSubmissions": { + "/v1/apps/{id}/relationships/ciProduct": { "get": { "tags": [ "Apps" ], - "operationId": "apps_reviewSubmissions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "operationId": "apps_ciProduct_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -108653,11 +110704,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppReviewSubmissionsLinkagesResponse" + "$ref": "#/components/schemas/AppCiProductLinkageResponse" } } } @@ -108687,71 +110738,31 @@ } ] }, - "/v1/apps/{id}/reviewSubmissions": { + "/v1/apps/{id}/ciProduct": { "get": { "tags": [ "Apps" ], - "operationId": "apps_reviewSubmissions_getToManyRelated", + "operationId": "apps_ciProduct_getToOneRelated", "parameters": [ { - "name": "filter[platform]", - "in": "query", - "description": "filter by attribute 'platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[state]", - "in": "query", - "description": "filter by attribute 'state'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "UNRESOLVED_ISSUES", - "CANCELING", - "COMPLETING", - "COMPLETE" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[reviewSubmissions]", + "name": "fields[ciProducts]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "submittedDate", - "state", + "name", + "createdDate", + "productType", "app", - "items", - "appStoreVersionForReview", - "submittedByActor", - "lastUpdatedByActor" + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -108818,6 +110829,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -108830,29 +110842,21 @@ "explode": false }, { - "name": "fields[reviewSubmissionItems]", + "name": "fields[bundleIds]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "appStoreVersion", - "appCustomProductPageVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appEvent", - "backgroundAssetVersion", - "gameCenterAchievementVersion", - "gameCenterActivityVersion", - "gameCenterChallengeVersion", - "gameCenterLeaderboardSetVersion", - "gameCenterLeaderboardVersion", - "inAppPurchaseVersion", - "subscriptionVersion", - "subscriptionGroupVersion" + "name", + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -108860,38 +110864,23 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -108899,49 +110888,17 @@ "explode": false }, { - "name": "fields[actors]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type actors", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "actorType", - "userFirstName", - "userLastName", - "userEmail", - "apiKeyId" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ "app", - "items", - "appStoreVersionForReview", - "submittedByActor", - "lastUpdatedByActor" + "bundleId", + "primaryRepositories" ] } }, @@ -108949,9 +110906,9 @@ "explode": false }, { - "name": "limit[items]", + "name": "limit[primaryRepositories]", "in": "query", - "description": "maximum number of related items returned (when they are included)", + "description": "maximum number of related primaryRepositories returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -109001,11 +110958,11 @@ } }, "200": { - "description": "List of ReviewSubmissions", + "description": "Single CiProduct", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionsResponse" + "$ref": "#/components/schemas/CiProductResponse" } } } @@ -109035,111 +110992,37 @@ } ] }, - "/v1/apps/{id}/relationships/searchKeywords": { + "/v1/apps/{id}/customerReviewSummarizations": { "get": { "tags": [ "Apps" ], - "operationId": "apps_searchKeywords_getToManyRelationship", + "operationId": "apps_customerReviewSummarizations_getToManyRelated", "parameters": [ { - "name": "limit", + "name": "filter[platform]", "in": "query", - "description": "maximum resources per page", + "description": "filter by attribute 'platform'", "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppSearchKeywordsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false, + "required": true }, - "style": "simple", - "required": true - } - ] - }, - "/v1/apps/{id}/searchKeywords": { - "get": { - "tags": [ - "Apps" - ], - "operationId": "apps_searchKeywords_getToManyRelated", - "parameters": [ { - "name": "filter[platform]", + "name": "filter[territory]", "in": "query", - "description": "filter by platform", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { @@ -109150,27 +111033,36 @@ "explode": false }, { - "name": "filter[locale]", + "name": "fields[customerReviewSummarizations]", "in": "query", - "description": "filter by locale", + "description": "the fields to include for returned resources of type customerReviewSummarizations", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "createdDate", + "locale", + "platform", + "text", + "territory" + ] } }, "style": "form", "explode": false }, { - "name": "fields[appKeywords]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type appKeywords", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", - "enum": [] + "enum": [ + "currency" + ] } }, "style": "form", @@ -109185,187 +111077,17 @@ "maximum": 200 }, "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of AppKeywords", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppKeywordsResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/apps/{id}/relationships/subscriptionGracePeriod": { - "get": { - "tags": [ - "Apps" - ], - "operationId": "apps_subscriptionGracePeriod_getToOneRelationship", - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppSubscriptionGracePeriodLinkageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" }, - "style": "simple", - "required": true - } - ] - }, - "/v1/apps/{id}/subscriptionGracePeriod": { - "get": { - "tags": [ - "Apps" - ], - "operationId": "apps_subscriptionGracePeriod_getToOneRelated", - "parameters": [ { - "name": "fields[subscriptionGracePeriods]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "optIn", - "sandboxOptIn", - "duration", - "renewalType" + "territory" ] } }, @@ -109415,11 +111137,11 @@ } }, "200": { - "description": "Single SubscriptionGracePeriod", + "description": "List of CustomerReviewSummarizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" + "$ref": "#/components/schemas/CustomerReviewSummarizationsResponse" } } } @@ -109449,12 +111171,12 @@ } ] }, - "/v1/apps/{id}/relationships/subscriptionGroups": { + "/v1/apps/{id}/relationships/customerReviews": { "get": { "tags": [ "Apps" ], - "operationId": "apps_subscriptionGroups_getToManyRelationship", + "operationId": "apps_customerReviews_getToManyRelationship", "parameters": [ { "name": "limit", @@ -109513,7 +111235,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppSubscriptionGroupsLinkagesResponse" + "$ref": "#/components/schemas/AppCustomerReviewsLinkagesResponse" } } } @@ -109543,81 +111265,310 @@ } ] }, - "/v1/apps/{id}/subscriptionGroups": { + "/v1/apps/{id}/customerReviews": { "get": { "tags": [ "Apps" ], - "operationId": "apps_subscriptionGroups_getToManyRelated", + "operationId": "apps_customerReviews_getToManyRelated", "parameters": [ { - "name": "filter[referenceName]", + "name": "filter[territory]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'territory'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "ABW", + "AFG", + "AGO", + "AIA", + "ALB", + "AND", + "ANT", + "ARE", + "ARG", + "ARM", + "ASM", + "ATG", + "AUS", + "AUT", + "AZE", + "BDI", + "BEL", + "BEN", + "BES", + "BFA", + "BGD", + "BGR", + "BHR", + "BHS", + "BIH", + "BLR", + "BLZ", + "BMU", + "BOL", + "BRA", + "BRB", + "BRN", + "BTN", + "BWA", + "CAF", + "CAN", + "CHE", + "CHL", + "CHN", + "CIV", + "CMR", + "COD", + "COG", + "COK", + "COL", + "COM", + "CPV", + "CRI", + "CUB", + "CUW", + "CXR", + "CYM", + "CYP", + "CZE", + "DEU", + "DJI", + "DMA", + "DNK", + "DOM", + "DZA", + "ECU", + "EGY", + "ERI", + "ESP", + "EST", + "ETH", + "FIN", + "FJI", + "FLK", + "FRA", + "FRO", + "FSM", + "GAB", + "GBR", + "GEO", + "GGY", + "GHA", + "GIB", + "GIN", + "GLP", + "GMB", + "GNB", + "GNQ", + "GRC", + "GRD", + "GRL", + "GTM", + "GUF", + "GUM", + "GUY", + "HKG", + "HND", + "HRV", + "HTI", + "HUN", + "IDN", + "IMN", + "IND", + "IRL", + "IRQ", + "ISL", + "ISR", + "ITA", + "JAM", + "JEY", + "JOR", + "JPN", + "KAZ", + "KEN", + "KGZ", + "KHM", + "KIR", + "KNA", + "KOR", + "KWT", + "LAO", + "LBN", + "LBR", + "LBY", + "LCA", + "LIE", + "LKA", + "LSO", + "LTU", + "LUX", + "LVA", + "MAC", + "MAR", + "MCO", + "MDA", + "MDG", + "MDV", + "MEX", + "MHL", + "MKD", + "MLI", + "MLT", + "MMR", + "MNE", + "MNG", + "MNP", + "MOZ", + "MRT", + "MSR", + "MTQ", + "MUS", + "MWI", + "MYS", + "MYT", + "NAM", + "NCL", + "NER", + "NFK", + "NGA", + "NIC", + "NIU", + "NLD", + "NOR", + "NPL", + "NRU", + "NZL", + "OMN", + "PAK", + "PAN", + "PER", + "PHL", + "PLW", + "PNG", + "POL", + "PRI", + "PRT", + "PRY", + "PSE", + "PYF", + "QAT", + "REU", + "ROU", + "RUS", + "RWA", + "SAU", + "SEN", + "SGP", + "SHN", + "SLB", + "SLE", + "SLV", + "SMR", + "SOM", + "SPM", + "SRB", + "SSD", + "STP", + "SUR", + "SVK", + "SVN", + "SWE", + "SWZ", + "SXM", + "SYC", + "TCA", + "TCD", + "TGO", + "THA", + "TJK", + "TKM", + "TLS", + "TON", + "TTO", + "TUN", + "TUR", + "TUV", + "TWN", + "TZA", + "UGA", + "UKR", + "UMI", + "URY", + "USA", + "UZB", + "VAT", + "VCT", + "VEN", + "VGB", + "VIR", + "VNM", + "VUT", + "WLF", + "WSM", + "XKS", + "YEM", + "ZAF", + "ZMB", + "ZWE" + ] } }, "style": "form", "explode": false }, { - "name": "filter[subscriptions.state]", + "name": "filter[rating]", "in": "query", - "description": "filter by attribute 'subscriptions.state'", + "description": "filter by attribute 'rating'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "MISSING_METADATA", - "READY_TO_SUBMIT", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "DEVELOPER_ACTION_NEEDED", - "PENDING_BINARY_APPROVAL", - "APPROVED", - "DEVELOPER_REMOVED_FROM_SALE", - "REMOVED_FROM_SALE", - "REJECTED" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "sort", + "name": "filter[reviewTerritory]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "filter by id(s) of related 'reviewTerritory'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "referenceName", - "-referenceName" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[subscriptionGroups]", + "name": "exists[publishedResponse]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "filter by publishedResponse", + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", - "versions" + "rating", + "-rating", + "createdDate", + "-createdDate" ] } }, @@ -109625,37 +111576,22 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[customerReviews]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type customerReviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "rating", + "title", + "body", + "reviewerNickname", + "createdDate", + "territory", + "response", + "reviewTerritory" ] } }, @@ -109663,19 +111599,18 @@ "explode": false }, { - "name": "fields[subscriptionGroupLocalizations]", + "name": "fields[customerReviewResponses]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "the fields to include for returned resources of type customerReviewResponses", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "customAppName", - "locale", + "responseBody", + "lastModifiedDate", "state", - "subscriptionGroup" + "review" ] } }, @@ -109683,18 +111618,15 @@ "explode": false }, { - "name": "fields[subscriptionGroupVersions]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupVersions", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "subscriptionGroup", - "localizations" + "currency" ] } }, @@ -109720,44 +111652,13 @@ "items": { "type": "string", "enum": [ - "subscriptions", - "subscriptionGroupLocalizations", - "versions" + "response", + "reviewTerritory" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[subscriptions]", - "in": "query", - "description": "maximum number of related subscriptions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[subscriptionGroupLocalizations]", - "in": "query", - "description": "maximum number of related subscriptionGroupLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -109802,11 +111703,11 @@ } }, "200": { - "description": "List of SubscriptionGroups", + "description": "List of CustomerReviews", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupsResponse" + "$ref": "#/components/schemas/CustomerReviewsResponse" } } } @@ -109836,24 +111737,13 @@ } ] }, - "/v1/apps/{id}/relationships/webhooks": { + "/v1/apps/{id}/relationships/endUserLicenseAgreement": { "get": { "tags": [ "Apps" ], - "operationId": "apps_webhooks_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "operationId": "apps_endUserLicenseAgreement_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -109896,11 +111786,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppWebhooksLinkagesResponse" + "$ref": "#/components/schemas/AppEndUserLicenseAgreementLinkageResponse" } } } @@ -109930,125 +111820,25 @@ } ] }, - "/v1/apps/{id}/webhooks": { + "/v1/apps/{id}/endUserLicenseAgreement": { "get": { "tags": [ "Apps" ], - "operationId": "apps_webhooks_getToManyRelated", + "operationId": "apps_endUserLicenseAgreement_getToOneRelated", "parameters": [ { - "name": "fields[webhooks]", + "name": "fields[endUserLicenseAgreements]", "in": "query", - "description": "the fields to include for returned resources of type webhooks", + "description": "the fields to include for returned resources of type endUserLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "enabled", - "eventTypes", - "name", - "url", + "agreementText", "app", - "deliveries" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app" + "territories" ] } }, @@ -110098,11 +111888,11 @@ } }, "200": { - "description": "List of Webhooks", + "description": "Single EndUserLicenseAgreement with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WebhooksResponse" + "$ref": "#/components/schemas/EndUserLicenseAgreementWithoutIncludesResponse" } } } @@ -110132,24 +111922,13 @@ } ] }, - "/v1/backgroundAssetVersions/{id}/relationships/backgroundAssetUploadFiles": { + "/v1/apps/{id}/relationships/gameCenterDetail": { "get": { "tags": [ - "BackgroundAssetVersions" - ], - "operationId": "backgroundAssetVersions_backgroundAssetUploadFiles_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "Apps" ], + "operationId": "apps_gameCenterDetail_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -110192,11 +111971,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BackgroundAssetVersionBackgroundAssetUploadFilesLinkagesResponse" + "$ref": "#/components/schemas/AppGameCenterDetailLinkageResponse" } } } @@ -110226,30 +112005,46 @@ } ] }, - "/v1/backgroundAssetVersions/{id}/backgroundAssetUploadFiles": { + "/v1/apps/{id}/gameCenterDetail": { "get": { "tags": [ - "BackgroundAssetVersions" + "Apps" ], - "operationId": "backgroundAssetVersions_backgroundAssetUploadFiles_getToManyRelated", + "operationId": "apps_gameCenterDetail_getToOneRelated", "parameters": [ { - "name": "fields[backgroundAssetUploadFiles]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetUploadFiles", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "sourceFileChecksum", - "sourceFileChecksums", - "uploadOperations" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, @@ -110257,219 +112052,114 @@ "explode": false }, { - "name": "limit", + "name": "fields[apps]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type apps", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of BackgroundAssetUploadFiles", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetUploadFilesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/backgroundAssets/{id}/relationships/versions": { - "get": { - "tags": [ - "BackgroundAssets" - ], - "operationId": "backgroundAssets_versions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundAssetVersionsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/backgroundAssets/{id}/versions": { - "get": { - "tags": [ - "BackgroundAssets" - ], - "operationId": "backgroundAssets_versions_getToManyRelated", - "parameters": [ { - "name": "filter[locale]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "filter by attribute 'locale'", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] } }, "style": "form", "explode": false }, { - "name": "filter[platforms]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "filter by attribute 'platforms'", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -110477,18 +112167,37 @@ "explode": false }, { - "name": "filter[state]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "filter by attribute 'state'", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "AWAITING_UPLOAD", - "PROCESSING", - "FAILED", - "COMPLETE" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", + "versions" ] } }, @@ -110496,29 +112205,52 @@ "explode": false }, { - "name": "filter[version]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "filter by attribute 'version'", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases", + "versions" + ] } }, "style": "form", "explode": false }, { - "name": "filter[internalBetaRelease.state]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "filter by attribute 'internalBetaRelease.state'", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "READY_FOR_TESTING", - "SUPERSEDED" + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity", + "versions" ] } }, @@ -110526,21 +112258,29 @@ "explode": false }, { - "name": "filter[externalBetaRelease.state]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "filter by attribute 'externalBetaRelease.state'", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "READY_FOR_BETA_SUBMISSION", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "REJECTED", - "PROCESSING_FOR_TESTING", - "READY_FOR_TESTING", - "SUPERSEDED" + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" ] } }, @@ -110548,23 +112288,24 @@ "explode": false }, { - "name": "filter[appStoreRelease.state]", + "name": "fields[gameCenterChallenges]", "in": "query", - "description": "filter by attribute 'appStoreRelease.state'", + "description": "the fields to include for returned resources of type gameCenterChallenges", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PREPARE_FOR_SUBMISSION", - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "ACCEPTED", - "REJECTED", - "PROCESSING_FOR_DISTRIBUTION", - "READY_FOR_DISTRIBUTION", - "SUPERSEDED" + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" ] } }, @@ -110572,16 +112313,17 @@ "explode": false }, { - "name": "sort", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "-version" + "live", + "gameCenterDetail", + "gameCenterAchievement" ] } }, @@ -110589,27 +112331,15 @@ "explode": false }, { - "name": "fields[backgroundAssetVersions]", + "name": "fields[gameCenterActivityVersionReleases]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersions", + "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "createdDate", - "platforms", - "state", - "stateDetails", - "version", - "locale", - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile", - "backgroundAssetUploadFiles" + "version" ] } }, @@ -110617,23 +112347,15 @@ "explode": false }, { - "name": "fields[backgroundAssets]", + "name": "fields[gameCenterChallengeVersionReleases]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssets", + "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "assetPackIdentifier", - "createdDate", - "usedBytes", - "app", - "versions", - "appStoreVersion", - "internalBetaVersion", - "externalBetaVersion" + "version" ] } }, @@ -110641,16 +112363,17 @@ "explode": false }, { - "name": "fields[backgroundAssetVersionInternalBetaReleases]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersionInternalBetaReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "backgroundAssetVersion" + "live", + "gameCenterDetail", + "gameCenterLeaderboard" ] } }, @@ -110658,16 +112381,17 @@ "explode": false }, { - "name": "fields[backgroundAssetVersionExternalBetaReleases]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersionExternalBetaReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "backgroundAssetVersion" + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" ] } }, @@ -110675,16 +112399,38 @@ "explode": false }, { - "name": "fields[backgroundAssetVersionAppStoreReleases]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersionAppStoreReleases", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "state", - "backgroundAssetVersion" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -110692,22 +112438,35 @@ "explode": false }, { - "name": "fields[backgroundAssetUploadFiles]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetUploadFiles", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "sourceFileChecksum", - "sourceFileChecksums", - "uploadOperations" + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "challengesMinimumPlatformVersions" ] } }, @@ -110715,35 +112474,162 @@ "explode": false }, { - "name": "limit", + "name": "limit[gameCenterAppVersions]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related gameCenterAppVersions returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" }, { - "name": "include", + "name": "limit[gameCenterLeaderboards]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardSetsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterAchievements]", + "in": "query", + "description": "maximum number of related gameCenterAchievements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[gameCenterAchievementsV2]", + "in": "query", + "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterActivities]", + "in": "query", + "description": "maximum number of related gameCenterActivities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterChallenges]", + "in": "query", + "description": "maximum number of related gameCenterChallenges returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[achievementReleases]", + "in": "query", + "description": "maximum number of related achievementReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[activityReleases]", + "in": "query", + "description": "maximum number of related activityReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[challengeReleases]", + "in": "query", + "description": "maximum number of related challengeReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[leaderboardReleases]", + "in": "query", + "description": "maximum number of related leaderboardReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[leaderboardSetReleases]", + "in": "query", + "description": "maximum number of related leaderboardSetReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[challengesMinimumPlatformVersions]", + "in": "query", + "description": "maximum number of related challengesMinimumPlatformVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -110788,11 +112674,11 @@ } }, "200": { - "description": "List of BackgroundAssetVersions", + "description": "Single GameCenterDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BackgroundAssetVersionsResponse" + "$ref": "#/components/schemas/GameCenterDetailResponse" } } } @@ -110822,13 +112708,25 @@ } ] }, - "/v1/betaAppLocalizations/{id}/relationships/app": { + "/v1/apps/{id}/relationships/gameCenterEnabledVersions": { "get": { "tags": [ - "BetaAppLocalizations" + "Apps" + ], + "operationId": "apps_gameCenterEnabledVersions_getToManyRelationship", + "deprecated": true, + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "betaAppLocalizations_app_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -110871,11 +112769,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppLocalizationAppLinkageResponse" + "$ref": "#/components/schemas/AppGameCenterEnabledVersionsLinkagesResponse" } } } @@ -110905,13 +112803,96 @@ } ] }, - "/v1/betaAppLocalizations/{id}/app": { + "/v1/apps/{id}/gameCenterEnabledVersions": { "get": { "tags": [ - "BetaAppLocalizations" + "Apps" ], - "operationId": "betaAppLocalizations_app_getToOneRelated", + "operationId": "apps_gameCenterEnabledVersions_getToManyRelated", + "deprecated": true, "parameters": [ + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[versionString]", + "in": "query", + "description": "filter by attribute 'versionString'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "versionString", + "-versionString" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterEnabledVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterEnabledVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "iconAsset", + "compatibleVersions", + "app" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[apps]", "in": "query", @@ -110972,6 +112953,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -110982,6 +112964,44 @@ }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "compatibleVersions", + "app" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[compatibleVersions]", + "in": "query", + "description": "maximum number of related compatibleVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -111026,11 +113046,11 @@ } }, "200": { - "description": "Single App with get", + "description": "List of GameCenterEnabledVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppWithoutIncludesResponse" + "$ref": "#/components/schemas/GameCenterEnabledVersionsResponse" } } } @@ -111060,13 +113080,25 @@ } ] }, - "/v1/betaAppReviewDetails/{id}/relationships/app": { + "/v1/apps/{id}/relationships/inAppPurchases": { "get": { "tags": [ - "BetaAppReviewDetails" + "Apps" + ], + "operationId": "apps_inAppPurchases_getToManyRelationship", + "deprecated": true, + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "betaAppReviewDetails_app_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -111109,11 +113141,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewDetailAppLinkageResponse" + "$ref": "#/components/schemas/AppInAppPurchasesLinkagesResponse" } } } @@ -111143,13 +113175,88 @@ } ] }, - "/v1/betaAppReviewDetails/{id}/app": { + "/v1/apps/{id}/inAppPurchases": { "get": { "tags": [ - "BetaAppReviewDetails" + "Apps" ], - "operationId": "betaAppReviewDetails_app_getToOneRelated", + "operationId": "apps_inAppPurchases_getToManyRelated", + "deprecated": true, "parameters": [ + { + "name": "filter[inAppPurchaseType]", + "in": "query", + "description": "filter by attribute 'inAppPurchaseType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AUTOMATICALLY_RENEWABLE_SUBSCRIPTION", + "NON_CONSUMABLE", + "CONSUMABLE", + "NON_RENEWING_SUBSCRIPTION", + "FREE_SUBSCRIPTION" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[canBeSubmitted]", + "in": "query", + "description": "filter by canBeSubmitted", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "-referenceName", + "productId", + "-productId", + "inAppPurchaseType", + "-inAppPurchaseType" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "productId", + "inAppPurchaseType", + "state", + "apps" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[apps]", "in": "query", @@ -111210,6 +113317,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -111220,6 +113328,42 @@ }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "apps" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[apps]", + "in": "query", + "description": "maximum number of related apps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -111264,11 +113408,11 @@ } }, "200": { - "description": "Single App with get", + "description": "List of InAppPurchases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppWithoutIncludesResponse" + "$ref": "#/components/schemas/InAppPurchasesResponse" } } } @@ -111298,13 +113442,24 @@ } ] }, - "/v1/betaAppReviewSubmissions/{id}/relationships/build": { + "/v1/apps/{id}/relationships/inAppPurchasesV2": { "get": { "tags": [ - "BetaAppReviewSubmissions" + "Apps" + ], + "operationId": "apps_inAppPurchasesV2_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "betaAppReviewSubmissions_build_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -111347,11 +113502,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewSubmissionBuildLinkageResponse" + "$ref": "#/components/schemas/AppInAppPurchasesV2LinkagesResponse" } } } @@ -111381,261 +113536,394 @@ } ] }, - "/v1/betaAppReviewSubmissions/{id}/build": { + "/v1/apps/{id}/inAppPurchasesV2": { "get": { "tags": [ - "BetaAppReviewSubmissions" + "Apps" ], - "operationId": "betaAppReviewSubmissions_build_getToOneRelated", + "operationId": "apps_inAppPurchasesV2_getToManyRelated", "parameters": [ { - "name": "fields[builds]", + "name": "filter[productId]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "filter by attribute 'productId'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[name]", + "in": "query", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[state]", + "in": "query", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" + "MISSING_METADATA", + "WAITING_FOR_UPLOAD", + "PROCESSING_CONTENT", + "READY_TO_SUBMIT", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "DEVELOPER_ACTION_NEEDED", + "PENDING_BINARY_APPROVAL", + "APPROVED", + "DEVELOPER_REMOVED_FROM_SALE", + "REMOVED_FROM_SALE", + "REJECTED" ] } }, "style": "form", "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[inAppPurchaseType]", + "in": "query", + "description": "filter by attribute 'inAppPurchaseType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "CONSUMABLE", + "NON_CONSUMABLE", + "NON_RENEWING_SUBSCRIPTION" + ] } - } + }, + "style": "form", + "explode": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "-name", + "inAppPurchaseType", + "-inAppPurchaseType" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "Single Build with get", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildWithoutIncludesResponse" - } + { + "name": "fields[inAppPurchaseLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "locale", + "description", + "state", + "inAppPurchaseV2" + ] } - } + }, + "style": "form", + "explode": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchaseContents]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseContents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileName", + "fileSize", + "url", + "lastModifiedDate", + "inAppPurchaseV2" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/betaBuildLocalizations/{id}/relationships/build": { - "get": { - "tags": [ - "BetaBuildLocalizations" - ], - "operationId": "betaBuildLocalizations_build_getToOneRelationship", - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "inAppPurchaseV2" + ] } - } + }, + "style": "form", + "explode": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[promotedPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleForAllUsers", + "enabled", + "state", + "inAppPurchaseV2", + "subscription" + ] } - } + }, + "style": "form", + "explode": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchasePriceSchedules]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "baseTerritory", + "manualPrices", + "automaticPrices" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchaseAvailabilities]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "availableInNewTerritories", + "availableTerritories" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaBuildLocalizationBuildLinkageResponse" - } + { + "name": "fields[inAppPurchaseImages]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "state", + "inAppPurchase" + ] } - } + }, + "style": "form", + "explode": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchaseOfferCodes]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "customerEligibilities", + "productionCodeCount", + "sandboxCodeCount", + "active", + "oneTimeUseCodes", + "customCodes", + "prices" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/betaBuildLocalizations/{id}/build": { - "get": { - "tags": [ - "BetaBuildLocalizations" - ], - "operationId": "betaBuildLocalizations_build_getToOneRelated", - "parameters": [ { - "name": "fields[builds]", + "name": "fields[inAppPurchaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type inAppPurchaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" + "state", + "inAppPurchase", + "image", + "images", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchaseLocalizations", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[inAppPurchaseLocalizations]", + "in": "query", + "description": "maximum number of related inAppPurchaseLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[images]", + "in": "query", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[offerCodes]", + "in": "query", + "description": "maximum number of related offerCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -111680,11 +113968,11 @@ } }, "200": { - "description": "Single Build with get", + "description": "List of InAppPurchases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildWithoutIncludesResponse" + "$ref": "#/components/schemas/InAppPurchasesV2Response" } } } @@ -111714,12 +114002,12 @@ } ] }, - "/v1/betaFeedbackCrashSubmissions/{id}/relationships/crashLog": { + "/v1/apps/{id}/relationships/marketplaceSearchDetail": { "get": { "tags": [ - "BetaFeedbackCrashSubmissions" + "Apps" ], - "operationId": "betaFeedbackCrashSubmissions_crashLog_getToOneRelationship", + "operationId": "apps_marketplaceSearchDetail_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -111767,7 +114055,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaFeedbackCrashSubmissionCrashLogLinkageResponse" + "$ref": "#/components/schemas/AppMarketplaceSearchDetailLinkageResponse" } } } @@ -111797,23 +114085,23 @@ } ] }, - "/v1/betaFeedbackCrashSubmissions/{id}/crashLog": { + "/v1/apps/{id}/marketplaceSearchDetail": { "get": { "tags": [ - "BetaFeedbackCrashSubmissions" + "Apps" ], - "operationId": "betaFeedbackCrashSubmissions_crashLog_getToOneRelated", + "operationId": "apps_marketplaceSearchDetail_getToOneRelated", "parameters": [ { - "name": "fields[betaCrashLogs]", + "name": "fields[marketplaceSearchDetails]", "in": "query", - "description": "the fields to include for returned resources of type betaCrashLogs", + "description": "the fields to include for returned resources of type marketplaceSearchDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "logText" + "catalogUrl" ] } }, @@ -111863,11 +114151,11 @@ } }, "200": { - "description": "Single BetaCrashLog", + "description": "Single MarketplaceSearchDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaCrashLogResponse" + "$ref": "#/components/schemas/MarketplaceSearchDetailResponse" } } } @@ -111897,13 +114185,66 @@ } ] }, - "/v1/betaGroups/{id}/relationships/app": { + "/v1/apps/{id}/perfPowerMetrics": { "get": { "tags": [ - "BetaGroups" + "Apps" + ], + "operationId": "apps_perfPowerMetrics_getToManyRelated", + "parameters": [ + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[metricType]", + "in": "query", + "description": "filter by attribute 'metricType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "DISK", + "HANG", + "BATTERY", + "LAUNCH", + "MEMORY", + "ANIMATION", + "TERMINATION", + "STORAGE" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[deviceType]", + "in": "query", + "description": "filter by attribute 'deviceType'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + } ], - "operationId": "betaGroups_app_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -111946,11 +114287,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of PerfPowerMetrics", "content": { - "application/json": { + "application/vnd.apple.xcode-metrics+json": { "schema": { - "$ref": "#/components/schemas/BetaGroupAppLinkageResponse" + "$ref": "#/components/schemas/xcodeMetrics" } } } @@ -111980,79 +114321,21 @@ } ] }, - "/v1/betaGroups/{id}/app": { + "/v1/apps/{id}/performanceOverviews": { "get": { "tags": [ - "BetaGroups" + "Apps" ], - "operationId": "betaGroups_app_getToOneRelated", + "operationId": "apps_performanceOverviews_getToManyRelated", "parameters": [ { - "name": "fields[apps]", + "name": "filter[deviceType]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "filter by attribute 'deviceType'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] + "type": "string" } }, "style": "form", @@ -112101,11 +114384,11 @@ } }, "200": { - "description": "Single App with get", + "description": "List of PerformanceOverviews", "content": { - "application/json": { + "application/vnd.apple.xcode-overview+json": { "schema": { - "$ref": "#/components/schemas/AppWithoutIncludesResponse" + "$ref": "#/components/schemas/xcodeOverview" } } } @@ -112135,13 +114418,24 @@ } ] }, - "/v1/betaGroups/{id}/relationships/betaRecruitmentCriteria": { + "/v1/apps/{id}/relationships/preReleaseVersions": { "get": { "tags": [ - "BetaGroups" + "Apps" + ], + "operationId": "apps_preReleaseVersions_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "betaGroups_betaRecruitmentCriteria_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -112184,11 +114478,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupBetaRecruitmentCriteriaLinkageResponse" + "$ref": "#/components/schemas/AppPreReleaseVersionsLinkagesResponse" } } } @@ -112218,29 +114512,41 @@ } ] }, - "/v1/betaGroups/{id}/betaRecruitmentCriteria": { + "/v1/apps/{id}/preReleaseVersions": { "get": { "tags": [ - "BetaGroups" + "Apps" ], - "operationId": "betaGroups_betaRecruitmentCriteria_getToOneRelated", + "operationId": "apps_preReleaseVersions_getToManyRelated", "parameters": [ { - "name": "fields[betaRecruitmentCriteria]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type betaRecruitmentCriteria", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastModifiedDate", - "deviceFamilyOsVersionFilters" + "version", + "platform", + "builds", + "app" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -112285,11 +114591,11 @@ } }, "200": { - "description": "Single BetaRecruitmentCriterion", + "description": "List of PreReleaseVersions with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaRecruitmentCriterionResponse" + "$ref": "#/components/schemas/PreReleaseVersionsWithoutIncludesResponse" } } } @@ -112319,13 +114625,24 @@ } ] }, - "/v1/betaGroups/{id}/relationships/betaRecruitmentCriterionCompatibleBuildCheck": { + "/v1/apps/{id}/relationships/promotedPurchases": { "get": { "tags": [ - "BetaGroups" + "Apps" + ], + "operationId": "apps_promotedPurchases_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "betaGroups_betaRecruitmentCriterionCompatibleBuildCheck_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -112368,11 +114685,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponse" + "$ref": "#/components/schemas/AppPromotedPurchasesLinkagesResponse" } } } @@ -112389,43 +114706,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/betaGroups/{id}/betaRecruitmentCriterionCompatibleBuildCheck": { - "get": { + "patch": { "tags": [ - "BetaGroups" + "Apps" ], - "operationId": "betaGroups_betaRecruitmentCriterionCompatibleBuildCheck_getToOneRelated", - "parameters": [ - { - "name": "fields[betaRecruitmentCriterionCompatibleBuildChecks]", - "in": "query", - "description": "the fields to include for returned resources of type betaRecruitmentCriterionCompatibleBuildChecks", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "hasCompatibleBuild" - ] + "operationId": "apps_promotedPurchases_replaceToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppPromotedPurchasesLinkagesRequest" } - }, - "style": "form", - "explode": false - } - ], + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -112467,16 +114763,29 @@ } } }, - "200": { - "description": "Single BetaRecruitmentCriterionCompatibleBuildCheck", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaRecruitmentCriterionCompatibleBuildCheckResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -112502,13 +114811,103 @@ } ] }, - "/v1/betaGroups/{id}/relationships/betaTesters": { + "/v1/apps/{id}/promotedPurchases": { "get": { "tags": [ - "BetaGroups" + "Apps" ], - "operationId": "betaGroups_betaTesters_getToManyRelationship", + "operationId": "apps_promotedPurchases_getToManyRelated", "parameters": [ + { + "name": "fields[promotedPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleForAllUsers", + "enabled", + "state", + "inAppPurchaseV2", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -112518,6 +114917,23 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchaseV2", + "subscription" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -112562,11 +114978,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "List of PromotedPurchases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupBetaTestersLinkagesResponse" + "$ref": "#/components/schemas/PromotedPurchasesResponse" } } } @@ -112583,22 +114999,37 @@ } } }, - "post": { - "tags": [ - "BetaGroups" - ], - "operationId": "betaGroups_betaTesters_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaGroupBetaTestersLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/apps/{id}/relationships/reviewSubmissions": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_reviewSubmissions_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -112640,29 +115071,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppReviewSubmissionsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -112675,136 +115093,247 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/reviewSubmissions": { + "get": { "tags": [ - "BetaGroups" + "Apps" ], - "operationId": "betaGroups_betaTesters_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaGroupBetaTestersLinkagesRequest" + "operationId": "apps_reviewSubmissions_getToManyRelated", + "parameters": [ + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[state]", + "in": "query", + "description": "filter by attribute 'state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "UNRESOLVED_ISSUES", + "CANCELING", + "COMPLETING", + "COMPLETE" + ] } - } + }, + "style": "form", + "explode": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[reviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type reviewSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "submittedDate", + "state", + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" + ] } - } + }, + "style": "form", + "explode": false }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] } - } + }, + "style": "form", + "explode": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[reviewSubmissionItems]", + "in": "query", + "description": "the fields to include for returned resources of type reviewSubmissionItems", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "state", + "appStoreVersion", + "appCustomProductPageVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appEvent", + "appAssetLibraryImage", + "appAssetLibraryVideo", + "backgroundAssetVersion", + "gameCenterAchievementVersion", + "gameCenterActivityVersion", + "gameCenterChallengeVersion", + "gameCenterLeaderboardSetVersion", + "gameCenterLeaderboardVersion", + "inAppPurchaseVersion", + "subscriptionVersion", + "subscriptionGroupVersion" + ] } - } - }, - "204": { - "description": "Success (no content)" + }, + "style": "form", + "explode": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/betaGroups/{id}/betaTesters": { - "get": { - "tags": [ - "BetaGroups" - ], - "operationId": "betaGroups_betaTesters_getToManyRelated", - "parameters": [ { - "name": "fields[betaTesters]", + "name": "fields[actors]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type actors", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" ] } }, @@ -112820,6 +115349,36 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[items]", + "in": "query", + "description": "maximum number of related items returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -112864,11 +115423,11 @@ } }, "200": { - "description": "List of BetaTesters with get", + "description": "List of ReviewSubmissions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTestersWithoutIncludesResponse" + "$ref": "#/components/schemas/ReviewSubmissionsResponse" } } } @@ -112898,12 +115457,12 @@ } ] }, - "/v1/betaGroups/{id}/relationships/builds": { + "/v1/apps/{id}/relationships/searchKeywords": { "get": { "tags": [ - "BetaGroups" + "Apps" ], - "operationId": "betaGroups_builds_getToManyRelationship", + "operationId": "apps_searchKeywords_getToManyRelationship", "parameters": [ { "name": "limit", @@ -112962,7 +115521,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupBuildsLinkagesResponse" + "$ref": "#/components/schemas/AppSearchKeywordsLinkagesResponse" } } } @@ -112979,22 +115538,77 @@ } } }, - "post": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/searchKeywords": { + "get": { "tags": [ - "BetaGroups" + "Apps" ], - "operationId": "betaGroups_builds_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaGroupBuildsLinkagesRequest" + "operationId": "apps_searchKeywords_getToManyRelated", + "parameters": [ + { + "name": "filter[platform]", + "in": "query", + "description": "filter by platform", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "filter[locale]", + "in": "query", + "description": "filter by locale", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appKeywords]", + "in": "query", + "description": "the fields to include for returned resources of type appKeywords", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -113036,29 +115650,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of AppKeywords", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppKeywordsResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -113071,22 +115672,26 @@ } } }, - "delete": { - "tags": [ - "BetaGroups" - ], - "operationId": "betaGroups_builds_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaGroupBuildsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/apps/{id}/relationships/subscriptionGracePeriod": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_subscriptionGracePeriod_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -113128,29 +115733,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppSubscriptionGracePeriodLinkageResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -113176,63 +115768,31 @@ } ] }, - "/v1/betaGroups/{id}/builds": { + "/v1/apps/{id}/subscriptionGracePeriod": { "get": { "tags": [ - "BetaGroups" + "Apps" ], - "operationId": "betaGroups_builds_getToManyRelated", + "operationId": "apps_subscriptionGracePeriod_getToOneRelated", "parameters": [ { - "name": "fields[builds]", + "name": "fields[subscriptionGracePeriods]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type subscriptionGracePeriods", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" + "optIn", + "sandboxOptIn", + "duration", + "renewalType" ] } }, "style": "form", "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" } ], "responses": { @@ -113277,11 +115837,11 @@ } }, "200": { - "description": "List of Builds with get", + "description": "Single SubscriptionGracePeriod", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" + "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" } } } @@ -113311,13 +115871,24 @@ } ] }, - "/v1/betaLicenseAgreements/{id}/relationships/app": { + "/v1/apps/{id}/relationships/subscriptionGroups": { "get": { "tags": [ - "BetaLicenseAgreements" + "Apps" + ], + "operationId": "apps_subscriptionGroups_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "betaLicenseAgreements_app_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -113360,11 +115931,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaLicenseAgreementAppLinkageResponse" + "$ref": "#/components/schemas/AppSubscriptionGroupsLinkagesResponse" } } } @@ -113394,83 +115965,221 @@ } ] }, - "/v1/betaLicenseAgreements/{id}/app": { + "/v1/apps/{id}/subscriptionGroups": { "get": { "tags": [ - "BetaLicenseAgreements" + "Apps" ], - "operationId": "betaLicenseAgreements_app_getToOneRelated", + "operationId": "apps_subscriptionGroups_getToManyRelated", "parameters": [ { - "name": "fields[apps]", + "name": "filter[referenceName]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "filter by attribute 'referenceName'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[subscriptions.state]", + "in": "query", + "description": "filter by attribute 'subscriptions.state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "MISSING_METADATA", + "READY_TO_SUBMIT", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "DEVELOPER_ACTION_NEEDED", + "PENDING_BINARY_APPROVAL", + "APPROVED", + "DEVELOPER_REMOVED_FROM_SALE", + "REMOVED_FROM_SALE", + "REJECTED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "-referenceName" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGroups]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGroupLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "customAppName", + "locale", + "state", + "subscriptionGroup" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGroupVersions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroupVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "subscriptionGroup", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscriptions", + "subscriptionGroupLocalizations", + "versions" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[subscriptions]", + "in": "query", + "description": "maximum number of related subscriptions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[subscriptionGroupLocalizations]", + "in": "query", + "description": "maximum number of related subscriptionGroupLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -113515,11 +116224,11 @@ } }, "200": { - "description": "Single App with get", + "description": "List of SubscriptionGroups", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppWithoutIncludesResponse" + "$ref": "#/components/schemas/SubscriptionGroupsResponse" } } } @@ -113549,12 +116258,12 @@ } ] }, - "/v1/betaTesters/{id}/relationships/apps": { + "/v1/apps/{id}/relationships/webhooks": { "get": { "tags": [ - "BetaTesters" + "Apps" ], - "operationId": "betaTesters_apps_getToManyRelationship", + "operationId": "apps_webhooks_getToManyRelationship", "parameters": [ { "name": "limit", @@ -113613,106 +116322,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTesterAppsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "BetaTesters" - ], - "operationId": "betaTesters_apps_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaTesterAppsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppWebhooksLinkagesResponse" } } } }, - "202": { - "description": "Accepted for future completion" - }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -113738,13 +116352,34 @@ } ] }, - "/v1/betaTesters/{id}/apps": { + "/v1/apps/{id}/webhooks": { "get": { "tags": [ - "BetaTesters" + "Apps" ], - "operationId": "betaTesters_apps_getToManyRelated", + "operationId": "apps_webhooks_getToManyRelated", "parameters": [ + { + "name": "fields[webhooks]", + "in": "query", + "description": "the fields to include for returned resources of type webhooks", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "eventTypes", + "name", + "url", + "app", + "deliveries" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[apps]", "in": "query", @@ -113805,6 +116440,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -113825,6 +116461,22 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -113869,11 +116521,11 @@ } }, "200": { - "description": "List of Apps with get", + "description": "List of Webhooks", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppsWithoutIncludesResponse" + "$ref": "#/components/schemas/WebhooksResponse" } } } @@ -113903,12 +116555,12 @@ } ] }, - "/v1/betaTesters/{id}/relationships/betaGroups": { + "/v1/backgroundAssetVersions/{id}/relationships/backgroundAssetUploadFiles": { "get": { "tags": [ - "BetaTesters" + "BackgroundAssetVersions" ], - "operationId": "betaTesters_betaGroups_getToManyRelationship", + "operationId": "backgroundAssetVersions_backgroundAssetUploadFiles_getToManyRelationship", "parameters": [ { "name": "limit", @@ -113967,7 +116619,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTesterBetaGroupsLinkagesResponse" + "$ref": "#/components/schemas/BackgroundAssetVersionBackgroundAssetUploadFilesLinkagesResponse" } } } @@ -113984,22 +116636,60 @@ } } }, - "post": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/backgroundAssetVersions/{id}/backgroundAssetUploadFiles": { + "get": { "tags": [ - "BetaTesters" + "BackgroundAssetVersions" ], - "operationId": "betaTesters_betaGroups_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaTesterBetaGroupsLinkagesRequest" + "operationId": "backgroundAssetVersions_backgroundAssetUploadFiles_getToManyRelated", + "parameters": [ + { + "name": "fields[backgroundAssetUploadFiles]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetUploadFiles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "sourceFileChecksum", + "sourceFileChecksums", + "uploadOperations" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -114041,29 +116731,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of BackgroundAssetUploadFiles", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BackgroundAssetUploadFilesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -114076,22 +116753,37 @@ } } }, - "delete": { - "tags": [ - "BetaTesters" - ], - "operationId": "betaTesters_betaGroups_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaTesterBetaGroupsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/backgroundAssets/{id}/relationships/versions": { + "get": { + "tags": [ + "BackgroundAssets" + ], + "operationId": "backgroundAssets_versions_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -114133,29 +116825,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BackgroundAssetVersionsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -114181,39 +116860,277 @@ } ] }, - "/v1/betaTesters/{id}/betaGroups": { + "/v1/backgroundAssets/{id}/versions": { "get": { "tags": [ - "BetaTesters" + "BackgroundAssets" ], - "operationId": "betaTesters_betaGroups_getToManyRelated", + "operationId": "backgroundAssets_versions_getToManyRelated", "parameters": [ { - "name": "fields[betaGroups]", + "name": "filter[locale]", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "description": "filter by attribute 'locale'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[platforms]", + "in": "query", + "description": "filter by attribute 'platforms'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[state]", + "in": "query", + "description": "filter by attribute 'state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWAITING_UPLOAD", + "PROCESSING", + "FAILED", + "COMPLETE" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[version]", + "in": "query", + "description": "filter by attribute 'version'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[internalBetaRelease.state]", + "in": "query", + "description": "filter by attribute 'internalBetaRelease.state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "READY_FOR_TESTING", + "SUPERSEDED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[externalBetaRelease.state]", + "in": "query", + "description": "filter by attribute 'externalBetaRelease.state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "READY_FOR_BETA_SUBMISSION", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "REJECTED", + "PROCESSING_FOR_TESTING", + "READY_FOR_TESTING", + "SUPERSEDED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreRelease.state]", + "in": "query", + "description": "filter by attribute 'appStoreRelease.state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "REJECTED", + "PROCESSING_FOR_DISTRIBUTION", + "READY_FOR_DISTRIBUTION", + "SUPERSEDED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "-version" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[backgroundAssetVersions]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", + "platforms", + "state", + "stateDetails", + "version", + "locale", + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile", + "backgroundAssetUploadFiles" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[backgroundAssets]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "archived", + "assetPackIdentifier", + "createdDate", + "usedBytes", "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" + "versions", + "appStoreVersion", + "internalBetaVersion", + "externalBetaVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[backgroundAssetVersionInternalBetaReleases]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersionInternalBetaReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "state", + "backgroundAssetVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[backgroundAssetVersionExternalBetaReleases]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersionExternalBetaReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "state", + "backgroundAssetVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[backgroundAssetVersionAppStoreReleases]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersionAppStoreReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "state", + "backgroundAssetVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[backgroundAssetUploadFiles]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetUploadFiles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "sourceFileChecksum", + "sourceFileChecksums", + "uploadOperations" ] } }, @@ -114229,6 +117146,27 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -114273,11 +117211,11 @@ } }, "200": { - "description": "List of BetaGroups with get", + "description": "List of BackgroundAssetVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaGroupsWithoutIncludesResponse" + "$ref": "#/components/schemas/BackgroundAssetVersionsResponse" } } } @@ -114307,24 +117245,13 @@ } ] }, - "/v1/betaTesters/{id}/relationships/builds": { + "/v1/betaAppLocalizations/{id}/relationships/app": { "get": { "tags": [ - "BetaTesters" - ], - "operationId": "betaTesters_builds_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "BetaAppLocalizations" ], + "operationId": "betaAppLocalizations_app_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -114367,11 +117294,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTesterBuildsLinkagesResponse" + "$ref": "#/components/schemas/BetaAppLocalizationAppLinkageResponse" } } } @@ -114388,22 +117315,99 @@ } } }, - "post": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaAppLocalizations/{id}/app": { + "get": { "tags": [ - "BetaTesters" + "BetaAppLocalizations" ], - "operationId": "betaTesters_builds_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaTesterBuildsLinkagesRequest" + "operationId": "betaAppLocalizations_app_getToOneRelated", + "parameters": [ + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] } - } - }, - "required": true - }, + }, + "style": "form", + "explode": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -114445,8 +117449,18 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "200": { + "description": "Single App with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppWithoutIncludesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -114454,9 +117468,32 @@ } } } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - "409": { - "description": "Request entity error(s)", + "style": "simple", + "required": true + } + ] + }, + "/v1/betaAppReviewDetails/{id}/relationships/app": { + "get": { + "tags": [ + "BetaAppReviewDetails" + ], + "operationId": "betaAppReviewDetails_app_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -114465,8 +117502,45 @@ } } }, - "204": { - "description": "Success (no content)" + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppReviewDetailAppLinkageResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -114480,22 +117554,99 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaAppReviewDetails/{id}/app": { + "get": { "tags": [ - "BetaTesters" + "BetaAppReviewDetails" ], - "operationId": "betaTesters_builds_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaTesterBuildsLinkagesRequest" + "operationId": "betaAppReviewDetails_app_getToOneRelated", + "parameters": [ + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] } - } - }, - "required": true - }, + }, + "style": "form", + "explode": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -114537,8 +117688,18 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "200": { + "description": "Single App with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppWithoutIncludesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -114546,9 +117707,32 @@ } } } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - "409": { - "description": "Request entity error(s)", + "style": "simple", + "required": true + } + ] + }, + "/v1/betaAppReviewSubmissions/{id}/relationships/build": { + "get": { + "tags": [ + "BetaAppReviewSubmissions" + ], + "operationId": "betaAppReviewSubmissions_build_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -114557,8 +117741,45 @@ } } }, - "204": { - "description": "Success (no content)" + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppReviewSubmissionBuildLinkageResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -114585,12 +117806,12 @@ } ] }, - "/v1/betaTesters/{id}/builds": { + "/v1/betaAppReviewSubmissions/{id}/build": { "get": { "tags": [ - "BetaTesters" + "BetaAppReviewSubmissions" ], - "operationId": "betaTesters_builds_getToManyRelated", + "operationId": "betaAppReviewSubmissions_build_getToOneRelated", "parameters": [ { "name": "fields[builds]", @@ -114632,16 +117853,6 @@ }, "style": "form", "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" } ], "responses": { @@ -114686,11 +117897,11 @@ } }, "200": { - "description": "List of Builds with get", + "description": "Single Build with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" + "$ref": "#/components/schemas/BuildWithoutIncludesResponse" } } } @@ -114720,12 +117931,12 @@ } ] }, - "/v1/buildBetaDetails/{id}/relationships/build": { + "/v1/betaBuildLocalizations/{id}/relationships/build": { "get": { "tags": [ - "BuildBetaDetails" + "BetaBuildLocalizations" ], - "operationId": "buildBetaDetails_build_getToOneRelationship", + "operationId": "betaBuildLocalizations_build_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -114773,7 +117984,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaDetailBuildLinkageResponse" + "$ref": "#/components/schemas/BetaBuildLocalizationBuildLinkageResponse" } } } @@ -114803,12 +118014,12 @@ } ] }, - "/v1/buildBetaDetails/{id}/build": { + "/v1/betaBuildLocalizations/{id}/build": { "get": { "tags": [ - "BuildBetaDetails" + "BetaBuildLocalizations" ], - "operationId": "buildBetaDetails_build_getToOneRelated", + "operationId": "betaBuildLocalizations_build_getToOneRelated", "parameters": [ { "name": "fields[builds]", @@ -114850,150 +118061,357 @@ }, "style": "form", "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "fields[preReleaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "platform", - "builds", - "app" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[betaTesters]", - "in": "query", - "description": "the fields to include for returned resources of type betaTesters", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[betaGroups]", - "in": "query", - "description": "the fields to include for returned resources of type betaGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } + }, + "200": { + "description": "Single Build with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildWithoutIncludesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaFeedbackCrashSubmissions/{id}/relationships/crashLog": { + "get": { + "tags": [ + "BetaFeedbackCrashSubmissions" + ], + "operationId": "betaFeedbackCrashSubmissions_crashLog_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaFeedbackCrashSubmissionCrashLogLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaFeedbackCrashSubmissions/{id}/crashLog": { + "get": { + "tags": [ + "BetaFeedbackCrashSubmissions" + ], + "operationId": "betaFeedbackCrashSubmissions_crashLog_getToOneRelated", + "parameters": [ { - "name": "fields[betaBuildLocalizations]", + "name": "fields[betaCrashLogs]", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "the fields to include for returned resources of type betaCrashLogs", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "whatsNew", - "locale", - "build" + "logText" ] } }, "style": "form", "explode": false - }, - { - "name": "fields[appEncryptionDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", - "platform", - "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", - "app", - "builds", - "appEncryptionDeclarationDocument" - ] + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[betaAppReviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "betaReviewState", - "submittedDate", - "build" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single BetaCrashLog", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaCrashLogResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaGroups/{id}/relationships/app": { + "get": { + "tags": [ + "BetaGroups" + ], + "operationId": "betaGroups_app_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaGroupAppLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaGroups/{id}/app": { + "get": { + "tags": [ + "BetaGroups" + ], + "operationId": "betaGroups_app_getToOneRelated", + "parameters": [ { "name": "fields[apps]", "in": "query", @@ -115054,6 +118472,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -115064,225 +118483,6 @@ }, "style": "form", "explode": false - }, - { - "name": "fields[buildBetaDetails]", - "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "autoNotifyEnabled", - "internalBuildState", - "externalBuildState", - "build" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[buildIcons]", - "in": "query", - "description": "the fields to include for returned resources of type buildIcons", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "iconAsset", - "iconType", - "masked", - "name" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[buildBundles]", - "in": "query", - "description": "the fields to include for returned resources of type buildBundles", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "bundleId", - "bundleType", - "sdkBuild", - "platformBuild", - "fileName", - "hasSirikit", - "hasOnDemandResources", - "hasPrerenderedIcon", - "usesLocationServices", - "isIosBuildMacAppStoreCompatible", - "includesSymbols", - "dSYMUrl", - "supportedArchitectures", - "requiredCapabilities", - "deviceProtocols", - "locales", - "entitlements", - "baDownloadAllowance", - "baMaxInstallSize", - "minimumOsVersion", - "appClipDomainCacheStatus", - "appClipDomainDebugStatus", - "betaAppClipInvocations", - "buildBundleFileSizes" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[buildUploads]", - "in": "query", - "description": "the fields to include for returned resources of type buildUploads", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "cfBundleShortVersionString", - "cfBundleVersion", - "createdDate", - "state", - "platform", - "uploadedDate", - "build", - "assetFile", - "assetDescriptionFile", - "assetSpiFile", - "buildUploadFiles" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[individualTesters]", - "in": "query", - "description": "maximum number of related individualTesters returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[betaGroups]", - "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[betaBuildLocalizations]", - "in": "query", - "description": "maximum number of related betaBuildLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[icons]", - "in": "query", - "description": "maximum number of related icons returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[buildBundles]", - "in": "query", - "description": "maximum number of related buildBundles returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -115327,11 +118527,11 @@ } }, "200": { - "description": "Single Build", + "description": "Single App with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildResponse" + "$ref": "#/components/schemas/AppWithoutIncludesResponse" } } } @@ -115361,12 +118561,12 @@ } ] }, - "/v1/buildBundles/{id}/relationships/appClipDomainCacheStatus": { + "/v1/betaGroups/{id}/relationships/betaRecruitmentCriteria": { "get": { "tags": [ - "BuildBundles" + "BetaGroups" ], - "operationId": "buildBundles_appClipDomainCacheStatus_getToOneRelationship", + "operationId": "betaGroups_betaRecruitmentCriteria_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -115414,7 +118614,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBundleAppClipDomainCacheStatusLinkageResponse" + "$ref": "#/components/schemas/BetaGroupBetaRecruitmentCriteriaLinkageResponse" } } } @@ -115444,24 +118644,24 @@ } ] }, - "/v1/buildBundles/{id}/appClipDomainCacheStatus": { + "/v1/betaGroups/{id}/betaRecruitmentCriteria": { "get": { "tags": [ - "BuildBundles" + "BetaGroups" ], - "operationId": "buildBundles_appClipDomainCacheStatus_getToOneRelated", + "operationId": "betaGroups_betaRecruitmentCriteria_getToOneRelated", "parameters": [ { - "name": "fields[appClipDomainStatuses]", + "name": "fields[betaRecruitmentCriteria]", "in": "query", - "description": "the fields to include for returned resources of type appClipDomainStatuses", + "description": "the fields to include for returned resources of type betaRecruitmentCriteria", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "domains", - "lastUpdatedDate" + "lastModifiedDate", + "deviceFamilyOsVersionFilters" ] } }, @@ -115511,11 +118711,11 @@ } }, "200": { - "description": "Single AppClipDomainStatus", + "description": "Single BetaRecruitmentCriterion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDomainStatusResponse" + "$ref": "#/components/schemas/BetaRecruitmentCriterionResponse" } } } @@ -115545,12 +118745,12 @@ } ] }, - "/v1/buildBundles/{id}/relationships/appClipDomainDebugStatus": { + "/v1/betaGroups/{id}/relationships/betaRecruitmentCriterionCompatibleBuildCheck": { "get": { "tags": [ - "BuildBundles" + "BetaGroups" ], - "operationId": "buildBundles_appClipDomainDebugStatus_getToOneRelationship", + "operationId": "betaGroups_betaRecruitmentCriterionCompatibleBuildCheck_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -115598,7 +118798,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBundleAppClipDomainDebugStatusLinkageResponse" + "$ref": "#/components/schemas/BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponse" } } } @@ -115628,24 +118828,23 @@ } ] }, - "/v1/buildBundles/{id}/appClipDomainDebugStatus": { + "/v1/betaGroups/{id}/betaRecruitmentCriterionCompatibleBuildCheck": { "get": { "tags": [ - "BuildBundles" + "BetaGroups" ], - "operationId": "buildBundles_appClipDomainDebugStatus_getToOneRelated", + "operationId": "betaGroups_betaRecruitmentCriterionCompatibleBuildCheck_getToOneRelated", "parameters": [ { - "name": "fields[appClipDomainStatuses]", + "name": "fields[betaRecruitmentCriterionCompatibleBuildChecks]", "in": "query", - "description": "the fields to include for returned resources of type appClipDomainStatuses", + "description": "the fields to include for returned resources of type betaRecruitmentCriterionCompatibleBuildChecks", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "domains", - "lastUpdatedDate" + "hasCompatibleBuild" ] } }, @@ -115695,11 +118894,11 @@ } }, "200": { - "description": "Single AppClipDomainStatus", + "description": "Single BetaRecruitmentCriterionCompatibleBuildCheck", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppClipDomainStatusResponse" + "$ref": "#/components/schemas/BetaRecruitmentCriterionCompatibleBuildCheckResponse" } } } @@ -115729,12 +118928,12 @@ } ] }, - "/v1/buildBundles/{id}/relationships/betaAppClipInvocations": { + "/v1/betaGroups/{id}/relationships/betaTesters": { "get": { "tags": [ - "BuildBundles" + "BetaGroups" ], - "operationId": "buildBundles_betaAppClipInvocations_getToManyRelationship", + "operationId": "betaGroups_betaTesters_getToManyRelationship", "parameters": [ { "name": "limit", @@ -115793,7 +118992,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBundleBetaAppClipInvocationsLinkagesResponse" + "$ref": "#/components/schemas/BetaGroupBetaTestersLinkagesResponse" } } } @@ -115810,97 +119009,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/buildBundles/{id}/betaAppClipInvocations": { - "get": { + "post": { "tags": [ - "BuildBundles" + "BetaGroups" ], - "operationId": "buildBundles_betaAppClipInvocations_getToManyRelated", - "parameters": [ - { - "name": "fields[betaAppClipInvocations]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppClipInvocations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "url", - "betaAppClipInvocationLocalizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[betaAppClipInvocationLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppClipInvocationLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "locale" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "betaAppClipInvocationLocalizations" - ] + "operationId": "betaGroups_betaTesters_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaGroupBetaTestersLinkagesRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "limit[betaAppClipInvocationLocalizations]", - "in": "query", - "description": "maximum number of related betaAppClipInvocationLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -115942,16 +119066,29 @@ } } }, - "200": { - "description": "List of BetaAppClipInvocations", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppClipInvocationsResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -115964,37 +119101,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/buildBundles/{id}/relationships/buildBundleFileSizes": { - "get": { + "delete": { "tags": [ - "BuildBundles" - ], - "operationId": "buildBundles_buildBundleFileSizes_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "BetaGroups" ], + "operationId": "betaGroups_betaTesters_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaGroupBetaTestersLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -116036,16 +119158,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBundleBuildBundleFileSizesLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -116071,26 +119206,31 @@ } ] }, - "/v1/buildBundles/{id}/buildBundleFileSizes": { + "/v1/betaGroups/{id}/betaTesters": { "get": { "tags": [ - "BuildBundles" + "BetaGroups" ], - "operationId": "buildBundles_buildBundleFileSizes_getToManyRelated", + "operationId": "betaGroups_betaTesters_getToManyRelated", "parameters": [ { - "name": "fields[buildBundleFileSizes]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type buildBundleFileSizes", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "deviceModel", - "osVersion", - "downloadBytes", - "installBytes" + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" ] } }, @@ -116150,11 +119290,11 @@ } }, "200": { - "description": "List of BuildBundleFileSizes", + "description": "List of BetaTesters with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBundleFileSizesResponse" + "$ref": "#/components/schemas/BetaTestersWithoutIncludesResponse" } } } @@ -116184,12 +119324,12 @@ } ] }, - "/v1/buildUploads/{id}/relationships/buildUploadFiles": { + "/v1/betaGroups/{id}/relationships/builds": { "get": { "tags": [ - "BuildUploads" + "BetaGroups" ], - "operationId": "buildUploads_buildUploadFiles_getToManyRelationship", + "operationId": "betaGroups_builds_getToManyRelationship", "parameters": [ { "name": "limit", @@ -116248,11 +119388,195 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildUploadBuildUploadFilesLinkagesResponse" + "$ref": "#/components/schemas/BetaGroupBuildsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "BetaGroups" + ], + "operationId": "betaGroups_builds_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaGroupBuildsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "BetaGroups" + ], + "operationId": "betaGroups_builds_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaGroupBuildsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -116278,30 +119602,48 @@ } ] }, - "/v1/buildUploads/{id}/buildUploadFiles": { + "/v1/betaGroups/{id}/builds": { "get": { "tags": [ - "BuildUploads" + "BetaGroups" ], - "operationId": "buildUploads_buildUploadFiles_getToManyRelated", + "operationId": "betaGroups_builds_getToManyRelated", "parameters": [ { - "name": "fields[buildUploadFiles]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type buildUploadFiles", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "sourceFileChecksums", - "uploadOperations", - "uti" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -116361,11 +119703,11 @@ } }, "200": { - "description": "List of BuildUploadFiles", + "description": "List of Builds with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildUploadFilesResponse" + "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" } } } @@ -116395,12 +119737,12 @@ } ] }, - "/v1/builds/{id}/relationships/app": { + "/v1/betaLicenseAgreements/{id}/relationships/app": { "get": { "tags": [ - "Builds" + "BetaLicenseAgreements" ], - "operationId": "builds_app_getToOneRelationship", + "operationId": "betaLicenseAgreements_app_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -116448,7 +119790,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildAppLinkageResponse" + "$ref": "#/components/schemas/BetaLicenseAgreementAppLinkageResponse" } } } @@ -116478,12 +119820,12 @@ } ] }, - "/v1/builds/{id}/app": { + "/v1/betaLicenseAgreements/{id}/app": { "get": { "tags": [ - "Builds" + "BetaLicenseAgreements" ], - "operationId": "builds_app_getToOneRelated", + "operationId": "betaLicenseAgreements_app_getToOneRelated", "parameters": [ { "name": "fields[apps]", @@ -116545,6 +119887,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -116633,13 +119976,24 @@ } ] }, - "/v1/builds/{id}/relationships/appEncryptionDeclaration": { + "/v1/betaTesters/{id}/relationships/apps": { "get": { "tags": [ - "Builds" + "BetaTesters" + ], + "operationId": "betaTesters_apps_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "builds_appEncryptionDeclaration_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -116682,11 +120036,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildAppEncryptionDeclarationLinkageResponse" + "$ref": "#/components/schemas/BetaTesterAppsLinkagesResponse" } } } @@ -116703,17 +120057,17 @@ } } }, - "patch": { + "delete": { "tags": [ - "Builds" + "BetaTesters" ], - "operationId": "builds_appEncryptionDeclaration_updateToOneRelationship", + "operationId": "betaTesters_apps_deleteToManyRelationship", "requestBody": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildAppEncryptionDeclarationLinkageRequest" + "$ref": "#/components/schemas/BetaTesterAppsLinkagesRequest" } } }, @@ -116780,6 +120134,9 @@ } } }, + "202": { + "description": "Accepted for future completion" + }, "204": { "description": "Success (no content)" }, @@ -116808,255 +120165,17 @@ } ] }, - "/v1/builds/{id}/appEncryptionDeclaration": { + "/v1/betaTesters/{id}/apps": { "get": { "tags": [ - "Builds" + "BetaTesters" ], - "operationId": "builds_appEncryptionDeclaration_getToOneRelated", + "operationId": "betaTesters_apps_getToManyRelated", "parameters": [ { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", - "platform", - "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", - "app", - "builds", - "appEncryptionDeclarationDocument" - ] - } - }, - "style": "form", - "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppEncryptionDeclaration with get", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppEncryptionDeclarationWithoutIncludesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/builds/{id}/relationships/appStoreVersion": { - "get": { - "tags": [ - "Builds" - ], - "operationId": "builds_appStoreVersion_getToOneRelationship", - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildAppStoreVersionLinkageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/builds/{id}/appStoreVersion": { - "get": { - "tags": [ - "Builds" - ], - "operationId": "builds_appStoreVersion_getToOneRelated", - "parameters": [ - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { @@ -117113,6 +120232,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -117125,290 +120245,12 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionPhasedReleases]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "phasedReleaseState", - "startDate", - "totalPauseDuration", - "currentDayNumber" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAppVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[routingAppCoverages]", - "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "appStoreVersion", - "appStoreReviewAttachments" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appClipDefaultExperiences]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "platform", - "app", - "latestControlVersion", - "controlVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[alternativeDistributionPackages]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "sourceFileChecksum", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[appStoreVersionLocalizations]", - "in": "query", - "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appStoreVersionExperiments]", - "in": "query", - "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[appStoreVersionExperimentsV2]", + "name": "limit", "in": "query", - "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" } @@ -117455,11 +120297,11 @@ } }, "200": { - "description": "Single AppStoreVersion", + "description": "List of Apps with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionResponse" + "$ref": "#/components/schemas/AppsWithoutIncludesResponse" } } } @@ -117489,13 +120331,24 @@ } ] }, - "/v1/builds/{id}/relationships/betaAppReviewSubmission": { + "/v1/betaTesters/{id}/relationships/betaGroups": { "get": { "tags": [ - "Builds" + "BetaTesters" + ], + "operationId": "betaTesters_betaGroups_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "builds_betaAppReviewSubmission_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -117538,11 +120391,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaAppReviewSubmissionLinkageResponse" + "$ref": "#/components/schemas/BetaTesterBetaGroupsLinkagesResponse" } } } @@ -117559,45 +120412,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/builds/{id}/betaAppReviewSubmission": { - "get": { + "post": { "tags": [ - "Builds" + "BetaTesters" ], - "operationId": "builds_betaAppReviewSubmission_getToOneRelated", - "parameters": [ - { - "name": "fields[betaAppReviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "betaReviewState", - "submittedDate", - "build" - ] + "operationId": "betaTesters_betaGroups_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaTesterBetaGroupsLinkagesRequest" } - }, - "style": "form", - "explode": false - } - ], + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -117639,16 +120469,29 @@ } } }, - "200": { - "description": "Single BetaAppReviewSubmission with get", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewSubmissionWithoutIncludesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -117661,37 +120504,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/builds/{id}/relationships/betaBuildLocalizations": { - "get": { + "delete": { "tags": [ - "Builds" - ], - "operationId": "builds_betaBuildLocalizations_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "BetaTesters" ], + "operationId": "betaTesters_betaGroups_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaTesterBetaGroupsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -117733,16 +120561,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaBuildLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -117768,25 +120609,39 @@ } ] }, - "/v1/builds/{id}/betaBuildLocalizations": { + "/v1/betaTesters/{id}/betaGroups": { "get": { "tags": [ - "Builds" + "BetaTesters" ], - "operationId": "builds_betaBuildLocalizations_getToManyRelated", + "operationId": "betaTesters_betaGroups_getToManyRelated", "parameters": [ { - "name": "fields[betaBuildLocalizations]", + "name": "fields[betaGroups]", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "whatsNew", - "locale", - "build" + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" ] } }, @@ -117846,11 +120701,11 @@ } }, "200": { - "description": "List of BetaBuildLocalizations with get", + "description": "List of BetaGroups with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildLocalizationsWithoutIncludesResponse" + "$ref": "#/components/schemas/BetaGroupsWithoutIncludesResponse" } } } @@ -117880,23 +120735,24 @@ } ] }, - "/v1/builds/{id}/relationships/betaGroups": { - "post": { + "/v1/betaTesters/{id}/relationships/builds": { + "get": { "tags": [ - "Builds" + "BetaTesters" + ], + "operationId": "betaTesters_builds_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "builds_betaGroups_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildBetaGroupsLinkagesRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -117938,29 +120794,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BetaTesterBuildsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -117973,17 +120816,17 @@ } } }, - "delete": { + "post": { "tags": [ - "Builds" + "BetaTesters" ], - "operationId": "builds_betaGroups_deleteToManyRelationship", + "operationId": "betaTesters_builds_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaGroupsLinkagesRequest" + "$ref": "#/components/schemas/BetaTesterBuildsLinkagesRequest" } } }, @@ -118065,26 +120908,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/builds/{id}/relationships/buildBetaDetail": { - "get": { + "delete": { "tags": [ - "Builds" + "BetaTesters" ], - "operationId": "builds_buildBetaDetail_getToOneRelationship", - "parameters": [], + "operationId": "betaTesters_builds_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaTesterBuildsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -118126,16 +120965,29 @@ } } }, - "200": { - "description": "Related linkage", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBuildBetaDetailLinkageResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -118161,32 +121013,13 @@ } ] }, - "/v1/builds/{id}/buildBetaDetail": { + "/v1/betaTesters/{id}/builds": { "get": { "tags": [ - "Builds" + "BetaTesters" ], - "operationId": "builds_buildBetaDetail_getToOneRelated", + "operationId": "betaTesters_builds_getToManyRelated", "parameters": [ - { - "name": "fields[buildBetaDetails]", - "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "autoNotifyEnabled", - "internalBuildState", - "externalBuildState", - "build" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[builds]", "in": "query", @@ -118229,20 +121062,14 @@ "explode": false }, { - "name": "include", + "name": "limit", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "build" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -118287,11 +121114,11 @@ } }, "200": { - "description": "Single BuildBetaDetail", + "description": "List of Builds with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaDetailResponse" + "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" } } } @@ -118321,24 +121148,13 @@ } ] }, - "/v1/builds/{id}/relationships/diagnosticSignatures": { + "/v1/buildBetaDetails/{id}/relationships/build": { "get": { "tags": [ - "Builds" - ], - "operationId": "builds_diagnosticSignatures_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "BuildBetaDetails" ], + "operationId": "buildBetaDetails_build_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -118381,11 +121197,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildDiagnosticSignaturesLinkagesResponse" + "$ref": "#/components/schemas/BuildBetaDetailBuildLinkageResponse" } } } @@ -118415,25 +121231,48 @@ } ] }, - "/v1/builds/{id}/diagnosticSignatures": { + "/v1/buildBetaDetails/{id}/build": { "get": { "tags": [ - "Builds" + "BuildBetaDetails" ], - "operationId": "builds_diagnosticSignatures_getToManyRelated", + "operationId": "buildBetaDetails_build_getToOneRelated", "parameters": [ { - "name": "filter[diagnosticType]", + "name": "fields[builds]", "in": "query", - "description": "filter by attribute 'diagnosticType'", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "DISK_WRITES", - "HANGS", - "LAUNCHES" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -118441,19 +121280,18 @@ "explode": false }, { - "name": "fields[diagnosticSignatures]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type diagnosticSignatures", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "diagnosticType", - "signature", - "weight", - "insight", - "logs" + "version", + "platform", + "builds", + "app" ] } }, @@ -118461,65 +121299,470 @@ "explode": false }, { - "name": "limit", + "name": "fields[betaTesters]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type betaTesters", "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "type": "array", + "items": { + "type": "string", + "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" + ] } - } + }, + "style": "form", + "explode": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[betaGroups]", + "in": "query", + "description": "the fields to include for returned resources of type betaGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[betaBuildLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type betaBuildLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "whatsNew", + "locale", + "build" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "List of DiagnosticSignatures", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DiagnosticSignaturesResponse" - } - } + { + "name": "fields[appEncryptionDeclarations]", + "in": "query", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[betaAppReviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaReviewState", + "submittedDate", + "build" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildBetaDetails]", + "in": "query", + "description": "the fields to include for returned resources of type buildBetaDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildIcons]", + "in": "query", + "description": "the fields to include for returned resources of type buildIcons", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "iconAsset", + "iconType", + "masked", + "name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildBundles]", + "in": "query", + "description": "the fields to include for returned resources of type buildBundles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "bundleId", + "bundleType", + "sdkBuild", + "platformBuild", + "fileName", + "hasSirikit", + "hasOnDemandResources", + "hasPrerenderedIcon", + "usesLocationServices", + "isIosBuildMacAppStoreCompatible", + "includesSymbols", + "dSYMUrl", + "supportedArchitectures", + "requiredCapabilities", + "deviceProtocols", + "locales", + "entitlements", + "baDownloadAllowance", + "baMaxInstallSize", + "minimumOsVersion", + "appClipDomainCacheStatus", + "appClipDomainDebugStatus", + "betaAppClipInvocations", + "buildBundleFileSizes" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildUploads]", + "in": "query", + "description": "the fields to include for returned resources of type buildUploads", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "cfBundleShortVersionString", + "cfBundleVersion", + "createdDate", + "state", + "platform", + "uploadedDate", + "build", + "assetFile", + "assetDescriptionFile", + "assetSpiFile", + "buildUploadFiles" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[individualTesters]", + "in": "query", + "description": "maximum number of related individualTesters returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaGroups]", + "in": "query", + "description": "maximum number of related betaGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaBuildLocalizations]", + "in": "query", + "description": "maximum number of related betaBuildLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[icons]", + "in": "query", + "description": "maximum number of related icons returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[buildBundles]", + "in": "query", + "description": "maximum number of related buildBundles returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single Build", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildResponse" + } + } } }, "429": { @@ -118547,24 +121790,13 @@ } ] }, - "/v1/builds/{id}/relationships/icons": { + "/v1/buildBundles/{id}/relationships/appClipDomainCacheStatus": { "get": { "tags": [ - "Builds" - ], - "operationId": "builds_icons_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "BuildBundles" ], + "operationId": "buildBundles_appClipDomainCacheStatus_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -118607,11 +121839,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildIconsLinkagesResponse" + "$ref": "#/components/schemas/BuildBundleAppClipDomainCacheStatusLinkageResponse" } } } @@ -118641,41 +121873,29 @@ } ] }, - "/v1/builds/{id}/icons": { + "/v1/buildBundles/{id}/appClipDomainCacheStatus": { "get": { "tags": [ - "Builds" + "BuildBundles" ], - "operationId": "builds_icons_getToManyRelated", + "operationId": "buildBundles_appClipDomainCacheStatus_getToOneRelated", "parameters": [ { - "name": "fields[buildIcons]", + "name": "fields[appClipDomainStatuses]", "in": "query", - "description": "the fields to include for returned resources of type buildIcons", + "description": "the fields to include for returned resources of type appClipDomainStatuses", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "iconAsset", - "iconType", - "masked", - "name" + "domains", + "lastUpdatedDate" ] } }, "style": "form", "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" } ], "responses": { @@ -118720,11 +121940,11 @@ } }, "200": { - "description": "List of BuildIcons with get", + "description": "Single AppClipDomainStatus", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildIconsWithoutIncludesResponse" + "$ref": "#/components/schemas/AppClipDomainStatusResponse" } } } @@ -118754,24 +121974,13 @@ } ] }, - "/v1/builds/{id}/relationships/individualTesters": { + "/v1/buildBundles/{id}/relationships/appClipDomainDebugStatus": { "get": { "tags": [ - "Builds" - ], - "operationId": "builds_individualTesters_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "BuildBundles" ], + "operationId": "buildBundles_appClipDomainDebugStatus_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -118814,11 +122023,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildIndividualTestersLinkagesResponse" + "$ref": "#/components/schemas/BuildBundleAppClipDomainDebugStatusLinkageResponse" } } } @@ -118835,22 +122044,44 @@ } } }, - "post": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/buildBundles/{id}/appClipDomainDebugStatus": { + "get": { "tags": [ - "Builds" + "BuildBundles" ], - "operationId": "builds_individualTesters_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildIndividualTestersLinkagesRequest" + "operationId": "buildBundles_appClipDomainDebugStatus_getToOneRelated", + "parameters": [ + { + "name": "fields[appClipDomainStatuses]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDomainStatuses", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "domains", + "lastUpdatedDate" + ] } - } - }, - "required": true - }, + }, + "style": "form", + "explode": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -118892,29 +122123,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single AppClipDomainStatus", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AppClipDomainStatusResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -118927,22 +122145,37 @@ } } }, - "delete": { - "tags": [ - "Builds" - ], - "operationId": "builds_individualTesters_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildIndividualTestersLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/buildBundles/{id}/relationships/betaAppClipInvocations": { + "get": { + "tags": [ + "BuildBundles" + ], + "operationId": "buildBundles_betaAppClipInvocations_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -118984,29 +122217,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BuildBundleBetaAppClipInvocationsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -119032,31 +122252,41 @@ } ] }, - "/v1/builds/{id}/individualTesters": { + "/v1/buildBundles/{id}/betaAppClipInvocations": { "get": { "tags": [ - "Builds" + "BuildBundles" ], - "operationId": "builds_individualTesters_getToManyRelated", + "operationId": "buildBundles_betaAppClipInvocations_getToManyRelated", "parameters": [ { - "name": "fields[betaTesters]", + "name": "fields[betaAppClipInvocations]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type betaAppClipInvocations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "firstName", - "lastName", - "email", - "inviteType", - "state", - "appDevices", - "apps", - "betaGroups", - "builds" + "url", + "betaAppClipInvocationLocalizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[betaAppClipInvocationLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppClipInvocationLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "title", + "locale" ] } }, @@ -119072,6 +122302,32 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaAppClipInvocationLocalizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[betaAppClipInvocationLocalizations]", + "in": "query", + "description": "maximum number of related betaAppClipInvocationLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -119116,11 +122372,11 @@ } }, "200": { - "description": "List of BetaTesters with get", + "description": "List of BetaAppClipInvocations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTestersWithoutIncludesResponse" + "$ref": "#/components/schemas/BetaAppClipInvocationsResponse" } } } @@ -119150,46 +122406,120 @@ } ] }, - "/v1/builds/{id}/perfPowerMetrics": { + "/v1/buildBundles/{id}/relationships/buildBundleFileSizes": { "get": { "tags": [ - "Builds" + "BuildBundles" ], - "operationId": "builds_perfPowerMetrics_getToManyRelated", + "operationId": "buildBundles_buildBundleFileSizes_getToManyRelationship", "parameters": [ { - "name": "filter[platform]", + "name": "limit", "in": "query", - "description": "filter by attribute 'platform'", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildBundleBuildBundleFileSizesLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/buildBundles/{id}/buildBundleFileSizes": { + "get": { + "tags": [ + "BuildBundles" + ], + "operationId": "buildBundles_buildBundleFileSizes_getToManyRelated", + "parameters": [ { - "name": "filter[metricType]", + "name": "fields[buildBundleFileSizes]", "in": "query", - "description": "filter by attribute 'metricType'", + "description": "the fields to include for returned resources of type buildBundleFileSizes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "DISK", - "HANG", - "BATTERY", - "LAUNCH", - "MEMORY", - "ANIMATION", - "TERMINATION", - "STORAGE" + "deviceModel", + "osVersion", + "downloadBytes", + "installBytes" ] } }, @@ -119197,17 +122527,14 @@ "explode": false }, { - "name": "filter[deviceType]", + "name": "limit", "in": "query", - "description": "filter by attribute 'deviceType'", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -119252,11 +122579,11 @@ } }, "200": { - "description": "List of PerfPowerMetrics", + "description": "List of BuildBundleFileSizes", "content": { - "application/vnd.apple.xcode-metrics+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/xcodeMetrics" + "$ref": "#/components/schemas/BuildBundleFileSizesResponse" } } } @@ -119286,13 +122613,24 @@ } ] }, - "/v1/builds/{id}/relationships/preReleaseVersion": { + "/v1/buildUploads/{id}/relationships/buildUploadFiles": { "get": { "tags": [ - "Builds" + "BuildUploads" + ], + "operationId": "buildUploads_buildUploadFiles_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "builds_preReleaseVersion_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -119335,11 +122673,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildPreReleaseVersionLinkageResponse" + "$ref": "#/components/schemas/BuildUploadBuildUploadFilesLinkagesResponse" } } } @@ -119369,31 +122707,45 @@ } ] }, - "/v1/builds/{id}/preReleaseVersion": { + "/v1/buildUploads/{id}/buildUploadFiles": { "get": { "tags": [ - "Builds" + "BuildUploads" ], - "operationId": "builds_preReleaseVersion_getToOneRelated", + "operationId": "buildUploads_buildUploadFiles_getToManyRelated", "parameters": [ { - "name": "fields[preReleaseVersions]", + "name": "fields[buildUploadFiles]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type buildUploadFiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "platform", - "builds", - "app" + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "sourceFileChecksums", + "uploadOperations", + "uti" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -119438,11 +122790,11 @@ } }, "200": { - "description": "Single PrereleaseVersion with get", + "description": "List of BuildUploadFiles", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrereleaseVersionWithoutIncludesResponse" + "$ref": "#/components/schemas/BuildUploadFilesResponse" } } } @@ -119472,12 +122824,12 @@ } ] }, - "/v1/bundleIds/{id}/relationships/app": { + "/v1/builds/{id}/relationships/app": { "get": { "tags": [ - "BundleIds" + "Builds" ], - "operationId": "bundleIds_app_getToOneRelationship", + "operationId": "builds_app_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -119525,7 +122877,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdAppLinkageResponse" + "$ref": "#/components/schemas/BuildAppLinkageResponse" } } } @@ -119555,12 +122907,12 @@ } ] }, - "/v1/bundleIds/{id}/app": { + "/v1/builds/{id}/app": { "get": { "tags": [ - "BundleIds" + "Builds" ], - "operationId": "bundleIds_app_getToOneRelated", + "operationId": "builds_app_getToOneRelated", "parameters": [ { "name": "fields[apps]", @@ -119622,6 +122974,7 @@ "marketplaceSearchDetail", "buildUploads", "backgroundAssets", + "assetLibrary", "betaFeedbackScreenshotSubmissions", "betaFeedbackCrashSubmissions", "searchKeywords", @@ -119710,24 +123063,13 @@ } ] }, - "/v1/bundleIds/{id}/relationships/bundleIdCapabilities": { + "/v1/builds/{id}/relationships/appEncryptionDeclaration": { "get": { "tags": [ - "BundleIds" - ], - "operationId": "bundleIds_bundleIdCapabilities_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "Builds" ], + "operationId": "builds_appEncryptionDeclaration_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -119770,11 +123112,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdBundleIdCapabilitiesLinkagesResponse" + "$ref": "#/components/schemas/BuildAppEncryptionDeclarationLinkageResponse" } } } @@ -119791,54 +123133,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/bundleIds/{id}/bundleIdCapabilities": { - "get": { + "patch": { "tags": [ - "BundleIds" + "Builds" ], - "operationId": "bundleIds_bundleIdCapabilities_getToManyRelated", - "parameters": [ - { - "name": "fields[bundleIdCapabilities]", - "in": "query", - "description": "the fields to include for returned resources of type bundleIdCapabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "capabilityType", - "settings" - ] + "operationId": "builds_appEncryptionDeclaration_updateToOneRelationship", + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildAppEncryptionDeclarationLinkageRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -119880,16 +123190,29 @@ } } }, - "200": { - "description": "List of BundleIdCapabilities with get", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdCapabilitiesWithoutIncludesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -119915,22 +123238,44 @@ } ] }, - "/v1/bundleIds/{id}/relationships/profiles": { + "/v1/builds/{id}/appEncryptionDeclaration": { "get": { "tags": [ - "BundleIds" + "Builds" ], - "operationId": "bundleIds_profiles_getToManyRelationship", + "operationId": "builds_appEncryptionDeclaration_getToOneRelated", "parameters": [ { - "name": "limit", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" + ] + } }, - "style": "form" + "style": "form", + "explode": false } ], "responses": { @@ -119975,11 +123320,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Single AppEncryptionDeclaration with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdProfilesLinkagesResponse" + "$ref": "#/components/schemas/AppEncryptionDeclarationWithoutIncludesResponse" } } } @@ -120009,33 +123354,201 @@ } ] }, - "/v1/bundleIds/{id}/profiles": { + "/v1/builds/{id}/relationships/appStoreVersion": { "get": { "tags": [ - "BundleIds" + "Builds" ], - "operationId": "bundleIds_profiles_getToManyRelated", - "parameters": [ - { - "name": "fields[profiles]", + "operationId": "builds_appStoreVersion_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildAppStoreVersionLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/appStoreVersion": { + "get": { + "tags": [ + "Builds" + ], + "operationId": "builds_appStoreVersion_getToOneRelated", + "parameters": [ + { + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type profiles", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", "platform", - "profileType", - "profileState", - "profileContent", - "uuid", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", "createdDate", - "expirationDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", "bundleId", - "devices", - "certificates" + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -120043,12 +123556,291 @@ "explode": false }, { - "name": "limit", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionPhasedReleases]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAppVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[routingAppCoverages]", + "in": "query", + "description": "the fields to include for returned resources of type routingAppCoverages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipDefaultExperiences]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "sourceFileChecksum", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[appStoreVersionLocalizations]", + "in": "query", + "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appStoreVersionExperiments]", + "in": "query", + "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[appStoreVersionExperimentsV2]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form" } @@ -120095,11 +123887,11 @@ } }, "200": { - "description": "List of Profiles with get", + "description": "Single AppStoreVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfilesWithoutIncludesResponse" + "$ref": "#/components/schemas/AppStoreVersionResponse" } } } @@ -120129,12 +123921,12 @@ } ] }, - "/v1/certificates/{id}/relationships/passTypeId": { + "/v1/builds/{id}/relationships/betaAppReviewSubmission": { "get": { "tags": [ - "Certificates" + "Builds" ], - "operationId": "certificates_passTypeId_getToOneRelationship", + "operationId": "builds_betaAppReviewSubmission_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -120182,7 +123974,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CertificatePassTypeIdLinkageResponse" + "$ref": "#/components/schemas/BuildBetaAppReviewSubmissionLinkageResponse" } } } @@ -120212,80 +124004,30 @@ } ] }, - "/v1/certificates/{id}/passTypeId": { + "/v1/builds/{id}/betaAppReviewSubmission": { "get": { "tags": [ - "Certificates" + "Builds" ], - "operationId": "certificates_passTypeId_getToOneRelated", + "operationId": "builds_betaAppReviewSubmission_getToOneRelated", "parameters": [ { - "name": "fields[passTypeIds]", - "in": "query", - "description": "the fields to include for returned resources of type passTypeIds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "identifier", - "certificates" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[certificates]", - "in": "query", - "description": "the fields to include for returned resources of type certificates", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", - "passTypeId" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", + "name": "fields[betaAppReviewSubmissions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "certificates" + "betaReviewState", + "submittedDate", + "build" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[certificates]", - "in": "query", - "description": "maximum number of related certificates returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -120330,11 +124072,11 @@ } }, "200": { - "description": "Single PassTypeId", + "description": "Single BetaAppReviewSubmission with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PassTypeIdResponse" + "$ref": "#/components/schemas/BetaAppReviewSubmissionWithoutIncludesResponse" } } } @@ -120364,12 +124106,12 @@ } ] }, - "/v1/ciBuildActions/{id}/relationships/artifacts": { + "/v1/builds/{id}/relationships/betaBuildLocalizations": { "get": { "tags": [ - "CiBuildActions" + "Builds" ], - "operationId": "ciBuildActions_artifacts_getToManyRelationship", + "operationId": "builds_betaBuildLocalizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -120428,7 +124170,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildActionArtifactsLinkagesResponse" + "$ref": "#/components/schemas/BuildBetaBuildLocalizationsLinkagesResponse" } } } @@ -120458,26 +124200,25 @@ } ] }, - "/v1/ciBuildActions/{id}/artifacts": { + "/v1/builds/{id}/betaBuildLocalizations": { "get": { "tags": [ - "CiBuildActions" + "Builds" ], - "operationId": "ciBuildActions_artifacts_getToManyRelated", + "operationId": "builds_betaBuildLocalizations_getToManyRelated", "parameters": [ { - "name": "fields[ciArtifacts]", + "name": "fields[betaBuildLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type ciArtifacts", + "description": "the fields to include for returned resources of type betaBuildLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileType", - "fileName", - "fileSize", - "downloadUrl" + "whatsNew", + "locale", + "build" ] } }, @@ -120537,11 +124278,11 @@ } }, "200": { - "description": "List of CiArtifacts", + "description": "List of BetaBuildLocalizations with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiArtifactsResponse" + "$ref": "#/components/schemas/BetaBuildLocalizationsWithoutIncludesResponse" } } } @@ -120571,12 +124312,210 @@ } ] }, - "/v1/ciBuildActions/{id}/relationships/buildRun": { + "/v1/builds/{id}/relationships/betaGroups": { + "post": { + "tags": [ + "Builds" + ], + "operationId": "builds_betaGroups_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildBetaGroupsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Builds" + ], + "operationId": "builds_betaGroups_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildBetaGroupsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/relationships/buildBetaDetail": { "get": { "tags": [ - "CiBuildActions" + "Builds" ], - "operationId": "ciBuildActions_buildRun_getToOneRelationship", + "operationId": "builds_buildBetaDetail_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -120624,7 +124563,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildActionBuildRunLinkageResponse" + "$ref": "#/components/schemas/BuildBuildBetaDetailLinkageResponse" } } } @@ -120654,41 +124593,26 @@ } ] }, - "/v1/ciBuildActions/{id}/buildRun": { + "/v1/builds/{id}/buildBetaDetail": { "get": { "tags": [ - "CiBuildActions" + "Builds" ], - "operationId": "ciBuildActions_buildRun_getToOneRelated", + "operationId": "builds_buildBetaDetail_getToOneRelated", "parameters": [ { - "name": "fields[ciBuildRuns]", + "name": "fields[buildBetaDetails]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "the fields to include for returned resources of type buildBetaDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "number", - "createdDate", - "startedDate", - "finishedDate", - "sourceCommit", - "destinationCommit", - "isPullRequestBuild", - "issueCounts", - "executionProgress", - "completionStatus", - "startReason", - "cancelReason", - "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "actions", - "pullRequest" + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" ] } }, @@ -120736,112 +124660,6 @@ "style": "form", "explode": false }, - { - "name": "fields[ciWorkflows]", - "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "description", - "branchStartCondition", - "tagStartCondition", - "pullRequestStartCondition", - "scheduledStartCondition", - "manualBranchStartCondition", - "manualTagStartCondition", - "manualPullRequestStartCondition", - "actions", - "isEnabled", - "isLockedForEditing", - "clean", - "containerFilePath", - "lastModifiedDate", - "product", - "repository", - "xcodeVersion", - "macOsVersion", - "buildRuns" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciProducts]", - "in": "query", - "description": "the fields to include for returned resources of type ciProducts", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "productType", - "app", - "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "canonicalName", - "isDeleted", - "kind", - "repository" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmPullRequests]", - "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "number", - "webUrl", - "sourceRepositoryOwner", - "sourceRepositoryName", - "sourceBranchName", - "destinationRepositoryOwner", - "destinationRepositoryName", - "destinationBranchName", - "isClosed", - "isCrossRepository", - "repository" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "include", "in": "query", @@ -120851,27 +124669,12 @@ "items": { "type": "string", "enum": [ - "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "pullRequest" + "build" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -120916,11 +124719,11 @@ } }, "200": { - "description": "Single CiBuildRun", + "description": "Single BuildBetaDetail", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildRunResponse" + "$ref": "#/components/schemas/BuildBetaDetailResponse" } } } @@ -120950,12 +124753,12 @@ } ] }, - "/v1/ciBuildActions/{id}/relationships/issues": { + "/v1/builds/{id}/relationships/diagnosticSignatures": { "get": { "tags": [ - "CiBuildActions" + "Builds" ], - "operationId": "ciBuildActions_issues_getToManyRelationship", + "operationId": "builds_diagnosticSignatures_getToManyRelationship", "parameters": [ { "name": "limit", @@ -121014,7 +124817,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildActionIssuesLinkagesResponse" + "$ref": "#/components/schemas/BuildDiagnosticSignaturesLinkagesResponse" } } } @@ -121044,26 +124847,45 @@ } ] }, - "/v1/ciBuildActions/{id}/issues": { + "/v1/builds/{id}/diagnosticSignatures": { "get": { "tags": [ - "CiBuildActions" + "Builds" ], - "operationId": "ciBuildActions_issues_getToManyRelated", + "operationId": "builds_diagnosticSignatures_getToManyRelated", "parameters": [ { - "name": "fields[ciIssues]", + "name": "filter[diagnosticType]", "in": "query", - "description": "the fields to include for returned resources of type ciIssues", + "description": "filter by attribute 'diagnosticType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "issueType", - "message", - "fileSource", - "category" + "DISK_WRITES", + "HANGS", + "LAUNCHES" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[diagnosticSignatures]", + "in": "query", + "description": "the fields to include for returned resources of type diagnosticSignatures", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "diagnosticType", + "signature", + "weight", + "insight", + "logs" ] } }, @@ -121123,11 +124945,11 @@ } }, "200": { - "description": "List of CiIssues", + "description": "List of DiagnosticSignatures", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiIssuesResponse" + "$ref": "#/components/schemas/DiagnosticSignaturesResponse" } } } @@ -121157,12 +124979,12 @@ } ] }, - "/v1/ciBuildActions/{id}/relationships/testResults": { + "/v1/builds/{id}/relationships/icons": { "get": { "tags": [ - "CiBuildActions" + "Builds" ], - "operationId": "ciBuildActions_testResults_getToManyRelationship", + "operationId": "builds_icons_getToManyRelationship", "parameters": [ { "name": "limit", @@ -121221,7 +125043,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildActionTestResultsLinkagesResponse" + "$ref": "#/components/schemas/BuildIconsLinkagesResponse" } } } @@ -121251,28 +125073,26 @@ } ] }, - "/v1/ciBuildActions/{id}/testResults": { + "/v1/builds/{id}/icons": { "get": { "tags": [ - "CiBuildActions" + "Builds" ], - "operationId": "ciBuildActions_testResults_getToManyRelated", + "operationId": "builds_icons_getToManyRelated", "parameters": [ { - "name": "fields[ciTestResults]", + "name": "fields[buildIcons]", "in": "query", - "description": "the fields to include for returned resources of type ciTestResults", + "description": "the fields to include for returned resources of type buildIcons", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "className", - "name", - "status", - "fileSource", - "message", - "destinationTestResults" + "iconAsset", + "iconType", + "masked", + "name" ] } }, @@ -121332,11 +125152,11 @@ } }, "200": { - "description": "List of CiTestResults", + "description": "List of BuildIcons with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiTestResultsResponse" + "$ref": "#/components/schemas/BuildIconsWithoutIncludesResponse" } } } @@ -121366,12 +125186,12 @@ } ] }, - "/v1/ciBuildRuns/{id}/relationships/actions": { + "/v1/builds/{id}/relationships/individualTesters": { "get": { "tags": [ - "CiBuildRuns" + "Builds" ], - "operationId": "ciBuildRuns_actions_getToManyRelationship", + "operationId": "builds_individualTesters_getToManyRelationship", "parameters": [ { "name": "limit", @@ -121430,7 +125250,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildRunActionsLinkagesResponse" + "$ref": "#/components/schemas/BuildIndividualTestersLinkagesResponse" } } } @@ -121447,114 +125267,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciBuildRuns/{id}/actions": { - "get": { + "post": { "tags": [ - "CiBuildRuns" + "Builds" ], - "operationId": "ciBuildRuns_actions_getToManyRelated", - "parameters": [ - { - "name": "fields[ciBuildActions]", - "in": "query", - "description": "the fields to include for returned resources of type ciBuildActions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "actionType", - "startedDate", - "finishedDate", - "issueCounts", - "executionProgress", - "completionStatus", - "isRequiredToPass", - "buildRun", - "artifacts", - "issues", - "testResults" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciBuildRuns]", - "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "number", - "createdDate", - "startedDate", - "finishedDate", - "sourceCommit", - "destinationCommit", - "isPullRequestBuild", - "issueCounts", - "executionProgress", - "completionStatus", - "startReason", - "cancelReason", - "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "actions", - "pullRequest" - ] + "operationId": "builds_individualTesters_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildIndividualTestersLinkagesRequest" } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "buildRun" - ] - } - }, - "style": "form", - "explode": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -121596,16 +125324,29 @@ } } }, - "200": { - "description": "List of CiBuildActions", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildActionsResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -121618,37 +125359,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciBuildRuns/{id}/relationships/builds": { - "get": { + "delete": { "tags": [ - "CiBuildRuns" - ], - "operationId": "ciBuildRuns_builds_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "Builds" ], + "operationId": "builds_individualTesters_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildIndividualTestersLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -121690,16 +125416,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildRunBuildsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -121725,295 +125464,13 @@ } ] }, - "/v1/ciBuildRuns/{id}/builds": { + "/v1/builds/{id}/individualTesters": { "get": { "tags": [ - "CiBuildRuns" + "Builds" ], - "operationId": "ciBuildRuns_builds_getToManyRelated", + "operationId": "builds_individualTesters_getToManyRelated", "parameters": [ - { - "name": "filter[version]", - "in": "query", - "description": "filter by attribute 'version'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[expired]", - "in": "query", - "description": "filter by attribute 'expired'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[processingState]", - "in": "query", - "description": "filter by attribute 'processingState'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "PROCESSING", - "FAILED", - "INVALID", - "VALID" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[betaAppReviewSubmission.betaReviewState]", - "in": "query", - "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "REJECTED", - "APPROVED" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[usesNonExemptEncryption]", - "in": "query", - "description": "filter by attribute 'usesNonExemptEncryption'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[preReleaseVersion.version]", - "in": "query", - "description": "filter by attribute 'preReleaseVersion.version'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[preReleaseVersion.platform]", - "in": "query", - "description": "filter by attribute 'preReleaseVersion.platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[buildAudienceType]", - "in": "query", - "description": "filter by attribute 'buildAudienceType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "INTERNAL_ONLY", - "APP_STORE_ELIGIBLE" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[preReleaseVersion]", - "in": "query", - "description": "filter by id(s) of related 'preReleaseVersion'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[app]", - "in": "query", - "description": "filter by id(s) of related 'app'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[betaGroups]", - "in": "query", - "description": "filter by id(s) of related 'betaGroups'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[appStoreVersion]", - "in": "query", - "description": "filter by id(s) of related 'appStoreVersion'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "exists[usesNonExemptEncryption]", - "in": "query", - "description": "filter by attribute 'usesNonExemptEncryption'", - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "-version", - "uploadedDate", - "-uploadedDate", - "preReleaseVersion", - "-preReleaseVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[preReleaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "platform", - "builds", - "app" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[betaTesters]", "in": "query", @@ -122039,286 +125496,109 @@ "explode": false }, { - "name": "fields[betaGroups]", - "in": "query", - "description": "the fields to include for returned resources of type betaGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[betaBuildLocalizations]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "whatsNew", - "locale", - "build" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false - }, - { - "name": "fields[appEncryptionDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", - "platform", - "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", - "app", - "builds", - "appEncryptionDeclarationDocument" - ] + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[betaAppReviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "betaReviewState", - "submittedDate", - "build" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[buildBetaDetails]", - "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "autoNotifyEnabled", - "internalBuildState", - "externalBuildState", - "build" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] + "200": { + "description": "List of BetaTesters with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaTestersWithoutIncludesResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[buildIcons]", - "in": "query", - "description": "the fields to include for returned resources of type buildIcons", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "iconAsset", - "iconType", - "masked", - "name" - ] + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/perfPowerMetrics": { + "get": { + "tags": [ + "Builds" + ], + "operationId": "builds_perfPowerMetrics_getToManyRelated", + "parameters": [ { - "name": "fields[buildBundles]", + "name": "filter[platform]", "in": "query", - "description": "the fields to include for returned resources of type buildBundles", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "bundleType", - "sdkBuild", - "platformBuild", - "fileName", - "hasSirikit", - "hasOnDemandResources", - "hasPrerenderedIcon", - "usesLocationServices", - "isIosBuildMacAppStoreCompatible", - "includesSymbols", - "dSYMUrl", - "supportedArchitectures", - "requiredCapabilities", - "deviceProtocols", - "locales", - "entitlements", - "baDownloadAllowance", - "baMaxInstallSize", - "minimumOsVersion", - "appClipDomainCacheStatus", - "appClipDomainDebugStatus", - "betaAppClipInvocations", - "buildBundleFileSizes" + "IOS" ] } }, @@ -122326,25 +125606,22 @@ "explode": false }, { - "name": "fields[buildUploads]", + "name": "filter[metricType]", "in": "query", - "description": "the fields to include for returned resources of type buildUploads", + "description": "filter by attribute 'metricType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "cfBundleShortVersionString", - "cfBundleVersion", - "createdDate", - "state", - "platform", - "uploadedDate", - "build", - "assetFile", - "assetDescriptionFile", - "assetSpiFile", - "buildUploadFiles" + "DISK", + "HANG", + "BATTERY", + "LAUNCH", + "MEMORY", + "ANIMATION", + "TERMINATION", + "STORAGE" ] } }, @@ -122352,91 +125629,17 @@ "explode": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "filter[deviceType]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by attribute 'deviceType'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload" - ] + "type": "string" } }, "style": "form", "explode": false - }, - { - "name": "limit[individualTesters]", - "in": "query", - "description": "maximum number of related individualTesters returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[betaGroups]", - "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[betaBuildLocalizations]", - "in": "query", - "description": "maximum number of related betaBuildLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[icons]", - "in": "query", - "description": "maximum number of related icons returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[buildBundles]", - "in": "query", - "description": "maximum number of related buildBundles returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -122481,11 +125684,11 @@ } }, "200": { - "description": "List of Builds", + "description": "List of PerfPowerMetrics", "content": { - "application/json": { + "application/vnd.apple.xcode-metrics+json": { "schema": { - "$ref": "#/components/schemas/BuildsResponse" + "$ref": "#/components/schemas/xcodeMetrics" } } } @@ -122515,24 +125718,13 @@ } ] }, - "/v1/ciMacOsVersions/{id}/relationships/xcodeVersions": { + "/v1/builds/{id}/relationships/preReleaseVersion": { "get": { "tags": [ - "CiMacOsVersions" - ], - "operationId": "ciMacOsVersions_xcodeVersions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "Builds" ], + "operationId": "builds_preReleaseVersion_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -122575,11 +125767,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiMacOsVersionXcodeVersionsLinkagesResponse" + "$ref": "#/components/schemas/BuildPreReleaseVersionLinkageResponse" } } } @@ -122609,50 +125801,355 @@ } ] }, - "/v1/ciMacOsVersions/{id}/xcodeVersions": { + "/v1/builds/{id}/preReleaseVersion": { "get": { "tags": [ - "CiMacOsVersions" + "Builds" ], - "operationId": "ciMacOsVersions_xcodeVersions_getToManyRelated", + "operationId": "builds_preReleaseVersion_getToOneRelated", "parameters": [ { - "name": "fields[ciXcodeVersions]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ "version", - "name", - "testDestinations", - "macOsVersions" + "platform", + "builds", + "app" ] } }, "style": "form", "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "fields[ciMacOsVersions]", - "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "name", - "xcodeVersions" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single PrereleaseVersion with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PrereleaseVersionWithoutIncludesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/bundleIds/{id}/relationships/app": { + "get": { + "tags": [ + "BundleIds" + ], + "operationId": "bundleIds_app_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BundleIdAppLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/bundleIds/{id}/app": { + "get": { + "tags": [ + "BundleIds" + ], + "operationId": "bundleIds_app_getToOneRelated", + "parameters": [ + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single App with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppWithoutIncludesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/bundleIds/{id}/relationships/bundleIdCapabilities": { + "get": { + "tags": [ + "BundleIds" + ], + "operationId": "bundleIds_bundleIdCapabilities_getToManyRelationship", + "parameters": [ { "name": "limit", "in": "query", @@ -122662,17 +126159,102 @@ "maximum": 200 }, "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BundleIdBundleIdCapabilitiesLinkagesResponse" + } + } + } }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/bundleIds/{id}/bundleIdCapabilities": { + "get": { + "tags": [ + "BundleIds" + ], + "operationId": "bundleIds_bundleIdCapabilities_getToManyRelated", + "parameters": [ { - "name": "include", + "name": "fields[bundleIdCapabilities]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type bundleIdCapabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions" + "capabilityType", + "settings" ] } }, @@ -122680,12 +126262,12 @@ "explode": false }, { - "name": "limit[macOsVersions]", + "name": "limit", "in": "query", - "description": "maximum number of related macOsVersions returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" } @@ -122732,11 +126314,11 @@ } }, "200": { - "description": "List of CiXcodeVersions", + "description": "List of BundleIdCapabilities with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiXcodeVersionsResponse" + "$ref": "#/components/schemas/BundleIdCapabilitiesWithoutIncludesResponse" } } } @@ -122766,12 +126348,12 @@ } ] }, - "/v1/ciProducts/{id}/relationships/additionalRepositories": { + "/v1/bundleIds/{id}/relationships/profiles": { "get": { "tags": [ - "CiProducts" + "BundleIds" ], - "operationId": "ciProducts_additionalRepositories_getToManyRelationship", + "operationId": "bundleIds_profiles_getToManyRelationship", "parameters": [ { "name": "limit", @@ -122830,7 +126412,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiProductAdditionalRepositoriesLinkagesResponse" + "$ref": "#/components/schemas/BundleIdProfilesLinkagesResponse" } } } @@ -122860,44 +126442,228 @@ } ] }, - "/v1/ciProducts/{id}/additionalRepositories": { + "/v1/bundleIds/{id}/profiles": { "get": { "tags": [ - "CiProducts" + "BundleIds" ], - "operationId": "ciProducts_additionalRepositories_getToManyRelated", + "operationId": "bundleIds_profiles_getToManyRelated", "parameters": [ { - "name": "filter[id]", + "name": "fields[profiles]", "in": "query", - "description": "filter by id(s)", + "description": "the fields to include for returned resources of type profiles", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "name", + "platform", + "profileType", + "profileState", + "profileContent", + "uuid", + "createdDate", + "expirationDate", + "bundleId", + "devices", + "certificates" + ] } }, "style": "form", "explode": false }, { - "name": "fields[scmRepositories]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Profiles with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProfilesWithoutIncludesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/certificates/{id}/relationships/passTypeId": { + "get": { + "tags": [ + "Certificates" + ], + "operationId": "certificates_passTypeId_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CertificatePassTypeIdLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/certificates/{id}/passTypeId": { + "get": { + "tags": [ + "Certificates" + ], + "operationId": "certificates_passTypeId_getToOneRelated", + "parameters": [ + { + "name": "fields[passTypeIds]", + "in": "query", + "description": "the fields to include for returned resources of type passTypeIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "name", + "identifier", + "certificates" ] } }, @@ -122905,17 +126671,23 @@ "explode": false }, { - "name": "fields[scmProviders]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type scmProviders", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "scmProviderType", - "url", - "repositories" + "name", + "certificateType", + "displayName", + "serialNumber", + "platform", + "expirationDate", + "certificateContent", + "activated", + "passTypeId" ] } }, @@ -122923,25 +126695,115 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "canonicalName", - "isDeleted", - "kind", - "repository" + "certificates" ] } }, "style": "form", "explode": false }, + { + "name": "limit[certificates]", + "in": "query", + "description": "maximum number of related certificates returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single PassTypeId", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PassTypeIdResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/ciBuildActions/{id}/relationships/artifacts": { + "get": { + "tags": [ + "CiBuildActions" + ], + "operationId": "ciBuildActions_artifacts_getToManyRelationship", + "parameters": [ { "name": "limit", "in": "query", @@ -122951,23 +126813,119 @@ "maximum": 200 }, "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CiBuildActionArtifactsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/ciBuildActions/{id}/artifacts": { + "get": { + "tags": [ + "CiBuildActions" + ], + "operationId": "ciBuildActions_artifacts_getToManyRelated", + "parameters": [ { - "name": "include", + "name": "fields[ciArtifacts]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type ciArtifacts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "scmProvider", - "defaultBranch" + "fileType", + "fileName", + "fileSize", + "downloadUrl" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -123012,11 +126970,11 @@ } }, "200": { - "description": "List of ScmRepositories", + "description": "List of CiArtifacts", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoriesResponse" + "$ref": "#/components/schemas/CiArtifactsResponse" } } } @@ -123046,12 +127004,12 @@ } ] }, - "/v1/ciProducts/{id}/relationships/app": { + "/v1/ciBuildActions/{id}/relationships/buildRun": { "get": { "tags": [ - "CiProducts" + "CiBuildActions" ], - "operationId": "ciProducts_app_getToOneRelationship", + "operationId": "ciBuildActions_buildRun_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -123099,7 +127057,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiProductAppLinkageResponse" + "$ref": "#/components/schemas/CiBuildActionBuildRunLinkageResponse" } } } @@ -123129,78 +127087,41 @@ } ] }, - "/v1/ciProducts/{id}/app": { + "/v1/ciBuildActions/{id}/buildRun": { "get": { "tags": [ - "CiProducts" + "CiBuildActions" ], - "operationId": "ciProducts_app_getToOneRelated", + "operationId": "ciBuildActions_buildRun_getToOneRelated", "parameters": [ { - "name": "fields[apps]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", + "number", + "createdDate", + "startedDate", + "finishedDate", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", + "issueCounts", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" ] } }, @@ -123208,31 +127129,40 @@ "explode": false }, { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appDescription", - "createdDate", - "usesEncryption", - "exempt", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "availableOnFrenchStore", - "platform", + "version", "uploadedDate", - "documentUrl", - "documentName", - "documentType", - "appEncryptionDeclarationState", - "codeValue", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", "app", - "builds", - "appEncryptionDeclarationDocument" + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -123240,18 +127170,34 @@ "explode": false }, { - "name": "fields[buildIcons]", + "name": "fields[ciWorkflows]", "in": "query", - "description": "the fields to include for returned resources of type buildIcons", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "iconAsset", - "iconType", - "masked", - "name" + "name", + "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", + "isEnabled", + "isLockedForEditing", + "clean", + "containerFilePath", + "lastModifiedDate", + "product", + "repository", + "xcodeVersion", + "macOsVersion", + "buildRuns" ] } }, @@ -123283,509 +127229,19 @@ "explode": false }, { - "name": "fields[betaGroups]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "createdDate", - "isInternalGroup", - "hasAccessToAllBuilds", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimitEnabled", - "publicLinkLimit", - "publicLink", - "feedbackEnabled", - "iosBuildsAvailableForAppleSiliconMac", - "iosBuildsAvailableForAppleVision", - "app", - "builds", - "betaTesters", - "betaRecruitmentCriteria", - "betaRecruitmentCriterionCompatibleBuildCheck" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[preReleaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "platform", - "builds", - "app" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[betaAppLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "feedbackEmail", - "marketingUrl", - "privacyPolicyUrl", - "tvOsPrivacyPolicy", - "description", - "locale", - "app" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[betaLicenseAgreements]", - "in": "query", - "description": "the fields to include for returned resources of type betaLicenseAgreements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "agreementText", - "app" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[betaAppReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "app" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appInfos]", - "in": "query", - "description": "the fields to include for returned resources of type appInfos", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreState", - "state", - "appStoreAgeRating", - "australiaAgeRating", - "brazilAgeRating", - "brazilAgeRatingV2", - "franceAgeRating", - "koreaAgeRating", - "app", - "ageRatingDeclaration", - "appInfoLocalizations", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "territoryAgeRatings" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appClips]", - "in": "query", - "description": "the fields to include for returned resources of type appClips", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "bundleId", - "app", - "appClipDefaultExperiences", - "appClipAdvancedExperiences" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[endUserLicenseAgreements]", - "in": "query", - "description": "the fields to include for returned resources of type endUserLicenseAgreements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "agreementText", - "app", - "territories" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "productId", - "inAppPurchaseType", - "state", - "apps", - "name", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionGroups]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterEnabledVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterEnabledVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "iconAsset", - "compatibleVersions", - "app" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPages]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "visible", - "app", - "appCustomProductPageVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appEvents]", - "in": "query", - "description": "the fields to include for returned resources of type appEvents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "badge", - "eventState", - "deepLink", - "purchaseRequirement", - "primaryLocale", - "priority", - "purpose", - "territorySchedules", - "archivedTerritorySchedules", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[reviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "submittedDate", - "state", - "app", - "items", - "appStoreVersionForReview", - "submittedByActor", - "lastUpdatedByActor" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionGracePeriods]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGracePeriods", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "optIn", - "sandboxOptIn", - "duration", - "renewalType" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "platform", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "app", - "latestControlVersion", - "controlVersions", - "appStoreVersionExperimentTreatments" + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -123793,16 +127249,26 @@ "explode": false }, { - "name": "fields[androidToIosAppMappingDetails]", + "name": "fields[scmPullRequests]", "in": "query", - "description": "the fields to include for returned resources of type androidToIosAppMappingDetails", + "description": "the fields to include for returned resources of type scmPullRequests", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "packageName", - "appSigningKeyPublicCertificateSha256Fingerprints" + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", + "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", + "isClosed", + "isCrossRepository", + "repository" ] } }, @@ -123818,87 +127284,18 @@ "items": { "type": "string", "enum": [ - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaGroups", - "appStoreVersions", - "preReleaseVersions", - "betaAppLocalizations", "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "endUserLicenseAgreement", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "androidToIosAppMappingDetails" + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "pullRequest" ] } }, "style": "form", "explode": false }, - { - "name": "limit[appEncryptionDeclarations]", - "in": "query", - "description": "maximum number of related appEncryptionDeclarations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[betaGroups]", - "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appStoreVersions]", - "in": "query", - "description": "maximum number of related appStoreVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[preReleaseVersions]", - "in": "query", - "description": "maximum number of related preReleaseVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[betaAppLocalizations]", - "in": "query", - "description": "maximum number of related betaAppLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "limit[builds]", "in": "query", @@ -123908,128 +127305,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "limit[appInfos]", - "in": "query", - "description": "maximum number of related appInfos returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appClips]", - "in": "query", - "description": "maximum number of related appClips returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[inAppPurchases]", - "in": "query", - "description": "maximum number of related inAppPurchases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[subscriptionGroups]", - "in": "query", - "description": "maximum number of related subscriptionGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterEnabledVersions]", - "in": "query", - "description": "maximum number of related gameCenterEnabledVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[appCustomProductPages]", - "in": "query", - "description": "maximum number of related appCustomProductPages returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[inAppPurchasesV2]", - "in": "query", - "description": "maximum number of related inAppPurchasesV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[promotedPurchases]", - "in": "query", - "description": "maximum number of related promotedPurchases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appEvents]", - "in": "query", - "description": "maximum number of related appEvents returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[reviewSubmissions]", - "in": "query", - "description": "maximum number of related reviewSubmissions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appStoreVersionExperimentsV2]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[androidToIosAppMappingDetails]", - "in": "query", - "description": "maximum number of related androidToIosAppMappingDetails returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -124074,11 +127349,11 @@ } }, "200": { - "description": "Single App", + "description": "Single CiBuildRun", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppResponse" + "$ref": "#/components/schemas/CiBuildRunResponse" } } } @@ -124108,12 +127383,12 @@ } ] }, - "/v1/ciProducts/{id}/relationships/buildRuns": { + "/v1/ciBuildActions/{id}/relationships/issues": { "get": { "tags": [ - "CiProducts" + "CiBuildActions" ], - "operationId": "ciProducts_buildRuns_getToManyRelationship", + "operationId": "ciBuildActions_issues_getToManyRelationship", "parameters": [ { "name": "limit", @@ -124172,7 +127447,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiProductBuildRunsLinkagesResponse" + "$ref": "#/components/schemas/CiBuildActionIssuesLinkagesResponse" } } } @@ -124202,218 +127477,26 @@ } ] }, - "/v1/ciProducts/{id}/buildRuns": { + "/v1/ciBuildActions/{id}/issues": { "get": { "tags": [ - "CiProducts" + "CiBuildActions" ], - "operationId": "ciProducts_buildRuns_getToManyRelated", + "operationId": "ciBuildActions_issues_getToManyRelated", "parameters": [ { - "name": "filter[builds]", - "in": "query", - "description": "filter by id(s) of related 'builds'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "number", - "-number" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciBuildRuns]", - "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "number", - "createdDate", - "startedDate", - "finishedDate", - "sourceCommit", - "destinationCommit", - "isPullRequestBuild", - "issueCounts", - "executionProgress", - "completionStatus", - "startReason", - "cancelReason", - "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "actions", - "pullRequest" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciWorkflows]", - "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "description", - "branchStartCondition", - "tagStartCondition", - "pullRequestStartCondition", - "scheduledStartCondition", - "manualBranchStartCondition", - "manualTagStartCondition", - "manualPullRequestStartCondition", - "actions", - "isEnabled", - "isLockedForEditing", - "clean", - "containerFilePath", - "lastModifiedDate", - "product", - "repository", - "xcodeVersion", - "macOsVersion", - "buildRuns" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciProducts]", - "in": "query", - "description": "the fields to include for returned resources of type ciProducts", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "createdDate", - "productType", - "app", - "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "canonicalName", - "isDeleted", - "kind", - "repository" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmPullRequests]", + "name": "fields[ciIssues]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type ciIssues", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "title", - "number", - "webUrl", - "sourceRepositoryOwner", - "sourceRepositoryName", - "sourceBranchName", - "destinationRepositoryOwner", - "destinationRepositoryName", - "destinationBranchName", - "isClosed", - "isCrossRepository", - "repository" + "issueType", + "message", + "fileSource", + "category" ] } }, @@ -124429,37 +127512,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "pullRequest" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -124504,11 +127556,11 @@ } }, "200": { - "description": "List of CiBuildRuns", + "description": "List of CiIssues", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildRunsResponse" + "$ref": "#/components/schemas/CiIssuesResponse" } } } @@ -124538,12 +127590,12 @@ } ] }, - "/v1/ciProducts/{id}/relationships/primaryRepositories": { + "/v1/ciBuildActions/{id}/relationships/testResults": { "get": { "tags": [ - "CiProducts" + "CiBuildActions" ], - "operationId": "ciProducts_primaryRepositories_getToManyRelationship", + "operationId": "ciBuildActions_testResults_getToManyRelationship", "parameters": [ { "name": "limit", @@ -124602,7 +127654,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiProductPrimaryRepositoriesLinkagesResponse" + "$ref": "#/components/schemas/CiBuildActionTestResultsLinkagesResponse" } } } @@ -124632,44 +127684,28 @@ } ] }, - "/v1/ciProducts/{id}/primaryRepositories": { + "/v1/ciBuildActions/{id}/testResults": { "get": { "tags": [ - "CiProducts" + "CiBuildActions" ], - "operationId": "ciProducts_primaryRepositories_getToManyRelated", + "operationId": "ciBuildActions_testResults_getToManyRelated", "parameters": [ { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmRepositories]", + "name": "fields[ciTestResults]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type ciTestResults", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "className", + "name", + "status", + "fileSource", + "message", + "destinationTestResults" ] } }, @@ -124677,69 +127713,14 @@ "explode": false }, { - "name": "fields[scmProviders]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type scmProviders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "scmProviderType", - "url", - "repositories" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "canonicalName", - "isDeleted", - "kind", - "repository" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", + "description": "maximum resources per page", "schema": { "type": "integer", "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "scmProvider", - "defaultBranch" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -124784,11 +127765,11 @@ } }, "200": { - "description": "List of ScmRepositories", + "description": "List of CiTestResults", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoriesResponse" + "$ref": "#/components/schemas/CiTestResultsResponse" } } } @@ -124818,12 +127799,12 @@ } ] }, - "/v1/ciProducts/{id}/relationships/workflows": { + "/v1/ciBuildRuns/{id}/relationships/actions": { "get": { "tags": [ - "CiProducts" + "CiBuildRuns" ], - "operationId": "ciProducts_workflows_getToManyRelationship", + "operationId": "ciBuildRuns_actions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -124882,7 +127863,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiProductWorkflowsLinkagesResponse" + "$ref": "#/components/schemas/CiBuildRunActionsLinkagesResponse" } } } @@ -124912,42 +127893,34 @@ } ] }, - "/v1/ciProducts/{id}/workflows": { + "/v1/ciBuildRuns/{id}/actions": { "get": { "tags": [ - "CiProducts" + "CiBuildRuns" ], - "operationId": "ciProducts_workflows_getToManyRelated", + "operationId": "ciBuildRuns_actions_getToManyRelated", "parameters": [ { - "name": "fields[ciWorkflows]", + "name": "fields[ciBuildActions]", "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", + "description": "the fields to include for returned resources of type ciBuildActions", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "description", - "branchStartCondition", - "tagStartCondition", - "pullRequestStartCondition", - "scheduledStartCondition", - "manualBranchStartCondition", - "manualTagStartCondition", - "manualPullRequestStartCondition", - "actions", - "isEnabled", - "isLockedForEditing", - "clean", - "containerFilePath", - "lastModifiedDate", - "product", - "repository", - "xcodeVersion", - "macOsVersion", - "buildRuns" + "actionType", + "startedDate", + "finishedDate", + "issueCounts", + "executionProgress", + "completionStatus", + "isRequiredToPass", + "buildRun", + "artifacts", + "issues", + "testResults" ] } }, @@ -124955,84 +127928,33 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", + "number", "createdDate", - "productType", - "app", - "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmRepositories]", - "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciXcodeVersions]", - "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "name", - "testDestinations", - "macOsVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciMacOsVersions]", - "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "name", - "xcodeVersions" + "startedDate", + "finishedDate", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", + "issueCounts", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" ] } }, @@ -125058,10 +127980,7 @@ "items": { "type": "string", "enum": [ - "product", - "repository", - "xcodeVersion", - "macOsVersion" + "buildRun" ] } }, @@ -125111,11 +128030,11 @@ } }, "200": { - "description": "List of CiWorkflows", + "description": "List of CiBuildActions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiWorkflowsResponse" + "$ref": "#/components/schemas/CiBuildActionsResponse" } } } @@ -125145,12 +128064,12 @@ } ] }, - "/v1/ciWorkflows/{id}/relationships/buildRuns": { + "/v1/ciBuildRuns/{id}/relationships/builds": { "get": { "tags": [ - "CiWorkflows" + "CiBuildRuns" ], - "operationId": "ciWorkflows_buildRuns_getToManyRelationship", + "operationId": "ciBuildRuns_builds_getToManyRelationship", "parameters": [ { "name": "limit", @@ -125209,7 +128128,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiWorkflowBuildRunsLinkagesResponse" + "$ref": "#/components/schemas/CiBuildRunBuildsLinkagesResponse" } } } @@ -125239,17 +128158,17 @@ } ] }, - "/v1/ciWorkflows/{id}/buildRuns": { + "/v1/ciBuildRuns/{id}/builds": { "get": { "tags": [ - "CiWorkflows" + "CiBuildRuns" ], - "operationId": "ciWorkflows_buildRuns_getToManyRelated", + "operationId": "ciBuildRuns_builds_getToManyRelated", "parameters": [ { - "name": "filter[builds]", + "name": "filter[version]", "in": "query", - "description": "filter by id(s) of related 'builds'", + "description": "filter by attribute 'version'", "schema": { "type": "array", "items": { @@ -125260,16 +128179,31 @@ "explode": false }, { - "name": "sort", + "name": "filter[expired]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "filter by attribute 'expired'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[processingState]", + "in": "query", + "description": "filter by attribute 'processingState'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "number", - "-number" + "PROCESSING", + "FAILED", + "INVALID", + "VALID" ] } }, @@ -125277,33 +128211,176 @@ "explode": false }, { - "name": "fields[ciBuildRuns]", + "name": "filter[betaAppReviewSubmission.betaReviewState]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "number", - "createdDate", - "startedDate", - "finishedDate", - "sourceCommit", - "destinationCommit", - "isPullRequestBuild", - "issueCounts", - "executionProgress", - "completionStatus", - "startReason", - "cancelReason", - "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "actions", - "pullRequest" + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "REJECTED", + "APPROVED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[usesNonExemptEncryption]", + "in": "query", + "description": "filter by attribute 'usesNonExemptEncryption'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[preReleaseVersion.version]", + "in": "query", + "description": "filter by attribute 'preReleaseVersion.version'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[preReleaseVersion.platform]", + "in": "query", + "description": "filter by attribute 'preReleaseVersion.platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[buildAudienceType]", + "in": "query", + "description": "filter by attribute 'buildAudienceType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "INTERNAL_ONLY", + "APP_STORE_ELIGIBLE" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[preReleaseVersion]", + "in": "query", + "description": "filter by id(s) of related 'preReleaseVersion'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[app]", + "in": "query", + "description": "filter by id(s) of related 'app'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[betaGroups]", + "in": "query", + "description": "filter by id(s) of related 'betaGroups'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersion]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersion'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "exists[usesNonExemptEncryption]", + "in": "query", + "description": "filter by attribute 'usesNonExemptEncryption'", + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "-version", + "uploadedDate", + "-uploadedDate", + "preReleaseVersion", + "-preReleaseVersion" ] } }, @@ -125352,34 +128429,18 @@ "explode": false }, { - "name": "fields[ciWorkflows]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "description", - "branchStartCondition", - "tagStartCondition", - "pullRequestStartCondition", - "scheduledStartCondition", - "manualBranchStartCondition", - "manualTagStartCondition", - "manualPullRequestStartCondition", - "actions", - "isEnabled", - "isLockedForEditing", - "clean", - "containerFilePath", - "lastModifiedDate", - "product", - "repository", - "xcodeVersion", - "macOsVersion", - "buildRuns" + "version", + "platform", + "builds", + "app" ] } }, @@ -125387,9 +128448,33 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type betaTesters", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", + "appDevices", + "apps", + "betaGroups", + "builds" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[betaGroups]", + "in": "query", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { @@ -125397,13 +128482,21 @@ "enum": [ "name", "createdDate", - "productType", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", "app", - "bundleId", - "workflows", - "primaryRepositories", - "additionalRepositories", - "buildRuns" + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" ] } }, @@ -125411,19 +128504,139 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "fields[betaBuildLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type betaBuildLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "whatsNew", + "locale", + "build" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEncryptionDeclarations]", + "in": "query", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[betaAppReviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaReviewState", + "submittedDate", + "build" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "accessibilityUrl", "name", - "canonicalName", - "isDeleted", - "kind", - "repository" + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -125431,26 +128644,141 @@ "explode": false }, { - "name": "fields[scmPullRequests]", + "name": "fields[buildBetaDetails]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type buildBetaDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "title", - "number", - "webUrl", - "sourceRepositoryOwner", - "sourceRepositoryName", - "sourceBranchName", - "destinationRepositoryOwner", - "destinationRepositoryName", - "destinationBranchName", - "isClosed", - "isCrossRepository", - "repository" + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildIcons]", + "in": "query", + "description": "the fields to include for returned resources of type buildIcons", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "iconAsset", + "iconType", + "masked", + "name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildBundles]", + "in": "query", + "description": "the fields to include for returned resources of type buildBundles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "bundleId", + "bundleType", + "sdkBuild", + "platformBuild", + "fileName", + "hasSirikit", + "hasOnDemandResources", + "hasPrerenderedIcon", + "usesLocationServices", + "isIosBuildMacAppStoreCompatible", + "includesSymbols", + "dSYMUrl", + "supportedArchitectures", + "requiredCapabilities", + "deviceProtocols", + "locales", + "entitlements", + "baDownloadAllowance", + "baMaxInstallSize", + "minimumOsVersion", + "appClipDomainCacheStatus", + "appClipDomainDebugStatus", + "betaAppClipInvocations", + "buildBundleFileSizes" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildUploads]", + "in": "query", + "description": "the fields to include for returned resources of type buildUploads", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "cfBundleShortVersionString", + "cfBundleVersion", + "createdDate", + "state", + "platform", + "uploadedDate", + "build", + "assetFile", + "assetDescriptionFile", + "assetSpiFile", + "buildUploadFiles" ] } }, @@ -125476,12 +128804,18 @@ "items": { "type": "string", "enum": [ - "builds", - "workflow", - "product", - "sourceBranchOrTag", - "destinationBranch", - "pullRequest" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload" ] } }, @@ -125489,9 +128823,49 @@ "explode": false }, { - "name": "limit[builds]", + "name": "limit[individualTesters]", "in": "query", - "description": "maximum number of related builds returned (when they are included)", + "description": "maximum number of related individualTesters returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaGroups]", + "in": "query", + "description": "maximum number of related betaGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaBuildLocalizations]", + "in": "query", + "description": "maximum number of related betaBuildLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[icons]", + "in": "query", + "description": "maximum number of related icons returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[buildBundles]", + "in": "query", + "description": "maximum number of related buildBundles returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -125541,11 +128915,11 @@ } }, "200": { - "description": "List of CiBuildRuns", + "description": "List of Builds", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildRunsResponse" + "$ref": "#/components/schemas/BuildsResponse" } } } @@ -125575,13 +128949,24 @@ } ] }, - "/v1/ciWorkflows/{id}/relationships/repository": { + "/v1/ciMacOsVersions/{id}/relationships/xcodeVersions": { "get": { "tags": [ - "CiWorkflows" + "CiMacOsVersions" + ], + "operationId": "ciMacOsVersions_xcodeVersions_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "ciWorkflows_repository_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -125624,11 +129009,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiWorkflowRepositoryLinkageResponse" + "$ref": "#/components/schemas/CiMacOsVersionXcodeVersionsLinkagesResponse" } } } @@ -125658,31 +129043,26 @@ } ] }, - "/v1/ciWorkflows/{id}/repository": { + "/v1/ciMacOsVersions/{id}/xcodeVersions": { "get": { "tags": [ - "CiWorkflows" + "CiMacOsVersions" ], - "operationId": "ciWorkflows_repository_getToOneRelated", + "operationId": "ciMacOsVersions_xcodeVersions_getToManyRelated", "parameters": [ { - "name": "fields[scmRepositories]", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "version", + "name", + "testDestinations", + "macOsVersions" ] } }, @@ -125690,17 +129070,17 @@ "explode": false }, { - "name": "fields[scmProviders]", + "name": "fields[ciMacOsVersions]", "in": "query", - "description": "the fields to include for returned resources of type scmProviders", + "description": "the fields to include for returned resources of type ciMacOsVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "scmProviderType", - "url", - "repositories" + "version", + "name", + "xcodeVersions" ] } }, @@ -125708,24 +129088,14 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "canonicalName", - "isDeleted", - "kind", - "repository" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { "name": "include", @@ -125736,13 +129106,22 @@ "items": { "type": "string", "enum": [ - "scmProvider", - "defaultBranch" + "macOsVersions" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[macOsVersions]", + "in": "query", + "description": "maximum number of related macOsVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -125787,11 +129166,11 @@ } }, "200": { - "description": "Single ScmRepository", + "description": "List of CiXcodeVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoryResponse" + "$ref": "#/components/schemas/CiXcodeVersionsResponse" } } } @@ -125821,12 +129200,12 @@ } ] }, - "/v1/ciXcodeVersions/{id}/relationships/macOsVersions": { + "/v1/ciProducts/{id}/relationships/additionalRepositories": { "get": { "tags": [ - "CiXcodeVersions" + "CiProducts" ], - "operationId": "ciXcodeVersions_macOsVersions_getToManyRelationship", + "operationId": "ciProducts_additionalRepositories_getToManyRelationship", "parameters": [ { "name": "limit", @@ -125885,7 +129264,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiXcodeVersionMacOsVersionsLinkagesResponse" + "$ref": "#/components/schemas/CiProductAdditionalRepositoriesLinkagesResponse" } } } @@ -125915,25 +129294,44 @@ } ] }, - "/v1/ciXcodeVersions/{id}/macOsVersions": { + "/v1/ciProducts/{id}/additionalRepositories": { "get": { "tags": [ - "CiXcodeVersions" + "CiProducts" ], - "operationId": "ciXcodeVersions_macOsVersions_getToManyRelated", + "operationId": "ciProducts_additionalRepositories_getToManyRelated", "parameters": [ { - "name": "fields[ciMacOsVersions]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "name", - "xcodeVersions" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -125941,18 +129339,37 @@ "explode": false }, { - "name": "fields[ciXcodeVersions]", + "name": "fields[scmProviders]", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "the fields to include for returned resources of type scmProviders", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "scmProviderType", + "url", + "repositories" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", "name", - "testDestinations", - "macOsVersions" + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -125978,22 +129395,13 @@ "items": { "type": "string", "enum": [ - "xcodeVersions" + "scmProvider", + "defaultBranch" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[xcodeVersions]", - "in": "query", - "description": "maximum number of related xcodeVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -126038,11 +129446,11 @@ } }, "200": { - "description": "List of CiMacOsVersions", + "description": "List of ScmRepositories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiMacOsVersionsResponse" + "$ref": "#/components/schemas/ScmRepositoriesResponse" } } } @@ -126072,12 +129480,12 @@ } ] }, - "/v1/customerReviews/{id}/relationships/response": { + "/v1/ciProducts/{id}/relationships/app": { "get": { "tags": [ - "CustomerReviews" + "CiProducts" ], - "operationId": "customerReviews_response_getToOneRelationship", + "operationId": "ciProducts_app_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -126125,7 +129533,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomerReviewResponseLinkageResponse" + "$ref": "#/components/schemas/CiProductAppLinkageResponse" } } } @@ -126155,26 +129563,79 @@ } ] }, - "/v1/customerReviews/{id}/response": { + "/v1/ciProducts/{id}/app": { "get": { "tags": [ - "CustomerReviews" + "CiProducts" ], - "operationId": "customerReviews_response_getToOneRelated", + "operationId": "ciProducts_app_getToOneRelated", "parameters": [ { - "name": "fields[customerReviewResponses]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type customerReviewResponses", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "responseBody", - "lastModifiedDate", - "state", - "review" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -126182,22 +129643,31 @@ "explode": false }, { - "name": "fields[customerReviews]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type customerReviews", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "rating", - "title", - "body", - "reviewerNickname", + "appDescription", "createdDate", - "territory", - "response", - "reviewTerritory" + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -126205,112 +129675,794 @@ "explode": false }, { - "name": "include", + "name": "fields[buildIcons]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type buildIcons", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "review" + "iconAsset", + "iconType", + "masked", + "name" ] } }, "style": "form", "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + }, + { + "name": "fields[ciProducts]", + "in": "query", + "description": "the fields to include for returned resources of type ciProducts", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" + ] } - } + }, + "style": "form", + "explode": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[betaGroups]", + "in": "query", + "description": "the fields to include for returned resources of type betaGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "iosBuildsAvailableForAppleVision", + "app", + "builds", + "betaTesters", + "betaRecruitmentCriteria", + "betaRecruitmentCriterionCompatibleBuildCheck" + ] } - } + }, + "style": "form", + "explode": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[preReleaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type preReleaseVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "platform", + "builds", + "app" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "Single CustomerReviewResponse", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomerReviewResponseV1Response" - } + { + "name": "fields[betaAppLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "feedbackEmail", + "marketingUrl", + "privacyPolicyUrl", + "tvOsPrivacyPolicy", + "description", + "locale", + "app" + ] } - } + }, + "style": "form", + "explode": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/diagnosticSignatures/{id}/logs": { - "get": { - "tags": [ - "DiagnosticSignatures" - ], - "operationId": "diagnosticSignatures_logs_getToManyRelated", - "parameters": [ { - "name": "limit", + "name": "fields[betaLicenseAgreements]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type betaLicenseAgreements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "agreementText", + "app" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[betaAppReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "app" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appInfos]", + "in": "query", + "description": "the fields to include for returned resources of type appInfos", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", + "brazilAgeRating", + "brazilAgeRatingV2", + "franceAgeRating", + "koreaAgeRating", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo", + "territoryAgeRatings" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClips]", + "in": "query", + "description": "the fields to include for returned resources of type appClips", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "bundleId", + "app", + "appClipDefaultExperiences", + "appClipAdvancedExperiences" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[endUserLicenseAgreements]", + "in": "query", + "description": "the fields to include for returned resources of type endUserLicenseAgreements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "agreementText", + "app", + "territories" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "productId", + "inAppPurchaseType", + "state", + "apps", + "name", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGroups]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterEnabledVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterEnabledVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "iconAsset", + "compatibleVersions", + "app" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPages]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "url", + "visible", + "app", + "appCustomProductPageVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[promotedPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleForAllUsers", + "enabled", + "state", + "inAppPurchaseV2", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEvents]", + "in": "query", + "description": "the fields to include for returned resources of type appEvents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[reviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type reviewSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "submittedDate", + "state", + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGracePeriods]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "optIn", + "sandboxOptIn", + "duration", + "renewalType" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "platform", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[androidToIosAppMappingDetails]", + "in": "query", + "description": "the fields to include for returned resources of type androidToIosAppMappingDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "packageName", + "appSigningKeyPublicCertificateSha256Fingerprints" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaGroups", + "appStoreVersions", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "endUserLicenseAgreement", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[appEncryptionDeclarations]", + "in": "query", + "description": "maximum number of related appEncryptionDeclarations returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaGroups]", + "in": "query", + "description": "maximum number of related betaGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appStoreVersions]", + "in": "query", + "description": "maximum number of related appStoreVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[preReleaseVersions]", + "in": "query", + "description": "maximum number of related preReleaseVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaAppLocalizations]", + "in": "query", + "description": "maximum number of related betaAppLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appInfos]", + "in": "query", + "description": "maximum number of related appInfos returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appClips]", + "in": "query", + "description": "maximum number of related appClips returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[inAppPurchases]", + "in": "query", + "description": "maximum number of related inAppPurchases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[subscriptionGroups]", + "in": "query", + "description": "maximum number of related subscriptionGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterEnabledVersions]", + "in": "query", + "description": "maximum number of related gameCenterEnabledVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[appCustomProductPages]", + "in": "query", + "description": "maximum number of related appCustomProductPages returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[inAppPurchasesV2]", + "in": "query", + "description": "maximum number of related inAppPurchasesV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[promotedPurchases]", + "in": "query", + "description": "maximum number of related promotedPurchases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appEvents]", + "in": "query", + "description": "maximum number of related appEvents returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[reviewSubmissions]", + "in": "query", + "description": "maximum number of related reviewSubmissions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appStoreVersionExperimentsV2]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[androidToIosAppMappingDetails]", + "in": "query", + "description": "maximum number of related androidToIosAppMappingDetails returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form" } @@ -126357,11 +130509,11 @@ } }, "200": { - "description": "List of DiagnosticLogs", + "description": "Single App", "content": { - "application/vnd.apple.diagnostic-logs+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/diagnosticLogs" + "$ref": "#/components/schemas/AppResponse" } } } @@ -126391,12 +130543,12 @@ } ] }, - "/v1/endUserLicenseAgreements/{id}/relationships/territories": { + "/v1/ciProducts/{id}/relationships/buildRuns": { "get": { "tags": [ - "EndUserLicenseAgreements" + "CiProducts" ], - "operationId": "endUserLicenseAgreements_territories_getToManyRelationship", + "operationId": "ciProducts_buildRuns_getToManyRelationship", "parameters": [ { "name": "limit", @@ -126455,7 +130607,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EndUserLicenseAgreementTerritoriesLinkagesResponse" + "$ref": "#/components/schemas/CiProductBuildRunsLinkagesResponse" } } } @@ -126485,23 +130637,37 @@ } ] }, - "/v1/endUserLicenseAgreements/{id}/territories": { + "/v1/ciProducts/{id}/buildRuns": { "get": { "tags": [ - "EndUserLicenseAgreements" + "CiProducts" ], - "operationId": "endUserLicenseAgreements_territories_getToManyRelated", + "operationId": "ciProducts_buildRuns_getToManyRelated", "parameters": [ { - "name": "fields[territories]", + "name": "filter[builds]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "filter by id(s) of related 'builds'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "number", + "-number" ] } }, @@ -126509,17 +130675,229 @@ "explode": false }, { - "name": "limit", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "number", + "createdDate", + "startedDate", + "finishedDate", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", + "issueCounts", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" + ] + } }, - "style": "form" - } - ], - "responses": { + "style": "form", + "explode": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[ciWorkflows]", + "in": "query", + "description": "the fields to include for returned resources of type ciWorkflows", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", + "isEnabled", + "isLockedForEditing", + "clean", + "containerFilePath", + "lastModifiedDate", + "product", + "repository", + "xcodeVersion", + "macOsVersion", + "buildRuns" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[ciProducts]", + "in": "query", + "description": "the fields to include for returned resources of type ciProducts", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmPullRequests]", + "in": "query", + "description": "the fields to include for returned resources of type scmPullRequests", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", + "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", + "isClosed", + "isCrossRepository", + "repository" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "pullRequest" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + } + ], + "responses": { "400": { "description": "Parameter error(s)", "content": { @@ -126561,11 +130939,11 @@ } }, "200": { - "description": "List of Territories with get", + "description": "List of CiBuildRuns", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoriesWithoutIncludesResponse" + "$ref": "#/components/schemas/CiBuildRunsResponse" } } } @@ -126595,13 +130973,24 @@ } ] }, - "/v2/gameCenterAchievementLocalizations/{id}/relationships/image": { + "/v1/ciProducts/{id}/relationships/primaryRepositories": { "get": { "tags": [ - "GameCenterAchievementLocalizations" + "CiProducts" + ], + "operationId": "ciProducts_primaryRepositories_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "gameCenterAchievementLocalizationsV2_image_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -126644,11 +131033,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2ImageLinkageResponse" + "$ref": "#/components/schemas/CiProductPrimaryRepositoriesLinkagesResponse" } } } @@ -126678,28 +131067,44 @@ } ] }, - "/v2/gameCenterAchievementLocalizations/{id}/image": { + "/v1/ciProducts/{id}/primaryRepositories": { "get": { "tags": [ - "GameCenterAchievementLocalizations" + "CiProducts" ], - "operationId": "gameCenterAchievementLocalizationsV2_image_getToOneRelated", + "operationId": "ciProducts_primaryRepositories_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterAchievementImages]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -126707,26 +131112,53 @@ "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[scmProviders]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type scmProviders", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "scmProviderType", + "url", + "repositories" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "version", - "image" + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -126736,7 +131168,8 @@ "items": { "type": "string", "enum": [ - "localization" + "scmProvider", + "defaultBranch" ] } }, @@ -126786,11 +131219,11 @@ } }, "200": { - "description": "Single GameCenterAchievementImage", + "description": "List of ScmRepositories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageV2Response" + "$ref": "#/components/schemas/ScmRepositoriesResponse" } } } @@ -126820,14 +131253,24 @@ } ] }, - "/v1/gameCenterAchievementLocalizations/{id}/relationships/gameCenterAchievement": { + "/v1/ciProducts/{id}/relationships/workflows": { "get": { "tags": [ - "GameCenterAchievementLocalizations" + "CiProducts" + ], + "operationId": "ciProducts_workflows_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "gameCenterAchievementLocalizations_gameCenterAchievement_getToOneRelationship", - "deprecated": true, - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -126870,11 +131313,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationGameCenterAchievementLinkageResponse" + "$ref": "#/components/schemas/CiProductWorkflowsLinkagesResponse" } } } @@ -126904,36 +131347,42 @@ } ] }, - "/v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievement": { + "/v1/ciProducts/{id}/workflows": { "get": { "tags": [ - "GameCenterAchievementLocalizations" + "CiProducts" ], - "operationId": "gameCenterAchievementLocalizations_gameCenterAchievement_getToOneRelated", - "deprecated": true, + "operationId": "ciProducts_workflows_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterAchievements]", + "name": "fields[ciWorkflows]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" + "name", + "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", + "isEnabled", + "isLockedForEditing", + "clean", + "containerFilePath", + "lastModifiedDate", + "product", + "repository", + "xcodeVersion", + "macOsVersion", + "buildRuns" ] } }, @@ -126941,38 +131390,23 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[ciProducts]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "arcadeEnabled", - "challengeEnabled", + "name", + "createdDate", + "productType", "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -126980,24 +131414,23 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -127005,20 +131438,18 @@ "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", + "version", "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage" + "testDestinations", + "macOsVersions" ] } }, @@ -127026,17 +131457,17 @@ "explode": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[ciMacOsVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type ciMacOsVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", - "gameCenterDetail", - "gameCenterAchievement" + "version", + "name", + "xcodeVersions" ] } }, @@ -127044,34 +131475,14 @@ "explode": false }, { - "name": "fields[gameCenterActivities]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { "name": "include", @@ -127082,39 +131493,15 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" + "product", + "repository", + "xcodeVersion", + "macOsVersion" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true } ], "responses": { @@ -127159,11 +131546,11 @@ } }, "200": { - "description": "Single GameCenterAchievement", + "description": "List of CiWorkflows", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementResponse" + "$ref": "#/components/schemas/CiWorkflowsResponse" } } } @@ -127193,14 +131580,24 @@ } ] }, - "/v1/gameCenterAchievementLocalizations/{id}/relationships/gameCenterAchievementImage": { + "/v1/ciWorkflows/{id}/relationships/buildRuns": { "get": { "tags": [ - "GameCenterAchievementLocalizations" + "CiWorkflows" + ], + "operationId": "ciWorkflows_buildRuns_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "gameCenterAchievementLocalizations_gameCenterAchievementImage_getToOneRelationship", - "deprecated": true, - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -127243,11 +131640,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationGameCenterAchievementImageLinkageResponse" + "$ref": "#/components/schemas/CiWorkflowBuildRunsLinkagesResponse" } } } @@ -127277,29 +131674,37 @@ } ] }, - "/v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievementImage": { + "/v1/ciWorkflows/{id}/buildRuns": { "get": { "tags": [ - "GameCenterAchievementLocalizations" + "CiWorkflows" ], - "operationId": "gameCenterAchievementLocalizations_gameCenterAchievementImage_getToOneRelated", - "deprecated": true, + "operationId": "ciWorkflows_buildRuns_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterAchievementImages]", + "name": "filter[builds]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", + "description": "filter by id(s) of related 'builds'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "gameCenterAchievementLocalization" + "number", + "-number" ] } }, @@ -127307,26 +131712,196 @@ "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type ciBuildRuns", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "number", + "createdDate", + "startedDate", + "finishedDate", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", + "issueCounts", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[ciWorkflows]", + "in": "query", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage" + "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", + "isEnabled", + "isLockedForEditing", + "clean", + "containerFilePath", + "lastModifiedDate", + "product", + "repository", + "xcodeVersion", + "macOsVersion", + "buildRuns" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[ciProducts]", + "in": "query", + "description": "the fields to include for returned resources of type ciProducts", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmPullRequests]", + "in": "query", + "description": "the fields to include for returned resources of type scmPullRequests", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", + "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", + "isClosed", + "isCrossRepository", + "repository" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -127336,12 +131911,27 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievementLocalization" + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "pullRequest" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -127386,11 +131976,11 @@ } }, "200": { - "description": "Single GameCenterAchievementImage", + "description": "List of CiBuildRuns", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageResponse" + "$ref": "#/components/schemas/CiBuildRunsResponse" } } } @@ -127420,24 +132010,13 @@ } ] }, - "/v2/gameCenterAchievementVersions/{id}/relationships/localizations": { + "/v1/ciWorkflows/{id}/relationships/repository": { "get": { "tags": [ - "GameCenterAchievementVersions" - ], - "operationId": "gameCenterAchievementVersionsV2_localizations_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "CiWorkflows" ], + "operationId": "ciWorkflows_repository_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -127480,11 +132059,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementVersionV2LocalizationsLinkagesResponse" + "$ref": "#/components/schemas/CiWorkflowRepositoryLinkageResponse" } } } @@ -127514,28 +132093,31 @@ } ] }, - "/v2/gameCenterAchievementVersions/{id}/localizations": { + "/v1/ciWorkflows/{id}/repository": { "get": { "tags": [ - "GameCenterAchievementVersions" + "CiWorkflows" ], - "operationId": "gameCenterAchievementVersionsV2_localizations_getToManyRelated", + "operationId": "ciWorkflows_repository_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "version", - "image" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -127543,18 +132125,17 @@ "explode": false }, { - "name": "fields[gameCenterAchievementVersions]", + "name": "fields[scmProviders]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementVersions", + "description": "the fields to include for returned resources of type scmProviders", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "achievement", - "localizations" + "scmProviderType", + "url", + "repositories" ] } }, @@ -127562,36 +132143,25 @@ "explode": false }, { - "name": "fields[gameCenterAchievementImages]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -127601,8 +132171,8 @@ "items": { "type": "string", "enum": [ - "version", - "image" + "scmProvider", + "defaultBranch" ] } }, @@ -127652,11 +132222,11 @@ } }, "200": { - "description": "List of GameCenterAchievementLocalizations", + "description": "Single ScmRepository", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationsV2Response" + "$ref": "#/components/schemas/ScmRepositoryResponse" } } } @@ -127686,23 +132256,24 @@ } ] }, - "/v2/gameCenterAchievements/{id}/relationships/activity": { - "patch": { + "/v1/ciXcodeVersions/{id}/relationships/macOsVersions": { + "get": { "tags": [ - "GameCenterAchievements" + "CiXcodeVersions" + ], + "operationId": "ciXcodeVersions_macOsVersions_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "gameCenterAchievementsV2_activity_updateToOneRelationship", - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementV2ActivityLinkageRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -127744,29 +132315,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/CiXcodeVersionMacOsVersionsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -127792,13 +132350,50 @@ } ] }, - "/v2/gameCenterAchievements/{id}/relationships/versions": { + "/v1/ciXcodeVersions/{id}/macOsVersions": { "get": { "tags": [ - "GameCenterAchievements" + "CiXcodeVersions" ], - "operationId": "gameCenterAchievementsV2_versions_getToManyRelationship", + "operationId": "ciXcodeVersions_macOsVersions_getToManyRelated", "parameters": [ + { + "name": "fields[ciMacOsVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciMacOsVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "xcodeVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[ciXcodeVersions]", + "in": "query", + "description": "the fields to include for returned resources of type ciXcodeVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "testDestinations", + "macOsVersions" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -127808,6 +132403,32 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "xcodeVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[xcodeVersions]", + "in": "query", + "description": "maximum number of related xcodeVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -127852,11 +132473,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "List of CiMacOsVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementV2VersionsLinkagesResponse" + "$ref": "#/components/schemas/CiMacOsVersionsResponse" } } } @@ -127886,52 +132507,109 @@ } ] }, - "/v2/gameCenterAchievements/{id}/versions": { + "/v1/customerReviews/{id}/relationships/response": { "get": { "tags": [ - "GameCenterAchievements" + "CustomerReviews" ], - "operationId": "gameCenterAchievementsV2_versions_getToManyRelated", - "parameters": [ - { - "name": "fields[gameCenterAchievementVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "achievement", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "operationId": "customerReviews_response_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomerReviewResponseLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/customerReviews/{id}/response": { + "get": { + "tags": [ + "CustomerReviews" + ], + "operationId": "customerReviews_response_getToOneRelated", + "parameters": [ + { + "name": "fields[customerReviewResponses]", + "in": "query", + "description": "the fields to include for returned resources of type customerReviewResponses", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "activity", - "versions" + "responseBody", + "lastModifiedDate", + "state", + "review" ] } }, @@ -127939,36 +132617,28 @@ "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[customerReviews]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type customerReviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "version", - "image" + "rating", + "title", + "body", + "reviewerNickname", + "createdDate", + "territory", + "response", + "reviewTerritory" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -127978,21 +132648,104 @@ "items": { "type": "string", "enum": [ - "achievement", - "localizations" + "review" ] } }, "style": "form", "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single CustomerReviewResponse", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomerReviewResponseV1Response" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/diagnosticSignatures/{id}/logs": { + "get": { + "tags": [ + "DiagnosticSignatures" + ], + "operationId": "diagnosticSignatures_logs_getToManyRelated", + "parameters": [ { - "name": "limit[localizations]", + "name": "limit", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" } @@ -128039,11 +132792,11 @@ } }, "200": { - "description": "List of GameCenterAchievementVersions", + "description": "List of DiagnosticLogs", "content": { - "application/json": { + "application/vnd.apple.diagnostic-logs+json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementVersionsV2Response" + "$ref": "#/components/schemas/diagnosticLogs" } } } @@ -128073,24 +132826,24 @@ } ] }, - "/v1/gameCenterAchievements/{id}/relationships/activity": { - "patch": { + "/v1/endUserLicenseAgreements/{id}/relationships/territories": { + "get": { "tags": [ - "GameCenterAchievements" + "EndUserLicenseAgreements" + ], + "operationId": "endUserLicenseAgreements_territories_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "gameCenterAchievements_activity_updateToOneRelationship", - "deprecated": true, - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementActivityLinkageRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -128132,8 +132885,18 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EndUserLicenseAgreementTerritoriesLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -128141,9 +132904,59 @@ } } } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - "409": { - "description": "Request entity error(s)", + "style": "simple", + "required": true + } + ] + }, + "/v1/endUserLicenseAgreements/{id}/territories": { + "get": { + "tags": [ + "EndUserLicenseAgreements" + ], + "operationId": "endUserLicenseAgreements_territories_getToManyRelated", + "parameters": [ + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -128152,8 +132965,45 @@ } } }, - "204": { - "description": "Success (no content)" + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Territories with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TerritoriesWithoutIncludesResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -128180,13 +133030,12 @@ } ] }, - "/v1/gameCenterAchievements/{id}/relationships/groupAchievement": { + "/v2/gameCenterAchievementLocalizations/{id}/relationships/image": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievements_groupAchievement_getToOneRelationship", - "deprecated": true, + "operationId": "gameCenterAchievementLocalizationsV2_image_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -128234,7 +133083,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementGroupAchievementLinkageResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationV2ImageLinkageResponse" } } } @@ -128251,23 +133100,85 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/gameCenterAchievementLocalizations/{id}/image": { + "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievements_groupAchievement_updateToOneRelationship", - "deprecated": true, - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementGroupAchievementLinkageRequest" + "operationId": "gameCenterAchievementLocalizationsV2_image_getToOneRelated", + "parameters": [ + { + "name": "fields[gameCenterAchievementImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "fields[gameCenterAchievementLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "version", + "image" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "localization" + ] + } + }, + "style": "form", + "explode": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -128309,8 +133220,18 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "200": { + "description": "Single GameCenterAchievementImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAchievementImageV2Response" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { @@ -128318,9 +133239,33 @@ } } } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - "409": { - "description": "Request entity error(s)", + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterAchievementLocalizations/{id}/relationships/gameCenterAchievement": { + "get": { + "tags": [ + "GameCenterAchievementLocalizations" + ], + "operationId": "gameCenterAchievementLocalizations_gameCenterAchievement_getToOneRelationship", + "deprecated": true, + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -128329,8 +133274,45 @@ } } }, - "204": { - "description": "Success (no content)" + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAchievementLocalizationGameCenterAchievementLinkageResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -128357,12 +133339,12 @@ } ] }, - "/v1/gameCenterAchievements/{id}/groupAchievement": { + "/v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievement": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievements_groupAchievement_getToOneRelated", + "operationId": "gameCenterAchievementLocalizations_gameCenterAchievement_getToOneRelated", "deprecated": true, "parameters": [ { @@ -128646,25 +133628,14 @@ } ] }, - "/v1/gameCenterAchievements/{id}/relationships/localizations": { + "/v1/gameCenterAchievementLocalizations/{id}/relationships/gameCenterAchievementImage": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievements_localizations_getToManyRelationship", + "operationId": "gameCenterAchievementLocalizations_gameCenterAchievementImage_getToOneRelationship", "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -128707,11 +133678,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationGameCenterAchievementImageLinkageResponse" } } } @@ -128741,63 +133712,14 @@ } ] }, - "/v1/gameCenterAchievements/{id}/localizations": { + "/v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievementImage": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievements_localizations_getToManyRelated", + "operationId": "gameCenterAchievementLocalizations_gameCenterAchievementImage_getToOneRelated", "deprecated": true, "parameters": [ - { - "name": "fields[gameCenterAchievementLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[gameCenterAchievementImages]", "in": "query", @@ -128820,14 +133742,25 @@ "explode": false }, { - "name": "limit", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { "name": "include", @@ -128838,8 +133771,7 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterAchievementImage" + "gameCenterAchievementLocalization" ] } }, @@ -128889,11 +133821,11 @@ } }, "200": { - "description": "List of GameCenterAchievementLocalizations", + "description": "Single GameCenterAchievementImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationsResponse" + "$ref": "#/components/schemas/GameCenterAchievementImageResponse" } } } @@ -128923,13 +133855,12 @@ } ] }, - "/v1/gameCenterAchievements/{id}/relationships/releases": { + "/v2/gameCenterAchievementVersions/{id}/relationships/localizations": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementVersions" ], - "operationId": "gameCenterAchievements_releases_getToManyRelationship", - "deprecated": true, + "operationId": "gameCenterAchievementVersionsV2_localizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -128988,7 +133919,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementReleasesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterAchievementVersionV2LocalizationsLinkagesResponse" } } } @@ -129018,52 +133949,28 @@ } ] }, - "/v1/gameCenterAchievements/{id}/releases": { + "/v2/gameCenterAchievementVersions/{id}/localizations": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAchievementVersions" ], - "operationId": "gameCenterAchievements_releases_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterAchievementVersionsV2_localizations_getToManyRelated", "parameters": [ { - "name": "filter[live]", - "in": "query", - "description": "filter by attribute 'live'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[gameCenterDetail]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterDetail'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", - "gameCenterDetail", - "gameCenterAchievement" + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "version", + "image" ] } }, @@ -129071,38 +133978,18 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterAchievementVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterAchievementVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" + "version", + "state", + "achievement", + "localizations" ] } }, @@ -129110,27 +133997,20 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAchievementImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -129156,8 +134036,8 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterAchievement" + "version", + "image" ] } }, @@ -129207,11 +134087,11 @@ } }, "200": { - "description": "List of GameCenterAchievementReleases", + "description": "List of GameCenterAchievementLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementReleasesResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationsV2Response" } } } @@ -129241,19 +134121,18 @@ } ] }, - "/v1/gameCenterActivities/{id}/relationships/achievements": { - "post": { + "/v2/gameCenterAchievements/{id}/relationships/activity": { + "patch": { "tags": [ - "GameCenterActivities" + "GameCenterAchievements" ], - "operationId": "gameCenterActivities_achievements_createToManyRelationship", - "deprecated": true, + "operationId": "gameCenterAchievementsV2_activity_updateToOneRelationship", "requestBody": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityAchievementsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterAchievementV2ActivityLinkageRequest" } } }, @@ -129335,23 +134214,37 @@ } } }, - "delete": { - "tags": [ - "GameCenterActivities" - ], - "operationId": "gameCenterActivities_achievements_deleteToManyRelationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityAchievementsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v2/gameCenterAchievements/{id}/relationships/versions": { + "get": { + "tags": [ + "GameCenterAchievements" + ], + "operationId": "gameCenterAchievementsV2_versions_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -129393,29 +134286,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterAchievementV2VersionsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -129441,23 +134321,117 @@ } ] }, - "/v1/gameCenterActivities/{id}/relationships/achievementsV2": { - "post": { + "/v2/gameCenterAchievements/{id}/versions": { + "get": { "tags": [ - "GameCenterActivities" + "GameCenterAchievements" ], - "operationId": "gameCenterActivities_achievementsV2_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityAchievementsV2LinkagesRequest" + "operationId": "gameCenterAchievementsV2_versions_getToManyRelated", + "parameters": [ + { + "name": "fields[gameCenterAchievementVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "achievement", + "localizations" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "activity", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievementLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "version", + "image" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "achievement", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -129499,29 +134473,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of GameCenterAchievementVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterAchievementVersionsV2Response" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -129534,17 +134495,32 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterAchievements/{id}/relationships/activity": { + "patch": { "tags": [ - "GameCenterActivities" + "GameCenterAchievements" ], - "operationId": "gameCenterActivities_achievementsV2_deleteToManyRelationship", + "operationId": "gameCenterAchievements_activity_updateToOneRelationship", + "deprecated": true, "requestBody": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityAchievementsV2LinkagesRequest" + "$ref": "#/components/schemas/GameCenterAchievementActivityLinkageRequest" } } }, @@ -129639,24 +134615,14 @@ } ] }, - "/v1/gameCenterActivities/{id}/relationships/leaderboards": { - "post": { + "/v1/gameCenterAchievements/{id}/relationships/groupAchievement": { + "get": { "tags": [ - "GameCenterActivities" + "GameCenterAchievements" ], - "operationId": "gameCenterActivities_leaderboards_createToManyRelationship", + "operationId": "gameCenterAchievements_groupAchievement_getToOneRelationship", "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityLeaderboardsLinkagesRequest" - } - } - }, - "required": true - }, + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -129698,29 +134664,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterAchievementGroupAchievementLinkageResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -129733,18 +134686,18 @@ } } }, - "delete": { + "patch": { "tags": [ - "GameCenterActivities" + "GameCenterAchievements" ], - "operationId": "gameCenterActivities_leaderboards_deleteToManyRelationship", + "operationId": "gameCenterAchievements_groupAchievement_updateToOneRelationship", "deprecated": true, "requestBody": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityLeaderboardsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterAchievementGroupAchievementLinkageRequest" } } }, @@ -129839,115 +134792,219 @@ } ] }, - "/v1/gameCenterActivities/{id}/relationships/leaderboardsV2": { - "post": { + "/v1/gameCenterAchievements/{id}/groupAchievement": { + "get": { "tags": [ - "GameCenterActivities" + "GameCenterAchievements" ], - "operationId": "gameCenterActivities_leaderboardsV2_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityLeaderboardsV2LinkagesRequest" + "operationId": "gameCenterAchievements_groupAchievement_getToOneRelated", + "deprecated": true, + "parameters": [ + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] } - } + }, + "style": "form", + "explode": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] } - } + }, + "style": "form", + "explode": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterAchievementLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterAchievementReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterAchievement" + ] } - } + }, + "style": "form", + "explode": false }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] } - } + }, + "style": "form", + "explode": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity" + ] } - } + }, + "style": "form", + "explode": false }, - "204": { - "description": "Success (no content)" + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } - } - }, - "delete": { - "tags": [ - "GameCenterActivities" ], - "operationId": "gameCenterActivities_leaderboardsV2_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterActivityLeaderboardsV2LinkagesRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -129989,29 +135046,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single GameCenterAchievement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterAchievementResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -130037,12 +135081,13 @@ } ] }, - "/v1/gameCenterActivities/{id}/relationships/versions": { + "/v1/gameCenterAchievements/{id}/relationships/localizations": { "get": { "tags": [ - "GameCenterActivities" + "GameCenterAchievements" ], - "operationId": "gameCenterActivities_versions_getToManyRelationship", + "operationId": "gameCenterAchievements_localizations_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -130101,7 +135146,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationsLinkagesResponse" } } } @@ -130131,29 +135176,29 @@ } ] }, - "/v1/gameCenterActivities/{id}/versions": { + "/v1/gameCenterAchievements/{id}/localizations": { "get": { "tags": [ - "GameCenterActivities" + "GameCenterAchievements" ], - "operationId": "gameCenterActivities_versions_getToManyRelated", + "operationId": "gameCenterAchievements_localizations_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterActivityVersions]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersions", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "fallbackUrl", - "activity", - "localizations", - "defaultImage", - "releases" + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" ] } }, @@ -130161,9 +135206,9 @@ "explode": false }, { - "name": "fields[gameCenterActivities]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { @@ -130171,39 +135216,17 @@ "enum": [ "referenceName", "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", + "points", + "showBeforeEarned", + "repeatable", "archived", - "properties", + "activityProperties", "gameCenterDetail", "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivityLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "description", - "version", - "image" + "groupAchievement", + "localizations", + "releases", + "activity" ] } }, @@ -130211,9 +135234,9 @@ "explode": false }, { - "name": "fields[gameCenterActivityImages]", + "name": "fields[gameCenterAchievementImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityImages", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", "schema": { "type": "array", "items": { @@ -130223,23 +135246,8 @@ "fileName", "imageAsset", "uploadOperations", - "assetDeliveryState" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivityVersionReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version" + "assetDeliveryState", + "gameCenterAchievementLocalization" ] } }, @@ -130265,36 +135273,13 @@ "items": { "type": "string", "enum": [ - "activity", - "localizations", - "defaultImage", - "releases" + "gameCenterAchievement", + "gameCenterAchievementImage" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true } ], "responses": { @@ -130339,11 +135324,11 @@ } }, "200": { - "description": "List of GameCenterActivityVersions", + "description": "List of GameCenterAchievementLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionsResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationsResponse" } } } @@ -130373,13 +135358,25 @@ } ] }, - "/v1/gameCenterActivityLocalizations/{id}/relationships/image": { + "/v1/gameCenterAchievements/{id}/relationships/releases": { "get": { "tags": [ - "GameCenterActivityLocalizations" + "GameCenterAchievements" + ], + "operationId": "gameCenterAchievements_releases_getToManyRelationship", + "deprecated": true, + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "gameCenterActivityLocalizations_image_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -130422,11 +135419,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityLocalizationImageLinkageResponse" + "$ref": "#/components/schemas/GameCenterAchievementReleasesLinkagesResponse" } } } @@ -130456,27 +135453,146 @@ } ] }, - "/v1/gameCenterActivityLocalizations/{id}/image": { + "/v1/gameCenterAchievements/{id}/releases": { "get": { "tags": [ - "GameCenterActivityLocalizations" + "GameCenterAchievements" ], - "operationId": "gameCenterActivityLocalizations_image_getToOneRelated", + "operationId": "gameCenterAchievements_releases_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterActivityImages]", + "name": "filter[live]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityImages", + "description": "filter by attribute 'live'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterDetail]", + "in": "query", + "description": "filter by id(s) of related 'gameCenterDetail'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievementReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "live", + "gameCenterDetail", + "gameCenterAchievement" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterAchievement" ] } }, @@ -130526,11 +135642,11 @@ } }, "200": { - "description": "Single GameCenterActivityImage", + "description": "List of GameCenterAchievementReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityImageResponse" + "$ref": "#/components/schemas/GameCenterAchievementReleasesResponse" } } } @@ -130560,13 +135676,24 @@ } ] }, - "/v1/gameCenterActivityVersions/{id}/relationships/defaultImage": { - "get": { + "/v1/gameCenterActivities/{id}/relationships/achievements": { + "post": { "tags": [ - "GameCenterActivityVersions" + "GameCenterActivities" ], - "operationId": "gameCenterActivityVersions_defaultImage_getToOneRelationship", - "parameters": [], + "operationId": "gameCenterActivities_achievements_createToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityAchievementsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -130608,16 +135735,29 @@ } } }, - "200": { - "description": "Related linkage", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionDefaultImageLinkageResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -130630,47 +135770,23 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterActivityVersions/{id}/defaultImage": { - "get": { + "delete": { "tags": [ - "GameCenterActivityVersions" + "GameCenterActivities" ], - "operationId": "gameCenterActivityVersions_defaultImage_getToOneRelated", - "parameters": [ - { - "name": "fields[gameCenterActivityImages]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState" - ] + "operationId": "gameCenterActivities_achievements_deleteToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityAchievementsLinkagesRequest" } - }, - "style": "form", - "explode": false - } - ], + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -130712,16 +135828,29 @@ } } }, - "200": { - "description": "Single GameCenterActivityImage", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityImageResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -130747,24 +135876,23 @@ } ] }, - "/v1/gameCenterActivityVersions/{id}/relationships/localizations": { - "get": { + "/v1/gameCenterActivities/{id}/relationships/achievementsV2": { + "post": { "tags": [ - "GameCenterActivityVersions" - ], - "operationId": "gameCenterActivityVersions_localizations_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterActivities" ], + "operationId": "gameCenterActivities_achievementsV2_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityAchievementsV2LinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -130806,16 +135934,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -130828,116 +135969,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterActivityVersions/{id}/localizations": { - "get": { + "delete": { "tags": [ - "GameCenterActivityVersions" + "GameCenterActivities" ], - "operationId": "gameCenterActivityVersions_localizations_getToManyRelated", - "parameters": [ - { - "name": "fields[gameCenterActivityLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "description", - "version", - "image" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivityVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "fallbackUrl", - "activity", - "localizations", - "defaultImage", - "releases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivityImages]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState" - ] + "operationId": "gameCenterActivities_achievementsV2_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityAchievementsV2LinkagesRequest" } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "image" - ] - } - }, - "style": "form", - "explode": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -130979,16 +136026,29 @@ } } }, - "200": { - "description": "List of GameCenterActivityLocalizations", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityLocalizationsResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -131014,13 +136074,24 @@ } ] }, - "/v1/gameCenterAppVersions/{id}/relationships/appStoreVersion": { - "get": { + "/v1/gameCenterActivities/{id}/relationships/leaderboards": { + "post": { "tags": [ - "GameCenterAppVersions" + "GameCenterActivities" ], - "operationId": "gameCenterAppVersions_appStoreVersion_getToOneRelationship", - "parameters": [], + "operationId": "gameCenterActivities_leaderboards_createToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityLeaderboardsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -131062,16 +136133,29 @@ } } }, - "200": { - "description": "Related linkage", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionAppStoreVersionLinkageResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -131084,425 +136168,23 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterAppVersions/{id}/appStoreVersion": { - "get": { + "delete": { "tags": [ - "GameCenterAppVersions" + "GameCenterActivities" ], - "operationId": "gameCenterAppVersions_appStoreVersion_getToOneRelated", - "parameters": [ - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "keywords", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew", - "appStoreVersion", - "appScreenshotSets", - "appPreviewSets", - "searchKeywords" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionPhasedReleases]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "phasedReleaseState", - "startDate", - "totalPauseDuration", - "currentDayNumber" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAppVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[routingAppCoverages]", - "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "uploadOperations", - "assetDeliveryState", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "contactFirstName", - "contactLastName", - "contactPhone", - "contactEmail", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes", - "appStoreVersion", - "appStoreReviewAttachments" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appClipDefaultExperiences]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "releaseWithAppStoreVersion", - "appClipDefaultExperienceLocalizations", - "appClipAppStoreReviewDetail" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "platform", - "app", - "latestControlVersion", - "controlVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[alternativeDistributionPackages]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "sourceFileChecksum", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "alternativeDistributionPackage" - ] + "operationId": "gameCenterActivities_leaderboards_deleteToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityLeaderboardsLinkagesRequest" } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[appStoreVersionLocalizations]", - "in": "query", - "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appStoreVersionExperiments]", - "in": "query", - "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true + } }, - { - "name": "limit[appStoreVersionExperimentsV2]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -131544,16 +136226,29 @@ } } }, - "200": { - "description": "Single AppStoreVersion", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -131579,24 +136274,23 @@ } ] }, - "/v1/gameCenterAppVersions/{id}/relationships/compatibilityVersions": { - "get": { + "/v1/gameCenterActivities/{id}/relationships/leaderboardsV2": { + "post": { "tags": [ - "GameCenterAppVersions" - ], - "operationId": "gameCenterAppVersions_compatibilityVersions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterActivities" ], + "operationId": "gameCenterActivities_leaderboardsV2_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterActivityLeaderboardsV2LinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -131638,16 +136332,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -131660,17 +136367,17 @@ } } }, - "post": { + "delete": { "tags": [ - "GameCenterAppVersions" + "GameCenterActivities" ], - "operationId": "gameCenterAppVersions_compatibilityVersions_createToManyRelationship", + "operationId": "gameCenterActivities_leaderboardsV2_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterActivityLeaderboardsV2LinkagesRequest" } } }, @@ -131752,22 +136459,37 @@ } } }, - "delete": { - "tags": [ - "GameCenterAppVersions" - ], - "operationId": "gameCenterAppVersions_compatibilityVersions_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/gameCenterActivities/{id}/relationships/versions": { + "get": { + "tags": [ + "GameCenterActivities" + ], + "operationId": "gameCenterActivities_versions_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -131809,29 +136531,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterActivityVersionsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -131857,38 +136566,59 @@ } ] }, - "/v1/gameCenterAppVersions/{id}/compatibilityVersions": { + "/v1/gameCenterActivities/{id}/versions": { "get": { "tags": [ - "GameCenterAppVersions" + "GameCenterActivities" ], - "operationId": "gameCenterAppVersions_compatibilityVersions_getToManyRelated", + "operationId": "gameCenterActivities_versions_getToManyRelated", "parameters": [ { - "name": "filter[enabled]", + "name": "fields[gameCenterActivityVersions]", "in": "query", - "description": "filter by attribute 'enabled'", + "description": "the fields to include for returned resources of type gameCenterActivityVersions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "version", + "state", + "fallbackUrl", + "activity", + "localizations", + "defaultImage", + "releases" + ] } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" ] } }, @@ -131896,38 +136626,55 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[gameCenterActivityLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type gameCenterActivityLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "locale", + "name", + "description", + "version", + "image" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterActivityImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivityImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterActivityVersionReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version" ] } }, @@ -131953,8 +136700,10 @@ "items": { "type": "string", "enum": [ - "compatibilityVersions", - "appStoreVersion" + "activity", + "localizations", + "defaultImage", + "releases" ] } }, @@ -131962,14 +136711,25 @@ "explode": false }, { - "name": "limit[compatibilityVersions]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related compatibilityVersions returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form" + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -132014,11 +136774,11 @@ } }, "200": { - "description": "List of GameCenterAppVersions", + "description": "List of GameCenterActivityVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionsResponse" + "$ref": "#/components/schemas/GameCenterActivityVersionsResponse" } } } @@ -132048,12 +136808,12 @@ } ] }, - "/v1/gameCenterChallengeLocalizations/{id}/relationships/image": { + "/v1/gameCenterActivityLocalizations/{id}/relationships/image": { "get": { "tags": [ - "GameCenterChallengeLocalizations" + "GameCenterActivityLocalizations" ], - "operationId": "gameCenterChallengeLocalizations_image_getToOneRelationship", + "operationId": "gameCenterActivityLocalizations_image_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -132101,7 +136861,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeLocalizationImageLinkageResponse" + "$ref": "#/components/schemas/GameCenterActivityLocalizationImageLinkageResponse" } } } @@ -132131,17 +136891,17 @@ } ] }, - "/v1/gameCenterChallengeLocalizations/{id}/image": { + "/v1/gameCenterActivityLocalizations/{id}/image": { "get": { "tags": [ - "GameCenterChallengeLocalizations" + "GameCenterActivityLocalizations" ], - "operationId": "gameCenterChallengeLocalizations_image_getToOneRelated", + "operationId": "gameCenterActivityLocalizations_image_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterChallengeImages]", + "name": "fields[gameCenterActivityImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeImages", + "description": "the fields to include for returned resources of type gameCenterActivityImages", "schema": { "type": "array", "items": { @@ -132201,11 +136961,11 @@ } }, "200": { - "description": "Single GameCenterChallengeImage", + "description": "Single GameCenterActivityImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeImageResponse" + "$ref": "#/components/schemas/GameCenterActivityImageResponse" } } } @@ -132235,12 +136995,12 @@ } ] }, - "/v1/gameCenterChallengeVersions/{id}/relationships/defaultImage": { + "/v1/gameCenterActivityVersions/{id}/relationships/defaultImage": { "get": { "tags": [ - "GameCenterChallengeVersions" + "GameCenterActivityVersions" ], - "operationId": "gameCenterChallengeVersions_defaultImage_getToOneRelationship", + "operationId": "gameCenterActivityVersions_defaultImage_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -132288,7 +137048,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionDefaultImageLinkageResponse" + "$ref": "#/components/schemas/GameCenterActivityVersionDefaultImageLinkageResponse" } } } @@ -132318,17 +137078,17 @@ } ] }, - "/v1/gameCenterChallengeVersions/{id}/defaultImage": { + "/v1/gameCenterActivityVersions/{id}/defaultImage": { "get": { "tags": [ - "GameCenterChallengeVersions" + "GameCenterActivityVersions" ], - "operationId": "gameCenterChallengeVersions_defaultImage_getToOneRelated", + "operationId": "gameCenterActivityVersions_defaultImage_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterChallengeImages]", + "name": "fields[gameCenterActivityImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeImages", + "description": "the fields to include for returned resources of type gameCenterActivityImages", "schema": { "type": "array", "items": { @@ -132388,11 +137148,11 @@ } }, "200": { - "description": "Single GameCenterChallengeImage", + "description": "Single GameCenterActivityImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeImageResponse" + "$ref": "#/components/schemas/GameCenterActivityImageResponse" } } } @@ -132422,12 +137182,12 @@ } ] }, - "/v1/gameCenterChallengeVersions/{id}/relationships/localizations": { + "/v1/gameCenterActivityVersions/{id}/relationships/localizations": { "get": { "tags": [ - "GameCenterChallengeVersions" + "GameCenterActivityVersions" ], - "operationId": "gameCenterChallengeVersions_localizations_getToManyRelationship", + "operationId": "gameCenterActivityVersions_localizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -132486,7 +137246,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterActivityVersionLocalizationsLinkagesResponse" } } } @@ -132516,17 +137276,17 @@ } ] }, - "/v1/gameCenterChallengeVersions/{id}/localizations": { + "/v1/gameCenterActivityVersions/{id}/localizations": { "get": { "tags": [ - "GameCenterChallengeVersions" + "GameCenterActivityVersions" ], - "operationId": "gameCenterChallengeVersions_localizations_getToManyRelated", + "operationId": "gameCenterActivityVersions_localizations_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterChallengeLocalizations]", + "name": "fields[gameCenterActivityLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeLocalizations", + "description": "the fields to include for returned resources of type gameCenterActivityLocalizations", "schema": { "type": "array", "items": { @@ -132544,9 +137304,9 @@ "explode": false }, { - "name": "fields[gameCenterChallengeVersions]", + "name": "fields[gameCenterActivityVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersions", + "description": "the fields to include for returned resources of type gameCenterActivityVersions", "schema": { "type": "array", "items": { @@ -132554,10 +137314,11 @@ "enum": [ "version", "state", - "challenge", + "fallbackUrl", + "activity", "localizations", - "releases", - "defaultImage" + "defaultImage", + "releases" ] } }, @@ -132565,9 +137326,9 @@ "explode": false }, { - "name": "fields[gameCenterChallengeImages]", + "name": "fields[gameCenterActivityImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeImages", + "description": "the fields to include for returned resources of type gameCenterActivityImages", "schema": { "type": "array", "items": { @@ -132654,228 +137415,15 @@ } }, "200": { - "description": "List of GameCenterChallengeLocalizations", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterChallengeLocalizationsResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterChallenges/{id}/relationships/leaderboard": { - "patch": { - "tags": [ - "GameCenterChallenges" - ], - "operationId": "gameCenterChallenges_leaderboard_updateToOneRelationship", - "deprecated": true, - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterChallengeLeaderboardLinkageRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterChallenges/{id}/relationships/leaderboardV2": { - "patch": { - "tags": [ - "GameCenterChallenges" - ], - "operationId": "gameCenterChallenges_leaderboardV2_updateToOneRelationship", - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterChallengeLeaderboardV2LinkageRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "List of GameCenterActivityLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterActivityLocalizationsResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -132901,24 +137449,13 @@ } ] }, - "/v1/gameCenterChallenges/{id}/relationships/versions": { + "/v1/gameCenterAppVersions/{id}/relationships/appStoreVersion": { "get": { "tags": [ - "GameCenterChallenges" - ], - "operationId": "gameCenterChallenges_versions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterAppVersions" ], + "operationId": "gameCenterAppVersions_appStoreVersion_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -132961,11 +137498,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterAppVersionAppStoreVersionLinkageResponse" } } } @@ -132995,28 +137532,46 @@ } ] }, - "/v1/gameCenterChallenges/{id}/versions": { + "/v1/gameCenterAppVersions/{id}/appStoreVersion": { "get": { "tags": [ - "GameCenterChallenges" + "GameCenterAppVersions" ], - "operationId": "gameCenterChallenges_versions_getToManyRelated", + "operationId": "gameCenterAppVersions_appStoreVersion_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterChallengeVersions]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersions", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "challenge", - "localizations", - "releases", - "defaultImage" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -133024,24 +137579,71 @@ "explode": false }, { - "name": "fields[gameCenterChallenges]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -133049,19 +137651,67 @@ "explode": false }, { - "name": "fields[gameCenterChallengeLocalizations]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets", + "searchKeywords", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ "version", - "image" + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -133069,15 +137719,18 @@ "explode": false }, { - "name": "fields[gameCenterChallengeVersionReleases]", + "name": "fields[appStoreVersionPhasedReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version" + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber" ] } }, @@ -133085,9 +137738,27 @@ "explode": false }, { - "name": "fields[gameCenterChallengeImages]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeImages", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[routingAppCoverages]", + "in": "query", + "description": "the fields to include for returned resources of type routingAppCoverages", "schema": { "type": "array", "items": { @@ -133095,9 +137766,10 @@ "enum": [ "fileSize", "fileName", - "imageAsset", + "sourceFileChecksum", "uploadOperations", - "assetDeliveryState" + "assetDeliveryState", + "appStoreVersion" ] } }, @@ -133105,14 +137777,109 @@ "explode": false }, { - "name": "limit", + "name": "fields[appStoreReviewDetails]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appStoreReviewDetails", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" + ] + } }, - "style": "form" + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appClipDefaultExperiences]", + "in": "query", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "sourceFileChecksum", + "versions" + ] + } + }, + "style": "form", + "explode": false }, { "name": "include", @@ -133123,10 +137890,18 @@ "items": { "type": "string", "enum": [ - "challenge", - "localizations", - "releases", - "defaultImage" + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "alternativeDistributionPackage" ] } }, @@ -133134,9 +137909,9 @@ "explode": false }, { - "name": "limit[localizations]", + "name": "limit[appStoreVersionLocalizations]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -133144,15 +137919,25 @@ "style": "form" }, { - "name": "limit[releases]", + "name": "limit[appStoreVersionExperiments]", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form", "deprecated": true + }, + { + "name": "limit[appStoreVersionExperimentsV2]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -133197,11 +137982,11 @@ } }, "200": { - "description": "List of GameCenterChallengeVersions", + "description": "Single AppStoreVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionsResponse" + "$ref": "#/components/schemas/AppStoreVersionResponse" } } } @@ -133231,13 +138016,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/achievementReleases": { + "/v1/gameCenterAppVersions/{id}/relationships/compatibilityVersions": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterAppVersions" ], - "operationId": "gameCenterDetails_achievementReleases_getToManyRelationship", - "deprecated": true, + "operationId": "gameCenterAppVersions_compatibilityVersions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -133296,11 +138080,195 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailAchievementReleasesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "GameCenterAppVersions" + ], + "operationId": "gameCenterAppVersions_compatibilityVersions_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "GameCenterAppVersions" + ], + "operationId": "gameCenterAppVersions_compatibilityVersions_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -133326,18 +138294,17 @@ } ] }, - "/v1/gameCenterDetails/{id}/achievementReleases": { + "/v1/gameCenterAppVersions/{id}/compatibilityVersions": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterAppVersions" ], - "operationId": "gameCenterDetails_achievementReleases_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterAppVersions_compatibilityVersions_getToManyRelated", "parameters": [ { - "name": "filter[live]", + "name": "filter[enabled]", "in": "query", - "description": "filter by attribute 'live'", + "description": "filter by attribute 'enabled'", "schema": { "type": "array", "items": { @@ -133348,31 +138315,17 @@ "explode": false }, { - "name": "filter[gameCenterAchievement]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterAchievement'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "deprecated": true - }, - { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", - "gameCenterDetail", - "gameCenterAchievement" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -133380,66 +138333,38 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "arcadeEnabled", - "challengeEnabled", + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -133465,13 +138390,23 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterAchievement" + "compatibilityVersions", + "appStoreVersion" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[compatibilityVersions]", + "in": "query", + "description": "maximum number of related compatibilityVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -133516,11 +138451,11 @@ } }, "200": { - "description": "List of GameCenterAchievementReleases", + "description": "List of GameCenterAppVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementReleasesResponse" + "$ref": "#/components/schemas/GameCenterAppVersionsResponse" } } } @@ -133550,25 +138485,13 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/activityReleases": { + "/v1/gameCenterChallengeLocalizations/{id}/relationships/image": { "get": { "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails_activityReleases_getToManyRelationship", - "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterChallengeLocalizations" ], + "operationId": "gameCenterChallengeLocalizations_image_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -133611,11 +138534,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailActivityReleasesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterChallengeLocalizationImageLinkageResponse" } } } @@ -133645,72 +138568,27 @@ } ] }, - "/v1/gameCenterDetails/{id}/activityReleases": { + "/v1/gameCenterChallengeLocalizations/{id}/image": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterChallengeLocalizations" ], - "operationId": "gameCenterDetails_activityReleases_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterChallengeLocalizations_image_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterActivityVersionReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivityVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "fallbackUrl", - "activity", - "localizations", - "defaultImage", - "releases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[gameCenterChallengeImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterChallengeImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -133760,11 +138638,11 @@ } }, "200": { - "description": "List of GameCenterActivityVersionReleases", + "description": "Single GameCenterChallengeImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivityVersionReleasesResponse" + "$ref": "#/components/schemas/GameCenterChallengeImageResponse" } } } @@ -133794,24 +138672,13 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/blockedPlayers": { + "/v1/gameCenterChallengeVersions/{id}/relationships/defaultImage": { "get": { "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails_blockedPlayers_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterChallengeVersions" ], + "operationId": "gameCenterChallengeVersions_defaultImage_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -133854,11 +138721,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailBlockedPlayersLinkagesResponse" + "$ref": "#/components/schemas/GameCenterChallengeVersionDefaultImageLinkageResponse" } } } @@ -133888,40 +138755,32 @@ } ] }, - "/v1/gameCenterDetails/{id}/blockedPlayers": { + "/v1/gameCenterChallengeVersions/{id}/defaultImage": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterChallengeVersions" ], - "operationId": "gameCenterDetails_blockedPlayers_getToManyRelated", + "operationId": "gameCenterChallengeVersions_defaultImage_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterDetailPlayers]", + "name": "fields[gameCenterChallengeImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetailPlayers", + "description": "the fields to include for returned resources of type gameCenterChallengeImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "nickname", - "blocked", - "bundleId" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, "style": "form", "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" } ], "responses": { @@ -133966,11 +138825,11 @@ } }, "200": { - "description": "List of GameCenterDetailPlayers", + "description": "Single GameCenterChallengeImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailPlayersResponse" + "$ref": "#/components/schemas/GameCenterChallengeImageResponse" } } } @@ -134000,13 +138859,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/challengeReleases": { + "/v1/gameCenterChallengeVersions/{id}/relationships/localizations": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterChallengeVersions" ], - "operationId": "gameCenterDetails_challengeReleases_getToManyRelationship", - "deprecated": true, + "operationId": "gameCenterChallengeVersions_localizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -134065,7 +138923,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailChallengeReleasesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterChallengeVersionLocalizationsLinkagesResponse" } } } @@ -134095,24 +138953,27 @@ } ] }, - "/v1/gameCenterDetails/{id}/challengeReleases": { + "/v1/gameCenterChallengeVersions/{id}/localizations": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterChallengeVersions" ], - "operationId": "gameCenterDetails_challengeReleases_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterChallengeVersions_localizations_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterChallengeVersionReleases]", + "name": "fields[gameCenterChallengeLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", + "description": "the fields to include for returned resources of type gameCenterChallengeLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version" + "locale", + "name", + "description", + "version", + "image" ] } }, @@ -134140,6 +139001,26 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterChallengeImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallengeImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -134159,7 +139040,8 @@ "items": { "type": "string", "enum": [ - "version" + "version", + "image" ] } }, @@ -134209,11 +139091,11 @@ } }, "200": { - "description": "List of GameCenterChallengeVersionReleases", + "description": "List of GameCenterChallengeLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengeVersionReleasesResponse" + "$ref": "#/components/schemas/GameCenterChallengeLocalizationsResponse" } } } @@ -134243,18 +139125,19 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/challengesMinimumPlatformVersions": { + "/v1/gameCenterChallenges/{id}/relationships/leaderboard": { "patch": { "tags": [ - "GameCenterDetails" + "GameCenterChallenges" ], - "operationId": "gameCenterDetails_challengesMinimumPlatformVersions_replaceToManyRelationship", + "operationId": "gameCenterChallenges_leaderboard_updateToOneRelationship", + "deprecated": true, "requestBody": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailChallengesMinimumPlatformVersionsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterChallengeLeaderboardLinkageRequest" } } }, @@ -134349,25 +139232,23 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterAchievements": { - "get": { + "/v1/gameCenterChallenges/{id}/relationships/leaderboardV2": { + "patch": { "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails_gameCenterAchievements_getToManyRelationship", - "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterChallenges" ], + "operationId": "gameCenterChallenges_leaderboardV2_updateToOneRelationship", + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterChallengeLeaderboardV2LinkageRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -134409,16 +139290,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -134431,23 +139325,37 @@ } } }, - "patch": { - "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails_gameCenterAchievements_replaceToManyRelationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/gameCenterChallenges/{id}/relationships/versions": { + "get": { + "tags": [ + "GameCenterChallenges" + ], + "operationId": "gameCenterChallenges_versions_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -134489,29 +139397,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterChallengeVersionsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -134537,75 +139432,89 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterAchievements": { + "/v1/gameCenterChallenges/{id}/versions": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterChallenges" ], - "operationId": "gameCenterDetails_gameCenterAchievements_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterChallenges_versions_getToManyRelated", "parameters": [ { - "name": "filter[referenceName]", + "name": "fields[gameCenterChallengeVersions]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "the fields to include for returned resources of type gameCenterChallengeVersions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "version", + "state", + "challenge", + "localizations", + "releases", + "defaultImage" + ] } }, "style": "form", "explode": false }, { - "name": "filter[archived]", + "name": "fields[gameCenterChallenges]", "in": "query", - "description": "filter by attribute 'archived'", + "description": "the fields to include for returned resources of type gameCenterChallenges", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] } }, "style": "form", "explode": false }, { - "name": "filter[id]", + "name": "fields[gameCenterChallengeLocalizations]", "in": "query", - "description": "filter by id(s)", + "description": "the fields to include for returned resources of type gameCenterChallengeLocalizations", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "locale", + "name", + "description", + "version", + "image" + ] } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterChallengeVersionReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity" + "version" ] } }, @@ -134613,132 +139522,19 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterChallengeImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievementLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievementReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterAchievement" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterChallengeImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -134764,12 +139560,10 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", + "challenge", "localizations", "releases", - "activity" + "defaultImage" ] } }, @@ -134784,8 +139578,7 @@ "type": "integer", "maximum": 50 }, - "style": "form", - "deprecated": true + "style": "form" }, { "name": "limit[releases]", @@ -134841,11 +139634,11 @@ } }, "200": { - "description": "List of GameCenterAchievements", + "description": "List of GameCenterChallengeVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementsResponse" + "$ref": "#/components/schemas/GameCenterChallengeVersionsResponse" } } } @@ -134875,12 +139668,13 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterAchievementsV2": { + "/v1/gameCenterDetails/{id}/relationships/achievementReleases": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterAchievementsV2_getToManyRelationship", + "operationId": "gameCenterDetails_achievementReleases_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -134939,103 +139733,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsV2LinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails_gameCenterAchievementsV2_replaceToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsV2LinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterDetailAchievementReleasesLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -135061,30 +139763,18 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterAchievementsV2": { + "/v1/gameCenterDetails/{id}/achievementReleases": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterAchievementsV2_getToManyRelated", + "operationId": "gameCenterDetails_achievementReleases_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "filter[referenceName]", - "in": "query", - "description": "filter by attribute 'referenceName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[archived]", + "name": "filter[live]", "in": "query", - "description": "filter by attribute 'archived'", + "description": "filter by attribute 'live'", "schema": { "type": "array", "items": { @@ -135095,9 +139785,9 @@ "explode": false }, { - "name": "filter[id]", + "name": "filter[gameCenterAchievement]", "in": "query", - "description": "filter by id(s)", + "description": "filter by id(s) of related 'gameCenterAchievement'", "schema": { "type": "array", "items": { @@ -135105,28 +139795,21 @@ } }, "style": "form", - "explode": false + "explode": false, + "deprecated": true }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", + "live", "gameCenterDetail", - "gameCenterGroup", - "activity", - "versions" + "gameCenterAchievement" ] } }, @@ -135173,34 +139856,9 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivities]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { @@ -135208,38 +139866,17 @@ "enum": [ "referenceName", "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", + "points", + "showBeforeEarned", + "repeatable", "archived", - "properties", + "activityProperties", "gameCenterDetail", "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievementVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "achievement", - "localizations" + "groupAchievement", + "localizations", + "releases", + "activity" ] } }, @@ -135266,24 +139903,12 @@ "type": "string", "enum": [ "gameCenterDetail", - "gameCenterGroup", - "activity", - "versions" + "gameCenterAchievement" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -135328,11 +139953,11 @@ } }, "200": { - "description": "List of GameCenterAchievements", + "description": "List of GameCenterAchievementReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementsV2Response" + "$ref": "#/components/schemas/GameCenterAchievementReleasesResponse" } } } @@ -135362,12 +139987,13 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterActivities": { + "/v1/gameCenterDetails/{id}/relationships/activityReleases": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterActivities_getToManyRelationship", + "operationId": "gameCenterDetails_activityReleases_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -135426,7 +140052,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterActivitiesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailActivityReleasesLinkagesResponse" } } } @@ -135456,168 +140082,24 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterActivities": { + "/v1/gameCenterDetails/{id}/activityReleases": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterActivities_getToManyRelated", + "operationId": "gameCenterDetails_activityReleases_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterActivityVersionReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" + "version" ] } }, @@ -135665,70 +140147,12 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "version" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[achievements]", - "in": "query", - "description": "maximum number of related achievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[achievementsV2]", - "in": "query", - "description": "maximum number of related achievementsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[leaderboards]", - "in": "query", - "description": "maximum number of related leaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[leaderboardsV2]", - "in": "query", - "description": "maximum number of related leaderboardsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -135773,11 +140197,11 @@ } }, "200": { - "description": "List of GameCenterActivities", + "description": "List of GameCenterActivityVersionReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivitiesResponse" + "$ref": "#/components/schemas/GameCenterActivityVersionReleasesResponse" } } } @@ -135807,12 +140231,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterAppVersions": { + "/v1/gameCenterDetails/{id}/relationships/blockedPlayers": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterAppVersions_getToManyRelationship", + "operationId": "gameCenterDetails_blockedPlayers_getToManyRelationship", "parameters": [ { "name": "limit", @@ -135871,7 +140295,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterAppVersionsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailBlockedPlayersLinkagesResponse" } } } @@ -135901,77 +140325,25 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterAppVersions": { + "/v1/gameCenterDetails/{id}/blockedPlayers": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterAppVersions_getToManyRelated", + "operationId": "gameCenterDetails_blockedPlayers_getToManyRelated", "parameters": [ { - "name": "filter[enabled]", - "in": "query", - "description": "filter by attribute 'enabled'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAppVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersions]", + "name": "fields[gameCenterDetailPlayers]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type gameCenterDetailPlayers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" + "nickname", + "blocked", + "bundleId" ] } }, @@ -135987,33 +140359,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[compatibilityVersions]", - "in": "query", - "description": "maximum number of related compatibilityVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -136058,11 +140403,11 @@ } }, "200": { - "description": "List of GameCenterAppVersions", + "description": "List of GameCenterDetailPlayers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionsResponse" + "$ref": "#/components/schemas/GameCenterDetailPlayersResponse" } } } @@ -136092,12 +140437,13 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterChallenges": { + "/v1/gameCenterDetails/{id}/relationships/challengeReleases": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterChallenges_getToManyRelationship", + "operationId": "gameCenterDetails_challengeReleases_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -136156,7 +140502,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterChallengesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailChallengeReleasesLinkagesResponse" } } } @@ -136186,135 +140532,24 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterChallenges": { + "/v1/gameCenterDetails/{id}/challengeReleases": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterChallenges_getToManyRelated", + "operationId": "gameCenterDetails_challengeReleases_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "filter[referenceName]", - "in": "query", - "description": "filter by attribute 'referenceName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[archived]", - "in": "query", - "description": "filter by attribute 'archived'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterChallenges]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterChallengeVersionReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" + "version" ] } }, @@ -136342,44 +140577,6 @@ "style": "form", "explode": false }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -136399,26 +140596,12 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" + "version" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -136463,11 +140646,11 @@ } }, "200": { - "description": "List of GameCenterChallenges", + "description": "List of GameCenterChallengeVersionReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengesResponse" + "$ref": "#/components/schemas/GameCenterChallengeVersionReleasesResponse" } } } @@ -136497,13 +140680,23 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterGroup": { - "get": { + "/v1/gameCenterDetails/{id}/relationships/challengesMinimumPlatformVersions": { + "patch": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterGroup_getToOneRelationship", - "parameters": [], + "operationId": "gameCenterDetails_challengesMinimumPlatformVersions_replaceToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterDetailChallengesMinimumPlatformVersionsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -136545,16 +140738,29 @@ } } }, - "200": { - "description": "Related linkage", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterGroupLinkageResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -136580,456 +140786,45 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterGroup": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterAchievements": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterGroup_getToOneRelated", + "operationId": "gameCenterDetails_gameCenterAchievements_getToManyRelationship", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterGroups]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterChallenges]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[gameCenterDetails]", - "in": "query", - "description": "maximum number of related gameCenterDetails returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardSetsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterAchievements]", - "in": "query", - "description": "maximum number of related gameCenterAchievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterAchievementsV2]", - "in": "query", - "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterActivities]", - "in": "query", - "description": "maximum number of related gameCenterActivities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterChallenges]", - "in": "query", - "description": "maximum number of related gameCenterChallenges returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterGroup", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterGroupResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboardSets": { - "get": { - "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails_gameCenterLeaderboardSets_getToManyRelationship", - "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + } }, "403": { "description": "Forbidden error", @@ -137056,7 +140851,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsLinkagesResponse" } } } @@ -137077,14 +140872,14 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterLeaderboardSets_replaceToManyRelationship", + "operationId": "gameCenterDetails_gameCenterAchievements_replaceToManyRelationship", "deprecated": true, "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsLinkagesRequest" } } }, @@ -137179,12 +140974,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterLeaderboardSets": { + "/v1/gameCenterDetails/{id}/gameCenterAchievements": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterLeaderboardSets_getToManyRelated", + "operationId": "gameCenterDetails_gameCenterAchievements_getToManyRelated", "deprecated": true, "parameters": [ { @@ -137200,6 +140995,19 @@ "style": "form", "explode": false }, + { + "name": "filter[archived]", + "in": "query", + "description": "filter by attribute 'archived'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, { "name": "filter[id]", "in": "query", @@ -137214,9 +141022,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { @@ -137224,12 +141032,17 @@ "enum": [ "referenceName", "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboardSet", + "groupAchievement", "localizations", - "gameCenterLeaderboards", - "releases" + "releases", + "activity" ] } }, @@ -137301,9 +141114,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { @@ -137311,8 +141124,10 @@ "enum": [ "locale", "name", - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" ] } }, @@ -137320,35 +141135,17 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", + "live", "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" + "gameCenterAchievement" ] } }, @@ -137356,17 +141153,29 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", "gameCenterDetail", - "gameCenterLeaderboardSet" + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" ] } }, @@ -137394,10 +141203,10 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "groupLeaderboardSet", + "groupAchievement", "localizations", - "gameCenterLeaderboards", - "releases" + "releases", + "activity" ] } }, @@ -137415,17 +141224,6 @@ "style": "form", "deprecated": true }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, { "name": "limit[releases]", "in": "query", @@ -137480,11 +141278,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSets", + "description": "List of GameCenterAchievements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetsResponse" + "$ref": "#/components/schemas/GameCenterAchievementsResponse" } } } @@ -137514,12 +141312,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboardSetsV2": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterAchievementsV2": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterLeaderboardSetsV2_getToManyRelationship", + "operationId": "gameCenterDetails_gameCenterAchievementsV2_getToManyRelationship", "parameters": [ { "name": "limit", @@ -137578,7 +141376,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsV2LinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsV2LinkagesResponse" } } } @@ -137599,13 +141397,13 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterLeaderboardSetsV2_replaceToManyRelationship", + "operationId": "gameCenterDetails_gameCenterAchievementsV2_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsV2LinkagesRequest" + "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsV2LinkagesRequest" } } }, @@ -137700,12 +141498,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterLeaderboardSetsV2": { + "/v1/gameCenterDetails/{id}/gameCenterAchievementsV2": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterLeaderboardSetsV2_getToManyRelated", + "operationId": "gameCenterDetails_gameCenterAchievementsV2_getToManyRelated", "parameters": [ { "name": "filter[referenceName]", @@ -137720,6 +141518,19 @@ "style": "form", "explode": false }, + { + "name": "filter[archived]", + "in": "query", + "description": "filter by attribute 'archived'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, { "name": "filter[id]", "in": "query", @@ -137734,9 +141545,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { @@ -137744,9 +141555,14 @@ "enum": [ "referenceName", "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", + "activity", "versions" ] } @@ -137819,33 +141635,28 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", "referenceName", "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", "archived", - "activityProperties", - "visibility", + "properties", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterScoreModerations", - "activity", - "challenge", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", "versions" ] } @@ -137854,9 +141665,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetVersions]", + "name": "fields[gameCenterAchievementVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", + "description": "the fields to include for returned resources of type gameCenterAchievementVersions", "schema": { "type": "array", "items": { @@ -137864,7 +141675,7 @@ "enum": [ "version", "state", - "leaderboardSet", + "achievement", "localizations" ] } @@ -137893,7 +141704,7 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", + "activity", "versions" ] } @@ -137901,16 +141712,6 @@ "style": "form", "explode": false }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "limit[versions]", "in": "query", @@ -137964,11 +141765,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSets", + "description": "List of GameCenterAchievements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetsV2Response" + "$ref": "#/components/schemas/GameCenterAchievementsV2Response" } } } @@ -137998,13 +141799,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboards": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterActivities": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterLeaderboards_getToManyRelationship", - "deprecated": true, + "operationId": "gameCenterDetails_gameCenterActivities_getToManyRelationship", "parameters": [ { "name": "limit", @@ -138063,104 +141863,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails_gameCenterLeaderboards_replaceToManyRelationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterActivitiesLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -138186,83 +141893,37 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterLeaderboards": { + "/v1/gameCenterDetails/{id}/gameCenterActivities": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterLeaderboards_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterDetails_gameCenterActivities_getToManyRelated", "parameters": [ { - "name": "filter[referenceName]", - "in": "query", - "description": "filter by attribute 'referenceName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[archived]", - "in": "query", - "description": "filter by attribute 'archived'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", "referenceName", "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", "archived", - "activityProperties", - "visibility", + "properties", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" ] } }, @@ -138334,9 +141995,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { @@ -138344,53 +142005,18 @@ "enum": [ "referenceName", "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboardSet", + "groupAchievement", "localizations", - "gameCenterLeaderboards", - "releases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboard" + "releases", + "activity", + "versions" ] } }, @@ -138398,28 +142024,36 @@ "explode": false }, { - "name": "fields[gameCenterActivities]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", "referenceName", "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", "archived", - "properties", + "activityProperties", + "visibility", "gameCenterDetail", "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", "versions" ] } @@ -138428,24 +142062,21 @@ "explode": false }, { - "name": "fields[gameCenterChallenges]", + "name": "fields[gameCenterActivityVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", + "description": "the fields to include for returned resources of type gameCenterActivityVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" + "version", + "state", + "fallbackUrl", + "activity", + "localizations", + "defaultImage", + "releases" ] } }, @@ -138473,12 +142104,11 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" ] } }, @@ -138486,9 +142116,9 @@ "explode": false }, { - "name": "limit[gameCenterLeaderboardSets]", + "name": "limit[achievements]", "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "description": "maximum number of related achievements returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -138497,26 +142127,45 @@ "deprecated": true }, { - "name": "limit[localizations]", + "name": "limit[achievementsV2]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related achievementsV2 returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form", - "deprecated": true + "style": "form" }, { - "name": "limit[releases]", + "name": "limit[leaderboards]", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum number of related leaderboards returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form", "deprecated": true + }, + { + "name": "limit[leaderboardsV2]", + "in": "query", + "description": "maximum number of related leaderboardsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -138561,11 +142210,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboards", + "description": "List of GameCenterActivities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" + "$ref": "#/components/schemas/GameCenterActivitiesResponse" } } } @@ -138595,12 +142244,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboardsV2": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterAppVersions": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterLeaderboardsV2_getToManyRelationship", + "operationId": "gameCenterDetails_gameCenterAppVersions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -138659,103 +142308,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsV2LinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails_gameCenterLeaderboardsV2_replaceToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsV2LinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterAppVersionsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -138781,17 +142338,17 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterLeaderboardsV2": { + "/v1/gameCenterDetails/{id}/gameCenterAppVersions": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_gameCenterLeaderboardsV2_getToManyRelated", + "operationId": "gameCenterDetails_gameCenterAppVersions_getToManyRelated", "parameters": [ { - "name": "filter[referenceName]", + "name": "filter[enabled]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'enabled'", "schema": { "type": "array", "items": { @@ -138802,219 +142359,56 @@ "explode": false }, { - "name": "filter[archived]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "filter by attribute 'archived'", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] } }, "style": "form", "explode": false }, { - "name": "filter[id]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterScoreModerations", - "activity", - "challenge", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "arcadeEnabled", - "challengeEnabled", + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterChallenges]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "leaderboard", - "localizations" + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -139040,12 +142434,8 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "activity", - "challenge", - "versions" + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -139053,19 +142443,9 @@ "explode": false }, { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[versions]", + "name": "limit[compatibilityVersions]", "in": "query", - "description": "maximum number of related versions returned (when they are included)", + "description": "maximum number of related compatibilityVersions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -139115,11 +142495,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboards", + "description": "List of GameCenterAppVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsV2Response" + "$ref": "#/components/schemas/GameCenterAppVersionsResponse" } } } @@ -139149,13 +142529,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/leaderboardReleases": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterChallenges": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_leaderboardReleases_getToManyRelationship", - "deprecated": true, + "operationId": "gameCenterDetails_gameCenterChallenges_getToManyRelationship", "parameters": [ { "name": "limit", @@ -139214,7 +142593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailLeaderboardReleasesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterChallengesLinkagesResponse" } } } @@ -139244,18 +142623,17 @@ } ] }, - "/v1/gameCenterDetails/{id}/leaderboardReleases": { + "/v1/gameCenterDetails/{id}/gameCenterChallenges": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_leaderboardReleases_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterDetails_gameCenterChallenges_getToManyRelated", "parameters": [ { - "name": "filter[live]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'live'", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -139266,9 +142644,9 @@ "explode": false }, { - "name": "filter[gameCenterLeaderboard]", + "name": "filter[archived]", "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboard'", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { @@ -139276,21 +142654,40 @@ } }, "style": "form", - "explode": false, - "deprecated": true + "explode": false }, { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", "gameCenterDetail", - "gameCenterLeaderboard" + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" ] } }, @@ -139336,6 +142733,52 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterChallengeVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallengeVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "challenge", + "localizations", + "releases", + "defaultImage" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[gameCenterLeaderboards]", "in": "query", @@ -139365,7 +142808,9 @@ "localizations", "releases", "activity", - "challenge" + "challenge", + "gameCenterScoreModerations", + "versions" ] } }, @@ -139392,12 +142837,25 @@ "type": "string", "enum": [ "gameCenterDetail", - "gameCenterLeaderboard" + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -139442,11 +142900,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardReleases", + "description": "List of GameCenterChallenges", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" + "$ref": "#/components/schemas/GameCenterChallengesResponse" } } } @@ -139476,25 +142934,13 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/leaderboardSetReleases": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterGroup": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_leaderboardSetReleases_getToManyRelationship", - "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "operationId": "gameCenterDetails_gameCenterGroup_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -139537,11 +142983,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailLeaderboardSetReleasesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterGroupLinkageResponse" } } } @@ -139571,53 +143017,32 @@ } ] }, - "/v1/gameCenterDetails/{id}/leaderboardSetReleases": { + "/v1/gameCenterDetails/{id}/gameCenterGroup": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails_leaderboardSetReleases_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterDetails_gameCenterGroup_getToOneRelated", "parameters": [ { - "name": "filter[live]", - "in": "query", - "description": "filter by attribute 'live'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[gameCenterLeaderboardSet]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "deprecated": true - }, - { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboardSet" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -139663,6 +143088,44 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[gameCenterLeaderboardSets]", "in": "query", @@ -139679,7 +143142,8 @@ "groupLeaderboardSet", "localizations", "gameCenterLeaderboards", - "releases" + "releases", + "versions" ] } }, @@ -139687,14 +143151,88 @@ "explode": false }, { - "name": "limit", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity", + "versions" + ] + } }, - "style": "form" + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false }, { "name": "include", @@ -139705,13 +143243,113 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet" + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[gameCenterDetails]", + "in": "query", + "description": "maximum number of related gameCenterDetails returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardSetsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterAchievements]", + "in": "query", + "description": "maximum number of related gameCenterAchievements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[gameCenterAchievementsV2]", + "in": "query", + "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterActivities]", + "in": "query", + "description": "maximum number of related gameCenterActivities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterChallenges]", + "in": "query", + "description": "maximum number of related gameCenterChallenges returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -139756,11 +143394,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSetReleases", + "description": "Single GameCenterGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesResponse" + "$ref": "#/components/schemas/GameCenterGroupResponse" } } } @@ -139790,12 +143428,12 @@ } ] }, - "/v1/gameCenterEnabledVersions/{id}/relationships/compatibleVersions": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboardSets": { "get": { "tags": [ - "GameCenterEnabledVersions" + "GameCenterDetails" ], - "operationId": "gameCenterEnabledVersions_compatibleVersions_getToManyRelationship", + "operationId": "gameCenterDetails_gameCenterLeaderboardSets_getToManyRelationship", "deprecated": true, "parameters": [ { @@ -139855,7 +143493,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse" } } } @@ -139872,18 +143510,18 @@ } } }, - "post": { + "patch": { "tags": [ - "GameCenterEnabledVersions" + "GameCenterDetails" ], - "operationId": "gameCenterEnabledVersions_compatibleVersions_createToManyRelationship", + "operationId": "gameCenterDetails_gameCenterLeaderboardSets_replaceToManyRelationship", "deprecated": true, "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest" } } }, @@ -139965,23 +143603,278 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails/{id}/gameCenterLeaderboardSets": { + "get": { "tags": [ - "GameCenterEnabledVersions" + "GameCenterDetails" ], - "operationId": "gameCenterEnabledVersions_compatibleVersions_replaceToManyRelationship", + "operationId": "gameCenterDetails_gameCenterLeaderboardSets_getToManyRelated", "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" + "parameters": [ + { + "name": "filter[referenceName]", + "in": "query", + "description": "filter by attribute 'referenceName'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -140023,29 +143916,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of GameCenterLeaderboardSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetsResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -140058,23 +143938,37 @@ } } }, - "delete": { - "tags": [ - "GameCenterEnabledVersions" - ], - "operationId": "gameCenterEnabledVersions_compatibleVersions_deleteToManyRelationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboardSetsV2": { + "get": { + "tags": [ + "GameCenterDetails" + ], + "operationId": "gameCenterDetails_gameCenterLeaderboardSetsV2_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -140116,18 +144010,97 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsV2LinkagesResponse" } } } }, - "409": { - "description": "Request entity error(s)", + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "GameCenterDetails" + ], + "operationId": "gameCenterDetails_gameCenterLeaderboardSetsV2_replaceToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsV2LinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -140164,37 +144137,30 @@ } ] }, - "/v1/gameCenterEnabledVersions/{id}/compatibleVersions": { + "/v1/gameCenterDetails/{id}/gameCenterLeaderboardSetsV2": { "get": { "tags": [ - "GameCenterEnabledVersions" + "GameCenterDetails" ], - "operationId": "gameCenterEnabledVersions_compatibleVersions_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterDetails_gameCenterLeaderboardSetsV2_getToManyRelated", "parameters": [ { - "name": "filter[platform]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "filter[versionString]", + "name": "filter[id]", "in": "query", - "description": "filter by attribute 'versionString'", + "description": "filter by id(s)", "schema": { "type": "array", "items": { @@ -140205,42 +144171,84 @@ "explode": false }, { - "name": "filter[app]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" + ] } }, "style": "form", "explode": false }, { - "name": "filter[id]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "filter by id(s)", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] } }, "style": "form", "explode": false }, { - "name": "sort", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "versionString", - "-versionString" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -140248,19 +144256,34 @@ "explode": false }, { - "name": "fields[gameCenterEnabledVersions]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterEnabledVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "platform", - "versionString", - "iconAsset", - "compatibleVersions", - "app" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterScoreModerations", + "activity", + "challenge", + "versions" ] } }, @@ -140268,70 +144291,18 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[gameCenterLeaderboardSetVersions]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "version", + "state", + "leaderboardSet", + "localizations" ] } }, @@ -140357,8 +144328,10 @@ "items": { "type": "string", "enum": [ - "compatibleVersions", - "app" + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" ] } }, @@ -140366,15 +144339,24 @@ "explode": false }, { - "name": "limit[compatibleVersions]", + "name": "limit[gameCenterLeaderboards]", "in": "query", - "description": "maximum number of related compatibleVersions returned (when they are included)", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form", - "deprecated": true + "style": "form" + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -140419,11 +144401,11 @@ } }, "200": { - "description": "List of GameCenterEnabledVersions", + "description": "List of GameCenterLeaderboardSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetsV2Response" } } } @@ -140453,12 +144435,12 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterAchievements": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterAchievements_getToManyRelationship", + "operationId": "gameCenterDetails_gameCenterLeaderboards_getToManyRelationship", "deprecated": true, "parameters": [ { @@ -140518,7 +144500,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsLinkagesResponse" } } } @@ -140537,16 +144519,16 @@ }, "patch": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterAchievements_replaceToManyRelationship", + "operationId": "gameCenterDetails_gameCenterLeaderboards_replaceToManyRelationship", "deprecated": true, "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsLinkagesRequest" } } }, @@ -140641,12 +144623,12 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterAchievements": { + "/v1/gameCenterDetails/{id}/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterAchievements_getToManyRelated", + "operationId": "gameCenterDetails_gameCenterLeaderboards_getToManyRelated", "deprecated": true, "parameters": [ { @@ -140689,27 +144671,35 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", "referenceName", "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", "archived", "activityProperties", + "visibility", "gameCenterDetail", "gameCenterGroup", - "groupAchievement", + "groupLeaderboard", + "gameCenterLeaderboardSets", "localizations", "releases", - "activity" + "activity", + "challenge" ] } }, @@ -140781,9 +144771,32 @@ "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { @@ -140791,10 +144804,12 @@ "enum": [ "locale", "name", - "beforeEarnedDescription", - "afterEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage" + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -140802,9 +144817,9 @@ "explode": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { @@ -140812,7 +144827,7 @@ "enum": [ "live", "gameCenterDetail", - "gameCenterAchievement" + "gameCenterLeaderboard" ] } }, @@ -140849,6 +144864,31 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -140870,16 +144910,29 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "groupAchievement", + "groupLeaderboard", + "gameCenterLeaderboardSets", "localizations", "releases", - "activity" + "activity", + "challenge" ] } }, "style": "form", "explode": false }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, { "name": "limit[localizations]", "in": "query", @@ -140945,11 +144998,11 @@ } }, "200": { - "description": "List of GameCenterAchievements", + "description": "List of GameCenterLeaderboards", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" } } } @@ -140979,12 +145032,12 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterAchievementsV2": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboardsV2": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterAchievementsV2_getToManyRelationship", + "operationId": "gameCenterDetails_gameCenterLeaderboardsV2_getToManyRelationship", "parameters": [ { "name": "limit", @@ -141043,7 +145096,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsV2LinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsV2LinkagesResponse" } } } @@ -141062,15 +145115,15 @@ }, "patch": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterAchievementsV2_replaceToManyRelationship", + "operationId": "gameCenterDetails_gameCenterLeaderboardsV2_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsV2LinkagesRequest" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsV2LinkagesRequest" } } }, @@ -141165,12 +145218,12 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterAchievementsV2": { + "/v1/gameCenterDetails/{id}/gameCenterLeaderboardsV2": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterAchievementsV2_getToManyRelated", + "operationId": "gameCenterDetails_gameCenterLeaderboardsV2_getToManyRelated", "parameters": [ { "name": "filter[referenceName]", @@ -141212,24 +145265,33 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", "referenceName", "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", "archived", "activityProperties", + "visibility", "gameCenterDetail", "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterScoreModerations", "activity", + "challenge", "versions" ] } @@ -141301,6 +145363,27 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[gameCenterActivities]", "in": "query", @@ -141332,9 +145415,34 @@ "explode": false }, { - "name": "fields[gameCenterAchievementVersions]", + "name": "fields[gameCenterChallenges]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementVersions", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", "schema": { "type": "array", "items": { @@ -141342,7 +145450,7 @@ "enum": [ "version", "state", - "achievement", + "leaderboard", "localizations" ] } @@ -141371,7 +145479,9 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", + "gameCenterLeaderboardSets", "activity", + "challenge", "versions" ] } @@ -141379,6 +145489,16 @@ "style": "form", "explode": false }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, { "name": "limit[versions]", "in": "query", @@ -141432,11 +145552,11 @@ } }, "200": { - "description": "List of GameCenterAchievements", + "description": "List of GameCenterLeaderboards", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementsV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardsV2Response" } } } @@ -141466,12 +145586,13 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterActivities": { + "/v1/gameCenterDetails/{id}/relationships/leaderboardReleases": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterActivities_getToManyRelationship", + "operationId": "gameCenterDetails_leaderboardReleases_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -141530,7 +145651,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterActivitiesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailLeaderboardReleasesLinkagesResponse" } } } @@ -141560,37 +145681,53 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterActivities": { + "/v1/gameCenterDetails/{id}/leaderboardReleases": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterActivities_getToManyRelated", + "operationId": "gameCenterDetails_leaderboardReleases_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterActivities]", + "name": "filter[live]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "filter by attribute 'live'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterLeaderboard]", + "in": "query", + "description": "filter by id(s) of related 'gameCenterLeaderboard'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "deprecated": true + }, + { + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", + "live", "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "gameCenterLeaderboard" ] } }, @@ -141636,60 +145773,6 @@ "style": "form", "explode": false }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[gameCenterLeaderboards]", "in": "query", @@ -141719,31 +145802,7 @@ "localizations", "releases", "activity", - "challenge", - "gameCenterScoreModerations", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivityVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "fallbackUrl", - "activity", - "localizations", - "defaultImage", - "releases" + "challenge" ] } }, @@ -141770,69 +145829,12 @@ "type": "string", "enum": [ "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" + "gameCenterLeaderboard" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[achievements]", - "in": "query", - "description": "maximum number of related achievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[achievementsV2]", - "in": "query", - "description": "maximum number of related achievementsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[leaderboards]", - "in": "query", - "description": "maximum number of related leaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[leaderboardsV2]", - "in": "query", - "description": "maximum number of related leaderboardsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -141877,11 +145879,11 @@ } }, "200": { - "description": "List of GameCenterActivities", + "description": "List of GameCenterLeaderboardReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterActivitiesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" } } } @@ -141911,12 +145913,13 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterChallenges": { + "/v1/gameCenterDetails/{id}/relationships/leaderboardSetReleases": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterChallenges_getToManyRelationship", + "operationId": "gameCenterDetails_leaderboardSetReleases_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -141975,7 +145978,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterChallengesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailLeaderboardSetReleasesLinkagesResponse" } } } @@ -142005,30 +146008,18 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterChallenges": { + "/v1/gameCenterDetails/{id}/leaderboardSetReleases": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterDetails" ], - "operationId": "gameCenterGroups_gameCenterChallenges_getToManyRelated", + "operationId": "gameCenterDetails_leaderboardSetReleases_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "filter[referenceName]", - "in": "query", - "description": "filter by attribute 'referenceName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[archived]", + "name": "filter[live]", "in": "query", - "description": "filter by attribute 'archived'", + "description": "filter by attribute 'live'", "schema": { "type": "array", "items": { @@ -142039,9 +146030,9 @@ "explode": false }, { - "name": "filter[id]", + "name": "filter[gameCenterLeaderboardSet]", "in": "query", - "description": "filter by id(s)", + "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", "schema": { "type": "array", "items": { @@ -142049,27 +146040,21 @@ } }, "style": "form", - "explode": false + "explode": false, + "deprecated": true }, { - "name": "fields[gameCenterChallenges]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", + "live", "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" + "gameCenterLeaderboardSet" ] } }, @@ -142116,83 +146101,22 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterChallengeVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "challenge", - "localizations", - "releases", - "defaultImage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", "referenceName", "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", + "groupLeaderboardSet", "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" + "gameCenterLeaderboards", + "releases" ] } }, @@ -142219,25 +146143,12 @@ "type": "string", "enum": [ "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" + "gameCenterLeaderboardSet" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -142282,11 +146193,11 @@ } }, "200": { - "description": "List of GameCenterChallenges", + "description": "List of GameCenterLeaderboardSetReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterChallengesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesResponse" } } } @@ -142316,12 +146227,13 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterDetails": { + "/v1/gameCenterEnabledVersions/{id}/relationships/compatibleVersions": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterEnabledVersions" ], - "operationId": "gameCenterGroups_gameCenterDetails_getToManyRelationship", + "operationId": "gameCenterEnabledVersions_compatibleVersions_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -142380,7 +146292,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterDetailsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse" } } } @@ -142397,668 +146309,23 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterGroups/{id}/gameCenterDetails": { - "get": { + "post": { "tags": [ - "GameCenterGroups" + "GameCenterEnabledVersions" ], - "operationId": "gameCenterGroups_gameCenterDetails_getToManyRelated", - "parameters": [ - { - "name": "filter[gameCenterAppVersions.enabled]", - "in": "query", - "description": "filter by attribute 'gameCenterAppVersions.enabled'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAppVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "enabled", - "compatibilityVersions", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge", - "gameCenterScoreModerations", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "points", - "showBeforeEarned", - "repeatable", - "archived", - "activityProperties", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases", - "activity", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivities]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", - "archived", - "properties", - "gameCenterDetail", - "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterChallenges]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievementReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterAchievement" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivityVersionReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterChallengeVersionReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboard" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSetReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboardSet" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "challengesMinimumPlatformVersions" - ] + "operationId": "gameCenterEnabledVersions_compatibleVersions_createToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[gameCenterAppVersions]", - "in": "query", - "description": "maximum number of related gameCenterAppVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboardSetsV2]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterAchievements]", - "in": "query", - "description": "maximum number of related gameCenterAchievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterAchievementsV2]", - "in": "query", - "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterActivities]", - "in": "query", - "description": "maximum number of related gameCenterActivities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterChallenges]", - "in": "query", - "description": "maximum number of related gameCenterChallenges returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[achievementReleases]", - "in": "query", - "description": "maximum number of related achievementReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[activityReleases]", - "in": "query", - "description": "maximum number of related activityReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[challengeReleases]", - "in": "query", - "description": "maximum number of related challengeReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[leaderboardReleases]", - "in": "query", - "description": "maximum number of related leaderboardReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[leaderboardSetReleases]", - "in": "query", - "description": "maximum number of related leaderboardSetReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true + } }, - { - "name": "limit[challengesMinimumPlatformVersions]", - "in": "query", - "description": "maximum number of related challengesMinimumPlatformVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -143100,16 +146367,29 @@ } } }, - "200": { - "description": "List of GameCenterDetails", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailsResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -143122,38 +146402,23 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboardSets": { - "get": { + "patch": { "tags": [ - "GameCenterGroups" + "GameCenterEnabledVersions" ], - "operationId": "gameCenterGroups_gameCenterLeaderboardSets_getToManyRelationship", + "operationId": "gameCenterEnabledVersions_compatibleVersions_replaceToManyRelationship", "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -143195,16 +146460,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -143217,18 +146495,18 @@ } } }, - "patch": { + "delete": { "tags": [ - "GameCenterGroups" + "GameCenterEnabledVersions" ], - "operationId": "gameCenterGroups_gameCenterLeaderboardSets_replaceToManyRelationship", + "operationId": "gameCenterEnabledVersions_compatibleVersions_deleteToManyRelationship", "deprecated": true, "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" } } }, @@ -143323,31 +146601,37 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterLeaderboardSets": { + "/v1/gameCenterEnabledVersions/{id}/compatibleVersions": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterEnabledVersions" ], - "operationId": "gameCenterGroups_gameCenterLeaderboardSets_getToManyRelated", + "operationId": "gameCenterEnabledVersions_compatibleVersions_getToManyRelated", "deprecated": true, "parameters": [ { - "name": "filter[referenceName]", + "name": "filter[platform]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] } }, "style": "form", "explode": false }, { - "name": "filter[id]", + "name": "filter[versionString]", "in": "query", - "description": "filter by id(s)", + "description": "filter by attribute 'versionString'", "schema": { "type": "array", "items": { @@ -143358,86 +146642,42 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "filter[app]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "filter by id(s) of related 'app'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "sort", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" + "versionString", + "-versionString" ] } }, @@ -143445,18 +146685,19 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterEnabledVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterEnabledVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" + "platform", + "versionString", + "iconAsset", + "compatibleVersions", + "app" ] } }, @@ -143464,53 +146705,71 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSetReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", "gameCenterDetail", - "gameCenterLeaderboardSet" + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -143536,12 +146795,8 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" + "compatibleVersions", + "app" ] } }, @@ -143549,31 +146804,9 @@ "explode": false }, { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[releases]", + "name": "limit[compatibleVersions]", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum number of related compatibleVersions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -143624,11 +146857,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSets", + "description": "List of GameCenterEnabledVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetsResponse" + "$ref": "#/components/schemas/GameCenterEnabledVersionsResponse" } } } @@ -143658,12 +146891,13 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboardSetsV2": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterAchievements": { "get": { "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups_gameCenterLeaderboardSetsV2_getToManyRelationship", + "operationId": "gameCenterGroups_gameCenterAchievements_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -143722,7 +146956,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsV2LinkagesResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsLinkagesResponse" } } } @@ -143743,13 +146977,14 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups_gameCenterLeaderboardSetsV2_replaceToManyRelationship", + "operationId": "gameCenterGroups_gameCenterAchievements_replaceToManyRelationship", + "deprecated": true, "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsV2LinkagesRequest" + "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsLinkagesRequest" } } }, @@ -143844,12 +147079,13 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterLeaderboardSetsV2": { + "/v1/gameCenterGroups/{id}/gameCenterAchievements": { "get": { "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups_gameCenterLeaderboardSetsV2_getToManyRelated", + "operationId": "gameCenterGroups_gameCenterAchievements_getToManyRelated", + "deprecated": true, "parameters": [ { "name": "filter[referenceName]", @@ -143864,6 +147100,19 @@ "style": "form", "explode": false }, + { + "name": "filter[archived]", + "in": "query", + "description": "filter by attribute 'archived'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, { "name": "filter[id]", "in": "query", @@ -143878,9 +147127,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { @@ -143888,10 +147137,17 @@ "enum": [ "referenceName", "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", - "versions" + "groupAchievement", + "localizations", + "releases", + "activity" ] } }, @@ -143963,34 +147219,38 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievementReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterScoreModerations", - "activity", - "challenge", - "versions" + "gameCenterAchievement" ] } }, @@ -143998,18 +147258,29 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetVersions]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "leaderboardSet", - "localizations" + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" ] } }, @@ -144037,8 +147308,10 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", - "versions" + "groupAchievement", + "localizations", + "releases", + "activity" ] } }, @@ -144046,24 +147319,26 @@ "explode": false }, { - "name": "limit[gameCenterLeaderboards]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form" + "style": "form", + "deprecated": true }, { - "name": "limit[versions]", + "name": "limit[releases]", "in": "query", - "description": "maximum number of related versions returned (when they are included)", + "description": "maximum number of related releases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form" + "style": "form", + "deprecated": true } ], "responses": { @@ -144108,11 +147383,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSets", + "description": "List of GameCenterAchievements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetsV2Response" + "$ref": "#/components/schemas/GameCenterAchievementsResponse" } } } @@ -144142,13 +147417,12 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboards": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterAchievementsV2": { "get": { "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups_gameCenterLeaderboards_getToManyRelationship", - "deprecated": true, + "operationId": "gameCenterGroups_gameCenterAchievementsV2_getToManyRelationship", "parameters": [ { "name": "limit", @@ -144207,7 +147481,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsV2LinkagesResponse" } } } @@ -144228,14 +147502,13 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups_gameCenterLeaderboards_replaceToManyRelationship", - "deprecated": true, + "operationId": "gameCenterGroups_gameCenterAchievementsV2_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsV2LinkagesRequest" } } }, @@ -144330,13 +147603,12 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterLeaderboards": { + "/v1/gameCenterGroups/{id}/gameCenterAchievementsV2": { "get": { "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups_gameCenterLeaderboards_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterGroups_gameCenterAchievementsV2_getToManyRelated", "parameters": [ { "name": "filter[referenceName]", @@ -144378,35 +147650,25 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", "referenceName", "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", + "points", + "showBeforeEarned", + "repeatable", "archived", "activityProperties", - "visibility", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", "activity", - "challenge" + "versions" ] } }, @@ -144477,70 +147739,6 @@ "style": "form", "explode": false }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboard" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[gameCenterActivities]", "in": "query", @@ -144572,24 +147770,18 @@ "explode": false }, { - "name": "fields[gameCenterChallenges]", + "name": "fields[gameCenterAchievementVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", + "description": "the fields to include for returned resources of type gameCenterAchievementVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "archived", - "challengeType", - "repeatable", - "gameCenterDetail", - "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" + "version", + "state", + "achievement", + "localizations" ] } }, @@ -144617,12 +147809,8 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", "activity", - "challenge" + "versions" ] } }, @@ -144630,37 +147818,14 @@ "explode": false }, { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[releases]", + "name": "limit[versions]", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum number of related versions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form", - "deprecated": true + "style": "form" } ], "responses": { @@ -144705,11 +147870,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboards", + "description": "List of GameCenterAchievements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" + "$ref": "#/components/schemas/GameCenterAchievementsV2Response" } } } @@ -144739,12 +147904,12 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboardsV2": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterActivities": { "get": { "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups_gameCenterLeaderboardsV2_getToManyRelationship", + "operationId": "gameCenterGroups_gameCenterActivities_getToManyRelationship", "parameters": [ { "name": "limit", @@ -144803,103 +147968,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsV2LinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "GameCenterGroups" - ], - "operationId": "gameCenterGroups_gameCenterLeaderboardsV2_replaceToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsV2LinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterActivitiesLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -144925,80 +147998,36 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterLeaderboardsV2": { + "/v1/gameCenterGroups/{id}/gameCenterActivities": { "get": { "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups_gameCenterLeaderboardsV2_getToManyRelated", + "operationId": "gameCenterGroups_gameCenterActivities_getToManyRelated", "parameters": [ { - "name": "filter[referenceName]", - "in": "query", - "description": "filter by attribute 'referenceName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[archived]", - "in": "query", - "description": "filter by attribute 'archived'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterActivities]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", "referenceName", "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", "archived", - "activityProperties", - "visibility", + "properties", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterScoreModerations", - "activity", - "challenge", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", "versions" ] } @@ -145071,30 +148100,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivities]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivities", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { @@ -145102,18 +148110,17 @@ "enum": [ "referenceName", "vendorIdentifier", - "playStyle", - "minimumPlayersCount", - "maximumPlayersCount", - "supportsPartyCode", + "points", + "showBeforeEarned", + "repeatable", "archived", - "properties", + "activityProperties", "gameCenterDetail", "gameCenterGroup", - "achievements", - "achievementsV2", - "leaderboards", - "leaderboardsV2", + "groupAchievement", + "localizations", + "releases", + "activity", "versions" ] } @@ -145122,24 +148129,37 @@ "explode": false }, { - "name": "fields[gameCenterChallenges]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallenges", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", "referenceName", "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", "archived", - "challengeType", - "repeatable", + "activityProperties", + "visibility", "gameCenterDetail", "gameCenterGroup", - "versions", - "leaderboard", - "leaderboardV2" + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", + "versions" ] } }, @@ -145147,9 +148167,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardVersions]", + "name": "fields[gameCenterActivityVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "description": "the fields to include for returned resources of type gameCenterActivityVersions", "schema": { "type": "array", "items": { @@ -145157,8 +148177,11 @@ "enum": [ "version", "state", - "leaderboard", - "localizations" + "fallbackUrl", + "activity", + "localizations", + "defaultImage", + "releases" ] } }, @@ -145186,9 +148209,10 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "activity", - "challenge", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", "versions" ] } @@ -145197,253 +148221,56 @@ "explode": false }, { - "name": "limit[gameCenterLeaderboardSets]", + "name": "limit[achievements]", "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "description": "maximum number of related achievements returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form" + "style": "form", + "deprecated": true }, { - "name": "limit[versions]", + "name": "limit[achievementsV2]", "in": "query", - "description": "maximum number of related versions returned (when they are included)", + "description": "maximum number of related achievementsV2 returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of GameCenterLeaderboards", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsV2Response" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboardLocalizations/{id}/relationships/gameCenterLeaderboardImage": { - "get": { - "tags": [ - "GameCenterLeaderboardLocalizations" - ], - "operationId": "gameCenterLeaderboardLocalizations_gameCenterLeaderboardImage_getToOneRelationship", - "deprecated": true, - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "200": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationGameCenterLeaderboardImageLinkageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboardLocalizations/{id}/gameCenterLeaderboardImage": { - "get": { - "tags": [ - "GameCenterLeaderboardLocalizations" - ], - "operationId": "gameCenterLeaderboardLocalizations_gameCenterLeaderboardImage_getToOneRelated", - "deprecated": true, - "parameters": [ { - "name": "fields[gameCenterLeaderboardImages]", + "name": "limit[leaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "maximum number of related leaderboards returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "gameCenterLeaderboardLocalization" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false + "deprecated": true }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "limit[leaderboardsV2]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "maximum number of related leaderboardsV2 returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" - ] - } + "type": "integer", + "maximum": 50 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "include", + "name": "limit[versions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related versions returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterLeaderboardLocalization" - ] - } + "type": "integer", + "maximum": 50 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -145488,11 +148315,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardImage", + "description": "List of GameCenterActivities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" + "$ref": "#/components/schemas/GameCenterActivitiesResponse" } } } @@ -145522,13 +148349,24 @@ } ] }, - "/v2/gameCenterLeaderboardLocalizations/{id}/relationships/image": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterChallenges": { "get": { "tags": [ - "GameCenterLeaderboardLocalizations" + "GameCenterGroups" + ], + "operationId": "gameCenterGroups_gameCenterChallenges_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "gameCenterLeaderboardLocalizationsV2_image_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -145571,11 +148409,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2ImageLinkageResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterChallengesLinkagesResponse" } } } @@ -145605,257 +148443,71 @@ } ] }, - "/v2/gameCenterLeaderboardLocalizations/{id}/image": { + "/v1/gameCenterGroups/{id}/gameCenterChallenges": { "get": { "tags": [ - "GameCenterLeaderboardLocalizations" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardLocalizationsV2_image_getToOneRelated", + "operationId": "gameCenterGroups_gameCenterChallenges_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardImages]", + "name": "filter[referenceName]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "filter[archived]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "version", - "image" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "include", + "name": "filter[id]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "localization" - ] + "type": "string" } }, "style": "form", "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterLeaderboardImage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageV2Response" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboardSetLocalizations/{id}/relationships/gameCenterLeaderboardSetImage": { - "get": { - "tags": [ - "GameCenterLeaderboardSetLocalizations" - ], - "operationId": "gameCenterLeaderboardSetLocalizations_gameCenterLeaderboardSetImage_getToOneRelationship", - "deprecated": true, - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationGameCenterLeaderboardSetImageLinkageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboardSetLocalizations/{id}/gameCenterLeaderboardSetImage": { - "get": { - "tags": [ - "GameCenterLeaderboardSetLocalizations" - ], - "operationId": "gameCenterLeaderboardSetLocalizations_gameCenterLeaderboardSetImage_getToOneRelated", - "deprecated": true, - "parameters": [ { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "fields[gameCenterChallenges]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "the fields to include for returned resources of type gameCenterChallenges", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "gameCenterLeaderboardSetLocalization" + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" ] } }, @@ -145863,18 +148515,38 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, @@ -145882,203 +148554,45 @@ "explode": false }, { - "name": "include", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSetLocalization" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, "style": "form", "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterLeaderboardSetImage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterLeaderboardSetLocalizations/{id}/relationships/image": { - "get": { - "tags": [ - "GameCenterLeaderboardSetLocalizations" - ], - "operationId": "gameCenterLeaderboardSetLocalizationsV2_image_getToOneRelationship", - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2ImageLinkageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterLeaderboardSetLocalizations/{id}/image": { - "get": { - "tags": [ - "GameCenterLeaderboardSetLocalizations" - ], - "operationId": "gameCenterLeaderboardSetLocalizationsV2_image_getToOneRelated", - "parameters": [ { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "fields[gameCenterChallengeVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "the fields to include for returned resources of type gameCenterChallengeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" + "version", + "state", + "challenge", + "localizations", + "releases", + "defaultImage" ] } }, @@ -146086,24 +148600,53 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "version", - "image" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", + "versions" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -146113,12 +148656,26 @@ "items": { "type": "string", "enum": [ - "localization" + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -146163,11 +148720,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetImage", + "description": "List of GameCenterChallenges", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2Response" + "$ref": "#/components/schemas/GameCenterChallengesResponse" } } } @@ -146197,14 +148754,24 @@ } ] }, - "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/relationships/gameCenterLeaderboard": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterDetails": { "get": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterGroups" + ], + "operationId": "gameCenterGroups_gameCenterDetails_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboard_getToOneRelationship", - "deprecated": true, - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -146247,11 +148814,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardLinkageResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterDetailsLinkagesResponse" } } } @@ -146281,45 +148848,21 @@ } ] }, - "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboard": { + "/v1/gameCenterGroups/{id}/gameCenterDetails": { "get": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboard_getToOneRelated", - "deprecated": true, + "operationId": "gameCenterGroups_gameCenterDetails_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboards]", + "name": "filter[gameCenterAppVersions.enabled]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "filter by attribute 'gameCenterAppVersions.enabled'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" - ] + "type": "string" } }, "style": "form", @@ -146365,24 +148908,71 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" ] } }, @@ -146390,22 +148980,17 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -146413,22 +148998,24 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -146436,17 +149023,90 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", "gameCenterDetail", - "gameCenterLeaderboard" + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge", + "gameCenterScoreModerations", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "activityProperties", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases", + "activity", + "versions" ] } }, @@ -146508,6 +149168,141 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterAchievementReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterAchievement" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterActivityVersionReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivityVersionReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterChallengeVersionReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallengeVersionReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboard" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -146517,20 +149312,64 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", + "app", + "gameCenterAppVersions", "gameCenterGroup", - "groupLeaderboard", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "challengesMinimumPlatformVersions" ] } }, "style": "form", "explode": false }, + { + "name": "limit[gameCenterAppVersions]", + "in": "query", + "description": "maximum number of related gameCenterAppVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboardsV2]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, { "name": "limit[gameCenterLeaderboardSets]", "in": "query", @@ -146543,9 +149382,19 @@ "deprecated": true }, { - "name": "limit[localizations]", + "name": "limit[gameCenterLeaderboardSetsV2]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related gameCenterLeaderboardSetsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterAchievements]", + "in": "query", + "description": "maximum number of related gameCenterAchievements returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -146554,15 +149403,99 @@ "deprecated": true }, { - "name": "limit[releases]", + "name": "limit[gameCenterAchievementsV2]", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum number of related gameCenterAchievementsV2 returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterActivities]", + "in": "query", + "description": "maximum number of related gameCenterActivities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterChallenges]", + "in": "query", + "description": "maximum number of related gameCenterChallenges returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[achievementReleases]", + "in": "query", + "description": "maximum number of related achievementReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[activityReleases]", + "in": "query", + "description": "maximum number of related activityReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[challengeReleases]", + "in": "query", + "description": "maximum number of related challengeReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[leaderboardReleases]", + "in": "query", + "description": "maximum number of related leaderboardReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[leaderboardSetReleases]", + "in": "query", + "description": "maximum number of related leaderboardSetReleases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, "style": "form", "deprecated": true + }, + { + "name": "limit[challengesMinimumPlatformVersions]", + "in": "query", + "description": "maximum number of related challengesMinimumPlatformVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -146607,11 +149540,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboard", + "description": "List of GameCenterDetails", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardResponse" + "$ref": "#/components/schemas/GameCenterDetailsResponse" } } } @@ -146641,14 +149574,25 @@ } ] }, - "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/relationships/gameCenterLeaderboardSet": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboardSets": { "get": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboardSet_getToOneRelationship", + "operationId": "gameCenterGroups_gameCenterLeaderboardSets_getToManyRelationship", "deprecated": true, - "parameters": [], + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -146691,15 +149635,108 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardSetLinkageResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "GameCenterGroups" + ], + "operationId": "gameCenterGroups_gameCenterLeaderboardSets_replaceToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -146725,14 +149762,40 @@ } ] }, - "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboardSet": { + "/v1/gameCenterGroups/{id}/gameCenterLeaderboardSets": { "get": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboardSet_getToOneRelated", + "operationId": "gameCenterGroups_gameCenterLeaderboardSets_getToManyRelated", "deprecated": true, "parameters": [ + { + "name": "filter[referenceName]", + "in": "query", + "description": "filter by attribute 'referenceName'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, { "name": "fields[gameCenterLeaderboardSets]", "in": "query", @@ -146893,6 +149956,16 @@ "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -146990,11 +150063,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSet", + "description": "List of GameCenterLeaderboardSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetsResponse" } } } @@ -147024,12 +150097,12 @@ } ] }, - "/v2/gameCenterLeaderboardSetVersions/{id}/relationships/localizations": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboardSetsV2": { "get": { "tags": [ - "GameCenterLeaderboardSetVersions" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetVersionsV2_localizations_getToManyRelationship", + "operationId": "gameCenterGroups_gameCenterLeaderboardSetsV2_getToManyRelationship", "parameters": [ { "name": "limit", @@ -147088,11 +150161,103 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionV2LocalizationsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsV2LinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "GameCenterGroups" + ], + "operationId": "gameCenterGroups_gameCenterLeaderboardSetsV2_replaceToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsV2LinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -147118,26 +150283,54 @@ } ] }, - "/v2/gameCenterLeaderboardSetVersions/{id}/localizations": { + "/v1/gameCenterGroups/{id}/gameCenterLeaderboardSetsV2": { "get": { "tags": [ - "GameCenterLeaderboardSetVersions" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetVersionsV2_localizations_getToManyRelated", + "operationId": "gameCenterGroups_gameCenterLeaderboardSetsV2_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "filter[referenceName]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "filter by attribute 'referenceName'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "version", - "image" + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" ] } }, @@ -147145,18 +150338,38 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetVersions]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "leaderboardSet", - "localizations" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, @@ -147164,20 +150377,78 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterScoreModerations", + "activity", + "challenge", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "leaderboardSet", + "localizations" ] } }, @@ -147203,13 +150474,35 @@ "items": { "type": "string", "enum": [ - "version", - "image" + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -147254,11 +150547,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSetLocalizations", + "description": "List of GameCenterLeaderboardSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationsV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetsV2Response" } } } @@ -147288,12 +150581,13 @@ } ] }, - "/v2/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_getToManyRelationship", + "operationId": "gameCenterGroups_gameCenterLeaderboards_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -147352,7 +150646,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsLinkagesResponse" } } } @@ -147369,17 +150663,18 @@ } } }, - "post": { + "patch": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_createToManyRelationship", + "operationId": "gameCenterGroups_gameCenterLeaderboards_replaceToManyRelationship", + "deprecated": true, "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsLinkagesRequest" } } }, @@ -147461,244 +150756,61 @@ } } }, - "patch": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_replaceToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } } - }, - "delete": { + ] + }, + "/v1/gameCenterGroups/{id}/gameCenterLeaderboards": { + "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequest" + "operationId": "gameCenterGroups_gameCenterLeaderboards_getToManyRelated", + "deprecated": true, + "parameters": [ + { + "name": "filter[referenceName]", + "in": "query", + "description": "filter by attribute 'referenceName'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[archived]", + "in": "query", + "description": "filter by attribute 'archived'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards": { - "get": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_getToManyRelated", - "parameters": [ - { - "name": "filter[referenceName]", - "in": "query", - "description": "filter by attribute 'referenceName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[archived]", - "in": "query", - "description": "filter by attribute 'archived'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" } }, "style": "form", @@ -147728,11 +150840,12 @@ "visibility", "gameCenterDetail", "gameCenterGroup", + "groupLeaderboard", "gameCenterLeaderboardSets", - "gameCenterScoreModerations", + "localizations", + "releases", "activity", - "challenge", - "versions" + "challenge" ] } }, @@ -147816,8 +150929,51 @@ "vendorIdentifier", "gameCenterDetail", "gameCenterGroup", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "versions" + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboard" ] } }, @@ -147879,25 +151035,6 @@ "style": "form", "explode": false }, - { - "name": "fields[gameCenterLeaderboardVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "leaderboard", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -147919,10 +151056,12 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", + "groupLeaderboard", "gameCenterLeaderboardSets", + "localizations", + "releases", "activity", - "challenge", - "versions" + "challenge" ] } }, @@ -147937,291 +151076,30 @@ "type": "integer", "maximum": 50 }, - "style": "form" - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of GameCenterLeaderboards", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsV2Response" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterLeaderboardSets/{id}/relationships/versions": { - "get": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSetsV2_versions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetV2VersionsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterLeaderboardSets/{id}/versions": { - "get": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSetsV2_versions_getToManyRelated", - "parameters": [ - { - "name": "fields[gameCenterLeaderboardSetVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "leaderboardSet", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "versions" - ] - } - }, "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSetLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "version", - "image" - ] - } - }, - "style": "form", - "explode": false + "deprecated": true }, { - "name": "limit", + "name": "limit[localizations]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "leaderboardSet", - "localizations" - ] - } + "maximum": 50 }, "style": "form", - "explode": false + "deprecated": true }, { - "name": "limit[localizations]", + "name": "limit[releases]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related releases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form" + "style": "form", + "deprecated": true } ], "responses": { @@ -148266,11 +151144,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSetVersions", + "description": "List of GameCenterLeaderboards", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionsV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" } } } @@ -148300,13 +151178,12 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboardsV2": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelationship", - "deprecated": true, + "operationId": "gameCenterGroups_gameCenterLeaderboardsV2_getToManyRelationship", "parameters": [ { "name": "limit", @@ -148365,104 +151242,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_createToManyRelationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsV2LinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -148477,109 +151261,15 @@ }, "patch": { "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_replaceToManyRelationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "GameCenterLeaderboardSets" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_deleteToManyRelationship", - "deprecated": true, + "operationId": "gameCenterGroups_gameCenterLeaderboardsV2_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsV2LinkagesRequest" } } }, @@ -148674,13 +151364,12 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards": { + "/v1/gameCenterGroups/{id}/gameCenterLeaderboardsV2": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterGroups" ], - "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterGroups_gameCenterLeaderboardsV2_getToManyRelated", "parameters": [ { "name": "filter[referenceName]", @@ -148745,12 +151434,11 @@ "visibility", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboard", "gameCenterLeaderboardSets", - "localizations", - "releases", + "gameCenterScoreModerations", "activity", - "challenge" + "challenge", + "versions" ] } }, @@ -148834,51 +151522,8 @@ "vendorIdentifier", "gameCenterDetail", "gameCenterGroup", - "groupLeaderboardSet", - "localizations", "gameCenterLeaderboards", - "releases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboard" + "versions" ] } }, @@ -148940,6 +151585,25 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterLeaderboardVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "leaderboard", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -148961,12 +151625,10 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "groupLeaderboard", "gameCenterLeaderboardSets", - "localizations", - "releases", "activity", - "challenge" + "challenge", + "versions" ] } }, @@ -148981,30 +151643,17 @@ "type": "integer", "maximum": 50 }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true + "style": "form" }, { - "name": "limit[releases]", + "name": "limit[versions]", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum number of related versions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form", - "deprecated": true + "style": "form" } ], "responses": { @@ -149053,7 +151702,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardsV2Response" } } } @@ -149083,12 +151732,12 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/relationships/groupLeaderboardSet": { + "/v1/gameCenterLeaderboardLocalizations/{id}/relationships/gameCenterLeaderboardImage": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelationship", + "operationId": "gameCenterLeaderboardLocalizations_gameCenterLeaderboardImage_getToOneRelationship", "deprecated": true, "parameters": [], "responses": { @@ -149137,7 +151786,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationGameCenterLeaderboardImageLinkageResponse" } } } @@ -149154,23 +151803,88 @@ } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterLeaderboardLocalizations/{id}/gameCenterLeaderboardImage": { + "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_updateToOneRelationship", + "operationId": "gameCenterLeaderboardLocalizations_gameCenterLeaderboardImage_getToOneRelated", "deprecated": true, - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest" + "parameters": [ + { + "name": "fields[gameCenterLeaderboardImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "gameCenterLeaderboardLocalization" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "fields[gameCenterLeaderboardLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterLeaderboardLocalization" + ] + } + }, + "style": "form", + "explode": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -149212,8 +151926,51 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", + "200": { + "description": "Single GameCenterLeaderboardImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/gameCenterLeaderboardLocalizations/{id}/relationships/image": { + "get": { + "tags": [ + "GameCenterLeaderboardLocalizations" + ], + "operationId": "gameCenterLeaderboardLocalizationsV2_image_getToOneRelationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -149222,8 +151979,8 @@ } } }, - "409": { - "description": "Request entity error(s)", + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -149232,8 +151989,35 @@ } } }, - "204": { - "description": "Success (no content)" + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationV2ImageLinkageResponse" + } + } + } }, "429": { "description": "Rate limit exceeded error", @@ -149260,31 +152044,28 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/groupLeaderboardSet": { + "/v2/gameCenterLeaderboardLocalizations/{id}/image": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelated", - "deprecated": true, + "operationId": "gameCenterLeaderboardLocalizationsV2_image_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterLeaderboardImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -149292,38 +152073,22 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "version", + "image" ] } }, @@ -149331,105 +152096,7 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "gameCenterDetails", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSetLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSetReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboardSet" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", + "name": "include", "in": "query", "description": "comma-separated list of relationships to include", "schema": { @@ -149437,50 +152104,12 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" + "localization" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true } ], "responses": { @@ -149525,11 +152154,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSet", + "description": "Single GameCenterLeaderboardImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardImageV2Response" } } } @@ -149559,25 +152188,14 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/relationships/localizations": { + "/v1/gameCenterLeaderboardSetLocalizations/{id}/relationships/gameCenterLeaderboardSetImage": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSets_localizations_getToManyRelationship", + "operationId": "gameCenterLeaderboardSetLocalizations_gameCenterLeaderboardSetImage_getToOneRelationship", "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -149620,11 +152238,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationGameCenterLeaderboardSetImageLinkageResponse" } } } @@ -149654,56 +152272,14 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/localizations": { + "/v1/gameCenterLeaderboardSetLocalizations/{id}/gameCenterLeaderboardSetImage": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSets_localizations_getToManyRelated", + "operationId": "gameCenterLeaderboardSetLocalizations_gameCenterLeaderboardSetImage_getToOneRelated", "deprecated": true, "parameters": [ - { - "name": "fields[gameCenterLeaderboardSetLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "locale", - "name", - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[gameCenterLeaderboardSetImages]", "in": "query", @@ -149726,24 +152302,16 @@ "explode": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "locale", + "name", "gameCenterLeaderboardSet", "gameCenterLeaderboardSetImage" ] @@ -149751,302 +152319,6 @@ }, "style": "form", "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of GameCenterLeaderboardSetLocalizations", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationsResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboardSets/{id}/relationships/releases": { - "get": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSets_releases_getToManyRelationship", - "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboardSets/{id}/releases": { - "get": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSets_releases_getToManyRelated", - "deprecated": true, - "parameters": [ - { - "name": "filter[live]", - "in": "query", - "description": "filter by attribute 'live'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[gameCenterDetail]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterDetail'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSetReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboardSet" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "vendorIdentifier", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboardSet", - "localizations", - "gameCenterLeaderboards", - "releases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" }, { "name": "include", @@ -150057,8 +152329,7 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet" + "gameCenterLeaderboardSetLocalization" ] } }, @@ -150108,11 +152379,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSetReleases", + "description": "Single GameCenterLeaderboardSetImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" } } } @@ -150142,24 +152413,13 @@ } ] }, - "/v2/gameCenterLeaderboardVersions/{id}/relationships/localizations": { + "/v2/gameCenterLeaderboardSetLocalizations/{id}/relationships/image": { "get": { "tags": [ - "GameCenterLeaderboardVersions" - ], - "operationId": "gameCenterLeaderboardVersionsV2_localizations_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterLeaderboardSetLocalizations" ], + "operationId": "gameCenterLeaderboardSetLocalizationsV2_image_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -150202,11 +152462,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardVersionV2LocalizationsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationV2ImageLinkageResponse" } } } @@ -150236,30 +152496,28 @@ } ] }, - "/v2/gameCenterLeaderboardVersions/{id}/localizations": { + "/v2/gameCenterLeaderboardSetLocalizations/{id}/image": { "get": { "tags": [ - "GameCenterLeaderboardVersions" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardVersionsV2_localizations_getToManyRelated", + "operationId": "gameCenterLeaderboardSetLocalizationsV2_image_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboardSetImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "version", - "image" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -150267,55 +152525,24 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardVersions]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "locale", + "name", "version", - "state", - "leaderboard", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardImages]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "localization" + "image" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -150325,8 +152552,7 @@ "items": { "type": "string", "enum": [ - "version", - "image" + "localization" ] } }, @@ -150376,229 +152602,15 @@ } }, "200": { - "description": "List of GameCenterLeaderboardLocalizations", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsV2Response" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboards/{id}/relationships/activity": { - "patch": { - "tags": [ - "GameCenterLeaderboards" - ], - "operationId": "gameCenterLeaderboards_activity_updateToOneRelationship", - "deprecated": true, - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardActivityLinkageRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboards/{id}/relationships/challenge": { - "patch": { - "tags": [ - "GameCenterLeaderboards" - ], - "operationId": "gameCenterLeaderboards_challenge_updateToOneRelationship", - "deprecated": true, - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardChallengeLinkageRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single GameCenterLeaderboardSetImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageV2Response" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -150624,12 +152636,12 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/relationships/groupLeaderboard": { + "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/relationships/gameCenterLeaderboard": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboards_groupLeaderboard_getToOneRelationship", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboard_getToOneRelationship", "deprecated": true, "parameters": [], "responses": { @@ -150678,104 +152690,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardGroupLeaderboardLinkageResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "GameCenterLeaderboards" - ], - "operationId": "gameCenterLeaderboards_groupLeaderboard_updateToOneRelationship", - "deprecated": true, - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardGroupLeaderboardLinkageRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardLinkageResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -150801,12 +152720,12 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/groupLeaderboard": { + "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboard": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboards_groupLeaderboard_getToOneRelated", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboard_getToOneRelated", "deprecated": true, "parameters": [ { @@ -151161,25 +153080,14 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/relationships/localizations": { + "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/relationships/gameCenterLeaderboardSet": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboards_localizations_getToManyRelationship", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboardSet_getToOneRelationship", "deprecated": true, - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -151222,11 +153130,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationGameCenterLeaderboardSetLinkageResponse" } } } @@ -151256,31 +153164,31 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/localizations": { + "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboardSet": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboards_localizations_getToManyRelated", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboardSet_getToOneRelated", "deprecated": true, "parameters": [ { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "locale", - "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -151288,35 +153196,38 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", "gameCenterGroup", - "groupLeaderboard", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, @@ -151324,20 +153235,24 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardImages]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "imageAsset", - "uploadOperations", - "assetDeliveryState", - "gameCenterLeaderboardLocalization" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -151345,14 +153260,77 @@ "explode": false }, { - "name": "limit", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" + ] + } }, - "style": "form" + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" + ] + } + }, + "style": "form", + "explode": false }, { "name": "include", @@ -151363,13 +153341,50 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -151414,11 +153429,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardLocalizations", + "description": "Single GameCenterLeaderboardSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" } } } @@ -151448,13 +153463,12 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/relationships/releases": { + "/v2/gameCenterLeaderboardSetVersions/{id}/relationships/localizations": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetVersions" ], - "operationId": "gameCenterLeaderboards_releases_getToManyRelationship", - "deprecated": true, + "operationId": "gameCenterLeaderboardSetVersionsV2_localizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -151513,7 +153527,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardReleasesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionV2LocalizationsLinkagesResponse" } } } @@ -151543,52 +153557,26 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/releases": { + "/v2/gameCenterLeaderboardSetVersions/{id}/localizations": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSetVersions" ], - "operationId": "gameCenterLeaderboards_releases_getToManyRelated", - "deprecated": true, + "operationId": "gameCenterLeaderboardSetVersionsV2_localizations_getToManyRelated", "parameters": [ { - "name": "filter[live]", - "in": "query", - "description": "filter by attribute 'live'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[gameCenterDetail]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterDetail'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "live", - "gameCenterDetail", - "gameCenterLeaderboard" + "locale", + "name", + "version", + "image" ] } }, @@ -151596,38 +153584,18 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardSetVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "arcadeEnabled", - "challengeEnabled", - "app", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboards", - "gameCenterLeaderboardsV2", - "gameCenterLeaderboardSets", - "gameCenterLeaderboardSetsV2", - "gameCenterAchievements", - "gameCenterAchievementsV2", - "gameCenterActivities", - "gameCenterChallenges", - "defaultLeaderboard", - "defaultLeaderboardV2", - "defaultGroupLeaderboard", - "defaultGroupLeaderboardV2", - "achievementReleases", - "activityReleases", - "challengeReleases", - "leaderboardReleases", - "leaderboardSetReleases", - "blockedPlayers", - "challengesMinimumPlatformVersions" + "version", + "state", + "leaderboardSet", + "localizations" ] } }, @@ -151635,35 +153603,20 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSetImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", - "referenceName", - "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", - "gameCenterDetail", - "gameCenterGroup", - "groupLeaderboard", - "gameCenterLeaderboardSets", - "localizations", - "releases", - "activity", - "challenge" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -151689,8 +153642,8 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard" + "version", + "image" ] } }, @@ -151740,11 +153693,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardReleases", + "description": "List of GameCenterLeaderboardSetLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationsV2Response" } } } @@ -151774,18 +153727,98 @@ } ] }, - "/v2/gameCenterLeaderboards/{id}/relationships/activity": { - "patch": { + "/v2/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards": { + "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardsV2_activity_updateToOneRelationship", + "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "GameCenterLeaderboardSets" + ], + "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_createToManyRelationship", "requestBody": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardV2ActivityLinkageRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequest" } } }, @@ -151867,31 +153900,17 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterLeaderboards/{id}/relationships/challenge": { "patch": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardsV2_challenge_updateToOneRelationship", + "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_replaceToManyRelationship", "requestBody": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardV2ChallengeLinkageRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequest" } } }, @@ -151973,37 +153992,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/gameCenterLeaderboards/{id}/relationships/gameCenterScoreModerations": { - "get": { + "delete": { "tags": [ - "GameCenterLeaderboards" - ], - "operationId": "gameCenterLeaderboardsV2_gameCenterScoreModerations_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterLeaderboardSets" ], + "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2GameCenterLeaderboardsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -152045,16 +154049,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardV2GameCenterScoreModerationsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -152080,40 +154097,81 @@ } ] }, - "/v2/gameCenterLeaderboards/{id}/gameCenterScoreModerations": { + "/v2/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardsV2_gameCenterScoreModerations_getToManyRelated", + "operationId": "gameCenterLeaderboardSetsV2_gameCenterLeaderboards_getToManyRelated", "parameters": [ { - "name": "exists[blocked]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'blocked'", + "description": "filter by attribute 'referenceName'", "schema": { - "type": "boolean" + "type": "array", + "items": { + "type": "string" + } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterScoreModerations]", + "name": "filter[archived]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterScoreModerations", + "description": "filter by attribute 'archived'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "rank", - "score", - "submittedDate", - "blocked", - "preReleased", - "context", - "challengeIds", - "player" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterScoreModerations", + "activity", + "challenge", + "versions" ] } }, @@ -152121,17 +154179,158 @@ "explode": false }, { - "name": "fields[gameCenterDetailPlayers]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetailPlayers", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "nickname", - "blocked", - "bundleId" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "leaderboard", + "localizations" ] } }, @@ -152157,12 +154356,37 @@ "items": { "type": "string", "enum": [ - "player" + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "activity", + "challenge", + "versions" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -152207,11 +154431,11 @@ } }, "200": { - "description": "List of GameCenterScoreModerations", + "description": "List of GameCenterLeaderboards", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterScoreModerationsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardsV2Response" } } } @@ -152241,12 +154465,12 @@ } ] }, - "/v2/gameCenterLeaderboards/{id}/relationships/versions": { + "/v2/gameCenterLeaderboardSets/{id}/relationships/versions": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardsV2_versions_getToManyRelationship", + "operationId": "gameCenterLeaderboardSetsV2_versions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -152305,7 +154529,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardV2VersionsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetV2VersionsLinkagesResponse" } } } @@ -152335,17 +154559,17 @@ } ] }, - "/v2/gameCenterLeaderboards/{id}/versions": { + "/v2/gameCenterLeaderboardSets/{id}/versions": { "get": { "tags": [ - "GameCenterLeaderboards" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardsV2_versions_getToManyRelated", + "operationId": "gameCenterLeaderboardSetsV2_versions_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardVersions]", + "name": "fields[gameCenterLeaderboardSetVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", "schema": { "type": "array", "items": { @@ -152353,7 +154577,7 @@ "enum": [ "version", "state", - "leaderboard", + "leaderboardSet", "localizations" ] } @@ -152362,33 +154586,19 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultFormatter", "referenceName", "vendorIdentifier", - "submissionType", - "scoreSortType", - "scoreRangeStart", - "scoreRangeEnd", - "recurrenceStartDate", - "recurrenceDuration", - "recurrenceRule", - "archived", - "activityProperties", - "visibility", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterScoreModerations", - "activity", - "challenge", + "gameCenterLeaderboards", "versions" ] } @@ -152397,9 +154607,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { @@ -152407,10 +154617,6 @@ "enum": [ "locale", "name", - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "description", "version", "image" ] @@ -152438,7 +154644,7 @@ "items": { "type": "string", "enum": [ - "leaderboard", + "leaderboardSet", "localizations" ] } @@ -152499,11 +154705,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardVersions", + "description": "List of GameCenterLeaderboardSetVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardVersionsV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardSetVersionsV2Response" } } } @@ -152533,12 +154739,13 @@ } ] }, - "/v1/gameCenterMatchmakingRuleSets/{id}/relationships/matchmakingQueues": { + "/v1/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterMatchmakingRuleSets" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingRuleSets_matchmakingQueues_getToManyRelationship", + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -152597,7 +154804,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetMatchmakingQueuesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse" } } } @@ -152614,95 +154821,23 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterMatchmakingRuleSets/{id}/matchmakingQueues": { - "get": { + "post": { "tags": [ - "GameCenterMatchmakingRuleSets" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingRuleSets_matchmakingQueues_getToManyRelated", - "parameters": [ - { - "name": "fields[gameCenterMatchmakingQueues]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "classicMatchmakingBundleIds", - "ruleSet", - "experimentRuleSet" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterMatchmakingRuleSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "ruleLanguageVersion", - "minPlayers", - "maxPlayers", - "teams", - "rules", - "matchmakingQueues" - ] + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_createToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ruleSet", - "experimentRuleSet" - ] - } - }, - "style": "form", - "explode": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -152744,16 +154879,29 @@ } } }, - "200": { - "description": "List of GameCenterMatchmakingQueues", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueuesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -152766,37 +154914,23 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterMatchmakingRuleSets/{id}/relationships/rules": { - "get": { + "patch": { "tags": [ - "GameCenterMatchmakingRuleSets" - ], - "operationId": "gameCenterMatchmakingRuleSets_rules_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterLeaderboardSets" ], + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_replaceToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -152838,16 +154972,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetRulesLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -152860,57 +155007,23 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterMatchmakingRuleSets/{id}/rules": { - "get": { + "delete": { "tags": [ - "GameCenterMatchmakingRuleSets" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingRuleSets_rules_getToManyRelated", - "parameters": [ - { - "name": "fields[gameCenterMatchmakingRules]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "description", - "type", - "expression", - "weight" - ] + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_deleteToManyRelationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -152952,18 +155065,18 @@ } } }, - "200": { - "description": "List of GameCenterMatchmakingRules", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRulesResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429": { - "description": "Rate limit exceeded error", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -152971,7 +155084,20 @@ } } } - } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } } }, "parameters": [ @@ -152987,119 +155113,266 @@ } ] }, - "/v1/gameCenterMatchmakingRuleSets/{id}/relationships/teams": { + "/v1/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterMatchmakingRuleSets" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterMatchmakingRuleSets_teams_getToManyRelationship", + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "limit", + "name": "filter[referenceName]", "in": "query", - "description": "maximum resources per page", + "description": "filter by attribute 'referenceName'", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string" + } }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "style": "form", + "explode": false + }, + { + "name": "filter[archived]", + "in": "query", + "description": "filter by attribute 'archived'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetTeamsLinkagesResponse" - } + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] } - } + }, + "style": "form", + "explode": false }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterMatchmakingRuleSets/{id}/teams": { - "get": { - "tags": [ - "GameCenterMatchmakingRuleSets" - ], - "operationId": "gameCenterMatchmakingRuleSets_teams_getToManyRelated", - "parameters": [ { - "name": "fields[gameCenterMatchmakingTeams]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboard" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", "schema": { "type": "array", "items": { "type": "string", "enum": [ "referenceName", - "minPlayers", - "maxPlayers" + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" ] } }, @@ -153115,6 +155388,62 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -153159,11 +155488,11 @@ } }, "200": { - "description": "List of GameCenterMatchmakingTeams", + "description": "List of GameCenterLeaderboards", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingTeamsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" } } } @@ -153193,24 +155522,14 @@ } ] }, - "/v1/inAppPurchaseAvailabilities/{id}/relationships/availableTerritories": { + "/v1/gameCenterLeaderboardSets/{id}/relationships/groupLeaderboardSet": { "get": { "tags": [ - "InAppPurchaseAvailabilities" - ], - "operationId": "inAppPurchaseAvailabilities_availableTerritories_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterLeaderboardSets" ], + "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelationship", + "deprecated": true, + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -153253,11 +155572,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAvailabilityAvailableTerritoriesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse" } } } @@ -153274,53 +155593,23 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/inAppPurchaseAvailabilities/{id}/availableTerritories": { - "get": { + "patch": { "tags": [ - "InAppPurchaseAvailabilities" + "GameCenterLeaderboardSets" ], - "operationId": "inAppPurchaseAvailabilities_availableTerritories_getToManyRelated", - "parameters": [ - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] + "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_updateToOneRelationship", + "deprecated": true, + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -153362,16 +155651,29 @@ } } }, - "200": { - "description": "List of Territories", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoriesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -153397,13 +155699,229 @@ } ] }, - "/v1/inAppPurchaseOfferCodeOneTimeUseCodes/{id}/values": { + "/v1/gameCenterLeaderboardSets/{id}/groupLeaderboardSet": { "get": { "tags": [ - "InAppPurchaseOfferCodeOneTimeUseCodes" + "GameCenterLeaderboardSets" + ], + "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelated", + "deprecated": true, + "parameters": [ + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + } ], - "operationId": "inAppPurchaseOfferCodeOneTimeUseCodes_values_getToOneRelated", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -153446,11 +155964,11 @@ } }, "200": { - "description": "Single InAppPurchaseOfferCodeOneTimeUseCodeValue", + "description": "Single GameCenterLeaderboardSet", "content": { - "text/csv": { + "application/json": { "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" } } } @@ -153480,12 +155998,13 @@ } ] }, - "/v1/inAppPurchaseOfferCodes/{id}/relationships/customCodes": { + "/v1/gameCenterLeaderboardSets/{id}/relationships/localizations": { "get": { "tags": [ - "InAppPurchaseOfferCodes" + "GameCenterLeaderboardSets" ], - "operationId": "inAppPurchaseOfferCodes_customCodes_getToManyRelationship", + "operationId": "gameCenterLeaderboardSets_localizations_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -153544,7 +156063,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationsLinkagesResponse" } } } @@ -153574,29 +156093,27 @@ } ] }, - "/v1/inAppPurchaseOfferCodes/{id}/customCodes": { + "/v1/gameCenterLeaderboardSets/{id}/localizations": { "get": { "tags": [ - "InAppPurchaseOfferCodes" + "GameCenterLeaderboardSets" ], - "operationId": "inAppPurchaseOfferCodes_customCodes_getToManyRelated", + "operationId": "gameCenterLeaderboardSets_localizations_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "fields[inAppPurchaseOfferCodeCustomCodes]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeCustomCodes", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customCode", - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "createdByActor", - "deactivatedByActor" + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -153604,19 +156121,43 @@ "explode": false }, { - "name": "fields[actors]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type actors", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actorType", - "userFirstName", - "userLastName", - "userEmail", - "apiKeyId" + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "gameCenterLeaderboardSetLocalization" ] } }, @@ -153642,8 +156183,8 @@ "items": { "type": "string", "enum": [ - "createdByActor", - "deactivatedByActor" + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -153693,11 +156234,11 @@ } }, "200": { - "description": "List of InAppPurchaseOfferCodeCustomCodes", + "description": "List of GameCenterLeaderboardSetLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationsResponse" } } } @@ -153727,12 +156268,13 @@ } ] }, - "/v1/inAppPurchaseOfferCodes/{id}/relationships/oneTimeUseCodes": { + "/v1/gameCenterLeaderboardSets/{id}/relationships/releases": { "get": { "tags": [ - "InAppPurchaseOfferCodes" + "GameCenterLeaderboardSets" ], - "operationId": "inAppPurchaseOfferCodes_oneTimeUseCodes_getToManyRelationship", + "operationId": "gameCenterLeaderboardSets_releases_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -153791,7 +156333,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesLinkagesResponse" } } } @@ -153821,30 +156363,52 @@ } ] }, - "/v1/inAppPurchaseOfferCodes/{id}/oneTimeUseCodes": { + "/v1/gameCenterLeaderboardSets/{id}/releases": { "get": { "tags": [ - "InAppPurchaseOfferCodes" + "GameCenterLeaderboardSets" ], - "operationId": "inAppPurchaseOfferCodes_oneTimeUseCodes_getToManyRelated", + "operationId": "gameCenterLeaderboardSets_releases_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "fields[inAppPurchaseOfferCodeOneTimeUseCodes]", + "name": "filter[live]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeOneTimeUseCodes", + "description": "filter by attribute 'live'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterDetail]", + "in": "query", + "description": "filter by id(s) of related 'gameCenterDetail'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "environment", - "values", - "createdByActor", - "deactivatedByActor" + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" ] } }, @@ -153852,19 +156416,61 @@ "explode": false }, { - "name": "fields[actors]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type actors", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actorType", - "userFirstName", - "userLastName", - "userEmail", - "apiKeyId" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -153890,8 +156496,8 @@ "items": { "type": "string", "enum": [ - "createdByActor", - "deactivatedByActor" + "gameCenterDetail", + "gameCenterLeaderboardSet" ] } }, @@ -153941,11 +156547,11 @@ } }, "200": { - "description": "List of InAppPurchaseOfferCodeOneTimeUseCodes", + "description": "List of GameCenterLeaderboardSetReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesResponse" } } } @@ -153975,12 +156581,12 @@ } ] }, - "/v1/inAppPurchaseOfferCodes/{id}/relationships/prices": { + "/v2/gameCenterLeaderboardVersions/{id}/relationships/localizations": { "get": { "tags": [ - "InAppPurchaseOfferCodes" + "GameCenterLeaderboardVersions" ], - "operationId": "inAppPurchaseOfferCodes_prices_getToManyRelationship", + "operationId": "gameCenterLeaderboardVersionsV2_localizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -154039,7 +156645,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodePricesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardVersionV2LocalizationsLinkagesResponse" } } } @@ -154069,37 +156675,30 @@ } ] }, - "/v1/inAppPurchaseOfferCodes/{id}/prices": { + "/v2/gameCenterLeaderboardVersions/{id}/localizations": { "get": { "tags": [ - "InAppPurchaseOfferCodes" + "GameCenterLeaderboardVersions" ], - "operationId": "inAppPurchaseOfferCodes_prices_getToManyRelated", + "operationId": "gameCenterLeaderboardVersionsV2_localizations_getToManyRelated", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseOfferPrices]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferPrices", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "territory", - "pricePoint" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "version", + "image" ] } }, @@ -154107,15 +156706,18 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[gameCenterLeaderboardVersions]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "version", + "state", + "leaderboard", + "localizations" ] } }, @@ -154123,18 +156725,20 @@ "explode": false }, { - "name": "fields[inAppPurchasePricePoints]", + "name": "fields[gameCenterLeaderboardImages]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "territory", - "equalizations" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "localization" ] } }, @@ -154160,8 +156764,8 @@ "items": { "type": "string", "enum": [ - "territory", - "pricePoint" + "version", + "image" ] } }, @@ -154211,11 +156815,11 @@ } }, "200": { - "description": "List of InAppPurchaseOfferPrices", + "description": "List of GameCenterLeaderboardLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferPricesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsV2Response" } } } @@ -154245,24 +156849,24 @@ } ] }, - "/v1/inAppPurchasePricePoints/{id}/relationships/equalizations": { - "get": { + "/v1/gameCenterLeaderboards/{id}/relationships/activity": { + "patch": { "tags": [ - "InAppPurchasePricePoints" - ], - "operationId": "inAppPurchasePricePoints_equalizations_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 8000 - }, - "style": "form" - } + "GameCenterLeaderboards" ], + "operationId": "gameCenterLeaderboards_activity_updateToOneRelationship", + "deprecated": true, + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardActivityLinkageRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -154304,16 +156908,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePricePointEqualizationsLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -154339,101 +156956,24 @@ } ] }, - "/v1/inAppPurchasePricePoints/{id}/equalizations": { - "get": { + "/v1/gameCenterLeaderboards/{id}/relationships/challenge": { + "patch": { "tags": [ - "InAppPurchasePricePoints" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchasePricePoints_equalizations_getToManyRelated", - "parameters": [ - { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[inAppPurchaseV2]", - "in": "query", - "description": "filter by id(s) of related 'inAppPurchaseV2'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchasePricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "proceeds", - "territory", - "equalizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] + "operationId": "gameCenterLeaderboards_challenge_updateToOneRelationship", + "deprecated": true, + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardChallengeLinkageRequest" } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 8000 - }, - "style": "form" + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory" - ] - } - }, - "style": "form", - "explode": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -154475,21 +157015,29 @@ } } }, - "200": { - "description": "List of InAppPurchasePricePoints", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePricePointsResponse" + "$ref": "#/components/schemas/ErrorResponse" } - }, - "text/csv": { + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -154515,24 +157063,94 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/relationships/automaticPrices": { + "/v1/gameCenterLeaderboards/{id}/relationships/groupLeaderboard": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchasePriceSchedules_automaticPrices_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + "operationId": "gameCenterLeaderboards_groupLeaderboard_getToOneRelationship", + "deprecated": true, + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardGroupLeaderboardLinkageResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + }, + "patch": { + "tags": [ + "GameCenterLeaderboards" ], + "operationId": "gameCenterLeaderboards_groupLeaderboard_updateToOneRelationship", + "deprecated": true, + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardGroupLeaderboardLinkageRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -154574,16 +157192,29 @@ } } }, - "200": { - "description": "List of related linkages", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleAutomaticPricesLinkagesResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -154609,40 +157240,83 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/automaticPrices": { + "/v1/gameCenterLeaderboards/{id}/groupLeaderboard": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchasePriceSchedules_automaticPrices_getToManyRelated", + "operationId": "gameCenterLeaderboards_groupLeaderboard_getToOneRelated", + "deprecated": true, "parameters": [ { - "name": "filter[territory]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" + ] } }, "style": "form", "explode": false }, { - "name": "fields[inAppPurchasePrices]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "startDate", - "endDate", - "manual", - "inAppPurchasePricePoint", - "territory" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, @@ -154650,18 +157324,24 @@ "explode": false }, { - "name": "fields[inAppPurchasePricePoints]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "territory", - "equalizations" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges" ] } }, @@ -154669,15 +157349,22 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -154685,14 +157372,100 @@ "explode": false }, { - "name": "limit", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" + ] + } }, - "style": "form" + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboard" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterActivities]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "playStyle", + "minimumPlayersCount", + "maximumPlayersCount", + "supportsPartyCode", + "archived", + "properties", + "gameCenterDetail", + "gameCenterGroup", + "achievements", + "achievementsV2", + "leaderboards", + "leaderboardsV2", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterChallenges]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallenges", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "archived", + "challengeType", + "repeatable", + "gameCenterDetail", + "gameCenterGroup", + "versions", + "leaderboard", + "leaderboardV2" + ] + } + }, + "style": "form", + "explode": false }, { "name": "include", @@ -154703,13 +157476,52 @@ "items": { "type": "string", "enum": [ - "inAppPurchasePricePoint", - "territory" + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -154754,11 +157566,11 @@ } }, "200": { - "description": "List of InAppPurchasePrices", + "description": "Single GameCenterLeaderboard", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePricesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardResponse" } } } @@ -154788,13 +157600,25 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/relationships/baseTerritory": { + "/v1/gameCenterLeaderboards/{id}/relationships/localizations": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "GameCenterLeaderboards" + ], + "operationId": "gameCenterLeaderboards_localizations_getToManyRelationship", + "deprecated": true, + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "inAppPurchasePriceSchedules_baseTerritory_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -154837,11 +157661,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleBaseTerritoryLinkageResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsLinkagesResponse" } } } @@ -154871,23 +157695,115 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/baseTerritory": { + "/v1/gameCenterLeaderboards/{id}/localizations": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchasePriceSchedules_baseTerritory_getToOneRelated", + "operationId": "gameCenterLeaderboards_localizations_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "fields[territories]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "gameCenterLeaderboardLocalization" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -154937,11 +157853,11 @@ } }, "200": { - "description": "Single Territory", + "description": "List of GameCenterLeaderboardLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsResponse" } } } @@ -154971,12 +157887,13 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/relationships/manualPrices": { + "/v1/gameCenterLeaderboards/{id}/relationships/releases": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchasePriceSchedules_manualPrices_getToManyRelationship", + "operationId": "gameCenterLeaderboards_releases_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -155035,7 +157952,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleManualPricesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardReleasesLinkagesResponse" } } } @@ -155065,17 +157982,18 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/manualPrices": { + "/v1/gameCenterLeaderboards/{id}/releases": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchasePriceSchedules_manualPrices_getToManyRelated", + "operationId": "gameCenterLeaderboards_releases_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "filter[territory]", + "name": "filter[live]", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "filter by attribute 'live'", "schema": { "type": "array", "items": { @@ -155086,19 +158004,30 @@ "explode": false }, { - "name": "fields[inAppPurchasePrices]", + "name": "filter[gameCenterDetail]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", + "description": "filter by id(s) of related 'gameCenterDetail'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "startDate", - "endDate", - "manual", - "inAppPurchasePricePoint", - "territory" + "live", + "gameCenterDetail", + "gameCenterLeaderboard" ] } }, @@ -155106,18 +158035,38 @@ "explode": false }, { - "name": "fields[inAppPurchasePricePoints]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "territory", - "equalizations" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardsV2", + "gameCenterLeaderboardSets", + "gameCenterLeaderboardSetsV2", + "gameCenterAchievements", + "gameCenterAchievementsV2", + "gameCenterActivities", + "gameCenterChallenges", + "defaultLeaderboard", + "defaultLeaderboardV2", + "defaultGroupLeaderboard", + "defaultGroupLeaderboardV2", + "achievementReleases", + "activityReleases", + "challengeReleases", + "leaderboardReleases", + "leaderboardSetReleases", + "blockedPlayers", + "challengesMinimumPlatformVersions" ] } }, @@ -155125,15 +158074,35 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases", + "activity", + "challenge" ] } }, @@ -155159,8 +158128,8 @@ "items": { "type": "string", "enum": [ - "inAppPurchasePricePoint", - "territory" + "gameCenterDetail", + "gameCenterLeaderboard" ] } }, @@ -155210,11 +158179,11 @@ } }, "200": { - "description": "List of InAppPurchasePrices", + "description": "List of GameCenterLeaderboardReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePricesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" } } } @@ -155244,13 +158213,23 @@ } ] }, - "/v1/inAppPurchaseVersions/{id}/relationships/image": { - "get": { + "/v2/gameCenterLeaderboards/{id}/relationships/activity": { + "patch": { "tags": [ - "InAppPurchaseVersions" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchaseVersions_image_getToOneRelationship", - "parameters": [], + "operationId": "gameCenterLeaderboardsV2_activity_updateToOneRelationship", + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardV2ActivityLinkageRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -155292,16 +158271,29 @@ } } }, - "200": { - "description": "Related linkage", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseVersionImageLinkageResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -155327,35 +158319,23 @@ } ] }, - "/v1/inAppPurchaseVersions/{id}/image": { - "get": { + "/v2/gameCenterLeaderboards/{id}/relationships/challenge": { + "patch": { "tags": [ - "InAppPurchaseVersions" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchaseVersions_image_getToOneRelated", - "parameters": [ - { - "name": "fields[inAppPurchaseImages]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" - ] + "operationId": "gameCenterLeaderboardsV2_challenge_updateToOneRelationship", + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardV2ChallengeLinkageRequest" } - }, - "style": "form", - "explode": false - } - ], + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -155397,16 +158377,29 @@ } } }, - "200": { - "description": "Single InAppPurchaseImage", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImageV2Response" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -155432,12 +158425,12 @@ } ] }, - "/v1/inAppPurchaseVersions/{id}/relationships/images": { + "/v2/gameCenterLeaderboards/{id}/relationships/gameCenterScoreModerations": { "get": { "tags": [ - "InAppPurchaseVersions" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchaseVersions_images_getToManyRelationship", + "operationId": "gameCenterLeaderboardsV2_gameCenterScoreModerations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -155496,7 +158489,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseVersionImagesLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardV2GameCenterScoreModerationsLinkagesResponse" } } } @@ -155526,28 +158519,58 @@ } ] }, - "/v1/inAppPurchaseVersions/{id}/images": { + "/v2/gameCenterLeaderboards/{id}/gameCenterScoreModerations": { "get": { "tags": [ - "InAppPurchaseVersions" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchaseVersions_images_getToManyRelated", + "operationId": "gameCenterLeaderboardsV2_gameCenterScoreModerations_getToManyRelated", "parameters": [ { - "name": "fields[inAppPurchaseImages]", + "name": "exists[blocked]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseImages", + "description": "filter by attribute 'blocked'", + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterScoreModerations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterScoreModerations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "rank", + "score", + "submittedDate", + "blocked", + "preReleased", + "context", + "challengeIds", + "player" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterDetailPlayers]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetailPlayers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "nickname", + "blocked", + "bundleId" ] } }, @@ -155563,6 +158586,22 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "player" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -155607,11 +158646,11 @@ } }, "200": { - "description": "List of InAppPurchaseImages", + "description": "List of GameCenterScoreModerations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImagesV2Response" + "$ref": "#/components/schemas/GameCenterScoreModerationsResponse" } } } @@ -155641,12 +158680,12 @@ } ] }, - "/v1/inAppPurchaseVersions/{id}/relationships/localizations": { + "/v2/gameCenterLeaderboards/{id}/relationships/versions": { "get": { "tags": [ - "InAppPurchaseVersions" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchaseVersions_localizations_getToManyRelationship", + "operationId": "gameCenterLeaderboardsV2_versions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -155705,7 +158744,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseVersionLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardV2VersionsLinkagesResponse" } } } @@ -155735,26 +158774,26 @@ } ] }, - "/v1/inAppPurchaseVersions/{id}/localizations": { + "/v2/gameCenterLeaderboards/{id}/versions": { "get": { "tags": [ - "InAppPurchaseVersions" + "GameCenterLeaderboards" ], - "operationId": "inAppPurchaseVersions_localizations_getToManyRelated", + "operationId": "gameCenterLeaderboardsV2_versions_getToManyRelated", "parameters": [ { - "name": "fields[inAppPurchaseLocalizations]", + "name": "fields[gameCenterLeaderboardVersions]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "locale", - "description", - "version" + "version", + "state", + "leaderboard", + "localizations" ] } }, @@ -155762,20 +158801,57 @@ "explode": false }, { - "name": "fields[inAppPurchaseVersions]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "activityProperties", + "visibility", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterScoreModerations", + "activity", + "challenge", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "description", "version", - "state", - "inAppPurchase", - "image", - "images", - "localizations" + "image" ] } }, @@ -155801,12 +158877,23 @@ "items": { "type": "string", "enum": [ - "version" + "leaderboard", + "localizations" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -155851,11 +158938,11 @@ } }, "200": { - "description": "List of InAppPurchaseLocalizations", + "description": "List of GameCenterLeaderboardVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationsV2Response" + "$ref": "#/components/schemas/GameCenterLeaderboardVersionsV2Response" } } } @@ -155885,16 +158972,27 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/appStoreReviewScreenshot": { + "/v1/gameCenterMatchmakingRuleSets/{id}/relationships/matchmakingQueues": { "get": { "tags": [ - "InAppPurchases" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchasesV2_appStoreReviewScreenshot_getToOneRelationship", - "parameters": [], - "responses": { - "400": { - "description": "Parameter error(s)", + "operationId": "gameCenterMatchmakingRuleSets_matchmakingQueues_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -155934,11 +159032,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2AppStoreReviewScreenshotLinkageResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetMatchmakingQueuesLinkagesResponse" } } } @@ -155968,31 +159066,26 @@ } ] }, - "/v2/inAppPurchases/{id}/appStoreReviewScreenshot": { + "/v1/gameCenterMatchmakingRuleSets/{id}/matchmakingQueues": { "get": { "tags": [ - "InAppPurchases" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchasesV2_appStoreReviewScreenshot_getToOneRelated", + "operationId": "gameCenterMatchmakingRuleSets_matchmakingQueues_getToManyRelated", "parameters": [ { - "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", + "name": "fields[gameCenterMatchmakingQueues]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "inAppPurchaseV2" + "referenceName", + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" ] } }, @@ -156000,37 +159093,37 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[gameCenterMatchmakingRuleSets]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "referenceName", + "ruleLanguageVersion", + "minPlayers", + "maxPlayers", + "teams", + "rules", + "matchmakingQueues" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -156040,7 +159133,8 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2" + "ruleSet", + "experimentRuleSet" ] } }, @@ -156090,11 +159184,11 @@ } }, "200": { - "description": "Single InAppPurchaseAppStoreReviewScreenshot", + "description": "List of GameCenterMatchmakingQueues", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueuesResponse" } } } @@ -156124,13 +159218,24 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/content": { + "/v1/gameCenterMatchmakingRuleSets/{id}/relationships/rules": { "get": { "tags": [ - "InAppPurchases" + "GameCenterMatchmakingRuleSets" + ], + "operationId": "gameCenterMatchmakingRuleSets_rules_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "inAppPurchasesV2_content_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -156173,11 +159278,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2ContentLinkageResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetRulesLinkagesResponse" } } } @@ -156207,59 +159312,27 @@ } ] }, - "/v2/inAppPurchases/{id}/content": { + "/v1/gameCenterMatchmakingRuleSets/{id}/rules": { "get": { "tags": [ - "InAppPurchases" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchasesV2_content_getToOneRelated", + "operationId": "gameCenterMatchmakingRuleSets_rules_getToManyRelated", "parameters": [ { - "name": "fields[inAppPurchaseContents]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileName", - "fileSize", - "url", - "lastModifiedDate", - "inAppPurchaseV2" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchases]", + "name": "fields[gameCenterMatchmakingRules]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "referenceName", + "description", + "type", + "expression", + "weight" ] } }, @@ -156267,20 +159340,14 @@ "explode": false }, { - "name": "include", + "name": "limit", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchaseV2" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -156325,11 +159392,11 @@ } }, "200": { - "description": "Single InAppPurchaseContent", + "description": "List of GameCenterMatchmakingRules", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseContentResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRulesResponse" } } } @@ -156359,13 +159426,24 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/iapPriceSchedule": { + "/v1/gameCenterMatchmakingRuleSets/{id}/relationships/teams": { "get": { "tags": [ - "InAppPurchases" + "GameCenterMatchmakingRuleSets" + ], + "operationId": "gameCenterMatchmakingRuleSets_teams_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "inAppPurchasesV2_iapPriceSchedule_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -156408,11 +159486,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2IapPriceScheduleLinkageResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetTeamsLinkagesResponse" } } } @@ -156442,79 +159520,25 @@ } ] }, - "/v2/inAppPurchases/{id}/iapPriceSchedule": { + "/v1/gameCenterMatchmakingRuleSets/{id}/teams": { "get": { "tags": [ - "InAppPurchases" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchasesV2_iapPriceSchedule_getToOneRelated", + "operationId": "gameCenterMatchmakingRuleSets_teams_getToManyRelated", "parameters": [ { - "name": "fields[inAppPurchasePriceSchedules]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "baseTerritory", - "manualPrices", - "automaticPrices" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchasePrices]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "startDate", - "endDate", - "manual", - "inAppPurchasePricePoint", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", + "name": "fields[gameCenterMatchmakingTeams]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "baseTerritory", - "manualPrices", - "automaticPrices" + "referenceName", + "minPlayers", + "maxPlayers" ] } }, @@ -156522,22 +159546,12 @@ "explode": false }, { - "name": "limit[manualPrices]", - "in": "query", - "description": "maximum number of related manualPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[automaticPrices]", + "name": "limit", "in": "query", - "description": "maximum number of related automaticPrices returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" } @@ -156584,11 +159598,11 @@ } }, "200": { - "description": "Single InAppPurchasePriceSchedule", + "description": "List of GameCenterMatchmakingTeams", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingTeamsResponse" } } } @@ -156618,12 +159632,12 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/images": { + "/v1/inAppPurchaseAvailabilities/{id}/relationships/availableTerritories": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseAvailabilities" ], - "operationId": "inAppPurchasesV2_images_getToManyRelationship", + "operationId": "inAppPurchaseAvailabilities_availableTerritories_getToManyRelationship", "parameters": [ { "name": "limit", @@ -156682,7 +159696,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2ImagesLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseAvailabilityAvailableTerritoriesLinkagesResponse" } } } @@ -156712,62 +159726,23 @@ } ] }, - "/v2/inAppPurchases/{id}/images": { + "/v1/inAppPurchaseAvailabilities/{id}/availableTerritories": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseAvailabilities" ], - "operationId": "inAppPurchasesV2_images_getToManyRelated", + "operationId": "inAppPurchaseAvailabilities_availableTerritories_getToManyRelated", "parameters": [ { - "name": "fields[inAppPurchaseImages]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "assetToken", - "imageAsset", - "uploadOperations", - "state", - "inAppPurchase" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchases]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "currency" ] } }, @@ -156783,22 +159758,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchase" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -156843,11 +159802,11 @@ } }, "200": { - "description": "List of InAppPurchaseImages", + "description": "List of Territories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseImagesResponse" + "$ref": "#/components/schemas/TerritoriesResponse" } } } @@ -156877,12 +159836,12 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/inAppPurchaseAvailability": { + "/v1/inAppPurchaseOfferCodeOneTimeUseCodes/{id}/values": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodeOneTimeUseCodes" ], - "operationId": "inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelationship", + "operationId": "inAppPurchaseOfferCodeOneTimeUseCodes_values_getToOneRelated", "parameters": [], "responses": { "400": { @@ -156926,11 +159885,105 @@ } }, "200": { - "description": "Related linkage", + "description": "Single InAppPurchaseOfferCodeOneTimeUseCodeValue", + "content": { + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2InAppPurchaseAvailabilityLinkageResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseOfferCodes/{id}/relationships/customCodes": { + "get": { + "tags": [ + "InAppPurchaseOfferCodes" + ], + "operationId": "inAppPurchaseOfferCodes_customCodes_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodesLinkagesResponse" } } } @@ -156960,24 +160013,29 @@ } ] }, - "/v2/inAppPurchases/{id}/inAppPurchaseAvailability": { + "/v1/inAppPurchaseOfferCodes/{id}/customCodes": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodes" ], - "operationId": "inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelated", + "operationId": "inAppPurchaseOfferCodes_customCodes_getToManyRelated", "parameters": [ { - "name": "fields[inAppPurchaseAvailabilities]", + "name": "fields[inAppPurchaseOfferCodeCustomCodes]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeCustomCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories" + "customCode", + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "createdByActor", + "deactivatedByActor" ] } }, @@ -156985,21 +160043,35 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[actors]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type actors", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -157009,22 +160081,13 @@ "items": { "type": "string", "enum": [ - "availableTerritories" + "createdByActor", + "deactivatedByActor" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[availableTerritories]", - "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -157069,11 +160132,11 @@ } }, "200": { - "description": "Single InAppPurchaseAvailability", + "description": "List of InAppPurchaseOfferCodeCustomCodes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeCustomCodesResponse" } } } @@ -157103,12 +160166,12 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/inAppPurchaseLocalizations": { + "/v1/inAppPurchaseOfferCodes/{id}/relationships/oneTimeUseCodes": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodes" ], - "operationId": "inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelationship", + "operationId": "inAppPurchaseOfferCodes_oneTimeUseCodes_getToManyRelationship", "parameters": [ { "name": "limit", @@ -157167,7 +160230,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2InAppPurchaseLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodesLinkagesResponse" } } } @@ -157197,27 +160260,30 @@ } ] }, - "/v2/inAppPurchases/{id}/inAppPurchaseLocalizations": { + "/v1/inAppPurchaseOfferCodes/{id}/oneTimeUseCodes": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodes" ], - "operationId": "inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelated", + "operationId": "inAppPurchaseOfferCodes_oneTimeUseCodes_getToManyRelated", "parameters": [ { - "name": "fields[inAppPurchaseLocalizations]", + "name": "fields[inAppPurchaseOfferCodeOneTimeUseCodes]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "locale", - "description", - "state", - "inAppPurchaseV2" + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "environment", + "values", + "createdByActor", + "deactivatedByActor" ] } }, @@ -157225,31 +160291,19 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[actors]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type actors", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" ] } }, @@ -157275,7 +160329,8 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2" + "createdByActor", + "deactivatedByActor" ] } }, @@ -157325,11 +160380,11 @@ } }, "200": { - "description": "List of InAppPurchaseLocalizations", + "description": "List of InAppPurchaseOfferCodeOneTimeUseCodes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationsResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferCodeOneTimeUseCodesResponse" } } } @@ -157359,12 +160414,12 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/offerCodes": { + "/v1/inAppPurchaseOfferCodes/{id}/relationships/prices": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodes" ], - "operationId": "inAppPurchasesV2_offerCodes_getToManyRelationship", + "operationId": "inAppPurchaseOfferCodes_prices_getToManyRelationship", "parameters": [ { "name": "limit", @@ -157423,7 +160478,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2OfferCodesLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferCodePricesLinkagesResponse" } } } @@ -157453,17 +160508,17 @@ } ] }, - "/v2/inAppPurchases/{id}/offerCodes": { + "/v1/inAppPurchaseOfferCodes/{id}/prices": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseOfferCodes" ], - "operationId": "inAppPurchasesV2_offerCodes_getToManyRelated", + "operationId": "inAppPurchaseOfferCodes_prices_getToManyRelated", "parameters": [ { "name": "filter[territory]", "in": "query", - "description": "filter by territory", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { @@ -157474,45 +160529,16 @@ "explode": false }, { - "name": "fields[inAppPurchaseOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "customerEligibilities", - "productionCodeCount", - "sandboxCodeCount", - "active", - "oneTimeUseCodes", - "customCodes", - "prices" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseOfferCodeOneTimeUseCodes]", + "name": "fields[inAppPurchaseOfferPrices]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeOneTimeUseCodes", + "description": "the fields to include for returned resources of type inAppPurchaseOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "environment", - "values", - "createdByActor", - "deactivatedByActor" + "territory", + "pricePoint" ] } }, @@ -157520,21 +160546,15 @@ "explode": false }, { - "name": "fields[inAppPurchaseOfferCodeCustomCodes]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeCustomCodes", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customCode", - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "createdByActor", - "deactivatedByActor" + "currency" ] } }, @@ -157542,16 +160562,18 @@ "explode": false }, { - "name": "fields[inAppPurchaseOfferPrices]", + "name": "fields[inAppPurchasePricePoints]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseOfferPrices", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "customerPrice", + "proceeds", "territory", - "pricePoint" + "equalizations" ] } }, @@ -157577,44 +160599,13 @@ "items": { "type": "string", "enum": [ - "oneTimeUseCodes", - "customCodes", - "prices" + "territory", + "pricePoint" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[oneTimeUseCodes]", - "in": "query", - "description": "maximum number of related oneTimeUseCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[customCodes]", - "in": "query", - "description": "maximum number of related customCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -157659,11 +160650,11 @@ } }, "200": { - "description": "List of InAppPurchaseOfferCodes", + "description": "List of InAppPurchaseOfferPrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseOfferCodesResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferPricesResponse" } } } @@ -157693,12 +160684,12 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/pricePoints": { + "/v1/inAppPurchasePricePoints/{id}/relationships/equalizations": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchasePricePoints" ], - "operationId": "inAppPurchasesV2_pricePoints_getToManyRelationship", + "operationId": "inAppPurchasePricePoints_equalizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -157757,7 +160748,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2PricePointsLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchasePricePointEqualizationsLinkagesResponse" } } } @@ -157787,12 +160778,12 @@ } ] }, - "/v2/inAppPurchases/{id}/pricePoints": { + "/v1/inAppPurchasePricePoints/{id}/equalizations": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchasePricePoints" ], - "operationId": "inAppPurchasesV2_pricePoints_getToManyRelated", + "operationId": "inAppPurchasePricePoints_equalizations_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -157807,6 +160798,19 @@ "style": "form", "explode": false }, + { + "name": "filter[inAppPurchaseV2]", + "in": "query", + "description": "filter by id(s) of related 'inAppPurchaseV2'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, { "name": "fields[inAppPurchasePricePoints]", "in": "query", @@ -157950,13 +160954,24 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/promotedPurchase": { + "/v1/inAppPurchasePriceSchedules/{id}/relationships/automaticPrices": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchasePriceSchedules" + ], + "operationId": "inAppPurchasePriceSchedules_automaticPrices_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "inAppPurchasesV2_promotedPurchase_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -157999,11 +161014,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2PromotedPurchaseLinkageResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleAutomaticPricesLinkagesResponse" } } } @@ -158033,27 +161048,40 @@ } ] }, - "/v2/inAppPurchases/{id}/promotedPurchase": { + "/v1/inAppPurchasePriceSchedules/{id}/automaticPrices": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchasePriceSchedules" ], - "operationId": "inAppPurchasesV2_promotedPurchase_getToOneRelated", + "operationId": "inAppPurchasePriceSchedules_automaticPrices_getToManyRelated", "parameters": [ { - "name": "fields[promotedPurchases]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchasePrices]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" + "startDate", + "endDate", + "manual", + "inAppPurchasePricePoint", + "territory" ] } }, @@ -158061,31 +161089,18 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[inAppPurchasePricePoints]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "customerPrice", + "proceeds", + "territory", + "equalizations" ] } }, @@ -158093,43 +161108,31 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "currency" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -158139,8 +161142,8 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2", - "subscription" + "inAppPurchasePricePoint", + "territory" ] } }, @@ -158190,11 +161193,11 @@ } }, "200": { - "description": "Single PromotedPurchase", + "description": "List of InAppPurchasePrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" + "$ref": "#/components/schemas/InAppPurchasePricesResponse" } } } @@ -158224,24 +161227,13 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/versions": { + "/v1/inAppPurchasePriceSchedules/{id}/relationships/baseTerritory": { "get": { "tags": [ - "InAppPurchases" - ], - "operationId": "inAppPurchasesV2_versions_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "InAppPurchasePriceSchedules" ], + "operationId": "inAppPurchasePriceSchedules_baseTerritory_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -158284,11 +161276,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2VersionsLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleBaseTerritoryLinkageResponse" } } } @@ -158318,178 +161310,28 @@ } ] }, - "/v2/inAppPurchases/{id}/versions": { + "/v1/inAppPurchasePriceSchedules/{id}/baseTerritory": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchasePriceSchedules" ], - "operationId": "inAppPurchasesV2_versions_getToManyRelated", + "operationId": "inAppPurchasePriceSchedules_baseTerritory_getToOneRelated", "parameters": [ { - "name": "filter[state]", - "in": "query", - "description": "filter by attribute 'state'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "PREPARE_FOR_SUBMISSION", - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "ACCEPTED", - "APPROVED", - "REPLACED_WITH_NEW_VERSION", - "REJECTED", - "DEVELOPER_REJECTED" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "inAppPurchase", - "image", - "images", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseImages]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "locale", - "description", - "version" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "inAppPurchase", - "image", - "images", - "localizations" + "currency" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[images]", - "in": "query", - "description": "maximum number of related images returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -158534,11 +161376,11 @@ } }, "200": { - "description": "List of InAppPurchaseVersions", + "description": "Single Territory", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseVersionsResponse" + "$ref": "#/components/schemas/TerritoryResponse" } } } @@ -158568,12 +161410,12 @@ } ] }, - "/v1/merchantIds/{id}/relationships/certificates": { + "/v1/inAppPurchasePriceSchedules/{id}/relationships/manualPrices": { "get": { "tags": [ - "MerchantIds" + "InAppPurchasePriceSchedules" ], - "operationId": "merchantIds_certificates_getToManyRelationship", + "operationId": "inAppPurchasePriceSchedules_manualPrices_getToManyRelationship", "parameters": [ { "name": "limit", @@ -158632,7 +161474,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MerchantIdCertificatesLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleManualPricesLinkagesResponse" } } } @@ -158662,76 +161504,17 @@ } ] }, - "/v1/merchantIds/{id}/certificates": { + "/v1/inAppPurchasePriceSchedules/{id}/manualPrices": { "get": { "tags": [ - "MerchantIds" + "InAppPurchasePriceSchedules" ], - "operationId": "merchantIds_certificates_getToManyRelated", + "operationId": "inAppPurchasePriceSchedules_manualPrices_getToManyRelated", "parameters": [ { - "name": "filter[displayName]", - "in": "query", - "description": "filter by attribute 'displayName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[certificateType]", - "in": "query", - "description": "filter by attribute 'certificateType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "APPLE_PAY", - "APPLE_PAY_MERCHANT_IDENTITY", - "APPLE_PAY_PSP_IDENTITY", - "APPLE_PAY_RSA", - "DEVELOPER_ID_KEXT", - "DEVELOPER_ID_KEXT_G2", - "DEVELOPER_ID_APPLICATION", - "DEVELOPER_ID_APPLICATION_G2", - "DEVELOPMENT", - "DISTRIBUTION", - "IDENTITY_ACCESS", - "IOS_DEVELOPMENT", - "IOS_DISTRIBUTION", - "MAC_APP_DISTRIBUTION", - "MAC_INSTALLER_DISTRIBUTION", - "MAC_APP_DEVELOPMENT", - "PASS_TYPE_ID", - "PASS_TYPE_ID_WITH_NFC" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[serialNumber]", - "in": "query", - "description": "filter by attribute 'serialNumber'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", + "name": "filter[territory]", "in": "query", - "description": "filter by id(s)", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { @@ -158742,22 +161525,19 @@ "explode": false }, { - "name": "sort", + "name": "fields[inAppPurchasePrices]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type inAppPurchasePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "displayName", - "-displayName", - "certificateType", - "-certificateType", - "serialNumber", - "-serialNumber", - "id", - "-id" + "startDate", + "endDate", + "manual", + "inAppPurchasePricePoint", + "territory" ] } }, @@ -158765,23 +161545,18 @@ "explode": false }, { - "name": "fields[certificates]", + "name": "fields[inAppPurchasePricePoints]", "in": "query", - "description": "the fields to include for returned resources of type certificates", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", - "passTypeId" + "customerPrice", + "proceeds", + "territory", + "equalizations" ] } }, @@ -158789,17 +161564,15 @@ "explode": false }, { - "name": "fields[passTypeIds]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type passTypeIds", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "identifier", - "certificates" + "currency" ] } }, @@ -158825,7 +161598,8 @@ "items": { "type": "string", "enum": [ - "passTypeId" + "inAppPurchasePricePoint", + "territory" ] } }, @@ -158875,11 +161649,11 @@ } }, "200": { - "description": "List of Certificates", + "description": "List of InAppPurchasePrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CertificatesResponse" + "$ref": "#/components/schemas/InAppPurchasePricesResponse" } } } @@ -158909,24 +161683,13 @@ } ] }, - "/v1/passTypeIds/{id}/relationships/certificates": { + "/v1/inAppPurchaseVersions/{id}/relationships/image": { "get": { "tags": [ - "PassTypeIds" - ], - "operationId": "passTypeIds_certificates_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "InAppPurchaseVersions" ], + "operationId": "inAppPurchaseVersions_image_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -158969,11 +161732,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PassTypeIdCertificatesLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseVersionImageLinkageResponse" } } } @@ -159003,170 +161766,28 @@ } ] }, - "/v1/passTypeIds/{id}/certificates": { + "/v1/inAppPurchaseVersions/{id}/image": { "get": { "tags": [ - "PassTypeIds" + "InAppPurchaseVersions" ], - "operationId": "passTypeIds_certificates_getToManyRelated", + "operationId": "inAppPurchaseVersions_image_getToOneRelated", "parameters": [ { - "name": "filter[displayName]", - "in": "query", - "description": "filter by attribute 'displayName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[certificateType]", - "in": "query", - "description": "filter by attribute 'certificateType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "APPLE_PAY", - "APPLE_PAY_MERCHANT_IDENTITY", - "APPLE_PAY_PSP_IDENTITY", - "APPLE_PAY_RSA", - "DEVELOPER_ID_KEXT", - "DEVELOPER_ID_KEXT_G2", - "DEVELOPER_ID_APPLICATION", - "DEVELOPER_ID_APPLICATION_G2", - "DEVELOPMENT", - "DISTRIBUTION", - "IDENTITY_ACCESS", - "IOS_DEVELOPMENT", - "IOS_DISTRIBUTION", - "MAC_APP_DISTRIBUTION", - "MAC_INSTALLER_DISTRIBUTION", - "MAC_APP_DEVELOPMENT", - "PASS_TYPE_ID", - "PASS_TYPE_ID_WITH_NFC" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[serialNumber]", - "in": "query", - "description": "filter by attribute 'serialNumber'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "displayName", - "-displayName", - "certificateType", - "-certificateType", - "serialNumber", - "-serialNumber", - "id", - "-id" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[certificates]", - "in": "query", - "description": "the fields to include for returned resources of type certificates", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", - "passTypeId" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[passTypeIds]", - "in": "query", - "description": "the fields to include for returned resources of type passTypeIds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "identifier", - "certificates" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[inAppPurchaseImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type inAppPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "passTypeId" + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -159216,11 +161837,11 @@ } }, "200": { - "description": "List of Certificates", + "description": "Single InAppPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CertificatesResponse" + "$ref": "#/components/schemas/InAppPurchaseImageV2Response" } } } @@ -159250,13 +161871,24 @@ } ] }, - "/v1/preReleaseVersions/{id}/relationships/app": { + "/v1/inAppPurchaseVersions/{id}/relationships/images": { "get": { "tags": [ - "PreReleaseVersions" + "InAppPurchaseVersions" + ], + "operationId": "inAppPurchaseVersions_images_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "preReleaseVersions_app_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -159299,11 +161931,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrereleaseVersionAppLinkageResponse" + "$ref": "#/components/schemas/InAppPurchaseVersionImagesLinkagesResponse" } } } @@ -159333,83 +161965,43 @@ } ] }, - "/v1/preReleaseVersions/{id}/app": { + "/v1/inAppPurchaseVersions/{id}/images": { "get": { "tags": [ - "PreReleaseVersions" + "InAppPurchaseVersions" ], - "operationId": "preReleaseVersions_app_getToOneRelated", + "operationId": "inAppPurchaseVersions_images_getToManyRelated", "parameters": [ { - "name": "fields[apps]", + "name": "fields[inAppPurchaseImages]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type inAppPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", - "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -159454,11 +162046,11 @@ } }, "200": { - "description": "Single App with get", + "description": "List of InAppPurchaseImages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppWithoutIncludesResponse" + "$ref": "#/components/schemas/InAppPurchaseImagesV2Response" } } } @@ -159488,12 +162080,12 @@ } ] }, - "/v1/preReleaseVersions/{id}/relationships/builds": { + "/v1/inAppPurchaseVersions/{id}/relationships/localizations": { "get": { "tags": [ - "PreReleaseVersions" + "InAppPurchaseVersions" ], - "operationId": "preReleaseVersions_builds_getToManyRelationship", + "operationId": "inAppPurchaseVersions_localizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -159552,7 +162144,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrereleaseVersionBuildsLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseVersionLocalizationsLinkagesResponse" } } } @@ -159582,48 +162174,47 @@ } ] }, - "/v1/preReleaseVersions/{id}/builds": { + "/v1/inAppPurchaseVersions/{id}/localizations": { "get": { "tags": [ - "PreReleaseVersions" + "InAppPurchaseVersions" ], - "operationId": "preReleaseVersions_builds_getToManyRelated", + "operationId": "inAppPurchaseVersions_localizations_getToManyRelated", "parameters": [ { - "name": "fields[builds]", + "name": "fields[inAppPurchaseLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "locale", + "description", + "version" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ "version", - "uploadedDate", - "expirationDate", - "expired", - "minOsVersion", - "lsMinimumSystemVersion", - "computedMinMacOsVersion", - "computedMinVisionOsVersion", - "iconAssetToken", - "processingState", - "buildAudienceType", - "usesNonExemptEncryption", - "preReleaseVersion", - "individualTesters", - "betaGroups", - "betaBuildLocalizations", - "appEncryptionDeclaration", - "betaAppReviewSubmission", - "app", - "buildBetaDetail", - "appStoreVersion", - "icons", - "buildBundles", - "buildUpload", - "perfPowerMetrics", - "diagnosticSignatures" + "state", + "inAppPurchase", + "image", + "images", + "localizations" ] } }, @@ -159639,6 +162230,22 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -159683,11 +162290,11 @@ } }, "200": { - "description": "List of Builds with get", + "description": "List of InAppPurchaseLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationsV2Response" } } } @@ -159717,12 +162324,12 @@ } ] }, - "/v1/profiles/{id}/relationships/bundleId": { + "/v2/inAppPurchases/{id}/relationships/appStoreReviewScreenshot": { "get": { "tags": [ - "Profiles" + "InAppPurchases" ], - "operationId": "profiles_bundleId_getToOneRelationship", + "operationId": "inAppPurchasesV2_appStoreReviewScreenshot_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -159770,7 +162377,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfileBundleIdLinkageResponse" + "$ref": "#/components/schemas/InAppPurchaseV2AppStoreReviewScreenshotLinkageResponse" } } } @@ -159800,29 +162407,79 @@ } ] }, - "/v1/profiles/{id}/bundleId": { + "/v2/inAppPurchases/{id}/appStoreReviewScreenshot": { "get": { "tags": [ - "Profiles" + "InAppPurchases" ], - "operationId": "profiles_bundleId_getToOneRelated", + "operationId": "inAppPurchasesV2_appStoreReviewScreenshot_getToOneRelated", "parameters": [ { - "name": "fields[bundleIds]", + "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "inAppPurchaseV2" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "platform", - "identifier", - "seedId", - "profiles", - "bundleIdCapabilities", - "app" + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchaseV2" ] } }, @@ -159872,11 +162529,11 @@ } }, "200": { - "description": "Single BundleId with get", + "description": "Single InAppPurchaseAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdWithoutIncludesResponse" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" } } } @@ -159906,24 +162563,13 @@ } ] }, - "/v1/profiles/{id}/relationships/certificates": { + "/v2/inAppPurchases/{id}/relationships/content": { "get": { "tags": [ - "Profiles" - ], - "operationId": "profiles_certificates_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "InAppPurchases" ], + "operationId": "inAppPurchasesV2_content_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -159966,11 +162612,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfileCertificatesLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseV2ContentLinkageResponse" } } } @@ -160000,31 +162646,59 @@ } ] }, - "/v1/profiles/{id}/certificates": { + "/v2/inAppPurchases/{id}/content": { "get": { "tags": [ - "Profiles" + "InAppPurchases" ], - "operationId": "profiles_certificates_getToManyRelated", + "operationId": "inAppPurchasesV2_content_getToOneRelated", "parameters": [ { - "name": "fields[certificates]", + "name": "fields[inAppPurchaseContents]", "in": "query", - "description": "the fields to include for returned resources of type certificates", + "description": "the fields to include for returned resources of type inAppPurchaseContents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileName", + "fileSize", + "url", + "lastModifiedDate", + "inAppPurchaseV2" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "certificateType", - "displayName", - "serialNumber", - "platform", - "expirationDate", - "certificateContent", - "activated", - "passTypeId" + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" ] } }, @@ -160032,14 +162706,20 @@ "explode": false }, { - "name": "limit", + "name": "include", "in": "query", - "description": "maximum resources per page", + "description": "comma-separated list of relationships to include", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchaseV2" + ] + } }, - "style": "form" + "style": "form", + "explode": false } ], "responses": { @@ -160084,11 +162764,11 @@ } }, "200": { - "description": "List of Certificates with get", + "description": "Single InAppPurchaseContent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CertificatesWithoutIncludesResponse" + "$ref": "#/components/schemas/InAppPurchaseContentResponse" } } } @@ -160118,24 +162798,13 @@ } ] }, - "/v1/profiles/{id}/relationships/devices": { + "/v2/inAppPurchases/{id}/relationships/iapPriceSchedule": { "get": { "tags": [ - "Profiles" - ], - "operationId": "profiles_devices_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "InAppPurchases" ], + "operationId": "inAppPurchasesV2_iapPriceSchedule_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -160178,11 +162847,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfileDevicesLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseV2IapPriceScheduleLinkageResponse" } } } @@ -160212,29 +162881,25 @@ } ] }, - "/v1/profiles/{id}/devices": { + "/v2/inAppPurchases/{id}/iapPriceSchedule": { "get": { "tags": [ - "Profiles" + "InAppPurchases" ], - "operationId": "profiles_devices_getToManyRelated", + "operationId": "inAppPurchasesV2_iapPriceSchedule_getToOneRelated", "parameters": [ { - "name": "fields[devices]", + "name": "fields[inAppPurchasePriceSchedules]", "in": "query", - "description": "the fields to include for returned resources of type devices", + "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "platform", - "udid", - "deviceClass", - "status", - "model", - "addedDate" + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -160242,12 +162907,76 @@ "explode": false }, { - "name": "limit", + "name": "fields[territories]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchasePrices]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "startDate", + "endDate", + "manual", + "inAppPurchasePricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "baseTerritory", + "manualPrices", + "automaticPrices" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[manualPrices]", + "in": "query", + "description": "maximum number of related manualPrices returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[automaticPrices]", + "in": "query", + "description": "maximum number of related automaticPrices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form" } @@ -160294,11 +163023,11 @@ } }, "200": { - "description": "List of Devices with get", + "description": "Single InAppPurchasePriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DevicesWithoutIncludesResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" } } } @@ -160328,12 +163057,12 @@ } ] }, - "/v1/reviewSubmissions/{id}/relationships/items": { + "/v2/inAppPurchases/{id}/relationships/images": { "get": { "tags": [ - "ReviewSubmissions" + "InAppPurchases" ], - "operationId": "reviewSubmissions_items_getToManyRelationship", + "operationId": "inAppPurchasesV2_images_getToManyRelationship", "parameters": [ { "name": "limit", @@ -160392,7 +163121,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemsLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseV2ImagesLinkagesResponse" } } } @@ -160422,96 +163151,30 @@ } ] }, - "/v1/reviewSubmissions/{id}/items": { + "/v2/inAppPurchases/{id}/images": { "get": { "tags": [ - "ReviewSubmissions" + "InAppPurchases" ], - "operationId": "reviewSubmissions_items_getToManyRelated", + "operationId": "inAppPurchasesV2_images_getToManyRelated", "parameters": [ { - "name": "fields[reviewSubmissionItems]", + "name": "fields[inAppPurchaseImages]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "description": "the fields to include for returned resources of type inAppPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", "state", - "appStoreVersion", - "appCustomProductPageVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appEvent", - "backgroundAssetVersion", - "gameCenterAchievementVersion", - "gameCenterActivityVersion", - "gameCenterChallengeVersion", - "gameCenterLeaderboardSetVersion", - "gameCenterLeaderboardVersion", - "inAppPurchaseVersion", - "subscriptionVersion", - "subscriptionGroupVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "platform", - "versionString", - "appStoreState", - "appVersionState", - "copyright", - "reviewType", - "releaseType", - "earliestReleaseDate", - "usesIdfa", - "downloadable", - "createdDate", - "app", - "appStoreVersionLocalizations", - "build", - "appStoreVersionPhasedRelease", - "gameCenterAppVersion", - "routingAppCoverage", - "appStoreReviewDetail", - "appStoreVersionSubmission", - "appClipDefaultExperience", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "customerReviews", - "alternativeDistributionPackage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPageVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "deepLink", - "appCustomProductPage", - "appCustomProductPageLocalizations" + "inAppPurchase" ] } }, @@ -160519,241 +163182,31 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "trafficProportion", - "state", - "reviewRequired", - "startDate", - "endDate", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "platform", - "app", - "latestControlVersion", - "controlVersions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appEvents]", - "in": "query", - "description": "the fields to include for returned resources of type appEvents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "badge", - "eventState", - "deepLink", - "purchaseRequirement", - "primaryLocale", - "priority", - "purpose", - "territorySchedules", - "archivedTerritorySchedules", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[backgroundAssetVersions]", - "in": "query", - "description": "the fields to include for returned resources of type backgroundAssetVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "createdDate", - "platforms", - "state", - "stateDetails", - "version", - "locale", - "backgroundAsset", - "internalBetaRelease", - "externalBetaRelease", - "appStoreRelease", - "assetFile", - "manifestFile", - "backgroundAssetUploadFiles" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievementVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "achievement", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterActivityVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterActivityVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "fallbackUrl", - "activity", - "localizations", - "defaultImage", - "releases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterChallengeVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterChallengeVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "challenge", - "localizations", - "releases", - "defaultImage" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSetVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "leaderboardSet", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "leaderboard", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "inAppPurchase", - "image", - "images", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionVersions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", + "productId", + "inAppPurchaseType", "state", - "subscription", - "image", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", "images", - "localizations" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionGroupVersions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "subscriptionGroup", - "localizations" + "offerCodes", + "versions" ] } }, @@ -160779,20 +163232,7 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "appCustomProductPageVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "appEvent", - "backgroundAssetVersion", - "gameCenterAchievementVersion", - "gameCenterActivityVersion", - "gameCenterChallengeVersion", - "gameCenterLeaderboardSetVersion", - "gameCenterLeaderboardVersion", - "inAppPurchaseVersion", - "subscriptionVersion", - "subscriptionGroupVersion" + "inAppPurchase" ] } }, @@ -160842,11 +163282,11 @@ } }, "200": { - "description": "List of ReviewSubmissionItems", + "description": "List of InAppPurchaseImages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemsResponse" + "$ref": "#/components/schemas/InAppPurchaseImagesResponse" } } } @@ -160876,24 +163316,13 @@ } ] }, - "/v1/scmProviders/{id}/relationships/repositories": { + "/v2/inAppPurchases/{id}/relationships/inAppPurchaseAvailability": { "get": { "tags": [ - "ScmProviders" - ], - "operationId": "scmProviders_repositories_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "InAppPurchases" ], + "operationId": "inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -160936,11 +163365,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmProviderRepositoriesLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseV2InAppPurchaseAvailabilityLinkageResponse" } } } @@ -160970,44 +163399,24 @@ } ] }, - "/v1/scmProviders/{id}/repositories": { + "/v2/inAppPurchases/{id}/inAppPurchaseAvailability": { "get": { "tags": [ - "ScmProviders" + "InAppPurchases" ], - "operationId": "scmProviders_repositories_getToManyRelated", + "operationId": "inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelated", "parameters": [ { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmRepositories]", + "name": "fields[inAppPurchaseAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "availableInNewTerritories", + "availableTerritories" ] } }, @@ -161015,17 +163424,15 @@ "explode": false }, { - "name": "fields[scmProviders]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type scmProviders", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "scmProviderType", - "url", - "repositories" + "currency" ] } }, @@ -161033,19 +163440,15 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "canonicalName", - "isDeleted", - "kind", - "repository" + "availableTerritories" ] } }, @@ -161053,31 +163456,14 @@ "explode": false }, { - "name": "limit", + "name": "limit[availableTerritories]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related availableTerritories returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "scmProvider", - "defaultBranch" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -161122,11 +163508,11 @@ } }, "200": { - "description": "List of ScmRepositories", + "description": "Single InAppPurchaseAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoriesResponse" + "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" } } } @@ -161156,12 +163542,12 @@ } ] }, - "/v1/scmRepositories/{id}/relationships/gitReferences": { + "/v2/inAppPurchases/{id}/relationships/inAppPurchaseLocalizations": { "get": { "tags": [ - "ScmRepositories" + "InAppPurchases" ], - "operationId": "scmRepositories_gitReferences_getToManyRelationship", + "operationId": "inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -161220,7 +163606,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoryGitReferencesLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseV2InAppPurchaseLocalizationsLinkagesResponse" } } } @@ -161250,27 +163636,27 @@ } ] }, - "/v1/scmRepositories/{id}/gitReferences": { + "/v2/inAppPurchases/{id}/inAppPurchaseLocalizations": { "get": { "tags": [ - "ScmRepositories" + "InAppPurchases" ], - "operationId": "scmRepositories_gitReferences_getToManyRelated", + "operationId": "inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelated", "parameters": [ { - "name": "fields[scmGitReferences]", + "name": "fields[inAppPurchaseLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "canonicalName", - "isDeleted", - "kind", - "repository" + "locale", + "description", + "state", + "inAppPurchaseV2" ] } }, @@ -161278,23 +163664,31 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" ] } }, @@ -161320,7 +163714,7 @@ "items": { "type": "string", "enum": [ - "repository" + "inAppPurchaseV2" ] } }, @@ -161370,11 +163764,11 @@ } }, "200": { - "description": "List of ScmGitReferences", + "description": "List of InAppPurchaseLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmGitReferencesResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationsResponse" } } } @@ -161404,12 +163798,12 @@ } ] }, - "/v1/scmRepositories/{id}/relationships/pullRequests": { + "/v2/inAppPurchases/{id}/relationships/offerCodes": { "get": { "tags": [ - "ScmRepositories" + "InAppPurchases" ], - "operationId": "scmRepositories_pullRequests_getToManyRelationship", + "operationId": "inAppPurchasesV2_offerCodes_getToManyRelationship", "parameters": [ { "name": "limit", @@ -161468,7 +163862,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoryPullRequestsLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseV2OfferCodesLinkagesResponse" } } } @@ -161498,34 +163892,43 @@ } ] }, - "/v1/scmRepositories/{id}/pullRequests": { + "/v2/inAppPurchases/{id}/offerCodes": { "get": { "tags": [ - "ScmRepositories" + "InAppPurchases" ], - "operationId": "scmRepositories_pullRequests_getToManyRelated", + "operationId": "inAppPurchasesV2_offerCodes_getToManyRelated", "parameters": [ { - "name": "fields[scmPullRequests]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "filter by territory", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchaseOfferCodes]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "title", - "number", - "webUrl", - "sourceRepositoryOwner", - "sourceRepositoryName", - "sourceBranchName", - "destinationRepositoryOwner", - "destinationRepositoryName", - "destinationBranchName", - "isClosed", - "isCrossRepository", - "repository" + "name", + "customerEligibilities", + "productionCodeCount", + "sandboxCodeCount", + "active", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -161533,23 +163936,61 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[inAppPurchaseOfferCodeOneTimeUseCodes]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastAccessedDate", - "httpCloneUrl", - "sshCloneUrl", - "ownerName", - "repositoryName", - "scmProvider", - "defaultBranch", - "gitReferences", - "pullRequests" + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "environment", + "values", + "createdByActor", + "deactivatedByActor" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchaseOfferCodeCustomCodes]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseOfferCodeCustomCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customCode", + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "createdByActor", + "deactivatedByActor" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchaseOfferPrices]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseOfferPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory", + "pricePoint" ] } }, @@ -161575,12 +164016,44 @@ "items": { "type": "string", "enum": [ - "repository" + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[oneTimeUseCodes]", + "in": "query", + "description": "maximum number of related oneTimeUseCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[customCodes]", + "in": "query", + "description": "maximum number of related customCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -161625,11 +164098,11 @@ } }, "200": { - "description": "List of ScmPullRequests", + "description": "List of InAppPurchaseOfferCodes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmPullRequestsResponse" + "$ref": "#/components/schemas/InAppPurchaseOfferCodesResponse" } } } @@ -161659,13 +164132,12 @@ } ] }, - "/v1/subscriptionAvailabilities/{id}/relationships/availableTerritories": { + "/v2/inAppPurchases/{id}/relationships/pricePoints": { "get": { "tags": [ - "SubscriptionAvailabilities" + "InAppPurchases" ], - "operationId": "subscriptionAvailabilities_availableTerritories_getToManyRelationship", - "deprecated": true, + "operationId": "inAppPurchasesV2_pricePoints_getToManyRelationship", "parameters": [ { "name": "limit", @@ -161673,7 +164145,7 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 200 + "maximum": 8000 }, "style": "form" } @@ -161724,7 +164196,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityAvailableTerritoriesLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseV2PricePointsLinkagesResponse" } } } @@ -161754,14 +164226,45 @@ } ] }, - "/v1/subscriptionAvailabilities/{id}/availableTerritories": { + "/v2/inAppPurchases/{id}/pricePoints": { "get": { "tags": [ - "SubscriptionAvailabilities" + "InAppPurchases" ], - "operationId": "subscriptionAvailabilities_availableTerritories_getToManyRelated", - "deprecated": true, + "operationId": "inAppPurchasesV2_pricePoints_getToManyRelated", "parameters": [ + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchasePricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "territory", + "equalizations" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[territories]", "in": "query", @@ -161784,9 +164287,25 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 200 + "maximum": 8000 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -161831,11 +164350,16 @@ } }, "200": { - "description": "List of Territories", + "description": "List of InAppPurchasePricePoints", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoriesResponse" + "$ref": "#/components/schemas/InAppPurchasePricePointsResponse" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -161865,24 +164389,13 @@ } ] }, - "/v1/subscriptionGroupVersions/{id}/relationships/localizations": { + "/v2/inAppPurchases/{id}/relationships/promotedPurchase": { "get": { "tags": [ - "SubscriptionGroupVersions" - ], - "operationId": "subscriptionGroupVersions_localizations_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "InAppPurchases" ], + "operationId": "inAppPurchasesV2_promotedPurchase_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -161925,11 +164438,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupVersionLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseV2PromotedPurchaseLinkageResponse" } } } @@ -161959,26 +164472,27 @@ } ] }, - "/v1/subscriptionGroupVersions/{id}/localizations": { + "/v2/inAppPurchases/{id}/promotedPurchase": { "get": { "tags": [ - "SubscriptionGroupVersions" + "InAppPurchases" ], - "operationId": "subscriptionGroupVersions_localizations_getToManyRelated", + "operationId": "inAppPurchasesV2_promotedPurchase_getToOneRelated", "parameters": [ { - "name": "fields[subscriptionGroupLocalizations]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "customAppName", - "locale", - "version" + "visibleForAllUsers", + "enabled", + "state", + "inAppPurchaseV2", + "subscription" ] } }, @@ -161986,18 +164500,31 @@ "explode": false }, { - "name": "fields[subscriptionGroupVersions]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupVersions", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", + "name", + "productId", + "inAppPurchaseType", "state", - "subscriptionGroup", - "localizations" + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" ] } }, @@ -162005,14 +164532,42 @@ "explode": false }, { - "name": "limit", + "name": "fields[subscriptions]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type subscriptions", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { "name": "include", @@ -162023,7 +164578,8 @@ "items": { "type": "string", "enum": [ - "version" + "inAppPurchaseV2", + "subscription" ] } }, @@ -162073,11 +164629,11 @@ } }, "200": { - "description": "List of SubscriptionGroupLocalizations", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationsV2Response" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } @@ -162107,12 +164663,12 @@ } ] }, - "/v1/subscriptionGroups/{id}/relationships/subscriptionGroupLocalizations": { + "/v2/inAppPurchases/{id}/relationships/versions": { "get": { "tags": [ - "SubscriptionGroups" + "InAppPurchases" ], - "operationId": "subscriptionGroups_subscriptionGroupLocalizations_getToManyRelationship", + "operationId": "inAppPurchasesV2_versions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -162171,7 +164727,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupSubscriptionGroupLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/InAppPurchaseV2VersionsLinkagesResponse" } } } @@ -162201,27 +164757,52 @@ } ] }, - "/v1/subscriptionGroups/{id}/subscriptionGroupLocalizations": { + "/v2/inAppPurchases/{id}/versions": { "get": { "tags": [ - "SubscriptionGroups" + "InAppPurchases" ], - "operationId": "subscriptionGroups_subscriptionGroupLocalizations_getToManyRelated", + "operationId": "inAppPurchasesV2_versions_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionGroupLocalizations]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "customAppName", - "locale", + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REPLACED_WITH_NEW_VERSION", + "REJECTED", + "DEVELOPER_REJECTED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", "state", - "subscriptionGroup" + "inAppPurchase", + "image", + "images", + "localizations" ] } }, @@ -162229,17 +164810,30 @@ "explode": false }, { - "name": "fields[subscriptionGroups]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", "versions" ] } @@ -162247,6 +164841,46 @@ "style": "form", "explode": false }, + { + "name": "fields[inAppPurchaseImages]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchaseLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "locale", + "description", + "version" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -162266,12 +164900,35 @@ "items": { "type": "string", "enum": [ - "subscriptionGroup" + "inAppPurchase", + "image", + "images", + "localizations" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[images]", + "in": "query", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -162316,11 +164973,11 @@ } }, "200": { - "description": "List of SubscriptionGroupLocalizations", + "description": "List of InAppPurchaseVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationsResponse" + "$ref": "#/components/schemas/InAppPurchaseVersionsResponse" } } } @@ -162350,12 +165007,12 @@ } ] }, - "/v1/subscriptionGroups/{id}/relationships/subscriptions": { + "/v1/merchantIds/{id}/relationships/certificates": { "get": { "tags": [ - "SubscriptionGroups" + "MerchantIds" ], - "operationId": "subscriptionGroups_subscriptions_getToManyRelationship", + "operationId": "merchantIds_certificates_getToManyRelationship", "parameters": [ { "name": "limit", @@ -162414,7 +165071,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupSubscriptionsLinkagesResponse" + "$ref": "#/components/schemas/MerchantIdCertificatesLinkagesResponse" } } } @@ -162444,30 +165101,17 @@ } ] }, - "/v1/subscriptionGroups/{id}/subscriptions": { + "/v1/merchantIds/{id}/certificates": { "get": { "tags": [ - "SubscriptionGroups" + "MerchantIds" ], - "operationId": "subscriptionGroups_subscriptions_getToManyRelated", + "operationId": "merchantIds_certificates_getToManyRelated", "parameters": [ { - "name": "filter[productId]", - "in": "query", - "description": "filter by attribute 'productId'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[name]", + "name": "filter[displayName]", "in": "query", - "description": "filter by attribute 'name'", + "description": "filter by attribute 'displayName'", "schema": { "type": "array", "items": { @@ -162478,99 +165122,32 @@ "explode": false }, { - "name": "filter[state]", + "name": "filter[certificateType]", "in": "query", - "description": "filter by attribute 'state'", + "description": "filter by attribute 'certificateType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "MISSING_METADATA", - "READY_TO_SUBMIT", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "DEVELOPER_ACTION_NEEDED", - "PENDING_BINARY_APPROVAL", - "APPROVED", - "DEVELOPER_REMOVED_FROM_SALE", - "REMOVED_FROM_SALE", - "REJECTED" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "-name" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "locale", - "description", - "state", - "subscription" + "APPLE_PAY", + "APPLE_PAY_MERCHANT_IDENTITY", + "APPLE_PAY_PSP_IDENTITY", + "APPLE_PAY_RSA", + "DEVELOPER_ID_KEXT", + "DEVELOPER_ID_KEXT_G2", + "DEVELOPER_ID_APPLICATION", + "DEVELOPER_ID_APPLICATION_G2", + "DEVELOPMENT", + "DISTRIBUTION", + "IDENTITY_ACCESS", + "IOS_DEVELOPMENT", + "IOS_DISTRIBUTION", + "MAC_APP_DISTRIBUTION", + "MAC_INSTALLER_DISTRIBUTION", + "MAC_APP_DEVELOPMENT", + "PASS_TYPE_ID", + "PASS_TYPE_ID_WITH_NFC" ] } }, @@ -162578,66 +165155,48 @@ "explode": false }, { - "name": "fields[subscriptionAppStoreReviewScreenshots]", + "name": "filter[serialNumber]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "description": "filter by attribute 'serialNumber'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "subscription" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[subscriptionGroups]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", - "versions" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[subscriptionIntroductoryOffers]", + "name": "sort", "in": "query", - "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "startDate", - "endDate", - "duration", - "offerMode", - "numberOfPeriods", - "targetSubscriptionPlanType", - "subscription", - "territory", - "subscriptionPricePoint" + "displayName", + "-displayName", + "certificateType", + "-certificateType", + "serialNumber", + "-serialNumber", + "id", + "-id" ] } }, @@ -162645,22 +165204,23 @@ "explode": false }, { - "name": "fields[subscriptionPromotionalOffers]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", "name", - "numberOfPeriods", - "offerCode", - "offerMode", - "targetSubscriptionPlanType", - "subscription", - "prices" + "certificateType", + "displayName", + "serialNumber", + "platform", + "expirationDate", + "certificateContent", + "activated", + "passTypeId" ] } }, @@ -162668,178 +165228,17 @@ "explode": false }, { - "name": "fields[subscriptionOfferCodes]", + "name": "fields[passTypeIds]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "description": "the fields to include for returned resources of type passTypeIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "customerEligibilities", - "offerEligibility", - "duration", - "offerMode", - "numberOfPeriods", - "totalNumberOfCodes", - "productionCodeCount", - "sandboxCodeCount", - "active", - "autoRenewEnabled", - "targetSubscriptionPlanType", - "subscription", - "oneTimeUseCodes", - "customCodes", - "prices" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionPrices]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "startDate", - "preserved", - "planType", - "territory", - "subscriptionPricePoint" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "availableTerritories" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[winBackOffers]", - "in": "query", - "description": "the fields to include for returned resources of type winBackOffers", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "referenceName", - "offerId", - "duration", - "offerMode", - "periodCount", - "customerEligibilityPaidSubscriptionDurationInMonths", - "customerEligibilityTimeSinceLastSubscribedInMonths", - "customerEligibilityWaitBetweenOffersInMonths", - "startDate", - "endDate", - "priority", - "promotionIntent", - "targetSubscriptionPlanType", - "prices" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionImages]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "assetToken", - "imageAsset", - "uploadOperations", - "state", - "subscription" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionPlanAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPlanAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "planType", - "availableTerritories" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionVersions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "state", - "subscription", - "image", - "images", - "localizations" + "identifier", + "certificates" ] } }, @@ -162865,114 +165264,12 @@ "items": { "type": "string", "enum": [ - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "passTypeId" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[subscriptionLocalizations]", - "in": "query", - "description": "maximum number of related subscriptionLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[introductoryOffers]", - "in": "query", - "description": "maximum number of related introductoryOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[promotionalOffers]", - "in": "query", - "description": "maximum number of related promotionalOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[offerCodes]", - "in": "query", - "description": "maximum number of related offerCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[winBackOffers]", - "in": "query", - "description": "maximum number of related winBackOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[images]", - "in": "query", - "description": "maximum number of related images returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[planAvailabilities]", - "in": "query", - "description": "maximum number of related planAvailabilities returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -163017,11 +165314,11 @@ } }, "200": { - "description": "List of Subscriptions", + "description": "List of Certificates", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionsResponse" + "$ref": "#/components/schemas/CertificatesResponse" } } } @@ -163051,12 +165348,12 @@ } ] }, - "/v1/subscriptionGroups/{id}/relationships/versions": { + "/v1/passTypeIds/{id}/relationships/certificates": { "get": { "tags": [ - "SubscriptionGroups" + "PassTypeIds" ], - "operationId": "subscriptionGroups_versions_getToManyRelationship", + "operationId": "passTypeIds_certificates_getToManyRelationship", "parameters": [ { "name": "limit", @@ -163115,7 +165412,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupVersionsLinkagesResponse" + "$ref": "#/components/schemas/PassTypeIdCertificatesLinkagesResponse" } } } @@ -163145,31 +165442,53 @@ } ] }, - "/v1/subscriptionGroups/{id}/versions": { + "/v1/passTypeIds/{id}/certificates": { "get": { "tags": [ - "SubscriptionGroups" + "PassTypeIds" ], - "operationId": "subscriptionGroups_versions_getToManyRelated", + "operationId": "passTypeIds_certificates_getToManyRelated", "parameters": [ { - "name": "filter[state]", + "name": "filter[displayName]", "in": "query", - "description": "filter by attribute 'state'", + "description": "filter by attribute 'displayName'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[certificateType]", + "in": "query", + "description": "filter by attribute 'certificateType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PREPARE_FOR_SUBMISSION", - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "ACCEPTED", - "APPROVED", - "REPLACED_WITH_NEW_VERSION", - "REJECTED", - "DEVELOPER_REJECTED" + "APPLE_PAY", + "APPLE_PAY_MERCHANT_IDENTITY", + "APPLE_PAY_PSP_IDENTITY", + "APPLE_PAY_RSA", + "DEVELOPER_ID_KEXT", + "DEVELOPER_ID_KEXT_G2", + "DEVELOPER_ID_APPLICATION", + "DEVELOPER_ID_APPLICATION_G2", + "DEVELOPMENT", + "DISTRIBUTION", + "IDENTITY_ACCESS", + "IOS_DEVELOPMENT", + "IOS_DISTRIBUTION", + "MAC_APP_DISTRIBUTION", + "MAC_INSTALLER_DISTRIBUTION", + "MAC_APP_DEVELOPMENT", + "PASS_TYPE_ID", + "PASS_TYPE_ID_WITH_NFC" ] } }, @@ -163177,18 +165496,48 @@ "explode": false }, { - "name": "fields[subscriptionGroupVersions]", + "name": "filter[serialNumber]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupVersions", + "description": "filter by attribute 'serialNumber'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "version", - "state", - "subscriptionGroup", - "localizations" + "displayName", + "-displayName", + "certificateType", + "-certificateType", + "serialNumber", + "-serialNumber", + "id", + "-id" ] } }, @@ -163196,18 +165545,23 @@ "explode": false }, { - "name": "fields[subscriptionGroups]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "subscriptions", - "subscriptionGroupLocalizations", - "versions" + "name", + "certificateType", + "displayName", + "serialNumber", + "platform", + "expirationDate", + "certificateContent", + "activated", + "passTypeId" ] } }, @@ -163215,18 +165569,17 @@ "explode": false }, { - "name": "fields[subscriptionGroupLocalizations]", + "name": "fields[passTypeIds]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "the fields to include for returned resources of type passTypeIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", - "customAppName", - "locale", - "version" + "identifier", + "certificates" ] } }, @@ -163252,23 +165605,12 @@ "items": { "type": "string", "enum": [ - "subscriptionGroup", - "localizations" + "passTypeId" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -163313,11 +165655,11 @@ } }, "200": { - "description": "List of SubscriptionGroupVersions", + "description": "List of Certificates", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupVersionsResponse" + "$ref": "#/components/schemas/CertificatesResponse" } } } @@ -163347,12 +165689,12 @@ } ] }, - "/v1/subscriptionOfferCodeOneTimeUseCodes/{id}/values": { + "/v1/preReleaseVersions/{id}/relationships/app": { "get": { "tags": [ - "SubscriptionOfferCodeOneTimeUseCodes" + "PreReleaseVersions" ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes_values_getToOneRelated", + "operationId": "preReleaseVersions_app_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -163396,11 +165738,11 @@ } }, "200": { - "description": "Single SubscriptionOfferCodeOneTimeUseCodeValue", + "description": "Related linkage", "content": { - "text/csv": { + "application/json": { "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/PrereleaseVersionAppLinkageResponse" } } } @@ -163430,22 +165772,84 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/relationships/customCodes": { + "/v1/preReleaseVersions/{id}/app": { "get": { "tags": [ - "SubscriptionOfferCodes" + "PreReleaseVersions" ], - "operationId": "subscriptionOfferCodes_customCodes_getToManyRelationship", + "operationId": "preReleaseVersions_app_getToOneRelated", "parameters": [ { - "name": "limit", + "name": "fields[apps]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type apps", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } }, - "style": "form" + "style": "form", + "explode": false } ], "responses": { @@ -163490,11 +165894,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Single App with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodesLinkagesResponse" + "$ref": "#/components/schemas/AppWithoutIncludesResponse" } } } @@ -163524,65 +165928,13 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/customCodes": { + "/v1/preReleaseVersions/{id}/relationships/builds": { "get": { "tags": [ - "SubscriptionOfferCodes" + "PreReleaseVersions" ], - "operationId": "subscriptionOfferCodes_customCodes_getToManyRelated", + "operationId": "preReleaseVersions_builds_getToManyRelationship", "parameters": [ - { - "name": "fields[subscriptionOfferCodeCustomCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customCode", - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "offerCode" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "customerEligibilities", - "offerEligibility", - "duration", - "offerMode", - "numberOfPeriods", - "totalNumberOfCodes", - "productionCodeCount", - "sandboxCodeCount", - "active", - "autoRenewEnabled", - "targetSubscriptionPlanType", - "subscription", - "oneTimeUseCodes", - "customCodes", - "prices" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -163592,22 +165944,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "offerCode" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -163652,11 +165988,11 @@ } }, "200": { - "description": "List of SubscriptionOfferCodeCustomCodes", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodesResponse" + "$ref": "#/components/schemas/PrereleaseVersionBuildsLinkagesResponse" } } } @@ -163686,13 +166022,54 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/relationships/oneTimeUseCodes": { + "/v1/preReleaseVersions/{id}/builds": { "get": { "tags": [ - "SubscriptionOfferCodes" + "PreReleaseVersions" ], - "operationId": "subscriptionOfferCodes_oneTimeUseCodes_getToManyRelationship", + "operationId": "preReleaseVersions_builds_getToManyRelated", "parameters": [ + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "computedMinVisionOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "buildUpload", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -163746,11 +166123,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "List of Builds with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodesLinkagesResponse" + "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" } } } @@ -163780,93 +166157,13 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/oneTimeUseCodes": { + "/v1/profiles/{id}/relationships/bundleId": { "get": { "tags": [ - "SubscriptionOfferCodes" - ], - "operationId": "subscriptionOfferCodes_oneTimeUseCodes_getToManyRelated", - "parameters": [ - { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "environment", - "offerCode", - "values" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "customerEligibilities", - "offerEligibility", - "duration", - "offerMode", - "numberOfPeriods", - "totalNumberOfCodes", - "productionCodeCount", - "sandboxCodeCount", - "active", - "autoRenewEnabled", - "targetSubscriptionPlanType", - "subscription", - "oneTimeUseCodes", - "customCodes", - "prices" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "offerCode" - ] - } - }, - "style": "form", - "explode": false - } + "Profiles" ], + "operationId": "profiles_bundleId_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -163909,11 +166206,11 @@ } }, "200": { - "description": "List of SubscriptionOfferCodeOneTimeUseCodes", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodesResponse" + "$ref": "#/components/schemas/ProfileBundleIdLinkageResponse" } } } @@ -163943,22 +166240,34 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/relationships/prices": { + "/v1/profiles/{id}/bundleId": { "get": { "tags": [ - "SubscriptionOfferCodes" + "Profiles" ], - "operationId": "subscriptionOfferCodes_prices_getToManyRelationship", + "operationId": "profiles_bundleId_getToOneRelated", "parameters": [ { - "name": "limit", + "name": "fields[bundleIds]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type bundleIds", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" + ] + } }, - "style": "form" + "style": "form", + "explode": false } ], "responses": { @@ -164003,11 +166312,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Single BundleId with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodePricesLinkagesResponse" + "$ref": "#/components/schemas/BundleIdWithoutIncludesResponse" } } } @@ -164037,80 +166346,13 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/prices": { + "/v1/profiles/{id}/relationships/certificates": { "get": { "tags": [ - "SubscriptionOfferCodes" + "Profiles" ], - "operationId": "subscriptionOfferCodes_prices_getToManyRelated", + "operationId": "profiles_certificates_getToManyRelationship", "parameters": [ - { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodePrices]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory", - "subscriptionPricePoint" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "proceeds", - "proceedsYear2", - "territory", - "equalizations", - "adjustedEqualizations" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -164120,23 +166362,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory", - "subscriptionPricePoint" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -164181,11 +166406,11 @@ } }, "200": { - "description": "List of SubscriptionOfferCodePrices", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodePricesResponse" + "$ref": "#/components/schemas/ProfileCertificatesLinkagesResponse" } } } @@ -164215,13 +166440,37 @@ } ] }, - "/v1/subscriptionPlanAvailabilities/{id}/relationships/availableTerritories": { + "/v1/profiles/{id}/certificates": { "get": { "tags": [ - "SubscriptionPlanAvailabilities" + "Profiles" ], - "operationId": "subscriptionPlanAvailabilities_availableTerritories_getToManyRelationship", + "operationId": "profiles_certificates_getToManyRelated", "parameters": [ + { + "name": "fields[certificates]", + "in": "query", + "description": "the fields to include for returned resources of type certificates", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "certificateType", + "displayName", + "serialNumber", + "platform", + "expirationDate", + "certificateContent", + "activated", + "passTypeId" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -164275,11 +166524,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "List of Certificates with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesResponse" + "$ref": "#/components/schemas/CertificatesWithoutIncludesResponse" } } } @@ -164296,22 +166545,37 @@ } } }, - "patch": { - "tags": [ - "SubscriptionPlanAvailabilities" - ], - "operationId": "subscriptionPlanAvailabilities_availableTerritories_replaceToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, + } + ] + }, + "/v1/profiles/{id}/relationships/devices": { + "get": { + "tags": [ + "Profiles" + ], + "operationId": "profiles_devices_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -164353,29 +166617,16 @@ } } }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ProfileDevicesLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -164401,23 +166652,29 @@ } ] }, - "/v1/subscriptionPlanAvailabilities/{id}/availableTerritories": { + "/v1/profiles/{id}/devices": { "get": { "tags": [ - "SubscriptionPlanAvailabilities" + "Profiles" ], - "operationId": "subscriptionPlanAvailabilities_availableTerritories_getToManyRelated", + "operationId": "profiles_devices_getToManyRelated", "parameters": [ { - "name": "fields[territories]", + "name": "fields[devices]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type devices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "platform", + "udid", + "deviceClass", + "status", + "model", + "addedDate" ] } }, @@ -164477,11 +166734,11 @@ } }, "200": { - "description": "List of Territories", + "description": "List of Devices with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoriesResponse" + "$ref": "#/components/schemas/DevicesWithoutIncludesResponse" } } } @@ -164511,81 +166768,245 @@ } ] }, - "/v1/subscriptionPricePoints/{id}/adjustedEqualizations": { + "/v1/reviewSubmissions/{id}/relationships/items": { "get": { "tags": [ - "SubscriptionPricePoints" + "ReviewSubmissions" ], - "operationId": "subscriptionPricePoints_adjustedEqualizations_getToManyRelated", + "operationId": "reviewSubmissions_items_getToManyRelationship", "parameters": [ { - "name": "filter[territory]", + "name": "limit", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionItemsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/reviewSubmissions/{id}/items": { + "get": { + "tags": [ + "ReviewSubmissions" + ], + "operationId": "reviewSubmissions_items_getToManyRelated", + "parameters": [ + { + "name": "fields[reviewSubmissionItems]", + "in": "query", + "description": "the fields to include for returned resources of type reviewSubmissionItems", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "state", + "appStoreVersion", + "appCustomProductPageVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appEvent", + "appAssetLibraryImage", + "appAssetLibraryVideo", + "backgroundAssetVersion", + "gameCenterAchievementVersion", + "gameCenterActivityVersion", + "gameCenterChallengeVersion", + "gameCenterLeaderboardSetVersion", + "gameCenterLeaderboardVersion", + "inAppPurchaseVersion", + "subscriptionVersion", + "subscriptionGroupVersion" + ] } }, "style": "form", "explode": false }, { - "name": "filter[subscription]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "filter by id(s) of related 'subscription'", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "usesIdfa", + "downloadable", + "createdDate", + "app", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] } }, "style": "form", "explode": false }, { - "name": "filter[upfrontPricePointId]", + "name": "fields[appCustomProductPageVersions]", "in": "query", - "description": "filter by upfrontPricePointId", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "version", + "state", + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" + ] } }, "style": "form", "explode": false }, { - "name": "filter[planType]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "filter by planType", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" + ] } }, "style": "form", - "explode": false, - "required": true + "explode": false }, { - "name": "fields[subscriptionPricePoints]", + "name": "fields[appEvents]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "proceedsYear2", - "territory", - "equalizations", - "adjustedEqualizations" + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "localizations" ] } }, @@ -164593,15 +167014,244 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[appAssetLibraryImages]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type appAssetLibraryImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "imageAsset", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appAssetLibraryVideos]", + "in": "query", + "description": "the fields to include for returned resources of type appAssetLibraryVideos", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "category", + "createdDate", + "lastModifiedDate", + "fileName", + "fileSize", + "previewFrameImage", + "previewFrameTimeCode", + "referenceName", + "specId", + "state", + "stateDetails", + "uploadOperations", + "videoAsset", + "placements" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[backgroundAssetVersions]", + "in": "query", + "description": "the fields to include for returned resources of type backgroundAssetVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "platforms", + "state", + "stateDetails", + "version", + "locale", + "backgroundAsset", + "internalBetaRelease", + "externalBetaRelease", + "appStoreRelease", + "assetFile", + "manifestFile", + "backgroundAssetUploadFiles" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievementVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "achievement", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterActivityVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterActivityVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "fallbackUrl", + "activity", + "localizations", + "defaultImage", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterChallengeVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterChallengeVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "challenge", + "localizations", + "releases", + "defaultImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "leaderboardSet", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "leaderboard", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "inAppPurchase", + "image", + "images", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionVersions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "subscription", + "image", + "images", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGroupVersions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroupVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "subscriptionGroup", + "localizations" ] } }, @@ -164614,7 +167264,7 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 8000 + "maximum": 200 }, "style": "form" }, @@ -164627,7 +167277,22 @@ "items": { "type": "string", "enum": [ - "territory" + "appStoreVersion", + "appCustomProductPageVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appEvent", + "appAssetLibraryImage", + "appAssetLibraryVideo", + "backgroundAssetVersion", + "gameCenterAchievementVersion", + "gameCenterActivityVersion", + "gameCenterChallengeVersion", + "gameCenterLeaderboardSetVersion", + "gameCenterLeaderboardVersion", + "inAppPurchaseVersion", + "subscriptionVersion", + "subscriptionGroupVersion" ] } }, @@ -164677,16 +167342,11 @@ } }, "200": { - "description": "List of SubscriptionPricePoints", + "description": "List of ReviewSubmissionItems", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointsResponse" - } - }, - "text/csv": { - "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/ReviewSubmissionItemsResponse" } } } @@ -164716,12 +167376,12 @@ } ] }, - "/v1/subscriptionPricePoints/{id}/relationships/equalizations": { + "/v1/scmProviders/{id}/relationships/repositories": { "get": { "tags": [ - "SubscriptionPricePoints" + "ScmProviders" ], - "operationId": "subscriptionPricePoints_equalizations_getToManyRelationship", + "operationId": "scmProviders_repositories_getToManyRelationship", "parameters": [ { "name": "limit", @@ -164729,7 +167389,7 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 8000 + "maximum": 200 }, "style": "form" } @@ -164780,7 +167440,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointEqualizationsLinkagesResponse" + "$ref": "#/components/schemas/ScmProviderRepositoriesLinkagesResponse" } } } @@ -164810,43 +167470,17 @@ } ] }, - "/v1/subscriptionPricePoints/{id}/equalizations": { + "/v1/scmProviders/{id}/repositories": { "get": { "tags": [ - "SubscriptionPricePoints" + "ScmProviders" ], - "operationId": "subscriptionPricePoints_equalizations_getToManyRelated", + "operationId": "scmProviders_repositories_getToManyRelated", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[subscription]", - "in": "query", - "description": "filter by id(s) of related 'subscription'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[upfrontPricePointId]", + "name": "filter[id]", "in": "query", - "description": "filter by upfrontPricePointId", + "description": "filter by id(s)", "schema": { "type": "array", "items": { @@ -164857,33 +167491,41 @@ "explode": false }, { - "name": "filter[planType]", + "name": "fields[scmRepositories]", "in": "query", - "description": "filter by planType", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" + ] } }, "style": "form", "explode": false }, { - "name": "fields[subscriptionPricePoints]", + "name": "fields[scmProviders]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type scmProviders", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "proceedsYear2", - "territory", - "equalizations", - "adjustedEqualizations" + "scmProviderType", + "url", + "repositories" ] } }, @@ -164891,15 +167533,19 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -164912,7 +167558,7 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 8000 + "maximum": 200 }, "style": "form" }, @@ -164925,7 +167571,8 @@ "items": { "type": "string", "enum": [ - "territory" + "scmProvider", + "defaultBranch" ] } }, @@ -164975,16 +167622,11 @@ } }, "200": { - "description": "List of SubscriptionPricePoints", + "description": "List of ScmRepositories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointsResponse" - } - }, - "text/csv": { - "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/ScmRepositoriesResponse" } } } @@ -165014,12 +167656,12 @@ } ] }, - "/v1/subscriptionPromotionalOffers/{id}/relationships/prices": { + "/v1/scmRepositories/{id}/relationships/gitReferences": { "get": { "tags": [ - "SubscriptionPromotionalOffers" + "ScmRepositories" ], - "operationId": "subscriptionPromotionalOffers_prices_getToManyRelationship", + "operationId": "scmRepositories_gitReferences_getToManyRelationship", "parameters": [ { "name": "limit", @@ -165078,7 +167720,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferPricesLinkagesResponse" + "$ref": "#/components/schemas/ScmRepositoryGitReferencesLinkagesResponse" } } } @@ -165108,53 +167750,27 @@ } ] }, - "/v1/subscriptionPromotionalOffers/{id}/prices": { + "/v1/scmRepositories/{id}/gitReferences": { "get": { "tags": [ - "SubscriptionPromotionalOffers" + "ScmRepositories" ], - "operationId": "subscriptionPromotionalOffers_prices_getToManyRelated", + "operationId": "scmRepositories_gitReferences_getToManyRelated", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionPromotionalOfferPrices]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory", - "subscriptionPricePoint" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -165162,20 +167778,23 @@ "explode": false }, { - "name": "fields[subscriptionPricePoints]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "proceedsYear2", - "territory", - "equalizations", - "adjustedEqualizations" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -165201,8 +167820,7 @@ "items": { "type": "string", "enum": [ - "territory", - "subscriptionPricePoint" + "repository" ] } }, @@ -165252,11 +167870,11 @@ } }, "200": { - "description": "List of SubscriptionPromotionalOfferPrices", + "description": "List of ScmGitReferences", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferPricesResponse" + "$ref": "#/components/schemas/ScmGitReferencesResponse" } } } @@ -165286,13 +167904,24 @@ } ] }, - "/v1/subscriptionVersions/{id}/relationships/image": { + "/v1/scmRepositories/{id}/relationships/pullRequests": { "get": { "tags": [ - "SubscriptionVersions" + "ScmRepositories" + ], + "operationId": "scmRepositories_pullRequests_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "subscriptionVersions_image_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -165335,11 +167964,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionVersionImageLinkageResponse" + "$ref": "#/components/schemas/ScmRepositoryPullRequestsLinkagesResponse" } } } @@ -165369,28 +167998,84 @@ } ] }, - "/v1/subscriptionVersions/{id}/image": { + "/v1/scmRepositories/{id}/pullRequests": { "get": { "tags": [ - "SubscriptionVersions" + "ScmRepositories" ], - "operationId": "subscriptionVersions_image_getToOneRelated", + "operationId": "scmRepositories_pullRequests_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionImages]", + "name": "fields[scmPullRequests]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionImages", + "description": "the fields to include for returned resources of type scmPullRequests", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", + "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", + "isClosed", + "isCrossRepository", + "repository" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "repository" ] } }, @@ -165440,11 +168125,11 @@ } }, "200": { - "description": "Single SubscriptionImage", + "description": "List of ScmPullRequests", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImageV2Response" + "$ref": "#/components/schemas/ScmPullRequestsResponse" } } } @@ -165474,12 +168159,13 @@ } ] }, - "/v1/subscriptionVersions/{id}/relationships/images": { + "/v1/subscriptionAvailabilities/{id}/relationships/availableTerritories": { "get": { "tags": [ - "SubscriptionVersions" + "SubscriptionAvailabilities" ], - "operationId": "subscriptionVersions_images_getToManyRelationship", + "operationId": "subscriptionAvailabilities_availableTerritories_getToManyRelationship", + "deprecated": true, "parameters": [ { "name": "limit", @@ -165538,7 +168224,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionVersionImagesLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionAvailabilityAvailableTerritoriesLinkagesResponse" } } } @@ -165568,28 +168254,24 @@ } ] }, - "/v1/subscriptionVersions/{id}/images": { + "/v1/subscriptionAvailabilities/{id}/availableTerritories": { "get": { "tags": [ - "SubscriptionVersions" + "SubscriptionAvailabilities" ], - "operationId": "subscriptionVersions_images_getToManyRelated", + "operationId": "subscriptionAvailabilities_availableTerritories_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "fields[subscriptionImages]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionImages", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" + "currency" ] } }, @@ -165649,11 +168331,11 @@ } }, "200": { - "description": "List of SubscriptionImages", + "description": "List of Territories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImagesV2Response" + "$ref": "#/components/schemas/TerritoriesResponse" } } } @@ -165683,12 +168365,12 @@ } ] }, - "/v1/subscriptionVersions/{id}/relationships/localizations": { + "/v1/subscriptionGroupVersions/{id}/relationships/localizations": { "get": { "tags": [ - "SubscriptionVersions" + "SubscriptionGroupVersions" ], - "operationId": "subscriptionVersions_localizations_getToManyRelationship", + "operationId": "subscriptionGroupVersions_localizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -165747,7 +168429,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionVersionLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionGroupVersionLocalizationsLinkagesResponse" } } } @@ -165777,25 +168459,25 @@ } ] }, - "/v1/subscriptionVersions/{id}/localizations": { + "/v1/subscriptionGroupVersions/{id}/localizations": { "get": { "tags": [ - "SubscriptionVersions" + "SubscriptionGroupVersions" ], - "operationId": "subscriptionVersions_localizations_getToManyRelated", + "operationId": "subscriptionGroupVersions_localizations_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionLocalizations]", + "name": "fields[subscriptionGroupLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ "name", + "customAppName", "locale", - "description", "version" ] } @@ -165804,9 +168486,9 @@ "explode": false }, { - "name": "fields[subscriptionVersions]", + "name": "fields[subscriptionGroupVersions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionVersions", + "description": "the fields to include for returned resources of type subscriptionGroupVersions", "schema": { "type": "array", "items": { @@ -165814,9 +168496,7 @@ "enum": [ "version", "state", - "subscription", - "image", - "images", + "subscriptionGroup", "localizations" ] } @@ -165893,11 +168573,11 @@ } }, "200": { - "description": "List of SubscriptionLocalizations", + "description": "List of SubscriptionGroupLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationsV2Response" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationsV2Response" } } } @@ -165927,13 +168607,24 @@ } ] }, - "/v1/subscriptions/{id}/relationships/appStoreReviewScreenshot": { + "/v1/subscriptionGroups/{id}/relationships/subscriptionGroupLocalizations": { "get": { "tags": [ - "Subscriptions" + "SubscriptionGroups" + ], + "operationId": "subscriptionGroups_subscriptionGroupLocalizations_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "subscriptions_appStoreReviewScreenshot_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -165976,11 +168667,11 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotLinkageResponse" + "$ref": "#/components/schemas/SubscriptionGroupSubscriptionGroupLocalizationsLinkagesResponse" } } } @@ -166010,31 +168701,27 @@ } ] }, - "/v1/subscriptions/{id}/appStoreReviewScreenshot": { + "/v1/subscriptionGroups/{id}/subscriptionGroupLocalizations": { "get": { "tags": [ - "Subscriptions" + "SubscriptionGroups" ], - "operationId": "subscriptions_appStoreReviewScreenshot_getToOneRelated", + "operationId": "subscriptionGroups_subscriptionGroupLocalizations_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionAppStoreReviewScreenshots]", + "name": "fields[subscriptionGroupLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "imageAsset", - "assetToken", - "assetType", - "uploadOperations", - "assetDeliveryState", - "subscription" + "name", + "customAppName", + "locale", + "state", + "subscriptionGroup" ] } }, @@ -166042,36 +168729,17 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", "versions" ] } @@ -166079,6 +168747,16 @@ "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -166088,7 +168766,7 @@ "items": { "type": "string", "enum": [ - "subscription" + "subscriptionGroup" ] } }, @@ -166138,11 +168816,11 @@ } }, "200": { - "description": "Single SubscriptionAppStoreReviewScreenshot", + "description": "List of SubscriptionGroupLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationsResponse" } } } @@ -166172,12 +168850,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/images": { + "/v1/subscriptionGroups/{id}/relationships/subscriptions": { "get": { "tags": [ - "Subscriptions" + "SubscriptionGroups" ], - "operationId": "subscriptions_images_getToManyRelationship", + "operationId": "subscriptionGroups_subscriptions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -166236,7 +168914,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImagesLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionGroupSubscriptionsLinkagesResponse" } } } @@ -166266,30 +168944,75 @@ } ] }, - "/v1/subscriptions/{id}/images": { + "/v1/subscriptionGroups/{id}/subscriptions": { "get": { "tags": [ - "Subscriptions" + "SubscriptionGroups" ], - "operationId": "subscriptions_images_getToManyRelated", + "operationId": "subscriptionGroups_subscriptions_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionImages]", + "name": "filter[productId]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionImages", + "description": "filter by attribute 'productId'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[name]", + "in": "query", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[state]", + "in": "query", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileSize", - "fileName", - "sourceFileChecksum", - "assetToken", - "imageAsset", - "uploadOperations", - "state", - "subscription" + "MISSING_METADATA", + "READY_TO_SUBMIT", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "DEVELOPER_ACTION_NEEDED", + "PENDING_BINARY_APPROVAL", + "APPROVED", + "DEVELOPER_REMOVED_FROM_SALE", + "REMOVED_FROM_SALE", + "REJECTED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "-name" ] } }, @@ -166334,6 +169057,295 @@ "style": "form", "explode": false }, + { + "name": "fields[subscriptionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "locale", + "description", + "state", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionAppStoreReviewScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGroups]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionIntroductoryOffers]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "startDate", + "endDate", + "duration", + "offerMode", + "numberOfPeriods", + "targetSubscriptionPlanType", + "subscription", + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPromotionalOffers]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "duration", + "name", + "numberOfPeriods", + "offerCode", + "offerMode", + "targetSubscriptionPlanType", + "subscription", + "prices" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionOfferCodes]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "customerEligibilities", + "offerEligibility", + "duration", + "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", + "productionCodeCount", + "sandboxCodeCount", + "active", + "autoRenewEnabled", + "targetSubscriptionPlanType", + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPrices]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "startDate", + "preserved", + "planType", + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[promotedPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleForAllUsers", + "enabled", + "state", + "inAppPurchaseV2", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionAvailabilities]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "availableInNewTerritories", + "availableTerritories" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[winBackOffers]", + "in": "query", + "description": "the fields to include for returned resources of type winBackOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "offerId", + "duration", + "offerMode", + "periodCount", + "customerEligibilityPaidSubscriptionDurationInMonths", + "customerEligibilityTimeSinceLastSubscribedInMonths", + "customerEligibilityWaitBetweenOffersInMonths", + "startDate", + "endDate", + "priority", + "promotionIntent", + "targetSubscriptionPlanType", + "prices" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionImages]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "state", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPlanAvailabilities]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPlanAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "availableInNewTerritories", + "planType", + "availableTerritories" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionVersions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "subscription", + "image", + "images", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -166353,12 +169365,114 @@ "items": { "type": "string", "enum": [ - "subscription" + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[subscriptionLocalizations]", + "in": "query", + "description": "maximum number of related subscriptionLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[introductoryOffers]", + "in": "query", + "description": "maximum number of related introductoryOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[promotionalOffers]", + "in": "query", + "description": "maximum number of related promotionalOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[offerCodes]", + "in": "query", + "description": "maximum number of related offerCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[winBackOffers]", + "in": "query", + "description": "maximum number of related winBackOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[images]", + "in": "query", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[planAvailabilities]", + "in": "query", + "description": "maximum number of related planAvailabilities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -166403,11 +169517,11 @@ } }, "200": { - "description": "List of SubscriptionImages", + "description": "List of Subscriptions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionImagesResponse" + "$ref": "#/components/schemas/SubscriptionsResponse" } } } @@ -166437,12 +169551,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/introductoryOffers": { + "/v1/subscriptionGroups/{id}/relationships/versions": { "get": { "tags": [ - "Subscriptions" + "SubscriptionGroups" ], - "operationId": "subscriptions_introductoryOffers_getToManyRelationship", + "operationId": "subscriptionGroups_versions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -166501,103 +169615,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOffersLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Subscriptions" - ], - "operationId": "subscriptions_introductoryOffers_deleteToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOffersLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionGroupVersionsLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -166623,44 +169645,31 @@ } ] }, - "/v1/subscriptions/{id}/introductoryOffers": { + "/v1/subscriptionGroups/{id}/versions": { "get": { "tags": [ - "Subscriptions" + "SubscriptionGroups" ], - "operationId": "subscriptions_introductoryOffers_getToManyRelated", + "operationId": "subscriptionGroups_versions_getToManyRelated", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionIntroductoryOffers]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "startDate", - "endDate", - "duration", - "offerMode", - "numberOfPeriods", - "targetSubscriptionPlanType", - "subscription", - "territory", - "subscriptionPricePoint" + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REPLACED_WITH_NEW_VERSION", + "REJECTED", + "DEVELOPER_REJECTED" ] } }, @@ -166668,37 +169677,18 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[subscriptionGroupVersions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionGroupVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", + "version", "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "subscriptionGroup", + "localizations" ] } }, @@ -166706,15 +169696,18 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type subscriptionGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "referenceName", + "subscriptions", + "subscriptionGroupLocalizations", + "versions" ] } }, @@ -166722,20 +169715,18 @@ "explode": false }, { - "name": "fields[subscriptionPricePoints]", + "name": "fields[subscriptionGroupLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "proceeds", - "proceedsYear2", - "territory", - "equalizations", - "adjustedEqualizations" + "name", + "customAppName", + "locale", + "version" ] } }, @@ -166761,14 +169752,23 @@ "items": { "type": "string", "enum": [ - "subscription", - "territory", - "subscriptionPricePoint" + "subscriptionGroup", + "localizations" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -166813,11 +169813,11 @@ } }, "200": { - "description": "List of SubscriptionIntroductoryOffers", + "description": "List of SubscriptionGroupVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOffersResponse" + "$ref": "#/components/schemas/SubscriptionGroupVersionsResponse" } } } @@ -166847,12 +169847,95 @@ } ] }, - "/v1/subscriptions/{id}/relationships/offerCodes": { + "/v1/subscriptionOfferCodeOneTimeUseCodes/{id}/values": { "get": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodeOneTimeUseCodes" ], - "operationId": "subscriptions_offerCodes_getToManyRelationship", + "operationId": "subscriptionOfferCodeOneTimeUseCodes_values_getToOneRelated", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single SubscriptionOfferCodeOneTimeUseCodeValue", + "content": { + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionOfferCodes/{id}/relationships/customCodes": { + "get": { + "tags": [ + "SubscriptionOfferCodes" + ], + "operationId": "subscriptionOfferCodes_customCodes_getToManyRelationship", "parameters": [ { "name": "limit", @@ -166911,7 +169994,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodesLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodesLinkagesResponse" } } } @@ -166941,21 +170024,29 @@ } ] }, - "/v1/subscriptions/{id}/offerCodes": { + "/v1/subscriptionOfferCodes/{id}/customCodes": { "get": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodes" ], - "operationId": "subscriptions_offerCodes_getToManyRelated", + "operationId": "subscriptionOfferCodes_customCodes_getToManyRelated", "parameters": [ { - "name": "filter[territory]", + "name": "fields[subscriptionOfferCodeCustomCodes]", "in": "query", - "description": "filter by territory", + "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "customCode", + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "offerCode" + ] } }, "style": "form", @@ -166992,104 +170083,6 @@ "style": "form", "explode": false }, - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "environment", - "offerCode", - "values" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodeCustomCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customCode", - "numberOfCodes", - "createdDate", - "expirationDate", - "active", - "offerCode" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodePrices]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory", - "subscriptionPricePoint" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -167109,45 +170102,12 @@ "items": { "type": "string", "enum": [ - "subscription", - "oneTimeUseCodes", - "customCodes", - "prices" + "offerCode" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[oneTimeUseCodes]", - "in": "query", - "description": "maximum number of related oneTimeUseCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[customCodes]", - "in": "query", - "description": "maximum number of related customCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -167192,11 +170152,11 @@ } }, "200": { - "description": "List of SubscriptionOfferCodes", + "description": "List of SubscriptionOfferCodeCustomCodes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodesResponse" } } } @@ -167226,12 +170186,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/planAvailabilities": { + "/v1/subscriptionOfferCodes/{id}/relationships/oneTimeUseCodes": { "get": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodes" ], - "operationId": "subscriptions_planAvailabilities_getToManyRelationship", + "operationId": "subscriptionOfferCodes_oneTimeUseCodes_getToManyRelationship", "parameters": [ { "name": "limit", @@ -167290,7 +170250,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPlanAvailabilitiesLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodesLinkagesResponse" } } } @@ -167320,25 +170280,29 @@ } ] }, - "/v1/subscriptions/{id}/planAvailabilities": { + "/v1/subscriptionOfferCodes/{id}/oneTimeUseCodes": { "get": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodes" ], - "operationId": "subscriptions_planAvailabilities_getToManyRelated", + "operationId": "subscriptionOfferCodes_oneTimeUseCodes_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionPlanAvailabilities]", + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPlanAvailabilities", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "planType", - "availableTerritories" + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "environment", + "offerCode", + "values" ] } }, @@ -167346,15 +170310,30 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[subscriptionOfferCodes]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "customerEligibilities", + "offerEligibility", + "duration", + "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", + "productionCodeCount", + "sandboxCodeCount", + "active", + "autoRenewEnabled", + "targetSubscriptionPlanType", + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -167380,22 +170359,12 @@ "items": { "type": "string", "enum": [ - "availableTerritories" + "offerCode" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[availableTerritories]", - "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -167440,11 +170409,11 @@ } }, "200": { - "description": "List of SubscriptionPlanAvailabilities", + "description": "List of SubscriptionOfferCodeOneTimeUseCodes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPlanAvailabilitiesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodesResponse" } } } @@ -167474,12 +170443,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/pricePoints": { + "/v1/subscriptionOfferCodes/{id}/relationships/prices": { "get": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodes" ], - "operationId": "subscriptions_pricePoints_getToManyRelationship", + "operationId": "subscriptionOfferCodes_prices_getToManyRelationship", "parameters": [ { "name": "limit", @@ -167487,7 +170456,7 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 8000 + "maximum": 200 }, "style": "form" } @@ -167538,7 +170507,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointsLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodePricesLinkagesResponse" } } } @@ -167568,12 +170537,12 @@ } ] }, - "/v1/subscriptions/{id}/pricePoints": { + "/v1/subscriptionOfferCodes/{id}/prices": { "get": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodes" ], - "operationId": "subscriptions_pricePoints_getToManyRelated", + "operationId": "subscriptionOfferCodes_prices_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -167589,26 +170558,33 @@ "explode": false }, { - "name": "filter[upfrontPricePointId]", + "name": "fields[subscriptionOfferCodePrices]", "in": "query", - "description": "filter by upfrontPricePointId", + "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", "schema": { "type": "array", "items": { - "type": "string" - } - }, - "style": "form", + "type": "string", + "enum": [ + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", "explode": false }, { - "name": "filter[planType]", + "name": "fields[territories]", "in": "query", - "description": "filter by planType", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "currency" + ] } }, "style": "form", @@ -167635,29 +170611,13 @@ "style": "form", "explode": false }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 8000 + "maximum": 200 }, "style": "form" }, @@ -167670,7 +170630,8 @@ "items": { "type": "string", "enum": [ - "territory" + "territory", + "subscriptionPricePoint" ] } }, @@ -167720,16 +170681,11 @@ } }, "200": { - "description": "List of SubscriptionPricePoints", + "description": "List of SubscriptionOfferCodePrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointsResponse" - } - }, - "text/csv": { - "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/SubscriptionOfferCodePricesResponse" } } } @@ -167759,12 +170715,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/prices": { + "/v1/subscriptionPlanAvailabilities/{id}/relationships/availableTerritories": { "get": { "tags": [ - "Subscriptions" + "SubscriptionPlanAvailabilities" ], - "operationId": "subscriptions_prices_getToManyRelationship", + "operationId": "subscriptionPlanAvailabilities_availableTerritories_getToManyRelationship", "parameters": [ { "name": "limit", @@ -167823,7 +170779,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricesLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesResponse" } } } @@ -167840,17 +170796,17 @@ } } }, - "delete": { + "patch": { "tags": [ - "Subscriptions" + "SubscriptionPlanAvailabilities" ], - "operationId": "subscriptions_prices_deleteToManyRelationship", + "operationId": "subscriptionPlanAvailabilities_availableTerritories_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricesLinkagesRequest" + "$ref": "#/components/schemas/SubscriptionPlanAvailabilityAvailableTerritoriesLinkagesRequest" } } }, @@ -167945,76 +170901,13 @@ } ] }, - "/v1/subscriptions/{id}/prices": { + "/v1/subscriptionPlanAvailabilities/{id}/availableTerritories": { "get": { "tags": [ - "Subscriptions" + "SubscriptionPlanAvailabilities" ], - "operationId": "subscriptions_prices_getToManyRelated", + "operationId": "subscriptionPlanAvailabilities_availableTerritories_getToManyRelated", "parameters": [ - { - "name": "filter[planType]", - "in": "query", - "description": "filter by attribute 'planType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "MONTHLY", - "UPFRONT" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[subscriptionPricePoint]", - "in": "query", - "description": "filter by id(s) of related 'subscriptionPricePoint'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionPrices]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "startDate", - "preserved", - "planType", - "territory", - "subscriptionPricePoint" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[territories]", "in": "query", @@ -168031,27 +170924,6 @@ "style": "form", "explode": false }, - { - "name": "fields[subscriptionPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "proceeds", - "proceedsYear2", - "territory", - "equalizations", - "adjustedEqualizations" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -168061,23 +170933,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory", - "subscriptionPricePoint" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -168122,11 +170977,11 @@ } }, "200": { - "description": "List of SubscriptionPrices", + "description": "List of Territories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricesResponse" + "$ref": "#/components/schemas/TerritoriesResponse" } } } @@ -168156,13 +171011,130 @@ } ] }, - "/v1/subscriptions/{id}/relationships/promotedPurchase": { + "/v1/subscriptionPricePoints/{id}/adjustedEqualizations": { "get": { "tags": [ - "Subscriptions" + "SubscriptionPricePoints" + ], + "operationId": "subscriptionPricePoints_adjustedEqualizations_getToManyRelated", + "parameters": [ + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[subscription]", + "in": "query", + "description": "filter by id(s) of related 'subscription'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[upfrontPricePointId]", + "in": "query", + "description": "filter by upfrontPricePointId", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[planType]", + "in": "query", + "description": "filter by planType", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": true + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "equalizations", + "adjustedEqualizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 8000 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory" + ] + } + }, + "style": "form", + "explode": false + } ], - "operationId": "subscriptions_promotedPurchase_getToOneRelationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -168205,11 +171177,16 @@ } }, "200": { - "description": "Related linkage", + "description": "List of SubscriptionPricePoints", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotedPurchaseLinkageResponse" + "$ref": "#/components/schemas/SubscriptionPricePointsResponse" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -168239,59 +171216,174 @@ } ] }, - "/v1/subscriptions/{id}/promotedPurchase": { + "/v1/subscriptionPricePoints/{id}/relationships/equalizations": { "get": { "tags": [ - "Subscriptions" + "SubscriptionPricePoints" ], - "operationId": "subscriptions_promotedPurchase_getToOneRelated", + "operationId": "subscriptionPricePoints_equalizations_getToManyRelationship", "parameters": [ { - "name": "fields[promotedPurchases]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 8000 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPricePointEqualizationsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionPricePoints/{id}/equalizations": { + "get": { + "tags": [ + "SubscriptionPricePoints" + ], + "operationId": "subscriptionPricePoints_equalizations_getToManyRelated", + "parameters": [ + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "visibleForAllUsers", - "enabled", - "state", - "inAppPurchaseV2", - "subscription" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "filter[subscription]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "filter by id(s) of related 'subscription'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[upfrontPricePointId]", + "in": "query", + "description": "filter by upfrontPricePointId", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[planType]", + "in": "query", + "description": "filter by planType", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "inAppPurchaseType", - "state", - "reviewNote", - "familySharable", - "contentHosting", - "inAppPurchaseLocalizations", - "pricePoints", - "content", - "appStoreReviewScreenshot", - "promotedPurchase", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "images", - "offerCodes", - "versions" + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "equalizations", + "adjustedEqualizations" ] } }, @@ -168299,43 +171391,31 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "currency" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 8000 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -168345,8 +171425,7 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2", - "subscription" + "territory" ] } }, @@ -168396,11 +171475,16 @@ } }, "200": { - "description": "Single PromotedPurchase", + "description": "List of SubscriptionPricePoints", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" + "$ref": "#/components/schemas/SubscriptionPricePointsResponse" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -168430,12 +171514,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/promotionalOffers": { + "/v1/subscriptionPromotionalOffers/{id}/relationships/prices": { "get": { "tags": [ - "Subscriptions" + "SubscriptionPromotionalOffers" ], - "operationId": "subscriptions_promotionalOffers_getToManyRelationship", + "operationId": "subscriptionPromotionalOffers_prices_getToManyRelationship", "parameters": [ { "name": "limit", @@ -168494,7 +171578,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOffersLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferPricesLinkagesResponse" } } } @@ -168524,17 +171608,17 @@ } ] }, - "/v1/subscriptions/{id}/promotionalOffers": { + "/v1/subscriptionPromotionalOffers/{id}/prices": { "get": { "tags": [ - "Subscriptions" + "SubscriptionPromotionalOffers" ], - "operationId": "subscriptions_promotionalOffers_getToManyRelated", + "operationId": "subscriptionPromotionalOffers_prices_getToManyRelated", "parameters": [ { "name": "filter[territory]", "in": "query", - "description": "filter by territory", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { @@ -168545,22 +171629,16 @@ "explode": false }, { - "name": "fields[subscriptionPromotionalOffers]", + "name": "fields[subscriptionPromotionalOfferPrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "name", - "numberOfPeriods", - "offerCode", - "offerMode", - "targetSubscriptionPlanType", - "subscription", - "prices" + "territory", + "subscriptionPricePoint" ] } }, @@ -168568,37 +171646,15 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "currency" ] } }, @@ -168606,16 +171662,20 @@ "explode": false }, { - "name": "fields[subscriptionPromotionalOfferPrices]", + "name": "fields[subscriptionPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "customerPrice", + "proceeds", + "proceedsYear2", "territory", - "subscriptionPricePoint" + "equalizations", + "adjustedEqualizations" ] } }, @@ -168641,23 +171701,13 @@ "items": { "type": "string", "enum": [ - "subscription", - "prices" + "territory", + "subscriptionPricePoint" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -168702,11 +171752,11 @@ } }, "200": { - "description": "List of SubscriptionPromotionalOffers", + "description": "List of SubscriptionPromotionalOfferPrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOffersResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferPricesResponse" } } } @@ -168736,13 +171786,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/subscriptionAvailability": { + "/v1/subscriptionVersions/{id}/relationships/image": { "get": { "tags": [ - "Subscriptions" + "SubscriptionVersions" ], - "operationId": "subscriptions_subscriptionAvailability_getToOneRelationship", - "deprecated": true, + "operationId": "subscriptionVersions_image_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -168790,7 +171839,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionSubscriptionAvailabilityLinkageResponse" + "$ref": "#/components/schemas/SubscriptionVersionImageLinkageResponse" } } } @@ -168820,72 +171869,33 @@ } ] }, - "/v1/subscriptions/{id}/subscriptionAvailability": { + "/v1/subscriptionVersions/{id}/image": { "get": { "tags": [ - "Subscriptions" + "SubscriptionVersions" ], - "operationId": "subscriptions_subscriptionAvailability_getToOneRelated", - "deprecated": true, + "operationId": "subscriptionVersions_image_getToOneRelated", "parameters": [ { - "name": "fields[subscriptionAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "availableTerritories" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", + "name": "fields[subscriptionImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableTerritories" + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[availableTerritories]", - "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -168930,11 +171940,11 @@ } }, "200": { - "description": "Single SubscriptionAvailability", + "description": "Single SubscriptionImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" + "$ref": "#/components/schemas/SubscriptionImageV2Response" } } } @@ -168964,12 +171974,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/subscriptionLocalizations": { + "/v1/subscriptionVersions/{id}/relationships/images": { "get": { "tags": [ - "Subscriptions" + "SubscriptionVersions" ], - "operationId": "subscriptions_subscriptionLocalizations_getToManyRelationship", + "operationId": "subscriptionVersions_images_getToManyRelationship", "parameters": [ { "name": "limit", @@ -169028,7 +172038,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionSubscriptionLocalizationsLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionVersionImagesLinkagesResponse" } } } @@ -169058,65 +172068,28 @@ } ] }, - "/v1/subscriptions/{id}/subscriptionLocalizations": { + "/v1/subscriptionVersions/{id}/images": { "get": { "tags": [ - "Subscriptions" + "SubscriptionVersions" ], - "operationId": "subscriptions_subscriptionLocalizations_getToManyRelated", + "operationId": "subscriptionVersions_images_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "locale", - "description", - "state", - "subscription" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptions]", + "name": "fields[subscriptionImages]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" ] } }, @@ -169132,22 +172105,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subscription" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -169192,11 +172149,11 @@ } }, "200": { - "description": "List of SubscriptionLocalizations", + "description": "List of SubscriptionImages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationsResponse" + "$ref": "#/components/schemas/SubscriptionImagesV2Response" } } } @@ -169226,12 +172183,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/versions": { + "/v1/subscriptionVersions/{id}/relationships/localizations": { "get": { "tags": [ - "Subscriptions" + "SubscriptionVersions" ], - "operationId": "subscriptions_versions_getToManyRelationship", + "operationId": "subscriptionVersions_localizations_getToManyRelationship", "parameters": [ { "name": "limit", @@ -169290,7 +172247,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionVersionsLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionVersionLocalizationsLinkagesResponse" } } } @@ -169320,31 +172277,26 @@ } ] }, - "/v1/subscriptions/{id}/versions": { + "/v1/subscriptionVersions/{id}/localizations": { "get": { "tags": [ - "Subscriptions" + "SubscriptionVersions" ], - "operationId": "subscriptions_versions_getToManyRelated", + "operationId": "subscriptionVersions_localizations_getToManyRelated", "parameters": [ { - "name": "filter[state]", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "filter by attribute 'state'", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PREPARE_FOR_SUBMISSION", - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "ACCEPTED", - "APPROVED", - "REPLACED_WITH_NEW_VERSION", - "REJECTED", - "DEVELOPER_REJECTED" + "name", + "locale", + "description", + "version" ] } }, @@ -169372,84 +172324,6 @@ "style": "form", "explode": false }, - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "productId", - "familySharable", - "state", - "subscriptionPeriod", - "reviewNote", - "groupLevel", - "multiSeatStatus", - "marketSettings", - "subscriptionLocalizations", - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "promotionalOffers", - "offerCodes", - "prices", - "pricePoints", - "promotedPurchase", - "subscriptionAvailability", - "winBackOffers", - "images", - "planAvailabilities", - "versions" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionImages]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileSize", - "fileName", - "assetToken", - "imageAsset", - "uploadOperations", - "assetDeliveryState" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "locale", - "description", - "version" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -169469,35 +172343,12 @@ "items": { "type": "string", "enum": [ - "subscription", - "image", - "images", - "localizations" + "version" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[images]", - "in": "query", - "description": "maximum number of related images returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -169542,11 +172393,11 @@ } }, "200": { - "description": "List of SubscriptionVersions", + "description": "List of SubscriptionLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionVersionsResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationsV2Response" } } } @@ -169576,24 +172427,13 @@ } ] }, - "/v1/subscriptions/{id}/relationships/winBackOffers": { + "/v1/subscriptions/{id}/relationships/appStoreReviewScreenshot": { "get": { "tags": [ "Subscriptions" ], - "operationId": "subscriptions_winBackOffers_getToManyRelationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "operationId": "subscriptions_appStoreReviewScreenshot_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -169636,11 +172476,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionWinBackOffersLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotLinkageResponse" } } } @@ -169670,36 +172510,31 @@ } ] }, - "/v1/subscriptions/{id}/winBackOffers": { + "/v1/subscriptions/{id}/appStoreReviewScreenshot": { "get": { "tags": [ "Subscriptions" ], - "operationId": "subscriptions_winBackOffers_getToManyRelated", + "operationId": "subscriptions_appStoreReviewScreenshot_getToOneRelated", "parameters": [ { - "name": "fields[winBackOffers]", + "name": "fields[subscriptionAppStoreReviewScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type winBackOffers", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "referenceName", - "offerId", - "duration", - "offerMode", - "periodCount", - "customerEligibilityPaidSubscriptionDurationInMonths", - "customerEligibilityTimeSinceLastSubscribedInMonths", - "customerEligibilityWaitBetweenOffersInMonths", - "startDate", - "endDate", - "priority", - "promotionIntent", - "targetSubscriptionPlanType", - "prices" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "subscription" ] } }, @@ -169707,32 +172542,43 @@ "explode": false }, { - "name": "fields[winBackOfferPrices]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type winBackOfferPrices", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "territory", - "subscriptionPricePoint" + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -169742,22 +172588,12 @@ "items": { "type": "string", "enum": [ - "prices" + "subscription" ] } }, "style": "form", "explode": false - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" } ], "responses": { @@ -169802,11 +172638,11 @@ } }, "200": { - "description": "List of WinBackOffers", + "description": "Single SubscriptionAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WinBackOffersResponse" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" } } } @@ -169836,12 +172672,12 @@ } ] }, - "/v1/userInvitations/{id}/relationships/visibleApps": { + "/v1/subscriptions/{id}/relationships/images": { "get": { "tags": [ - "UserInvitations" + "Subscriptions" ], - "operationId": "userInvitations_visibleApps_getToManyRelationship", + "operationId": "subscriptions_images_getToManyRelationship", "parameters": [ { "name": "limit", @@ -169900,7 +172736,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitationVisibleAppsLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionImagesLinkagesResponse" } } } @@ -169930,78 +172766,68 @@ } ] }, - "/v1/userInvitations/{id}/visibleApps": { + "/v1/subscriptions/{id}/images": { "get": { "tags": [ - "UserInvitations" + "Subscriptions" ], - "operationId": "userInvitations_visibleApps_getToManyRelated", + "operationId": "subscriptions_images_getToManyRelated", "parameters": [ { - "name": "fields[apps]", + "name": "fields[subscriptionImages]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type subscriptionImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "state", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" ] } }, @@ -170017,6 +172843,22 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscription" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -170061,11 +172903,11 @@ } }, "200": { - "description": "List of Apps with get", + "description": "List of SubscriptionImages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppsWithoutIncludesResponse" + "$ref": "#/components/schemas/SubscriptionImagesResponse" } } } @@ -170095,12 +172937,12 @@ } ] }, - "/v1/users/{id}/relationships/visibleApps": { + "/v1/subscriptions/{id}/relationships/introductoryOffers": { "get": { "tags": [ - "Users" + "Subscriptions" ], - "operationId": "users_visibleApps_getToManyRelationship", + "operationId": "subscriptions_introductoryOffers_getToManyRelationship", "parameters": [ { "name": "limit", @@ -170159,195 +173001,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserVisibleAppsLinkagesResponse" - } - } - } - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "Users" - ], - "operationId": "users_visibleApps_createToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "Users" - ], - "operationId": "users_visibleApps_replaceToManyRelationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "422": { - "description": "Unprocessable request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionIntroductoryOffersLinkagesResponse" } } } }, - "204": { - "description": "Success (no content)" - }, "429": { "description": "Rate limit exceeded error", "content": { @@ -170362,15 +173020,15 @@ }, "delete": { "tags": [ - "Users" + "Subscriptions" ], - "operationId": "users_visibleApps_deleteToManyRelationship", + "operationId": "subscriptions_introductoryOffers_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" + "$ref": "#/components/schemas/SubscriptionIntroductoryOffersLinkagesRequest" } } }, @@ -170465,78 +173123,119 @@ } ] }, - "/v1/users/{id}/visibleApps": { + "/v1/subscriptions/{id}/introductoryOffers": { "get": { "tags": [ - "Users" + "Subscriptions" ], - "operationId": "users_visibleApps_getToManyRelated", + "operationId": "subscriptions_introductoryOffers_getToManyRelated", "parameters": [ { - "name": "fields[apps]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionIntroductoryOffers]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "startDate", + "endDate", + "duration", + "offerMode", + "numberOfPeriods", + "targetSubscriptionPlanType", + "subscription", + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessibilityUrl", "name", - "bundleId", - "sku", - "primaryLocale", - "isOrEverWasMadeForKids", - "subscriptionStatusUrl", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersionForSandbox", - "contentRightsDeclaration", - "streamlinedPurchasingEnabled", - "accessibilityDeclarations", - "appEncryptionDeclarations", - "appStoreIcon", - "ciProduct", - "betaTesters", - "betaGroups", - "appStoreVersions", - "appTags", - "preReleaseVersions", - "betaAppLocalizations", - "builds", - "betaLicenseAgreement", - "betaAppReviewDetail", - "appInfos", - "appClips", - "appPricePoints", - "endUserLicenseAgreement", - "appPriceSchedule", - "appAvailabilityV2", - "inAppPurchases", - "subscriptionGroups", - "gameCenterEnabledVersions", - "performanceOverviews", - "perfPowerMetrics", - "appCustomProductPages", - "inAppPurchasesV2", - "promotedPurchases", - "appEvents", - "reviewSubmissions", - "subscriptionGracePeriod", - "customerReviews", - "customerReviewSummarizations", - "gameCenterDetail", - "appStoreVersionExperimentsV2", - "alternativeDistributionKey", - "analyticsReportRequests", - "marketplaceSearchDetail", - "buildUploads", - "backgroundAssets", - "betaFeedbackScreenshotSubmissions", - "betaFeedbackCrashSubmissions", - "searchKeywords", - "webhooks", - "androidToIosAppMappingDetails" + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "equalizations", + "adjustedEqualizations" ] } }, @@ -170552,6 +173251,24 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscription", + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -170596,11 +173313,11 @@ } }, "200": { - "description": "List of Apps with get", + "description": "List of SubscriptionIntroductoryOffers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppsWithoutIncludesResponse" + "$ref": "#/components/schemas/SubscriptionIntroductoryOffersResponse" } } } @@ -170630,12 +173347,12 @@ } ] }, - "/v1/webhooks/{id}/relationships/deliveries": { + "/v1/subscriptions/{id}/relationships/offerCodes": { "get": { "tags": [ - "Webhooks" + "Subscriptions" ], - "operationId": "webhooks_deliveries_getToManyRelationship", + "operationId": "subscriptions_offerCodes_getToManyRelationship", "parameters": [ { "name": "limit", @@ -170694,7 +173411,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WebhookDeliveriesLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodesLinkagesResponse" } } } @@ -170724,25 +173441,51 @@ } ] }, - "/v1/webhooks/{id}/deliveries": { + "/v1/subscriptions/{id}/offerCodes": { "get": { "tags": [ - "Webhooks" + "Subscriptions" ], - "operationId": "webhooks_deliveries_getToManyRelated", + "operationId": "subscriptions_offerCodes_getToManyRelated", "parameters": [ { - "name": "filter[deliveryState]", + "name": "filter[territory]", "in": "query", - "description": "filter by attribute 'deliveryState'", + "description": "filter by territory", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionOfferCodes]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "SUCCEEDED", - "FAILED", - "PENDING" + "name", + "customerEligibilities", + "offerEligibility", + "duration", + "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", + "productionCodeCount", + "sandboxCodeCount", + "active", + "autoRenewEnabled", + "targetSubscriptionPlanType", + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -170750,48 +173493,80 @@ "explode": false }, { - "name": "filter[createdDateGreaterThanOrEqualTo]", + "name": "fields[subscriptions]", "in": "query", - "description": "filter by createdDateGreaterThanOrEqualTo", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] } }, "style": "form", "explode": false }, { - "name": "filter[createdDateLessThan]", + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", "in": "query", - "description": "filter by createdDateLessThan", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "environment", + "offerCode", + "values" + ] } }, "style": "form", "explode": false }, { - "name": "fields[webhookDeliveries]", + "name": "fields[subscriptionOfferCodeCustomCodes]", "in": "query", - "description": "the fields to include for returned resources of type webhookDeliveries", + "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "customCode", + "numberOfCodes", "createdDate", - "deliveryState", - "errorMessage", - "redelivery", - "sentDate", - "request", - "response", - "event" + "expirationDate", + "active", + "offerCode" ] } }, @@ -170799,18 +173574,16 @@ "explode": false }, { - "name": "fields[webhookEvents]", + "name": "fields[subscriptionOfferCodePrices]", "in": "query", - "description": "the fields to include for returned resources of type webhookEvents", + "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "eventType", - "payload", - "ping", - "createdDate" + "territory", + "subscriptionPricePoint" ] } }, @@ -170836,12 +173609,45 @@ "items": { "type": "string", "enum": [ - "event" + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[oneTimeUseCodes]", + "in": "query", + "description": "maximum number of related oneTimeUseCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[customCodes]", + "in": "query", + "description": "maximum number of related customCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -170886,11 +173692,11 @@ } }, "200": { - "description": "List of WebhookDeliveries", + "description": "List of SubscriptionOfferCodes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WebhookDeliveriesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodesResponse" } } } @@ -170920,12 +173726,12 @@ } ] }, - "/v1/winBackOffers/{id}/relationships/prices": { + "/v1/subscriptions/{id}/relationships/planAvailabilities": { "get": { "tags": [ - "WinBackOffers" + "Subscriptions" ], - "operationId": "winBackOffers_prices_getToManyRelationship", + "operationId": "subscriptions_planAvailabilities_getToManyRelationship", "parameters": [ { "name": "limit", @@ -170984,7 +173790,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WinBackOfferPricesLinkagesResponse" + "$ref": "#/components/schemas/SubscriptionPlanAvailabilitiesLinkagesResponse" } } } @@ -171014,37 +173820,25 @@ } ] }, - "/v1/winBackOffers/{id}/prices": { + "/v1/subscriptions/{id}/planAvailabilities": { "get": { "tags": [ - "WinBackOffers" + "Subscriptions" ], - "operationId": "winBackOffers_prices_getToManyRelated", + "operationId": "subscriptions_planAvailabilities_getToManyRelated", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[winBackOfferPrices]", + "name": "fields[subscriptionPlanAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type winBackOfferPrices", + "description": "the fields to include for returned resources of type subscriptionPlanAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "territory", - "subscriptionPricePoint" + "availableInNewTerritories", + "planType", + "availableTerritories" ] } }, @@ -171067,27 +173861,6 @@ "style": "form", "explode": false }, - { - "name": "fields[subscriptionPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "proceeds", - "proceedsYear2", - "territory", - "equalizations", - "adjustedEqualizations" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -171107,13 +173880,22 @@ "items": { "type": "string", "enum": [ - "territory", - "subscriptionPricePoint" + "availableTerritories" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[availableTerritories]", + "in": "query", + "description": "maximum number of related availableTerritories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -171158,11 +173940,11 @@ } }, "200": { - "description": "List of WinBackOfferPrices", + "description": "List of SubscriptionPlanAvailabilities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WinBackOfferPricesResponse" + "$ref": "#/components/schemas/SubscriptionPlanAvailabilitiesResponse" } } } @@ -171192,81 +173974,20 @@ } ] }, - "/v1/apps/{id}/metrics/betaTesterUsages": { + "/v1/subscriptions/{id}/relationships/pricePoints": { "get": { "tags": [ - "Apps", - "Metrics" + "Subscriptions" ], - "operationId": "apps_betaTesterUsages_getMetrics", + "operationId": "subscriptions_pricePoints_getToManyRelationship", "parameters": [ - { - "name": "period", - "in": "query", - "description": "the duration of the reporting period", - "schema": { - "type": "string", - "enum": [ - "P7D", - "P30D", - "P90D", - "P365D" - ] - }, - "style": "form", - "explode": false, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } - }, - { - "name": "groupBy", - "in": "query", - "description": "the dimension by which to group the results", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "betaTesters" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[betaTesters]", - "in": "query", - "description": "filter by 'betaTesters' relationship dimension", - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "limit", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 200 + "maximum": 8000 }, "style": "form" } @@ -171313,11 +174034,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionPricePointsLinkagesResponse" } } } @@ -171347,57 +174068,67 @@ } ] }, - "/v1/betaGroups/{id}/metrics/betaTesterUsages": { + "/v1/subscriptions/{id}/pricePoints": { "get": { "tags": [ - "BetaGroups", - "Metrics" + "Subscriptions" ], - "operationId": "betaGroups_betaTesterUsages_getMetrics", + "operationId": "subscriptions_pricePoints_getToManyRelated", "parameters": [ { - "name": "period", + "name": "filter[territory]", "in": "query", - "description": "the duration of the reporting period", + "description": "filter by id(s) of related 'territory'", "schema": { - "type": "string", - "enum": [ - "P7D", - "P30D", - "P90D", - "P365D" - ] + "type": "array", + "items": { + "type": "string" + } }, "style": "form", - "explode": false, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" + "explode": false + }, + { + "name": "filter[upfrontPricePointId]", + "in": "query", + "description": "filter by upfrontPricePointId", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, { - "name": "groupBy", + "name": "filter[planType]", "in": "query", - "description": "the dimension by which to group the results", + "description": "filter by planType", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "betaTesters" + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "equalizations", + "adjustedEqualizations" ] } }, @@ -171405,25 +174136,46 @@ "explode": false }, { - "name": "filter[betaTesters]", + "name": "fields[territories]", "in": "query", - "description": "filter by 'betaTesters' relationship dimension", + "description": "the fields to include for returned resources of type territories", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } }, "style": "form", - "explode": false, - "required": false + "explode": false }, { "name": "limit", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 200 + "maximum": 8000 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -171468,11 +174220,16 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of SubscriptionPricePoints", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionPricePointsResponse" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -171502,18 +174259,17 @@ } ] }, - "/v1/betaGroups/{id}/metrics/publicLinkUsages": { + "/v1/subscriptions/{id}/relationships/prices": { "get": { "tags": [ - "BetaGroups", - "Metrics" + "Subscriptions" ], - "operationId": "betaGroups_publicLinkUsages_getMetrics", + "operationId": "subscriptions_prices_getToManyRelationship", "parameters": [ { "name": "limit", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum resources per page", "schema": { "type": "integer", "maximum": 200 @@ -171563,11 +174319,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaPublicLinkUsagesV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionPricesLinkagesResponse" } } } @@ -171584,82 +174340,22 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/betaTesters/{id}/metrics/betaTesterUsages": { - "get": { + "delete": { "tags": [ - "BetaTesters", - "Metrics" + "Subscriptions" ], - "operationId": "betaTesters_betaTesterUsages_getMetrics", - "parameters": [ - { - "name": "period", - "in": "query", - "description": "the duration of the reporting period", - "schema": { - "type": "string", - "enum": [ - "P7D", - "P30D", - "P90D", - "P365D" - ] - }, - "style": "form", - "explode": false, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" + "operationId": "subscriptions_prices_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPricesLinkagesRequest" } } }, - { - "name": "filter[apps]", - "in": "query", - "description": "filter by 'apps' relationship dimension", - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -171701,16 +174397,29 @@ } } }, - "200": { - "description": "Metrics data response", + "422": { + "description": "Unprocessable request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTesterUsagesV1MetricResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, + "204": { + "description": "Success (no content)" + }, "429": { "description": "Rate limit exceeded error", "content": { @@ -171736,23 +174445,139 @@ } ] }, - "/v1/builds/{id}/metrics/betaBuildUsages": { + "/v1/subscriptions/{id}/prices": { "get": { "tags": [ - "Builds", - "Metrics" + "Subscriptions" ], - "operationId": "builds_betaBuildUsages_getMetrics", + "operationId": "subscriptions_prices_getToManyRelated", "parameters": [ + { + "name": "filter[planType]", + "in": "query", + "description": "filter by attribute 'planType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "MONTHLY", + "UPFRONT" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[subscriptionPricePoint]", + "in": "query", + "description": "filter by id(s) of related 'subscriptionPricePoint'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPrices]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "startDate", + "preserved", + "planType", + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "equalizations", + "adjustedEqualizations" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum resources per page", "schema": { "type": "integer", "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -171797,11 +174622,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of SubscriptionPrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildUsagesV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionPricesResponse" } } } @@ -171831,113 +174656,13 @@ } ] }, - "/v1/gameCenterDetails/{id}/metrics/classicMatchmakingRequests": { + "/v1/subscriptions/{id}/relationships/promotedPurchase": { "get": { "tags": [ - "GameCenterDetails", - "Metrics" - ], - "operationId": "gameCenterDetails_classicMatchmakingRequests_getMetrics", - "parameters": [ - { - "name": "granularity", - "in": "query", - "description": "the granularity of the per-group dataset", - "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - }, - "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } - }, - { - "name": "groupBy", - "in": "query", - "description": "the dimension by which to group the results", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "result" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[result]", - "in": "query", - "description": "filter by 'result' attribute dimension", - "schema": { - "type": "string", - "enum": [ - "MATCHED", - "CANCELED", - "EXPIRED" - ] - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "count", - "-count", - "averageSecondsInQueue", - "-averageSecondsInQueue", - "p50SecondsInQueue", - "-p50SecondsInQueue", - "p95SecondsInQueue", - "-p95SecondsInQueue" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "Subscriptions" ], + "operationId": "subscriptions_promotedPurchase_getToOneRelationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -171980,11 +174705,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionPromotedPurchaseLinkageResponse" } } } @@ -172014,57 +174739,59 @@ } ] }, - "/v1/gameCenterDetails/{id}/metrics/ruleBasedMatchmakingRequests": { + "/v1/subscriptions/{id}/promotedPurchase": { "get": { "tags": [ - "GameCenterDetails", - "Metrics" + "Subscriptions" ], - "operationId": "gameCenterDetails_ruleBasedMatchmakingRequests_getMetrics", + "operationId": "subscriptions_promotedPurchase_getToOneRelated", "parameters": [ { - "name": "granularity", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the granularity of the per-group dataset", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleForAllUsers", + "enabled", + "state", + "inAppPurchaseV2", + "subscription" + ] + } }, "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } + "explode": false }, { - "name": "groupBy", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the dimension by which to group the results", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "result" + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images", + "offerCodes", + "versions" ] } }, @@ -172072,53 +174799,59 @@ "explode": false }, { - "name": "filter[result]", + "name": "fields[subscriptions]", "in": "query", - "description": "filter by 'result' attribute dimension", + "description": "the fields to include for returned resources of type subscriptions", "schema": { - "type": "string", - "enum": [ - "MATCHED", - "CANCELED", - "EXPIRED" - ] + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } }, "style": "form", - "explode": false, - "required": false + "explode": false }, { - "name": "sort", + "name": "include", "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "count", - "-count", - "averageSecondsInQueue", - "-averageSecondsInQueue", - "p50SecondsInQueue", - "-p50SecondsInQueue", - "p95SecondsInQueue", - "-p95SecondsInQueue" + "inAppPurchaseV2", + "subscription" ] } }, "style": "form", "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" } ], "responses": { @@ -172163,11 +174896,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } @@ -172197,74 +174930,17 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingQueueSizes": { + "/v1/subscriptions/{id}/relationships/promotionalOffers": { "get": { "tags": [ - "GameCenterMatchmakingQueues", - "Metrics" + "Subscriptions" ], - "operationId": "gameCenterMatchmakingQueues_experimentMatchmakingQueueSizes_getMetrics", + "operationId": "subscriptions_promotionalOffers_getToManyRelationship", "parameters": [ - { - "name": "granularity", - "in": "query", - "description": "the granularity of the per-group dataset", - "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - }, - "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "count", - "-count", - "averageNumberOfRequests", - "-averageNumberOfRequests", - "p50NumberOfRequests", - "-p50NumberOfRequests", - "p95NumberOfRequests", - "-p95NumberOfRequests" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum resources per page", "schema": { "type": "integer", "maximum": 200 @@ -172314,11 +174990,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueSizesV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOffersLinkagesResponse" } } } @@ -172348,58 +175024,43 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingRequests": { + "/v1/subscriptions/{id}/promotionalOffers": { "get": { "tags": [ - "GameCenterMatchmakingQueues", - "Metrics" + "Subscriptions" ], - "operationId": "gameCenterMatchmakingQueues_experimentMatchmakingRequests_getMetrics", + "operationId": "subscriptions_promotionalOffers_getToManyRelated", "parameters": [ { - "name": "granularity", + "name": "filter[territory]", "in": "query", - "description": "the granularity of the per-group dataset", + "description": "filter by territory", "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] + "type": "array", + "items": { + "type": "string" + } }, "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } + "explode": false }, { - "name": "groupBy", + "name": "fields[subscriptionPromotionalOffers]", "in": "query", - "description": "the dimension by which to group the results", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "result", - "gameCenterDetail" + "duration", + "name", + "numberOfPeriods", + "offerCode", + "offerMode", + "targetSubscriptionPlanType", + "subscription", + "prices" ] } }, @@ -172407,49 +175068,81 @@ "explode": false }, { - "name": "filter[result]", + "name": "fields[subscriptions]", "in": "query", - "description": "filter by 'result' attribute dimension", + "description": "the fields to include for returned resources of type subscriptions", "schema": { - "type": "string", - "enum": [ - "MATCHED", - "CANCELED", - "EXPIRED" - ] + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } }, "style": "form", - "explode": false, - "required": false + "explode": false }, { - "name": "filter[gameCenterDetail]", + "name": "fields[subscriptionPromotionalOfferPrices]", "in": "query", - "description": "filter by 'gameCenterDetail' relationship dimension", + "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory", + "subscriptionPricePoint" + ] + } }, "style": "form", - "explode": false, - "required": false + "explode": false }, { - "name": "sort", + "name": "limit", "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "count", - "-count", - "averageSecondsInQueue", - "-averageSecondsInQueue", - "p50SecondsInQueue", - "-p50SecondsInQueue", - "p95SecondsInQueue", - "-p95SecondsInQueue" + "subscription", + "prices" ] } }, @@ -172457,12 +175150,12 @@ "explode": false }, { - "name": "limit", + "name": "limit[prices]", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum number of related prices returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" } @@ -172509,11 +175202,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of SubscriptionPromotionalOffers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueRequestsV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOffersResponse" } } } @@ -172543,81 +175236,14 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingQueueSizes": { + "/v1/subscriptions/{id}/relationships/subscriptionAvailability": { "get": { "tags": [ - "GameCenterMatchmakingQueues", - "Metrics" - ], - "operationId": "gameCenterMatchmakingQueues_matchmakingQueueSizes_getMetrics", - "parameters": [ - { - "name": "granularity", - "in": "query", - "description": "the granularity of the per-group dataset", - "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - }, - "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "count", - "-count", - "averageNumberOfRequests", - "-averageNumberOfRequests", - "p50NumberOfRequests", - "-p50NumberOfRequests", - "p95NumberOfRequests", - "-p95NumberOfRequests" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "Subscriptions" ], + "operationId": "subscriptions_subscriptionAvailability_getToOneRelationship", + "deprecated": true, + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -172660,11 +175286,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueSizesV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionSubscriptionAvailabilityLinkageResponse" } } } @@ -172694,58 +175320,25 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingRequests": { + "/v1/subscriptions/{id}/subscriptionAvailability": { "get": { "tags": [ - "GameCenterMatchmakingQueues", - "Metrics" + "Subscriptions" ], - "operationId": "gameCenterMatchmakingQueues_matchmakingRequests_getMetrics", + "operationId": "subscriptions_subscriptionAvailability_getToOneRelated", + "deprecated": true, "parameters": [ { - "name": "granularity", - "in": "query", - "description": "the granularity of the per-group dataset", - "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - }, - "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } - }, - { - "name": "groupBy", + "name": "fields[subscriptionAvailabilities]", "in": "query", - "description": "the dimension by which to group the results", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "result", - "gameCenterDetail" + "availableInNewTerritories", + "availableTerritories" ] } }, @@ -172753,49 +175346,31 @@ "explode": false }, { - "name": "filter[result]", - "in": "query", - "description": "filter by 'result' attribute dimension", - "schema": { - "type": "string", - "enum": [ - "MATCHED", - "CANCELED", - "EXPIRED" - ] - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[gameCenterDetail]", + "name": "fields[territories]", "in": "query", - "description": "filter by 'gameCenterDetail' relationship dimension", + "description": "the fields to include for returned resources of type territories", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } }, "style": "form", - "explode": false, - "required": false + "explode": false }, { - "name": "sort", + "name": "include", "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "count", - "-count", - "averageSecondsInQueue", - "-averageSecondsInQueue", - "p50SecondsInQueue", - "-p50SecondsInQueue", - "p95SecondsInQueue", - "-p95SecondsInQueue" + "availableTerritories" ] } }, @@ -172803,12 +175378,12 @@ "explode": false }, { - "name": "limit", + "name": "limit[availableTerritories]", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum number of related availableTerritories returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" } @@ -172855,11 +175430,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "Single SubscriptionAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueRequestsV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" } } } @@ -172889,74 +175464,17 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingSessions": { + "/v1/subscriptions/{id}/relationships/subscriptionLocalizations": { "get": { "tags": [ - "GameCenterMatchmakingQueues", - "Metrics" + "Subscriptions" ], - "operationId": "gameCenterMatchmakingQueues_matchmakingSessions_getMetrics", + "operationId": "subscriptions_subscriptionLocalizations_getToManyRelationship", "parameters": [ - { - "name": "granularity", - "in": "query", - "description": "the granularity of the per-group dataset", - "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - }, - "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "count", - "-count", - "averagePlayerCount", - "-averagePlayerCount", - "p50PlayerCount", - "-p50PlayerCount", - "p95PlayerCount", - "-p95PlayerCount" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum resources per page", "schema": { "type": "integer", "maximum": 200 @@ -173006,11 +175524,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingSessionsV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionSubscriptionLocalizationsLinkagesResponse" } } } @@ -173040,58 +175558,27 @@ } ] }, - "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingBooleanRuleResults": { + "/v1/subscriptions/{id}/subscriptionLocalizations": { "get": { "tags": [ - "GameCenterMatchmakingRules", - "Metrics" + "Subscriptions" ], - "operationId": "gameCenterMatchmakingRules_matchmakingBooleanRuleResults_getMetrics", + "operationId": "subscriptions_subscriptionLocalizations_getToManyRelated", "parameters": [ { - "name": "granularity", - "in": "query", - "description": "the granularity of the per-group dataset", - "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - }, - "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } - }, - { - "name": "groupBy", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "the dimension by which to group the results", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "result", - "gameCenterMatchmakingQueue" + "name", + "locale", + "description", + "state", + "subscription" ] } }, @@ -173099,53 +175586,68 @@ "explode": false }, { - "name": "filter[result]", + "name": "fields[subscriptions]", "in": "query", - "description": "filter by 'result' attribute dimension", + "description": "the fields to include for returned resources of type subscriptions", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } }, "style": "form", - "explode": false, - "required": false + "explode": false }, { - "name": "filter[gameCenterMatchmakingQueue]", + "name": "limit", "in": "query", - "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", + "description": "maximum resources per page", "schema": { - "type": "string" + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false, - "required": false + "style": "form" }, { - "name": "sort", + "name": "include", "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "count", - "-count" + "subscription" ] } }, "style": "form", "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" } ], "responses": { @@ -173190,11 +175692,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of SubscriptionLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationsResponse" } } } @@ -173224,57 +175726,125 @@ } ] }, - "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingNumberRuleResults": { + "/v1/subscriptions/{id}/relationships/versions": { "get": { "tags": [ - "GameCenterMatchmakingRules", - "Metrics" + "Subscriptions" ], - "operationId": "gameCenterMatchmakingRules_matchmakingNumberRuleResults_getMetrics", + "operationId": "subscriptions_versions_getToManyRelationship", "parameters": [ { - "name": "granularity", + "name": "limit", "in": "query", - "description": "the granularity of the per-group dataset", + "description": "maximum resources per page", "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionVersionsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptions/{id}/versions": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions_versions_getToManyRelated", + "parameters": [ { - "name": "groupBy", + "name": "filter[state]", "in": "query", - "description": "the dimension by which to group the results", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterMatchmakingQueue" + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REPLACED_WITH_NEW_VERSION", + "REJECTED", + "DEVELOPER_REJECTED" ] } }, @@ -173282,33 +175852,98 @@ "explode": false }, { - "name": "filter[gameCenterMatchmakingQueue]", + "name": "fields[subscriptionVersions]", "in": "query", - "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", + "description": "the fields to include for returned resources of type subscriptionVersions", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "subscription", + "image", + "images", + "localizations" + ] + } }, "style": "form", - "explode": false, - "required": false + "explode": false }, { - "name": "sort", + "name": "fields[subscriptions]", "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "count", - "-count", - "averageResult", - "-averageResult", - "p50Result", - "-p50Result", - "p95Result", - "-p95Result" + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "multiSeatStatus", + "marketSettings", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images", + "planAvailabilities", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionImages]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "assetToken", + "imageAsset", + "uploadOperations", + "assetDeliveryState" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "locale", + "description", + "version" ] } }, @@ -173318,12 +175953,51 @@ { "name": "limit", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum resources per page", "schema": { "type": "integer", "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscription", + "image", + "images", + "localizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[images]", + "in": "query", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -173368,11 +176042,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of SubscriptionVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingNumberRuleResultsV1MetricResponse" + "$ref": "#/components/schemas/SubscriptionVersionsResponse" } } } @@ -173402,189 +176076,5767 @@ } ] }, - "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingRuleErrors": { + "/v1/subscriptions/{id}/relationships/winBackOffers": { "get": { "tags": [ - "GameCenterMatchmakingRules", - "Metrics" + "Subscriptions" ], - "operationId": "gameCenterMatchmakingRules_matchmakingRuleErrors_getMetrics", + "operationId": "subscriptions_winBackOffers_getToManyRelationship", "parameters": [ { - "name": "granularity", + "name": "limit", "in": "query", - "description": "the granularity of the per-group dataset", + "description": "maximum resources per page", "schema": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionWinBackOffersLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptions/{id}/winBackOffers": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions_winBackOffers_getToManyRelated", + "parameters": [ + { + "name": "fields[winBackOffers]", + "in": "query", + "description": "the fields to include for returned resources of type winBackOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "offerId", + "duration", + "offerMode", + "periodCount", + "customerEligibilityPaidSubscriptionDurationInMonths", + "customerEligibilityTimeSinceLastSubscribedInMonths", + "customerEligibilityWaitBetweenOffersInMonths", + "startDate", + "endDate", + "priority", + "promotionIntent", + "targetSubscriptionPlanType", + "prices" + ] + } }, "style": "form", - "explode": false, - "required": true, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" + "explode": false + }, + { + "name": "fields[winBackOfferPrices]", + "in": "query", + "description": "the fields to include for returned resources of type winBackOfferPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "prices" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of WinBackOffers", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WinBackOffersResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/userInvitations/{id}/relationships/visibleApps": { + "get": { + "tags": [ + "UserInvitations" + ], + "operationId": "userInvitations_visibleApps_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserInvitationVisibleAppsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/userInvitations/{id}/visibleApps": { + "get": { + "tags": [ + "UserInvitations" + ], + "operationId": "userInvitations_visibleApps_getToManyRelated", + "parameters": [ + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Apps with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppsWithoutIncludesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/users/{id}/relationships/visibleApps": { + "get": { + "tags": [ + "Users" + ], + "operationId": "users_visibleApps_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserVisibleAppsLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "Users" + ], + "operationId": "users_visibleApps_createToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "Users" + ], + "operationId": "users_visibleApps_replaceToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, - { - "name": "groupBy", - "in": "query", - "description": "the dimension by which to group the results", - "schema": { - "type": "array", - "items": { + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Users" + ], + "operationId": "users_visibleApps_deleteToManyRelationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "422": { + "description": "Unprocessable request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/users/{id}/visibleApps": { + "get": { + "tags": [ + "Users" + ], + "operationId": "users_visibleApps_getToManyRelated", + "parameters": [ + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "accessibilityUrl", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "accessibilityDeclarations", + "appEncryptionDeclarations", + "appStoreIcon", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "appTags", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "appPriceSchedule", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "performanceOverviews", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "customerReviews", + "customerReviewSummarizations", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail", + "buildUploads", + "backgroundAssets", + "assetLibrary", + "betaFeedbackScreenshotSubmissions", + "betaFeedbackCrashSubmissions", + "searchKeywords", + "webhooks", + "androidToIosAppMappingDetails" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Apps with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppsWithoutIncludesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/webhooks/{id}/relationships/deliveries": { + "get": { + "tags": [ + "Webhooks" + ], + "operationId": "webhooks_deliveries_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookDeliveriesLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/webhooks/{id}/deliveries": { + "get": { + "tags": [ + "Webhooks" + ], + "operationId": "webhooks_deliveries_getToManyRelated", + "parameters": [ + { + "name": "filter[deliveryState]", + "in": "query", + "description": "filter by attribute 'deliveryState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "SUCCEEDED", + "FAILED", + "PENDING" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[createdDateGreaterThanOrEqualTo]", + "in": "query", + "description": "filter by createdDateGreaterThanOrEqualTo", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[createdDateLessThan]", + "in": "query", + "description": "filter by createdDateLessThan", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[webhookDeliveries]", + "in": "query", + "description": "the fields to include for returned resources of type webhookDeliveries", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "deliveryState", + "errorMessage", + "redelivery", + "sentDate", + "request", + "response", + "event" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[webhookEvents]", + "in": "query", + "description": "the fields to include for returned resources of type webhookEvents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "eventType", + "payload", + "ping", + "createdDate" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "event" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of WebhookDeliveries", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebhookDeliveriesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/winBackOffers/{id}/relationships/prices": { + "get": { + "tags": [ + "WinBackOffers" + ], + "operationId": "winBackOffers_prices_getToManyRelationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WinBackOfferPricesLinkagesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/winBackOffers/{id}/prices": { + "get": { + "tags": [ + "WinBackOffers" + ], + "operationId": "winBackOffers_prices_getToManyRelated", + "parameters": [ + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[winBackOfferPrices]", + "in": "query", + "description": "the fields to include for returned resources of type winBackOfferPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "equalizations", + "adjustedEqualizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory", + "subscriptionPricePoint" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of WinBackOfferPrices", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WinBackOfferPricesResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/metrics/betaTesterUsages": { + "get": { + "tags": [ + "Apps", + "Metrics" + ], + "operationId": "apps_betaTesterUsages_getMetrics", + "parameters": [ + { + "name": "period", + "in": "query", + "description": "the duration of the reporting period", + "schema": { + "type": "string", + "enum": [ + "P7D", + "P30D", + "P90D", + "P365D" + ] + }, + "style": "form", + "explode": false, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaTesters" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[betaTesters]", + "in": "query", + "description": "filter by 'betaTesters' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaGroups/{id}/metrics/betaTesterUsages": { + "get": { + "tags": [ + "BetaGroups", + "Metrics" + ], + "operationId": "betaGroups_betaTesterUsages_getMetrics", + "parameters": [ + { + "name": "period", + "in": "query", + "description": "the duration of the reporting period", + "schema": { + "type": "string", + "enum": [ + "P7D", + "P30D", + "P90D", + "P365D" + ] + }, + "style": "form", + "explode": false, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaTesters" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[betaTesters]", + "in": "query", + "description": "filter by 'betaTesters' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaGroups/{id}/metrics/publicLinkUsages": { + "get": { + "tags": [ + "BetaGroups", + "Metrics" + ], + "operationId": "betaGroups_publicLinkUsages_getMetrics", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaPublicLinkUsagesV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaTesters/{id}/metrics/betaTesterUsages": { + "get": { + "tags": [ + "BetaTesters", + "Metrics" + ], + "operationId": "betaTesters_betaTesterUsages_getMetrics", + "parameters": [ + { + "name": "period", + "in": "query", + "description": "the duration of the reporting period", + "schema": { + "type": "string", + "enum": [ + "P7D", + "P30D", + "P90D", + "P365D" + ] + }, + "style": "form", + "explode": false, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "filter[apps]", + "in": "query", + "description": "filter by 'apps' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": true + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaTesterUsagesV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/metrics/betaBuildUsages": { + "get": { + "tags": [ + "Builds", + "Metrics" + ], + "operationId": "builds_betaBuildUsages_getMetrics", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaBuildUsagesV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails/{id}/metrics/classicMatchmakingRequests": { + "get": { + "tags": [ + "GameCenterDetails", + "Metrics" + ], + "operationId": "gameCenterDetails_classicMatchmakingRequests_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "result" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[result]", + "in": "query", + "description": "filter by 'result' attribute dimension", + "schema": { + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averageSecondsInQueue", + "-averageSecondsInQueue", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails/{id}/metrics/ruleBasedMatchmakingRequests": { + "get": { + "tags": [ + "GameCenterDetails", + "Metrics" + ], + "operationId": "gameCenterDetails_ruleBasedMatchmakingRequests_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "result" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[result]", + "in": "query", + "description": "filter by 'result' attribute dimension", + "schema": { + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averageSecondsInQueue", + "-averageSecondsInQueue", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingQueueSizes": { + "get": { + "tags": [ + "GameCenterMatchmakingQueues", + "Metrics" + ], + "operationId": "gameCenterMatchmakingQueues_experimentMatchmakingQueueSizes_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averageNumberOfRequests", + "-averageNumberOfRequests", + "p50NumberOfRequests", + "-p50NumberOfRequests", + "p95NumberOfRequests", + "-p95NumberOfRequests" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingQueueSizesV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingRequests": { + "get": { + "tags": [ + "GameCenterMatchmakingQueues", + "Metrics" + ], + "operationId": "gameCenterMatchmakingQueues_experimentMatchmakingRequests_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "result", + "gameCenterDetail" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[result]", + "in": "query", + "description": "filter by 'result' attribute dimension", + "schema": { + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[gameCenterDetail]", + "in": "query", + "description": "filter by 'gameCenterDetail' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averageSecondsInQueue", + "-averageSecondsInQueue", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingQueueRequestsV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingQueueSizes": { + "get": { + "tags": [ + "GameCenterMatchmakingQueues", + "Metrics" + ], + "operationId": "gameCenterMatchmakingQueues_matchmakingQueueSizes_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averageNumberOfRequests", + "-averageNumberOfRequests", + "p50NumberOfRequests", + "-p50NumberOfRequests", + "p95NumberOfRequests", + "-p95NumberOfRequests" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingQueueSizesV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingRequests": { + "get": { + "tags": [ + "GameCenterMatchmakingQueues", + "Metrics" + ], + "operationId": "gameCenterMatchmakingQueues_matchmakingRequests_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "result", + "gameCenterDetail" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[result]", + "in": "query", + "description": "filter by 'result' attribute dimension", + "schema": { + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[gameCenterDetail]", + "in": "query", + "description": "filter by 'gameCenterDetail' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averageSecondsInQueue", + "-averageSecondsInQueue", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingQueueRequestsV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingSessions": { + "get": { + "tags": [ + "GameCenterMatchmakingQueues", + "Metrics" + ], + "operationId": "gameCenterMatchmakingQueues_matchmakingSessions_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averagePlayerCount", + "-averagePlayerCount", + "p50PlayerCount", + "-p50PlayerCount", + "p95PlayerCount", + "-p95PlayerCount" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingSessionsV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingBooleanRuleResults": { + "get": { + "tags": [ + "GameCenterMatchmakingRules", + "Metrics" + ], + "operationId": "gameCenterMatchmakingRules_matchmakingBooleanRuleResults_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "result", + "gameCenterMatchmakingQueue" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[result]", + "in": "query", + "description": "filter by 'result' attribute dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[gameCenterMatchmakingQueue]", + "in": "query", + "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingNumberRuleResults": { + "get": { + "tags": [ + "GameCenterMatchmakingRules", + "Metrics" + ], + "operationId": "gameCenterMatchmakingRules_matchmakingNumberRuleResults_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterMatchmakingQueue" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterMatchmakingQueue]", + "in": "query", + "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averageResult", + "-averageResult", + "p50Result", + "-p50Result", + "p95Result", + "-p95Result" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingNumberRuleResultsV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingRuleErrors": { + "get": { + "tags": [ + "GameCenterMatchmakingRules", + "Metrics" + ], + "operationId": "gameCenterMatchmakingRules_matchmakingRuleErrors_getMetrics", + "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterMatchmakingQueue" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterMatchmakingQueue]", + "in": "query", + "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingRuleErrorsV1MetricResponse" + } + } + } + }, + "429": { + "description": "Rate limit exceeded error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + } + }, + "components": { + "schemas": { + "AccessibilityDeclaration": { + "type": "object", + "title": "AccessibilityDeclaration", + "properties": { + "type": { + "type": "string", + "enum": [ + "accessibilityDeclarations" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "deviceFamily": { + "$ref": "#/components/schemas/DeviceFamily" + }, + "state": { + "type": "string", + "enum": [ + "DRAFT", + "PUBLISHED", + "REPLACED" + ] + }, + "supportsAudioDescriptions": { + "type": "boolean" + }, + "supportsCaptions": { + "type": "boolean" + }, + "supportsDarkInterface": { + "type": "boolean" + }, + "supportsDifferentiateWithoutColorAlone": { + "type": "boolean" + }, + "supportsLargerText": { + "type": "boolean" + }, + "supportsReducedMotion": { + "type": "boolean" + }, + "supportsSufficientContrast": { + "type": "boolean" + }, + "supportsVoiceControl": { + "type": "boolean" + }, + "supportsVoiceover": { + "type": "boolean" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AccessibilityDeclarationsResponse": { + "type": "object", + "title": "AccessibilityDeclarationsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AccessibilityDeclaration" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AccessibilityDeclarationResponse": { + "type": "object", + "title": "AccessibilityDeclarationResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AccessibilityDeclaration" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AccessibilityDeclarationCreateRequest": { + "type": "object", + "title": "AccessibilityDeclarationCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "accessibilityDeclarations" + ] + }, + "attributes": { + "type": "object", + "properties": { + "deviceFamily": { + "$ref": "#/components/schemas/DeviceFamily" + }, + "supportsAudioDescriptions": { + "type": "boolean", + "nullable": true + }, + "supportsCaptions": { + "type": "boolean", + "nullable": true + }, + "supportsDarkInterface": { + "type": "boolean", + "nullable": true + }, + "supportsDifferentiateWithoutColorAlone": { + "type": "boolean", + "nullable": true + }, + "supportsLargerText": { + "type": "boolean", + "nullable": true + }, + "supportsReducedMotion": { + "type": "boolean", + "nullable": true + }, + "supportsSufficientContrast": { + "type": "boolean", + "nullable": true + }, + "supportsVoiceControl": { + "type": "boolean", + "nullable": true + }, + "supportsVoiceover": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "deviceFamily" + ] + }, + "relationships": { + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "app" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "AccessibilityDeclarationUpdateRequest": { + "type": "object", + "title": "AccessibilityDeclarationUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "accessibilityDeclarations" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "publish": { + "type": "boolean", + "nullable": true + }, + "supportsAudioDescriptions": { + "type": "boolean", + "nullable": true + }, + "supportsCaptions": { + "type": "boolean", + "nullable": true + }, + "supportsDarkInterface": { + "type": "boolean", + "nullable": true + }, + "supportsDifferentiateWithoutColorAlone": { + "type": "boolean", + "nullable": true + }, + "supportsLargerText": { + "type": "boolean", + "nullable": true + }, + "supportsReducedMotion": { + "type": "boolean", + "nullable": true + }, + "supportsSufficientContrast": { + "type": "boolean", + "nullable": true + }, + "supportsVoiceControl": { + "type": "boolean", + "nullable": true + }, + "supportsVoiceover": { + "type": "boolean", + "nullable": true + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "Actor": { + "type": "object", + "title": "Actor", + "properties": { + "type": { + "type": "string", + "enum": [ + "actors" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "actorType": { + "type": "string", + "enum": [ + "USER", + "API_KEY", + "XCODE_CLOUD", + "APPLE" + ] + }, + "userFirstName": { + "type": "string" + }, + "userLastName": { + "type": "string" + }, + "userEmail": { + "type": "string" + }, + "apiKeyId": { + "type": "string" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "ActorsResponse": { + "type": "object", + "title": "ActorsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Actor" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "ActorResponse": { + "type": "object", + "title": "ActorResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/Actor" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AgeRatingDeclaration": { + "type": "object", + "title": "AgeRatingDeclaration", + "properties": { + "type": { + "type": "string", + "enum": [ + "ageRatingDeclarations" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "advertising": { + "type": "boolean" + }, + "alcoholTobaccoOrDrugUseOrReferences": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "contests": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "gambling": { + "type": "boolean" + }, + "gamblingSimulated": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "gunsOrOtherWeapons": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "healthOrWellnessTopics": { + "type": "boolean" + }, + "kidsAgeBand": { + "$ref": "#/components/schemas/KidsAgeBand" + }, + "lootBox": { + "type": "boolean" + }, + "medicalOrTreatmentInformation": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "messagingAndChat": { + "type": "boolean" + }, + "parentalControls": { + "type": "boolean" + }, + "profanityOrCrudeHumor": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "ageAssurance": { + "type": "boolean" + }, + "sexualContentGraphicAndNudity": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "sexualContentOrNudity": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "socialMedia": { + "type": "boolean" + }, + "socialMediaAgeRestricted": { + "type": "boolean" + }, + "horrorOrFearThemes": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "matureOrSuggestiveThemes": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "unrestrictedWebAccess": { + "type": "boolean" + }, + "userGeneratedContent": { + "type": "boolean" + }, + "violenceCartoonOrFantasy": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "violenceRealisticProlongedGraphicOrSadistic": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "violenceRealistic": { + "type": "string", + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "ageRatingOverride": { + "type": "string", + "deprecated": true, + "enum": [ + "NONE", + "NINE_PLUS", + "THIRTEEN_PLUS", + "SIXTEEN_PLUS", + "SEVENTEEN_PLUS", + "UNRATED" + ] + }, + "ageRatingOverrideV2": { + "type": "string", + "enum": [ + "NONE", + "NINE_PLUS", + "THIRTEEN_PLUS", + "SIXTEEN_PLUS", + "EIGHTEEN_PLUS", + "UNRATED" + ] + }, + "koreaAgeRatingOverride": { + "type": "string", + "enum": [ + "NONE", + "ALL", + "TWELVE_PLUS", + "FIFTEEN_PLUS", + "NINETEEN_PLUS" + ] + }, + "gracRatingClassificationNumber": { + "type": "string" + }, + "developerAgeRatingInfoUrl": { + "type": "string", + "format": "uri" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AgeRatingDeclarationResponse": { + "type": "object", + "title": "AgeRatingDeclarationResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AgeRatingDeclaration" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AgeRatingDeclarationUpdateRequest": { + "type": "object", + "title": "AgeRatingDeclarationUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ageRatingDeclarations" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "advertising": { + "type": "boolean", + "nullable": true + }, + "alcoholTobaccoOrDrugUseOrReferences": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "contests": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "gambling": { + "type": "boolean", + "nullable": true + }, + "gamblingSimulated": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "gunsOrOtherWeapons": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "healthOrWellnessTopics": { + "type": "boolean", + "nullable": true + }, + "kidsAgeBand": { + "nullable": true, + "$ref": "#/components/schemas/KidsAgeBand" + }, + "lootBox": { + "type": "boolean", + "nullable": true + }, + "medicalOrTreatmentInformation": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "messagingAndChat": { + "type": "boolean", + "nullable": true + }, + "parentalControls": { + "type": "boolean", + "nullable": true + }, + "profanityOrCrudeHumor": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "ageAssurance": { + "type": "boolean", + "nullable": true + }, + "sexualContentGraphicAndNudity": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "sexualContentOrNudity": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "socialMedia": { + "type": "boolean", + "nullable": true + }, + "socialMediaAgeRestricted": { + "type": "boolean", + "nullable": true + }, + "horrorOrFearThemes": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "matureOrSuggestiveThemes": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "unrestrictedWebAccess": { + "type": "boolean", + "nullable": true + }, + "userGeneratedContent": { + "type": "boolean", + "nullable": true + }, + "violenceCartoonOrFantasy": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "violenceRealisticProlongedGraphicOrSadistic": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "violenceRealistic": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "INFREQUENT_OR_MILD", + "FREQUENT_OR_INTENSE", + "INFREQUENT", + "FREQUENT" + ] + }, + "ageRatingOverride": { + "type": "string", + "deprecated": true, + "nullable": true, + "enum": [ + "NONE", + "NINE_PLUS", + "THIRTEEN_PLUS", + "SIXTEEN_PLUS", + "SEVENTEEN_PLUS", + "UNRATED" + ] + }, + "ageRatingOverrideV2": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "NINE_PLUS", + "THIRTEEN_PLUS", + "SIXTEEN_PLUS", + "EIGHTEEN_PLUS", + "UNRATED" + ] + }, + "koreaAgeRatingOverride": { + "type": "string", + "nullable": true, + "enum": [ + "NONE", + "ALL", + "TWELVE_PLUS", + "FIFTEEN_PLUS", + "NINETEEN_PLUS" + ] + }, + "gracRatingClassificationNumber": { + "type": "string", + "nullable": true + }, + "developerAgeRatingInfoUrl": { + "type": "string", + "format": "uri", + "nullable": true + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "AlternativeDistributionDomain": { + "type": "object", + "title": "AlternativeDistributionDomain", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionDomains" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "domain": { + "type": "string" + }, + "referenceName": { + "type": "string" + }, + "createdDate": { + "type": "string", + "format": "date-time" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionDomainsResponse": { + "type": "object", + "title": "AlternativeDistributionDomainsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionDomain" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionDomainResponse": { + "type": "object", + "title": "AlternativeDistributionDomainResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionDomain" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionDomainCreateRequest": { + "type": "object", + "title": "AlternativeDistributionDomainCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionDomains" + ] + }, + "attributes": { + "type": "object", + "properties": { + "domain": { + "type": "string" + }, + "referenceName": { + "type": "string" + } + }, + "required": [ + "domain", + "referenceName" + ] + } + }, + "required": [ + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "AlternativeDistributionKey": { + "type": "object", + "title": "AlternativeDistributionKey", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionKeys" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "publicKey": { + "type": "string" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionKeysResponse": { + "type": "object", + "title": "AlternativeDistributionKeysResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionKey" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionKeyResponse": { + "type": "object", + "title": "AlternativeDistributionKeyResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionKey" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionKeyCreateRequest": { + "type": "object", + "title": "AlternativeDistributionKeyCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionKeys" + ] + }, + "attributes": { + "type": "object", + "properties": { + "publicKey": { + "type": "string" + } + }, + "required": [ + "publicKey" + ] + }, + "relationships": { + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, + "required": [ + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "AlternativeDistributionPackageDelta": { + "type": "object", + "title": "AlternativeDistributionPackageDelta", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageDeltas" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "urlExpirationDate": { + "type": "string", + "format": "date-time" + }, + "alternativeDistributionKeyBlob": { + "type": "string" + }, + "fileChecksum": { + "type": "string" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionPackageDeltasResponse": { + "type": "object", + "title": "AlternativeDistributionPackageDeltasResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageDeltaResponse": { + "type": "object", + "title": "AlternativeDistributionPackageDeltaResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageVariant": { + "type": "object", + "title": "AlternativeDistributionPackageVariant", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageVariants" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "urlExpirationDate": { + "type": "string", + "format": "date-time" + }, + "alternativeDistributionKeyBlob": { + "type": "string" + }, + "fileChecksum": { + "type": "string" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionPackageVariantsResponse": { + "type": "object", + "title": "AlternativeDistributionPackageVariantsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageVariantResponse": { + "type": "object", + "title": "AlternativeDistributionPackageVariantResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageVersion": { + "type": "object", + "title": "AlternativeDistributionPackageVersion", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageVersions" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "urlExpirationDate": { + "type": "string", + "format": "date-time" + }, + "version": { + "type": "string" + }, + "fileChecksum": { + "type": "string" + }, + "state": { + "type": "string", + "enum": [ + "COMPLETED", + "REPLACED" + ] + } + } + }, + "relationships": { + "type": "object", + "properties": { + "variants": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageVariants" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "deltas": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageDeltas" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "alternativeDistributionPackage": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackages" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionPackageVersionsResponse": { + "type": "object", + "title": "AlternativeDistributionPackageVersionsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVersion" + } + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackage" + } + ], + "discriminator": { + "propertyName": "type", + "mapping": { + "alternativeDistributionPackages": "#/components/schemas/AlternativeDistributionPackage", + "alternativeDistributionPackageDeltas": "#/components/schemas/AlternativeDistributionPackageDelta", + "alternativeDistributionPackageVariants": "#/components/schemas/AlternativeDistributionPackageVariant" + } + } + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageVersionResponse": { + "type": "object", + "title": "AlternativeDistributionPackageVersionResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVersion" + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackage" + } + ], + "discriminator": { + "propertyName": "type", + "mapping": { + "alternativeDistributionPackages": "#/components/schemas/AlternativeDistributionPackage", + "alternativeDistributionPackageDeltas": "#/components/schemas/AlternativeDistributionPackageDelta", + "alternativeDistributionPackageVariants": "#/components/schemas/AlternativeDistributionPackageVariant" + } + } + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackage": { + "type": "object", + "title": "AlternativeDistributionPackage", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackages" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "sourceFileChecksum": { + "$ref": "#/components/schemas/Checksums" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "versions": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionPackageResponse": { + "type": "object", + "title": "AlternativeDistributionPackageResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionPackage" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVersion" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageCreateRequest": { + "type": "object", + "title": "AlternativeDistributionPackageCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { "type": "string", "enum": [ - "gameCenterMatchmakingQueue" + "alternativeDistributionPackages" + ] + }, + "relationships": { + "type": "object", + "properties": { + "appStoreVersion": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "appStoreVersion" ] } }, - "style": "form", - "explode": false + "required": [ + "relationships", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "AnalyticsReportInstance": { + "type": "object", + "title": "AnalyticsReportInstance", + "properties": { + "type": { + "type": "string", + "enum": [ + "analyticsReportInstances" + ] }, - { - "name": "filter[gameCenterMatchmakingQueue]", - "in": "query", - "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "required": false + "id": { + "type": "string" }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", - "schema": { - "type": "array", - "items": { + "attributes": { + "type": "object", + "properties": { + "granularity": { "type": "string", "enum": [ - "count", - "-count" + "DAILY", + "WEEKLY", + "MONTHLY" ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "401": { - "description": "Unauthorized error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + }, + "processingDate": { + "type": "string", + "format": "date" } } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "relationships": { + "type": "object", + "properties": { + "segments": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } } } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AnalyticsReportInstancesResponse": { + "type": "object", + "title": "AnalyticsReportInstancesResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsReportInstance" } }, - "200": { - "description": "Metrics data response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingRuleErrorsV1MetricResponse" - } - } - } + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" }, - "429": { - "description": "Rate limit exceeded error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + "meta": { + "$ref": "#/components/schemas/PagingInformation" } - } + }, + "required": [ + "data", + "links" + ] }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + "AnalyticsReportInstanceResponse": { + "type": "object", + "title": "AnalyticsReportInstanceResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AnalyticsReportInstance" }, - "style": "simple", - "required": true - } - ] - } - }, - "components": { - "schemas": { - "AccessibilityDeclaration": { + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AnalyticsReportRequest": { "type": "object", - "title": "AccessibilityDeclaration", + "title": "AnalyticsReportRequest", "properties": { "type": { "type": "string", "enum": [ - "accessibilityDeclarations" + "analyticsReportRequests" ] }, "id": { @@ -173593,46 +181845,55 @@ "attributes": { "type": "object", "properties": { - "deviceFamily": { - "$ref": "#/components/schemas/DeviceFamily" - }, - "state": { + "accessType": { "type": "string", "enum": [ - "DRAFT", - "PUBLISHED", - "REPLACED" + "ONE_TIME_SNAPSHOT", + "ONGOING" ] }, - "supportsAudioDescriptions": { - "type": "boolean" - }, - "supportsCaptions": { - "type": "boolean" - }, - "supportsDarkInterface": { - "type": "boolean" - }, - "supportsDifferentiateWithoutColorAlone": { - "type": "boolean" - }, - "supportsLargerText": { - "type": "boolean" - }, - "supportsReducedMotion": { - "type": "boolean" - }, - "supportsSufficientContrast": { - "type": "boolean" - }, - "supportsVoiceControl": { - "type": "boolean" - }, - "supportsVoiceover": { + "stoppedDueToInactivity": { "type": "boolean" } } }, + "relationships": { + "type": "object", + "properties": { + "reports": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "analyticsReports" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, "links": { "$ref": "#/components/schemas/ResourceLinks" } @@ -173642,14 +181903,20 @@ "type" ] }, - "AccessibilityDeclarationsResponse": { + "AnalyticsReportRequestsResponse": { "type": "object", - "title": "AccessibilityDeclarationsResponse", + "title": "AnalyticsReportRequestsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/AccessibilityDeclaration" + "$ref": "#/components/schemas/AnalyticsReportRequest" + } + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsReport" } }, "links": { @@ -173664,12 +181931,18 @@ "links" ] }, - "AccessibilityDeclarationResponse": { + "AnalyticsReportRequestResponse": { "type": "object", - "title": "AccessibilityDeclarationResponse", + "title": "AnalyticsReportRequestResponse", "properties": { "data": { - "$ref": "#/components/schemas/AccessibilityDeclaration" + "$ref": "#/components/schemas/AnalyticsReportRequest" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsReport" + } }, "links": { "$ref": "#/components/schemas/DocumentLinks" @@ -173680,9 +181953,9 @@ "links" ] }, - "AccessibilityDeclarationCreateRequest": { + "AnalyticsReportRequestCreateRequest": { "type": "object", - "title": "AccessibilityDeclarationCreateRequest", + "title": "AnalyticsReportRequestCreateRequest", "properties": { "data": { "type": "object", @@ -173690,54 +181963,22 @@ "type": { "type": "string", "enum": [ - "accessibilityDeclarations" + "analyticsReportRequests" ] }, "attributes": { "type": "object", "properties": { - "deviceFamily": { - "$ref": "#/components/schemas/DeviceFamily" - }, - "supportsAudioDescriptions": { - "type": "boolean", - "nullable": true - }, - "supportsCaptions": { - "type": "boolean", - "nullable": true - }, - "supportsDarkInterface": { - "type": "boolean", - "nullable": true - }, - "supportsDifferentiateWithoutColorAlone": { - "type": "boolean", - "nullable": true - }, - "supportsLargerText": { - "type": "boolean", - "nullable": true - }, - "supportsReducedMotion": { - "type": "boolean", - "nullable": true - }, - "supportsSufficientContrast": { - "type": "boolean", - "nullable": true - }, - "supportsVoiceControl": { - "type": "boolean", - "nullable": true - }, - "supportsVoiceover": { - "type": "boolean", - "nullable": true + "accessType": { + "type": "string", + "enum": [ + "ONE_TIME_SNAPSHOT", + "ONGOING" + ] } }, "required": [ - "deviceFamily" + "accessType" ] }, "relationships": { @@ -173786,86 +182027,14 @@ "data" ] }, - "AccessibilityDeclarationUpdateRequest": { - "type": "object", - "title": "AccessibilityDeclarationUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "accessibilityDeclarations" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "publish": { - "type": "boolean", - "nullable": true - }, - "supportsAudioDescriptions": { - "type": "boolean", - "nullable": true - }, - "supportsCaptions": { - "type": "boolean", - "nullable": true - }, - "supportsDarkInterface": { - "type": "boolean", - "nullable": true - }, - "supportsDifferentiateWithoutColorAlone": { - "type": "boolean", - "nullable": true - }, - "supportsLargerText": { - "type": "boolean", - "nullable": true - }, - "supportsReducedMotion": { - "type": "boolean", - "nullable": true - }, - "supportsSufficientContrast": { - "type": "boolean", - "nullable": true - }, - "supportsVoiceControl": { - "type": "boolean", - "nullable": true - }, - "supportsVoiceover": { - "type": "boolean", - "nullable": true - } - } - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "Actor": { + "AnalyticsReportSegment": { "type": "object", - "title": "Actor", + "title": "AnalyticsReportSegment", "properties": { "type": { "type": "string", "enum": [ - "actors" + "analyticsReportSegments" ] }, "id": { @@ -173874,26 +182043,15 @@ "attributes": { "type": "object", "properties": { - "actorType": { - "type": "string", - "enum": [ - "USER", - "API_KEY", - "XCODE_CLOUD", - "APPLE" - ] - }, - "userFirstName": { - "type": "string" - }, - "userLastName": { + "checksum": { "type": "string" }, - "userEmail": { - "type": "string" + "sizeInBytes": { + "type": "integer" }, - "apiKeyId": { - "type": "string" + "url": { + "type": "string", + "format": "uri" } } }, @@ -173906,14 +182064,14 @@ "type" ] }, - "ActorsResponse": { + "AnalyticsReportSegmentsResponse": { "type": "object", - "title": "ActorsResponse", + "title": "AnalyticsReportSegmentsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Actor" + "$ref": "#/components/schemas/AnalyticsReportSegment" } }, "links": { @@ -173928,12 +182086,12 @@ "links" ] }, - "ActorResponse": { + "AnalyticsReportSegmentResponse": { "type": "object", - "title": "ActorResponse", + "title": "AnalyticsReportSegmentResponse", "properties": { "data": { - "$ref": "#/components/schemas/Actor" + "$ref": "#/components/schemas/AnalyticsReportSegment" }, "links": { "$ref": "#/components/schemas/DocumentLinks" @@ -173944,14 +182102,14 @@ "links" ] }, - "AgeRatingDeclaration": { + "AnalyticsReport": { "type": "object", - "title": "AgeRatingDeclaration", + "title": "AnalyticsReport", "properties": { "type": { "type": "string", "enum": [ - "ageRatingDeclarations" + "analyticsReports" ] }, "id": { @@ -173960,211 +182118,31 @@ "attributes": { "type": "object", "properties": { - "advertising": { - "type": "boolean" - }, - "alcoholTobaccoOrDrugUseOrReferences": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "contests": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "gambling": { - "type": "boolean" - }, - "gamblingSimulated": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "gunsOrOtherWeapons": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "healthOrWellnessTopics": { - "type": "boolean" - }, - "kidsAgeBand": { - "$ref": "#/components/schemas/KidsAgeBand" - }, - "lootBox": { - "type": "boolean" - }, - "medicalOrTreatmentInformation": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "messagingAndChat": { - "type": "boolean" - }, - "parentalControls": { - "type": "boolean" - }, - "profanityOrCrudeHumor": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "ageAssurance": { - "type": "boolean" - }, - "sexualContentGraphicAndNudity": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "sexualContentOrNudity": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "socialMedia": { - "type": "boolean" - }, - "socialMediaAgeRestricted": { - "type": "boolean" - }, - "horrorOrFearThemes": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "matureOrSuggestiveThemes": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "unrestrictedWebAccess": { - "type": "boolean" - }, - "userGeneratedContent": { - "type": "boolean" - }, - "violenceCartoonOrFantasy": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "violenceRealisticProlongedGraphicOrSadistic": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "violenceRealistic": { - "type": "string", - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "ageRatingOverride": { - "type": "string", - "deprecated": true, - "enum": [ - "NONE", - "NINE_PLUS", - "THIRTEEN_PLUS", - "SIXTEEN_PLUS", - "SEVENTEEN_PLUS", - "UNRATED" - ] - }, - "ageRatingOverrideV2": { - "type": "string", - "enum": [ - "NONE", - "NINE_PLUS", - "THIRTEEN_PLUS", - "SIXTEEN_PLUS", - "EIGHTEEN_PLUS", - "UNRATED" - ] + "name": { + "type": "string" }, - "koreaAgeRatingOverride": { + "category": { "type": "string", "enum": [ - "NONE", - "ALL", - "TWELVE_PLUS", - "FIFTEEN_PLUS", - "NINETEEN_PLUS" + "APP_USAGE", + "APP_STORE_ENGAGEMENT", + "COMMERCE", + "FRAMEWORK_USAGE", + "PERFORMANCE" ] - }, - "gracRatingClassificationNumber": { - "type": "string" - }, - "developerAgeRatingInfoUrl": { - "type": "string", - "format": "uri" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "instances": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -174177,298 +182155,52 @@ "type" ] }, - "AgeRatingDeclarationResponse": { - "type": "object", - "title": "AgeRatingDeclarationResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/AgeRatingDeclaration" - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "AgeRatingDeclarationUpdateRequest": { + "AnalyticsReportsResponse": { "type": "object", - "title": "AgeRatingDeclarationUpdateRequest", + "title": "AnalyticsReportsResponse", "properties": { "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ageRatingDeclarations" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "advertising": { - "type": "boolean", - "nullable": true - }, - "alcoholTobaccoOrDrugUseOrReferences": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "contests": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "gambling": { - "type": "boolean", - "nullable": true - }, - "gamblingSimulated": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "gunsOrOtherWeapons": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "healthOrWellnessTopics": { - "type": "boolean", - "nullable": true - }, - "kidsAgeBand": { - "nullable": true, - "$ref": "#/components/schemas/KidsAgeBand" - }, - "lootBox": { - "type": "boolean", - "nullable": true - }, - "medicalOrTreatmentInformation": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "messagingAndChat": { - "type": "boolean", - "nullable": true - }, - "parentalControls": { - "type": "boolean", - "nullable": true - }, - "profanityOrCrudeHumor": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "ageAssurance": { - "type": "boolean", - "nullable": true - }, - "sexualContentGraphicAndNudity": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "sexualContentOrNudity": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "socialMedia": { - "type": "boolean", - "nullable": true - }, - "socialMediaAgeRestricted": { - "type": "boolean", - "nullable": true - }, - "horrorOrFearThemes": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "matureOrSuggestiveThemes": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "unrestrictedWebAccess": { - "type": "boolean", - "nullable": true - }, - "userGeneratedContent": { - "type": "boolean", - "nullable": true - }, - "violenceCartoonOrFantasy": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "violenceRealisticProlongedGraphicOrSadistic": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "violenceRealistic": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "INFREQUENT_OR_MILD", - "FREQUENT_OR_INTENSE", - "INFREQUENT", - "FREQUENT" - ] - }, - "ageRatingOverride": { - "type": "string", - "deprecated": true, - "nullable": true, - "enum": [ - "NONE", - "NINE_PLUS", - "THIRTEEN_PLUS", - "SIXTEEN_PLUS", - "SEVENTEEN_PLUS", - "UNRATED" - ] - }, - "ageRatingOverrideV2": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "NINE_PLUS", - "THIRTEEN_PLUS", - "SIXTEEN_PLUS", - "EIGHTEEN_PLUS", - "UNRATED" - ] - }, - "koreaAgeRatingOverride": { - "type": "string", - "nullable": true, - "enum": [ - "NONE", - "ALL", - "TWELVE_PLUS", - "FIFTEEN_PLUS", - "NINETEEN_PLUS" - ] - }, - "gracRatingClassificationNumber": { - "type": "string", - "nullable": true - }, - "developerAgeRatingInfoUrl": { - "type": "string", - "format": "uri", - "nullable": true - } - } - } - }, - "required": [ - "id", - "type" - ] + "type": "array", + "items": { + "$ref": "#/components/schemas/AnalyticsReport" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" } }, "required": [ - "data" + "data", + "links" ] }, - "AlternativeDistributionDomain": { + "AnalyticsReportResponse": { "type": "object", - "title": "AlternativeDistributionDomain", + "title": "AnalyticsReportResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AnalyticsReport" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AndroidToIosAppMappingDetail": { + "type": "object", + "title": "AndroidToIosAppMappingDetail", "properties": { "type": { "type": "string", "enum": [ - "alternativeDistributionDomains" + "androidToIosAppMappingDetails" ] }, "id": { @@ -174477,15 +182209,14 @@ "attributes": { "type": "object", "properties": { - "domain": { - "type": "string" - }, - "referenceName": { + "packageName": { "type": "string" }, - "createdDate": { - "type": "string", - "format": "date-time" + "appSigningKeyPublicCertificateSha256Fingerprints": { + "type": "array", + "items": { + "type": "string" + } } } }, @@ -174498,14 +182229,14 @@ "type" ] }, - "AlternativeDistributionDomainsResponse": { + "AndroidToIosAppMappingDetailsResponse": { "type": "object", - "title": "AlternativeDistributionDomainsResponse", + "title": "AndroidToIosAppMappingDetailsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/AlternativeDistributionDomain" + "$ref": "#/components/schemas/AndroidToIosAppMappingDetail" } }, "links": { @@ -174520,12 +182251,12 @@ "links" ] }, - "AlternativeDistributionDomainResponse": { + "AndroidToIosAppMappingDetailResponse": { "type": "object", - "title": "AlternativeDistributionDomainResponse", + "title": "AndroidToIosAppMappingDetailResponse", "properties": { "data": { - "$ref": "#/components/schemas/AlternativeDistributionDomain" + "$ref": "#/components/schemas/AndroidToIosAppMappingDetail" }, "links": { "$ref": "#/components/schemas/DocumentLinks" @@ -174536,9 +182267,9 @@ "links" ] }, - "AlternativeDistributionDomainCreateRequest": { + "AndroidToIosAppMappingDetailCreateRequest": { "type": "object", - "title": "AlternativeDistributionDomainCreateRequest", + "title": "AndroidToIosAppMappingDetailCreateRequest", "properties": { "data": { "type": "object", @@ -174546,26 +182277,64 @@ "type": { "type": "string", "enum": [ - "alternativeDistributionDomains" + "androidToIosAppMappingDetails" ] }, "attributes": { "type": "object", "properties": { - "domain": { + "packageName": { "type": "string" }, - "referenceName": { - "type": "string" + "appSigningKeyPublicCertificateSha256Fingerprints": { + "type": "array", + "items": { + "type": "string" + } } }, "required": [ - "domain", - "referenceName" + "appSigningKeyPublicCertificateSha256Fingerprints", + "packageName" + ] + }, + "relationships": { + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "app" ] } }, "required": [ + "relationships", "attributes", "type" ] @@ -174575,24 +182344,212 @@ "data" ] }, - "AlternativeDistributionKey": { + "AndroidToIosAppMappingDetailUpdateRequest": { "type": "object", - "title": "AlternativeDistributionKey", + "title": "AndroidToIosAppMappingDetailUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "androidToIosAppMappingDetails" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "packageName": { + "type": "string", + "nullable": true + }, + "appSigningKeyPublicCertificateSha256Fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "AppAssetLibrary": { + "type": "object", + "title": "AppAssetLibrary", "properties": { "type": { "type": "string", "enum": [ - "alternativeDistributionKeys" + "appAssetLibraries" + ] + }, + "id": { + "type": "string" + }, + "relationships": { + "type": "object", + "properties": { + "images": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "videos": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AppAssetLibraryResponse": { + "type": "object", + "title": "AppAssetLibraryResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AppAssetLibrary" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppAssetLibraryImage": { + "type": "object", + "title": "AppAssetLibraryImage", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryImages" ] }, "id": { "type": "string" }, "attributes": { + "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageAwaitingUploadAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageUploadCompleteAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageFailedAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageReadyForReviewAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageWaitingForReviewAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageInReviewAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageAcceptedAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageApprovedAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageRejectedAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryImageArchivedAttributes" + } + ], + "discriminator": { + "propertyName": "state", + "mapping": { + "UPLOAD_COMPLETE": "#/components/schemas/AppAssetLibraryImageUploadCompleteAttributes", + "COMPLETE": "#/components/schemas/AppAssetLibraryImageCommonAttributes", + "IN_REVIEW": "#/components/schemas/AppAssetLibraryImageInReviewAttributes", + "ACCEPTED": "#/components/schemas/AppAssetLibraryImageAcceptedAttributes", + "FAILED": "#/components/schemas/AppAssetLibraryImageFailedAttributes", + "AWAITING_UPLOAD": "#/components/schemas/AppAssetLibraryImageAwaitingUploadAttributes", + "PREPARE_FOR_SUBMISSION": "#/components/schemas/AppAssetLibraryImageCommonAttributes", + "READY_FOR_REVIEW": "#/components/schemas/AppAssetLibraryImageReadyForReviewAttributes", + "ARCHIVED": "#/components/schemas/AppAssetLibraryImageArchivedAttributes", + "APPROVED": "#/components/schemas/AppAssetLibraryImageApprovedAttributes", + "WAITING_FOR_REVIEW": "#/components/schemas/AppAssetLibraryImageWaitingForReviewAttributes", + "REJECTED": "#/components/schemas/AppAssetLibraryImageRejectedAttributes" + } + } + }, + "relationships": { "type": "object", "properties": { - "publicKey": { - "type": "string" + "placements": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -174605,14 +182562,201 @@ "type" ] }, - "AlternativeDistributionKeysResponse": { + "AppAssetLibraryImageCommonAttributes": { "type": "object", - "title": "AlternativeDistributionKeysResponse", + "title": "AppAssetLibraryImageCommonAttributes", + "properties": { + "category": { + "$ref": "#/components/schemas/AppAssetLibraryAssetCategory" + }, + "createdDate": { + "type": "string", + "format": "date-time" + }, + "lastModifiedDate": { + "type": "string", + "format": "date-time" + }, + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer", + "format": "int64", + "maximum": 9007199254740991, + "minimum": 1 + }, + "imageAsset": { + "$ref": "#/components/schemas/ImageAsset" + }, + "referenceName": { + "type": "string" + }, + "specId": { + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/AppAssetLibraryAssetState" + }, + "stateDetails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StateDetail" + } + } + }, + "required": [ + "state" + ] + }, + "AppAssetLibraryImageAcceptedAttributes": { + "title": "AppAssetLibraryImageAcceptedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object" + } + ] + }, + "AppAssetLibraryImageApprovedAttributes": { + "title": "AppAssetLibraryImageApprovedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object" + } + ] + }, + "AppAssetLibraryImageArchivedAttributes": { + "title": "AppAssetLibraryImageArchivedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object" + } + ] + }, + "AppAssetLibraryImageAwaitingUploadAttributes": { + "title": "AppAssetLibraryImageAwaitingUploadAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object", + "properties": { + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" + } + } + } + } + ] + }, + "AppAssetLibraryImageFailedAttributes": { + "title": "AppAssetLibraryImageFailedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object", + "properties": { + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" + } + } + } + } + ] + }, + "AppAssetLibraryImageInReviewAttributes": { + "title": "AppAssetLibraryImageInReviewAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object" + } + ] + }, + "AppAssetLibraryImageReadyForReviewAttributes": { + "title": "AppAssetLibraryImageReadyForReviewAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object" + } + ] + }, + "AppAssetLibraryImageRejectedAttributes": { + "title": "AppAssetLibraryImageRejectedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object" + } + ] + }, + "AppAssetLibraryImageUploadCompleteAttributes": { + "title": "AppAssetLibraryImageUploadCompleteAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object", + "properties": { + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" + } + } + } + } + ] + }, + "AppAssetLibraryImageWaitingForReviewAttributes": { + "title": "AppAssetLibraryImageWaitingForReviewAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImageCommonAttributes" + }, + { + "type": "object" + } + ] + }, + "AppAssetLibraryImagesResponse": { + "type": "object", + "title": "AppAssetLibraryImagesResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/AlternativeDistributionKey" + "$ref": "#/components/schemas/AppAssetLibraryImage" + } + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" } }, "links": { @@ -174627,12 +182771,18 @@ "links" ] }, - "AlternativeDistributionKeyResponse": { + "AppAssetLibraryImageResponse": { "type": "object", - "title": "AlternativeDistributionKeyResponse", + "title": "AppAssetLibraryImageResponse", "properties": { "data": { - "$ref": "#/components/schemas/AlternativeDistributionKey" + "$ref": "#/components/schemas/AppAssetLibraryImage" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + } }, "links": { "$ref": "#/components/schemas/DocumentLinks" @@ -174643,9 +182793,9 @@ "links" ] }, - "AlternativeDistributionKeyCreateRequest": { + "AppAssetLibraryImageCreateRequest": { "type": "object", - "title": "AlternativeDistributionKeyCreateRequest", + "title": "AppAssetLibraryImageCreateRequest", "properties": { "data": { "type": "object", @@ -174653,24 +182803,39 @@ "type": { "type": "string", "enum": [ - "alternativeDistributionKeys" + "appAssetLibraryImages" ] }, "attributes": { "type": "object", "properties": { - "publicKey": { + "category": { + "$ref": "#/components/schemas/AppAssetLibraryAssetCategory" + }, + "fileName": { "type": "string" + }, + "fileSize": { + "type": "integer", + "format": "int64", + "maximum": 9007199254740991, + "minimum": 1 + }, + "referenceName": { + "type": "string", + "nullable": true } }, "required": [ - "publicKey" + "fileName", + "fileSize", + "category" ] }, "relationships": { "type": "object", "properties": { - "app": { + "assetLibrary": { "type": "object", "properties": { "data": { @@ -174679,7 +182844,7 @@ "type": { "type": "string", "enum": [ - "apps" + "appAssetLibraries" ] }, "id": { @@ -174691,12 +182856,45 @@ "type" ] } + }, + "required": [ + "data" + ] + }, + "placements": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } } } - } + }, + "required": [ + "assetLibrary" + ] } }, "required": [ + "relationships", "attributes", "type" ] @@ -174706,35 +182904,94 @@ "data" ] }, - "AlternativeDistributionPackageDelta": { + "AppAssetLibraryImageUpdateRequest": { "type": "object", - "title": "AlternativeDistributionPackageDelta", + "title": "AppAssetLibraryImageUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryImages" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "archived": { + "type": "boolean", + "nullable": true + }, + "referenceName": { + "type": "string", + "nullable": true + }, + "uploaded": { + "type": "boolean", + "nullable": true + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "AppAssetLibraryPlacementOrderingRequest": { + "type": "object", + "title": "AppAssetLibraryPlacementOrderingRequest", "properties": { "type": { "type": "string", "enum": [ - "alternativeDistributionPackageDeltas" + "appAssetLibraryPlacementOrderingRequests" ] }, "id": { "type": "string" }, - "attributes": { + "relationships": { "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "urlExpirationDate": { - "type": "string", - "format": "date-time" - }, - "alternativeDistributionKeyBlob": { - "type": "string" - }, - "fileChecksum": { - "type": "string" + "orderedPlacements": { + "type": "object", + "properties": { + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -174747,21 +183004,21 @@ "type" ] }, - "AlternativeDistributionPackageDeltasResponse": { + "AppAssetLibraryPlacementOrderingRequestResponse": { "type": "object", - "title": "AlternativeDistributionPackageDeltasResponse", + "title": "AppAssetLibraryPlacementOrderingRequestResponse", "properties": { "data": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementOrderingRequest" + }, + "included": { "type": "array", "items": { - "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + "$ref": "#/components/schemas/AppAssetLibraryPlacement" } }, "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" + "$ref": "#/components/schemas/DocumentLinks" } }, "required": [ @@ -174769,30 +183026,214 @@ "links" ] }, - "AlternativeDistributionPackageDeltaResponse": { + "AppAssetLibraryPlacementOrderingRequestCreateRequest": { "type": "object", - "title": "AlternativeDistributionPackageDeltaResponse", + "title": "AppAssetLibraryPlacementOrderingRequestCreateRequest", "properties": { "data": { - "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacementOrderingRequests" + ] + }, + "attributes": { + "type": "object", + "properties": { + "placementGroup": { + "type": "string", + "nullable": true + } + } + }, + "relationships": { + "type": "object", + "properties": { + "orderedPlacements": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "appStoreVersionLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreVersionLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "appCustomProductPageLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appCustomProductPageLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "appStoreVersionExperimentTreatmentLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreVersionExperimentTreatmentLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, + "anyOf": [ + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementGroup" + ] + }, + "relationships": { + "type": "object", + "required": [ + "orderedPlacements", + "appStoreVersionLocalization" + ] + } + }, + "required": [ + "relationships", + "attributes" + ] + }, + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementGroup" + ] + }, + "relationships": { + "type": "object", + "required": [ + "orderedPlacements", + "appCustomProductPageLocalization" + ] + } + }, + "required": [ + "relationships", + "attributes" + ] + }, + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementGroup" + ] + }, + "relationships": { + "type": "object", + "required": [ + "orderedPlacements", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "required": [ + "relationships", + "attributes" + ] + } + ], + "required": [ + "type" + ] } }, "required": [ - "data", - "links" + "data" ] }, - "AlternativeDistributionPackageVariant": { + "AppAssetLibraryPlacement": { "type": "object", - "title": "AlternativeDistributionPackageVariant", + "title": "AppAssetLibraryPlacement", "properties": { "type": { "type": "string", "enum": [ - "alternativeDistributionPackageVariants" + "appAssetLibraryPlacements" ] }, "id": { @@ -174801,19 +183242,48 @@ "attributes": { "type": "object", "properties": { - "url": { + "mediaType": { + "$ref": "#/components/schemas/AppAssetLibraryMediaType" + }, + "placementType": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementType" + }, + "placementGroup": { + "type": "string" + }, + "createdDate": { "type": "string", - "format": "uri" + "format": "date-time" }, - "urlExpirationDate": { + "lastModifiedDate": { "type": "string", "format": "date-time" }, - "alternativeDistributionKeyBlob": { - "type": "string" + "state": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementState" }, - "fileChecksum": { - "type": "string" + "stateDetails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StateDetail" + } + } + } + }, + "relationships": { + "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacementImageRelationships" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryPlacementVideoRelationships" + } + ], + "discriminator": { + "propertyName": "mediaType", + "mapping": { + "IMAGE": "#/components/schemas/AppAssetLibraryPlacementImageRelationships", + "VIDEO": "#/components/schemas/AppAssetLibraryPlacementVideoRelationships" } } }, @@ -174826,151 +183296,193 @@ "type" ] }, - "AlternativeDistributionPackageVariantsResponse": { + "AppAssetLibraryPlacementCommonRelationships": { "type": "object", - "title": "AlternativeDistributionPackageVariantsResponse", + "title": "AppAssetLibraryPlacementCommonRelationships", "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + "appEventLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appEventLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } } }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "AlternativeDistributionPackageVariantResponse": { - "type": "object", - "title": "AlternativeDistributionPackageVariantResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "AlternativeDistributionPackageVersion": { - "type": "object", - "title": "AlternativeDistributionPackageVersion", - "properties": { - "type": { - "type": "string", - "enum": [ - "alternativeDistributionPackageVersions" - ] - }, - "id": { - "type": "string" - }, - "attributes": { + "appStoreVersionLocalization": { "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "urlExpirationDate": { - "type": "string", - "format": "date-time" - }, - "version": { - "type": "string" - }, - "fileChecksum": { - "type": "string" - }, - "state": { - "type": "string", - "enum": [ - "COMPLETED", - "REPLACED" + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreVersionLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" ] } } }, - "relationships": { + "appCustomProductPageLocalization": { "type": "object", "properties": { - "variants": { + "data": { "type": "object", "properties": { - "links": { - "$ref": "#/components/schemas/RelationshipLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" + "type": { + "type": "string", + "enum": [ + "appCustomProductPageLocalizations" + ] }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "alternativeDistributionPackageVariants" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } + "id": { + "type": "string" } - } - }, - "deltas": { + }, + "required": [ + "id", + "type" + ] + } + } + }, + "appStoreVersionExperimentTreatmentLocalization": { + "type": "object", + "properties": { + "data": { "type": "object", "properties": { - "links": { - "$ref": "#/components/schemas/RelationshipLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" + "type": { + "type": "string", + "enum": [ + "appStoreVersionExperimentTreatmentLocalizations" + ] }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + }, + "AppAssetLibraryPlacementCommonAttributes": { + "type": "object", + "title": "AppAssetLibraryPlacementCommonAttributes", + "properties": { + "mediaType": { + "$ref": "#/components/schemas/AppAssetLibraryMediaType" + }, + "placementType": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementType" + }, + "placementGroup": { + "type": "string" + }, + "createdDate": { + "type": "string", + "format": "date-time" + }, + "lastModifiedDate": { + "type": "string", + "format": "date-time" + }, + "state": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementState" + }, + "stateDetails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StateDetail" + } + } + } + }, + "AppAssetLibraryPlacementVideoAttributes": { + "title": "AppAssetLibraryPlacementVideoAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacementCommonAttributes" + }, + { + "type": "object" + } + ] + }, + "AppAssetLibraryPlacementImageRelationships": { + "title": "AppAssetLibraryPlacementImageRelationships", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacementCommonRelationships" + }, + { + "type": "object", + "properties": { + "image": { + "type": "object", + "properties": { "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "alternativeDistributionPackageDeltas" - ] - }, - "id": { - "type": "string" - } + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryImages" + ] }, - "required": [ - "id", - "type" - ] - } + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] } } - }, - "alternativeDistributionPackage": { + } + } + } + ] + }, + "AppAssetLibraryPlacementVideoRelationships": { + "title": "AppAssetLibraryPlacementVideoRelationships", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacementCommonRelationships" + }, + { + "type": "object", + "properties": { + "video": { "type": "object", "properties": { "data": { @@ -174979,7 +183491,7 @@ "type": { "type": "string", "enum": [ - "alternativeDistributionPackages" + "appAssetLibraryVideos" ] }, "id": { @@ -174994,24 +183506,17 @@ } } } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" } - }, - "required": [ - "id", - "type" ] }, - "AlternativeDistributionPackageVersionsResponse": { + "AppAssetLibraryPlacementsResponse": { "type": "object", - "title": "AlternativeDistributionPackageVersionsResponse", + "title": "AppAssetLibraryPlacementsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVersion" + "$ref": "#/components/schemas/AppAssetLibraryPlacement" } }, "included": { @@ -175019,21 +183524,33 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + "$ref": "#/components/schemas/AppAssetLibraryImage" }, { - "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + "$ref": "#/components/schemas/AppAssetLibraryVideo" }, { - "$ref": "#/components/schemas/AlternativeDistributionPackage" + "$ref": "#/components/schemas/AppCustomProductPageLocalization" + }, + { + "$ref": "#/components/schemas/AppEventLocalization" + }, + { + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalization" + }, + { + "$ref": "#/components/schemas/AppStoreVersionLocalization" } ], "discriminator": { "propertyName": "type", "mapping": { - "alternativeDistributionPackages": "#/components/schemas/AlternativeDistributionPackage", - "alternativeDistributionPackageDeltas": "#/components/schemas/AlternativeDistributionPackageDelta", - "alternativeDistributionPackageVariants": "#/components/schemas/AlternativeDistributionPackageVariant" + "appStoreVersionLocalizations": "#/components/schemas/AppStoreVersionLocalization", + "appAssetLibraryImages": "#/components/schemas/AppAssetLibraryImage", + "appCustomProductPageLocalizations": "#/components/schemas/AppCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalizations": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalization", + "appAssetLibraryVideos": "#/components/schemas/AppAssetLibraryVideo", + "appEventLocalizations": "#/components/schemas/AppEventLocalization" } } } @@ -175050,126 +183567,49 @@ "links" ] }, - "AlternativeDistributionPackageVersionResponse": { + "AppAssetLibraryPlacementResponse": { "type": "object", - "title": "AlternativeDistributionPackageVersionResponse", + "title": "AppAssetLibraryPlacementResponse", "properties": { "data": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVersion" + "$ref": "#/components/schemas/AppAssetLibraryPlacement" }, "included": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + "$ref": "#/components/schemas/AppAssetLibraryImage" }, { - "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + "$ref": "#/components/schemas/AppAssetLibraryVideo" }, { - "$ref": "#/components/schemas/AlternativeDistributionPackage" + "$ref": "#/components/schemas/AppCustomProductPageLocalization" + }, + { + "$ref": "#/components/schemas/AppEventLocalization" + }, + { + "$ref": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalization" + }, + { + "$ref": "#/components/schemas/AppStoreVersionLocalization" } ], "discriminator": { "propertyName": "type", "mapping": { - "alternativeDistributionPackages": "#/components/schemas/AlternativeDistributionPackage", - "alternativeDistributionPackageDeltas": "#/components/schemas/AlternativeDistributionPackageDelta", - "alternativeDistributionPackageVariants": "#/components/schemas/AlternativeDistributionPackageVariant" - } - } - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "AlternativeDistributionPackage": { - "type": "object", - "title": "AlternativeDistributionPackage", - "properties": { - "type": { - "type": "string", - "enum": [ - "alternativeDistributionPackages" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "sourceFileChecksum": { - "$ref": "#/components/schemas/Checksums" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "versions": { - "type": "object", - "properties": { - "links": { - "$ref": "#/components/schemas/RelationshipLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "alternativeDistributionPackageVersions" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } + "appStoreVersionLocalizations": "#/components/schemas/AppStoreVersionLocalization", + "appAssetLibraryImages": "#/components/schemas/AppAssetLibraryImage", + "appCustomProductPageLocalizations": "#/components/schemas/AppCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalizations": "#/components/schemas/AppStoreVersionExperimentTreatmentLocalization", + "appAssetLibraryVideos": "#/components/schemas/AppAssetLibraryVideo", + "appEventLocalizations": "#/components/schemas/AppEventLocalization" } } } }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ] - }, - "AlternativeDistributionPackageResponse": { - "type": "object", - "title": "AlternativeDistributionPackageResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/AlternativeDistributionPackage" - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVersion" - } - }, "links": { "$ref": "#/components/schemas/DocumentLinks" } @@ -175179,9 +183619,9 @@ "links" ] }, - "AlternativeDistributionPackageCreateRequest": { + "AppAssetLibraryPlacementCreateRequest": { "type": "object", - "title": "AlternativeDistributionPackageCreateRequest", + "title": "AppAssetLibraryPlacementCreateRequest", "properties": { "data": { "type": "object", @@ -175189,13 +183629,26 @@ "type": { "type": "string", "enum": [ - "alternativeDistributionPackages" + "appAssetLibraryPlacements" ] }, + "attributes": { + "type": "object", + "properties": { + "placementType": { + "nullable": true, + "$ref": "#/components/schemas/AppAssetLibraryPlacementType" + }, + "placementGroup": { + "type": "string", + "nullable": true + } + } + }, "relationships": { "type": "object", "properties": { - "appStoreVersion": { + "image": { "type": "object", "properties": { "data": { @@ -175204,7 +183657,7 @@ "type": { "type": "string", "enum": [ - "appStoreVersions" + "appAssetLibraryImages" ] }, "id": { @@ -175216,19 +183669,305 @@ "type" ] } - }, + } + }, + "video": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryVideos" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "appEventLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appEventLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "appStoreVersionLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreVersionLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "appCustomProductPageLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appCustomProductPageLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "appStoreVersionExperimentTreatmentLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreVersionExperimentTreatmentLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, + "anyOf": [ + { + "type": "object", + "properties": { + "attributes": { + "type": "object", "required": [ - "data" + "placementType" + ] + }, + "relationships": { + "type": "object", + "required": [ + "image", + "appEventLocalization" ] } }, "required": [ - "appStoreVersion" + "relationships", + "attributes" + ] + }, + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementType" + ] + }, + "relationships": { + "type": "object", + "required": [ + "image", + "appStoreVersionLocalization" + ] + } + }, + "required": [ + "relationships", + "attributes" + ] + }, + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementType" + ] + }, + "relationships": { + "type": "object", + "required": [ + "image", + "appCustomProductPageLocalization" + ] + } + }, + "required": [ + "relationships", + "attributes" + ] + }, + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementType" + ] + }, + "relationships": { + "type": "object", + "required": [ + "image", + "appStoreVersionExperimentTreatmentLocalization" + ] + } + }, + "required": [ + "relationships", + "attributes" + ] + }, + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementType" + ] + }, + "relationships": { + "type": "object", + "required": [ + "appEventLocalization", + "video" + ] + } + }, + "required": [ + "relationships", + "attributes" + ] + }, + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementType" + ] + }, + "relationships": { + "type": "object", + "required": [ + "video", + "appStoreVersionLocalization" + ] + } + }, + "required": [ + "relationships", + "attributes" + ] + }, + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementType" + ] + }, + "relationships": { + "type": "object", + "required": [ + "appCustomProductPageLocalization", + "video" + ] + } + }, + "required": [ + "relationships", + "attributes" + ] + }, + { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "required": [ + "placementType" + ] + }, + "relationships": { + "type": "object", + "required": [ + "appStoreVersionExperimentTreatmentLocalization", + "video" + ] + } + }, + "required": [ + "relationships", + "attributes" ] } - }, + ], "required": [ - "relationships", "type" ] } @@ -175237,14 +183976,14 @@ "data" ] }, - "AnalyticsReportInstance": { + "AppAssetLibraryRefDatum": { "type": "object", - "title": "AnalyticsReportInstance", + "title": "AppAssetLibraryRefDatum", "properties": { "type": { "type": "string", "enum": [ - "analyticsReportInstances" + "appAssetLibraryRefData" ] }, "id": { @@ -175253,28 +183992,268 @@ "attributes": { "type": "object", "properties": { - "granularity": { - "type": "string", - "enum": [ - "DAILY", - "WEEKLY", - "MONTHLY" - ] + "features": { + "type": "array", + "items": { + "type": "object", + "properties": { + "featureId": { + "$ref": "#/components/schemas/AppAssetLibraryFeature" + }, + "placementPolicies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "placementType": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementType" + }, + "groupLimits": { + "type": "array", + "items": { + "type": "object", + "properties": { + "groupIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "maxCount": { + "type": "integer" + } + } + } + } + } + } + } + } + } }, - "processingDate": { - "type": "string", - "format": "date" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "segments": { - "type": "object", - "properties": { - "links": { - "$ref": "#/components/schemas/RelationshipLinks" + "placementProfileGroups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "placementProfileGroupId": { + "type": "string" + }, + "platform": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementPlatform" + }, + "displayClassId": { + "$ref": "#/components/schemas/AppAssetLibraryDisplayClass" + } + } + } + }, + "imageSpecs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "specId": { + "type": "string" + }, + "shortName": { + "type": "string" + }, + "dimensions": { + "type": "object", + "properties": { + "minWidth": { + "type": "integer" + }, + "maxWidth": { + "type": "integer" + }, + "minHeight": { + "type": "integer" + }, + "maxHeight": { + "type": "integer" + } + } + }, + "aspectRatio": { + "type": "string" + }, + "compatiblePlacementTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementType" + } + }, + "alphaAllowed": { + "type": "boolean" + }, + "fileExtensions": { + "type": "array", + "items": { + "type": "string" + } + }, + "maxFileSize": { + "type": "integer", + "format": "int64", + "maximum": 9007199254740991, + "minimum": 1 + }, + "mimeTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "universalAsset": { + "type": "boolean" + } + } + } + }, + "videoSpecs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "specId": { + "type": "string" + }, + "shortName": { + "type": "string" + }, + "dimensions": { + "type": "object", + "properties": { + "minWidth": { + "type": "integer" + }, + "maxWidth": { + "type": "integer" + }, + "minHeight": { + "type": "integer" + }, + "maxHeight": { + "type": "integer" + } + } + }, + "aspectRatio": { + "type": "string" + }, + "compatiblePlacementTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementType" + } + }, + "frameRates": { + "type": "array", + "items": { + "type": "object", + "properties": { + "minFps": { + "type": "integer" + }, + "maxFps": { + "type": "integer" + } + } + } + }, + "duration": { + "type": "object", + "properties": { + "min": { + "type": "string", + "format": "duration" + }, + "max": { + "type": "string", + "format": "duration" + } + } + }, + "audioRequired": { + "type": "boolean" + }, + "fileExtensions": { + "type": "array", + "items": { + "type": "string" + } + }, + "maxFileSize": { + "type": "integer", + "format": "int64", + "maximum": 9007199254740991, + "minimum": 1 + }, + "mimeTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "universalAsset": { + "type": "boolean" + } + } + } + }, + "placementTypes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "placementTypeId": { + "$ref": "#/components/schemas/AppAssetLibraryPlacementType" + }, + "acceptsAssetCategories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppAssetLibraryAssetCategory" + } + }, + "specMappings": { + "type": "array", + "items": { + "type": "object", + "properties": { + "placementGroupId": { + "type": "string" + }, + "specs": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "displayClasses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "displayClassId": { + "$ref": "#/components/schemas/AppAssetLibraryDisplayClass" + }, + "deviceFamily": { + "$ref": "#/components/schemas/DeviceFamily" + }, + "screenDimensions": { + "type": "array", + "items": { + "type": "string" + } + } } } } @@ -175289,14 +184268,14 @@ "type" ] }, - "AnalyticsReportInstancesResponse": { + "AppAssetLibraryRefDataResponse": { "type": "object", - "title": "AnalyticsReportInstancesResponse", + "title": "AppAssetLibraryRefDataResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/AnalyticsReportInstance" + "$ref": "#/components/schemas/AppAssetLibraryRefDatum" } }, "links": { @@ -175311,12 +184290,12 @@ "links" ] }, - "AnalyticsReportInstanceResponse": { + "AppAssetLibraryRefDatumResponse": { "type": "object", - "title": "AnalyticsReportInstanceResponse", + "title": "AppAssetLibraryRefDatumResponse", "properties": { "data": { - "$ref": "#/components/schemas/AnalyticsReportInstance" + "$ref": "#/components/schemas/AppAssetLibraryRefDatum" }, "links": { "$ref": "#/components/schemas/DocumentLinks" @@ -175327,38 +184306,80 @@ "links" ] }, - "AnalyticsReportRequest": { + "AppAssetLibraryVideo": { "type": "object", - "title": "AnalyticsReportRequest", + "title": "AppAssetLibraryVideo", "properties": { "type": { "type": "string", "enum": [ - "analyticsReportRequests" + "appAssetLibraryVideos" ] }, "id": { "type": "string" }, "attributes": { - "type": "object", - "properties": { - "accessType": { - "type": "string", - "enum": [ - "ONE_TIME_SNAPSHOT", - "ONGOING" - ] + "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoAwaitingUploadAttributes" }, - "stoppedDueToInactivity": { - "type": "boolean" + { + "$ref": "#/components/schemas/AppAssetLibraryVideoUploadCompleteAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoFailedAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoReadyForReviewAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoWaitingForReviewAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoInReviewAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoAcceptedAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoApprovedAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoRejectedAttributes" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideoArchivedAttributes" + } + ], + "discriminator": { + "propertyName": "state", + "mapping": { + "UPLOAD_COMPLETE": "#/components/schemas/AppAssetLibraryVideoUploadCompleteAttributes", + "COMPLETE": "#/components/schemas/AppAssetLibraryVideoCommonAttributes", + "IN_REVIEW": "#/components/schemas/AppAssetLibraryVideoInReviewAttributes", + "ACCEPTED": "#/components/schemas/AppAssetLibraryVideoAcceptedAttributes", + "FAILED": "#/components/schemas/AppAssetLibraryVideoFailedAttributes", + "AWAITING_UPLOAD": "#/components/schemas/AppAssetLibraryVideoAwaitingUploadAttributes", + "PREPARE_FOR_SUBMISSION": "#/components/schemas/AppAssetLibraryVideoCommonAttributes", + "READY_FOR_REVIEW": "#/components/schemas/AppAssetLibraryVideoReadyForReviewAttributes", + "ARCHIVED": "#/components/schemas/AppAssetLibraryVideoArchivedAttributes", + "APPROVED": "#/components/schemas/AppAssetLibraryVideoApprovedAttributes", + "WAITING_FOR_REVIEW": "#/components/schemas/AppAssetLibraryVideoWaitingForReviewAttributes", + "REJECTED": "#/components/schemas/AppAssetLibraryVideoRejectedAttributes" } } }, "relationships": { "type": "object", "properties": { - "reports": { + "placements": { "type": "object", "properties": { "links": { @@ -175375,7 +184396,7 @@ "type": { "type": "string", "enum": [ - "analyticsReports" + "appAssetLibraryPlacements" ] }, "id": { @@ -175401,340 +184422,208 @@ "type" ] }, - "AnalyticsReportRequestsResponse": { + "AppAssetLibraryVideoCommonAttributes": { "type": "object", - "title": "AnalyticsReportRequestsResponse", + "title": "AppAssetLibraryVideoCommonAttributes", "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AnalyticsReportRequest" - } + "category": { + "$ref": "#/components/schemas/AppAssetLibraryAssetCategory" }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AnalyticsReport" - } + "createdDate": { + "type": "string", + "format": "date-time" }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" + "lastModifiedDate": { + "type": "string", + "format": "date-time" }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "AnalyticsReportRequestResponse": { - "type": "object", - "title": "AnalyticsReportRequestResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/AnalyticsReportRequest" + "fileName": { + "type": "string" }, - "included": { + "fileSize": { + "type": "integer", + "format": "int64", + "maximum": 9007199254740991, + "minimum": 1 + }, + "previewFrameImage": { + "$ref": "#/components/schemas/PreviewFrameImage" + }, + "previewFrameTimeCode": { + "type": "string" + }, + "referenceName": { + "type": "string" + }, + "specId": { + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/AppAssetLibraryAssetState" + }, + "stateDetails": { "type": "array", "items": { - "$ref": "#/components/schemas/AnalyticsReport" + "$ref": "#/components/schemas/StateDetail" } }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "AnalyticsReportRequestCreateRequest": { - "type": "object", - "title": "AnalyticsReportRequestCreateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "analyticsReportRequests" - ] - }, - "attributes": { - "type": "object", - "properties": { - "accessType": { - "type": "string", - "enum": [ - "ONE_TIME_SNAPSHOT", - "ONGOING" - ] - } - }, - "required": [ - "accessType" - ] - }, - "relationships": { - "type": "object", - "properties": { - "app": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "apps" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - } - }, - "required": [ - "app" - ] - } - }, - "required": [ - "relationships", - "attributes", - "type" - ] + "videoAsset": { + "type": "string", + "format": "uri" } }, "required": [ - "data" + "state" ] }, - "AnalyticsReportSegment": { - "type": "object", - "title": "AnalyticsReportSegment", - "properties": { - "type": { - "type": "string", - "enum": [ - "analyticsReportSegments" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "checksum": { - "type": "string" - }, - "sizeInBytes": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - } - } + "AppAssetLibraryVideoAcceptedAttributes": { + "title": "AppAssetLibraryVideoAcceptedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" + { + "type": "object" } - }, - "required": [ - "id", - "type" ] }, - "AnalyticsReportSegmentsResponse": { - "type": "object", - "title": "AnalyticsReportSegmentsResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AnalyticsReportSegment" - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" + "AppAssetLibraryVideoApprovedAttributes": { + "title": "AppAssetLibraryVideoApprovedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" + { + "type": "object" } - }, - "required": [ - "data", - "links" ] }, - "AnalyticsReportSegmentResponse": { - "type": "object", - "title": "AnalyticsReportSegmentResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/AnalyticsReportSegment" + "AppAssetLibraryVideoArchivedAttributes": { + "title": "AppAssetLibraryVideoArchivedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" + { + "type": "object" } - }, - "required": [ - "data", - "links" ] }, - "AnalyticsReport": { - "type": "object", - "title": "AnalyticsReport", - "properties": { - "type": { - "type": "string", - "enum": [ - "analyticsReports" - ] - }, - "id": { - "type": "string" + "AppAssetLibraryVideoAwaitingUploadAttributes": { + "title": "AppAssetLibraryVideoAwaitingUploadAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "attributes": { + { "type": "object", "properties": { - "name": { - "type": "string" - }, - "category": { - "type": "string", - "enum": [ - "APP_USAGE", - "APP_STORE_ENGAGEMENT", - "COMMERCE", - "FRAMEWORK_USAGE", - "PERFORMANCE" - ] + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" + } } } + } + ] + }, + "AppAssetLibraryVideoFailedAttributes": { + "title": "AppAssetLibraryVideoFailedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "relationships": { + { "type": "object", "properties": { - "instances": { - "type": "object", - "properties": { - "links": { - "$ref": "#/components/schemas/RelationshipLinks" - } + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" } } } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" } - }, - "required": [ - "id", - "type" ] }, - "AnalyticsReportsResponse": { - "type": "object", - "title": "AnalyticsReportsResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AnalyticsReport" - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" + "AppAssetLibraryVideoInReviewAttributes": { + "title": "AppAssetLibraryVideoInReviewAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" + { + "type": "object" } - }, - "required": [ - "data", - "links" ] }, - "AnalyticsReportResponse": { - "type": "object", - "title": "AnalyticsReportResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/AnalyticsReport" + "AppAssetLibraryVideoReadyForReviewAttributes": { + "title": "AppAssetLibraryVideoReadyForReviewAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" + { + "type": "object" } - }, - "required": [ - "data", - "links" ] }, - "AndroidToIosAppMappingDetail": { - "type": "object", - "title": "AndroidToIosAppMappingDetail", - "properties": { - "type": { - "type": "string", - "enum": [ - "androidToIosAppMappingDetails" - ] + "AppAssetLibraryVideoRejectedAttributes": { + "title": "AppAssetLibraryVideoRejectedAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "id": { - "type": "string" + { + "type": "object" + } + ] + }, + "AppAssetLibraryVideoUploadCompleteAttributes": { + "title": "AppAssetLibraryVideoUploadCompleteAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "attributes": { + { "type": "object", "properties": { - "packageName": { - "type": "string" - }, - "appSigningKeyPublicCertificateSha256Fingerprints": { + "uploadOperations": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/UploadOperation" } } } + } + ] + }, + "AppAssetLibraryVideoWaitingForReviewAttributes": { + "title": "AppAssetLibraryVideoWaitingForReviewAttributes", + "allOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryVideoCommonAttributes" }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" + { + "type": "object" } - }, - "required": [ - "id", - "type" ] }, - "AndroidToIosAppMappingDetailsResponse": { + "AppAssetLibraryVideosResponse": { "type": "object", - "title": "AndroidToIosAppMappingDetailsResponse", + "title": "AppAssetLibraryVideosResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/AndroidToIosAppMappingDetail" + "$ref": "#/components/schemas/AppAssetLibraryVideo" + } + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" } }, "links": { @@ -175749,12 +184638,18 @@ "links" ] }, - "AndroidToIosAppMappingDetailResponse": { + "AppAssetLibraryVideoResponse": { "type": "object", - "title": "AndroidToIosAppMappingDetailResponse", + "title": "AppAssetLibraryVideoResponse", "properties": { "data": { - "$ref": "#/components/schemas/AndroidToIosAppMappingDetail" + "$ref": "#/components/schemas/AppAssetLibraryVideo" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + } }, "links": { "$ref": "#/components/schemas/DocumentLinks" @@ -175765,9 +184660,9 @@ "links" ] }, - "AndroidToIosAppMappingDetailCreateRequest": { + "AppAssetLibraryVideoCreateRequest": { "type": "object", - "title": "AndroidToIosAppMappingDetailCreateRequest", + "title": "AppAssetLibraryVideoCreateRequest", "properties": { "data": { "type": "object", @@ -175775,31 +184670,43 @@ "type": { "type": "string", "enum": [ - "androidToIosAppMappingDetails" + "appAssetLibraryVideos" ] }, "attributes": { "type": "object", "properties": { - "packageName": { + "category": { + "$ref": "#/components/schemas/AppAssetLibraryAssetCategory" + }, + "fileName": { "type": "string" }, - "appSigningKeyPublicCertificateSha256Fingerprints": { - "type": "array", - "items": { - "type": "string" - } + "fileSize": { + "type": "integer", + "format": "int64", + "maximum": 9007199254740991, + "minimum": 1 + }, + "previewFrameTimeCode": { + "type": "string", + "nullable": true + }, + "referenceName": { + "type": "string", + "nullable": true } }, "required": [ - "appSigningKeyPublicCertificateSha256Fingerprints", - "packageName" + "fileName", + "fileSize", + "category" ] }, "relationships": { "type": "object", "properties": { - "app": { + "assetLibrary": { "type": "object", "properties": { "data": { @@ -175808,7 +184715,7 @@ "type": { "type": "string", "enum": [ - "apps" + "appAssetLibraries" ] }, "id": { @@ -175824,10 +184731,36 @@ "required": [ "data" ] + }, + "placements": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } }, "required": [ - "app" + "assetLibrary" ] } }, @@ -175842,9 +184775,9 @@ "data" ] }, - "AndroidToIosAppMappingDetailUpdateRequest": { + "AppAssetLibraryVideoUpdateRequest": { "type": "object", - "title": "AndroidToIosAppMappingDetailUpdateRequest", + "title": "AppAssetLibraryVideoUpdateRequest", "properties": { "data": { "type": "object", @@ -175852,7 +184785,7 @@ "type": { "type": "string", "enum": [ - "androidToIosAppMappingDetails" + "appAssetLibraryVideos" ] }, "id": { @@ -175861,15 +184794,20 @@ "attributes": { "type": "object", "properties": { - "packageName": { + "archived": { + "type": "boolean", + "nullable": true + }, + "previewFrameTimeCode": { "type": "string", "nullable": true }, - "appSigningKeyPublicCertificateSha256Fingerprints": { - "type": "array", - "items": { - "type": "string" - }, + "referenceName": { + "type": "string", + "nullable": true + }, + "uploaded": { + "type": "boolean", "nullable": true } } @@ -179016,6 +187954,38 @@ } } } + }, + "placements": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -179080,6 +188050,32 @@ ] } } + }, + "placements": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } } @@ -179103,6 +188099,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + }, { "$ref": "#/components/schemas/AppCustomProductPageVersion" }, @@ -179120,6 +188119,7 @@ "propertyName": "type", "mapping": { "appScreenshotSets": "#/components/schemas/AppScreenshotSet", + "appAssetLibraryPlacements": "#/components/schemas/AppAssetLibraryPlacement", "appKeywords": "#/components/schemas/AppKeyword", "appCustomProductPageVersions": "#/components/schemas/AppCustomProductPageVersion", "appPreviewSets": "#/components/schemas/AppPreviewSet" @@ -179150,6 +188150,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + }, { "$ref": "#/components/schemas/AppCustomProductPageVersion" }, @@ -179167,6 +188170,7 @@ "propertyName": "type", "mapping": { "appScreenshotSets": "#/components/schemas/AppScreenshotSet", + "appAssetLibraryPlacements": "#/components/schemas/AppAssetLibraryPlacement", "appKeywords": "#/components/schemas/AppKeyword", "appCustomProductPageVersions": "#/components/schemas/AppCustomProductPageVersion", "appPreviewSets": "#/components/schemas/AppPreviewSet" @@ -179239,6 +188243,32 @@ "required": [ "data" ] + }, + "placements": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } }, "required": [ @@ -180706,6 +189736,38 @@ } } } + }, + "placements": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -180732,6 +189794,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + }, { "$ref": "#/components/schemas/AppEventScreenshot" }, @@ -180747,6 +189812,7 @@ "mapping": { "appEvents": "#/components/schemas/AppEvent", "appEventVideoClips": "#/components/schemas/AppEventVideoClip", + "appAssetLibraryPlacements": "#/components/schemas/AppAssetLibraryPlacement", "appEventScreenshots": "#/components/schemas/AppEventScreenshot" } } @@ -180775,6 +189841,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + }, { "$ref": "#/components/schemas/AppEventScreenshot" }, @@ -180790,6 +189859,7 @@ "mapping": { "appEvents": "#/components/schemas/AppEvent", "appEventVideoClips": "#/components/schemas/AppEventVideoClip", + "appAssetLibraryPlacements": "#/components/schemas/AppAssetLibraryPlacement", "appEventScreenshots": "#/components/schemas/AppEventScreenshot" } } @@ -180868,6 +189938,32 @@ "required": [ "data" ] + }, + "placements": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } }, "required": [ @@ -185341,6 +194437,38 @@ } } } + }, + "placements": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -185367,6 +194495,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + }, { "$ref": "#/components/schemas/AppPreviewSet" }, @@ -185382,6 +194513,7 @@ "mapping": { "appScreenshotSets": "#/components/schemas/AppScreenshotSet", "appStoreVersionExperimentTreatments": "#/components/schemas/AppStoreVersionExperimentTreatment", + "appAssetLibraryPlacements": "#/components/schemas/AppAssetLibraryPlacement", "appPreviewSets": "#/components/schemas/AppPreviewSet" } } @@ -185410,6 +194542,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + }, { "$ref": "#/components/schemas/AppPreviewSet" }, @@ -185425,6 +194560,7 @@ "mapping": { "appScreenshotSets": "#/components/schemas/AppScreenshotSet", "appStoreVersionExperimentTreatments": "#/components/schemas/AppStoreVersionExperimentTreatment", + "appAssetLibraryPlacements": "#/components/schemas/AppAssetLibraryPlacement", "appPreviewSets": "#/components/schemas/AppPreviewSet" } } @@ -185491,6 +194627,32 @@ "required": [ "data" ] + }, + "placements": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } }, "required": [ @@ -186702,6 +195864,38 @@ } } } + }, + "placements": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -186728,6 +195922,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + }, { "$ref": "#/components/schemas/AppKeyword" }, @@ -186746,6 +195943,7 @@ "mapping": { "appScreenshotSets": "#/components/schemas/AppScreenshotSet", "appStoreVersions": "#/components/schemas/AppStoreVersion", + "appAssetLibraryPlacements": "#/components/schemas/AppAssetLibraryPlacement", "appKeywords": "#/components/schemas/AppKeyword", "appPreviewSets": "#/components/schemas/AppPreviewSet" } @@ -186775,6 +195973,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryPlacement" + }, { "$ref": "#/components/schemas/AppKeyword" }, @@ -186793,6 +195994,7 @@ "mapping": { "appScreenshotSets": "#/components/schemas/AppScreenshotSet", "appStoreVersions": "#/components/schemas/AppStoreVersion", + "appAssetLibraryPlacements": "#/components/schemas/AppAssetLibraryPlacement", "appKeywords": "#/components/schemas/AppKeyword", "appPreviewSets": "#/components/schemas/AppPreviewSet" } @@ -186886,6 +196088,32 @@ "required": [ "data" ] + }, + "placements": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } }, "required": [ @@ -189317,6 +198545,14 @@ } } }, + "assetLibrary": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, "betaFeedbackScreenshotSubmissions": { "type": "object", "properties": { @@ -222153,6 +231389,52 @@ } } }, + "appAssetLibraryImage": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryImages" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "appAssetLibraryVideo": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryVideos" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, "backgroundAssetVersion": { "type": "object", "properties": { @@ -222385,6 +231667,12 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImage" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideo" + }, { "$ref": "#/components/schemas/AppCustomProductPageVersion" }, @@ -222428,6 +231716,7 @@ "discriminator": { "propertyName": "type", "mapping": { + "appAssetLibraryImages": "#/components/schemas/AppAssetLibraryImage", "appEvents": "#/components/schemas/AppEvent", "gameCenterAchievementVersions": "#/components/schemas/GameCenterAchievementVersionV2", "appStoreVersionExperiments": "#/components/schemas/AppStoreVersionExperiment", @@ -222437,6 +231726,7 @@ "gameCenterChallengeVersions": "#/components/schemas/GameCenterChallengeVersion", "subscriptionGroupVersions": "#/components/schemas/SubscriptionGroupVersion", "appStoreVersions": "#/components/schemas/AppStoreVersion", + "appAssetLibraryVideos": "#/components/schemas/AppAssetLibraryVideo", "backgroundAssetVersions": "#/components/schemas/BackgroundAssetVersion", "gameCenterLeaderboardSetVersions": "#/components/schemas/GameCenterLeaderboardSetVersionV2", "appCustomProductPageVersions": "#/components/schemas/AppCustomProductPageVersion", @@ -222468,6 +231758,12 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/AppAssetLibraryImage" + }, + { + "$ref": "#/components/schemas/AppAssetLibraryVideo" + }, { "$ref": "#/components/schemas/AppCustomProductPageVersion" }, @@ -222511,6 +231807,7 @@ "discriminator": { "propertyName": "type", "mapping": { + "appAssetLibraryImages": "#/components/schemas/AppAssetLibraryImage", "appEvents": "#/components/schemas/AppEvent", "gameCenterAchievementVersions": "#/components/schemas/GameCenterAchievementVersionV2", "appStoreVersionExperiments": "#/components/schemas/AppStoreVersionExperiment", @@ -222520,6 +231817,7 @@ "gameCenterChallengeVersions": "#/components/schemas/GameCenterChallengeVersion", "subscriptionGroupVersions": "#/components/schemas/SubscriptionGroupVersion", "appStoreVersions": "#/components/schemas/AppStoreVersion", + "appAssetLibraryVideos": "#/components/schemas/AppAssetLibraryVideo", "backgroundAssetVersions": "#/components/schemas/BackgroundAssetVersion", "gameCenterLeaderboardSetVersions": "#/components/schemas/GameCenterLeaderboardSetVersionV2", "appCustomProductPageVersions": "#/components/schemas/AppCustomProductPageVersion", @@ -222694,6 +231992,52 @@ } } }, + "appAssetLibraryImage": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryImages" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "appAssetLibraryVideo": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryVideos" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, "backgroundAssetVersion": { "type": "object", "properties": { @@ -233675,6 +243019,150 @@ "links" ] }, + "AppAssetLibraryImagesLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryImages" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppAssetLibraryVideosLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryVideos" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppAssetLibraryImagePlacementsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppAssetLibraryVideoPlacementsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, "AppAvailabilityV2TerritoryAvailabilitiesLinkagesResponse": { "type": "object", "properties": { @@ -234111,6 +243599,42 @@ "links" ] }, + "AppCustomProductPageLocalizationPlacementsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, "AppCustomProductPageLocalizationSearchKeywordsLinkagesResponse": { "type": "object", "properties": { @@ -234427,6 +243951,42 @@ "links" ] }, + "AppEventLocalizationPlacementsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, "AppEventLocalizationsLinkagesResponse": { "type": "object", "properties": { @@ -234984,36 +244544,252 @@ "links" ] }, - "AppScreenshotSetAppScreenshotsLinkagesRequest": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appScreenshots" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "required": [ - "data" - ] - }, - "AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponse": { + "AppScreenshotSetAppScreenshotsLinkagesRequest": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appScreenshots" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "required": [ + "data" + ] + }, + "AppStoreReviewDetailAppStoreReviewAttachmentsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreReviewAttachments" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appPreviewSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appScreenshotSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppStoreVersionExperimentTreatmentLocalizationPlacementsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraryPlacements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreVersionExperimentTreatmentLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreVersionExperimentTreatments" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponse": { "type": "object", "properties": { "data": { @@ -235024,7 +244800,7 @@ "type": { "type": "string", "enum": [ - "appStoreReviewAttachments" + "appStoreVersionExperimentTreatments" ] }, "id": { @@ -235047,9 +244823,10 @@ "required": [ "data", "links" - ] + ], + "deprecated": true }, - "AppStoreVersionExperimentTreatmentLocalizationAppPreviewSetsLinkagesResponse": { + "AppStoreVersionLocalizationAppPreviewSetsLinkagesResponse": { "type": "object", "properties": { "data": { @@ -235085,7 +244862,7 @@ "links" ] }, - "AppStoreVersionExperimentTreatmentLocalizationAppScreenshotSetsLinkagesResponse": { + "AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponse": { "type": "object", "properties": { "data": { @@ -235121,7 +244898,7 @@ "links" ] }, - "AppStoreVersionExperimentTreatmentAppStoreVersionExperimentTreatmentLocalizationsLinkagesResponse": { + "AppStoreVersionLocalizationPlacementsLinkagesResponse": { "type": "object", "properties": { "data": { @@ -235132,152 +244909,7 @@ "type": { "type": "string", "enum": [ - "appStoreVersionExperimentTreatmentLocalizations" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "AppStoreVersionExperimentV2AppStoreVersionExperimentTreatmentsLinkagesResponse": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appStoreVersionExperimentTreatments" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "AppStoreVersionExperimentAppStoreVersionExperimentTreatmentsLinkagesResponse": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appStoreVersionExperimentTreatments" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ], - "deprecated": true - }, - "AppStoreVersionLocalizationAppPreviewSetsLinkagesResponse": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appPreviewSets" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "AppStoreVersionLocalizationAppScreenshotSetsLinkagesResponse": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appScreenshotSets" + "appAssetLibraryPlacements" ] }, "id": { @@ -236395,6 +246027,36 @@ "links" ] }, + "AppAssetLibraryLinkageResponse": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAssetLibraries" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, "AppBackgroundAssetsLinkagesResponse": { "type": "object", "properties": { @@ -246464,6 +256126,117 @@ } } }, + "AppAssetLibraryAssetCategory": { + "type": "string", + "enum": [ + "CREATIVE_ASSETS", + "APP_SCREENSHOTS_AND_PREVIEWS" + ] + }, + "AppAssetLibraryAssetState": { + "type": "string", + "enum": [ + "AWAITING_UPLOAD", + "UPLOAD_COMPLETE", + "FAILED", + "COMPLETE", + "PREPARE_FOR_SUBMISSION", + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "ACCEPTED", + "APPROVED", + "REJECTED", + "ARCHIVED" + ] + }, + "AppAssetLibraryDisplayClass": { + "type": "string", + "enum": [ + "DEFAULT", + "WATCH_ULTRA", + "WATCH_SERIES_10", + "WATCH_SERIES_7", + "WATCH_SERIES_4", + "WATCH_SERIES_3", + "IPHONE_DUO", + "IPHONE_DYNAMIC_ISLAND_LARGE_DISPLAY", + "IPHONE_DYNAMIC_ISLAND_MEDIUM_DISPLAY", + "IPHONE_FACE_ID_LARGE_DISPLAY", + "IPHONE_FACE_ID_MEDIUM_DISPLAY", + "IPHONE_HOME_BUTTON_LARGE_DISPLAY", + "IPHONE_HOME_BUTTON_MEDIUM_DISPLAY", + "IPHONE_HOME_BUTTON_40_DISPLAY", + "IPHONE_HOME_BUTTON_35_DISPLAY", + "IPAD_13_DISPLAY", + "IPAD_11_DISPLAY", + "IPAD_129_DISPLAY", + "IPAD_105_DISPLAY", + "IPAD_97_DISPLAY" + ] + }, + "AppAssetLibraryFeature": { + "type": "string", + "enum": [ + "APP_STORE_VERSIONS", + "CUSTOM_PRODUCT_PAGES", + "PRODUCT_PAGE_OPTIMIZATIONS", + "IN_APP_EVENTS", + "IN_APP_PURCHASES", + "SUBSCRIPTIONS", + "RETENTION_MESSAGING", + "GAME_CENTER", + "APP_CLIPS", + "APPLE_ADS" + ] + }, + "AppAssetLibraryMediaType": { + "type": "string", + "enum": [ + "IMAGE", + "VIDEO" + ] + }, + "AppAssetLibraryPlacementPlatform": { + "type": "string", + "enum": [ + "IPHONE_APP_STORE", + "IPAD_APP_STORE", + "WATCH_APP_STORE", + "IMESSAGE_APP_STORE", + "VISION_PRO_APP_STORE", + "MAC_APP_STORE", + "TV_APP_STORE", + "ANY" + ] + }, + "AppAssetLibraryPlacementState": { + "type": "string", + "enum": [ + "ASSET_PROCESSING", + "FAILED", + "PARENT_PREPARE_FOR_SUBMISSION", + "PARENT_READY_FOR_REVIEW", + "PARENT_WAITING_FOR_REVIEW", + "PARENT_IN_REVIEW", + "PARENT_APPROVED" + ] + }, + "AppAssetLibraryPlacementType": { + "type": "string", + "enum": [ + "APP_SCREENSHOT", + "IMESSAGE_APP_SCREENSHOT", + "APP_PREVIEW", + "PRODUCT_PAGE_HEADER_ASSET", + "APP_STORE_SEARCH_RESULTS_ASSET", + "SEARCH_RESULTS_ADS_ASSET", + "TODAY_TAB_ADS_ASSET", + "EVENT_CARD_ASSET", + "EVENT_DETAILS_PAGE_ASSET", + "RETENTION_MESSAGE_ASSET" + ] + }, "AppClipAction": { "type": "string", "enum": [